/* Golden Cobras Hockey Academy
   Layout: alternating black and white bands. Photos sit in chamfered frames
   that echo the cut corners of the cobra mark. Yellow is a field, never text on white. */

@font-face { font-family: "Squarefont"; src: url("../assets/fonts/squarefont.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Bai Jamjuree"; font-weight: 400; src: url("../assets/fonts/baijamjuree-400.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Bai Jamjuree"; font-weight: 500; src: url("../assets/fonts/baijamjuree-500.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Bai Jamjuree"; font-weight: 600; src: url("../assets/fonts/baijamjuree-600.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Bai Jamjuree"; font-weight: 700; src: url("../assets/fonts/baijamjuree-700.woff2") format("woff2"); font-display: swap; }

:root {
  color-scheme: light;
  --yellow: #FDD600;
  --black: #000000;
  --red: #EE3D29;
  --white: #FFFFFF;
  --wash: #F2F2F2;
  --ink: #1A1A1A;
  --grey: #8A8A8A;
  --grey-d: #5A5A5A;
  --ice: #CFCFCF;
  --tint: #1C1C1C;

  --display: "Squarefont", "Bahnschrift", "Arial Black", sans-serif;
  --body: "Bai Jamjuree", "Calibri", "Segoe UI", sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1180px;
  --band: clamp(56px, 9vw, 112px);
  --radius: 0px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --chamfer: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 700; line-height: 1.12; text-wrap: balance; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.on-yellow :focus-visible { outline-color: var(--black); }

.band { padding-block: var(--band); padding-inline: var(--gutter); }
.wrap { max-width: var(--max); margin-inline: auto; }
.dark { background: var(--black); color: var(--white); }
.washed { background: var(--wash); }
.on-yellow { background: var(--yellow); color: var(--black); }

.kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); margin-bottom: 14px; }
.dark .kicker { color: var(--yellow); }
.on-yellow .kicker { color: var(--black); }
.h2 { font-size: clamp(28px, 4.2vw, 44px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--grey-d); max-width: 62ch; margin-top: 16px; }
.dark .lead { color: var(--ice); }
.head { margin-bottom: clamp(28px, 4vw, 48px); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 0; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.btn:active { transform: scale(0.97); }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-black { background: var(--black); color: var(--white); }
.btn-ghost { background: var(--tint); color: var(--white); }
.btn .arrow { transition: transform 200ms var(--ease-out); }
.textlink { font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.textlink .arrow { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .arrow, .textlink:hover .arrow, .row:hover .arrow { transform: translateX(4px); }
  .btn-ghost:hover { background: #2a2a2a; }
}

/* ---------- Header ---------- */
.site-header { background: var(--black); color: var(--white); padding-inline: var(--gutter); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-block: 16px; }
.brand img { width: clamp(150px, 18vw, 200px); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ice); padding-block: 6px; transition: color 160ms ease; }
.nav a[aria-current="page"] { color: var(--white); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--yellow); } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(32px, 6vw, 72px) clamp(48px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -0.02em; }
.hero h1 span { display: block; }
.hero .lead { font-size: clamp(17px, 1.7vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-photo { clip-path: var(--chamfer); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ages { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; font-family: var(--display); font-size: clamp(18px, 2.2vw, 26px); letter-spacing: 0.04em; color: var(--white); }
.ages-label { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); margin-top: 40px; }
.ages-label + .ages { margin-top: 8px; }

/* ---------- Events ---------- */
.events { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature { position: relative; }
.feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; clip-path: var(--chamfer); }
.feature figcaption, .strip figcaption { font-size: 13px; color: var(--grey); margin-top: 10px; }
.rows { display: grid; gap: 12px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 20px 22px; background: var(--wash); border-radius: 0; text-decoration: none; }
.row-title { font-weight: 700; font-size: 19px; line-height: 1.25; }
.row-meta { font-size: 14px; color: var(--grey-d); grid-column: 1; }
.row .arrow { grid-column: 2; grid-row: 1 / span 2; font-weight: 700; transition: transform 200ms var(--ease-out); }
.rows-foot { margin-top: 22px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.about p + p { margin-top: 16px; }
.about .copy { color: var(--grey-d); }
.about .textlink { margin-top: 24px; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 10px; margin-top: clamp(36px, 5vw, 60px); }
.value { background: var(--white); border-radius: 0; padding: 16px 16px 14px; }
.value b { display: block; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; }
.value .v-word { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; }
.values-label { margin-top: clamp(36px, 5vw, 60px); margin-bottom: 0; }
.values-label + .values { margin-top: 14px; }

/* ---------- Coaches ---------- */
.coaches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.coach { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; display: block; width: 100%; }
.coach-photo { overflow: hidden; border-radius: 0; background: var(--tint); }
.coach-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 300ms var(--ease-out); }
.coach-name { display: block; font-weight: 700; font-size: 18px; margin-top: 14px; line-height: 1.25; }
.coach-role { display: block; font-size: 14px; color: var(--ice); margin-top: 2px; }
.coach-more { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); margin-top: 10px; }
.coach:active .coach-photo img { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .coach:hover .coach-photo img { transform: scale(1.03); } }

dialog.profile { border: 0; padding: 0; border-radius: 0; background: var(--white); color: var(--ink); width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 900px); overflow: auto;
  opacity: 1; transform: scale(1); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
@starting-style { dialog.profile[open] { opacity: 0; transform: scale(0.96); } }
dialog.profile::backdrop { background: rgba(0, 0, 0, 0.72); }
.profile-in { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding: clamp(20px, 4vw, 36px); }
.profile-in img { border-radius: 0; width: 100%; aspect-ratio: 1; object-fit: cover; }
.profile h3 { font-size: 28px; }
.profile .role { color: var(--grey-d); margin-top: 4px; font-weight: 600; }
.profile .bio { margin-top: 16px; color: var(--grey-d); }
.profile .spec { margin-top: 12px; font-weight: 600; }
.timeline { margin-top: 22px; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 10px 12px; font-size: 15px; border-radius: 0; }
.timeline li:nth-child(odd) { background: var(--wash); }
.timeline .yr { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.profile-close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; width: 40px; height: 40px; border-radius: 0; border: 0; background: var(--black); color: var(--white); font-size: 20px; line-height: 1; cursor: pointer; z-index: 1; transition: transform 160ms var(--ease-out); }
.profile-close:active { transform: scale(0.94); }

/* ---------- Development model ---------- */
.model { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 20px; align-items: stretch; }
.stage { border-radius: 0; padding: clamp(22px, 3vw, 32px); }
.stage-start { background: var(--wash); display: flex; flex-direction: column; }
.stage-label { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); }
.stage h3 { font-size: 24px; margin-top: 8px; }
.stage .sub { color: var(--grey-d); margin-top: 6px; font-weight: 600; }
.stage-start ol { margin-top: 22px; display: grid; gap: 10px; }
.stage-start li { background: var(--white); border-radius: 0; padding: 14px 16px; font-weight: 600; font-size: 15px; }
.stage-start .note { margin-top: auto; padding-top: 22px; font-size: 13px; color: var(--grey); }
.stage-main { background: var(--wash); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: 22px; }
.step { background: var(--white); border-radius: 0; padding: 18px 18px 20px; min-height: 124px; }
.step .n { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--grey); }
.step .t { display: block; margin-top: 14px; font-weight: 700; font-size: 16px; line-height: 1.3; }
.step.end { background: var(--black); color: var(--white); }
.step.end .n { color: var(--yellow); }

/* ---------- Photo strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0; }

/* ---------- Schedule ---------- */
.schedule { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px 48px; align-items: center; }
.schedule p { margin-top: 12px; max-width: 56ch; font-weight: 500; }

/* ---------- Story + news ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.story { display: block; text-decoration: none; background: var(--black); color: var(--white); border-radius: 0; padding: clamp(24px, 4vw, 40px); min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.play { width: 64px; height: 64px; border-radius: 0; background: var(--yellow); display: grid; place-items: center; transition: transform 200ms var(--ease-out); }
.play::after { content: ""; border-left: 18px solid var(--black); border-block: 11px solid transparent; margin-left: 5px; }
.story h3 { font-size: clamp(24px, 3vw, 32px); }
.story .sub { color: var(--ice); margin-top: 8px; }
.story:active .play { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .story:hover .play { transform: scale(1.06); } }

/* ---------- Join ---------- */
.join-title { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 7vw, 84px); line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; }
.routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.route { background: var(--tint); border-radius: 0; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.route h3 { font-size: 21px; }
.route p { color: var(--ice); font-size: 15px; }
.route .btn { margin-top: auto; align-self: flex-start; }
.route .gap { flex: 1; min-height: 8px; }
.route.pick { background: var(--yellow); color: var(--black); }
.route.pick p { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--ice); padding-inline: var(--gutter); padding-block: 0 48px; font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-top: 40px; }
.site-footer img { width: 180px; }
.site-footer h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); }
.site-footer li + li { margin-top: 6px; }
.site-footer a { text-decoration: none; color: var(--white); }
.site-footer .addr { margin-top: 16px; max-width: 30ch; }
.copy-line { grid-column: 1 / -1; color: var(--grey); font-size: 13px; }
.select { user-select: all; }

/* ---------- Narrow ---------- */
@media (max-width: 860px) {
  .hero .wrap, .events, .about, .model, .split, .schedule, .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coaches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-in { grid-template-columns: minmax(0, 1fr); }
  .profile-in img { max-width: 180px; }
  .hero-photo { order: -1; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav { gap: 2px 18px; }
  .coaches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  :root { --chamfer: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- Elements carried over from the original site design ---------- */
.tab { display: flex; align-items: stretch; border-bottom: 4px solid var(--yellow); margin-bottom: 22px; }
.tab-label { background: var(--yellow); color: var(--black); font-family: var(--display); font-size: clamp(19px, 2.4vw, 26px); line-height: 1.1; text-transform: uppercase; letter-spacing: 0.02em; padding: 9px 40px 6px 14px; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 100%, 0 100%); }
.tab-slashes { display: flex; margin-left: -12px; }
.tab-slashes i { display: block; width: 44px; margin-right: -12px; background: var(--red); clip-path: polygon(0 0, 50% 0, 100% 100%, 50% 100%); }
.tab-inv { border-bottom-color: var(--black); }
.tab-inv .tab-label { background: var(--black); color: var(--yellow); }

.hero-mark { font-family: var(--display); color: var(--yellow); font-size: clamp(24px, 3.2vw, 38px); line-height: 1; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 18px; }


.washed { background-image: url("../assets/img/cobra-watermark.png"); background-repeat: no-repeat; background-position: right -60px bottom -40px; background-size: min(560px, 78vw) auto; }

.row-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; font-size: 20px; }

.coach { background: var(--yellow); color: var(--black); padding: 10px 10px 16px; }
.coach-photo { display: block; border-radius: 0; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
.coach-name { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(18px, 1.9vw, 23px); letter-spacing: 0.02em; margin-top: 14px; }
.coach-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 8px; }
.coach-role { margin: 0; background: var(--black); color: var(--white); font-size: 12px; font-weight: 600; padding: 4px 20px 4px 8px; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.coach-from { font-size: 15px; font-weight: 500; }
.coach-from small { font-size: 10px; color: var(--grey-d); }
.coach:focus-visible { outline-color: var(--white); }


.stage { position: relative; }
.stage-logo { position: absolute; top: clamp(16px, 2.4vw, 26px); right: clamp(16px, 2.4vw, 26px); width: 84px; height: auto; }
.stage-start .stage-logo { width: 96px; background: var(--white); padding: 8px; border-radius: 0; }
.stage h3, .stage .sub { max-width: calc(100% - 116px); }

/* ---------- Squarefont kept to the section tabs, hero mark and join banner ---------- */
.row-title { font-family: var(--body); font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 19px; }
.coach-name { font-family: var(--body); font-weight: 700; text-transform: none; letter-spacing: -0.01em; font-size: clamp(18px, 1.8vw, 21px); }
.ages { font-family: var(--body); font-weight: 700; letter-spacing: 0; font-size: clamp(18px, 2vw, 24px); }
.value b { font-family: var(--body); font-weight: 700; }
.step .n { font-family: var(--body); font-weight: 700; font-size: 26px; }

/* ---------- Squarefont now only on the section tabs ---------- */
.hero-mark { font-family: var(--body); font-weight: 700; font-size: clamp(15px, 1.5vw, 18px); letter-spacing: 0.2em; }
.join-title { font-family: var(--body); font-weight: 700; text-transform: none; letter-spacing: -0.02em; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.05; }

/* ---------- Header stays at the top while scrolling ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.site-header .wrap { padding-block: 10px; }
.brand img { width: clamp(132px, 15vw, 172px); }
[id] { scroll-margin-top: 96px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 0; background: none; cursor: pointer; padding: 11px 9px; flex-direction: column; justify-content: space-between; transition: transform 160ms var(--ease-out); }
.menu-btn span { display: block; height: 3px; border-radius: 0; background: var(--yellow); }
.menu-btn:active { transform: scale(0.94); }
@media (max-width: 760px) {
  .menu-btn { display: flex; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; }
  .nav.open { display: flex; }
  .nav a { padding-block: 13px; font-size: 15px; }
  [id] { scroll-margin-top: 76px; }
}

/* ---------- Motion (see js/motion.js). Nothing is hidden unless the script is running. ---------- */
html.motion [data-rv] { opacity: 0; transform: translateY(16px); transition: opacity 520ms ease-out, transform 720ms var(--ease-out); transition-delay: calc(var(--i, 0) * 65ms); }
html.motion [data-rv].in { opacity: 1; transform: none; }
/* photos open like a shutter instead of sliding */
html.motion [data-rv="photo"] { opacity: 1; transform: scale(1.06); clip-path: inset(0 0 100% 0); transition: clip-path 900ms var(--ease-out), transform 1200ms var(--ease-out); transition-delay: calc(var(--i, 0) * 65ms); }
html.motion [data-rv="photo"].in { transform: none; clip-path: inset(0 0 0 0); }
/* section tabs: the yellow plate wipes in, the three red slashes follow, the line draws underneath */
html.motion .tab { border-bottom-color: transparent; position: relative; }
html.motion .tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 800ms var(--ease-out) 120ms; }
html.motion .tab-inv::after { background: var(--black); }
html.motion .tab .tab-label { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); transition: clip-path 480ms var(--ease-out); }
html.motion .tab .tab-slashes i { opacity: 0; transform: translateX(-18px); transition: opacity 200ms ease-out, transform 420ms var(--ease-out); }
html.motion .tab .tab-slashes i:nth-child(1) { transition-delay: 260ms; }
html.motion .tab .tab-slashes i:nth-child(2) { transition-delay: 330ms; }
html.motion .tab .tab-slashes i:nth-child(3) { transition-delay: 400ms; }
html.motion .tab.in::after { transform: scaleX(1); }
html.motion .tab.in .tab-label { clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 100%, 0 100%); }
html.motion .tab.in .tab-slashes i { opacity: 1; transform: none; }
/* small touches */
.coach { transition: transform 220ms var(--ease-out); }
.coach:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .coach:hover { transform: translateY(-5px); }
  .row { transition: transform 200ms var(--ease-out); }
  .row:hover { transform: translateX(4px); }
}
@media (max-width: 760px) {
  .nav.open { opacity: 1; transform: none; transition: opacity 200ms ease-out, transform 240ms var(--ease-out); }
  @starting-style { .nav.open { opacity: 0; transform: translateY(-8px); } }
}
@media (prefers-reduced-motion: reduce) {
  html.motion [data-rv], html.motion [data-rv="photo"], html.motion .tab .tab-slashes i { transform: none; clip-path: none; }
  html.motion .tab .tab-label { clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 100%, 0 100%); }
  html.motion .tab::after { transform: none; }
  .coach:hover, .row:hover { transform: none; }
}

/* ---------- Footer in the layout of the original site (white, tagline, icons, site map) ---------- */
.site-footer { background: var(--white); color: var(--ink); padding: clamp(44px, 6vw, 80px) var(--gutter) 36px; font-size: 14px; }
.site-footer .wrap { display: block; }
.foot-tag { font-size: clamp(32px, 4.6vw, 62px); line-height: 1.12; font-weight: 400; letter-spacing: -0.01em; max-width: 12.5em; }
.foot-tag b { font-weight: 700; display: block; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: 28px; margin-top: clamp(28px, 4vw, 52px); }
.foot-social { display: flex; align-items: center; gap: 10px; }
.site-footer .foot-social li { margin: 0; padding: 0; line-height: 0; font-size: 0; list-style: none; }
.foot-social a { display: grid; place-items: center; width: 40px; height: 40px; background: var(--black); color: var(--white); transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.foot-social a:active { transform: scale(0.94); }
.foot-links { display: grid; grid-template-columns: repeat(4, minmax(0, max-content)); gap: 20px clamp(20px, 3.4vw, 52px); }
.foot-links li + li { margin-top: 10px; }
.foot-links a { color: var(--grey-d); text-decoration: none; }
.foot-h { font-weight: 600; margin-bottom: 14px; }
.site-footer .copy-line { margin-top: clamp(32px, 4vw, 56px); padding-top: 18px; border-top: 1px solid #D9D9D9; color: var(--grey-d); font-size: 13px; }
.site-footer .copy-line a { color: inherit; }
.site-footer :focus-visible { outline-color: var(--black); }
@media (hover: hover) and (pointer: fine) { .foot-social a:hover { background: var(--yellow); color: var(--black); } .foot-links a:hover { color: var(--black); text-decoration: underline; text-underline-offset: 4px; } }
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.brand img { width: clamp(58px, 5.4vw, 72px); }
.brand { display: block; transition: transform 200ms var(--ease-out); }
.brand:active { transform: scale(0.95); }
.site-header .wrap { padding-block: 8px; }

/* ---------- THRIVED: the seven values spell themselves out ----------
   1. each letter rises out of its card, left to right (T-H-R-I-V-E-D)
   2. a yellow wave passes up through the cards in the same order
   3. the word settles in and a yellow underline draws under it
   Hover (mouse only): the card fills yellow from the bottom.
   Only transform, opacity, filter and clip-path are animated. */
.value { position: relative; isolation: isolate; overflow: hidden; }
.value .v-fill { position: absolute; inset: 0; z-index: -1; background: var(--yellow); clip-path: inset(100% 0 0 0); transition: clip-path 280ms var(--ease-out); }
.value b { overflow: hidden; }
.value .v-lt { display: inline-block; transition: transform 240ms var(--ease-out); }
.value .v-word { position: relative; display: inline-block; padding-bottom: 4px; }
.value .v-lt + * { margin: 0; }
.value .v-word::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .value:hover .v-fill { clip-path: inset(0 0 0 0); }
  .value:hover .v-lt { transform: translateY(-3px); }
  .value:hover .v-word::after { background: var(--black); transform: scaleX(1); }
}
html.motion [data-thrived] .v-lt { transform: translateY(110%); }
html.motion [data-thrived] .v-word { opacity: 0; transform: translateY(8px); filter: blur(3px); }
html.motion [data-thrived].in .v-lt { transform: none; transition: transform 760ms var(--ease-out) calc(var(--i) * 85ms); }
html.motion [data-thrived].in .v-word { opacity: 1; transform: none; filter: blur(0); transition: opacity 420ms ease calc(320ms + var(--i) * 85ms), transform 520ms var(--ease-out) calc(320ms + var(--i) * 85ms), filter 420ms ease calc(320ms + var(--i) * 85ms); }
html.motion [data-thrived].in .v-fill { animation: thrived-wave 900ms cubic-bezier(0.77, 0, 0.175, 1) calc(180ms + var(--i) * 85ms) backwards; }
@keyframes thrived-wave {
  0% { clip-path: inset(100% 0 0 0); }
  45% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 100% 0); }
}
@media (hover: hover) and (pointer: fine) {
  html.motion [data-thrived].in .value:hover .v-lt { transform: translateY(-3px); transition: transform 240ms var(--ease-out); }
}
@media (prefers-reduced-motion: reduce) {
  html.motion [data-thrived] .v-lt, html.motion [data-thrived] .v-word { transform: none; filter: none; }
  html.motion [data-thrived].in .v-fill { animation: none; }
}
