/* GP Water – shared styles (homepage + case-study pages) */
:root { color-scheme: light dark; --navy: light-dark(#102c45,#e7f0f6); --ink: light-dark(#1b3549,#d9e5ec); --muted: light-dark(#526979,#a5bac6); --paper: light-dark(#f6f8f7,#101a22); --surface: light-dark(#ffffff,#182630); --line: light-dark(#d9e3e6,#344752); --teal: light-dark(#087e83,#57d0ca); --blue: light-dark(#1b6f9c,#6bb8e2); --pale: light-dark(#e9f3f2,#21383f); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.root { min-height: 100vh; background: var(--paper); border-radius: 0; }
.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
header { height: 68px; display:flex; align-items:center; border-bottom:1px solid var(--line); background:var(--surface); }
.nav { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:flex; align-items:center; gap:12px; color:var(--navy); font-weight:850; letter-spacing:-.055em; font-size:28px; }
.brand-mark { width:36px; height:36px; flex:0 0 36px; display:block; overflow:visible; }
.brand-mark svg { display:block; width:36px; height:36px; }
.brand small { display:block; font-size:9px; letter-spacing:.22em; font-weight:750; margin-top:-2px; color:var(--muted); }
nav { display:flex; align-items:center; gap:28px; font-size:16px; font-weight:650; color:var(--muted); }
a { color:inherit; text-decoration:none; }
.nav-cta, .button { background:var(--navy); color:var(--surface); padding:12px 17px; border-radius:4px; font-size:16px; letter-spacing:.04em; font-weight:800; }
.hero { position:relative; overflow:hidden; padding:24px 0; background:var(--surface); }
.hero-grid { display:grid; grid-template-columns:1.1fr .9fr; align-items:center; gap:48px; }
.kicker { text-transform:uppercase; color:var(--teal); font-weight:800; font-size:11px; letter-spacing:.18em; margin-bottom:22px; }
h1 { margin:0; max-width:680px; color:var(--navy); font-size:clamp(30px,4vw,43px); letter-spacing:-.045em; line-height:1.1; }
.hero p { color:var(--muted); font-size:16px; line-height:1.6; max-width:550px; margin:22px 0 24px; }
.hero p strong { color:var(--navy); font-weight:750; }
.button { display:inline-flex; align-items:center; gap:12px; padding:15px 19px; background:var(--teal); color:#fff; }
.visual { min-height:190px; position:relative; display:flex; align-items:center; justify-content:center; }
.visual:before { content:""; position:absolute; width:250px; height:250px; border-radius:50%; border:1px solid var(--line); box-shadow:0 0 0 20px color-mix(in srgb, var(--teal) 6%, transparent), 0 0 0 42px color-mix(in srgb, var(--blue) 5%, transparent); }
.diagram { position:relative; z-index:1; width:min(100%,530px); background:var(--surface); border:1px solid var(--line); padding:20px 32px; box-shadow:0 18px 50px #0b253015; }
.diagram-label { color:var(--muted); text-transform:uppercase; font-size:12px; font-weight:800; letter-spacing:.16em; margin-bottom:22px; }
.flow { display:grid; grid-template-columns:1fr 24px 1fr 24px 1fr; align-items:center; gap:4px; }
.unit { border:1px solid var(--line); background:var(--paper); padding:24px 5px; text-align:center; color:var(--navy); font-weight:800; font-size:17px; }
.unit span { display:block; margin-top:7px; color:var(--muted); font-size:12px; font-weight:600; }
.arrow { height:2px; background:var(--teal); position:relative; }
.arrow:after { content:""; position:absolute; right:-1px; top:-4px; border-left:7px solid var(--teal); border-top:5px solid transparent; border-bottom:5px solid transparent; }
.flow-caption { font-size:16px; color:var(--muted); margin-top:8px; text-align:center; }
section { padding:58px 0; }
#services { padding-top:24px; }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:32px; margin-bottom:35px; }
.section-kicker { font-size:10px; text-transform:uppercase; letter-spacing:.17em; font-weight:850; color:var(--teal); margin-bottom:13px; }
h2 { color:var(--navy); margin:0; font-size:clamp(30px,4vw,43px); letter-spacing:-.045em; line-height:1.1; }
.services { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.service { background:var(--surface); border:1px solid var(--line); padding:23px 22px 22px; min-height:255px; display:flex; flex-direction:column; }
.service-num { font-size:10px; color:var(--teal); font-weight:850; letter-spacing:.1em; margin-bottom:22px; }
.service h3 { font-size:22px; line-height:1.15; color:var(--navy); letter-spacing:-.03em; margin:0 0 13px; }
.service p { font-size:13px; line-height:1.65; color:var(--muted); margin:0 0 18px; }
.service ul { padding:0; margin:0; list-style:none; display:grid; gap:7px; font-size:12px; color:var(--ink); }
.service li:before { content:"↗"; color:var(--teal); margin-right:9px; font-weight:900; }
.service .more { margin-top:auto; padding-top:23px; color:var(--navy); font-size:11px; font-weight:850; letter-spacing:.05em; }

/* Areas of expertise (homepage) */
.areas-section { background:var(--pale); border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:40px 0 34px; }
.areas { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.area { background:var(--surface); border:1px solid var(--line); display:flex; flex-direction:column; transition:border-color .15s, transform .15s, box-shadow .15s; }
.area:hover, .area:focus-visible { border-color:var(--teal); transform:translateY(-2px); box-shadow:0 12px 30px #0b253014; }
.area-name { color:var(--navy); font-size:clamp(20px,1.9vw,24px); text-transform:uppercase; letter-spacing:.08em; font-weight:850; line-height:1.15; margin:0; padding:20px 20px 16px; }
.area-art { background:#fff; aspect-ratio:16 / 9; display:grid; place-items:center; padding:12px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); overflow:hidden; }
.area-art img { display:block; width:100%; height:100%; object-fit:contain; }
.area-art.pending { background:repeating-linear-gradient(135deg, var(--paper) 0 10px, var(--surface) 10px 20px); color:var(--muted); font-size:11px; font-weight:750; letter-spacing:.1em; text-transform:uppercase; text-align:center; }
.area-body { padding:16px 20px 18px; display:flex; flex-direction:column; flex:1; }
.area-body .tag { margin-bottom:8px; }
.area-body p { color:var(--ink); font-size:15px; font-weight:700; line-height:1.35; letter-spacing:-.015em; margin:0 0 16px; }
.area-link { margin-top:auto; color:var(--teal); font-size:11px; font-weight:850; letter-spacing:.06em; text-transform:uppercase; }
.fineprint { font-size:10px; color:var(--muted); line-height:1.6; margin:16px 0 0; max-width:850px; }
.tag { color:var(--teal); font-size:9px; letter-spacing:.13em; text-transform:uppercase; font-weight:850; margin-bottom:14px; }

/* About + contact + footer */
.about { display:grid; grid-template-columns:.82fr 1.18fr; gap:48px; align-items:center; }
#about { padding-top:16px; padding-bottom:16px; }
.about-mark { width:37.5%; max-width:none; justify-self:center; margin-left:0; display:flex; flex-direction:column; gap:12px; background:transparent; border:0; padding:0; min-height:0; aspect-ratio:auto; position:relative; overflow:visible; }
.about-mark img { display:block; position:relative; width:100%; height:auto; aspect-ratio:3 / 4; object-fit:cover; object-position:73% center; border:1px solid var(--line); }
.cta-brand { margin-left:auto; flex:0 1 auto; }
.cta-brand strong { display:block; color:var(--surface); font-size:25px; font-weight:850; letter-spacing:-.05em; }
.cta-brand p { margin:5px 0 0; color:color-mix(in srgb,var(--surface) 78%,transparent); font-size:13px; line-height:1.5; }
.quote { border-left:3px solid var(--teal); padding:4px 0 4px 20px; margin-top:25px; color:var(--navy); font-size:clamp(1.65rem,2.9vw,2.55rem); line-height:1.2; font-weight:620; letter-spacing:-.045em; max-width:620px; }
.quote .closing { color:var(--teal); }
.cta { background:var(--navy); color:var(--surface); padding:42px 0; }
.cta-inner { display:flex; align-items:center; justify-content:space-between; gap:32px; }
.cta .button { flex-shrink:0; background:var(--teal); color:#fff; }
.cta-note { font-size:13px; opacity:.82; margin:14px 0 0; }
footer { padding:25px 0; border-top:1px solid var(--line); background:var(--surface); }
.footer-inner { display:flex; justify-content:space-between; align-items:center; gap:20px; color:var(--muted); font-size:10px; }
.footer-brand { color:var(--navy); font-size:15px; font-weight:850; }

/* Case-study pages */
.case-hero { background:var(--surface); padding:34px 0 30px; border-bottom:1px solid var(--line); }
.crumb { font-size:12px; font-weight:750; color:var(--muted); margin-bottom:22px; display:inline-block; }
.crumb:hover { color:var(--teal); }
.case-hero h1 { max-width:820px; }
.status { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:20px; font-size:12px; color:var(--muted); }
.status b { color:var(--navy); font-weight:750; }
.status a { color:var(--teal); font-weight:750; }
.case-metrics { display:grid; grid-template-columns:repeat(auto-fit, minmax(180px,1fr)); gap:14px; margin-top:28px; }
.case-metric { border-left:2px solid var(--teal); padding:2px 0 2px 12px; }
.case-metric strong { display:block; color:var(--navy); font-size:clamp(22px,2.4vw,28px); letter-spacing:-.04em; line-height:1.1; }
.case-metric span { display:block; font-size:11px; color:var(--muted); margin-top:5px; line-height:1.4; }
.basis { margin-top:18px; display:inline-block; font-size:11px; font-weight:750; color:var(--navy); background:var(--pale); border:1px solid var(--line); padding:6px 10px; border-radius:3px; }
.case-figure { margin:0; background:var(--surface); border:1px solid var(--line); }
.case-figure .fig-img { background:#fff; padding:20px; display:block; }
.case-figure img { display:block; width:100%; height:auto; }
.case-figure figcaption { padding:12px 18px; font-size:12px; color:var(--muted); line-height:1.6; border-top:1px solid var(--line); }
.fig-pending { aspect-ratio:16 / 7; display:grid; place-items:center; background:repeating-linear-gradient(135deg, var(--paper) 0 12px, var(--surface) 12px 24px); color:var(--muted); font-size:12px; font-weight:750; letter-spacing:.1em; text-transform:uppercase; text-align:center; padding:20px; }
.case-body { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:16px; }
.case-block { background:var(--surface); border:1px solid var(--line); padding:22px; }
.case-block h2 { font-size:12px; text-transform:uppercase; letter-spacing:.16em; color:var(--teal); font-weight:850; margin:0 0 12px; }
.case-block p { font-size:14px; line-height:1.7; color:var(--ink); margin:0 0 10px; }
.case-block p:last-child { margin-bottom:0; }
.more-areas { padding-top:0; }
.more-areas .areas { grid-template-columns:repeat(3,1fr); }
.more-areas .area-name { font-size:18px; padding:16px 18px 12px; }
.more-areas .area-body { padding:12px 18px 16px; }

@media(max-width:850px) { nav a:not(.nav-cta) { display:none; } .hero-grid { grid-template-columns:1fr; gap:12px; } .visual { min-height:150px; } .services { grid-template-columns:1fr; } .service { min-height:0; } .areas { grid-template-columns:repeat(2,1fr); } .about { grid-template-columns:1fr; gap:28px; } .about-mark { min-height:0; width:min(37.5%, 240px); max-width:none; justify-self:center; margin-left:0; } .section-head { align-items:flex-start; flex-direction:column; } .cta-inner { align-items:center; flex-direction:row; } .cta-brand strong { font-size:21px; } .case-body { grid-template-columns:1fr; } .more-areas .areas { grid-template-columns:1fr; } }
@media(max-width:560px) { .wrap { width:calc(100% - 32px); } header { height:70px; } .brand { font-size:24px; } .nav-cta { padding:10px 12px; font-size:10px; } .hero { padding:18px 0; } .hero p { font-size:16px; } section { padding:58px 0; } .areas { grid-template-columns:1fr; } .footer-inner { align-items:flex-start; flex-direction:column; } .case-figure .fig-img { padding:10px; } }
/* Photographs fill their frame instead of sitting on a white diagram panel */
.area-art.photo { padding:0; }
.area-art.photo img { object-fit:cover; }
.case-figure.photo .fig-img { padding:0; background:var(--surface); }
.case-figure.photo img { max-height:520px; object-fit:cover; }
/* Keep name / image / text rows aligned across the area cards */
@supports (grid-template-rows: subgrid) {
  .areas { grid-auto-rows:auto; }
  .area { display:grid; grid-row:span 3; grid-template-rows:subgrid; gap:0; }
  .area-name { align-self:end; }
}

/* Oct 28: compact hero, logo in contact band */
.hero { padding:30px 0 28px; }
.hero-split { display:grid; grid-template-columns:1.2fr .8fr; align-items:end; gap:48px; }
.hero-split .kicker { margin-bottom:16px; }
.hero-split p { margin:0 0 6px; max-width:470px; }
.cta .cta-brand.brand { color:var(--surface); }
.cta .cta-brand.brand small { color:color-mix(in srgb,var(--surface) 70%,transparent); }
@media(max-width:850px) { .hero-split { grid-template-columns:1fr; gap:16px; } }
@media(max-width:560px) { .cta-inner { flex-direction:column; align-items:flex-start; } .cta .cta-brand.brand { margin-left:0; } }

/* Oct 28 (2): hero label and service labels match the "Areas of expertise" label */
.kicker { font-size:16px; letter-spacing:.17em; font-weight:850; }
.service-num { font-size:16px; letter-spacing:.17em; font-weight:850; line-height:1.35; }
/* Keep label / heading / text / list / button rows level across the three service cards */
@supports (grid-template-rows: subgrid) {
  .service { display:grid; grid-row:span 5; grid-template-rows:subgrid; row-gap:0; }
  .service-num { align-self:end; }
  .service .more { align-self:end; }
}

/* Oct 28 (3) */
/* Hero lede: larger, sits level with the bottom of the headline */
.hero-split { align-items:end; }
.hero-split .hero-lede { text-wrap:balance; font-size:19px; line-height:1.5; max-width:450px; margin:0 0 4px; color:var(--muted); }
/* Service labels without numbers */
.service-num { margin-bottom:16px; }
#services .section-head { margin-bottom:24px; }
/* Contact note sized to the width of the button */
.cta .cta-note { font-size:21px; font-weight:600; opacity:.9; margin-top:14px; white-space:nowrap; }
/* About: photo and quote side by side, centred on each other */
#about { padding-top:40px; padding-bottom:44px; }
.about { grid-template-columns:260px 1fr; gap:48px; align-items:center; }
.about-mark { width:100%; justify-self:start; }
.about-mark img { aspect-ratio:3 / 4; }
.quote { margin-top:0; max-width:760px; }
@media(max-width:850px) { .about { grid-template-columns:1fr; gap:24px; } .about-mark { width:min(60%, 240px); justify-self:start; } }
.service ul { align-content:start; }
/* All card links: one size and style */
.area-link, .service .more { font-size:13px; font-weight:850; letter-spacing:.06em; color:var(--teal); }
.service h3 { font-size:20px; }

/* About page */
.about-more { display:inline-block; margin:22px 0 0 23px; }
.about-intro { display:grid; grid-template-columns:300px 1fr; gap:48px; align-items:start; }
.about-photo img { display:block; width:100%; aspect-ratio:3 / 4; object-fit:cover; object-position:73% center; border:1px solid var(--line); }
.about-intro p { font-size:16px; line-height:1.7; color:var(--ink); margin:0 0 14px; max-width:720px; }
.about-intro .about-role { font-size:18px; font-weight:750; color:var(--teal); margin:10px 0 20px; }
.about-intro + .wrap .case-metrics { margin-top:34px; }
.about-sec { padding:40px 0; }
.timeline { list-style:none; margin:0; padding:0; background:var(--surface); border:1px solid var(--line); }
.timeline li { display:grid; grid-template-columns:150px 1fr; gap:20px; padding:16px 22px; border-top:1px solid var(--line); }
.timeline li:first-child { border-top:0; }
.tl-years { color:var(--teal); font-weight:800; font-size:14px; padding-top:2px; white-space:nowrap; }
.timeline b { color:var(--navy); font-size:16px; }
.timeline li > div { font-size:15px; color:var(--muted); }
.timeline p { margin:5px 0 0; font-size:14px; line-height:1.6; color:var(--ink); }
.about-two { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
ul.plain { list-style:none; margin:0; padding:0; display:grid; gap:10px; font-size:14px; line-height:1.55; color:var(--ink); }
ul.plain li { padding-left:18px; position:relative; }
ul.plain li:before { content:"↗"; position:absolute; left:0; color:var(--teal); font-weight:900; font-size:12px; }
.patents li span { display:inline-block; min-width:96px; color:var(--navy); font-weight:750; }
.further { margin:22px 0 0; font-size:14px; color:var(--muted); }
.further a { color:var(--teal); font-weight:750; }
@media(max-width:850px) { .about-intro { grid-template-columns:1fr; gap:24px; } .about-photo { width:min(60%, 240px); } .about-two { grid-template-columns:1fr; } .timeline li { grid-template-columns:1fr; gap:4px; } }
.about-photo img { height:auto; }
.patents li span { min-width:132px; margin-right:6px; }
.patents li { display:grid; grid-template-columns:132px 1fr; gap:6px; } .patents li span { min-width:0; margin:0; }
.about-photo img { object-position:center; }

/* Oct 29 */
/* Quote: quieter lead-in, prominent punch line */
.quote .lead { display:block; color:var(--teal); font-weight:500; font-size:.72em; line-height:1.3; letter-spacing:-.02em; margin-bottom:10px; }
.quote .closing { display:block; color:var(--navy); font-weight:750; }
/* Case pages: single note under the challenge / solution / result boxes */
.case-note { margin:14px 0 0; font-size:12px; line-height:1.6; color:var(--muted); max-width:900px; }
.case-figure .fig-img { cursor:zoom-in; }
.hero h1 { text-wrap:balance; }

/* Case-page photo galleries */
.gallery { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:16px; }
.gallery-tile { display:block; background:var(--surface); border:1px solid var(--line); overflow:hidden; cursor:zoom-in; aspect-ratio:3 / 2; }
.gallery-tile img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .25s; }
.gallery-tile:hover img { transform:scale(1.03); }
.fig-side { display:grid; grid-template-columns:2fr 1fr; gap:16px; align-items:stretch; }
.fig-side .case-figure { display:flex; align-items:center; }
.fig-side .gallery.one { margin-top:0; grid-template-columns:1fr; }
.fig-side .gallery.one .gallery-tile { aspect-ratio:auto; height:100%; }
@media(max-width:850px) { .fig-side { grid-template-columns:1fr; } .fig-side .gallery.one .gallery-tile { aspect-ratio:4 / 3; height:auto; } }
@media(max-width:560px) { .gallery { grid-template-columns:1fr; } }

/* Case studies listing + related cards */
.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.case-card { background:var(--surface); border:1px solid var(--line); display:flex; flex-direction:column; transition:border-color .15s, transform .15s, box-shadow .15s; }
.case-card:hover, .case-card:focus-visible { border-color:var(--teal); transform:translateY(-2px); box-shadow:0 12px 30px #0b253014; }
.card-art { background:#fff; aspect-ratio:16 / 9; display:grid; place-items:center; padding:12px; border-bottom:1px solid var(--line); overflow:hidden; }
.card-art img { display:block; width:100%; height:100%; object-fit:contain; }
.card-art.figure-panel { background:linear-gradient(145deg, color-mix(in srgb,var(--teal) 14%,var(--surface)), var(--surface)); text-align:center; padding:20px; align-content:center; gap:6px; }
.figure-panel strong { color:var(--navy); font-size:clamp(30px,3.2vw,40px); letter-spacing:-.04em; line-height:1.05; }
.figure-panel span { color:var(--muted); font-size:13px; font-weight:650; }
.card-body { padding:16px 20px 18px; display:flex; flex-direction:column; flex:1; }
.card-body .tag { margin-bottom:8px; }
.card-title { color:var(--navy); font-size:17px; font-weight:750; line-height:1.3; letter-spacing:-.015em; margin:0 0 16px; }
.card-body .area-link { margin-top:auto; }
.index-lede { font-size:16px; line-height:1.7; color:var(--muted); max-width:760px; margin:18px 0 0; }
.case-group { padding:36px 0 8px; }
.case-group:last-of-type { padding-bottom:48px; }
.case-body.no-fig { margin-top:0; }
/* Service cards: two links */
.card-links { display:flex; flex-wrap:wrap; gap:8px 22px; align-self:end; padding-top:23px; }
.card-links .more { padding-top:0; margin-top:0; }
.service .more.alt { color:var(--navy); }
@media(max-width:850px) { .cards { grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px) { .cards { grid-template-columns:1fr; } }
.card-links { flex-direction:column; align-items:flex-start; gap:10px; }
.service .more { text-transform:uppercase; }
.case-group:last-of-type { padding-bottom:64px; }
.card-links .more { align-self:flex-start; }
/* Side photo follows the diagram's height instead of stretching the row */
.fig-side .case-figure { min-height:380px; }
.fig-side .gallery.one .gallery-tile { position:relative; }
.fig-side .gallery.one .gallery-tile img { position:absolute; inset:0; }
@media(max-width:850px) { .fig-side .case-figure { min-height:0; } .fig-side .gallery.one .gallery-tile img { position:static; } }
/* Gallery items with a caption */
.gallery-item { margin:0; display:flex; flex-direction:column; }
.gallery-item figcaption { font-size:12px; color:var(--muted); padding:8px 2px 0; line-height:1.5; }
.gallery-item .gallery-tile { flex:1; }
.gallery-tile img[src$=".png"] { object-fit:contain; background:#fff; padding:10px; }
.card-art.photo { padding:0; }
.card-art.photo img { object-fit:cover; }
/* Odd photo out in a two-column gallery sits centred on its own row */
.gallery > :last-child:nth-child(odd) { grid-column:1 / -1; justify-self:center; width:calc(50% - 8px); }
@media(max-width:560px) { .gallery > :last-child:nth-child(odd) { width:100%; } }
.gallery.solo { grid-template-columns:1fr; max-width:620px; margin:0 auto; }
.gallery.solo .gallery-tile { aspect-ratio:auto; }
.gallery.solo .gallery-tile img { height:auto; }
.gallery.solo > :last-child:nth-child(odd) { width:100%; }
.gallery.one > :last-child:nth-child(odd) { width:auto; justify-self:stretch; grid-column:auto; }

/* Navigation: page links + phone menu */
header { position:relative; z-index:20; }
.nav-links { display:contents; }
.menu-toggle { display:none; }
@media(max-width:850px) {
  nav a:not(.nav-cta) { display:block; }
  nav { gap:10px; }
  .nav-links { display:none; position:absolute; top:100%; left:0; right:0; background:var(--surface); border-bottom:1px solid var(--line); box-shadow:0 14px 30px #0b253018; padding:6px 0 10px; }
  header.menu-open .nav-links { display:block; }
  .nav-links a { padding:13px 24px; font-size:17px; font-weight:700; color:var(--navy); border-top:1px solid var(--line); }
  .nav-links a:first-child { border-top:0; }
  .menu-toggle { display:inline-flex; align-items:center; gap:8px; order:2; background:transparent; border:1px solid var(--line); border-radius:4px; padding:9px 11px; color:var(--navy); font:inherit; font-size:13px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; cursor:pointer; }
  .menu-bars, .menu-bars:before, .menu-bars:after { display:block; width:18px; height:2px; background:currentColor; border-radius:2px; position:relative; transition:transform .2s, background .2s; }
  .menu-bars:before, .menu-bars:after { content:""; position:absolute; left:0; }
  .menu-bars:before { top:-6px; } .menu-bars:after { top:6px; }
  header.menu-open .menu-bars { background:transparent; }
  header.menu-open .menu-bars:before { transform:translateY(6px) rotate(45deg); }
  header.menu-open .menu-bars:after { transform:translateY(-6px) rotate(-45deg); }
  .nav { gap:12px; }
  .nav .brand { margin-right:auto; }
}
@media(max-width:560px) { .menu-label { display:none; } .menu-toggle { padding:10px; } .nav-links a { padding:13px 16px; } }
.nav-cta, .brand small { white-space:nowrap; }
@media(max-width:560px) {
  .brand { gap:9px; font-size:22px; }
  .brand-mark, .brand-mark svg { width:30px; height:30px; flex-basis:30px; }
  .brand small { font-size:8px; letter-spacing:.16em; }
  .nav { gap:8px; }
  nav { gap:8px; }
}
@media(max-width:360px) { .brand small { display:none; } }
/* LinkedIn link in the contact band */
.cta-li { display:inline-flex; align-items:center; gap:10px; margin-top:18px; color:color-mix(in srgb,var(--surface) 82%,transparent); font-size:14px; font-weight:700; }
.cta-li svg { width:22px; height:22px; color:#57d0ca; flex:0 0 22px; }
.cta-li:hover { color:var(--surface); }
.further .sep { margin:0 10px; color:var(--line); }

/* Visible email in the contact band */
.cta-email { margin:10px 0 0; font-size:15px; color:color-mix(in srgb,var(--surface) 78%,transparent); }
.cta-email a { color:var(--surface); font-weight:700; border-bottom:1px solid color-mix(in srgb,var(--surface) 40%,transparent); user-select:all; }
.cta-email a:hover { border-bottom-color:var(--surface); }
/* 404 page */
.notfound { padding:56px 0 64px; }
.nf-links { display:flex; flex-wrap:wrap; align-items:center; gap:14px 26px; margin-top:28px; }
.nf-alt { color:var(--teal); font-weight:850; font-size:14px; letter-spacing:.06em; text-transform:uppercase; }
.notfound { min-height:calc(100vh - 68px - 236px); }

/* About: name + how we work */
.about-explain { display:grid; grid-template-columns:.85fr 1.15fr; gap:16px; align-items:start; }
.about-explain .case-block p { font-size:15px; }
.gp-name { background:linear-gradient(150deg, color-mix(in srgb,var(--teal) 12%,var(--surface)), var(--surface) 60%); }
.gp-big { color:var(--navy); font-size:clamp(28px,3vw,36px) !important; font-weight:800; letter-spacing:-.04em; line-height:1.1; margin:4px 0 16px !important; }
#how-we-work { padding-bottom:0; }
@media(max-width:850px) { .about-explain { grid-template-columns:1fr; } }
