/* ==========================================================
   FishnFlame · Landing page
   Brand tokens from the Fish N Flame brand playbook
   ========================================================== */
:root {
  /* Primary */
  --harbor: #005dba;   /* Blue Harbor */
  --bay: #061f33;      /* Blue Bay */
  --shell: #f7f1ea;    /* White Shell */
  --flame: #ff4c2d;    /* Orange Flame */
  /* Secondary */
  --silver: #dae0e8;   /* Silver Scale */
  --teal: #21d2db;     /* Teal Tide */
  --chilli: #d61616;   /* Red Chilli */

  --ink: var(--bay);
  --ink-soft: #33475a;
  --line: rgba(6, 31, 51, .12);

  --f-display: "Outfit", "Juturu", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-script: "Yellowtail", "Hello Radio", cursive;

  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 24px 60px -24px rgba(6, 31, 51, .45);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.1rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--shell);
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
main { overflow-x: hidden; overflow-x: clip; }
strong { font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--flame); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type system: bold display + script accent ---------- */
.eyebrow {
  font: 700 .8rem/1 var(--f-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 18px;
}
.eyebrow--teal { color: var(--teal); }
.eyebrow--bay { color: var(--bay); }

.title { display: flex; flex-direction: column; margin-bottom: 28px; }
.title--center { align-items: center; text-align: center; }
.t-bold {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem);
  letter-spacing: -.035em;
  line-height: .92;
}
.t-script {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(3rem, 1.8rem + 5.4vw, 6.4rem);
  line-height: .8;
  letter-spacing: 0;
  text-transform: lowercase;
  margin-top: -.12em;
  padding-left: .4em;
  transform: rotate(-4deg);
  transform-origin: left center;
}
.title--center .t-script { padding-left: 0; transform-origin: center; }
.t-script.inline { display: inline-block; font-size: 1.2em; padding-left: .05em; margin-top: 0; vertical-align: -.08em; }
.fire-inline { display: inline-block; height: .78em; width: auto; margin: 0 .08em; vertical-align: -.04em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.t-flame { color: var(--flame); }
.t-teal { color: var(--teal); }
.t-shell { color: var(--shell); }
.t-flame-text { color: var(--flame); }
.title--light { color: var(--shell); }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.55; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1.2rem/1 var(--f-body);
  padding: 18px 30px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--flame { background: var(--flame); color: #fff; box-shadow: 0 12px 30px -10px rgba(255, 76, 45, .7); }
.btn--flame:hover { background: #ff6445; }
.btn--ghost { border-color: rgba(247, 241, 234, .55); color: var(--shell); }
.btn--ghost:hover { background: var(--shell); color: var(--bay); }
.btn--sm { font-size: 1rem; padding: 12px 20px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-block: 14px;
  transition: background-color .35s ease, padding .35s ease, box-shadow .35s ease;
}
.nav.is-scrolled { background: rgba(6, 31, 51, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-block: 8px; box-shadow: 0 10px 30px -20px rgba(0,0,0,.6); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.nav__mascot { height: 68px; width: auto; }
.nav__wordmark { height: 64px; width: auto; }
.nav__links .btn + .btn { margin-left: -6px; }
@media (max-width: 1200px) { .nav__links .btn + .btn { margin-left: 0; margin-top: 0; } }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.nav__links a:not(.btn) {
  color: var(--shell); text-decoration: none; font-weight: 500; font-size: .98rem; position: relative; padding-block: 6px; white-space: nowrap;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--flame);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__toggle { display: none; }

@media (max-width: 1200px) {
  .nav__toggle {
    display: grid; gap: 6px; place-content: center;
    width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--flame);
  }
  .nav__toggle span { display: block; width: 22px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 22px;
    background: var(--bay);
    clip-path: circle(0 at calc(100% - 44px) 38px);
    transition: clip-path .55s cubic-bezier(.7,0,.2,1);
    visibility: hidden;
  }
  .nav__links.is-open { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
  .nav__links a:not(.btn) { font-family: var(--f-display); font-weight: 800; font-size: 2rem; text-transform: lowercase; }
  .nav__cta { margin-top: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  color: var(--shell); background: var(--harbor);
  overflow: hidden; isolation: isolate;
  padding: 130px 0 110px;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, 1%); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,31,51,.94) 0%, rgba(6,31,51,.78) 38%, rgba(6,31,51,.12) 70%, rgba(6,31,51,0) 100%),
    linear-gradient(0deg, rgba(6,31,51,.55) 0%, rgba(6,31,51,0) 35%);
}
.hero__content { position: relative; }
.hero__title { display: flex; flex-direction: column; margin-bottom: 26px; }
.hero__title .t-bold { font-size: clamp(3rem, 1.6rem + 6.4vw, 7.4rem); }
.hero__title .t-script { font-size: clamp(3.6rem, 2rem + 7.4vw, 8.6rem); margin: -.08em 0 -.02em; }
.hero__tag { font: 800 clamp(1.1rem, .9rem + .8vw, 1.6rem)/1.2 var(--f-display); letter-spacing: -.01em; color: var(--teal); margin-bottom: 12px; }
.hero__lede { max-width: 30ch; font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); color: rgba(247,241,234,.9); margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badge {
  position: absolute; right: clamp(16px, 5vw, 70px); bottom: clamp(24px, 6vw, 70px);
  width: clamp(120px, 14vw, 180px); aspect-ratio: 1;
  display: grid; place-items: center;
}
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__badge text { font: 700 15px var(--f-body); letter-spacing: .22em; fill: var(--shell); }
.hero__badge img { width: 50%; background: var(--flame); border-radius: 50%; padding: 10%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--flame); color: #fff;
  overflow: hidden; padding-block: 18px;
  transform: rotate(-1.6deg) scale(1.03);
  margin-block: -24px -8px; position: relative; z-index: 3;
  box-shadow: 0 18px 40px -20px rgba(255,76,45,.8);
}
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font: 800 clamp(1.4rem, 1rem + 1.6vw, 2.4rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.marquee span.t-script { font-family: var(--f-script); font-weight: 400; text-transform: lowercase; font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); transform: none; padding: 0; margin: 0; color: var(--bay); }
.marquee i { width: 14px; height: 14px; flex: none; background: var(--bay); border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--shell { background: var(--shell); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Concept ---------- */
.concept { padding-top: calc(var(--section-y) + 20px); }
.concept__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.concept__copy p:not(.lead):not(.eyebrow) { color: var(--ink-soft); }
.ticks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ticks li {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .95rem;
  padding: 10px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line);
}
.ticks li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--flame); }
.concept__art { position: relative; aspect-ratio: 1 / 1.05; }
.concept__main { position: absolute; inset: 0 18% 18% 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #efe7dd; }
.concept__main img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.concept__side { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 2/3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 6px solid var(--shell); }
.concept__side img { width: 100%; height: 100%; object-fit: cover; }
.sticker {
  position: absolute; left: -14px; bottom: 6%;
  width: 120px; height: 120px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  font: 400 1.55rem/.85 var(--f-script);
  transform: rotate(-12deg);
  box-shadow: 0 16px 30px -12px rgba(255,76,45,.8);
}
.sticker--flame { background: var(--flame); color: #fff; }

/* ---------- Goodness ---------- */
.goodness { color: var(--shell); background: var(--bay); overflow: hidden; isolation: isolate; }
.goodness__bg { position: absolute; inset: 0; z-index: -1; }
.goodness__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.goodness__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,31,51,.35), rgba(6,31,51,.9) 75%); }
.goodness__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 70px); }
.goodness__head .lead { color: rgba(247,241,234,.88); }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit {
  padding: 30px 26px 26px; border-radius: var(--radius);
  background: rgba(247,241,234,.07);
  border: 1px solid rgba(247,241,234,.16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .3s ease, background-color .3s ease;
}
.benefit:hover { transform: translateY(-6px); background: rgba(247,241,234,.12); }
.benefit__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--teal); color: var(--bay); margin-bottom: 22px; }
.benefit__icon svg { width: 34px; height: 34px; }
.benefit h3 { font: 800 1.35rem/1.1 var(--f-display); margin-bottom: 10px; }
.benefit p { color: rgba(247,241,234,.82); margin: 0; font-size: .98rem; }

/* ---------- Menu ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(190px, 18vw, 250px);
  grid-auto-flow: dense;
  gap: 16px;
}
.tile { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--silver); isolation: isolate; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.07); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,31,51,.82) 0%, rgba(6,31,51,0) 48%); z-index: 0; }
.tile figcaption {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1;
  color: #fff; font: 800 clamp(1.15rem, 1rem + .6vw, 1.6rem)/1.05 var(--f-display);
  letter-spacing: -.01em;
}
.tile__tag {
  display: table; margin-bottom: 8px;
  font: 700 .72rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  background: var(--flame); color: #fff; padding: 7px 10px; border-radius: 999px;
}
.tile--xl { grid-column: span 2; grid-row: span 2; }
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; grid-row: span 2; }
.bento .tile:last-child { grid-row: span 2; }

.fullmenu {
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--harbor); color: var(--shell);
  position: relative; overflow: hidden;
}
.fullmenu::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  background: url("../logo/mascot.svg") center/contain no-repeat; opacity: .12; transform: rotate(12deg);
}
.fullmenu__title { font: 800 clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem)/1 var(--f-display); text-transform: lowercase; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; position: relative; }
.chips li {
  font-weight: 700; font-size: .98rem; padding: 11px 18px; border-radius: 999px;
  background: rgba(247,241,234,.1); border: 1.5px solid rgba(247,241,234,.3);
  transition: background-color .25s ease, color .25s ease;
}
.chips li:hover { background: var(--shell); color: var(--bay); }
.chips .chip--veg { border-color: #7ee29a; }
.chips .chip--veg::before { content: "● "; color: #7ee29a; }
.fullmenu__note { margin: 0; max-width: 70ch; color: rgba(247,241,234,.9); }

/* ---------- Pillars ---------- */
.pillars { background: var(--harbor); color: var(--shell); overflow: hidden; isolation: isolate; }
.checker {
  position: absolute; inset: -10% -10% auto auto; width: 55%; height: 60%; z-index: -1; opacity: .16;
  background: repeating-conic-gradient(var(--shell) 0 25%, transparent 0 50%) 0 0 / 80px 80px;
  filter: url(#wavy);
  mask-image: radial-gradient(closest-side, #000 40%, transparent);
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent);
  transform: rotate(-8deg);
}
.pillars__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.pillars__head { position: sticky; top: 110px; }
.pillars__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.pillars__img img { width: 100%; height: 100%; object-fit: cover; }
.pillar-list { display: grid; gap: 14px; }
.pillar {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  padding: 26px 28px; border-radius: var(--radius);
  background: rgba(6,31,51,.28); border: 1px solid rgba(247,241,234,.14);
  transition: background-color .3s ease, transform .3s ease;
}
.pillar:hover { background: var(--bay); transform: translateX(6px); }
.pillar__num { font: 800 2.6rem/1 var(--f-display); color: var(--teal); letter-spacing: -.04em; min-width: 2.2ch; }
.pillar h3 { font: 800 1.45rem/1.1 var(--f-display); margin-bottom: 8px; }
.pillar p { margin: 0; color: rgba(247,241,234,.85); }

/* ---------- Scale ---------- */
.scale__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; margin-bottom: clamp(40px, 6vw, 70px); }
.scale__copy p:not(.lead):not(.eyebrow) { color: var(--ink-soft); }
.scale__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; box-shadow: var(--shadow); }
.scale__img img { width: 100%; height: 100%; object-fit: cover; }
.formats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.format {
  padding: 26px 20px; border-radius: var(--radius); background: #fff; border: 1.5px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .3s ease, background-color .3s ease, color .3s ease, border-color .3s ease;
}
.format svg { width: 46px; height: 46px; color: var(--harbor); transition: color .3s ease; }
.format h3 { font: 800 1.1rem/1.15 var(--f-display); }
.format:hover { transform: translateY(-6px); background: var(--flame); color: #fff; border-color: var(--flame); }
.format:hover svg { color: #fff; }

/* ---------- Supply chain ---------- */
.chain { background: var(--bay); color: var(--shell); overflow: hidden; }
.chain .lead { color: rgba(247,241,234,.86); }
.chain__photos {
  display: grid; grid-template-columns: 1fr 1.4fr 1fr 1.4fr 1fr; gap: 12px;
  height: clamp(180px, 24vw, 320px); margin-bottom: 44px;
}
.chain__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.chain__photos img:nth-child(odd) { transform: translateY(-18px); }
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: flow; }
.flow__step {
  position: relative; padding: 22px 18px; border-radius: var(--radius);
  background: rgba(247,241,234,.06); border: 1px solid rgba(247,241,234,.16);
  display: flex; flex-direction: column; gap: 12px;
  font: 800 1.1rem/1.15 var(--f-display);
}
.flow__step:not(:last-child)::after {
  content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--flame); color: #fff;
  display: grid; place-items: center; font: 700 .9rem/1 var(--f-body); z-index: 1;
}
.flow__n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--bay); font: 800 1rem/1 var(--f-display); }
.flow__step--end { background: var(--flame); border-color: var(--flame); }
.flow__step--end .flow__n { background: var(--shell); }
.chain__note { margin: 40px auto 0; max-width: 62ch; text-align: center; color: rgba(247,241,234,.86); font-size: 1.1rem; }

/* ---------- Purpose ---------- */
.purpose { position: relative; background: #f36a1f; color: var(--bay); overflow: hidden; isolation: isolate; min-height: 88vh; display: flex; align-items: center; padding-block: var(--section-y); }
.purpose__media { position: absolute; inset: 0; z-index: -1; }
.purpose__media img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 30%; }
.purpose__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(243,106,31,0) 20%, rgba(243,106,31,.88) 52%, #f36a1f 80%); }
.purpose__inner { display: flex; justify-content: flex-end; }
.purpose__copy { max-width: 560px; }
.purpose__copy p { font-size: 1.12rem; }
.purpose .t-bold { font-size: clamp(2.4rem, 1.5rem + 3.8vw, 4.6rem); }
.quote { margin: 34px 0 0; padding: 30px 30px 26px; border-radius: var(--radius-lg); background: var(--bay); color: var(--shell); position: relative; box-shadow: var(--shadow); }
.quote::before { content: "“"; position: absolute; top: -34px; left: 22px; font: 400 7rem/1 var(--f-script); color: var(--shell); }
.quote p { font: 800 clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem)/1.1 var(--f-display); letter-spacing: -.02em; margin-bottom: 12px; }
.quote p span { color: var(--flame); }
.quote cite { font-style: normal; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 700; }

/* ---------- Vision ---------- */
.vision { background: var(--bay); color: var(--shell); overflow: hidden; }
.vision .lead { color: var(--shell); }
.vision__copy p:not(.lead):not(.eyebrow) { color: rgba(247,241,234,.82); }
.vision__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.vision__num { position: relative; font-family: var(--f-display); font-weight: 800; line-height: .8; }
.vision__num .count {
  font-size: clamp(8rem, 5rem + 14vw, 17rem); letter-spacing: -.06em;
  background: linear-gradient(180deg, var(--teal), var(--harbor));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vision__num .plus { font-size: clamp(4rem, 2.5rem + 6vw, 8rem); color: var(--flame); vertical-align: top; }
.vision__label { display: block; margin-top: 14px; font: 700 1rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--shell); }
.formula {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  margin-top: clamp(50px, 7vw, 90px); padding: clamp(22px, 3vw, 36px);
  border-radius: var(--radius-lg); background: rgba(247,241,234,.05); border: 1px dashed rgba(247,241,234,.25);
}
.formula span { font-weight: 700; padding: 10px 16px; border-radius: 999px; background: var(--harbor); font-size: .98rem; }
.formula b { color: var(--flame); font: 800 1.4rem/1 var(--f-display); }
.formula__result { background: var(--flame) !important; color: #fff; }
.vision__close { margin: 40px auto 0; max-width: 64ch; text-align: center; font-size: 1.15rem; color: rgba(247,241,234,.88); }
.vision__close em { font-style: normal; color: var(--teal); font-weight: 700; }
.vision__photos { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 16px; margin-top: clamp(40px, 6vw, 70px); }
.vision__photos figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.vision__photos figure:nth-child(2) { aspect-ratio: auto; transform: translateY(-30px); }
.vision__photos img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Meet the team ---------- */
.team { overflow: hidden; }
.leaders { display: grid; gap: clamp(70px, 10vw, 130px); margin-top: clamp(10px, 3vw, 30px); }
.leader { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.leader--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.leader--flip .leader__media { order: 2; }
.leader__media { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.leader__blob {
  position: absolute; inset: 8% -9% -7% 9%; z-index: 0;
  background: var(--harbor);
  border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%;
  transform: rotate(-6deg);
}
.leader__blob::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .18;
  background: repeating-conic-gradient(var(--shell) 0 25%, transparent 0 50%) 0 0 / 46px 46px;
}
.leader:nth-child(4n+3) .leader__blob { background: var(--flame); }
.leader:nth-child(4n+4) .leader__blob { background: var(--harbor); }
.leader--flip .leader__blob { inset: 8% 9% -7% -9%; background: var(--bay); transform: rotate(6deg); border-radius: 44% 56% 52% 48% / 56% 44% 56% 44%; }
.leader__photo {
  position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: 34px; overflow: hidden;
  box-shadow: 0 34px 70px -34px rgba(6,31,51,.65);
  border: 6px solid #fff;
}
.leader__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.leader__stat {
  position: absolute; z-index: 2; right: -18px; bottom: 34px;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--flame); color: #fff;
  display: grid; place-content: center; text-align: center; gap: 4px;
  transform: rotate(-8deg);
  box-shadow: 0 18px 34px -14px rgba(255,76,45,.75);
}
.leader__stat strong { font: 800 2.6rem/1 var(--f-display); letter-spacing: -.04em; }
.leader__stat span { font: 700 .72rem/1.2 var(--f-body); letter-spacing: .04em; text-transform: uppercase; max-width: 11ch; margin-inline: auto; }
.leader--flip .leader__stat { right: auto; left: -18px; background: var(--teal); color: var(--bay); transform: rotate(8deg); box-shadow: 0 18px 34px -14px rgba(33,210,219,.7); }
.leader__body .eyebrow { margin-bottom: 12px; }
.leader__name {
  font: 800 clamp(2.3rem, 1.5rem + 2.8vw, 3.8rem)/.95 var(--f-display);
  letter-spacing: -.035em; margin-bottom: 18px;
}
.leader__intro {
  font: 700 clamp(1.08rem, 1rem + .35vw, 1.28rem)/1.45 var(--f-display);
  color: var(--harbor);
  padding-left: 18px; border-left: 4px solid var(--flame);
  margin-bottom: 22px;
}
.leader__body > p:not(.eyebrow):not(.leader__intro) { color: var(--ink-soft); max-width: 62ch; }
.leader__tags { margin-top: 26px; padding-top: 22px; border-top: 1.5px dashed rgba(6,31,51,.18); }
.leader__tags-label { display: block; font: 700 .75rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.leader__tags ul { display: flex; flex-wrap: wrap; gap: 8px; }
.leader__tags li { font-weight: 700; font-size: .88rem; padding: 9px 15px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); }
.leader__tags li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--flame); margin-right: 8px; vertical-align: 1px; }

@media (max-width: 900px) {
  .leader, .leader--flip { grid-template-columns: 1fr; gap: 48px; }
  .leader--flip .leader__media { order: 0; }
  .leader__media { max-width: 400px; }
}
@media (max-width: 640px) {
  .leader__media { max-width: 300px; }
  .leader__stat { width: 108px; height: 108px; right: -10px; bottom: 22px; }
  .leader--flip .leader__stat { left: -10px; }
  .leader__stat strong { font-size: 2.1rem; }
  .leader__stat span { font-size: .62rem; }
}


/* ---------- Closing ---------- */
/* #0059bb matches the background of the logo-animation video so it blends edge to edge */
.closing { position: relative; background: #0059bb; color: var(--shell); overflow: hidden; padding-block: 30px 100px; }
.closing__video { display: block; width: 100%; max-width: 1100px; aspect-ratio: 16 / 9; max-height: 62vh; margin: 0 auto 10px; object-fit: contain; }
.closing__video { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 78%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 78%, transparent 100%); }
.closing__video--tall { display: none; }
@media (max-aspect-ratio: 1/1) {
  .closing__video--wide { display: none; }
  .closing__video--tall { display: block; width: auto; height: 58vh; aspect-ratio: 9 / 16; max-width: 100%; margin-bottom: 10px; }
}
.closing__inner { text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; }
.closing .t-bold { font-size: clamp(2.2rem, 1.4rem + 3.8vw, 4.6rem); }
.closing .lead { color: var(--shell); max-width: 52ch; }
.closing__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--bay); color: rgba(247,241,234,.82); position: relative; padding: 90px 0 30px; }
.wave {
  position: absolute; left: 0; right: 0; top: -1px; height: 46px;
  background: #0059bb;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 46' preserveAspectRatio='none'%3E%3Cpath d='M0 0h120v16c-15 0-15 22-30 22S75 16 60 16 45 38 30 38 15 16 0 16z'/%3E%3C/svg%3E") 0 0 / 240px 46px repeat-x;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 46' preserveAspectRatio='none'%3E%3Cpath d='M0 0h120v16c-15 0-15 22-30 22S75 16 60 16 45 38 30 38 15 16 0 16z'/%3E%3C/svg%3E") 0 0 / 240px 46px repeat-x;
}
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { width: 170px; }
.footer__h { font: 700 .8rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { text-decoration: none; transition: color .2s ease; }
.footer__links a:hover { color: var(--flame); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(247,241,234,.12); font-size: .9rem; }
.footer__base p { margin: 0; }
.footer__sign { font-size: 1.8rem; color: var(--flame); transform: rotate(-4deg); padding: 0; margin: 0; }

/* ---------- Careers page ---------- */
.careers-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--bay); color: var(--shell);
  padding: clamp(130px, 14vw, 170px) 0 clamp(70px, 9vw, 120px);
}
.careers-hero .checker { inset: auto auto -20% -10%; width: 60%; height: 80%; opacity: .1; }
.careers-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.careers-hero .lead { color: rgba(247,241,234,.9); max-width: 50ch; margin-bottom: 32px; }
.careers-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.careers-hero__art { position: relative; padding: 0 0 12% 10%; }
.careers-hero__photo {
  aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
  transform: rotate(2deg);
}
.careers-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.careers-hero__mini {
  position: absolute; left: 0; bottom: 0; width: 40%; aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden; border: 6px solid var(--bay);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.7); transform: rotate(-5deg);
}
.careers-hero__mini img { width: 100%; height: 100%; object-fit: cover; }
.careers-hero__sticker { left: auto; right: -10px; top: -26px; bottom: auto; width: 118px; height: 118px; font-size: 1.5rem; transform: rotate(10deg); }

.roles-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.roles-grid .section-head { margin-bottom: 36px; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.role {
  padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1.5px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.role:hover { transform: translateY(-5px); box-shadow: 0 24px 40px -28px rgba(6,31,51,.5); }
.role__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--harbor); color: #fff; margin-bottom: 18px; }
.role:nth-child(2) .role__icon { background: var(--flame); }
.role:nth-child(3) .role__icon { background: var(--teal); color: var(--bay); }
.role:nth-child(4) .role__icon { background: var(--bay); }
.role__icon svg { width: 28px; height: 28px; }
.role h3 { font: 800 1.25rem/1.1 var(--f-display); margin-bottom: 8px; }
.role p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.roles-grid__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.roles-grid__img img { width: 100%; height: 100%; object-fit: cover; }
.roles-grid__img figcaption {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  padding: 14px 18px; border-radius: 18px;
  background: var(--flame); color: #fff;
  font: 800 clamp(1.3rem, 1.1rem + .6vw, 1.7rem)/1.1 var(--f-display); text-align: center;
}
.roles-grid__img figcaption .t-script { display: inline; font-size: 1.35em; padding: 0; margin: 0; transform: none; color: var(--bay); }

.apply { background: var(--harbor); color: var(--shell); overflow: hidden; }
.apply__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.apply__intro { position: sticky; top: 110px; }
.apply__intro p { color: rgba(247,241,234,.9); }
.apply__intro a { color: var(--shell); font-weight: 700; }
.apply__steps { display: grid; gap: 10px; margin: 28px 0 30px; }
.apply__steps li { display: flex; align-items: center; gap: 14px; font: 700 1.05rem/1 var(--f-display); }
.apply__steps span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(247,241,234,.12); color: var(--teal); font-size: .9rem; }
.apply__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 11; }
.apply__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

.apply__card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 46px); box-shadow: 0 40px 80px -36px rgba(0,0,0,.6); }
.form { display: grid; gap: 30px; }
.form__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__group legend {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 0 0 16px; margin-bottom: 20px;
  font: 800 1.35rem/1 var(--f-display); letter-spacing: -.01em;
  border-bottom: 1.5px solid var(--line);
}
.form__group legend span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--flame); color: #fff; font-size: .85rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field > label, .field__label { font-weight: 700; font-size: .88rem; color: var(--ink); }
.field i { font-style: normal; color: var(--flame); }
.field input, .select select, .field textarea {
  font: 500 1rem/1.4 var(--f-body); color: var(--ink); width: 100%;
  padding: 15px 16px; border-radius: 14px;
  border: 1.5px solid transparent; background: #f3eee7;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #8b96a1; }
.field input:hover, .select select:hover, .field textarea:hover { background: #efe8df; }
.field input:focus, .select select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--harbor); box-shadow: 0 0 0 4px rgba(0,93,186,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--harbor); border-bottom: 2.5px solid var(--harbor); transform: rotate(45deg); pointer-events: none;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span {
  display: block; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  background: #f3eee7; border: 1.5px solid transparent; transition: all .2s ease;
}
.pill:hover span { background: #efe8df; }
.pill input:checked + span { background: var(--harbor); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.drop {
  display: flex; align-items: center; gap: 18px; margin-bottom: 18px;
  padding: 22px; border-radius: 18px; cursor: pointer;
  border: 2px dashed rgba(0,93,186,.35); background: rgba(0,93,186,.04);
  transition: border-color .2s ease, background-color .2s ease;
  position: relative;
}
.drop:hover, .drop.is-over { border-color: var(--harbor); background: rgba(0,93,186,.08); }
.drop.has-file { border-style: solid; border-color: var(--harbor); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { outline: 3px solid var(--teal); outline-offset: 3px; }
.drop__icon { width: 54px; height: 54px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--harbor); color: #fff; }
.drop__icon svg { width: 28px; height: 28px; }
.drop__text { display: grid; gap: 4px; min-width: 0; }
.drop__text strong { font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop__text small { color: var(--ink-soft); font-size: .85rem; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); cursor: pointer; position: relative; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check__box { width: 22px; height: 22px; flex: none; border-radius: 7px; border: 2px solid rgba(6,31,51,.3); background: #fff; display: grid; place-items: center; transition: all .2s ease; margin-top: 1px; }
.check input:checked + .check__box { background: var(--flame); border-color: var(--flame); }
.check input:checked + .check__box::after { content: ""; width: 6px; height: 11px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg) translate(-1px, -1px); }
.check input:focus-visible + .check__box { outline: 3px solid var(--teal); outline-offset: 2px; }
.was-validated .field input:invalid, .was-validated .select select:invalid { border-color: var(--chilli); background: #fff5f4; }
.was-validated .pills:has(input:invalid) span { border-color: rgba(214,22,22,.5); }
.was-validated .check input:invalid + .check__box { border-color: var(--chilli); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__error { margin: 0; padding: 14px 16px; border-radius: 14px; background: #fff1ef; color: var(--chilli); font-weight: 700; font-size: .92rem; }
.form__submit { justify-self: start; border: 0; cursor: pointer; padding-inline: 34px; }
.form__submit:disabled { opacity: .7; cursor: progress; transform: none; }
.form-success { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 30px 0; }
.form-success h3 { font: 800 2rem/1.1 var(--f-display); }
.form-success p { color: var(--ink-soft); max-width: 40ch; }
.form-success img { width: 90px; height: auto; }
.form-success[hidden], .form[hidden] { display: none; }

@media (max-width: 1100px) {
  .roles-grid { grid-template-columns: 1fr; }
  .roles-grid__img { aspect-ratio: 16 / 9; }
}
@media (max-width: 900px) {
  .careers-hero__grid, .apply__grid { grid-template-columns: 1fr; }
  .careers-hero__art { max-width: 560px; }
  .apply__intro { position: static; }
  .apply__img { display: none; }
}
@media (max-width: 640px) {
  .careers-hero__ctas .btn { flex: 1 1 100%; }
  .careers-hero__sticker { width: 92px; height: 92px; font-size: 1.15rem; right: 0; top: -18px; }
  .roles, .form__row { grid-template-columns: 1fr; }
  .roles-grid__img { aspect-ratio: 4 / 3; }
  .apply__card { padding: 22px 18px; }
  .drop { padding: 16px; gap: 14px; }
  .form__submit { justify-self: stretch; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .formats { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .flow__step:nth-child(3)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .concept__grid, .pillars__grid, .scale__grid, .vision__grid { grid-template-columns: 1fr; }
  .concept__art { max-width: 560px; width: 100%; margin-inline: auto; }
  .pillars__head { position: static; }
  .pillars__img { aspect-ratio: 16/10; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .purpose { min-height: 0; padding-top: 0; flex-direction: column; align-items: stretch; }
  .purpose__media { position: relative; height: 62vw; max-height: 480px; }
  .purpose__media::after { background: linear-gradient(0deg, #f36a1f 0%, rgba(243,106,31,0) 45%); }
  .purpose__inner { justify-content: flex-start; margin-top: -40px; }
  .vision__num { text-align: center; }
  .vision__photos figure:nth-child(2) { transform: none; }
}

@media (max-width: 640px) {
  .hero { padding: 110px 0 150px; align-items: flex-end; }
  .hero__media img { object-position: 70% 50%; }
  .hero__shade { background: linear-gradient(0deg, rgba(6,31,51,.96) 0%, rgba(6,31,51,.8) 50%, rgba(6,31,51,.25) 100%); }
  .hero__badge { width: 104px; right: 16px; bottom: 22px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .btn { font-size: 1.125rem; padding: 17px 24px; }
  .nav__mascot { height: 56px; }
  .nav__wordmark { height: 52px; }
  .sticker { width: 96px; height: 96px; font-size: 1.25rem; left: -6px; }
  .benefits { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 10px; }
  .tile--xl { grid-column: span 2; grid-row: span 2; }

  .tile figcaption { left: 14px; right: 14px; bottom: 12px; font-size: 1.05rem; }
  .formats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .format { padding: 20px 16px; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 10px; row-gap: 12px; }
  .flow__step::after { display: none !important; }
  .chain__photos { grid-template-columns: 1fr 1.4fr 1fr; height: 160px; }
  .chain__photos img:nth-child(n+4) { display: none; }
  .pillar { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .pillar:hover { transform: none; }
  .vision__photos { grid-template-columns: 1fr 1fr; }
  .vision__photos figure:nth-child(3) { display: none; }
  .formula span { font-size: .88rem; padding: 8px 12px; }
  .closing__ctas .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__base { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
