  /* If you own the Helios Extended webfont, drop the files in /fonts and uncomment:
@font-face { font-family: "Helios Extended"; src: url("fonts/HeliosExtended-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
*/
:root {
  --black: #000000;
  --choc:  #3D1F14;
  --white: #FFFFFF;
  --display: "Helios Extended", "Archivo", sans-serif;
  --sans: "Montserrat", sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* clip (not hidden) so iOS Safari keeps the menu glued to the top */
}
a { color: inherit; text-decoration: none; }
svg.mono { fill: currentColor; display: block; }
.display { font-family: var(--display); font-weight: 700; font-stretch: 125%; text-transform: uppercase; }
.label {
  font-family: var(--sans); font-weight: 600; font-size: 10px;
  letter-spacing: .35em; text-transform: uppercase;
}
.link {
  display: inline-flex; gap: .8em; align-items: center;
  font-size: 12px; letter-spacing: .25em; text-transform: lowercase;
  padding-bottom: 6px; border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.link:hover { border-color: var(--white); }
.link span { transition: transform .2s ease; }
.link:hover span { transform: translateX(6px); }
section { position: relative; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ─── 01 NAV ─── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px var(--gutter);
  background: var(--choc);
  transition: background .3s ease, padding .3s ease;
}
.nav.scrolled { background: var(--choc); padding-top: 16px; padding-bottom: 16px; }
.nav .mono { width: 34px; height: auto; }
.nav ul { list-style: none; display: flex; gap: clamp(18px, 3vw, 44px); }
.nav ul a {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  opacity: .85; transition: opacity .2s ease;
}
.nav ul a:hover { opacity: 1; }
.nav .brand { display: flex; align-items: center; gap: 16px; }

/* ─── 02 HERO ─── */
.hero {
  height: 100vh; height: 100svh; min-height: 560px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 var(--gutter);
}
.hero .mono {
  width: min(38vw, 58vh); height: auto;
  opacity: 0; animation: fadeIn 2.6s .3s var(--ease) forwards;
}
.hero .tag {
  margin-top: clamp(32px, 6vh, 64px);
  font-size: clamp(10px, 1vw, 13px); letter-spacing: .6em; text-transform: uppercase;
  text-align: center; padding-left: .6em;
  opacity: 0; animation: fadeIn 1.6s 1.6s ease forwards;
}
.hero .corner {
  position: absolute; bottom: 32px;
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  opacity: 0; animation: fadeIn 1.4s 2.2s ease forwards;
}
.hero .corner.l { left: var(--gutter); }
.hero .corner.r { right: var(--gutter); display: flex; align-items: center; gap: 14px; }
.hero .arrow { width: 1px; height: 44px; background: var(--white); position: relative; overflow: hidden; }
.hero .arrow::after {
  content: ""; position: absolute; left: 0; top: -44px; width: 1px; height: 44px; background: var(--black);
  animation: drip 2.4s ease-in-out infinite;
}
@keyframes fadeIn { to { opacity: 1; } }

/* Hero with photo — remove the "photo" class from the hero in index.html to go back to the plain black hero */
.hero.photo { justify-content: flex-end; padding-bottom: clamp(96px, 14vh, 150px); overflow: hidden; }
.hero.photo .mono { display: none; }
.hero.photo .tag { display: none; } /* the cover image carries the INVOKE wordmark + tagline */
.hero-bg {
  /* full-bleed: photo runs edge to edge, anchored on the leather label */
  position: absolute; inset: 88px 0 0 0; z-index: 0; /* starts just under the (always brown) nav */
  background: url("fotos/hero-home.jpg") center / cover no-repeat;
  filter: saturate(.9) contrast(1.05) brightness(.85);
  opacity: 0; animation: fadeIn 2.6s .2s var(--ease) forwards;
}
.hero.photo > *:not(.hero-bg) { position: relative; z-index: 1; }
.hero.photo .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,.55) 100%); }

/* Hero with behind-the-scenes video — monogram on top */
.hero.video { overflow: hidden; }
.hero-video {
  position: absolute; top: 88px; left: 0; width: 100%; height: calc(100% - 88px); z-index: 0;
  object-fit: cover; object-position: center 22%;
  filter: saturate(.8) sepia(.12) contrast(1.05) brightness(.8);
  opacity: 0; animation: fadeIn 2.4s .2s var(--ease) forwards;
}
.hero-shade {
  position: absolute; top: 88px; left: 0; right: 0; bottom: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,.85) 100%);
}
.hero.video > .mono, .hero.video > .tag, .hero.video > .corner { z-index: 2; }
.hero.video > .mono, .hero.video > .tag { position: relative; }
.hero.photo .corner { position: absolute; }

@keyframes drip { 0% { top: -44px; } 60%,100% { top: 44px; } }

/* ─── 03 TICKER ─── */
.ticker {
  background: var(--choc);
  border-top: 1px solid var(--white); border-bottom: 1px solid var(--white);
  overflow: hidden; white-space: nowrap;
  padding: 18px 0;
}
.ticker .track { display: inline-flex; animation: marquee 30s linear infinite; }
.ticker span {
  font-weight: 200; font-size: 13px; letter-spacing: .4em; text-transform: uppercase;
  padding-right: .4em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── 04 STATEMENT ─── */
.statement { padding: clamp(120px, 18vw, 240px) var(--gutter); }
.statement h2 {
  font-size: clamp(34px, 6.4vw, 104px); line-height: 1.02; letter-spacing: -.01em;
  font-weight: 300;
}
.statement h2 .l1 { display: block; font-family: var(--sans); font-weight: 300; }
.statement h2 .l2 { display: block; font-size: .92em; margin-top: .08em; letter-spacing: -.005em; }
.statement .body { margin-top: clamp(48px, 6vw, 88px); max-width: 460px; margin-left: auto; }
.statement p { font-size: 15px; line-height: 1.8; opacity: .7; margin-bottom: 40px; }

/* ─── 05 SERVICES ─── */
.services { padding: 0 0 clamp(120px, 14vw, 200px); }
.sec-head { display: flex; justify-content: space-between; padding: 0 var(--gutter) 40px; }
.sec-head .count { font-size: 10px; letter-spacing: .35em; opacity: .6; }
.svc-list { list-style: none; border-top: 1px solid var(--white); }
.svc-list li {
  display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 24px;
  padding: clamp(22px, 2.6vw, 38px) var(--gutter);
  border-bottom: 1px solid var(--white);
  transition: background .2s ease;
  cursor: pointer; position: relative;
}
.svc-list li:hover { background: var(--choc); }
.svc-list .num { font-size: 12px; letter-spacing: .2em; }
.svc-list .name { font-size: clamp(26px, 4.6vw, 72px); line-height: 1; }
.svc-list .name em { font-style: normal; font-family: var(--sans); font-weight: 300; margin-right: .35em; }
.svc-list .desc {
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase; text-align: right;
  max-width: 260px; line-height: 1.7;
  opacity: 0; transform: translateX(10px); transition: opacity .2s ease, transform .2s ease;
}
.svc-list li:hover .desc { opacity: 1; transform: none; }
/* Whole row is clickable: the link on the service name stretches over the row */
.svc-list .name a { color: inherit; }
.svc-list .name a::after { content: ""; position: absolute; inset: 0; }
.svc-detail > li { scroll-margin-top: 96px; } /* land below the menu when opened from the home page */

/* ─── 06 WORK ─── */
.work { padding-bottom: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.col { display: flex; flex-direction: column; }
.tile { position: relative; overflow: hidden; background: var(--choc); }
.tile.b { background: rgba(61,31,20,.5); } /* chocolate at half strength over black */
.tile.h1 { aspect-ratio: 4/5; } .tile.h2 { aspect-ratio: 3/4; } .tile.h3 { aspect-ratio: 1/1; }
.tile.h4 { aspect-ratio: 2/3; } .tile.h5 { aspect-ratio: 4/3; }
/* Shared photo grade — muted, warm, slightly darker so every cover shares one mood */
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.88) sepia(.1) contrast(1.06) brightness(.88);
  transition: transform 1.2s var(--ease), filter .6s ease;
}
.tile:hover img { transform: scale(1.04); filter: saturate(1) sepia(.06) contrast(1.05) brightness(.96); }
/* Soft fade to black at the foot of each photo, plus a light veil over the whole frame */
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,.08) 0%, rgba(0,0,0,.08) 45%, rgba(0,0,0,.6) 100%);
}
.tile .meta { z-index: 2; }
/* placeholder mark — remove once real imagery is in */
.tile .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: .12;
}
.tile .ph .mono { width: 22%; }
.tile .meta {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; background: rgba(0,0,0,.55);
  opacity: 0; transition: opacity .2s ease;
}
.tile:hover .meta { opacity: 1; }
.tile .meta b { font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: clamp(16px, 1.6vw, 24px); text-transform: uppercase; }
.tile .meta small { margin-top: 10px; font-size: 10px; letter-spacing: .35em; text-transform: uppercase; }
.work .foot { padding: 36px var(--gutter) clamp(48px, 6vw, 80px); display: flex; justify-content: flex-end; }

/* ─── 07 ABOUT ─── */
.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 90vh; border-top: 1px solid var(--choc); }
.about .left {
  display: flex; align-items: center; justify-content: center;
  padding: var(--gutter); color: var(--choc);
}
.about .left .mono { width: min(80%, 520px); }
.about .left.photo { position: relative; padding: 0; overflow: hidden; }
.about .left.photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.88) sepia(.1) contrast(1.06) brightness(.88);
}
.about .right {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}
.about .bio { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.75; max-width: 520px; margin: 32px 0 72px; }
.metrics { display: flex; flex-direction: column; gap: 40px; }
.metric b { display: block; font-size: clamp(34px, 4vw, 60px); line-height: 1; }
.metric small { display: block; margin-top: 12px; font-size: 11px; letter-spacing: .35em; text-transform: uppercase; }

/* ─── TEAM ─── */
.team { padding: clamp(100px, 12vw, 180px) 0; background: var(--choc); }
.team-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px);
  padding: 0 var(--gutter); max-width: 1200px; margin: 0 auto; /* centred on wide screens */
}
.team-photo { display: block; aspect-ratio: 4/5; margin-bottom: 36px; }
.team-photo img { filter: grayscale(1) contrast(1.05) brightness(.9); }
.member:hover .team-photo img { filter: grayscale(.2) contrast(1.05) brightness(.97); transform: scale(1.03); }
.member h3 { font-size: clamp(24px, 2.8vw, 42px); line-height: 1; }
.member .role {
  display: block; margin-top: 14px;
  font-weight: 600; font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
}
.member .bio { margin-top: 32px; max-width: 480px; }
.member .bio p { font-size: 14px; line-height: 1.85; opacity: .7; margin-bottom: 1.2em; }
.member .bio p.line { opacity: 1; font-style: italic; margin-top: 1.8em; }

/* ─── 08 TESTIMONIALS ─── */
.testi { background: var(--white); color: var(--black); padding: clamp(120px, 14vw, 200px) var(--gutter); text-align: center; }
.testi .label { display: block; margin-bottom: 64px; }
.slides { position: relative; max-width: 1000px; margin: 0 auto; min-height: 280px; }
.slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .7s ease;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.slide.on { opacity: 1; pointer-events: auto; position: relative; }
.slide q { quotes: "“" "”"; font-style: italic; font-weight: 300; font-size: clamp(22px, 2.8vw, 40px); line-height: 1.45; }
.slide cite { margin-top: 44px; font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: .35em; text-transform: uppercase; }
.dots { display: flex; justify-content: center; gap: 14px; margin-top: 56px; }
.dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--black);
  background: transparent; cursor: pointer; padding: 0; transition: background .2s ease;
}
.dots button.on { background: var(--black); }

/* ─── 09 CTA ─── */
.cta {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding: 120px var(--gutter);
}
.cta .wm { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(92vw, 1100px); opacity: .08; }
.cta .inner { position: relative; }
.cta h2 { font-size: clamp(34px, 7vw, 116px); line-height: 1; letter-spacing: -.01em; }
.cta p { margin: 36px auto 56px; font-size: 15px; opacity: .6; max-width: 420px; line-height: 1.7; }
.btn {
  display: inline-block; padding: 20px 56px;
  border: 1px solid var(--white); color: var(--white);
  font-weight: 600; font-size: 12px; letter-spacing: .45em; text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: var(--white); color: var(--black); }

/* ─── 10 FOOTER ─── */
footer { border-top: 1px solid var(--white); padding: 56px var(--gutter) 32px; background: var(--choc); }
.fcols { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; }
.fcols .mono { width: 44px; }
.fcols .c { text-align: center; font-size: 13px; letter-spacing: .2em; }
.fcols .r { text-align: right; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; }
.fcols .r a { transition: opacity .2s ease; } .fcols .r a:hover { opacity: .6; }
.micro { margin-top: 64px; text-align: center; font-size: 10px; letter-spacing: .2em; opacity: .4; }

/* ─── Mobile ─── */
@media (max-width: 760px) {
  .nav ul { gap: 14px; }
  .nav ul a { font-size: 9px; letter-spacing: .2em; }
  .hero .mono { width: 80vw; }
  .hero .tag { letter-spacing: .4em; }
  .hero .corner { bottom: 24px; font-size: 9px; }
  .statement .body { margin-left: 0; }
  .svc-list li { grid-template-columns: 1fr; gap: 10px; }
  .svc-list .desc { opacity: .7; transform: none; text-align: left; font-size: 10px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; gap: 72px; }
  .tile .meta { opacity: 1; background: none; padding: 12px; }
  .tile .meta b { font-size: 11px; line-height: 1.2; }
  .tile .meta small { margin-top: 5px; font-size: 7px; letter-spacing: .25em; }
  /* Hero photo: label centred with equal margins on both sides */
  /* Menu: sticky instead of fixed on phones (iOS Safari misplaces fixed headers while its toolbar resizes) */
  .nav { position: sticky; top: 0; }
  .nav.scrolled { padding-top: 28px; padding-bottom: 28px; } /* keep height constant so nothing jumps */
  .hero { height: calc(100svh - 88px); min-height: 480px; }
  .hero-bg { top: 0; bottom: 0; left: 0; right: 0; height: auto; background-image: url("fotos/hero-home-mobile.jpg"); background-position: center; }
  section[id] { scroll-margin-top: 88px; }
  .hero.photo .tag, .hero.photo .corner.r { display: none; } /* the clipboard in the photo carries the message */
  .about { grid-template-columns: 1fr; min-height: 0; }
  .about .left { padding-top: 96px; }
  .about .left .mono { width: 70vw; }
  .about .left.photo { aspect-ratio: 4/5; padding: 0; }
  .fcols { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .fcols .mono { margin: 0 auto; }
  .fcols .l { text-align: center; }
  .fcols .r { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ═════════ Shared across pages ═════════ */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageIn .9s ease both; }
.nav ul a.active { opacity: 1; border-bottom: 1px solid var(--white); padding-bottom: 4px; }
.cta.short { min-height: 80vh; }

/* Page header */
.page-hero {
  min-height: 78vh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 160px var(--gutter) clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--white);
}
.page-hero .label { margin-bottom: 36px; }
/* Page header with a photo behind the title — photo set per page via --bg / --pos */
.page-hero.has-photo { position: relative; overflow: hidden; }
.page-hero.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--bg) var(--pos, center) / cover no-repeat;
  filter: saturate(.88) sepia(.1) contrast(1.06) brightness(.88);
  opacity: 0; animation: fadeIn 1.8s .1s var(--ease) forwards;
}
.page-hero.has-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.8) 100%);
}
.page-hero.has-photo > * { position: relative; z-index: 1; }
.page-hero.has-photo .intro p { opacity: .85; }
/* Variant: photo sits on the right half, fading into black under the title */
.page-hero.photo-right::before {
  left: 42%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%);
          mask-image: linear-gradient(to right, transparent 0, #000 30%);
}
.page-hero.photo-right::after { background: linear-gradient(to bottom, rgba(0,0,0,0) 55%, rgba(0,0,0,.7) 100%); }
.page-hero h1 { font-size: clamp(48px, 11vw, 190px); line-height: .92; letter-spacing: -.02em; }
.page-hero .intro {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  margin-top: clamp(40px, 5vw, 72px);
}
.page-hero .intro p { max-width: 480px; font-size: 15px; line-height: 1.8; opacity: .7; }
.page-hero .intro span { font-size: 10px; letter-spacing: .35em; text-transform: uppercase; white-space: nowrap; }

/* Two-column editorial text */
.split {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 8vw, 140px);
  padding: clamp(100px, 12vw, 180px) var(--gutter);
}
.split h2 { font-size: clamp(26px, 3.2vw, 48px); line-height: 1.1; font-weight: 300; }
.split h2 b { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 700; text-transform: uppercase; }
.split .text p { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.85; margin-bottom: 1.4em; }
.split .text p.dim { opacity: .7; }

/* Numbered columns (principles / process) */
.cols4, .cols3 { display: grid; border-top: 1px solid var(--white); }
.cols3 { grid-template-columns: repeat(3, 1fr); }
.cols4 { grid-template-columns: repeat(4, 1fr); }
.cols3 > div, .cols4 > div {
  padding: clamp(36px, 4vw, 64px) var(--gutter) clamp(56px, 6vw, 96px);
  border-right: 1px solid var(--white); transition: background .2s ease;
}
.cols3 > div:last-child, .cols4 > div:last-child { border-right: 0; }
.cols3 > div:hover, .cols4 > div:hover { background: var(--choc); }
.cols3 .n, .cols4 .n { font-size: 12px; letter-spacing: .2em; }
.cols3 h3, .cols4 h3 { margin: 48px 0 20px; font-size: clamp(20px, 2vw, 30px); line-height: 1.05; }
.cols3 p, .cols4 p { font-size: 14px; line-height: 1.8; opacity: .7; }
.block { padding-bottom: clamp(100px, 12vw, 180px); }

/* Services detail */
.svc-detail { list-style: none; }
.svc-detail li {
  display: grid; grid-template-columns: 90px minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr); gap: 32px; align-items: start;
  padding: clamp(40px, 4.5vw, 72px) var(--gutter);
  border-bottom: 1px solid var(--white); transition: background .2s ease;
}
.svc-detail li:hover { background: var(--choc); }
.svc-detail .num { font-size: 12px; letter-spacing: .2em; padding-top: 10px; }
.svc-detail h3 { font-size: clamp(26px, 3.4vw, 54px); line-height: 1; }
.svc-detail p { font-size: 15px; line-height: 1.8; opacity: .7; }
.svc-detail ul { list-style: none; }
.svc-detail ul li {
  display: block; padding: 0 0 12px; border: 0; background: none !important;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
}

/* Work archive */
.filters { display: flex; flex-wrap: wrap; gap: 12px 36px; padding: 48px var(--gutter); }
.filters button {
  background: none; border: 0; color: var(--white); cursor: pointer;
  font: 300 11px var(--sans); letter-spacing: .35em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid transparent; opacity: .6;
  transition: opacity .2s ease, border-color .2s ease;
}
.filters button:hover { opacity: 1; }
.filters button.on { opacity: 1; border-color: var(--white); }
.archive { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; }
.archive .tile { aspect-ratio: 2/3; }
.archive .tile.wide { grid-column: span 2; aspect-ratio: auto; }
.archive .tile.tall { grid-row: span 2; aspect-ratio: auto; }
.archive .tile.hide { display: none; }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(48px, 8vw, 140px);
  padding: clamp(100px, 12vw, 160px) var(--gutter);
}
.contact-grid .mail { display: inline-block; font-size: clamp(22px, 2.6vw, 40px); margin: 28px 0 64px; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.contact-grid .mail:hover { border-color: var(--white); }
.contact-grid .lead { font-size: clamp(20px, 2vw, 28px); line-height: 1.45; margin: 24px 0 64px; max-width: 420px; }
form .bot { position: absolute; left: -9999px; opacity: 0; }
.form-status { margin-top: 24px; font-size: 13px; letter-spacing: .05em; min-height: 1.4em; opacity: .85; }
.form-status.err { color: #fff; opacity: 1; }
.form-status.ok { opacity: 1; }
.info dl { display: grid; gap: 32px; }
.info dt { font-weight: 600; font-size: 10px; letter-spacing: .35em; text-transform: uppercase; margin-bottom: 10px; }
.info dd { font-size: 15px; line-height: 1.7; }
.info dd a { border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.info dd a:hover { border-color: var(--white); }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
form label { display: block; margin-bottom: 40px; }
form label span { display: block; font-weight: 600; font-size: 10px; letter-spacing: .35em; text-transform: uppercase; margin-bottom: 12px; }
form input, form select, form textarea {
  width: 100%; background: transparent; color: var(--white);
  border: 0; border-bottom: 1px solid var(--white); border-radius: 0;
  font: 300 16px var(--sans); padding: 10px 0; outline: none;
  transition: border-color .2s ease; -webkit-appearance: none; appearance: none;
}
form select option { background: var(--black); }
form textarea { resize: vertical; min-height: 120px; }
form input:focus, form select:focus, form textarea:focus { border-bottom-color: var(--choc); border-bottom-width: 2px; }
form .btn { background: none; cursor: pointer; font-family: var(--sans); margin-top: 8px; }

@media (max-width: 760px) {
  .page-hero { min-height: 56vh; padding-top: 48px; }
  .page-hero .intro { flex-direction: column; align-items: flex-start; }
  .page-hero.photo-right::before { left: 25%; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .cols3, .cols4 { grid-template-columns: 1fr; }
  .cols3 > div, .cols4 > div { border-right: 0; border-bottom: 1px solid var(--white); }
  .cols3 h3, .cols4 h3 { margin-top: 24px; }
  .svc-detail li { grid-template-columns: 1fr; gap: 18px; }
  .svc-detail .num { padding-top: 0; }
  .archive { grid-template-columns: 1fr 1fr; }
  .archive .tile.wide, .archive .tile.tall { grid-column: auto; grid-row: auto; aspect-ratio: 4/5; }
  form .row { grid-template-columns: 1fr; }
  .contact-grid .mail { font-size: 17px; overflow-wrap: anywhere; }
}

/* ─── Mobile / touch: the scroll plays the role of the mouse ───
   Whatever passes through the middle of the screen gets the hover look (class added by main.js). */
@media (hover: none), (max-width: 760px) {
  .svc-list li, .svc-detail > li, .cols3 > div, .cols4 > div { transition: background .5s ease; }
  .svc-list li.is-active, .svc-detail > li.is-active,
  .cols3 > div.is-active, .cols4 > div.is-active { background: var(--choc); }
  .svc-list li.is-active .desc { opacity: 1; }
  .tile img { transition: transform 1.2s var(--ease), filter .8s ease; }
  .tile.is-active img { transform: scale(1.04); filter: saturate(1) sepia(.06) contrast(1.05) brightness(.96); }
  .member .team-photo img { transition: transform 1.2s var(--ease), filter .8s ease; }
  .member.is-active .team-photo img { filter: grayscale(.2) contrast(1.05) brightness(.97); transform: scale(1.03); }
}
