/*
Theme Name: ECOM Technology
Theme URI: https://ecom.uk.com/
Author: ECOM UK Limited
Description: ECOM's WordPress theme for technology, support and managed services.
Version: 1.0.5
Text Domain: ecom
*/

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #1a3d64;
  --navy: #244f7b;
  --navy-deep: #123052;
  --navy-soft: #3673a1;
  --blue: #397fb8;
  --blue-light: #c7e3f1;
  --gold: #d8ae55;
  --gold-light: #f0d99b;
  --paper: #f7fafc;
  --mist: #e9f3f8;
  --slate: #637e98;
  --line: rgba(16, 40, 74, .13);
  --white: #fbfdff;
  --orange: #d5a646;
  --serif: 'Raleway', sans-serif;
  --sans: 'Raleway', sans-serif;
  --mono: 'Raleway', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .028;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.site-shell { min-height: 100dvh; overflow: hidden; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex; gap: 9px; align-items: center;
  color: var(--slate); font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 25px; height: 2px; background: var(--gold); }
.display { font-family: var(--serif); letter-spacing: -.055em; line-height: .97; }
.muted { color: var(--slate); }

/* shared chrome */
.topline { position: fixed; top: 0; left: 0; right: 0; z-index: 101; height: 40px; background: rgba(247,250,252,.92); color: var(--slate); font: 13px var(--mono); }
.topline .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.topline-left, .topline-right { display: flex; align-items: center; gap: 22px; }
.topline strong { color: var(--blue); font-weight: 700; }
.nav {
  position: fixed; top: 40px; left: 0; right: 0; z-index: 100; height: 78px;
  background: rgba(247,250,252,.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; width: 142px; }
.brand img { display: block; width: 100%; height: auto; max-height: 52px; object-fit: contain; object-position: left center; }
.brand-inverse { width: 150px; }
.brand-inverse img { max-height: 50px; }
.brand-mark { width: 33px; height: 33px; border: 2px solid var(--navy); border-radius: 50%; position: relative; display: grid; place-items: center; }
.brand-mark::before, .brand-mark::after { content:""; position:absolute; border: 1.5px solid var(--gold); border-radius: 50%; }
.brand-mark::before { inset: 5px -5px 5px 5px; }
.brand-mark::after { inset: -5px 5px 5px 5px; }
.brand-mark i { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 29px; font-size: 13px; font-weight: 600; }
.nav-links > a, .nav-dropdown > button { border: 0; background: none; padding: 10px 0; color: var(--ink); }
.nav-links a:hover, .nav-dropdown > button:hover { color: var(--blue); }
.nav-dropdown { position: relative; }
.nav-dropdown > button::after { content: "↘"; padding-left: 6px; color: var(--slate); font-size: 11px; }
.dropdown-panel { position: absolute; display: none; top: 38px; left: -18px; width: 275px; padding: 13px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 40px rgba(12,28,50,.12); overflow: hidden; }
.nav-dropdown:hover .dropdown-panel { display: grid; gap: 2px; }
.dropdown-panel a { padding: 11px; font-size: 12px; }
.dropdown-panel a:hover { background: var(--blue-light); color: var(--ink); }
.dropdown-label { padding: 13px 11px 5px; color: var(--slate); font: 700 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; border-top: 1px solid var(--line); margin-top: 6px; }
.portal-nav { display: inline-flex; align-items: center; gap: 10px; height: 47px; min-height: 47px; padding: 0 22px; background: var(--blue); color: var(--white) !important; border: 1px solid var(--blue); border-radius: 8px; }
.nav-links > a.portal-nav, .nav-links .portal-nav { padding: 0 22px; background: var(--blue); color: var(--white) !important; border-color: var(--blue); }
.portal-nav:hover { background: var(--navy); color: var(--white) !important; border-color: var(--navy); }
.nav-links > a.portal-nav:hover, .nav-links .portal-nav:hover { background: var(--navy); border-color: var(--navy); }
.portal-nav::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--gold); }
.join-tech { height: 47px; min-height: 47px; display: inline-flex; align-items: center; gap: 8px; padding: 0 20px !important; background: var(--gold); color: var(--navy) !important; border-color: var(--gold); border-radius: 8px; }
.nav-links > a.join-tech, .nav-links .join-tech { padding: 0 22px !important; background: var(--gold); color: var(--navy) !important; border-color: var(--gold); }
.join-tech:hover { color: var(--navy) !important; background: var(--white); border-color: var(--white); }
.nav-links > a.join-tech:hover, .nav-links .join-tech:hover { background: var(--white); border-color: var(--white); }
.mobile-actions { display: none; }
.menu-button { display: none; border: 0; background: none; color: var(--ink); padding: 9px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 47px; padding: 0 20px; border: 1px solid var(--navy); border-radius: 8px;
  background: var(--navy); color: var(--white); font-size: 13px; font-weight: 700;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-3px); background: var(--navy-soft); }
.button-lime { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.button-lime:hover { background: var(--gold-light); }
.button-ghost { color: var(--ink); background: transparent; }
.button-ghost:hover { color: var(--navy); background: rgba(185,217,237,.45); }

/* content */
.hero {
  position: relative; min-height: 760px; display: flex; align-items: center;
  background: var(--blue-light); color: var(--ink); isolation: isolate;
}
.hero-image { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,var(--blue-light) 0%,rgba(199,227,241,.94) 24%,rgba(199,227,241,.78) 40%,rgba(199,227,241,.08) 80%), url('assets/images/ecom-hero-office.jpg') center/cover; animation: banner-drift 18s ease-in-out infinite alternate; }
.hero::after { content:""; position:absolute; z-index:-1; inset: 0; background: linear-gradient(0deg, rgba(26,61,100,.18), transparent 42%); }
.hero .wrap { padding: 160px 0 125px; }
.hero-content { width: min(630px, 100%); animation: rise .8s both ease-out; }
.hero .eyebrow { color: var(--blue); }
.hero h1 { font-size: clamp(54px, 7vw, 92px); margin: 24px 0 25px; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lede { max-width: 500px; padding: 15px 18px; border-left: 3px solid var(--gold); border-radius: 0 14px 14px 0; background: rgba(247,250,252,.78); color: var(--ink); font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.hero-meta { display: flex; gap: 32px; margin-top: 69px; padding-top: 20px; border-top: 1px solid rgba(26,61,100,.2); }
.hero-stat strong { display: block; color: var(--blue); font: 500 22px var(--mono); }
.hero-stat span { display: block; margin-top: 7px; color: rgba(26,61,100,.7); font-size: 11px; }
.hero-note { position: absolute; right: 5%; bottom: 32px; color: rgba(26,61,100,.7); writing-mode: vertical-rl; font: 10px var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.curve { height: 72px; margin-top: -1px; position: relative; background: var(--paper); clip-path: ellipse(67% 60% at 50% 100%); }

.section { padding: 128px 0; }
.section-tight { padding: 90px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 55px; }
.section-head h2 { max-width: 620px; margin: 16px 0 0; font-size: clamp(38px, 5vw, 63px); }
.section-head p { max-width: 350px; margin: 0; color: var(--slate); font-size: 17px; line-height: 1.65; }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px, 9vw, 135px); align-items: center; }
.intro-copy h2 { max-width: 560px; margin: 18px 0 25px; font-size: clamp(38px, 5vw, 62px); }
.intro-copy p { max-width: 475px; color: var(--slate); font-size: 16px; line-height: 1.75; }
.link-arrow { display: inline-flex; gap: 14px; align-items: center; margin-top: 22px; font-size: 13px; font-weight: 700; }
.link-arrow::after { content: "↗"; display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--navy); border-radius: 50%; transition: transform .25s; }
.link-arrow:hover::after { transform: translate(3px,-3px); background: var(--gold); }
.intro-art { min-height: 430px; position: relative; }
.intro-art img { width: 80%; height: 400px; object-fit: cover; filter: saturate(.78); border-radius: 18px; }
.art-tag { position: absolute; bottom: 0; right: 0; width: 190px; padding: 25px; background: var(--gold); color: var(--navy); font: 600 13px var(--serif); line-height: 1.25; border-radius: 16px; }
.art-tag b { display: block; font: 500 37px var(--mono); margin-bottom: 12px; }

.dark-band { background: var(--mist); color: var(--ink); }
.dark-band .eyebrow { color: var(--blue); }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 65px 1fr 38px; gap: 18px; align-items: center; padding: 28px 12px 28px 0; border-bottom: 1px solid var(--line); transition: padding .3s, background .3s; }
.service-row:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 30px; }
.service-row:nth-child(even) { padding-left: 30px; }
.service-row:hover { padding-left: 12px; background: rgba(255,255,255,.72); }
.service-number { color: var(--blue); font: 12px var(--mono); }
.service-row h3 { margin: 0 0 6px; font: 500 22px var(--serif); letter-spacing: -.04em; }
.service-row p { margin: 0; color: var(--slate); font-size: 15px; line-height: 1.55; }
.row-arrow { font-size: 23px; color: var(--blue); transition: transform .25s; }
.service-row:hover .row-arrow { transform: translate(4px,-4px); }

.promise { display: grid; grid-template-columns: .83fr 1.17fr; gap: 70px; align-items: start; }
.promise h2 { margin: 17px 0; font-size: clamp(39px, 5vw, 65px); }
.promise-lede { max-width: 490px; color: var(--slate); line-height: 1.7; }
.principles { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; border-top: 1px solid var(--line); }
.principle { padding: 26px 27px 28px 0; border-bottom: 1px solid var(--line); }
.principle:nth-child(odd) { border-right: 1px solid var(--line); }
.principle:nth-child(even) { padding-left: 27px; }
.principle b { display:block; margin-bottom: 12px; color: var(--orange); font: 12px var(--mono); }
.principle h3 { margin: 0 0 8px; font: 500 20px var(--serif); }
.principle p { margin: 0; color: var(--slate); font-size: 15px; line-height: 1.6; }

.story-strip { position: relative; min-height: 510px; display: flex; align-items: end; background: var(--blue); color: var(--white); overflow: hidden; }
.story-image { position: absolute; inset: 0 0 0 43%; background: linear-gradient(90deg,var(--blue) 3%,rgba(57,127,184,.78) 30%,rgba(57,127,184,.12)), url('assets/images/ecom-data-centre.jpg') center/cover; animation: banner-drift 22s ease-in-out infinite alternate-reverse; }
.story-strip .wrap { position: relative; padding: 80px 0; }
.story-strip h2 { max-width: 600px; margin: 18px 0; font-size: clamp(42px,6vw,72px); }
.story-strip p { max-width: 430px; color: rgba(251,252,248,.67); line-height: 1.6; }

.case-line { display: flex; gap: 45px; align-items: center; padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-line blockquote { flex: 1; margin: 0; font: 500 25px var(--serif); line-height: 1.2; letter-spacing: -.04em; }
.case-line cite { width: 250px; color: var(--slate); font: 12px var(--mono); line-height: 1.6; }

.cta-band { padding: 93px 0; background: var(--blue-light); background-image: linear-gradient(110deg, rgba(255,255,255,.16), transparent 42%, rgba(213,166,70,.12)); background-size: 180% 100%; animation: banner-shimmer 12s ease-in-out infinite; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-band h2 { max-width: 660px; margin: 0; font-size: clamp(39px, 5vw, 65px); }
.cta-band .button { flex-shrink: 0; }

/* inner pages */
.page-hero { position: relative; isolation: isolate; padding: 190px 0 100px; background: var(--mist); color: var(--ink); background-position: center; background-size: cover; }
.page-hero .wrap { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.page-hero h1 { max-width: 760px; margin: 20px 0 0; font-size: clamp(52px, 7vw, 89px); }
.page-hero h1 em, .portal-page h1 em { color: var(--blue); font-style: normal; }
.page-hero p { max-width: 375px; margin: 0 0 7px; padding: 17px 20px; border-left: 3px solid var(--gold); border-radius: 0 14px 14px 0; background: rgba(247,250,252,.88); color: var(--ink); line-height: 1.7; font-size: 17px; }
.content-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: start; }
.content-grid h2 { margin: 0 0 22px; font-size: clamp(35px, 4vw, 56px); }
.content-grid p { color: var(--slate); line-height: 1.75; }
.side-note { padding: 30px; background: var(--mist); border-left: 3px solid var(--gold); border-radius: 0 16px 16px 0; }
.side-note b { display: block; margin-bottom: 16px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.side-note p { margin: 0; font: 500 21px var(--serif); line-height: 1.3; color: var(--ink); }
.feature-image { width: 100%; height: 430px; object-fit: cover; margin: 55px 0 0; filter: saturate(.82); border-radius: 18px; }
.feature-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); margin-top: 55px; border-radius: 16px; overflow: hidden; }
.feature-point { padding: 30px 25px; background: var(--paper); }
.feature-point b { color: var(--orange); font: 12px var(--mono); }
.feature-point h3 { margin: 15px 0 10px; font: 500 20px var(--serif); }
.feature-point p { font-size: 13px; line-height: 1.55; }
.support-overview { margin-top: 75px; padding-top: 55px; border-top: 1px solid var(--line); }
.support-overview-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 34px; }
.support-overview-heading h2 { max-width: 560px; margin: 15px 0 0; font-size: clamp(36px, 4vw, 55px); }
.support-overview-heading p { max-width: 300px; margin: 0; color: var(--slate); line-height: 1.65; }
.support-overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; }
.support-overview-card { position: relative; min-height: 205px; padding: 25px; background: var(--white); transition: transform .25s, background .25s; }
.support-overview-card:hover { z-index: 1; transform: translateY(-4px); background: var(--blue-light); }
.support-overview-card > span { color: var(--gold); font: 12px var(--mono); }
.support-overview-card h3 { margin: 30px 0 9px; font: 500 21px var(--serif); }
.support-overview-card p { max-width: 220px; margin: 0; color: var(--slate); font-size: 14px; line-height: 1.5; }
.support-overview-card svg { position: absolute; right: 24px; bottom: 24px; color: var(--navy); }
.process { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.process-step { border-top: 2px solid var(--navy); padding-top: 17px; }
.process-step b { color: var(--orange); font: 12px var(--mono); }
.process-step h3 { margin: 17px 0 8px; font: 500 21px var(--serif); }
.process-step p { color: var(--slate); font-size: 15px; line-height: 1.65; }

/* pricing */
.pricing-toggle { display: flex; align-items: center; gap: 13px; font: 12px var(--mono); }
.toggle { width: 45px; height: 25px; border: 0; border-radius: 20px; background: var(--navy); padding: 3px; }
.toggle i { display: block; width: 19px; height: 19px; border-radius: 50%; background: var(--gold); transition: transform .25s; }
.toggle.active i { transform: translateX(20px); }
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 33px 30px; min-height: 505px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.plan.featured { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-15px); }
.plan-label { position: absolute; top: 0; right: 0; padding: 8px 12px; background: var(--gold); color: var(--navy); font: 500 10px var(--mono); }
.plan h3 { margin: 0; font: 500 27px var(--serif); }
.plan > p { min-height: 47px; color: var(--slate); font-size: 15px; line-height: 1.5; }
.featured > p { color: rgba(251,252,248,.64); }
.price { margin: 20px 0 28px; font: 500 42px var(--mono); letter-spacing: -.07em; }
.price small { color: var(--slate); font: 12px var(--sans); letter-spacing: 0; }
.plan-list { display: grid; gap: 13px; padding: 21px 0; border-top: 1px solid var(--line); list-style: none; margin: auto 0 20px; }
.featured .plan-list { border-color: rgba(251,252,248,.2); }
.plan-list li { position: relative; padding-left: 19px; color: var(--slate); font-size: 15px; }
.featured .plan-list li { color: rgba(251,252,248,.72); }
.plan-list li::before { content:""; position:absolute; left:0; top:6px; width:7px; height:7px; background: var(--gold); }
.plan .button { width: 100%; }
.plan:not(.featured) .button { background: transparent; color: var(--ink); }
.plan:not(.featured) .button:hover { background: var(--gold-light); }
.comparison { width: 100%; margin-top: 76px; border-collapse: collapse; font-size: 13px; }
.comparison caption { padding-bottom: 20px; text-align: left; font: 500 26px var(--serif); }
.comparison th, .comparison td { padding: 18px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.comparison th { color: var(--slate); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.comparison td:not(:first-child), .comparison th:not(:first-child) { text-align: center; }
.check { color: #719b1d; font-weight: 700; }

/* contact + portal */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.enquiry-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.contact-details h2 { margin: 16px 0 22px; font-size: clamp(39px,5vw,64px); }
.contact-details p { color: var(--slate); line-height: 1.7; }
.enquiry-copy h2 { margin: 16px 0 22px; font-size: clamp(39px,5vw,64px); }
.enquiry-copy > p { color: var(--slate); line-height: 1.7; }
.contact-card { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-card span { display: block; margin-bottom: 8px; color: var(--slate); font: 11px var(--mono); text-transform: uppercase; }
.contact-card a { font: 500 19px var(--serif); }
.contact-card address { color: var(--slate); font-style: normal; line-height: 1.7; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; padding: 38px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1/-1; }
.field label { font: 11px var(--mono); color: var(--slate); text-transform: uppercase; letter-spacing: .08em; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); outline: 0; background: transparent; color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy); }
.form-submit { grid-column: 1/-1; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 10px; }
.form-status { max-width: 330px; color: var(--slate); font-size: 13px; line-height: 1.55; }
.form-status-opened { color: var(--navy); font-weight: 700; }
.form-intent-links { display: grid; gap: 10px; margin-top: 36px; }
.form-intent-card { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.form-intent-card:hover { transform: translateY(-2px); background: var(--blue-light); border-color: var(--blue); }
.form-intent-card b { font: 700 13px var(--sans); }
.form-intent-card span { color: var(--slate); font-size: 12px; line-height: 1.45; }
.form-intent-card svg, .form-intent-card i { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--blue); font-size: 17px; font-style: normal; }
.portal-page { min-height: calc(100dvh - 112px); padding: 95px 0 120px; background: linear-gradient(90deg, rgba(8,26,53,.98) 0%, rgba(8,26,53,.92) 42%, rgba(8,26,53,.72) 100%), url('assets/images/ecom-client-portal.jpg') center/cover; color: var(--white); }
.portal-panel { display: grid; grid-template-columns: 1fr .75fr; gap: 75px; align-items: center; }
.portal-page h1 { margin: 20px 0; font-size: clamp(51px, 7vw, 90px); }
.portal-page p { max-width: 480px; color: rgba(251,252,248,.66); font-size: 16px; line-height: 1.7; }
.portal-box { padding: 38px; background: rgba(251,252,248,.06); border: 1px solid rgba(251,252,248,.19); border-radius: 18px; }
.portal-box-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid rgba(251,252,248,.17); }
.portal-box-head span { color: var(--gold-light); font: 11px var(--mono); }
.portal-status { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(251,252,248,.65); }
.portal-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.portal-lines { display: grid; gap: 12px; padding: 26px 0; }
.portal-line { height: 11px; width: 82%; background: rgba(251,252,248,.11); }
.portal-line:nth-child(2) { width: 65%; }.portal-line:nth-child(3) { width: 90%; }
.portal-box small { display: block; margin-bottom: 18px; color: rgba(251,252,248,.54); line-height: 1.5; }

footer { padding: 70px 0 28px; background: var(--navy-deep); color: var(--white); border-top: 1px solid rgba(251,252,248,.12); }
.footer-top { display: flex; justify-content: space-between; align-items: start; gap: 40px; padding-bottom: 72px; }
.footer-brand p { max-width: 300px; color: rgba(251,252,248,.65); font-size: 15px; line-height: 1.65; }
footer .brand { color: var(--white); }
footer .brand-mark { border-color: var(--white); }
.footer-links { display: grid; grid-template-columns: repeat(3, 130px); gap: 28px; }
.footer-links b { margin-bottom: 15px; color: var(--gold-light); font: 12px var(--mono); text-transform: uppercase; }
.footer-links a { display: block; margin: 11px 0; color: rgba(251,252,248,.72); font-size: 14px; }
.footer-links address { margin: 16px 0; color: rgba(251,252,248,.72); font-size: 14px; font-style: normal; line-height: 1.6; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(251,252,248,.14); color: rgba(251,252,248,.55); font: 12px var(--mono); }
.footer-copyright { font-weight: 800; color: var(--white); }

.reveal { animation: rise .7s both ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes banner-drift { from { background-position: 50% 50%; transform: scale(1); } to { background-position: 56% 46%; transform: scale(1.035); } }
@keyframes banner-shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

@media (max-width: 1020px) {
  .wrap { width: min(100% - 36px, 600px); }
  .topline-right { display: none; }
  .nav { height: 68px; }
  .mobile-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; padding: 0 4px; }
  .mobile-actions .portal-nav, .mobile-actions .join-tech { height: 38px; min-height: 38px; margin-top: 0; padding: 0 11px !important; gap: 5px; font-size: 10px; white-space: nowrap; }
  .mobile-actions .portal-nav { padding-left: 13px !important; padding-right: 13px !important; gap: 7px; }
  .mobile-actions .portal-nav::before { width: 5px; height: 5px; flex-basis: 5px; }
  .menu-button { display: block; color: var(--navy); margin-left: 2px; padding: 7px; flex: 0 0 auto; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(12,28,50,.1); }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-dropdown > button { padding: 15px 0; text-align: left; color: var(--ink); }
  .nav-dropdown:hover .dropdown-panel { display: none; }
  .nav-dropdown.open .dropdown-panel { position: static; display: grid; width: auto; box-shadow: none; border: 0; padding: 0 0 6px 12px; background: transparent; }
  .portal-nav, .join-tech { justify-content: center; margin-top: 10px; }
  .hero { min-height: 690px; }
  .hero-image { inset: 0; opacity: .6; }
  .hero .wrap { padding: 145px 0 100px; }
  .hero h1 { font-size: clamp(53px, 14vw, 78px); }
  .hero-meta { gap: 19px; margin-top: 48px; }
  .hero-stat span { font-size: 10px; }
  .section { padding: 83px 0; }
  .section-head, .page-hero .wrap, .cta-band .wrap { display: block; }
  .section-head p { margin-top: 20px; }
  .intro-grid, .promise, .content-grid, .contact-grid, .enquiry-layout, .portal-panel { grid-template-columns: 1fr; gap: 48px; }
  .intro-art { min-height: 355px; }
  .intro-art img { height: 330px; }
  .service-list, .feature-points, .process, .plans, .support-overview-grid { grid-template-columns: 1fr; }
  .support-overview-heading { display: block; }
  .support-overview-heading p { margin-top: 20px; }
  .service-row, .service-row:nth-child(even), .service-row:nth-child(odd) { padding: 24px 0; border-right: 0; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle:nth-child(even) { padding: 23px 0; border-right: 0; }
  .story-image { inset: 0; opacity: .54; }
  .story-strip h2 { font-size: 48px; }
  .case-line { display: block; }
  .case-line cite { display: block; margin-top: 22px; }
  .cta-band { padding: 67px 0; }
  .cta-band .button { margin-top: 28px; }
  .page-hero { padding: 145px 0 70px; }
  .page-hero p { margin-top: 28px; }
  .feature-image { height: 300px; margin-top: 35px; }
  .plan.featured { transform: none; }
  .pricing-toggle { margin-top: 28px; }
  .comparison { min-width: 630px; }
  .comparison-wrap { overflow-x: auto; }
  .contact-form { grid-template-columns: 1fr; padding: 25px 20px; }
  .field.full, .form-submit { grid-column: auto; }
  .form-submit { display: block; }
  .form-submit .button { margin-top: 20px; width: 100%; }
  .portal-page { padding: 145px 0 72px; }
  .portal-box { padding: 25px; }
  .footer-top { display: block; padding-bottom: 45px; }
  .footer-links { margin-top: 40px; grid-template-columns: repeat(3,1fr); gap: 15px; }
  .footer-bottom { display: block; line-height: 1.8; }
}

@media (max-width: 390px) {
  .nav .brand { width: 118px; }
  .mobile-actions { gap: 4px; }
  .mobile-actions .portal-nav, .mobile-actions .join-tech { padding: 0 8px !important; gap: 4px; font-size: 9px; }
  .mobile-actions .portal-nav { padding-left: 10px !important; padding-right: 10px !important; gap: 6px; }
  .menu-button { margin-left: 0; padding: 5px; }
}

@media (min-width: 1021px) and (max-width: 1200px) {
  .nav-links { gap: 14px; font-size: 12px; }
  .portal-nav { padding-left: 11px; padding-right: 11px; }
  .join-tech { padding-left: 11px !important; padding-right: 11px !important; }
}