/* ==========================================================================
   Grupo CCT — English site
   Brand: teal #307878 + the interlocking-diamond mark. Everything leans on
   its 45° geometry: stripe glyphs, diamond bullets, chamfered frames.
   Spacing follows the Fibonacci / golden-ratio scale (8 · 13 · 21 · 34 · 55 · 89 · 144).
   ========================================================================== */

:root {
  --paper: #f3f1ec;
  --paper-2: #e9e6df;
  --white: #ffffff;
  --ink: #0f1e1e;
  --ink-2: #344343;
  --muted: #667272;
  --line: rgba(15, 30, 30, 0.12);
  --line-strong: rgba(15, 30, 30, 0.24);
  --teal: #307878;
  --teal-deep: #306868;
  --teal-dark: #245b5b;
  --aqua: #74d3c4;
  --on-dark: #eaf0ee;
  --on-dark-muted: rgba(234, 240, 238, 0.64);
  --line-dark: rgba(234, 240, 238, 0.16);
  --danger: #b4432f;

  --s1: 8px;
  --s2: 13px;
  --s3: 21px;
  --s4: 34px;
  --s5: 55px;
  --s6: 89px;
  --s7: 144px;

  --radius: 2px;
  --header-h: 72px;
  --container: 1280px;
  --gutter: clamp(21px, 5vw, 55px);
  --section-y: clamp(89px, 11vw, 144px);

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --chamfer: 21px;
}

@media (max-width: 759px) {
  :root { --header-h: 60px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 13px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  font-stretch: 88%;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 { font-size: clamp(34px, 4.3vw, 55px); line-height: 1.04; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 17px; line-height: 1.3; letter-spacing: -0.005em; }

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--teal); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 8px 13px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

.muted { color: var(--muted); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.icon { width: 16px; height: 16px; flex: none; }

/* ---------- Eyebrow (stripe glyph = centre of the mark) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s3);
  color: var(--teal);
  font-size: 13px;
  font-weight: 650;
  font-stretch: 78%;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}
.eyebrow svg { width: 14px; height: 14px; flex: none; }
.eyebrow--light { color: var(--aqua); }

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 var(--s3);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  font-stretch: 95%;
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn .icon { transition: transform 0.35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-dark); }

.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }

.btn--sm { --btn-h: 42px; padding: 0 var(--s2); font-size: 15px; }

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--teal);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.arrow-link { display: inline-flex; align-items: center; gap: 8px; }
.arrow-link .icon { transition: transform 0.35s var(--ease); }
.arrow-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s4);
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin-right: auto;
}
.brand__mark { width: 42px; height: auto; aspect-ratio: 285 / 194; fill: var(--teal); }
.brand__mark .mark-bar { fill: var(--teal-deep); }
.brand__word {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  font-stretch: 125%;
  letter-spacing: 0.3em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav { display: flex; gap: var(--s4); }
.site-nav a {
  position: relative;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.site-nav a[aria-current="true"] { color: var(--ink); }

.site-header__actions { display: flex; align-items: center; gap: var(--s3); }

.lang {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: color 0.2s;
}
.lang:hover { color: var(--teal); }

/* ECDP ticker — the parent company's mark and delayed quote; links to Investors */
.ticker {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  height: 42px;
  padding: 0 var(--s2) 0 var(--s1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s, background-color 0.2s;
}
.ticker:hover { border-color: var(--line-strong); background: var(--white); }
.ticker[aria-current="page"] { border-color: var(--teal); }
.ticker__logo { width: 24px; height: 24px; flex: none; }
.ticker__symbol { font-stretch: 88%; letter-spacing: 0.06em; }
.ticker__market { color: var(--muted); font-size: 11px; letter-spacing: 0.12em; }
.ticker__quote {
  display: inline-flex;
  gap: var(--s1);
  padding-left: var(--s1);
  border-left: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 500;
}
.ticker__change { font-weight: 600; }
.is-up { color: var(--teal); }
.is-down { color: var(--danger); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 0 0 var(--s1);
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.menu-toggle svg { width: 18px; height: 18px; color: var(--teal); transition: transform 0.45s var(--ease); }
.menu-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }

.menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--s4) 0 calc(var(--s4) + env(safe-area-inset-bottom));
  background: var(--paper);
  overflow-y: auto;
}
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 34px;
  font-weight: 600;
  font-stretch: 88%;
  letter-spacing: -0.02em;
}
.menu__foot { display: grid; gap: var(--s3); margin-top: var(--s5); }
.menu__foot .btn { width: 100%; }
.menu__quick { display: flex; justify-content: space-between; font-weight: 600; color: var(--teal); }

/* The ticker gives up detail as the header narrows: market label, then price, then change */
@media (max-width: 1279px) {
  .ticker__market { display: none; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-nav { gap: var(--s3); }
  .ticker__quote { display: none; }
}
@media (max-width: 1023px) {
  .site-header__inner { gap: var(--s3); }
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 899px) {
  .ticker__change { display: none; }
}
@media (max-width: 759px) {
  .site-header__inner, .site-header__actions { gap: var(--s2); }
  .site-header__actions .btn, .site-header__actions .lang, .ticker__quote { display: none; }
  .ticker { gap: 6px; padding: 0 var(--s1) 0 6px; }
  .ticker__logo { width: 22px; height: 22px; }
  .brand__mark { width: 36px; }
  .brand__word { font-size: 13px; }
}
/* Small phones: icon-only menu button (42px target), slightly tighter lockup, so the ticker keeps its symbol */
@media (max-width: 439px) {
  .menu-toggle { justify-content: center; width: 42px; margin-right: -12px; padding: 0; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .brand { gap: 10px; }
  .brand__mark { width: 32px; }
  .brand__word { font-size: 12px; letter-spacing: 0.24em; }
  .ticker { gap: 5px; padding: 0 6px; }
}
@media (max-width: 339px) {
  .ticker__symbol { display: none; }
}

/* ==========================================================================
   HERO
   Static by default (no-JS / reduced motion). JS adds .is-live for the
   scroll-driven zoom through the mark.
   ========================================================================== */
.hero { position: relative; }

.hero__stage { position: relative; }

.hero__media { display: none; }

.hero__intro { padding: calc(var(--header-h) + var(--s6)) 0 var(--s6); }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.618fr;
  gap: var(--s5);
  align-items: center;
}

.hero__title,
.ir-intro__title {
  max-width: 9.5ch;
  font-size: clamp(46px, 5.6vw, 84px);
  font-weight: 620;
  font-stretch: 84%;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero__lede,
.ir-intro__lede {
  max-width: 34ch;
  margin-top: var(--s3);
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.55;
}

.hero__actions,
.ir-intro__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-top: var(--s5);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.hero__trust span {
  color: var(--ink-2);
  font-weight: 650;
  font-stretch: 82%;
  letter-spacing: 0.08em;
}

.hero__slot { position: relative; width: 100%; aspect-ratio: 285 / 194; }
.hero__mark-static { width: 100%; height: 100%; fill: var(--teal); }
.hero__mark-static .mark-bar { fill: var(--teal-deep); }

.hero__cue { display: none; }

/* Static outro: a dark band with the poster frame */
.hero__outro {
  position: relative;
  padding: var(--s6) 0;
  color: var(--on-dark);
  background:
    linear-gradient(180deg, rgba(15, 30, 30, 0.55), rgba(15, 30, 30, 0.88)),
    url("../assets/media/hero-poster.jpg") center / cover,
    var(--ink);
}

.hero__statement {
  max-width: 12ch;
  color: var(--white);
  font-size: clamp(44px, 6.4vw, 96px);
  font-weight: 620;
  font-stretch: 84%;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s3);
  max-width: 760px;
  margin: var(--s5) 0 0;
}
.stats > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding-top: var(--s2);
  border-top: 1px solid var(--line-dark);
}
.stats dt { color: var(--on-dark-muted); font-size: 14px; }
.stats dd {
  margin: 0;
  color: var(--white);
  font-size: clamp(34px, 3.4vw, 55px);
  font-weight: 560;
  font-stretch: 80%;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Live hero (JS + motion allowed) ---------- */
.hero.is-live { height: 300vh; }

.hero.is-live .hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.hero.is-live .hero__media {
  display: block;
  position: absolute;
  inset: 0;
  background: var(--ink);
  clip-path: polygon(0 0, 0 0, 0 0);
  will-change: clip-path;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Brand duotone while the footage lives inside the mark */
.hero__tint {
  position: absolute;
  inset: 0;
  background: var(--teal);
  mix-blend-mode: color;
}
.hero__tint::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--teal-deep);
  mix-blend-mode: multiply;
  opacity: 0.8;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(0deg, rgba(10, 22, 22, 0.9) 0%, rgba(10, 22, 22, 0.45) 45%, rgba(10, 22, 22, 0.15) 100%);
}

.hero.is-live .hero__intro {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: var(--header-h) 0 0;
}

.hero.is-live .hero__copy { will-change: opacity, transform; }
.hero.is-live .hero__mark-static { opacity: 0; }

.hero.is-live .hero__cue {
  position: absolute;
  left: 50%;
  bottom: var(--s4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.hero__cue span {
  position: relative;
  width: 1px;
  height: 34px;
  overflow: hidden;
  background: var(--line);
}
.hero__cue span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--teal);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

.hero.is-live .hero__outro {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(55px, 9vh, 89px);
  background: none;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.hero.is-live .hero__outro.is-visible { pointer-events: auto; }

@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s4); }
  .hero__slot { order: -1; width: min(100%, 560px); justify-self: center; }
  .hero__copy { max-width: 620px; }
}

@media (max-width: 1023px) {
  .hero.is-live .hero__intro { align-items: flex-start; padding-top: calc(var(--header-h) + var(--s3)); }
  .hero.is-live .hero__slot { width: min(100%, 560px, calc(36svh * 285 / 194)); }
}

@media (max-width: 759px) {
  .hero__intro { padding-top: calc(var(--header-h) + var(--s4)); }
  .hero__eyebrow { display: none; }
  .hero__title { font-size: clamp(40px, 11vw, 52px); }
  .hero__lede { font-size: 16px; margin-top: var(--s2); }
  .hero__actions { margin-top: var(--s3); }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__trust { margin-top: var(--s4); }
  .hero.is-live { height: 260vh; }
  .hero.is-live .hero__cue { display: none; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
  .stats dt { font-size: 12px; }
}

@media (max-height: 760px) {
  .hero.is-live .hero__trust { display: none; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--section-y) 0; }

.section-head {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: var(--s4) var(--s5);
  align-items: end;
  margin-bottom: var(--s5);
}
.section-head h2 { max-width: 20ch; }
.section-head__aside { max-width: 34ch; color: var(--ink-2); font-size: 18px; line-height: 1.55; }
.section-head--solo { display: block; }
.section-head--solo h2 { max-width: 22ch; }

@media (max-width: 899px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ---------- Services ---------- */
.phases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.phase {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.phase__media { margin: 0; aspect-ratio: 1.618; overflow: hidden; background: var(--paper-2); }
.phase__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.phase:hover .phase__media img { transform: scale(1.035); }

.phase__body { padding: var(--s4) var(--s4) var(--s4); }

/* phase number sits inside a small diamond — the mark's square, rotated */
.phase__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: calc(var(--s4) * -1 - 17px) 0 var(--s3);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  font-stretch: 80%;
  letter-spacing: 0.04em;
}
.phase__num::before {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--teal);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px var(--white);
}
.phase__num span { position: relative; }

.phase h3 { font-size: 24px; }
.phase__desc { margin-top: 6px; color: var(--ink-2); }

.ticks {
  display: grid;
  gap: 6px;
  margin: var(--s3) 0 0;
  padding: var(--s3) 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 15px;
  color: var(--ink);
}
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--teal);
  transform: rotate(45deg);
}

@media (max-width: 1023px) {
  .phases { grid-template-columns: 1fr; gap: var(--s3); }
  .phase { display: grid; grid-template-columns: 1fr 1.618fr; }
  .phase__media { aspect-ratio: auto; min-height: 100%; }
  .phase__num { margin-top: 0; }
  .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s3); }
}
@media (max-width: 679px) {
  .phase { display: flex; }
  .phase__media { aspect-ratio: 1.618; min-height: 0; }
  .phase__num { margin-top: calc(var(--s4) * -1 - 17px); }
  .phase__body { padding: var(--s4) var(--s3) var(--s3); }
}

/* ---------- Work ---------- */
.work { background: var(--ink); color: var(--on-dark); }
.work h2, .work h3 { color: var(--white); }
.work .section-head h2 { max-width: 14ch; }

.work__layout {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: var(--s5);
  align-items: start;
}

.projects { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }

.project {
  position: relative;
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: baseline;
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--line-dark);
  cursor: default;
}
.project__num {
  color: var(--on-dark-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.project__name {
  color: var(--on-dark-muted);
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 560;
  font-stretch: 84%;
  line-height: 1.02;
  letter-spacing: -0.025em;
  transition: color 0.35s, transform 0.5s var(--ease);
}
.project__meta {
  display: flex;
  gap: var(--s2);
  margin-top: var(--s1);
  color: var(--on-dark-muted);
  font-size: 14px;
}
.project__meta span:first-child { color: var(--aqua); font-weight: 600; }
.project__meta span + span::before { content: "·"; margin-right: var(--s2); color: var(--on-dark-muted); }

.project.is-active .project__name { color: var(--white); transform: translateX(8px); }
.project.is-active .project__num { color: var(--aqua); }

.project__img { display: none; }

.work__preview { position: sticky; top: calc(var(--header-h) + var(--s4)); }

/* chamfered frame: two corners cut at the brand's 45° */
.work__frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  aspect-ratio: 320 / 207;
  background: var(--teal-deep);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}
.work__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.5s, transform 0.9s var(--ease);
}
.work__frame img.is-active { opacity: 1; transform: none; }

.work__more {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: var(--s5);
  color: var(--white);
  font-weight: 600;
}
.work__more small { color: var(--on-dark-muted); font-size: 13px; font-weight: 500; }
.work__more .icon { color: var(--aqua); transition: transform 0.35s var(--ease); }
.work__more:hover .icon { transform: translateX(3px); }

@media (max-width: 899px) {
  .work__layout { grid-template-columns: 1fr; }
  .work__preview { display: none; }
  .project { grid-template-columns: 34px 1fr; }
  .project__name { color: var(--white); }
  .project.is-active .project__name { transform: none; }
  .project__img {
    display: block;
    grid-column: 2;
    width: 100%;
    max-width: 420px;
    margin-top: var(--s3);
    clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: var(--s5);
  align-items: center;
}
.about__media { margin: 0; }
.about__media img {
  width: 100%;
  aspect-ratio: 1.618;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}
.about__copy h2 { max-width: 13ch; margin-bottom: var(--s3); }
.about__copy p + p { margin-top: var(--s2); }

.values { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); }
.values__label {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  font-stretch: 78%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.values ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-weight: 500;
}
.values li { display: inline-flex; align-items: center; }
.values li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 12px;
  background: var(--teal);
  transform: rotate(45deg);
}

.standards { margin-top: var(--s6); }
.standards__title {
  margin-bottom: var(--s3);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  font-stretch: 78%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.standards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s3) var(--s5);
}
.standard { padding-top: var(--s3); border-top: 2px solid var(--teal); }
.standard h4 { margin-bottom: 8px; font-size: 21px; }
.standard p { font-size: 15px; }

.founder {
  display: grid;
  grid-template-columns: 144px 1fr;
  gap: var(--s4);
  align-items: center;
  max-width: 820px;
  margin: var(--s6) auto 0;
  padding: var(--s4);
  background: var(--paper-2);
  border-radius: var(--radius);
}
.founder__photo {
  width: 144px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 20% 70%;
  filter: grayscale(1) contrast(1.05);
}
.founder__eyebrow {
  color: var(--teal);
  font-size: 12px;
  font-weight: 650;
  font-stretch: 78%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.founder h3 { margin-top: 8px; font-size: 24px; }
.founder__dates { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.founder__text p:last-child { margin-top: var(--s2); font-size: 15px; }

@media (max-width: 1023px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__copy { max-width: 640px; }
}
@media (max-width: 759px) {
  .standards__grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; padding: var(--s3); }
  .founder__photo { width: 120px; }
}

/* ---------- Clients ---------- */
.clients { background: var(--white); }

.logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}
.logos li {
  display: grid;
  place-items: center;
  height: clamp(89px, 11vw, 158px);
  padding: var(--s2);
  background: var(--white);
}
.logos img {
  width: auto;
  max-width: 72%;
  max-height: 56px;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter 0.35s, opacity 0.35s;
}
.logos img.is-wide { max-height: 24px; }
.logos li:hover img { filter: none; opacity: 1; }

@media (max-width: 899px) {
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos img { max-height: 44px; }
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: var(--s5);
  align-items: start;
}

.form-card {
  padding: var(--s4);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form { display: grid; gap: var(--s3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.field { display: grid; gap: 6px; }
.field label { color: var(--ink); font-size: 14px; font-weight: 600; }
.optional { margin-left: 4px; color: var(--muted); font-weight: 400; }

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 144px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #9aa3a3; }
.field input:hover,
.field textarea:hover { border-color: var(--muted); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(48, 120, 120, 0.18);
}

.field__error { display: none; color: var(--danger); font-size: 13px; }
.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--danger); }
.field.is-invalid .field__error { display: block; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.form__error { flex: 1 1 260px; color: var(--danger); font-size: 14px; }
.form__error a { text-decoration: underline; text-underline-offset: 3px; }
.form [data-submit][aria-busy="true"] { cursor: progress; opacity: 0.75; }
.form [data-submit][aria-busy="true"] .icon { animation: nudge 0.9s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

/* honeypot — invisible to people, tempting to bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-done { display: grid; justify-items: start; gap: var(--s2); padding: var(--s3) 0; }
.form-done:focus { outline: none; }
.form-done__mark { width: 55px; aspect-ratio: 285 / 194; height: auto; fill: var(--teal); margin-bottom: var(--s1); }
.form-done__mark .mark-bar { fill: var(--teal-deep); }
.form-done h3 { font-size: 28px; }
.form-done p { max-width: 46ch; margin-bottom: var(--s2); }
.form-done strong { color: var(--ink); font-weight: 600; }

.direct { display: grid; gap: 0; margin: 0; }
.direct > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--s2);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
}
.direct > div:first-child { padding-top: 0; }
.direct dt {
  padding-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  font-stretch: 78%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.direct dd { margin: 0; color: var(--ink); font-weight: 500; }
.direct dd a { transition: color 0.2s; }
.direct dd a:hover { color: var(--teal); }
.direct .arrow-link { color: var(--teal); font-weight: 600; }
.downloads { display: flex; flex-wrap: wrap; gap: 4px var(--s3); }
.downloads a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.downloads .muted { flex-basis: 100%; font-size: 13px; font-weight: 400; }

/* Offices + map */
.offices {
  display: grid;
  grid-template-columns: 1fr 1.618fr;
  gap: var(--s5);
  align-items: center;
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
}
.offices__list h3 { margin-bottom: var(--s3); font-size: 24px; }
.offices__list ul { margin: 0; padding: 0; list-style: none; }
.offices__list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s2);
  border-bottom: 1px solid var(--line);
}
.offices__list li:first-child { border-top: 1px solid var(--line); }
.offices__list button {
  flex: 1;
  display: grid;
  gap: 2px;
  padding: var(--s2) 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.offices__list strong {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}
.offices__list strong::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--line-strong);
  transform: rotate(45deg);
  transition: background-color 0.2s, transform 0.35s var(--ease);
}
.offices__list button span { padding-left: 17px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.offices__list button[aria-pressed="true"] strong::before,
.offices__list button:hover strong::before { background: var(--teal); transform: rotate(45deg) scale(1.25); }
.offices__list li > a {
  padding: var(--s2) 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
}
.offices__list li > a:hover { text-decoration: underline; text-underline-offset: 4px; }

.offices__map { margin: 0; }
.offices__map svg { width: 100%; height: auto; overflow: visible; }
.map__land { fill: var(--paper-2); stroke: rgba(15, 30, 30, 0.08); stroke-width: 1.5; }

.pin rect {
  fill: var(--teal);
  stroke: var(--paper);
  stroke-width: 4;
  transform: rotate(45deg);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.45s var(--ease), fill 0.2s;
}
.pin text {
  fill: var(--ink);
  font-family: var(--font);
  font-size: 24px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s;
}
.pin.is-active rect { fill: var(--teal-deep); transform: rotate(45deg) scale(1.55); }
.pin.is-active text { opacity: 1; }

@media (max-width: 1023px) {
  .contact__grid { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr; }
  .offices__map { order: -1; }
}
@media (max-width: 599px) {
  .form-card { padding: var(--s3); }
  .field-row { grid-template-columns: 1fr; }
  .direct > div { grid-template-columns: 1fr; gap: 4px; }
  .form__foot .btn { width: 100%; }
}

/* ==========================================================================
   INVESTORS
   ========================================================================== */
.ir-intro { padding: calc(var(--header-h) + var(--s6)) 0 var(--section-y); }

.ir-intro__grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 520px);
  gap: var(--s5) var(--s6);
  align-items: center;
}
.ir-intro__title { max-width: 15ch; }
.ir-intro__lede { max-width: 40ch; }

/* Quote card: dark, with the brand's 45° chamfer */
.quote {
  padding: var(--s4);
  background: var(--ink);
  color: var(--on-dark);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}
.quote__head {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--line-dark);
}
.quote__logo { width: 44px; height: 44px; flex: none; }
.quote__name { color: var(--white); font-size: 19px; }
.quote__market { margin-top: 2px; color: var(--on-dark-muted); font-size: 13px; }

.quote__live { transition: opacity 0.4s; }
.quote[data-state="loading"] .quote__live { opacity: 0.4; }

.quote__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s1) var(--s3);
  margin-top: var(--s4);
}
.quote__price {
  color: var(--white);
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 560;
  font-stretch: 80%;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.quote__price small {
  margin-left: 8px;
  color: var(--on-dark-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.quote__change { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.quote .is-up { color: var(--aqua); }
.quote .is-down { color: #f09a85; }

.quote__chart { margin: var(--s4) 0 0; }
.quote__chart svg { width: 100%; height: 144px; overflow: visible; }
.quote__line {
  fill: none;
  stroke: var(--aqua);
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.quote__area { fill: rgba(116, 211, 196, 0.12); }
.quote__chart figcaption {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  margin-top: var(--s1);
  color: var(--on-dark-muted);
  font-size: 12px;
}

.quote__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s2) var(--s3);
  margin: var(--s4) 0 0;
}
.quote__stats > div { padding-top: var(--s1); border-top: 1px solid var(--line-dark); }
.quote__stats dt {
  color: var(--on-dark-muted);
  font-size: 12px;
  font-weight: 650;
  font-stretch: 78%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.quote__stats dd { margin: 4px 0 0; color: var(--white); font-weight: 500; font-variant-numeric: tabular-nums; }
.quote__note { margin-top: var(--s3); color: var(--on-dark-muted); font-size: 12px; }

.quote__fallback { display: none; margin-top: var(--s4); color: var(--on-dark); line-height: 2; }
.quote__fallback a { color: var(--aqua); font-weight: 600; }
.quote[data-state="error"] .quote__live,
html:not(.js) .quote__live { display: none; }
.quote[data-state="error"] .quote__fallback,
html:not(.js) .quote__fallback { display: block; }

/* The group */
.ir-group { background: var(--white); }
.units {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4) var(--s4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.unit { padding-top: var(--s3); border-top: 2px solid var(--line-strong); }
.unit--current { border-top-color: var(--teal); }
.unit__tag {
  margin-bottom: var(--s2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  font-stretch: 78%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.unit--current .unit__tag { color: var(--teal); }
.unit h3 { margin-bottom: 8px; font-size: 24px; }
.unit p:last-child { font-size: 15px; }

/* Facts, filings and news */
.ir-facts__grid {
  display: grid;
  grid-template-columns: 1fr 1.618fr;
  gap: var(--s5) var(--s6);
  align-items: start;
}
.ir-label {
  margin-bottom: var(--s3);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  font-stretch: 78%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.releases { margin: 0; padding: 0; list-style: none; }
.releases li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--s2);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
}
.releases li:first-child { padding-top: 0; }
.releases time {
  padding-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.releases a {
  color: var(--ink);
  font-size: 19px;
  font-weight: 560;
  font-stretch: 92%;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.releases a:hover { color: var(--teal); }
.releases__more { margin-top: var(--s3); color: var(--teal); font-weight: 600; }

/* Investor contact */
.ir-contact { padding-top: 0; }
.ir-contact__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  align-items: end;
  padding: var(--s5);
  background: var(--ink);
  color: var(--on-dark-muted);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}
.ir-contact__logo { width: 180px; margin-bottom: var(--s5); }
.ir-contact h2 { margin-bottom: var(--s2); color: var(--white); }

.direct--dark > div { border-bottom-color: var(--line-dark); }
.direct--dark dt { color: var(--on-dark-muted); }
.direct--dark dd { color: var(--white); }
.direct--dark dd a:hover,
.direct--dark .arrow-link { color: var(--aqua); }

.ir-disclaimer { max-width: 90ch; margin-top: var(--s4); color: var(--muted); font-size: 13px; line-height: 1.55; }
.ir-disclaimer a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1023px) {
  .ir-intro__grid { grid-template-columns: 1fr; }
  .quote { max-width: 560px; }
  .units { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ir-facts__grid { grid-template-columns: 1fr; }
  .ir-contact__panel { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 759px) {
  .ir-intro { padding-top: calc(var(--header-h) + var(--s4)); }
  .ir-intro__title { font-size: clamp(40px, 11vw, 52px); }
  .ir-intro__lede { font-size: 16px; }
  .ir-intro__actions .btn { flex: 1 1 auto; }
  .quote { padding: var(--s3); }
  .ir-contact__panel { padding: var(--s4) var(--s3); }
}
@media (max-width: 599px) {
  .quote__stats { grid-template-columns: 1fr; gap: 0; }
  .quote__stats > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); padding: 10px 0; }
  .quote__stats dd { margin: 0; white-space: nowrap; }
  .units { grid-template-columns: 1fr; }
  .releases li { grid-template-columns: 1fr; gap: 4px; }
  .releases a { font-size: 17px; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: var(--s6) 0 var(--s4);
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: 14px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: var(--s5) var(--s5);
}
.site-footer__brand { display: flex; align-items: center; gap: var(--s3); }
.site-footer .brand__mark { width: 55px; fill: var(--teal); }
.site-footer .brand__mark .mark-bar { fill: var(--teal-deep); }
.site-footer .brand__word { color: var(--white); }
.site-footer__legal-name {
  margin-top: 8px;
  color: var(--aqua);
  font-size: 12px;
  font-weight: 600;
  font-stretch: 75%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: var(--s1) var(--s3); }
.site-footer__nav a { color: var(--on-dark); font-weight: 500; transition: color 0.2s; }
.site-footer__nav a:hover, .site-footer__meta a:hover { color: var(--aqua); }
.site-footer__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s1) var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
}

@media (max-width: 759px) {
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__nav { justify-content: flex-start; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
