/* George Jordan Farm Limited — v3: clean, light, lots of space */
@font-face { font-family: "Geist"; src: url("fonts/Geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0C1A24;
  --ink-2: #4B5A65;
  --ink-3: #7D8A93;
  --line: #E4E8EB;
  --paper: #FFFFFF;
  --tint: #F4F5F2;
  --navy: #0D2131;
  --green: #17864A;
  --green-hi: #4CD98A;
  --blue: #1F6FB8;
  --amber: #E7A93A;
  --r: 18px;
  --gut: clamp(20px, 4.5vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.6vw, 96px); }
h2 { font-size: clamp(32px, 4.2vw, 60px); }
h3 { font-size: 21px; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

/* kicker: small label with a short bar, as in the company profile */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.on-dark .kicker, .kicker.light { color: var(--green-hi); }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 "Geist", sans-serif; letter-spacing: -.01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: #000; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #127240; }
.btn-white { background: #fff; color: var(--ink); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.24); }
.btn-line { background: transparent; color: var(--ink); border-color: #CBD3D8; }
.btn-line:hover { border-color: var(--ink); }
.arrow::after { content: "→"; transition: transform .25s var(--ease); }
.arrow:hover::after { transform: translateX(3px); }

/* header */
.site-head { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gut); color: #fff; transition: background .35s, color .35s, box-shadow .35s, transform .45s var(--ease); }
.site-head.solid { background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
body.in-film .site-head { transform: translateY(-100%); }
.mark { display: flex; flex-direction: column; line-height: 1.05; text-decoration: none; }
.mark b { font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.mark span { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; opacity: .7; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 9px 13px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; opacity: .88; transition: opacity .2s, background .2s; }
.nav a:hover { opacity: 1; background: rgba(127,127,127,.12); }
.nav a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav .nav-cta { margin-left: 10px; background: #fff; color: var(--ink); opacity: 1; padding: 10px 18px; }
.solid .nav .nav-cta { background: var(--ink); color: #fff; }
.menu-btn { display: none; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; font: 600 15px/1 "Geist", sans-serif; cursor: pointer; }
@media (max-width: 1080px) { .nav { display: none; } .menu-btn { display: inline-flex; align-items: center; } }


/* page hero (inner pages): full-bleed photo, text bottom-left */
.hero { position: relative; min-height: min(88svh, 900px); display: flex; align-items: flex-end; color: #fff; background: var(--navy); overflow: hidden; }
.hero > img, .hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,26,.42) 0%, rgba(8,18,26,0) 26%, rgba(8,18,26,0) 42%, rgba(8,18,26,.72) 100%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; padding-top: 140px; padding-bottom: clamp(44px, 8vh, 88px); }
.hero h1 { max-width: 13ch; }
.hero .sub { margin-top: 20px; max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.86); }
.hero .kicker { color: #fff; opacity: .9; }

/* sections */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section.tight { padding-top: 0; }
.tint { background: var(--tint); }
.dark { background: var(--navy); color: #fff; }
.head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.head p { color: var(--ink-2); font-size: 18px; max-width: 30em; }
.dark .head p { color: rgba(255,255,255,.7); }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

.intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px 80px; align-items: start; }
.intro .lead { font-size: clamp(28px, 3.1vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.intro .lead b { font-weight: 600; color: var(--green); }
.intro .body { display: grid; gap: 18px; color: var(--ink-2); padding-top: 10px; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: clamp(56px, 7vw, 96px); }
.stats > div { padding: 28px 28px 0 0; }
.stats > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(48px, 6vw, 84px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.stats span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 15px; max-width: 18em; }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr; } .stats > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .stats > div { padding-bottom: 24px; } }

/* numbered rows (services, projects) */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: r; }
.rows li { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.15fr); gap: 8px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; counter-increment: r; }
.rows li::before { content: counter(r, decimal-leading-zero); font-size: 14px; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }
.rows h3 { font-size: clamp(20px, 1.9vw, 26px); }
.rows h3 a { text-decoration: none; }
.rows h3 a:hover { color: var(--green); }
.rows p { color: var(--ink-2); }
.rows .loc { display: block; font-size: 14px; color: var(--ink-3); margin-top: 6px; letter-spacing: 0; font-weight: 500; }
@media (max-width: 760px) { .rows li { grid-template-columns: 44px 1fr; } .rows li p { grid-column: 2; } }

/* photos */
figure { margin: 0; }
.ph { position: relative; overflow: hidden; border-radius: var(--r); background: #DDE3E6; }
.ph img, .ph video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
figure[data-full] { cursor: zoom-in; }
figure[data-full]:hover .ph img { transform: scale(1.035); }
figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.trio { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.trio figure:first-child { grid-row: 1 / span 2; display: flex; flex-direction: column; }
.trio figure:first-child .ph { flex: 1; min-height: 420px; }
.trio figure:not(:first-child) .ph { aspect-ratio: 4 / 3; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo .ph { aspect-ratio: 4 / 3; }
.duo.tall .ph { aspect-ratio: 4 / 5; }
.wide .ph { aspect-ratio: 21 / 9; }
@media (max-width: 760px) {
  .trio, .duo { grid-template-columns: 1fr; }
  .trio figure:first-child { grid-row: auto; }
  .trio figure:first-child .ph { min-height: 0; aspect-ratio: 4 / 5; }
  .wide .ph { aspect-ratio: 4 / 3; }
}

/* feature: photo beside text */
.feat { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px 88px; align-items: center; }
.feat.rev .feat-media { order: 2; }
.feat-media .ph { aspect-ratio: 4 / 5; }
.feat-text h2 { font-size: clamp(32px, 3.6vw, 52px); }
.feat-text > p { margin-top: 20px; color: var(--ink-2); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; } .feat.rev .feat-media { order: 0; } .feat-media .ph { aspect-ratio: 4 / 3; } }

/* dark moment: text beside a tall photo */
.cine { background: var(--navy); color: #fff; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.cine .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 88px; align-items: center; }
.cine h2 { max-width: 12ch; }
.cine .cine-text > p:not(.kicker) { margin-top: 20px; max-width: 30em; font-size: 18px; color: rgba(255,255,255,.74); }
.cine .kicker { color: var(--green-hi); }
.cine .ph { aspect-ratio: 4 / 5; background: #000; }
@media (max-width: 860px) { .cine .wrap { grid-template-columns: 1fr; } .cine .ph { aspect-ratio: 4 / 5; } }

/* statement */
.statement { text-align: left; }
.statement blockquote { margin: 0; font-size: clamp(34px, 4.6vw, 68px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; max-width: 18ch; }
.statement p { margin-top: 24px; max-width: 36em; color: var(--ink-2); font-size: 18px; }
.dark.statement p { color: rgba(255,255,255,.72); }
.notice { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: 28px; }
.notice::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(23,134,74,.18); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--line); padding-top: 22px; }
.steps li::before { content: counter(s); display: block; font-size: 15px; font-weight: 600; color: var(--green); margin-bottom: 26px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* division cards (home) */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { text-decoration: none; display: flex; flex-direction: column; }
.card .ph { aspect-ratio: 3 / 4; }
.card:hover .ph img { transform: scale(1.04); }
.card h3 { margin-top: 18px; display: flex; justify-content: space-between; gap: 12px; }
.card h3::after { content: "→"; color: var(--green); transition: transform .25s var(--ease); }
.card:hover h3::after { transform: translateX(4px); }
.card p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } .card .ph { aspect-ratio: 4 / 3; } }

/* values */
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.values li { padding: 26px 0; border-top: 1px solid var(--line); }
.values h3 { margin-bottom: 6px; }
.values p { color: var(--ink-2); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* timeline */
.tl { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tl li { display: grid; grid-template-columns: 160px 1fr 280px; gap: 16px 40px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: start; }
.tl .yr { font-size: 22px; font-weight: 600; color: var(--green); letter-spacing: -.02em; }
.tl p { color: var(--ink-2); margin-top: 6px; max-width: 34em; }
.tl .ph { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .tl li { grid-template-columns: 1fr; } }

/* gallery with filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid #CBD3D8; background: #fff; font: 500 15px/1 "Geist", sans-serif; color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mosaic figure .ph { aspect-ratio: 4 / 3; }
.mosaic figcaption { margin-top: 8px; }
@media (max-width: 860px) { .mosaic { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .mosaic { gap: 12px; } .mosaic figcaption { font-size: 13px; } }

/* borehole explorer */
.explorer { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.explorer-fig { background: #fff; border-radius: var(--r); padding: 28px; box-shadow: 0 1px 0 var(--line); position: sticky; top: 100px; }
.explorer-fig svg { width: 100%; height: auto; display: block; }
.explorer svg [data-part] { cursor: pointer; transition: opacity .25s, filter .25s; }
.explorer.has-active svg [data-part]:not(.on) { opacity: .45; }
.explorer svg [data-part].on { filter: drop-shadow(0 0 6px rgba(76,217,138,.9)); }
.explorer-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.explorer-list button { width: 100%; text-align: left; display: grid; gap: 4px; padding: 20px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; color: inherit; cursor: pointer; }
.explorer-list b { font-size: 19px; font-weight: 600; letter-spacing: -.015em; display: flex; align-items: center; gap: 12px; }
.explorer-list b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #C9D1D6; transition: background .2s; }
.explorer-list span { color: var(--ink-2); padding-left: 20px; display: none; }
.explorer-list button[aria-pressed="true"] b::before { background: var(--green); }
.explorer-list button[aria-pressed="true"] span { display: block; }
@media (max-width: 760px) { .explorer { grid-template-columns: 1fr; gap: 24px; } .explorer-fig { position: static; max-width: 240px; margin: 0 auto; } }

/* contact */
.contact-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-grid li { padding: 26px; border-radius: var(--r); background: var(--tint); display: grid; gap: 8px; }
.contact-grid span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.contact-grid a, .contact-grid b { font-size: 20px; font-weight: 600; letter-spacing: -.015em; text-decoration: none; word-break: break-word; }
.contact-grid a:hover { color: var(--green); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* enquiry form */
.enquire { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px 88px; align-items: start; }
.enquire h2 { font-size: clamp(32px, 3.6vw, 52px); }
.enquire > div > p { margin-top: 18px; color: var(--ink-2); font-size: 18px; max-width: 26em; }
.direct { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; color: var(--ink-2); }
.direct a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid #C8D0D5; }
.form { background: #fff; border-radius: 24px; padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 22px; box-shadow: 0 1px 2px rgba(12,26,36,.05), 0 20px 60px -30px rgba(12,26,36,.25); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 600; padding: 0; }
.opt { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1px solid #D3DADF; background: #FAFBFB; font: 400 16px/1.4 "Geist", sans-serif; color: var(--ink); transition: border-color .2s, background .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(23,134,74,.14); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pills span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid #D3DADF; font-size: 15px; font-weight: 500; transition: all .2s; }
.pills input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pills input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.err { display: none; font-size: 14px; color: #B3261E; }
.field[data-invalid] .err { display: block; }
.field[data-invalid] input, .field[data-invalid] textarea { border-color: #B3261E; }
.form .btn { justify-self: start; }
.note { font-size: 14px; color: var(--ink-3); }
.status { padding: 14px 16px; border-radius: 12px; background: #E7F5EC; color: #0E5A31; font-weight: 500; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 960px) { .enquire { grid-template-columns: 1fr; } }

/* call-to-action panel */
.cta { background: var(--navy); color: #fff; border-radius: 28px; padding: clamp(40px, 6vw, 88px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px 60px; align-items: end; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(76,217,138,.18), transparent); pointer-events: none; }
.cta h2 { font-size: clamp(32px, 4vw, 56px); max-width: 14ch; }
.cta p { color: rgba(255,255,255,.72); font-size: 18px; margin-top: 16px; max-width: 28em; }
.cta .btns { margin-top: 0; justify-content: flex-end; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .btns { justify-content: flex-start; } }

/* next page link */
.next { display: block; text-decoration: none; border-top: 1px solid var(--line); }
.next .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.next span { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.next b { font-size: clamp(30px, 4.2vw, 60px); font-weight: 600; letter-spacing: -.04em; display: flex; align-items: center; gap: 20px; }
.next b::after { content: "→"; color: var(--green); transition: transform .3s var(--ease); }
.next:hover b::after { transform: translateX(8px); }

/* footer */
.foot { background: var(--navy); color: rgba(255,255,255,.72); padding: clamp(64px, 8vw, 110px) 0 36px; font-size: 15px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot h2 { color: #fff; font-size: 26px; letter-spacing: -.03em; line-height: 1.15; max-width: 12ch; }
.foot h3 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .small { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > div:first-child { grid-column: 1 / -1; } }

/* lightbox */
.lightbox { position: fixed; z-index: 80; inset: 0; background: rgba(8,14,20,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 16px 24px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100svh - 150px); width: auto; height: auto; border-radius: 12px; }
.lightbox p { color: rgba(255,255,255,.8); margin-top: 16px; font-size: 15px; text-align: center; max-width: 40em; }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; border-radius: 999px; cursor: pointer; font: 600 15px/1 "Geist", sans-serif; }
.lb-close { top: 16px; right: 16px; padding: 12px 18px; }
.lb-prev, .lb-next { top: 50%; width: 52px; height: 52px; font-size: 28px !important; transform: translateY(-50%); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } .hero > img, .hero > video { animation: none; transform: none; } html { scroll-behavior: auto; } }
@media (max-width: 560px) { .next .wrap { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* exploded product views (xv.js) */
.xv { position: relative; height: 340vh; }
.xv-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; color: #fff; }
.xv[data-model=pump] .xv-stage { background: radial-gradient(70% 70% at 62% 48%, #1f5f9e 0%, #0d2e52 38%, #06111f 78%); }
.xv[data-model=solar] .xv-stage { background: radial-gradient(70% 70% at 60% 40%, #f0a64a 0%, #a3561f 30%, #2a1408 75%); }
.xv canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.xv-copy { position: absolute; left: max(24px, 6vw); top: 50%; transform: translateY(-50%); max-width: 380px; z-index: 2; }
.xv-copy .kicker { color: rgba(255,255,255,.7); }
.xv-copy h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.035em; margin: 12px 0 16px; font-weight: 600; }
.xv-copy p { color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.5; }
.xv-tags { position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: 0; }
.xv-tag { position: absolute; left: 0; top: 0; padding: 0 0 0 26px; margin-top: -1em; white-space: nowrap; }
.xv-tag::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 1px; background: rgba(255,255,255,.75); }
.xv-tag.l { padding: 0 26px 0 0; text-align: right; } .xv-tag.l::before { left: auto; right: 0; }
.xv-tag.t, .xv-tag.b { padding: 0; margin: 0; text-align: center; }
.xv-tag.t { padding-bottom: 34px; } .xv-tag.b { padding-top: 34px; }
.xv-tag.t::before, .xv-tag.b::before { left: 50%; width: 1px; height: 28px; top: auto; bottom: 0; }
.xv-tag.b::before { top: 0; bottom: auto; }
.xv-tag.t span, .xv-tag.b span { max-width: 170px; margin: 0 auto; }
.xv-tag b { display: block; font-size: 14px; font-weight: 600; }
.xv-tag span { display: block; font-size: 12px; color: rgba(255,255,255,.7); max-width: 220px; white-space: normal; }
@media (max-width: 760px) { .xv-copy { top: auto; bottom: 28px; transform: none; right: 20px; } .xv-tag span { display: none; } }
.xv-copy .btn { margin-top: 22px; }
/* founder */
.founder { background: #0b1a26; color: #fff; padding: clamp(72px, 11vh, 130px) 0; overflow: hidden; }
.founder-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.founder-photo { margin: 0; }
.founder-photo .ph { border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-text .kicker { color: rgba(255,255,255,.7); }
.founder-text h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.035em; margin: 14px 0 10px; color: #fff; }
.founder-text .lead { color: #7fd0a0; font-size: clamp(18px, 1.6vw, 22px); margin-bottom: 18px; }
.founder-text p { color: rgba(255,255,255,.8); max-width: 34em; }
.founder-text blockquote { margin: 28px 0; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; line-height: 1.25; color: #fff; border-left: 2px solid #2bb673; padding-left: 18px; }
.founder-poster { margin: 0; width: min(220px, 46vw); transform: rotate(-2.5deg); }
.founder-poster .ph { border-radius: 10px; overflow: hidden; box-shadow: 0 24px 50px -18px rgba(0,0,0,.7); aspect-ratio: 2 / 3; }
.founder-poster img { width: 100%; height: 100%; object-fit: cover; }
.founder-poster figcaption { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 10px; transform: rotate(2.5deg); }
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; } }
/* division heroes, glass card, rig band */
.hero.x { min-height: 100svh; }
.hero.x::after { background: linear-gradient(180deg, rgba(6,14,22,.5) 0%, rgba(6,14,22,0) 24%, rgba(6,14,22,0) 40%, rgba(6,14,22,.82) 100%), linear-gradient(90deg, var(--wash, rgba(8,30,52,.55)) 0%, rgba(0,0,0,0) 62%); }
.hero.x[data-div=borehole] { --wash: rgba(10,40,80,.62); }
.hero.x[data-div=farm] { --wash: rgba(10,70,32,.66); }
.hero.x[data-div=estate] { --wash: rgba(80,44,8,.55); }
.hero.x[data-div=engineering] { --wash: rgba(8,56,62,.6); }
.hero.x h1 { font-size: clamp(46px, 7.4vw, 112px); line-height: .96; letter-spacing: -.045em; max-width: 11ch; }
.hero.x .wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.glass { justify-self: end; width: 300px; padding: 20px 22px; border-radius: 22px; color: #fff;
  background: linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.glass .g-top { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.glass .g-big { font-size: 48px; font-weight: 600; letter-spacing: -.04em; line-height: 1; margin: 14px 0 6px; }
.glass .g-sub { font-size: 14px; color: rgba(255,255,255,.82); }
.glass ul { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.22); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.glass li b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.glass li span { font-size: 11px; color: rgba(255,255,255,.72); line-height: 1.3; display: block; }
@media (max-width: 860px) { .hero.x .wrap { grid-template-columns: 1fr; gap: 26px; } .glass { justify-self: start; width: min(100%, 340px); } .glass .g-big { font-size: 38px; } }
.rigband { position: relative; height: clamp(200px, 26vh, 270px); background: linear-gradient(180deg, #0b1a26 0%, #163450 100%); overflow: hidden; color: #fff; }
.rigband canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s; }
.rigband.ready canvas { opacity: 1; }
.rigband-text { position: relative; z-index: 2; padding-top: 30px; }
.rigband-text .kicker { color: rgba(255,255,255,.65); }
.rigband-text .facts { margin-top: 10px; font-size: clamp(16px, 1.35vw, 19px); color: rgba(255,255,255,.9); max-width: 28em; }
@media (max-width: 700px) { .rigband { height: 320px; } .rigband canvas { top: auto; bottom: 0; height: 64%; } }
@media (max-width: 860px) { .hero.x::after { background: linear-gradient(180deg, rgba(6,14,22,.6) 0%, rgba(6,14,22,.4) 38%, rgba(6,14,22,.9) 100%), linear-gradient(90deg, var(--wash, rgba(8,30,52,.55)) 0%, rgba(0,0,0,0) 100%); } }

/* homepage division panels */
.panels-sec { padding-bottom: clamp(48px, 8vh, 96px); }
.panels { display: flex; gap: 12px; height: min(78vh, 760px); padding: 0 clamp(16px, 3vw, 40px); max-width: 1680px; margin: 0 auto; }
.panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: 24px; overflow: hidden; color: #fff; text-decoration: none; transition: flex-grow .8s cubic-bezier(.2,.7,.2,1); }
.panel:hover, .panel:focus-visible { flex-grow: 2.1; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.panel:hover img { transform: scale(1.06); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.25) 55%, color-mix(in srgb, var(--c) 45%, #050b10 55%) 100%); }
.panel-t { position: absolute; left: clamp(18px, 2vw, 28px); right: clamp(18px, 2vw, 28px); bottom: clamp(18px, 2.4vw, 30px); z-index: 2; }
.panel-t .n { font-size: 12px; letter-spacing: .12em; opacity: .75; }
.panel-t h3 { font-size: clamp(22px, 2.1vw, 34px); letter-spacing: -.03em; line-height: 1.05; margin: 6px 0 0; }
.panel-t p { max-width: 24em; color: rgba(255,255,255,.85); font-size: 15px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s, opacity .5s, margin .5s; margin: 0; }
.panel:hover .panel-t p, .panel:focus-visible .panel-t p { max-height: 80px; opacity: 1; margin-top: 10px; }
.panel-t .go { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 2px; }
.panel-t .go::after { content: " \2192"; }
@media (max-width: 860px) {
  .panels { height: 68vh; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .panels::-webkit-scrollbar { display: none; }
  .panel { flex: 0 0 82%; scroll-snap-align: center; }
  .panel:hover { flex-grow: 0; }
  .panel-t p { max-height: none; opacity: 1; margin-top: 8px; }
}
.founder.slim { padding: clamp(64px, 10vh, 110px) 0; }
.founder.slim .founder-photo .ph { aspect-ratio: 4 / 5; }
/* full-bleed photo scene with text */
.scene { position: relative; min-height: 92svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,4,.1) 30%, rgba(10,8,4,.75) 100%), linear-gradient(90deg, rgba(60,30,4,.45), rgba(0,0,0,0) 60%); }
.scene-t { position: relative; z-index: 2; padding-bottom: clamp(48px, 9vh, 100px); }
.scene-t .kicker { color: rgba(255,255,255,.8); }
.scene-t h2 { font-size: clamp(44px, 6.4vw, 96px); letter-spacing: -.045em; line-height: .98; margin: 12px 0 14px; color: #fff; }
.scene-t p { max-width: 30em; color: rgba(255,255,255,.88); font-size: clamp(17px, 1.4vw, 20px); }
.duo-scene { padding: clamp(56px, 9vh, 110px) 0 0; }
.duo-scene .duo .ph { aspect-ratio: 4 / 5; }
.duo-scene .duo img { width: 100%; height: 100%; object-fit: cover; }
/* projects journey */
.chapters { list-style: none; margin: 0; padding: 0; }
.ch { display: grid; grid-template-columns: minmax(140px, 240px) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 64px); padding: clamp(40px, 6vh, 72px) 0; border-top: 1px solid var(--line); }
.ch .yr { font-size: clamp(52px, 6.4vw, 104px); font-weight: 600; letter-spacing: -.055em; line-height: .9; position: sticky; top: 96px; align-self: start; color: var(--navy); }
.ch:last-child .yr { color: var(--green); }
.ch-body h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.03em; }
.ch-body > p { margin-top: 10px; color: var(--ink-2, #4a5863); max-width: 36em; font-size: 17px; }
.ch-photos { display: grid; gap: 12px; margin-top: 26px; }
.ch-photos:empty { display: none; }
.ch-photos figure { margin: 0; }
.ch-photos .ph { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; }
.ch-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ch-photos figure:hover img { transform: scale(1.04); }
.ch-photos figcaption { font-size: 13px; color: #6b7882; margin-top: 8px; }
.ch-photos.one .ph { aspect-ratio: 16 / 9; }
.ch-photos.two { grid-template-columns: 1.4fr 1fr; }
.ch-photos.two .ph { aspect-ratio: auto; height: clamp(260px, 30vw, 420px); }
.ch-photos.grid { grid-template-columns: repeat(3, 1fr); }
.ch-photos.grid .big { grid-column: span 2; grid-row: span 2; }
.ch-photos.grid .big .ph { aspect-ratio: auto; height: calc(100% - 26px); }
@media (max-width: 760px) {
  .ch { grid-template-columns: 1fr; }
  .ch .yr { position: static; }
  .ch-photos.two, .ch-photos.grid { grid-template-columns: 1fr 1fr; }
  .ch-photos.grid .big { grid-column: span 2; grid-row: auto; }
  .ch-photos.grid .big .ph { aspect-ratio: 4 / 5; height: auto; }
}
/* video reel */
.reel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gut) 8px; scrollbar-width: none; max-width: 1680px; margin: 0 auto; }
.reel::-webkit-scrollbar { display: none; }
.reel .clip { flex: 0 0 clamp(220px, 21vw, 300px); margin: 0; scroll-snap-align: start; }
.reel video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; background: #0b1a26; display: block; }
.reel figcaption { font-size: 14px; margin-top: 10px; color: #4a5863; }
.ch-photos.old img { filter: saturate(.92) contrast(1.04); }
.ch-photos.old .ph { box-shadow: 0 18px 40px -22px rgba(0,0,0,.45); }
/* page backdrop: a soft, blurred photo behind frosted sections instead of plain white */
body { background: #e9ece8; }
body::before { content: ""; position: fixed; inset: -4vmax; z-index: -1; background: var(--bg, none) center / cover no-repeat; filter: blur(14px) saturate(1.15); }
main > .section { background: rgba(255,255,255,.76); }
main > .section.tint { background: rgba(246,248,244,.6); }
main > .section.dark, main > .section.statement.dark { background: rgba(10,26,38,.88); }
.reel-sec, .panels-sec { background: rgba(255,255,255,.7) !important; }
main > .section:not(.dark) .head p, main > .section .rows p { color: #33424d; }
/* textures for the pages without a photo backdrop */
body.tex-topo { background: #f1f2ee url(img/bg/topo.jpg) repeat; background-size: 640px; }
body.tex-grid { background: #edf2f5 url(img/bg/grid.png) repeat; }
body.tex-topo::before, body.tex-grid::before { content: none; }
body.tex-topo main > .section, body.tex-grid main > .section { background: rgba(255,255,255,.55); }
body.tex-topo main > .section.tint, body.tex-grid main > .section.tint { background: rgba(244,246,242,.45); }

/* Borehole hero: live exploded rig on a studio gradient */
.rigx { position: relative; min-height: 100svh; overflow: hidden; color: #fff; display: flex; align-items: flex-end;
  background: radial-gradient(60% 75% at 66% 46%, #2a78c2 0%, #12406f 34%, #071a30 70%, #050f1c 100%); }
.rigx::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(60% 70% at 64% 55%, #000 30%, transparent 80%); mask-image: radial-gradient(60% 70% at 64% 55%, #000 30%, transparent 80%); }
.rigx canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; }
.rigx.ready canvas { opacity: 1; }
.rigx-tags { position: absolute; inset: 0; pointer-events: none; z-index: 2; transition: opacity .3s; opacity: 0; }
.rigx-tag { position: absolute; left: 0; top: 0; padding-left: 28px; margin-top: -1.1em; white-space: nowrap; }
.rigx-tag::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 1px; background: rgba(255,255,255,.8); }
.rigx-tag::after { content: ""; position: absolute; left: -4px; top: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--green-hi); box-shadow: 0 0 0 4px rgba(61,220,132,.2); }
.rigx-tag b { display: block; font-size: 14px; font-weight: 600; }
.rigx-tag span { display: block; font-size: 12px; color: rgba(255,255,255,.72); }
.rigx-copy { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(56px, 11vh, 120px); pointer-events: none; }
.rigx-copy > div { max-width: 560px; pointer-events: auto; }
.rigx-copy h1 { font-size: clamp(46px, 6.6vw, 100px); line-height: .96; letter-spacing: -.045em; max-width: 10ch; margin: 14px 0 18px; }
.rigx-copy .sub { font-size: clamp(17px, 1.4vw, 20px); color: rgba(255,255,255,.86); max-width: 26em; }
.rigx-copy .kicker { color: rgba(255,255,255,.8); }
.rigx-copy .btns { margin-top: 26px; }
.rigx-facts { display: flex; gap: 28px; margin-top: 30px; }
.rigx-facts b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.rigx-facts span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.68); }
@media (max-width: 760px), (max-aspect-ratio: 85/100) {
  .rigx-copy { padding-bottom: 40px; }
  .rigx-copy h1 { font-size: clamp(38px, 10.5vw, 52px); }
  .rigx-copy .sub { display: none; }
  .rigx-facts { gap: 20px; margin-top: 22px; }
  .rigx-tag span { display: none; }
}
.rigx::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(90deg, rgba(5,15,28,.72) 0%, rgba(5,15,28,.35) 30%, rgba(5,15,28,0) 48%); }
.rigx-tag b, .rigx-tag span { text-shadow: 0 1px 10px rgba(0,0,0,.6); }
@media (max-width: 760px), (max-aspect-ratio: 85/100) {
  .rigx::after { background: linear-gradient(180deg, rgba(5,15,28,0) 40%, rgba(5,15,28,.8) 72%); }
}
/* Borehole: three tall, sharp photos of the rig at work, straight after the exploded rig */
.rigpics { background: linear-gradient(180deg, #050f1c 0%, #0a1a2c 100%); color: #fff; padding: clamp(64px, 10vh, 120px) 0; }
.rigpics-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.rigpics-head .kicker { color: rgba(255,255,255,.7); }
.rigpics-head h2 { font-size: clamp(34px, 4.4vw, 64px); letter-spacing: -.04em; line-height: 1; margin-top: 12px; color: #fff; }
@media (max-width: 720px) { .rigpics-head { flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 22px; } }

.rigpics-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rigpics .ph { aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; }
.rigpics img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rigpics figcaption { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.7); }
@media (max-width: 760px) {
  .rigpics-row { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); scrollbar-width: none; }
  .rigpics-row::-webkit-scrollbar { display: none; }
  .rigpics figure { scroll-snap-align: center; }
}

/* photo band behind a dark statement */
main > .section.statement.dark.photo-band { position: relative; overflow: hidden; background: #0b1a26; padding-block: clamp(90px, 14vw, 180px); }
.photo-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,20,30,.92) 0%, rgba(8,20,30,.7) 45%, rgba(8,20,30,.25) 100%), var(--band) center/cover no-repeat; }
.photo-band > .wrap { position: relative; }

/* ===== Pass 4: one calm surface, fewer labels, quieter heroes ===== */
:root { --paper2: #F6F4EF; --ink-2: #3E4C57; --ink-3: #5F6C75; }
body { background: var(--paper2); }
body::before { content: none !important; }
main > .section { background: transparent; }
main > .section.tint { background: #fff; }
main > .section.statement.tint { background: #fff; }
.hero.x .wrap { grid-template-columns: 1fr; }
/* labels only where they orient: page heroes, the enquiry form, the 3D scenes */
main > .section .head .kicker,
main > .section .feat-text .kicker,
main > .section .intro .kicker,
main > .section .cine-text .kicker,
.rigpics-head .kicker { display: none; }
figcaption, .note, .rows .loc { color: var(--ink-3); }

/* scroll progress line (inner pages) */
.progress { position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 3px; background: var(--green); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); pointer-events: none; }

/* drawing-to-lodge compare */
.compare { margin: 0; }
.cmp-box { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #e9ecee; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cmp-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-box .cmp-before { object-fit: cover; background: #F2F4F5; clip-path: inset(0 calc(100% - var(--p, 50%)) 0 0); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); pointer-events: none; }
.cmp-line::after { content: "\2194"; position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font: 600 20px/1 "Geist", sans-serif; box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.cmp-tag { position: absolute; bottom: 14px; padding: 7px 12px; border-radius: 999px; font: 600 13px/1 "Geist", sans-serif; background: rgba(12,26,36,.72); color: #fff; pointer-events: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cmp-tag.l { left: 14px; } .cmp-tag.r { right: 14px; }
.cmp-box input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.cmp-box input:focus-visible + .cmp-line::after { outline: 2px solid var(--green); outline-offset: 3px; }

/* tight sections only stay tight when they continue the same surface */
main > :not(.section) + .section.tight,
main > .section.tint + .section.tight:not(.tint),
main > .section:not(.tint) + .section.tight.tint,
main > .section.dark + .section.tight { padding-top: clamp(80px, 11vw, 150px); }

/* contact: the company poster as the hero; its title is part of the picture, so the copy sits low and small */
.hero.poster { min-height: 100svh; align-items: flex-end; background: #070d14; }
.hero.poster > img { object-position: 15% 50%; }
.hero.poster::after { background: linear-gradient(180deg, rgba(5,10,16,0) 55%, rgba(5,10,16,.55) 78%, rgba(5,10,16,.8) 100%); }
.hero.poster .poster-copy { max-width: 30rem; }
.hero.poster h1 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.05; max-width: 14ch; }
.hero.poster .sub { font-size: 17px; }
.hero.poster .btns { margin-top: 26px; }
@media (max-width: 760px) {
  .hero.poster { display: block; min-height: 0; padding-top: 64px; }
  .hero.poster > img { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 50%; transform: none; animation: none; }
  .hero.poster::after { content: none; }
  .hero.poster .wrap { padding-top: 32px; padding-bottom: 48px; }
}

/* ===== phone menu v2: dark sheet ===== */
.menu { position: fixed; z-index: 60; inset: 0; padding: 10px; background: rgba(5,12,18,.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: block; color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.menu.open { opacity: 1; visibility: visible; }
.m-panel { max-height: calc(100svh - 20px); overflow: auto; overscroll-behavior: contain; background: #0C1A24; border-radius: 26px; padding: 6px 18px 20px; box-shadow: 0 30px 80px rgba(0,0,0,.45); transform: translateY(-14px) scale(.98); transform-origin: 50% 0; transition: transform .38s var(--ease); }
.menu.open .m-panel { transform: none; }
.menu-top { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.menu-top .mark { color: #fff; }
.m-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.m-close:hover { background: rgba(255,255,255,.18); }
.m-label { margin: 10px 2px 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.m-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-tile { position: relative; display: block; height: 96px; border-radius: 16px; overflow: hidden; text-decoration: none; color: #fff; background: #1b2a35; }
.m-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .5s var(--ease); }
.m-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,12,18,0) 25%, rgba(5,12,18,.78) 100%); }
.m-tile span { position: absolute; z-index: 1; left: 12px; bottom: 10px; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.m-tile i { width: 8px; height: 8px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.m-tile[aria-current] { outline: 2px solid #fff; outline-offset: -2px; }
.m-tile:active img { transform: scale(1.06); }
.m-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; margin-top: 14px; }
.m-links a { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 2px; border-bottom: 1px solid rgba(255,255,255,.1); text-decoration: none; font-size: 17px; font-weight: 500; color: rgba(255,255,255,.9); }
.m-links a::after { content: "\2192"; color: rgba(255,255,255,.35); font-size: 15px; }
.m-links a[aria-current] { color: #fff; font-weight: 600; }
.m-links a[aria-current]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-hi); }
.m-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.m-actions a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; text-decoration: none; font: 600 15px/1 "Geist", sans-serif; }
.m-call { background: #fff; color: #0C1A24; }
.m-wa { background: #1FAF5B; color: #fff; }
.m-mail { margin-top: 14px; text-align: center; font-size: 14px; color: rgba(255,255,255,.6); }
.m-mail a { text-decoration: none; }
.menu.open .m-tile, .menu.open .m-links a, .menu.open .m-actions { animation: m-in .45s var(--ease) both; }
.menu.open .m-tile:nth-child(2) { animation-delay: .03s; } .menu.open .m-tile:nth-child(3) { animation-delay: .06s; } .menu.open .m-tile:nth-child(4) { animation-delay: .09s; }
.menu.open .m-links a { animation-delay: .12s; } .menu.open .m-actions { animation-delay: .16s; }
@keyframes m-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .m-panel, .menu.open .m-tile, .menu.open .m-links a, .menu.open .m-actions { animation: none; transition: none; } }

/* contact hero v2: the poster alone, shown whole */
.hero.poster { display: block; width: 100%; min-height: 0; height: min(56.25vw, 100svh); aspect-ratio: auto; max-height: none; padding: 0; background: #070d14; }
.hero.poster > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 15% 0%; transform: none; animation: none; }
.hero.poster::after { content: none; }
.head h1 { font-size: clamp(34px, 4.6vw, 64px); max-width: 13ch; }
@media (max-width: 760px) { .hero.poster { height: auto; aspect-ratio: auto; max-height: none; padding-top: 64px; background: #05090f; } .hero.poster > img { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; } }
