/* =============================================================
   OgD — Site stylesheet (variation D: petrol/teal hybrid)
   Used by all pages: home, service-individual, service-sme,
   about, contact. Built on tokens.css.
   ============================================================= */

:root {
  /* — Brand surfaces ---------------------------------------- */
  --paper:     #f5f2e9;
  --paper-2:   #fbf9f1;
  --paper-3:   #ece8d8;
  --ink:       #1a1a17;
  --ink-soft:  #5b574e;
  --ink-mute:  #908a7c;
  --rule:      #cfc9b8;

  --teal:      #1d5a5f;
  --teal-deep: #0e3b3f;
  --teal-soft: #dde7e6;
  --teal-pale: #a4cdcf;

  /* — Type stacks (override generic) ----------------------- */
  --ff-serif: "Shippori Mincho B1", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --ff-sans:  "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --ff-mono:  "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;
  --ff-en:    "EB Garamond", "Cormorant Garamond", serif;

  /* — Scale ------------------------------------------------- */
  --pad-x: clamp(24px, 4vw, 56px);
  --section-y: clamp(64px, 9vw, 96px);

  /* — Motion ------------------------------------------------ */
  --ease-out: cubic-bezier(.16,.84,.32,1);
}

/* =============================================================
   Base reset
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-sans);
  font-feature-settings: "palt";
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: .005em; }

/* =============================================================
   Typography
   ============================================================= */
.serif { font-family: var(--ff-serif); font-weight: 500; letter-spacing: .005em; }
.mono  {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-soft);
}
.mono--teal { color: var(--teal); }
.mono--mute { color: var(--ink-mute); }

.h1 { font-family: var(--ff-serif); font-size: clamp(48px, 7.2vw, 104px); line-height: 1.16; }
.h2 { font-family: var(--ff-serif); font-size: clamp(36px, 4.4vw, 64px); line-height: 1.22; }
.h3 { font-family: var(--ff-serif); font-size: clamp(28px, 2.6vw, 38px); line-height: 1.3; }
.lede { font-size: clamp(15px, 1.15vw, 17px); color: #3a3631; line-height: 1.85; }
.italic { font-style: italic; }
.accent { color: var(--teal); }

/* =============================================================
   Layout
   ============================================================= */
.pad { padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--rule-top    { border-top: 1px solid var(--ink); }
.section--rule-bottom { border-bottom: 1px solid var(--ink); }

.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 24px; margin-bottom: 56px;
  border-bottom: 1px solid var(--ink);
  gap: 24px; flex-wrap: wrap;
}
.section-head__nums { display: flex; gap: 24px; align-items: baseline; flex-shrink: 0; }
.section-head__title { margin: 0; flex: 1; min-width: 280px; text-align: right; }
@media (max-width: 720px) {
  .section-head__title { text-align: left; }
}

/* =============================================================
   Utility strip + Header
   ============================================================= */
.utility {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px var(--pad-x);
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .22em;
  color: var(--ink-soft); text-transform: uppercase;
  border-bottom: 1px solid var(--rule);
}
.utility .accent { color: var(--teal); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 233, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink);
}
.site-header__inner {
  padding: 22px var(--pad-x);
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 32px;
}
.site-header__logo {
  display: flex; align-items: baseline; gap: 12px;
}
.site-header__logo .word {
  font-family: var(--ff-serif); font-weight: 500; font-size: 28px;
  letter-spacing: .02em;
}
.site-header__logo .sub {
  font-family: var(--ff-en); font-style: italic; font-size: 13px; color: var(--ink-soft);
}
.site-nav {
  display: flex; gap: 28px; justify-content: center; font-size: 14px;
  flex-wrap: wrap;
}
.site-nav a {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 4px 0; position: relative;
  transition: color .2s var(--ease-out);
}
.site-nav a .n {
  font-family: var(--ff-mono); font-size: 10px; color: var(--teal); letter-spacing: .18em;
}
.site-nav a:hover { color: var(--teal); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; bottom: -8px; left: 0; right: 0;
  height: 2px; background: var(--teal);
}
.btn-mini {
  background: var(--teal); color: var(--paper); border: 0;
  padding: 11px 20px; font-size: 13px; letter-spacing: .08em;
  transition: background .2s var(--ease-out), transform .2s var(--ease-out);
}
.btn-mini:hover { background: var(--teal-deep); transform: translateY(-1px); }

/* Mobile menu */
.site-nav__toggle {
  display: none; background: transparent; border: 0;
  width: 36px; height: 36px; padding: 0;
}
.site-nav__toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  margin: 5px auto; transition: transform .25s var(--ease-out);
}
@media (max-width: 880px) {
  .site-header__inner { grid-template-columns: auto auto; }
  .site-nav {
    grid-column: 1 / -1; display: none; flex-direction: column;
    padding: 16px 0; border-top: 1px solid var(--rule); gap: 12px;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav__toggle { display: block; }
  .btn-mini { display: none; }
}

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 30px;
  font-size: 14px; letter-spacing: .1em;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  transition: background .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
}
.btn:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--accent { background: var(--teal); border-color: var(--teal); }
.btn--accent:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn-meta {
  font-size: 12px; color: var(--ink-soft); letter-spacing: .08em;
  display: flex; gap: 24px;
}

/* =============================================================
   Footer
   ============================================================= */
.site-footer {
  background: var(--ink); color: #a8a39a;
}
.site-footer__top {
  padding: 72px var(--pad-x) 56px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; border-bottom: 1px solid #2a2a25;
}
@media (max-width: 880px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}
.site-footer__brand .word {
  font-family: var(--ff-serif); font-size: 32px; color: var(--paper);
  letter-spacing: .02em; margin: 0 0 8px;
}
.site-footer__brand .tag {
  font-family: var(--ff-en); font-style: italic; font-size: 14px;
}
.site-footer__brand p {
  margin: 18px 0 0; max-width: 340px; font-size: 13px; line-height: 1.8;
}
.site-footer__col h4 {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--teal-pale); margin: 0 0 18px;
}
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: 10px; font-size: 13px; }
.site-footer__col a { color: var(--paper); }
.site-footer__col a:hover { color: var(--teal-pale); }

.site-footer__bottom {
  padding: 22px var(--pad-x); display: flex; justify-content: space-between;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .2em;
  flex-wrap: wrap; gap: 10px;
}

/* =============================================================
   Hero
   ============================================================= */
.hero {
  padding: clamp(56px, 8vw, 88px) var(--pad-x) clamp(48px, 6vw, 72px);
}
.hero__top {
  display: flex; justify-content: space-between; gap: 24px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.hero__title { margin: 0 0 36px; }
.hero__lede { max-width: 720px; margin: 0; }
.hero__kpi {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr;
  margin-top: 56px;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
@media (max-width: 720px) {
  .hero__kpi { grid-template-columns: 1fr 1fr; }
}
.hero__kpi-cell {
  padding: 24px 28px;
  border-right: 1px solid var(--rule);
}
.hero__kpi-cell:first-child { padding-left: 0; }
.hero__kpi-cell:last-child { border-right: none; }
@media (max-width: 720px) {
  .hero__kpi-cell { border-right: none; border-bottom: 1px solid var(--rule); padding: 20px 0; }
  .hero__kpi-cell:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
}
.hero__kpi-num {
  font-family: var(--ff-serif); font-size: clamp(40px, 4.5vw, 56px);
  line-height: 1; letter-spacing: -.01em;
}
.hero__kpi-num small {
  font-size: 18px; color: var(--teal); margin-left: 6px; font-family: var(--ff-mono);
}
.hero__cta {
  display: flex; gap: 16px; align-items: center;
  margin-top: 36px; flex-wrap: wrap;
}

/* =============================================================
   Service cards (home preview)
   ============================================================= */
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--ink);
}
@media (max-width: 880px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  padding: 36px;
  background: var(--paper);
  border-right: 1px solid var(--ink);
  position: relative;
  display: flex; flex-direction: column;
  transition: background .25s var(--ease-out);
}
.service-card:last-child { border-right: none; }
.service-card:nth-child(2) { background: #fff; }
@media (max-width: 880px) {
  .service-card { border-right: none; border-bottom: 1px solid var(--ink); }
  .service-card:last-child { border-bottom: none; }
}
.service-card:hover { background: var(--paper-2); }
.service-card:nth-child(2):hover { background: var(--paper-2); }
.service-card__head {
  display: flex; justify-content: space-between;
  padding-bottom: 16px; margin-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.service-card__title { margin: 0 0 16px; }
.service-card__lede { margin: 0 0 28px; font-size: 15px; line-height: 1.85; color: #3a3631; }
.service-card__list { list-style: none; padding: 0; margin: 0 0 28px; }
.service-card__list li {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 10px;
  padding: 14px 0; border-top: 1px solid var(--rule);
  font-size: 14px; align-items: center;
}
.service-card__list .n { font-family: var(--ff-mono); font-size: 11px; color: var(--teal); }
.service-card__list .arr { color: var(--ink-soft); }
.service-card__foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px solid var(--ink);
}
.service-card__kpis { display: flex; gap: 24px; }
.service-card__kpis .num {
  font-family: var(--ff-serif); font-size: 24px; color: var(--teal); line-height: 1;
}
.service-card__more {
  font-weight: 600; font-size: 14px; color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 6px;
  transition: gap .2s var(--ease-out), color .2s var(--ease-out);
}
.service-card:hover .service-card__more { gap: 12px; color: var(--teal); }

/* =============================================================
   Concerns grid (3x2 dark-bordered)
   ============================================================= */
.concerns {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--ink); border: 1px solid var(--ink);
}
@media (max-width: 880px) { .concerns { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .concerns { grid-template-columns: 1fr; } }
.concerns__cell {
  background: var(--paper); padding: 32px 28px; min-height: 180px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .25s var(--ease-out);
}
.concerns__cell:hover { background: var(--paper-2); }
.concerns__q {
  font-family: var(--ff-serif); font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5; letter-spacing: .005em;
}

/* =============================================================
   Approach steps
   ============================================================= */
.approach {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
@media (max-width: 880px) { .approach { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .approach { grid-template-columns: 1fr; } }
.approach__step {
  padding: 32px 28px 36px; position: relative;
  background: var(--paper);
  border-right: 1px solid var(--rule);
}
.approach__step:last-child { border-right: 0; }
.approach__step:first-child { background: var(--teal); color: var(--paper); }
.approach__step .step-num {
  font-family: var(--ff-en); font-style: italic;
  font-size: 56px; color: var(--teal); line-height: 1; margin-bottom: 28px;
}
.approach__step:first-child .step-num { color: var(--paper); }
.approach__step .step-label { font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--teal);
  display: block; margin-bottom: 56px; }
.approach__step:first-child .step-label { color: var(--teal-pale); }
.approach__step h4 {
  font-family: var(--ff-serif); font-size: 26px; margin: 0 0 8px;
  line-height: 1.3;
}
.approach__step p { margin: 0; font-size: 13px; opacity: .85; }

/* =============================================================
   Profile band (teal background)
   ============================================================= */
.profile-band {
  background: var(--teal); color: var(--paper);
  padding: var(--section-y) var(--pad-x);
}
.profile-band__head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 24px; margin-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.3);
  gap: 16px; flex-wrap: wrap;
}
.profile-band__head .mono { color: var(--teal-pale); }
.profile-band__grid {
  display: grid; grid-template-columns: 1fr 460px; gap: 80px; align-items: start;
}
@media (max-width: 880px) {
  .profile-band__grid { grid-template-columns: 1fr; gap: 40px; }
}
.profile-band__title {
  font-family: var(--ff-serif); font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.2; margin: 0 0 28px;
}
.profile-band__bio p { margin: 0 0 18px; font-size: 16px; opacity: .92; line-height: 1.85; }
.profile-band__tags {
  margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px;
}
.profile-band__tags span {
  border: 1px solid #fff; padding: 8px 14px;
  font-size: 12px; font-family: var(--ff-mono); letter-spacing: .14em;
}
.profile-band__card {
  background: var(--paper); color: var(--ink); padding: 36px;
}
.profile-band__card .mono { color: var(--teal); margin-bottom: 18px; display: block; }
.profile-band__card-name {
  font-family: var(--ff-serif); font-size: 40px; line-height: 1.1; margin: 0 0 4px;
}
.profile-band__card-en {
  font-family: var(--ff-en); font-style: italic; font-size: 16px;
  color: var(--ink-soft); margin-bottom: 32px;
}
.profile-band__card dl {
  margin: 0; display: grid; grid-template-columns: 84px 1fr; row-gap: 12px; font-size: 13px;
}
.profile-band__card dt {
  color: var(--ink-soft); font-family: var(--ff-mono); letter-spacing: .1em;
}
.profile-band__card dd { margin: 0; }

/* =============================================================
   CTA closer
   ============================================================= */
.cta-closer {
  text-align: center;
  padding: clamp(80px, 12vw, 120px) var(--pad-x) clamp(72px, 10vw, 104px);
  border-top: 1px solid var(--ink);
}
.cta-closer__title {
  font-family: var(--ff-serif); font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.2; margin: 0 auto 40px; max-width: 1100px;
}
.cta-closer__meta {
  margin-top: 24px; font-size: 13px; color: var(--ink-soft);
  display: flex; justify-content: center; gap: 32px; letter-spacing: .08em;
  flex-wrap: wrap;
}

/* =============================================================
   Page-specific: service detail pages
   ============================================================= */
.page-hero {
  padding: clamp(56px, 8vw, 96px) var(--pad-x) clamp(40px, 5vw, 56px);
  border-bottom: 1px solid var(--ink);
}
.page-hero__kicker { display: flex; gap: 16px; margin-bottom: 24px; align-items: baseline; }
.page-hero__title { margin: 0 0 28px; font-family: var(--ff-serif);
  font-size: clamp(48px, 7vw, 96px); line-height: 1.18; }
.page-hero__lede { max-width: 720px; margin: 0 0 32px; font-size: 17px;
  line-height: 1.85; color: #26241f; }
.page-hero__bar {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* offer/use-case grid */
.offer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--ink);
}
@media (max-width: 880px) { .offer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .offer-grid { grid-template-columns: 1fr; } }
.offer-grid__cell {
  padding: 32px 28px; background: var(--paper);
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  transition: background .25s var(--ease-out);
}
.offer-grid__cell:hover { background: var(--paper-2); }
.offer-grid__cell .num { font-family: var(--ff-mono); font-size: 11px;
  color: var(--teal); letter-spacing: .22em; display: block; margin-bottom: 28px; }
.offer-grid__cell h4 { font-family: var(--ff-serif); font-size: 22px;
  margin: 0 0 16px; line-height: 1.4; }
.offer-grid__cell ul { padding: 0; margin: 0; list-style: none; }
.offer-grid__cell li { padding: 6px 0; font-size: 13px; color: #3a3631;
  border-top: 1px dotted var(--rule); }
.offer-grid__cell li:first-child { border-top: 0; }

/* role split (AI vs Human) */
.roles {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 0;
  border: 1px solid var(--ink);
}
@media (max-width: 880px) { .roles { grid-template-columns: 1fr; } }
.roles__col { padding: 36px; background: var(--paper); }
.roles__col:first-child { background: var(--teal); color: var(--paper); }
.roles__divider {
  display: grid; place-items: center; padding: 16px;
  border-left: 1px solid var(--ink); border-right: 1px solid var(--ink);
  font-family: var(--ff-en); font-style: italic; font-size: 24px; color: var(--ink-soft);
  background: var(--paper-2);
}
@media (max-width: 880px) {
  .roles__divider { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
                    border-left: 0; border-right: 0; padding: 8px; }
}
.roles__col h4 { font-family: var(--ff-serif); font-size: 32px;
  margin: 0 0 12px; line-height: 1.3; }
.roles__col ul { padding: 0; margin: 24px 0 0; list-style: none; }
.roles__col li { padding: 12px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.roles__col:first-child li { border-top-color: rgba(255,255,255,.2); }

/* phase cards (SME services) */
.phase {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0;
  border: 1px solid var(--ink);
}
@media (max-width: 880px) { .phase { grid-template-columns: 1fr; } }
.phase__card {
  padding: 36px; background: var(--paper);
  border-right: 1px solid var(--ink);
  display: flex; flex-direction: column;
  transition: background .25s var(--ease-out);
}
.phase__card:last-child { border-right: 0; }
@media (max-width: 880px) {
  .phase__card { border-right: 0; border-bottom: 1px solid var(--ink); }
  .phase__card:last-child { border-bottom: 0; }
}
.phase__card:hover { background: var(--paper-2); }
.phase__card .mono { color: var(--teal); margin-bottom: 16px; display: block; }
.phase__card .phase-tag {
  display: inline-block; align-self: flex-start;
  padding: 4px 12px; margin-bottom: 18px;
  border: 1px solid var(--ink); font-size: 11px; font-family: var(--ff-mono);
  letter-spacing: .18em; text-transform: uppercase;
}
.phase__card h3 { font-family: var(--ff-serif); font-size: 30px;
  margin: 0 0 12px; line-height: 1.3; }
.phase__card p { font-size: 14px; color: #3a3631; line-height: 1.85; margin: 0 0 20px; }
.phase__card ul { padding: 0; margin: 0 0 24px; list-style: none; }
.phase__card li { padding: 10px 0; border-top: 1px solid var(--rule); font-size: 13px; }

/* flow timeline */
.flow {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
@media (max-width: 880px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .flow { grid-template-columns: 1fr; } }
.flow__step { padding: 32px 24px; border-right: 1px solid var(--rule);
  background: var(--paper); }
.flow__step:last-child { border-right: 0; }
.flow__step .mono { color: var(--teal); display: block; margin-bottom: 24px; }
.flow__step h4 { font-family: var(--ff-serif); font-size: 22px;
  margin: 0 0 8px; line-height: 1.3; }
.flow__step p { font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.7; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.faq__item {
  border-bottom: 1px solid var(--rule);
  padding: 24px 0; cursor: pointer;
  display: grid; grid-template-columns: 32px 1fr auto; gap: 16px; align-items: start;
  transition: padding .2s var(--ease-out);
}
.faq__item:hover { background: var(--paper-2); padding-left: 12px; padding-right: 12px; }
.faq__q { font-family: var(--ff-serif); font-size: 20px; line-height: 1.4; }
.faq__n { font-family: var(--ff-en); font-style: italic; font-size: 20px; color: var(--teal); }
.faq__toggle { font-family: var(--ff-mono); font-size: 14px; color: var(--ink-soft);
  transition: transform .25s var(--ease-out); }
.faq__item.is-open .faq__toggle { transform: rotate(45deg); }
.faq__a {
  grid-column: 2 / 3;
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease-out), margin-top .4s var(--ease-out);
  font-size: 14px; color: #3a3631; line-height: 1.85;
}
.faq__item.is-open .faq__a { max-height: 240px; margin-top: 16px; }

/* For You list */
.foryou { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.foryou__row {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
  align-items: center; transition: padding .25s var(--ease-out);
}
.foryou__row:hover { padding-left: 16px; padding-right: 16px; background: var(--paper-2); }
.foryou__row .num {
  font-family: var(--ff-en); font-style: italic; font-size: 28px; color: var(--teal);
}
.foryou__row .label {
  font-family: var(--ff-serif); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4;
}
.foryou__row .arr { font-family: var(--ff-mono); font-size: 13px; color: var(--teal-deep);
  transition: transform .2s var(--ease-out); }
.foryou__row:hover .arr { transform: translateX(6px); }

/* Marquee */
.marquee {
  background: var(--ink); color: var(--paper); overflow: hidden;
  padding: 18px 0; white-space: nowrap;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.marquee__track {
  display: inline-flex; gap: 60px; animation: marquee 36s linear infinite;
  font-family: var(--ff-serif); font-style: italic; font-size: 28px;
  letter-spacing: .04em;
}
.marquee__track > span { white-space: nowrap; }
.marquee__track .dot { opacity: .4; color: var(--teal-pale); margin: 0 24px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================================
   Scroll animations (set is-in via IntersectionObserver)
   ============================================================= */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-stagger.is-in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: .00s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .07s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .35s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: .42s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: .49s; }

/* serif headline reveal — mask wipe */
.reveal-head {
  display: inline-block; overflow: hidden; line-height: 1.16;
}
.reveal-head .line {
  display: block; transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
.reveal-head.is-in .line { transform: translateY(0); }
.reveal-head.is-in .line:nth-child(2) { transition-delay: .12s; }
.reveal-head.is-in .line:nth-child(3) { transition-delay: .24s; }
.reveal-head.is-in .line:nth-child(4) { transition-delay: .36s; }

/* counted number reveal */
.reveal-num { opacity: 0; transition: opacity .8s var(--ease-out) .2s; }
.reveal-num.is-in { opacity: 1; }

/* respect motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *, .reveal-head .line, .reveal-num {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .marquee__track { animation: none; }
}
