/* ==========================================================================
   Tandemic — modern site stylesheet (2026 rebuild)
   Design language: keeps the coral brand + geometric character, modernised
   ========================================================================== */

:root {
  /* Brand */
  --coral: #E8482F;
  --coral-600: #D33B23;
  --coral-700: #B82F19;
  --coral-tint: #FDEDE9;
  --coral-glow: rgba(232, 72, 47, .35);

  /* Ink & neutrals */
  --ink: #16161D;
  --ink-soft: #2C2C38;
  --slate: #5A5B6A;
  --slate-light: #8A8B99;
  --line: #E7E8EF;
  --cloud: #F5F6FB;
  --cloud-2: #EEF0F7;
  --white: #FFFFFF;

  /* Type */
  --font-display: "Sora", "Titillium Web", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(22,22,29,.06);
  --shadow-md: 0 18px 40px -18px rgba(22,22,29,.22);
  --shadow-lg: 0 40px 80px -30px rgba(22,22,29,.32);
  --shadow-coral: 0 18px 38px -14px var(--coral-glow);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

/* ----- Typography ----- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
.h-xl { font-size: clamp(2.5rem, 1.6rem + 4.4vw, 4.75rem); }
.h-lg { font-size: clamp(2rem, 1.4rem + 2.9vw, 3.25rem); }
.h-md { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); }
.h-sm { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.4rem); }
p { color: var(--slate); }
.lead { font-size: clamp(1.1rem, 1rem + .55vw, 1.4rem); color: var(--ink-soft); line-height: 1.55; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--coral);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--coral); border-radius: 2px; }
.eyebrow.is-light { color: #fff; }
.eyebrow.is-light::before { background: rgba(255,255,255,.7); }

/* ----- Layout ----- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--cloud); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head p { margin-top: 1.1rem; font-size: 1.1rem; }

/* ----- Buttons ----- */
.btn {
  --btn-bg: var(--coral); --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: 100px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  background: var(--btn-bg); color: var(--btn-fg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-coral); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { --btn-fg: var(--coral); box-shadow: inset 0 0 0 1.5px var(--coral); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn--outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn--lg { padding: 1.1rem 2.1rem; font-size: 1.05rem; }

.textlink { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--coral); }
.textlink svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.brand { display: flex; align-items: center; gap: .6rem; z-index: 2; }
.brand img { height: 34px; width: auto; transition: opacity .35s var(--ease); }
.brand .logo-white { position: absolute; }
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-weight: 500; font-size: .98rem; position: relative; color: var(--nav-fg, #fff); transition: color .25s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--coral);
  transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--coral); }
.nav__links a:hover::after { width: 100%; }

/* transparent state over hero */
.site-header { --nav-fg: #fff; }
.brand .logo-coral { opacity: 0; }
.brand .logo-white { opacity: 1; }

/* scrolled / solid state */
.site-header.is-solid {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
  --nav-fg: var(--ink);
}
.site-header.is-solid .brand .logo-coral { opacity: 1; }
.site-header.is-solid .brand .logo-white { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 2; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--nav-fg, #fff); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, background .3s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
body.menu-open .nav-toggle span { background: #fff; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; gap: 0;
    clip-path: circle(0% at calc(100% - 44px) 40px); transition: clip-path .55s var(--ease); pointer-events: none; }
  body.menu-open .nav { clip-path: circle(150% at calc(100% - 44px) 40px); pointer-events: auto; }
  .nav__links { flex-direction: column; gap: 0; width: 100%; max-width: 420px; }
  .nav__links a { color: #fff; font-family: var(--font-display); font-size: 1.7rem; padding: .55rem 0; opacity: 0; transform: translateY(14px); }
  body.menu-open .nav__links a { animation: navIn .5s var(--ease) forwards; }
  body.menu-open .nav__links a:nth-child(1){animation-delay:.12s}
  body.menu-open .nav__links a:nth-child(2){animation-delay:.18s}
  body.menu-open .nav__links a:nth-child(3){animation-delay:.24s}
  body.menu-open .nav__links a:nth-child(4){animation-delay:.30s}
  .nav .btn { margin-top: 1.4rem; opacity: 0; }
  body.menu-open .nav .btn { animation: navIn .5s var(--ease) .36s forwards; }
}
@keyframes navIn { to { opacity: 1; transform: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.4s var(--ease), transform 7s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(110deg, rgba(20,16,18,.86) 0%, rgba(30,20,18,.6) 42%, rgba(232,72,47,.34) 100%),
    linear-gradient(0deg, rgba(15,12,14,.55), rgba(15,12,14,0) 45%);
}
.hero__mark {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: min(58vw, 720px); z-index: -1;
  opacity: .08; pointer-events: none;
}
.hero__inner { padding-block: 8rem 6rem; max-width: 940px; }
.hero h1 { color: #fff; margin-top: 1.4rem; text-wrap: balance; }
.hero__sub { margin-top: 1.6rem; max-width: 620px; color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }
.hero__controls { position: absolute; bottom: 2.2rem; left: 0; right: 0; }
.hero__dots { display: flex; gap: .55rem; }
.hero__dots button { width: 30px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.35); transition: background .3s, width .3s; }
.hero__dots button.is-active { background: #fff; width: 48px; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: grid; place-items: center; gap: .5rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero__scroll i { width: 1px; height: 38px; background: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,0)); animation: scrollPulse 2s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100%{transform:scaleY(.4);opacity:.4;transform-origin:top} 50%{transform:scaleY(1);opacity:1;transform-origin:top} }
@media (max-width: 600px){ .hero__scroll{ display:none; } .hero__inner{ padding-block: 7rem 7rem; } }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats { background: var(--coral); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); line-height: 1; letter-spacing: -.03em; }
.stat__label { margin-top: .6rem; font-size: .92rem; color: rgba(255,255,255,.85); letter-spacing: .02em; }
@media (max-width: 680px){ .stats__grid{ grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; } }

/* ==========================================================================
   Service cards
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: var(--coral-tint); color: var(--coral); margin-bottom: 1.5rem; transition: background .4s var(--ease), color .4s var(--ease); }
.card__icon svg { width: 30px; height: 30px; }
.card:hover .card__icon { background: var(--coral); color: #fff; }
.card h3 { margin-bottom: .75rem; }
.card p { font-size: 1rem; }
@media (max-width: 860px){ .cards{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .cards{ grid-template-columns: 1fr; } }

/* ==========================================================================
   Split / about
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__badge { position: absolute; left: 1.4rem; bottom: 1.4rem; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-radius: 14px; padding: 1rem 1.3rem; box-shadow: var(--shadow-md); }
.split__badge strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--coral); display: block; line-height: 1; }
.split__badge span { font-size: .82rem; color: var(--slate); }
.split__body p + p { margin-top: 1.1rem; }
.split__body .btn { margin-top: 2rem; }
@media (max-width: 860px){ .split{ grid-template-columns: 1fr; } .split__media{ order: -1; aspect-ratio: 16/10; } }

/* ----- Approach list ----- */
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.approach__item { padding-top: 1.5rem; border-top: 2px solid var(--line); transition: border-color .4s; }
.approach__item:hover { border-color: var(--coral); }
.approach__num { font-family: var(--font-display); font-weight: 700; color: var(--coral); font-size: 1rem; letter-spacing: .1em; }
.approach__item h3 { font-size: 1.3rem; margin: .8rem 0 .6rem; }
@media (max-width: 760px){ .approach{ grid-template-columns: 1fr; } }

/* ==========================================================================
   Programs
   ========================================================================== */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.program {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 360px; display: flex; align-items: flex-end;
  color: #fff; isolation: isolate;
}
.program img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.program::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,16,18,0) 30%, rgba(20,16,18,.85) 100%); transition: background .5s; }
.program:hover img { transform: scale(1.06); }
.program:hover::after { background: linear-gradient(180deg, rgba(232,72,47,.25) 0%, rgba(20,16,18,.9) 100%); }
.program__body { padding: clamp(1.5rem, 3vw, 2rem); }
.program__tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8); font-weight: 600; }
.program h3 { color: #fff; margin: .5rem 0 .6rem; font-size: 1.5rem; }
.program p { color: rgba(255,255,255,.82); font-size: .96rem; }
.program .textlink { color: #fff; margin-top: 1rem; }
@media (max-width: 860px){ .programs{ grid-template-columns: 1fr; } }

/* ==========================================================================
   Clients / trusted by
   ========================================================================== */
.clients__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(2rem, 6vw, 4.5rem); }
.clients__row img { height: clamp(34px, 5vw, 46px); width: auto; filter: grayscale(1); opacity: .55; transition: opacity .35s, filter .35s; }
.clients__row img:hover { opacity: 1; filter: grayscale(0); }

/* ==========================================================================
   Team
   ========================================================================== */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.25rem); }
.member { }
.member__photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5/5.6; box-shadow: var(--shadow-sm); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.member__photo img.is-color { position: absolute; inset: 0; opacity: 0; }
.member:hover .member__photo img.is-color { opacity: 1; }
.member:hover .member__photo img { transform: scale(1.04); }
.member__name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-top: 1.1rem; }
.member__role { color: var(--coral); font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.member__bio { margin-top: .8rem; font-size: .96rem; }
@media (max-width: 760px){ .team{ grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; } }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta { position: relative; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 5rem); overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(circle, var(--coral) 0%, transparent 62%); opacity: .5; z-index: -1; }
.cta__grid { display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.8); margin-top: .9rem; max-width: 46ch; }
@media (max-width: 760px){ .cta__grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding-block: clamp(3.5rem, 6vw, 5rem) 2.5rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand img { height: 40px; margin-bottom: 1.2rem; }
.footer__brand p { color: rgba(255,255,255,.6); font-size: .95rem; max-width: 32ch; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__col a, .footer__col li { display: block; padding: .3rem 0; font-size: .96rem; color: rgba(255,255,255,.7); transition: color .25s; }
.footer__col a:hover { color: var(--coral); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 2rem; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer__social { display: flex; gap: .8rem; }
.footer__social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .3s, transform .3s; }
.footer__social a:hover { background: var(--coral); transform: translateY(-3px); }
.footer__social svg { width: 17px; height: 17px; }
@media (max-width: 860px){ .footer__top{ grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px){ .footer__top{ grid-template-columns: 1fr; } }

/* ==========================================================================
   Interior pages
   ========================================================================== */
.page-hero { position: relative; color: #fff; padding: clamp(8rem, 14vw, 11rem) 0 clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgba(20,16,18,.9) 0%, rgba(30,20,18,.66) 48%, rgba(232,72,47,.4) 100%); }
.page-hero h1 { color: #fff; max-width: 16ch; margin-top: 1.1rem; text-wrap: balance; }
.page-hero__sub { margin-top: 1.3rem; max-width: 60ch; color: rgba(255,255,255,.85); font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); line-height: 1.5; }
.page-hero .hero__cta { margin-top: 2rem; }
.breadcrumb { display: flex; gap: .5rem; font-size: .82rem; color: rgba(255,255,255,.7); letter-spacing: .04em; }
.breadcrumb a:hover { color: #fff; }

.prose { max-width: 760px; }
.prose p { font-size: 1.1rem; line-height: 1.7; }
.prose p + p { margin-top: 1.3rem; }
.prose .lead { color: var(--ink-soft); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.feature { padding: clamp(1.5rem, 2.5vw, 2rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--coral-tint); color: var(--coral); margin-bottom: 1.2rem; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.feature p { font-size: .98rem; }
@media (max-width: 820px){ .feature-grid{ grid-template-columns: 1fr; } }

/* detail / goals grid */
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem); }
.detail h3 { font-size: 1.3rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.detail h3 .pill { font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: var(--coral); background: var(--coral-tint); padding: .25rem .6rem; border-radius: 100px; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .85rem; color: var(--slate); line-height: 1.55; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--coral-tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8482F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }
@media (max-width: 720px){ .detail-grid{ grid-template-columns: 1fr; } }

/* phases timeline */
.phases { counter-reset: phase; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.phase-row { background: #fff; padding: clamp(1.5rem, 3vw, 2.2rem); display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; transition: background .35s var(--ease); }
.phase-row:hover { background: var(--cloud); }
.phase-row__num { counter-increment: phase; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--coral); width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--coral-tint); }
.phase-row__num::before { content: counter(phase, decimal-leading-zero); }
.phase-row h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.phase-row p { font-size: 1rem; }
@media (max-width: 560px){ .phase-row{ grid-template-columns: 1fr; gap: .9rem; } .phase-row__num{ width:48px;height:48px;font-size:1.2rem; } }

/* simple article / legal prose */
.article { max-width: 760px; }
.article h2 { font-size: clamp(1.5rem,1.2rem+1vw,2rem); margin: 2.5rem 0 1rem; }
.article h3 { font-size: 1.25rem; margin: 1.8rem 0 .8rem; }
.article p, .article li { color: var(--slate); line-height: 1.7; }
.article p { margin-bottom: 1.1rem; }
.article ul { margin: 0 0 1.3rem; }
.article ul li { position: relative; padding-left: 1.5rem; margin-bottom: .55rem; }
.article ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.article a { color: var(--coral); text-decoration: underline; text-underline-offset: 3px; }

/* job listings + perks */
.jobs { display: grid; gap: 1.25rem; }
.job { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.job:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.job__tag { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.job h3 { font-size: 1.4rem; margin: .5rem 0 .6rem; }
.job p { font-size: 1rem; max-width: 60ch; }
.job .btn { white-space: nowrap; }
@media (max-width: 640px){ .job{ grid-template-columns: 1fr; } }

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.perk { text-align: center; padding: 1.5rem; }
.perk__icon { width: 56px; height: 56px; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 16px; background: rgba(255,255,255,.1); color: #fff; }
.perk__icon svg { width: 28px; height: 28px; }
.perk h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.section--ink .perk p { color: rgba(255,255,255,.7); }
@media (max-width: 680px){ .perks{ grid-template-columns: 1fr; } }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"]{ transition-delay: .08s; }
[data-reveal-delay="2"]{ transition-delay: .16s; }
[data-reveal-delay="3"]{ transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__slide { transition: opacity .4s; transform: none; }
}
