/* Tony Carboon — "Harbour" design system
   Stone ground, sea-teal accent, EB Garamond display over Archivo.
   One stylesheet for every page. */

/* ---------- fonts (self-hosted, latin subset) ---------- */
@font-face{
  font-family:'EB Garamond';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url(fonts/ebgaramond-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Archivo';
  font-style:normal;
  font-weight:400 600;
  font-stretch:100%;
  font-display:swap;
  src:url(fonts/archivo-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------- tokens ---------- */
:root{
  --stone:#f5f4f1;
  --surface:#ffffff;
  --ink:#202226;
  --accent:#14586b;
  --accent-dark:#0f4657;
  --body:#4c5057;
  --dim:#62666d;
  --hairline:rgba(32,34,38,.12);
  --rule:rgba(32,34,38,.14);
}

/* ---------- reset + base ---------- */
*{box-sizing:border-box;margin:0;padding:0}
picture{display:contents}
html{scroll-behavior:smooth}
body{background:var(--stone);color:var(--ink);font-family:Archivo,system-ui,sans-serif;font-size:18px;line-height:1.55;-webkit-font-smoothing:antialiased}
img,video{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
h1,h2,h3,.serif{font-family:'EB Garamond',Georgia,serif;font-weight:600}
h1{line-height:1.1}
h2{line-height:1.16}
h3{line-height:1.2}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:4px}
.hero :focus-visible,.site-header :focus-visible,.bio-hero :focus-visible,.guide :focus-visible,.card-teal :focus-visible{outline-color:#f5f4f1}
.skip{position:absolute;left:-9999px;top:0;z-index:200;background:var(--ink);color:#f5f4f1;padding:14px 22px;border-radius:0 0 6px 0;font-weight:600}
.skip:focus{left:0}
.eyebrow{font-size:13px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);margin-bottom:14px}

/* ---------- buttons ---------- */
.btn-cream,.btn-teal,.btn-ink,.btn-ghost,.btn-ghost-ink{
  display:inline-block;font-weight:600;font-size:18px;padding:16px 32px;border-radius:6px;
  white-space:nowrap;border:0;cursor:pointer;font-family:inherit;text-align:center;
  transition:background-color .2s ease,border-color .2s ease
}
.btn-cream{background:#f5f4f1;color:var(--ink)}
.btn-cream:hover{background:#fff}
.btn-teal{background:var(--accent);color:#f5f4f1}
.btn-teal:hover{background:var(--accent-dark)}
.btn-ink{background:var(--ink);color:#f5f4f1}
.btn-ink:hover{background:#000}
.btn-ghost{border:1.5px solid rgba(245,244,241,.75);color:#f5f4f1;padding:15px 28px;background:none}
.btn-ghost:hover{border-color:#fff}
.btn-ghost-ink{border:1.5px solid rgba(32,34,38,.35);color:var(--ink);padding:15px 28px;background:none;font-weight:400}
.btn-ghost-ink:hover{border-color:var(--ink)}
.link-accent{display:inline-block;font-size:18px;font-weight:600;color:var(--accent);border-bottom:2px solid var(--accent);padding:5px 0 3px}
.link-accent:hover{color:var(--accent-dark)}

/* ---------- header + nav ---------- */
.brand{font-family:'EB Garamond',Georgia,serif;font-size:22px;font-weight:600}
.masthead{display:flex;align-items:center;justify-content:space-between;height:76px;padding:0 56px}
.hero .masthead,.bio-hero .masthead{position:relative;color:#f5f4f1}
.site-header{background:var(--ink);color:#f5f4f1}
/* scoped to .masthead on purpose: the footer and "more reading" blocks are
   also <nav> elements, and bare nav rules were landing on them */
.masthead nav{display:flex;align-items:center;gap:36px;font-size:16.5px}
.masthead nav a:hover{opacity:.8}
.masthead nav .btn-cream{padding:12px 24px;font-size:16.5px}
.masthead nav [aria-current="page"]{border-bottom:2px solid rgba(245,244,241,.7);padding-bottom:2px}
.burger{display:none;background:none;border:0;cursor:pointer;padding:8px}
.burger span{display:block;width:24px;height:2px;background:#f5f4f1;margin:5px 0}

/* ---------- hero ---------- */
.hero{position:relative}
.hero-bg{position:absolute;inset:0;overflow:hidden}
.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:50% 60%}
.hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(16,20,26,.74),rgba(16,20,26,.32) 42%,rgba(16,20,26,.75))}
.hero-copy{position:relative;padding:130px 96px 200px;color:#f5f4f1;max-width:900px}
.hero-copy h1{font-size:clamp(38px,4.5vw,64px);line-height:1.08;margin-bottom:22px}
.hero-copy .sub{font-size:20px;color:rgba(245,244,241,.92);margin-bottom:34px;max-width:560px}
.cta-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap}

/* ---------- overlap (video / portrait card + copy) ---------- */
.overlap{display:grid;grid-template-columns:384px 1fr;gap:88px;padding:0 96px 88px;align-items:start}
.media-wrap{margin-top:-120px;position:relative;z-index:2}
.media-card{position:relative;width:100%;max-width:384px;aspect-ratio:800/960;border-radius:6px;overflow:hidden;box-shadow:0 30px 70px rgba(32,34,38,.28);background:#000}
.is-video{cursor:pointer}
.media-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.scrim{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.play-btn{width:78px;height:78px;border-radius:50%;background:rgba(245,244,241,.94);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(32,34,38,.3);transition:transform .2s ease}
.is-video:hover .play-btn{transform:scale(1.06)}
.play-btn::after{content:"";width:0;height:0;border-left:21px solid var(--ink);border-top:13px solid transparent;border-bottom:13px solid transparent;margin-left:6px}
.duration{position:absolute;right:14px;top:14px;background:rgba(32,34,38,.75);color:#f5f4f1;font-size:14px;padding:5px 11px;border-radius:6px}
.media-card video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.media-caption{margin-top:12px;font-size:14px;color:var(--dim)}
.mobile-cta{display:none}
.overlap-copy{padding-top:72px}
.overlap-copy h2{font-size:clamp(30px,3vw,40px);margin-bottom:20px;max-width:560px}
.overlap-copy .bio{font-size:20px;line-height:1.6;color:var(--body);max-width:640px}
.spaced{margin-top:16px}

/* ---------- topics ---------- */
.topics{background:var(--surface);border-top:1px solid rgba(32,34,38,.1);padding:96px}
.topics h2{font-size:clamp(32px,3.2vw,44px);margin-bottom:44px}
.topics-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}
.card-num{position:absolute;top:22px;left:48px;font-size:13px;font-weight:600;letter-spacing:.18em}
.card-teal{position:relative;background:var(--accent);color:#f5f4f1;border-radius:6px;padding:44px 48px;display:flex;flex-direction:column;justify-content:flex-end;min-height:300px}
.card-teal .card-num{color:rgba(245,244,241,.8)}
.card-teal h3{font-size:32px;margin-bottom:10px}
.card-teal p{font-size:19px;color:rgba(245,244,241,.88);max-width:520px}
.card-stone{position:relative;background:var(--stone);border:1px solid var(--rule);border-radius:6px;padding:44px 48px;display:flex;flex-direction:column;justify-content:flex-end}
.card-stone .card-num{color:var(--accent)}
.card-stone h3{font-size:32px;margin-bottom:10px}
.card-stone p{font-size:19px;color:var(--body)}
.card-wide{grid-column:1/-1;border:1px solid var(--rule);border-radius:6px;overflow:hidden;display:grid;grid-template-columns:1fr 420px}
.card-wide-copy{position:relative;padding:44px 48px;display:flex;flex-direction:column;justify-content:center}
.card-wide-copy .card-num{color:var(--accent)}
.card-wide-copy h3{font-size:32px;margin-bottom:10px}
.card-wide-copy p{font-size:19px;color:var(--body);max-width:560px}
.card-wide-photo{position:relative;min-height:260px}
.card-wide-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:75% 45%}
.topics-note{margin-top:26px;font-size:17px;color:var(--dim)}

/* ---------- geonet ---------- */
.geonet{padding:96px;display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.geonet-photo{position:relative;border-radius:6px;overflow:hidden;height:440px;background:#000}
.geonet-photo img,.geonet-photo video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.photo-caption{margin-top:10px;font-size:14.5px;color:var(--dim)}
.geonet h2{font-size:clamp(30px,3vw,40px);margin-bottom:18px;max-width:440px}
.geonet p{font-size:20px;color:var(--body);margin-bottom:22px;max-width:500px}

/* ---------- featured project ---------- */
.featured{background:var(--surface);border-top:1px solid rgba(32,34,38,.1);padding:96px}
.featured h2{font-size:clamp(32px,3.2vw,44px);margin-bottom:18px;max-width:640px}
.featured .lede{font-size:20px;color:var(--body);max-width:660px;margin-bottom:28px}
/* film on the left, horizontally scrolling artist impressions on the right */
.feat-split{display:grid;grid-template-columns:minmax(0,44fr) minmax(0,56fr);gap:22px;align-items:start;margin-bottom:30px}
.feat-video{position:relative;border-radius:6px;overflow:hidden;height:340px;background:#000}
.feat-video img,.feat-video video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* attribution rides on the poster and is removed once the film starts */
.media-note{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:44px 20px 14px;
  font-size:14px;line-height:1.35;color:#f5f4f1;pointer-events:none;
  /* stays >=.78 opaque across the whole text area, so the caption clears AA
     against any frame underneath, including when it wraps to two lines */
  background:linear-gradient(to top,rgba(16,20,26,.92),rgba(16,20,26,.78) 58%,rgba(16,20,26,.34) 86%,transparent)}
.feat-video .play-btn{width:66px;height:66px}
.feat-video .play-btn::after{border-left-width:18px;border-top-width:11px;border-bottom-width:11px;margin-left:5px}

.gallery{position:relative;min-width:0}
/* proximity, not mandatory: mandatory re-snaps to the first card and cancels
   the programmatic scrolls the arrow buttons issue */
.gallery-track{display:flex;min-width:0;gap:16px;overflow-x:auto;scroll-snap-type:x proximity;scroll-behavior:smooth;
  padding-bottom:14px;scrollbar-width:thin;scrollbar-color:rgba(32,34,38,.3) transparent}
.gallery-track::-webkit-scrollbar{height:6px}
.gallery-track::-webkit-scrollbar-thumb{background:rgba(32,34,38,.28);border-radius:3px}
/* every direct child is a card, photo or text alike */
.gallery-track>*{position:relative;flex:0 0 auto;width:440px;height:340px;border-radius:6px;overflow:hidden;
  scroll-snap-align:start;background:var(--stone)}
.gallery-track img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* text cards, interspersed one per two photos */
/* horizontal padding clears the overlaid arrows (46px wide, inset 14px), which
   otherwise land on the headline whenever a text card is at either edge */
.gal-card{display:flex;flex-direction:column;justify-content:flex-end;padding:32px 68px;color:#f5f4f1}
/* washed-out partner mark behind the copy. Kept faint enough that the text
   still clears AA against the lightened card, which is measured, not assumed. */
.gal-card--teal{background:var(--accent)}
.gal-card--ink{background:var(--ink)}
.gal-eyebrow{font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:rgba(245,244,241,.8);margin-bottom:auto}
.gal-title{font-family:'EB Garamond',Georgia,serif;font-weight:600;font-size:31px;line-height:1.14;margin-bottom:12px}
.gal-note{font-size:16px;line-height:1.5;color:rgba(245,244,241,.9)}
/* lead-in card: names the gallery and signals that it scrolls */
.gal-intro .gal-title{font-size:34px}
.gal-cue{margin-top:18px;font-size:15px;font-weight:600;letter-spacing:.02em;color:#f5f4f1;
  border-top:1px solid rgba(245,244,241,.28);padding-top:14px}
.gal-cue span{display:inline-block;margin-left:4px;transition:transform .25s ease}
.gallery:hover .gal-cue span{transform:translateX(5px)}
@media (prefers-reduced-motion:reduce){.gal-cue span{transition:none}.gallery:hover .gal-cue span{transform:none}}

/* arrows sit over the strip; -7px offsets the scrollbar gutter */
.gal-btn{position:absolute;top:calc(50% - 7px);transform:translateY(-50%);z-index:3;
  width:46px;height:46px;border-radius:50%;border:0;background:rgba(245,244,241,.94);color:var(--ink);
  font-size:23px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 22px rgba(16,20,26,.32);transition:background-color .2s ease,transform .2s ease}
.gal-prev{left:14px}
.gal-next{right:14px}
.gal-btn:hover{background:#fff;transform:translateY(-50%) scale(1.06)}
.gal-btn:disabled{opacity:.35;cursor:default}
@media (prefers-reduced-motion:reduce){.gal-btn{transition:none}.gal-btn:hover{transform:translateY(-50%)}}
@media (prefers-reduced-motion:reduce){.gallery-track{scroll-behavior:auto}}

.feat-caption{font-size:14.5px;color:var(--dim);margin-bottom:28px}

/* partner credibility panel: dark inset, white logos, no copy */
.partners{position:relative;overflow:hidden;background:var(--ink);color:#f5f4f1;border-radius:6px;
  padding:44px 40px;margin:4px 0 28px;text-align:center}
.partners::before{content:"";position:absolute;inset:0;
  background:radial-gradient(110% 150% at 88% 4%,rgba(20,88,107,.62),transparent 60%)}
.partners>*{position:relative}
.partner-row+.partner-row{margin-top:36px;padding-top:36px;border-top:1px solid rgba(245,244,241,.16)}
.partner-label{font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:#8fc4d1;margin-bottom:24px}
.partner-logos{list-style:none;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:26px 64px}
/* heights are set per logo: each mark has a different cap height and weight,
   so a single height makes some read far larger than others */
.partner-logos img{width:auto;opacity:.95}
/* ELLE stands alone under "Powered by", so it carries a little more size */
.partner-row:first-child .lg-elle{height:52px}
.lg-geonet{height:50px}
.lg-elle{height:41px}
.lg-sono{height:50px}
.lg-colliers{height:31px}
.lg-inspiral{height:42px}

/* ---------- insights / post cards ---------- */
.insights{background:var(--surface);border-top:1px solid rgba(32,34,38,.1);padding:96px}
.insights-head{margin-bottom:40px}
.insights-head h2{font-size:clamp(30px,3vw,44px);margin-bottom:8px;max-width:640px}
.insights-head p{font-size:17px;color:var(--dim)}
.insights-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.post{display:flex;flex-direction:column;background:var(--stone);border:1px solid var(--rule);border-radius:6px;padding:32px 34px;color:inherit;transition:border-color .2s ease,box-shadow .2s ease}
.insights .post{background:var(--stone)}
.post:hover{border-color:rgba(20,88,107,.45);box-shadow:0 14px 34px rgba(32,34,38,.08)}
.post-tag{font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);margin-bottom:16px}
.post h3{font-size:25px;line-height:1.18;margin-bottom:12px}
.post p{font-size:16px;color:var(--body);margin-bottom:20px;flex:1}
.post-more{font-size:16px;font-weight:600;color:var(--accent);border-bottom:2px solid var(--accent);padding:5px 0 3px;align-self:flex-start}

/* ---------- guide band ---------- */
/* ink, not teal: the booklet cover carries a teal band of its own and it
   disappeared against a teal section. The radial keeps the accent present. */
.guide{position:relative;background:var(--ink);color:#f5f4f1;padding:44px 96px;
  display:grid;grid-template-columns:minmax(0,210px) minmax(0,1fr);gap:64px;align-items:center}
.guide::before{content:"";position:absolute;inset:0;
  background:radial-gradient(90% 150% at 16% 50%,rgba(20,88,107,.6),transparent 66%)}
.guide>*{position:relative}
/* the booklet overhangs the band onto the sections above and below. Negative
   margins keep it from driving the row height, so the copy column sets it; a
   positioned element then paints over the following section's background. */
/* line-height:0 collapses the whitespace line boxes around the block-level
   image, which were adding height to the column and pushing it off centre */
.guide-visual{position:relative;z-index:2;line-height:0}
/* the booklet is a transparent cutout at an angle, so the white edge traces the
   alpha via drop-shadow. Kept to two filters: a five-deep chain failed to
   rasterise at all under software rendering. */
.guide-visual img{display:block;width:100%;height:auto;margin:0 auto;
  filter:drop-shadow(0 0 3px rgba(245,244,241,.95)) drop-shadow(0 14px 28px rgba(4,18,24,.6))}
.guide-copy{max-width:760px}
.guide-copy form{margin-top:28px}
.guide h2{font-size:clamp(28px,2.8vw,40px);margin-bottom:14px}
.guide p{font-size:19px;color:rgba(245,244,241,.9)}
.guide-form{display:flex;gap:12px}
.guide-form input{flex:1;height:58px;background:#f5f4f1;border:0;border-radius:6px;padding:0 18px;font-size:18px;font-family:inherit;color:var(--ink);min-width:0}
.guide-form input::placeholder{color:#5d626a}
.disclaimer{margin-top:12px;font-size:15px;color:rgba(245,244,241,.9)}
.disclaimer a{color:#f5f4f1;border-bottom:1px solid rgba(245,244,241,.5)}
.disclaimer a:hover{border-bottom-color:#f5f4f1}
.field-label{display:block;font-size:16px;font-weight:600;margin-bottom:8px}
.optional{font-weight:400;color:var(--dim)}

/* ---------- contact ---------- */
.contact{padding:96px;display:grid;grid-template-columns:1fr 420px;gap:80px}
.contact h2{font-size:clamp(30px,3vw,44px);margin-bottom:36px}
.contact-lead{font-size:19px;color:var(--body);margin-bottom:28px;max-width:520px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 24px}
.form-grid .full{grid-column:1/-1}
.form-grid input,.form-grid textarea,.form-grid select{width:100%;height:58px;border:1px solid rgba(32,34,38,.3);border-radius:6px;background:#fff;padding:0 18px;font-size:18px;font-family:inherit;color:var(--ink)}
.form-grid select{padding:0 16px}
.form-grid textarea{height:120px;padding:16px 18px;resize:vertical;line-height:1.5}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.booking{background:var(--surface);border:1px solid var(--rule);border-radius:6px;padding:44px;align-self:start}
.booking h2{font-size:30px;margin-bottom:10px}
.booking p{color:var(--body);margin-bottom:24px}
.contact-detail{margin-top:22px;font-size:16px;color:var(--body)}
.contact-detail a{border-bottom:1px solid rgba(20,88,107,.4);color:var(--accent);font-weight:600}

/* ---------- footer ---------- */
footer{padding:48px 96px;border-top:1px solid var(--hairline)}
.foot-row{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:24px;flex-wrap:wrap;gap:16px}
.foot-row .serif{font-size:21px}
.foot-links{display:flex;gap:28px;font-size:16px;color:var(--body);flex-wrap:wrap}
.foot-links a:hover{color:var(--ink)}
.compliance{font-size:15px;color:var(--dim);max-width:960px}

/* ---------- copy-variant switcher (review only, never shown to visitors) ---------- */
.vswitch{position:fixed;top:0;left:0;right:0;z-index:200;height:42px;background:#16161a;color:#cfcfd4;
  display:flex;align-items:center;gap:10px;padding:0 16px;font:13px/1 system-ui,sans-serif}
.vswitch b{font-weight:600;color:#8fc4d1;letter-spacing:.1em;text-transform:uppercase;font-size:11px}
.vswitch a{padding:6px 12px;border-radius:4px;color:#cfcfd4}
.vswitch a:hover{color:#fff}
.vswitch a[aria-current]{background:#3a3a42;color:#fff}
.vswitch .lab{margin-left:auto;opacity:.65}
body.has-vswitch{padding-top:42px}
body.has-vswitch .masthead nav{top:106px}
@media (max-width:560px){.vswitch .lab{display:none}}

/* ---------- floating CTA + motion ---------- */
.float-cta{position:fixed;right:18px;bottom:18px;z-index:95;opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .3s ease,transform .3s ease;box-shadow:0 10px 30px rgba(32,34,38,.35)}
.float-cta.show{opacity:1;pointer-events:auto;transform:none}
.fade{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.fade.vis{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .fade{opacity:1;transform:none;transition:none}
  .float-cta{transition:none}
  html{scroll-behavior:auto}
}

/* ---------- bio page ---------- */
.bio-hero{position:relative;background:var(--ink);color:#f5f4f1;overflow:hidden}
.bio-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(120% 140% at 88% 0%,rgba(20,88,107,.55),transparent 62%)}
.bio-hero .masthead{position:relative}
.bio-hero-copy{position:relative;padding:88px 96px 190px;max-width:820px}
.bio-hero-copy .eyebrow{color:#8fc4d1}
.bio-hero-copy h1{font-size:clamp(36px,4.2vw,58px);line-height:1.1;margin-bottom:20px}
.bio-hero-copy p{font-size:20px;color:rgba(245,244,241,.9);max-width:620px}
.media-card.portrait{aspect-ratio:800/888}
.glance{margin-top:32px;max-width:384px;border-top:1px solid var(--rule)}
.glance dt{font-size:12.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-top:18px}
.glance dd{font-size:16.5px;color:var(--body);margin-top:3px}
.glance a{color:var(--accent);font-weight:600;border-bottom:1px solid rgba(20,88,107,.4)}
.bio-body{max-width:640px}
.bio-body h2{font-size:clamp(26px,2.6vw,34px);margin:44px 0 14px}
.bio-body h2:first-child{margin-top:0}
.bio-body p{font-size:19px;line-height:1.65;color:var(--body);margin-bottom:18px}
.creds{background:var(--surface);border-top:1px solid rgba(32,34,38,.1);padding:80px 96px}
.creds h2{font-size:clamp(28px,2.8vw,38px);margin-bottom:36px}
.creds-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.cred{border:1px solid var(--rule);border-radius:6px;padding:30px 32px}
.cred h3{font-size:22px;margin-bottom:8px}
.cred p{font-size:17px;color:var(--body)}
.cred .yr{font-size:13px;font-weight:600;letter-spacing:.16em;color:var(--accent);margin-bottom:10px}
.offhours{padding:88px 96px;display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.offhours h2{font-size:clamp(28px,2.8vw,38px);margin-bottom:18px}
.offhours p{font-size:19px;color:var(--body);margin-bottom:16px;max-width:520px}
.pull{border-left:3px solid var(--accent);padding:6px 0 6px 26px;font-family:'EB Garamond',Georgia,serif;font-size:clamp(26px,2.6vw,34px);font-weight:600;line-height:1.25;color:var(--ink)}

/* ---------- closing CTA band ---------- */
.endband{background:var(--accent);color:#f5f4f1;padding:76px 96px;display:grid;grid-template-columns:1fr auto;gap:56px;align-items:center}
.endband h2{font-size:clamp(28px,2.8vw,38px);margin-bottom:12px;max-width:620px}
.endband p{font-size:19px;color:rgba(245,244,241,.9);max-width:620px}
.endband .cta-row{flex-wrap:nowrap}

/* ---------- articles index ---------- */
.page-head{padding:76px 96px 56px;max-width:820px}
.page-head h1{font-size:clamp(36px,4.2vw,56px);line-height:1.1;margin-bottom:18px}
.page-head p{font-size:20px;color:var(--body);max-width:640px}
.page-intro{padding:0 96px 48px;max-width:820px}
.page-intro p{font-size:19px;line-height:1.65;color:var(--body);margin-bottom:18px}
.article-list{padding:0 96px 96px;display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.article-list .post{background:var(--surface)}
.post-meta{font-size:14.5px;color:var(--dim);margin-top:14px}

/* ---------- article page ---------- */
.article-wrap{max-width:720px;margin:0 auto;padding:64px 24px 8px}
.article-wrap h1{font-size:clamp(34px,5vw,52px);line-height:1.08;margin-bottom:18px}
.standfirst{font-size:22px;line-height:1.5;color:var(--body);margin-bottom:24px}
.byline{display:flex;align-items:center;gap:14px;border-top:1px solid var(--hairline);border-bottom:1px solid var(--hairline);padding:18px 0;margin-bottom:36px;font-size:15px;color:var(--dim)}
.byline img{width:44px;height:44px;border-radius:50%;flex:none}
.byline b{color:var(--ink);font-weight:600;font-size:16px;display:block}
.prose{font-size:19px;line-height:1.65;color:var(--body)}
.prose h2{font-size:30px;color:var(--ink);margin:40px 0 14px}
.prose h3{font-size:23px;color:var(--ink);margin:30px 0 10px}
.prose p{margin-bottom:20px}
.prose ul{margin:0 0 20px 22px}
.prose li{margin-bottom:10px}
.prose a{color:var(--accent);font-weight:600;border-bottom:1px solid rgba(20,88,107,.4)}
.warning{background:#eceae4;border-left:3px solid var(--accent);padding:22px 26px;font-size:16px;line-height:1.55;color:var(--body);margin:44px 0 0;border-radius:6px}
.draft-note{background:#fff;border:1px dashed rgba(32,34,38,.3);border-radius:6px;padding:16px 20px;font-size:15.5px;color:var(--body);margin-bottom:32px}
.article-cta{max-width:720px;margin:48px auto 0;padding:36px;border:1px solid var(--hairline);border-radius:6px;text-align:center;background:var(--surface)}
.article-cta h2{font-size:27px;margin-bottom:10px}
.article-cta p{color:var(--body);margin-bottom:22px}
.more-reading{max-width:720px;margin:56px auto 0;padding:0 24px}
.more-reading h2{font-size:24px;margin-bottom:18px}
.more-reading ul{list-style:none}
.more-reading li{border-top:1px solid var(--hairline);padding:16px 0}
.more-reading a{font-family:'EB Garamond',Georgia,serif;font-weight:600;font-size:21px}
.more-reading a:hover{color:var(--accent)}

/* ---------- guide delivery page ---------- */
.guide-done{display:grid;grid-template-columns:240px minmax(0,1fr);gap:64px;align-items:center;
  padding:80px 96px;max-width:1100px;margin:0 auto}
.guide-done-visual img{display:block;width:100%;height:auto;filter:drop-shadow(0 22px 40px rgba(32,34,38,.28))}
.guide-done h1{font-size:clamp(30px,3.4vw,44px);margin-bottom:18px;max-width:620px}
.guide-done-lead{font-size:19px;line-height:1.6;color:var(--body);max-width:560px;margin-bottom:28px}
.guide-done-note{margin-top:22px;font-size:16px;color:var(--dim);max-width:560px}
.guide-done-note a{color:var(--accent);font-weight:600;border-bottom:1px solid rgba(20,88,107,.4)}
@media (max-width:760px){
  .guide-done{grid-template-columns:1fr;gap:28px;padding:44px 20px;justify-items:start}
  .guide-done-visual img{width:180px}
}

/* ---------- thanks page ---------- */
.centred{min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:96px 24px;max-width:620px;margin:0 auto}
.centred h1{font-size:clamp(32px,4vw,48px);margin-bottom:16px}
.centred p{font-size:19px;color:var(--body);margin-bottom:28px}

/* ---------- responsive ---------- */
@media (min-width:640px) and (max-width:960px){
  .article-list{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:1150px){
  /* minmax(0,1fr), not 1fr: the auto minimum would size this column to the
     scroller's max-content (every card side by side) and blow the page out */
  .feat-split{grid-template-columns:minmax(0,1fr);gap:26px}
  .feat-video{height:300px}
  .gallery-track>*{width:380px;height:280px}
  .gal-title{font-size:28px}
  .partners{padding:44px 32px}
}
@media (max-width:1150px){
  .guide{grid-template-columns:minmax(0,190px) minmax(0,1fr);gap:48px}
  .contact{grid-template-columns:1fr;gap:40px}
  .creds-grid{grid-template-columns:1fr}
}
@media (max-width:960px){
  .masthead{height:64px;padding:0 20px}
  .masthead nav{position:fixed;top:64px;right:0;left:0;background:var(--ink);flex-direction:column;align-items:stretch;gap:0;padding:12px 20px 20px;display:none;z-index:90;color:#f5f4f1;box-shadow:0 18px 40px rgba(16,20,26,.35)}
  .masthead nav.open{display:flex}
  .masthead nav a{padding:14px 0;border-bottom:1px solid rgba(245,244,241,.12)}
  .masthead nav a:last-child{border-bottom:0}
  .masthead nav .btn-cream{margin-top:14px}
  .burger{display:block}
  .hero-copy{padding:100px 20px 120px}
  .hero-copy .cta-row{display:none}
  .mobile-cta{display:flex;flex-direction:column;gap:12px;margin:16px 0 6px}
  .mobile-cta .btn-ink,.mobile-cta .btn-ghost-ink{width:100%}
  .overlap{grid-template-columns:1fr;gap:0;padding:0 20px 40px}
  .media-wrap{margin-top:-72px;max-width:384px;margin-left:auto;margin-right:auto}
  .media-caption{text-align:center;margin-bottom:22px}
  .overlap-copy{padding-top:28px}
  .cta-row{flex-direction:column;align-items:stretch;width:100%}
  .cta-row .btn-cream,.cta-row .btn-ghost,.cta-row .btn-teal{width:100%}
  .topics{padding:40px 20px}
  .topics h2{margin-bottom:22px}
  .topics-grid{grid-template-columns:1fr}
  .card-teal,.card-stone{min-height:0;padding:48px 24px 26px}
  .card-num{left:24px;top:18px}
  .card-wide{grid-template-columns:1fr}
  .card-wide-photo{order:-1;min-height:170px}
  .card-wide-copy{padding:24px}
  .insights{padding:40px 20px}
  .insights-grid{grid-template-columns:1fr}
  .geonet{grid-template-columns:1fr;gap:14px;padding:0 20px 40px}
  .geonet-photo{height:230px}
  .featured{padding:40px 20px}
  .feat-video{height:220px}
  .gallery-track{gap:12px}
  /* taller than desktop proportionally: the copy is bottom anchored and the
     arrows reserve the bottom strip, so 250px clipped the eyebrow off the top */
  .gallery-track>*{width:82%;height:300px}
  /* cards are only 82vw here, so centred arrows land on the headline.
     Pair them in the bottom corner and keep the copy above them. */
  .gal-card{padding:22px 20px 54px}
  .gal-title{font-size:24px;line-height:1.16}
  .gal-intro .gal-title{font-size:26px}
  .gal-note{font-size:14.5px;line-height:1.45}
  .gal-cue{margin-top:12px;padding-top:11px;font-size:14px}
  .gal-btn{width:38px;height:38px;font-size:20px;top:auto;bottom:22px;transform:none}
  .gal-btn:hover{transform:none}
  .gal-prev{left:auto;right:56px}
  .gal-next{right:10px}
  .partners{padding:34px 20px}
  .partner-logos{gap:22px 34px}
  .lg-geonet{height:40px}
  .lg-elle{height:32px}
  .lg-sono{height:40px}
  .lg-colliers{height:25px}
  .lg-inspiral{height:34px}
  .featured .cta-row .link-accent{align-self:center}
  /* stacked: the booklet sits above the copy and no longer overhangs */
  .guide{grid-template-columns:1fr;gap:26px;padding:36px 20px;justify-items:start}
  .guide-visual img{width:170px;margin:0}
  .guide-form{flex-direction:column}
  /* flex:1 sets the main size, which is height once the row stacks, so the
     field collapsed to its content height. Opt it out of flexing. */
  .guide-form input,.guide-form .btn-ink{flex:none;width:100%}
  .contact{grid-template-columns:1fr;gap:24px;padding:40px 20px}
  .form-grid{grid-template-columns:1fr}
  .form-grid>div{grid-column:1/-1}
  footer{padding:32px 20px}
  .endband{grid-template-columns:1fr;gap:24px;padding:40px 20px}
  .endband .cta-row{flex-wrap:wrap}
  .bio-hero-copy{padding:56px 20px 110px}
  .creds{padding:40px 20px}
  .offhours{grid-template-columns:1fr;gap:24px;padding:40px 20px}
  .page-head{padding:44px 20px 28px}
  .page-intro{padding:0 20px 28px}
  .article-list{grid-template-columns:1fr;padding:0 20px 40px}
  .article-wrap{padding:40px 20px 8px}
  .more-reading{padding:0 20px}
}
