/* =========================================================
   ChamMedia — Premium Corporate Creative
   Design system & shared styles
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette */
  --warm-white: #F8F8F6;
  --near-black: #111111;
  --charcoal:   #1C1C1C;
  --soft-gray:  #EAEAEA;
  --teal:       #0E6B63;
  --blue:       #2F6BFF;

  /* Derived */
  --ink:        #141414;
  --muted:      #5C5C58;
  --muted-2:    #8A8A85;
  --line:       rgba(17, 17, 17, 0.10);
  --line-soft:  rgba(17, 17, 17, 0.06);
  --teal-deep:  #0A524C;
  --blue-soft:  rgba(47, 107, 255, 0.10);
  --teal-soft:  rgba(14, 107, 99, 0.08);

  /* On-dark */
  --on-dark:        #F4F4F1;
  --on-dark-muted:  rgba(244, 244, 241, 0.62);
  --on-dark-line:   rgba(244, 244, 241, 0.14);

  /* Type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --container: 1280px;
  --container-narrow: 880px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --radius-lg: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--warm-white);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01", "cv11";
  overflow-x: hidden;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: var(--teal); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; color: var(--teal); }
.display {
  font-size: clamp(2.75rem, 7vw, 6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); letter-spacing: -0.03em; line-height: 1.0; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.025em; line-height: 1.06; }
.h3 { font-size: clamp(1.3rem, 2.1vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.15; }
.lead {
  font-size: clamp(1.12rem, 1.6vw, 1.45rem);
  line-height: 1.5;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: -0.01em;
}
p { color: var(--ink); }
.muted { color: var(--muted); }

/* Eyebrow / mono label */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--teal);
  display: inline-block;
}
.eyebrow.on-dark { color: #6FE3D3; }
.eyebrow.on-dark::before { background: #6FE3D3; }
.eyebrow.plain::before { display: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(72px, 11vw, 150px); }
.section-sm { padding-block: clamp(56px, 7vw, 96px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }

.dark { background: var(--near-black); color: var(--on-dark); }
.dark p, .dark .muted { color: var(--on-dark-muted); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #6FE3D3; }
.teal-bg h1, .teal-bg h2, .teal-bg h3, .teal-bg h4 { color: #fff; }
.teal-bg { background: var(--teal); color: #fff; }
.teal-bg p { color: rgba(255,255,255,0.78); }

.grid { display: grid; gap: clamp(20px, 3vw, 40px); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--near-black);
  --fg: var(--warm-white);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.6em;
  background: var(--bg);
  color: var(--fg);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid var(--bg);
  transition: transform 0.4s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translate(3px, -1px); }
.btn--primary { --bg: var(--blue); --fg: #fff; border-color: var(--blue); }
.btn--primary:hover { --bg: #1f59ec; }
.btn--dark { --bg: var(--near-black); --fg: var(--warm-white); }
.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); background: transparent; }
.btn--on-dark-ghost {
  background: transparent; color: var(--on-dark);
  border: 1px solid var(--on-dark-line);
}
.btn--on-dark-ghost:hover { border-color: var(--on-dark); }
.btn--lg { padding: 1.1em 1.9em; font-size: 1rem; }

/* Text link with animated underline */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 500;
  position: relative;
  letter-spacing: -0.01em;
}
.link::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.link:hover::after { transform: scaleX(1); }
.link .arrow { transition: transform 0.4s var(--ease); }
.link:hover .arrow { transform: translateX(4px); }
.link--teal { color: var(--teal); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(248, 248, 246, 0.82);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom-color: var(--line);
}
.site-header.hide { transform: translateY(-100%); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand {
  font-size: 1.32rem; font-weight: 600; letter-spacing: -0.03em;
  display: inline-flex; align-items: center; gap: 0.5em;
}
.brand .dot { color: var(--teal); }
.brand b { font-weight: 600; }
.brand { line-height: 0; }
.brand-logo { height: 24px; width: auto; display: block; }
.footer-logo { height: 30px; width: auto; display: block; margin-bottom: 6px; }
@media (max-width: 1024px) { .brand-logo { height: 21px; } }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav-links a {
  font-size: 0.96rem; font-weight: 450; letter-spacing: -0.01em;
  color: var(--ink); position: relative; padding-block: 4px;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-right { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { bottom: 17px; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--warm-white);
  padding: 110px var(--gutter) 48px;
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
  visibility: hidden;
}
body.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu a.m-link {
  font-size: clamp(2rem, 8vw, 3rem); font-weight: 600; letter-spacing: -0.03em;
  padding: 0.28em 0; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  opacity: 0; transform: translateY(20px);
}
body.menu-open .mobile-menu a.m-link { animation: mIn 0.6s var(--ease) forwards; }
.mobile-menu a.m-link:nth-child(1) { animation-delay: 0.08s; }
.mobile-menu a.m-link:nth-child(2) { animation-delay: 0.13s; }
.mobile-menu a.m-link:nth-child(3) { animation-delay: 0.18s; }
.mobile-menu a.m-link:nth-child(4) { animation-delay: 0.23s; }
.mobile-menu a.m-link:nth-child(5) { animation-delay: 0.28s; }
.mobile-menu a.m-link:nth-child(6) { animation-delay: 0.33s; }
.mobile-menu .m-foot { margin-top: auto; padding-top: 32px; }
@keyframes mIn { to { opacity: 1; transform: translateY(0); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(248,248,246,0.82) 0%, rgba(248,248,246,0) 16%),
    linear-gradient(90deg, rgba(248,248,246,0.92) 0%, rgba(248,248,246,0.55) 38%, rgba(248,248,246,0.06) 70%),
    linear-gradient(0deg, rgba(248,248,246,0.65) 0%, rgba(248,248,246,0) 45%);
}
.hero-inner { position: relative; z-index: 2; padding-block: clamp(120px, 17vh, 200px) clamp(56px, 8vh, 96px); width: 100%; }
.hero h1 { max-width: 17ch; }
.hero .lead { max-width: 52ch; margin-top: clamp(20px, 2.6vw, 30px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 3.4vw, 40px); }
.scroll-cue {
  position: absolute; bottom: 30px; right: var(--gutter); z-index: 2;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 10px;
}
.scroll-cue .bar { width: 1px; height: 42px; background: var(--ink); opacity: 0.4; overflow: hidden; position: relative; }
.scroll-cue .bar::after { content:""; position:absolute; inset:0; background: var(--teal); transform: translateY(-100%); animation: scrollDown 2.4s var(--ease) infinite; }
@keyframes scrollDown { 0%{transform:translateY(-100%)} 50%{transform:translateY(0)} 100%{transform:translateY(100%)} }

/* ---------- Section header ---------- */
.section-head { max-width: 760px; }
.section-head .h2 { margin-top: 22px; }
.section-head .lead { margin-top: 22px; }
.section-head--split {
  display: grid; grid-template-columns: 1fr; gap: 22px;
  max-width: none;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 48px; }
  .section-head--split .sh-aside { padding-bottom: 6px; }
}

/* ---------- Marquee / credibility ---------- */
.cred-statement { font-size: clamp(1.4rem, 3vw, 2.35rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.22; max-width: 24ch; }
.cred-statement em { font-style: normal; color: var(--teal); }
.logos { display: flex; flex-wrap: wrap; gap: 14px 16px; }
.logo-chip {
  font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.02em;
  padding: 0.6em 1.1em; border: 1px solid var(--on-dark-line); border-radius: 100px;
  color: var(--on-dark); white-space: nowrap;
}
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
@media (min-width: 760px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat .n { font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stat .l { margin-top: 12px; font-size: 0.92rem; color: var(--muted); max-width: 22ch; }
.dark .stat .l { color: var(--on-dark-muted); }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 760px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
.svc {
  background: var(--warm-white);
  padding: clamp(28px, 3.4vw, 48px);
  display: flex; flex-direction: column; min-height: 320px;
  position: relative; overflow: hidden;
  transition: background 0.5s var(--ease);
}
.svc:hover { background: #fff; }
.svc .svc-num { font-family: var(--mono); font-size: 0.78rem; color: var(--muted-2); letter-spacing: 0.1em; }
.svc h3 { margin-top: 18px; max-width: 16ch; }
.svc .svc-desc { margin-top: 14px; color: var(--muted); max-width: 40ch; }
.svc .svc-tags { margin-top: auto; padding-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc .tag {
  font-size: 0.8rem; color: var(--muted); padding: 0.4em 0.85em;
  border: 1px solid var(--line); border-radius: 100px; transition: border-color 0.3s, color 0.3s;
}
.svc:hover .tag { border-color: rgba(14,107,99,0.3); color: var(--teal-deep); }
.svc .svc-arrow {
  position: absolute; top: clamp(28px, 3.4vw, 48px); right: clamp(28px, 3.4vw, 48px);
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  transition: background 0.4s var(--ease), color 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.svc:hover .svc-arrow { background: var(--teal); color: #fff; border-color: var(--teal); transform: rotate(0deg) translate(2px,-2px); }

/* ---------- Work / case cards ---------- */
.work-list { display: grid; gap: clamp(40px, 6vw, 92px); }
.work-item { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; }
@media (min-width: 880px) {
  .work-item { grid-template-columns: 1fr 1fr; }
  .work-item.reverse .work-media { order: 2; }
}
.work-media { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 3/2; background: var(--soft-gray); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.work-item:hover .work-media img { transform: scale(1.045); }
.work-cat { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.work-body h3 { margin-top: 18px; max-width: 18ch; }
.work-cs { margin-top: 22px; display: grid; gap: 14px; }
.work-cs .row { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.work-cs .row .k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); padding-top: 2px; }
.work-cs .row .v { color: var(--ink); font-size: 0.98rem; }
.work-body .link { margin-top: 26px; }

/* Compact work card (work page grid) */
.cards { display: grid; grid-template-columns: 1fr; gap: clamp(24px,3vw,36px); }
@media (min-width: 720px){ .cards.two { grid-template-columns: 1fr 1fr; } }
.card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -32px rgba(17,17,17,0.28); }
.card .card-media { aspect-ratio: 3/2; overflow: hidden; background: var(--soft-gray); }
.card .card-media img { width:100%; height:100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card .card-body { padding: clamp(22px,2.6vw,32px); display:flex; flex-direction:column; flex:1; }
.card .card-cat { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.card .card-body h3 { margin-top: 14px; }
.card .card-body p { margin-top: 12px; color: var(--muted); font-size: 0.97rem; }
.card .card-foot { margin-top: auto; padding-top: 22px; display:flex; flex-wrap:wrap; gap:8px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--on-dark-line); }
@media (min-width: 680px){ .process { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px){ .process { grid-template-columns: repeat(4,1fr); } }
.step { background: var(--near-black); padding: clamp(28px,3vw,40px) clamp(24px,2.4vw,34px); min-height: 260px; display:flex; flex-direction:column; position: relative; }
.step .step-n { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em; color: #6FE3D3; }
.step h3 { margin-top: 26px; color: #6FE3D3; }
.step p { margin-top: 14px; color: var(--on-dark-muted); font-size: 0.96rem; }
.step .step-line { position:absolute; left:0; top:0; height: 2px; width: 0; background: var(--teal); transition: width 1s var(--ease); }
.step.in .step-line { width: 100%; }

/* ---------- Industries grid ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 680px){ .ind-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1000px){ .ind-grid { grid-template-columns: repeat(5,1fr); } }
.ind {
  background: var(--warm-white); padding: clamp(22px,2.4vw,30px) clamp(18px,2vw,24px);
  min-height: 128px; display:flex; flex-direction: column; justify-content: space-between;
  transition: background 0.4s var(--ease), color 0.4s;
}
.ind:hover { background: var(--near-black); color: var(--on-dark); }
.ind .ind-n { font-family: var(--mono); font-size: 0.72rem; color: var(--muted-2); transition: color 0.4s; }
.ind:hover .ind-n { color: #6FE3D3; }
.ind .ind-name { font-size: clamp(0.98rem,1.3vw,1.1rem); font-weight: 500; letter-spacing: -0.01em; margin-top: 28px; }

/* ---------- Founder / split feature ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(28px,4vw,64px); align-items: center; }
@media (min-width: 900px){ .split { grid-template-columns: 0.85fr 1.15fr; } .split.media-right .split-media { order: 2; } }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--soft-gray); }
.split-media img { width:100%; height:100%; object-fit: cover; }
.split-media.wide { aspect-ratio: 4/3; }
.signature { font-size: 1.05rem; }

/* ---------- Quote / pull ---------- */
.pull { font-size: clamp(1.6rem, 3.6vw, 2.8rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.18; max-width: 20ch; }
.pull--full { max-width: 26ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band h2 { max-width: 18ch; }
.cta-band .lead { max-width: 50ch; margin-top: 22px; }
.cta-actions { margin-top: 34px; display:flex; flex-wrap:wrap; gap:14px; }

/* ---------- Insights ---------- */
.post-grid { display:grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 720px){ .post-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px){ .post-grid { grid-template-columns: repeat(3,1fr); } }
.post { background: var(--warm-white); padding: clamp(26px,3vw,40px); min-height: 300px; display:flex; flex-direction:column; transition: background 0.4s var(--ease); }
.post:hover { background:#fff; }
.post .post-meta { display:flex; gap: 14px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.post .post-meta .cat { color: var(--teal); }
.post h3 { margin-top: 22px; }
.post p { margin-top: 14px; color: var(--muted); font-size: 0.96rem; }
.post .link { margin-top: auto; padding-top: 26px; }
.post--feature { grid-column: 1 / -1; background: var(--near-black); color: var(--on-dark); display:grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 860px){ .post--feature { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.post--feature h3 { color: #6FE3D3; }
.post--feature p { color: var(--on-dark-muted); }

/* ---------- Forms ---------- */
.form { display:grid; gap: 26px; }
.form-grid { display:grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 640px){ .form-grid.two { grid-template-columns: 1fr 1fr; } }
.field { display:flex; flex-direction: column; gap: 9px; }
.field label { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  background: transparent;
  border: none; border-bottom: 1px solid var(--line);
  padding: 12px 2px; font-size: 1.05rem; letter-spacing: -0.01em;
  border-radius: 0; transition: border-color 0.3s ease;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235C5C58' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 26px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--teal); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--near-black); color: var(--on-dark); padding-block: clamp(56px,7vw,96px) 36px; }
.footer-top { display:grid; grid-template-columns: 1fr; gap: 44px; }
@media (min-width: 880px){ .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-cta h2 { max-width: 14ch; }
.footer-cta .lead { color: var(--on-dark-muted); margin-top: 18px; max-width: 40ch; }
.footer-col h4 { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 500; margin-bottom: 18px; }
.footer-col a { display:block; padding: 7px 0; color: var(--on-dark); opacity: 0.85; transition: opacity 0.3s, transform 0.3s var(--ease); width: max-content; }
.footer-col a:hover { opacity: 1; transform: translateX(3px); }
.footer-bottom { margin-top: clamp(48px,6vw,80px); padding-top: 28px; border-top: 1px solid var(--on-dark-line); display:flex; flex-wrap:wrap; gap: 16px; justify-content: space-between; align-items:center; }
.footer-bottom small { color: var(--on-dark-muted); font-size: 0.84rem; }
.footer-brand { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; }
.footer-brand .dot { color: #6FE3D3; }

/* ---------- Misc utilities ---------- */
.divider { height: 1px; background: var(--line); border: 0; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-60 { max-width: 60ch; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 48px; }
.tag-row { display:flex; flex-wrap:wrap; gap: 10px; }
.pill { font-size: 0.86rem; padding: 0.5em 1em; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); }
.dark .pill { border-color: var(--on-dark-line); color: var(--on-dark-muted); }
.kicker-num { font-family: var(--mono); font-size: 0.8rem; color: var(--muted-2); letter-spacing: 0.1em; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

.js .hero-rise { opacity: 0; transform: translateY(28px); animation: rise 1s var(--ease-out) forwards; }
.hero-rise.d1 { animation-delay: 0.15s; }
.hero-rise.d2 { animation-delay: 0.30s; }
.hero-rise.d3 { animation-delay: 0.45s; }
.hero-rise.d4 { animation-delay: 0.58s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}

/* ---------- Responsive nav ---------- */
@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .nav { height: 68px; }
}

/* ---------- Feature list (services) ---------- */
.feature-list { display: grid; grid-template-columns: 1fr; margin-top: 28px; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .feature-list.two { grid-template-columns: 1fr 1fr; column-gap: 36px; } }
.feature-list li { display: flex; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 1.02rem; letter-spacing: -0.01em; }
.feature-list li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 9px; border-radius: 50%; background: var(--teal); }

/* Service detail block */
.svc-detail { padding-block: clamp(56px, 7vw, 110px); border-top: 1px solid var(--line); }
.svc-detail:first-of-type { border-top: 0; }
.svc-detail .svc-index { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.svc-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--soft-gray); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }

/* Pricing / engagement rows */
.invest-row { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--on-dark-line); border: 1px solid var(--on-dark-line); border-radius: var(--radius-lg); overflow: hidden; margin-top: clamp(32px,4vw,52px); }
@media (min-width: 820px){ .invest-row { grid-template-columns: repeat(3,1fr); } }
.invest { background: var(--near-black); padding: clamp(26px,3vw,40px); }
.invest .ir-k { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: #6FE3D3; }
.invest .ir-n { font-size: clamp(1.5rem,2.6vw,2rem); font-weight: 600; letter-spacing: -0.03em; margin-top: 16px; color: var(--on-dark); }
.invest .ir-d { margin-top: 12px; color: var(--on-dark-muted); font-size: 0.96rem; }

/* Values / approach grid */
.value-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px,3vw,44px); margin-top: clamp(40px,5vw,64px); }
@media (min-width: 720px){ .value-grid { grid-template-columns: repeat(3,1fr); } }
.value .v-n { font-family: var(--mono); font-size: 0.8rem; color: var(--muted-2); letter-spacing: 0.1em; }
.value h3 { margin-top: 16px; font-size: 1.2rem; }
.value p { margin-top: 12px; color: var(--muted); font-size: 0.98rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 5vw, 72px); }
@media (min-width: 920px) {
  .contact-grid { grid-template-columns: 0.82fr 1.18fr; align-items: start; }
  .contact-aside { position: sticky; top: 104px; }
}
.contact-line { display: grid; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-line:last-of-type { border-bottom: 1px solid var(--line); }
.contact-line .cl-k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.contact-line .cl-v { font-size: 1.08rem; letter-spacing: -0.01em; }
.book-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 32px); background: #fff; margin-top: 28px; }
.book-card h3 { font-size: 1.15rem; }
.form-note { display: none; margin-top: 6px; background: var(--teal-soft); border: 1px solid rgba(14,107,99,0.25); color: var(--teal-deep); padding: 14px 16px; border-radius: var(--radius); font-size: 0.95rem; }
.form-error { display: none; margin-top: 6px; background: rgba(180,69,59,0.07); border: 1px solid rgba(180,69,59,0.3); color: #8F362E; padding: 14px 16px; border-radius: var(--radius); font-size: 0.95rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-hint { font-size: 0.86rem; color: var(--muted-2); }

/* page hero (interior) */
.page-hero { padding-top: clamp(130px, 18vh, 200px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { max-width: 16ch; margin-top: 22px; }
.page-hero .lead { max-width: 56ch; margin-top: 24px; }
.breadcrumb { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
