/* =========================================================
   FOG ADVISORY — v3
   Orange · Grey · Black · White
   Ledger-inspired professional layout
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,700&family=Inter:wght@300;400;500;600;700&family=Noto+Serif+JP:wght@400;500;700&display=swap');

:root {
  /* Ink & paper */
  --ink:            #0A0A0A;
  --ink-soft:       #1A1A1A;
  --paper:          #FFFFFF;
  --paper-soft:     #F7F7F7;

  /* Grey scale */
  --grey-900:       #2E2E2E;
  --grey-700:       #4A4A4A;
  --grey-500:       #6E6E6E;
  --grey-400:       #8E8E8E;
  --grey-300:       #B4B4B4;
  --grey-200:       #D8D8D8;
  --grey-100:       #EDEDED;

  /* Accent — the one orange */
  --orange:         #D9531F;
  --orange-hover:   #ED6220;
  --orange-tint:    rgba(217, 83, 31, 0.08);

  /* Rules */
  --hairline:       #E4E4E4;
  --ledger-line:    #D8D8D8;

  /* Type */
  --serif:          'Playfair Display', Georgia, serif;
  --sans:           'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --jp:             'Noto Serif JP', 'Playfair Display', serif;

  /* Scale */
  --gutter:         24px;
  --shell:          1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--grey-700);
  background: var(--paper);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Numerals aligned for tabular data */
.tabular { font-variant-numeric: tabular-nums; }

/* =========================================================
   SHELL & SECTIONS
   ========================================================= */

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: 96px 0;
}

section.tight { padding: 64px 0; }
section.tall { padding: 120px 0; }

.on-dark {
  background: var(--ink);
  color: var(--grey-200);
}

.on-dark .divider { border-color: rgba(255,255,255,0.12); }

.on-soft { background: var(--paper-soft); }

/* Ledger horizontal rule — the signature layout device */
.ledger-rule {
  border: 0;
  border-top: 1px solid var(--ledger-line);
  margin: 0;
}

.ledger-rule.orange {
  border-top: 1px solid var(--orange);
  opacity: 0.4;
}

/* =========================================================
   TOP META BAR
   ========================================================= */

.meta {
  background: var(--ink);
  color: var(--grey-300);
  font-size: 11px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.meta .shell {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.meta a { color: inherit; }
.meta a:hover { color: var(--orange); }
.meta .left, .meta .right { display: flex; gap: 24px; }

/* =========================================================
   NAV
   ========================================================= */

.nav {
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky; top: 0; z-index: 50;
}
.nav .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand .mark {
  width: 42px; height: 42px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--ink-soft);
}
.brand .mark img { width: 100%; height: 100%; object-fit: cover; }
.brand .wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--paper);
  text-transform: uppercase;
}
.brand .sub {
  display: block;
  font-family: var(--jp);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--grey-400);
  margin-top: 2px;
}

.nav-links {
  display: flex; gap: 36px;
  list-style: none;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--grey-300);
}
.nav-links a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--paper);
  border-bottom-color: var(--orange);
}

.nav-cta {
  font-size: 13px; letter-spacing: 0.04em;
  padding: 10px 18px;
  color: var(--paper);
  border: 1px solid var(--orange);
  background: transparent;
  transition: background .15s, color .15s;
}
.nav-cta:hover { background: var(--orange); }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero .shell {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-copy .eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--orange);
  margin-bottom: 24px;
  display: block;
}
.hero-copy .jp {
  font-family: var(--jp);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1.2em;
  color: var(--grey-400);
  margin-bottom: 24px;
}
.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 32px;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--orange);
  font-weight: 500;
}
.hero-copy p.lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--grey-300);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  font-size: 14px;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  font-family: var(--sans);
  font-weight: 500;
}
.btn-primary {
  background: var(--orange);
  color: var(--paper);
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,0.24);
}
.btn-ghost:hover { border-color: var(--paper); }

.btn-dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-dark:hover { background: var(--grey-900); }

.hero-visual {
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-visual img {
  width: 100%; height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: brightness(0.95) contrast(1.05);
}
.hero-visual .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9), transparent);
  padding: 32px 24px 20px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--grey-300);
}

/* =========================================================
   SECTION HEAD
   ========================================================= */

.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--ledger-line);
}

.on-dark .sec-head { border-bottom-color: rgba(255,255,255,0.12); }

.sec-head .label {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--orange);
  margin-bottom: 16px;
  display: block;
}
.sec-head .jp {
  font-family: var(--jp);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.8em;
  color: var(--grey-400);
  margin-bottom: 20px;
}
.on-dark .sec-head .jp { color: var(--grey-500); }

.sec-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.on-dark .sec-head h2 { color: var(--paper); }
.sec-head h2 em { font-style: italic; color: var(--orange); font-weight: 500; }

.sec-head p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--grey-700);
}
.on-dark .sec-head p { color: var(--grey-300); }

/* =========================================================
   FOUR FRAMEWORKS
   ========================================================= */

.frameworks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

.framework {
  background: var(--paper);
  padding: 40px 36px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
}

.framework .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  font-weight: 500;
  color: var(--orange);
  line-height: 1;
  padding-top: 8px;
}
.framework .num-label {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--grey-400);
  margin-top: 12px;
  font-weight: 500;
}

.framework h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 6px;
}
.framework .q {
  font-family: var(--jp);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--grey-400);
  margin-bottom: 16px;
  font-style: italic;
}
.framework p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey-700);
  margin-bottom: 20px;
}
.framework .reach {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--orange);
  border-top: 1px solid var(--hairline);
  padding-top: 16px;
  display: block;
}
.framework .reach strong { color: var(--grey-900); font-weight: 500; }

/* =========================================================
   SERVICE CATALOG (nine codes → 4 public)
   ========================================================= */

.catalog {
  border: 1px solid var(--hairline);
}

.catalog-row {
  display: grid;
  grid-template-columns: 60px 1.3fr 2fr 1fr;
  padding: 24px 32px;
  border-bottom: 1px solid var(--hairline);
  align-items: center;
}
.catalog-row:last-child { border-bottom: 0; }

.catalog-row.head {
  background: var(--ink);
  color: var(--grey-300);
  font-size: 11px;
  letter-spacing: 0.18em;
  padding-top: 14px;
  padding-bottom: 14px;
}

.catalog-row .code {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  color: var(--orange);
}
.catalog-row .code-head {
  font-family: var(--sans);
  font-style: normal;
  color: var(--grey-300);
  font-size: 11px;
  font-weight: 500;
}

.catalog-row h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 4px;
}
.catalog-row .scope {
  font-size: 13px;
  color: var(--grey-500);
  line-height: 1.5;
}

.catalog-row .rate {
  font-size: 20px;
  font-weight: 500;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.catalog-row .rate .fee {
  display: block;
  font-size: 12px;
  color: var(--grey-500);
  font-weight: 400;
  margin-top: 4px;
}

/* =========================================================
   PACKAGES
   ========================================================= */

.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

.package {
  background: var(--paper);
  padding: 48px 36px 40px;
  display: flex; flex-direction: column;
}

.package .tier {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--orange);
  margin-bottom: 20px;
}
.package h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 4px;
}
.package .timing {
  font-family: var(--jp);
  font-style: italic;
  font-size: 13px;
  color: var(--grey-500);
  margin-bottom: 28px;
}

.package .price {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.package .price .unit {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--grey-500);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-left: 8px;
}

.package .lede {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey-700);
  margin: 28px 0 24px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

.package ul {
  list-style: none;
  font-size: 13px;
  color: var(--grey-700);
  margin-bottom: 32px;
}
.package ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: start;
}
.package ul li:last-child { border-bottom: 0; }
.package ul li::before {
  content: "·";
  color: var(--orange);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}

.package .middle {
  background: var(--ink);
  color: var(--grey-200);
}
.package.middle h3, .package.middle .price { color: var(--paper); }
.package.middle .lede, .package.middle ul { color: var(--grey-300); }
.package.middle ul li { border-bottom-color: rgba(255,255,255,0.08); }
.package.middle .price .unit { color: var(--grey-400); }
.package.middle .timing { color: var(--grey-400); }

/* =========================================================
   CASE STUDY PREVIEW
   ========================================================= */

.case {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.case-visual {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--ink);
}
.case-visual img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.9);
}

.case-body .label {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--orange);
  margin-bottom: 20px;
  display: block;
}
.case-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 24px;
}
.case-body h3 em { font-style: italic; color: var(--orange); font-weight: 500; }

.case-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey-700);
  margin-bottom: 16px;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 36px 0;
  padding: 28px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.case-stats .stat .n {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  display: block;
  line-height: 1;
}
.case-stats .stat .unit {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--grey-500);
  font-weight: 400;
  margin-left: 4px;
}
.case-stats .stat .lbl {
  font-size: 12px;
  color: var(--grey-500);
  margin-top: 8px;
  display: block;
}

/* =========================================================
   PARTNER NOTE
   ========================================================= */

.partners {
  background: var(--ink);
  color: var(--grey-200);
  padding: 120px 0;
}

.partners .shell { max-width: 900px; }

.partners .label {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--orange);
  margin-bottom: 32px;
  display: block;
}
.partners blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.4;
  color: var(--paper);
  margin-bottom: 40px;
  font-style: italic;
  letter-spacing: -0.01em;
}
.partners blockquote em { color: var(--orange); font-style: italic; }

.partners .body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey-300);
  margin-bottom: 40px;
  columns: 2;
  column-gap: 48px;
}
.partners .body p { margin-bottom: 16px; break-inside: avoid; }

.partners .sig {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--grey-400);
}
.partners .sig strong { color: var(--paper); font-weight: 500; font-family: var(--serif); font-size: 16px; letter-spacing: 0; }

/* =========================================================
   CTA BAND
   ========================================================= */

.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  color: var(--paper);
  margin-bottom: 20px;
}
.cta-band h2 em { color: var(--orange); font-style: italic; font-weight: 500; }
.cta-band p {
  font-size: 16px;
  color: var(--grey-300);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.cta-band .actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  background: var(--ink);
  color: var(--grey-400);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
footer .top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
footer .brand .wordmark { color: var(--paper); }
footer .brand-block { max-width: 340px; }
footer .brand-block .tag {
  font-family: var(--serif);
  font-style: italic;
  color: var(--grey-300);
  font-size: 18px;
  margin: 24px 0;
  line-height: 1.4;
}
footer .brand-block .contact {
  font-size: 13px;
  color: var(--grey-400);
  line-height: 1.8;
}
footer .brand-block .contact a { color: var(--grey-300); }
footer .brand-block .contact a:hover { color: var(--orange); }

footer .col h5 {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 20px;
  font-weight: 500;
}
footer .col ul { list-style: none; }
footer .col ul li { margin-bottom: 12px; font-size: 14px; }
footer .col a { color: var(--grey-300); }
footer .col a:hover { color: var(--paper); }

footer .bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--grey-500);
  letter-spacing: 0.04em;
}
footer .bottom .wordmark-lg {
  font-family: var(--serif);
  font-size: 60px;
  color: rgba(255,255,255,0.06);
  letter-spacing: 0.06em;
  font-weight: 500;
  position: absolute;
  right: 24px;
  bottom: 40px;
  pointer-events: none;
}
footer .shell { position: relative; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 960px) {
  .hero .shell { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .sec-head { grid-template-columns: 1fr; gap: 24px; }
  .frameworks { grid-template-columns: 1fr; }
  .packages { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; }
  .partners .body { columns: 1; }
  footer .top { grid-template-columns: 1fr 1fr; }
  footer .brand-block { grid-column: 1 / -1; }
  .catalog-row { grid-template-columns: 40px 1.2fr 1.5fr 1fr; padding: 20px 20px; }
  .meta .left, .meta .right { gap: 12px; }
  .meta .left span:nth-child(1) { display: none; }
  section { padding: 64px 0; }
  .partners { padding: 80px 0; }
  .cta-band { padding: 72px 0; }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .hero-copy h1 { font-size: 44px; }
  .hero { padding: 64px 0 80px; }
  .catalog-row {
    grid-template-columns: 40px 1fr;
    row-gap: 12px;
  }
  .catalog-row > *:nth-child(3), .catalog-row > *:nth-child(4) {
    grid-column: 2;
  }
  .catalog-row.head { display: none; }
  .case-stats { grid-template-columns: 1fr; gap: 16px; }
  footer .top { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   MISC
   ========================================================= */

::selection { background: var(--orange); color: var(--paper); }

/* Focus states for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   INTERIOR PAGE HEADERS
   ========================================================= */

.page-header {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 96px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-header .shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.page-header .eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--orange);
  margin-bottom: 20px;
  display: block;
}
.page-header .jp {
  font-family: var(--jp);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.8em;
  color: var(--grey-500);
  margin-bottom: 24px;
}
.page-header h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.page-header h1 em {
  font-style: italic;
  color: var(--orange);
  font-weight: 500;
}
.page-header .lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--grey-300);
  padding-bottom: 8px;
}

@media (max-width: 960px) {
  .page-header .shell { grid-template-columns: 1fr; gap: 32px; }
  .page-header { padding: 56px 0 72px; }
}

/* =========================================================
   FAILURE MODE CARDS (Methodology)
   ========================================================= */

.failure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.failure {
  background: var(--paper);
  padding: 36px 32px;
}
.failure .label {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--orange);
  margin-bottom: 20px;
  display: block;
}
.failure h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.15;
}
.failure p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey-700);
}

/* =========================================================
   FRAMEWORK DEEP DIVE (Methodology)
   ========================================================= */

.fw-deep {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 80px 0;
  border-bottom: 1px solid var(--hairline);
}
.fw-deep:last-child { border-bottom: 0; }
.fw-deep .num-block {
  position: sticky; top: 120px; align-self: start;
}
.fw-deep .big-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 140px;
  line-height: 0.9;
  color: var(--orange);
}
.fw-deep .num-tag {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--grey-500);
  margin-top: 20px;
  display: block;
}
.fw-deep h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 12px;
}
.fw-deep h3 em { color: var(--orange); font-style: italic; font-weight: 500; }
.fw-deep .question {
  font-family: var(--jp);
  font-style: italic;
  font-size: 15px;
  color: var(--grey-500);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.fw-deep p.body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--grey-700);
  margin-bottom: 32px;
  max-width: 640px;
}
.fw-deep .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.fw-deep .cols h5 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  color: var(--orange);
  margin-bottom: 16px;
}
.fw-deep .cols ul {
  list-style: none;
  font-size: 13px;
  line-height: 1.9;
  color: var(--grey-700);
}
.fw-deep .cols ul li {
  padding-left: 18px;
  position: relative;
}
.fw-deep .cols ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--orange);
}

@media (max-width: 960px) {
  .fw-deep { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; }
  .fw-deep .num-block { position: static; }
  .fw-deep .big-num { font-size: 96px; }
  .fw-deep .cols { grid-template-columns: 1fr; gap: 24px; }
}

/* =========================================================
   INTEGRATION TABLE (Methodology)
   ========================================================= */

.integration {
  border: 1px solid var(--hairline);
}
.integration-row {
  display: grid;
  grid-template-columns: 60px 1.4fr 1.5fr 1.5fr;
  padding: 24px 28px;
  border-bottom: 1px solid var(--hairline);
  align-items: start;
  gap: 24px;
}
.integration-row:last-child { border-bottom: 0; }
.integration-row.head {
  background: var(--ink);
  color: var(--grey-300);
  font-size: 11px;
  letter-spacing: 0.18em;
  padding-top: 14px;
  padding-bottom: 14px;
  align-items: center;
}
.integration-row .num-cell {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  color: var(--orange);
  line-height: 1;
}
.integration-row .q-cell {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  font-style: italic;
}
.integration-row .q-cell small {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  color: var(--grey-500);
  margin-top: 6px;
  letter-spacing: 0.06em;
}
.integration-row .cell {
  font-size: 13px;
  line-height: 1.6;
  color: var(--grey-700);
}

@media (max-width: 720px) {
  .integration-row { grid-template-columns: 40px 1fr; row-gap: 8px; }
  .integration-row .cell { grid-column: 2; font-size: 12px; }
  .integration-row.head { display: none; }
}

/* =========================================================
   PHASE CARDS (Methodology)
   ========================================================= */

.phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.phase {
  background: var(--paper);
  padding: 36px 24px 32px;
}
.phase.dark {
  background: var(--ink);
  color: var(--grey-200);
}
.phase .label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 20px;
  display: block;
}
.phase h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.1;
}
.phase.dark h4 { color: var(--paper); }
.phase p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--grey-700);
  margin-bottom: 18px;
}
.phase.dark p { color: var(--grey-300); }
.phase .foreground {
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--orange);
}
.phase.dark .foreground { border-top-color: rgba(255,255,255,0.14); }

@media (max-width: 720px) { .phases { grid-template-columns: 1fr; } }

/* =========================================================
   OUTPUT CATEGORIES (Methodology)
   ========================================================= */

.outputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.output {
  border-top: 2px solid var(--orange);
  padding: 24px 0;
}
.output h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.15;
}
.output p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey-700);
}

@media (max-width: 720px) { .outputs { grid-template-columns: 1fr; } }

/* =========================================================
   TIMELINE (Case Study & About)
   ========================================================= */

.timeline {
  border-left: 1px solid var(--orange);
  padding-left: 40px;
  max-width: 800px;
}
.timeline-item {
  padding-bottom: 44px;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -46px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--orange);
}
.timeline-item.done::before { background: var(--orange); }
.timeline-item .date {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 10px;
  display: block;
}
.timeline-item h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.2;
}
.timeline-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--grey-700);
  max-width: 620px;
}

/* =========================================================
   MARKET COMPARISON (Case Study)
   ========================================================= */

.compare {
  border: 1px solid var(--hairline);
}
.compare-row {
  display: grid;
  grid-template-columns: 2fr 3fr 1.4fr;
  padding: 22px 28px;
  border-bottom: 1px solid var(--hairline);
  align-items: center;
  gap: 24px;
}
.compare-row:last-child { border-bottom: 0; }
.compare-row.head {
  background: var(--ink);
  color: var(--grey-300);
  font-size: 11px;
  letter-spacing: 0.18em;
  padding-top: 14px;
  padding-bottom: 14px;
}
.compare-row.fog {
  background: var(--orange-tint);
}
.compare-row .cat {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
}
.compare-row.fog .cat { color: var(--ink); font-style: italic; }
.compare-row .desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--grey-700);
}
.compare-row .rate {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.compare-row.fog .rate { color: var(--ink); font-weight: 600; }

@media (max-width: 720px) {
  .compare-row { grid-template-columns: 1fr; row-gap: 8px; padding: 20px; }
  .compare-row.head { display: none; }
  .compare-row .rate { text-align: left; }
}

/* =========================================================
   INTAKE STATE CARDS (Case Study)
   ========================================================= */

.intake {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.intake-card {
  background: var(--paper);
  padding: 32px;
}
.intake-card .n {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  color: var(--orange);
  line-height: 1;
  display: block;
  margin-bottom: 20px;
}
.intake-card h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 21px;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.2;
}
.intake-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey-700);
}

@media (max-width: 720px) { .intake { grid-template-columns: 1fr; } }

/* =========================================================
   TEAM (About)
   ========================================================= */

.team {
  display: grid;
  gap: 80px;
}
.team-member {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--hairline);
  align-items: start;
}
.team-member:last-child { border-bottom: 0; padding-bottom: 0; }
.team-portrait {
  aspect-ratio: 3/4;
  background: var(--ink);
  color: var(--grey-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 500;
  font-style: italic;
}
.team-member .role {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 14px;
  display: block;
}
.team-member h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 36px;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 8px;
}
.team-member .credential {
  font-family: var(--jp);
  font-style: italic;
  font-size: 15px;
  color: var(--grey-500);
  margin-bottom: 28px;
}
.team-member .bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey-700);
  margin-bottom: 24px;
  max-width: 640px;
}
.team-member .meta {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--grey-500);
  letter-spacing: 0.02em;
}
.team-member .meta strong {
  color: var(--orange);
  font-weight: 500;
  letter-spacing: 0.14em;
  margin-right: 8px;
  font-size: 10px;
}

@media (max-width: 720px) {
  .team-member { grid-template-columns: 1fr; gap: 32px; }
  .team-portrait { max-width: 200px; }
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 24px;
}
.contact-info p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey-700);
  margin-bottom: 32px;
}
.contact-list {
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
  list-style: none;
}
.contact-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--grey-700);
  align-items: center;
}
.contact-list li strong {
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 0.2em;
  font-weight: 500;
}
.contact-list li a { color: var(--ink); font-weight: 500; }
.contact-list li a:hover { color: var(--orange); }

.contact-panel {
  background: var(--ink);
  color: var(--grey-200);
  padding: 48px 40px;
}
.contact-panel .label {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--orange);
  margin-bottom: 24px;
  display: block;
}
.contact-panel h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--paper);
  margin-bottom: 20px;
  line-height: 1.2;
}
.contact-panel p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey-300);
  margin-bottom: 24px;
}
.contact-panel .steps {
  list-style: none;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.contact-panel .steps li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.contact-panel .steps li:last-child { border-bottom: 0; }
.contact-panel .steps .n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--orange);
  line-height: 1;
}
.contact-panel .steps h5 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  color: var(--paper);
  margin-bottom: 4px;
}
.contact-panel .steps p {
  font-size: 13px;
  color: var(--grey-400);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

/* =========================================================
   PROSE / LONG-FORM
   ========================================================= */

.prose {
  max-width: 720px;
}
.prose p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--grey-700);
  margin-bottom: 20px;
}
.prose p strong { color: var(--ink); font-weight: 500; }
.prose h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--ink);
  margin: 40px 0 16px;
}
.prose h3 em { color: var(--orange); font-style: italic; font-weight: 500; }
