/* =========================================================
   合同会社Link — style.css
   Base: Deep Navy × Off-white / Accent: Champagne Gold
   ========================================================= */

:root {
  --navy-900: #0A1522;
  --navy-800: #0E1B2C;
  --navy-700: #16273D;
  --navy-600: #22385A;
  --paper: #F6F4EF;
  --paper-2: #EEEAE1;
  --white: #FFFFFF;
  --ink: #1A2433;
  --ink-soft: #4A5566;
  --ink-mute: #7A8494;
  --gold: #B89A5E;
  --gold-soft: #D9C69B;
  --line-green: #06C755;
  --line-green-dark: #05A847;
  --rule: rgba(14, 27, 44, .12);
  --rule-dark: rgba(217, 198, 155, .22);

  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;

  --gutter: 20px;
  --container: 1120px;
  --header-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --header-h: 76px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .04em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  word-break: auto-phrase;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 16px; } }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
strong { font-weight: 700; }
small { font-size: .82em; }

.pc { display: none; }
@media (min-width: 768px) { .pc { display: inline; } .sp { display: none; } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--white); padding: 8px 16px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* 【要確認】マーカー:公開前に必ず差し替える箇所 */
.tbc {
  display: inline;
  background: #FFE372;
  color: #4D3B00;
  font-weight: 700;
  font-size: .88em;
  padding: .1em .4em;
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  letter-spacing: .02em;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.section { position: relative; padding: 96px 0; }
@media (min-width: 768px) { .section { padding: 152px 0; } }
.section--light { background: var(--paper); }
.section--paper { background: var(--paper-2); }
.section--dark { background: var(--navy-800); color: #E7EAF0; }

/* ---------- Page thread (一本の線) ---------- */
.thread {
  position: fixed; top: 0; bottom: 0; left: 28px; width: 1px; z-index: 40;
  background: rgba(184, 154, 94, .18); pointer-events: none; display: none;
}
.thread__fill {
  position: absolute; inset: 0; background: var(--gold);
  transform-origin: top; transform: scaleY(0);
}
.thread__fill::after {
  content: ""; position: absolute; left: -3px; bottom: -3px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(184, 154, 94, .2);
}
@media (min-width: 1200px) { .thread { display: block; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 14px 28px; border-radius: 999px;
  font-weight: 700; letter-spacing: .08em; line-height: 1.4;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
  cursor: pointer;
}
.btn--line { position: relative; overflow: hidden; isolation: isolate; background: var(--line-green); color: var(--white); box-shadow: 0 10px 28px -10px rgba(6, 199, 85, .7); }
.btn--line::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); transition: left .8s var(--ease);
}
.btn--line:hover::before { left: 120%; }
.btn--line:hover { background: var(--line-green-dark); transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(6, 199, 85, .8); }
.ico-line { width: 1.35em; height: 1.35em; fill: currentColor; flex: none; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 13px; }
.btn--lg { min-height: 60px; padding: 16px 36px; font-size: 16px; }
.btn--xl { width: 100%; min-height: 84px; padding: 18px 28px; font-size: 18px; border-radius: 20px; }
.btn--xl .ico-line { width: 34px; height: 34px; }
.btn--xl span { display: flex; flex-direction: column; text-align: left; }
.btn--xl small { font-weight: 500; font-size: 12px; opacity: .9; letter-spacing: .06em; margin-top: 2px; }
@media (min-width: 768px) { .btn--xl { font-size: 22px; min-height: 104px; } .btn--xl small { font-size: 13px; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, color .4s;
  color: var(--white);
}
.header.is-scrolled { background: rgba(246, 244, 239, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); box-shadow: 0 1px 0 var(--rule); }
.header__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.logo__mark circle { fill: var(--gold); stroke: none; }
.logo__text { font-family: var(--font-serif); font-weight: 700; font-size: 16px; letter-spacing: .12em; }
.nav { display: none; gap: 28px; font-size: 13px; letter-spacing: .1em; }
.nav a { position: relative; padding: 4px 0; opacity: .85; transition: opacity .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta { display: none; }
@media (min-width: 1200px) { .nav { display: flex; } }
@media (min-width: 768px) { .header__cta { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(184, 154, 94, .14), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(34, 56, 90, .9), transparent 60%),
    var(--navy-800);
  color: var(--white); overflow: hidden;
  padding: calc(var(--header-h) + 48px) 0 120px;
}
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.hero__eyebrow {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-family: var(--font-en); font-style: italic; font-size: 15px; letter-spacing: .14em; color: var(--gold-soft);
  margin-bottom: 28px;
}
.hero__eyebrow span { font-style: normal; font-weight: 500; color: var(--gold); padding-right: 14px; border-right: 1px solid rgba(217, 198, 155, .4); }
.hero__title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(38px, 10.5vw, 88px); line-height: 1.32; letter-spacing: .06em;
}
.hero__line { display: block; overflow: hidden; }
.hero__line + .hero__line { color: var(--gold-soft); }
.hero__promise {
  display: inline-block; margin-top: 28px;
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(19px, 4.6vw, 28px); letter-spacing: .1em;
  padding: 6px 0 10px; border-bottom: 1px solid var(--gold);
}
.hero__lead { margin-top: 28px; max-width: 36em; font-size: 14.5px; line-height: 2.1; color: rgba(231, 234, 240, .86); }
@media (min-width: 768px) { .hero__lead { font-size: 16px; } }
.hero__cta { margin-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero__note { font-size: 12.5px; color: rgba(231, 234, 240, .7); letter-spacing: .08em; }
@media (max-width: 479px) { .hero__cta .btn { width: 100%; } }

.hero__net {
  position: absolute; z-index: 1; right: -40%; top: 8%; width: 130%; max-width: 760px; opacity: .45;
}
@media (min-width: 768px) { .hero__net { right: -6%; top: 50%; transform: translateY(-50%); width: 58%; opacity: .9; } }
.hero__lines path { fill: none; stroke: var(--gold); stroke-width: 1; stroke-opacity: .55; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3.2s var(--ease) .4s forwards; }
.hero__lines path:nth-child(2) { animation-delay: .7s; }
.hero__lines path:nth-child(3) { animation-delay: 1s; }
.hero__lines path:nth-child(4) { animation-delay: 1.3s; }
.hero__lines path:nth-child(5) { animation-delay: 1.6s; }
.hero__nodes circle { fill: var(--gold-soft); opacity: 0; animation: pop .8s var(--ease) forwards; }
.hero__nodes circle:nth-child(n) { animation-delay: calc(.3s + var(--i, 0) * .12s); }
.hero__nodes circle.is-core { fill: var(--gold); filter: drop-shadow(0 0 10px rgba(184, 154, 94, .8)); animation: pop .8s var(--ease) 1.2s forwards, pulse 3.6s ease-in-out 2.2s infinite; transform-origin: 300px 300px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }

.hero__vertical {
  display: none; position: absolute; right: var(--gutter); bottom: 120px; z-index: 2;
  writing-mode: vertical-rl; font-family: var(--font-serif); font-size: 13px; letter-spacing: .5em; color: rgba(217, 198, 155, .6);
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-en); font-size: 12px; letter-spacing: .3em; color: rgba(217, 198, 155, .7);
}
.hero__scroll span { width: 1px; height: 48px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 768px) { .hero__scroll { display: flex; } }

/* hero entrance */
.hero__eyebrow, .hero__line, .hero__promise, .hero__lead, .hero__cta { opacity: 0; transform: translateY(18px); animation: rise 1.1s var(--ease) forwards; }
.hero__line:nth-child(1) { animation-delay: .15s; }
.hero__line:nth-child(2) { animation-delay: .35s; }
.hero__promise { animation-delay: .6s; }
.hero__lead { animation-delay: .8s; }
.hero__cta { animation-delay: 1s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Section heading ---------- */
.sec-head { position: relative; margin-bottom: 56px; }
@media (min-width: 768px) { .sec-head { margin-bottom: 80px; } }
.sec-head__num {
  display: flex; align-items: center; gap: 20px;
  font-family: var(--font-en); font-weight: 500; font-size: clamp(64px, 16vw, 112px); line-height: .9; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px var(--gold);
}
.sec-head__num::after { content: ""; height: 1px; width: 72px; align-self: center; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.sec-head.is-visible .sec-head__num::after { transform: scaleX(1); }
.sec-head__en {
  margin-top: 16px; font-family: var(--font-en); font-style: italic; font-weight: 500;
  font-size: 15px; letter-spacing: .14em; color: var(--ink-mute);
}
.sec-head__title {
  margin-top: 6px; font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(26px, 6.6vw, 42px); line-height: 1.5; letter-spacing: .08em;
}
.sec-head__desc { margin-top: 20px; color: var(--ink-soft); font-size: 14.5px; }
.sec-head--dark .sec-head__en { color: rgba(217, 198, 155, .6); }
.sec-head--dark .sec-head__title { color: var(--white); }
.sec-head--dark .sec-head__desc { color: rgba(231, 234, 240, .78); }
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__num { justify-content: center; }
.sec-head--center .sec-head__num::before { content: ""; height: 1px; width: 56px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 1.2s var(--ease) .2s; }
.sec-head--center.is-visible .sec-head__num::before { transform: scaleX(1); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 01 Problems ---------- */
.problems { display: grid; gap: 0; border-top: 1px solid var(--rule); }
@media (min-width: 768px) { .problems { grid-template-columns: 1fr 1fr; column-gap: 64px; border-top: 0; } }
.problems__item {
  position: relative; padding: 28px 0 28px 0; border-bottom: 1px solid var(--rule);
}
@media (min-width: 768px) { .problems__item { padding: 36px 0; } .problems__item:nth-child(-n+2) { border-top: 1px solid var(--rule); } }
.problems__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--gold);
}
.problems__tag::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.problems__item p { margin-top: 10px; font-family: var(--font-serif); font-weight: 500; font-size: 17px; line-height: 1.9; color: var(--ink); }
@media (min-width: 768px) { .problems__item p { font-size: 18px; } }

.bridge {
  position: relative; margin-top: 72px; padding: 48px 28px; text-align: center;
  background: var(--navy-800); color: var(--white); border-radius: 4px; overflow: hidden;
}
.bridge::before {
  content: ""; position: absolute; left: 50%; top: -1px; width: 1px; height: 36px; background: var(--gold);
}
@media (min-width: 768px) { .bridge { margin-top: 104px; padding: 72px 48px; } }
.bridge__lead { font-family: var(--font-serif); font-weight: 700; font-size: clamp(21px, 5.2vw, 30px); line-height: 1.7; letter-spacing: .08em; }
.bridge__text { margin-top: 20px; color: rgba(231, 234, 240, .82); font-size: 14.5px; }
.bridge__text strong { color: var(--gold-soft); font-weight: 700; }

/* ---------- 02 Reasons ---------- */
.stance {
  display: grid; gap: 20px; margin-bottom: 64px; padding: 40px 0 48px;
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--rule-dark);
}
@media (min-width: 900px) { .stance { grid-template-columns: 5fr 6fr; column-gap: 64px; padding: 56px 0 64px; margin-bottom: 40px; } .stance__label { grid-column: 1 / -1; } }
.stance__label { font-family: var(--font-en); font-style: italic; font-size: 16px; letter-spacing: .12em; color: var(--gold); }
.stance__title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(22px, 5.6vw, 32px); line-height: 1.7; letter-spacing: .06em; color: var(--white); text-wrap: balance; }
.stance__text { font-size: 15px; line-height: 2.1; color: rgba(231, 234, 240, .84); }
.stance__text strong { color: var(--gold-soft); }
.section--dark { background:
  radial-gradient(70% 60% at 100% 0%, rgba(184, 154, 94, .08), transparent 60%),
  var(--navy-800); }
.reasons { display: grid; gap: 0; counter-reset: r; }
@media (min-width: 768px) { .reasons { grid-template-columns: 1fr 1fr; } }
.reason { position: relative; padding: 40px 0; border-top: 1px solid var(--rule-dark); }
@media (min-width: 768px) {
  .reason { padding: 56px 48px 56px 0; }
  .reason:nth-child(even) { padding: 56px 0 56px 48px; border-left: 1px solid var(--rule-dark); }
  .reason:nth-child(n+3) { border-bottom: 0; }
}
.reason__num { display: block; font-family: var(--font-en); font-style: italic; font-size: 44px; line-height: 1; color: var(--gold); }
.reason__title { margin-top: 20px; font-family: var(--font-serif); font-weight: 700; font-size: clamp(22px, 5.4vw, 28px); line-height: 1.6; letter-spacing: .06em; color: var(--white); }
.reason p { margin-top: 18px; color: rgba(231, 234, 240, .78); font-size: 14.5px; }

.owner-view {
  margin-top: 56px; padding: 32px 28px; border: 1px solid var(--rule-dark); border-radius: 4px;
  display: grid; gap: 12px;
}
@media (min-width: 768px) { .owner-view { grid-template-columns: 220px 1fr; align-items: center; padding: 40px 48px; margin-top: 72px; } }
.owner-view__label { font-family: var(--font-en); font-style: italic; font-size: 16px; letter-spacing: .12em; color: var(--gold); }
.owner-view__text { font-family: var(--font-serif); font-size: 16px; line-height: 2; color: #E7EAF0; }
.owner-view__text strong { color: var(--gold-soft); }

/* ---------- 03 Services ---------- */
.services { display: grid; gap: 16px; }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(4, 1fr); gap: 20px; } .service { padding: 32px 24px 28px; } .service::before { left: 24px; right: 24px; } }
.service-group + .service-group { margin-top: 72px; }
.service--wide { display: grid; gap: 0; }
@media (min-width: 768px) { .service--wide { grid-template-columns: 72px 1fr; column-gap: 32px; align-items: start; padding: 40px 40px; } .service--wide::before { left: 40px; right: 40px; } .service--wide .service__en { margin-top: 0; } .service--wide .service__text { max-width: 46em; } }
@media (min-width: 768px) { .service-group + .service-group { margin-top: 96px; } }
.service-group__title {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-serif); font-weight: 700; font-size: clamp(18px, 4.4vw, 22px); letter-spacing: .08em;
}
.service-group__title span { font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: 1.5em; line-height: 1; color: var(--gold); }
.service {
  position: relative; padding: 36px 28px 32px; background: var(--white);
  border: 1px solid var(--rule); border-radius: 4px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.service::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(14, 27, 44, .35); }
.service:hover::before { transform: scaleX(1); }
.service__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(184, 154, 94, .45); transition: background-color .5s var(--ease), border-color .5s; }
.service:hover .service__icon { background: rgba(184, 154, 94, .1); border-color: var(--gold); }
.service--wide .service__icon { width: 72px; height: 72px; }
.service__icon svg { width: 32px; height: 32px; fill: none; stroke: var(--navy-700); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.service__en { margin-top: 24px; font-family: var(--font-en); font-style: italic; font-size: 14px; letter-spacing: .1em; color: var(--gold); }
.service__title { margin-top: 4px; font-family: var(--font-serif); font-weight: 700; font-size: 18px; line-height: 1.65; letter-spacing: .04em; }
.service__text { margin-top: 14px; font-size: 14px; line-height: 1.95; color: var(--ink-soft); }
.service__badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--navy-700);
  padding: 4px 12px; border: 1px solid var(--gold); border-radius: 999px;
}
.service__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-green); box-shadow: 0 0 0 3px rgba(6, 199, 85, .18); }
.service--feature { background: var(--navy-800); border-color: var(--navy-800); color: #E7EAF0; }
.service--feature .service__icon svg { stroke: var(--gold-soft); }
.service--feature .service__title { color: var(--white); }
.service--feature .service__text { color: rgba(231, 234, 240, .8); }
.service--feature .service__badge { color: var(--gold-soft); }
.services__note { margin-top: 48px; text-align: center; font-size: 14.5px; color: var(--ink-soft); }
.services__note strong { color: var(--ink); border-bottom: 1px solid var(--gold); }

/* ---------- Value ---------- */
.value { background:
  radial-gradient(60% 50% at 0% 0%, rgba(184, 154, 94, .1), transparent 60%),
  var(--navy-800); }
.value__head { max-width: 760px; }
.value__label { font-family: var(--font-en); font-style: italic; font-size: 16px; letter-spacing: .14em; color: var(--gold); }
.value__title { margin-top: 8px; font-family: var(--font-serif); font-weight: 700; font-size: clamp(28px, 7vw, 48px); line-height: 1.5; letter-spacing: .08em; color: var(--white); }
.value__lead { margin-top: 24px; font-size: 15px; line-height: 2.1; color: rgba(231, 234, 240, .84); }

.value__chain { position: relative; display: grid; gap: 28px; margin-top: 56px; padding-left: 32px; }
.value__chain::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 1px; background: var(--gold); }
.value__chain li { position: relative; display: flex; flex-direction: column; gap: 4px; }
.value__dot { position: absolute; left: -32px; top: 8px; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--gold); background: var(--navy-800); }
.value__chain li:last-child .value__dot { background: var(--gold); box-shadow: 0 0 0 5px rgba(184, 154, 94, .2); }
.value__chain b { font-family: var(--font-serif); font-size: 18px; color: var(--white); letter-spacing: .04em; }
.value__chain small { font-size: 13px; color: rgba(231, 234, 240, .65); }
@media (min-width: 900px) {
  .value__chain { grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 32px 0 0; margin-top: 72px; }
  .value__chain::before { left: 6px; right: 6px; top: 6px; bottom: auto; width: auto; height: 1px; }
  .value__dot { left: 0; top: -32px; }
}

.value__compare { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 768px) { .value__compare { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; } }
.value__col { padding: 28px 24px; border: 1px solid var(--rule-dark); border-radius: 4px; }
@media (min-width: 768px) { .value__col { padding: 36px 36px; } }
.value__col-label { font-family: var(--font-serif); font-weight: 700; font-size: 17px; color: rgba(231, 234, 240, .7); letter-spacing: .06em; }
.value__col ul { margin-top: 16px; display: grid; gap: 10px; font-size: 14.5px; color: rgba(231, 234, 240, .7); }
.value__col li { position: relative; padding-left: 20px; }
.value__col li::before { content: ""; position: absolute; left: 0; top: .95em; width: 10px; height: 1px; background: rgba(231, 234, 240, .4); }
.value__col--link { background: var(--paper); border-color: var(--gold); }
.value__col--link .value__col-label { color: var(--navy-800); }
.value__col--link ul { color: var(--ink); }
.value__col--link li::before { background: var(--gold); height: 2px; }

/* ---------- 04 Case ---------- */
.case { background: var(--white); border: 1px solid var(--rule); border-radius: 4px; padding: 36px 24px; }
@media (min-width: 768px) { .case { padding: 64px 64px 56px; } }
.case__label { font-family: var(--font-en); font-style: italic; font-size: 16px; letter-spacing: .14em; color: var(--gold); }
.case__client { margin-top: 10px; font-size: 13px; color: var(--ink-mute); letter-spacing: .08em; }
.case__title { margin-top: 6px; font-family: var(--font-serif); font-weight: 700; font-size: clamp(20px, 5vw, 28px); line-height: 1.6; }
.case__status { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--navy-700); }
.case__status span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-green); box-shadow: 0 0 0 4px rgba(6, 199, 85, .18); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 7px rgba(6, 199, 85, .05); } }

.case__ba { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 768px) { .case__ba { grid-template-columns: 1fr 1fr; gap: 24px; } }
.case__col { padding: 28px 24px; border-radius: 4px; }
.case__col--before { background: var(--paper); }
.case__col--after { background: var(--navy-800); color: #E7EAF0; }
.case__col-label { font-family: var(--font-en); font-style: italic; font-size: 14px; letter-spacing: .14em; color: var(--ink-mute); }
.case__col--after .case__col-label { color: var(--gold); }
.case__col h4 { margin-top: 4px; font-family: var(--font-serif); font-size: 17px; }
.case__col--after h4 { color: var(--white); }
.case__col ul { margin-top: 14px; display: grid; gap: 8px; font-size: 14px; line-height: 1.85; }
.case__col li { position: relative; padding-left: 18px; }
.case__col li::before { content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 1px; background: var(--gold); }
.case__tbc { margin-top: 14px; }

.case__flow { margin-top: 48px; }
.case__flow figcaption { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--ink-mute); margin-bottom: 20px; }
.case__flow ol { position: relative; display: grid; gap: 22px; padding-left: 28px; }
.case__flow ol::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--gold); }
.case__flow li { position: relative; display: flex; flex-direction: column; }
.case__node { position: absolute; left: -28px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--white); border: 1px solid var(--gold); }
.case__flow li:last-child .case__node { background: var(--gold); }
.case__flow b { font-family: var(--font-serif); font-size: 16px; }
.case__flow small { margin-top: 2px; color: var(--ink-mute); font-size: 12.5px; }
@media (min-width: 900px) {
  .case__flow ol { grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 28px 0 0; }
  .case__flow ol::before { left: 6px; right: 6px; top: 6px; bottom: auto; width: auto; height: 1px; }
  .case__node { left: 0; top: -28px; }
}

.case__metrics { display: grid; gap: 0; margin-top: 48px; border-top: 1px solid var(--rule); }
@media (min-width: 768px) { .case__metrics { grid-template-columns: repeat(3, 1fr); } .case__metrics > div + div { border-left: 1px solid var(--rule); padding-left: 24px; } }
.case__metrics > div { padding: 20px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 768px) { .case__metrics > div { border-bottom: 0; padding-top: 24px; } }
.case__metrics dt { font-size: 12.5px; color: var(--ink-mute); letter-spacing: .08em; }
.case__metrics dd { margin-top: 6px; }

/* ---------- 05 Flow ---------- */
.steps { position: relative; display: grid; gap: 0; padding-left: 36px; }
.steps::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(var(--gold), var(--gold) 85%, rgba(184, 154, 94, .2)); }
@media (min-width: 768px) { .steps { padding-left: 64px; } .steps::before { left: 15px; } }
.step { position: relative; padding: 0 0 48px; }
.step::before {
  content: ""; position: absolute; left: -36px; top: 8px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--gold);
}
@media (min-width: 768px) { .step::before { left: -56px; } }
.step__num { font-family: var(--font-en); font-style: italic; font-size: 15px; letter-spacing: .12em; color: var(--gold); }
.step__title { margin-top: 4px; font-family: var(--font-serif); font-weight: 700; font-size: clamp(19px, 4.6vw, 24px); letter-spacing: .06em; }
.step p { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); }
.step--last { padding-bottom: 0; }
.step--last::before { background: var(--gold); box-shadow: 0 0 0 6px rgba(184, 154, 94, .18); }
.step--last .step__title { display: inline; background: linear-gradient(transparent 62%, rgba(184, 154, 94, .3) 62%); }

/* ---------- 06 Message ---------- */
.message { display: grid; gap: 40px; }
@media (min-width: 900px) { .message { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } }
.message__photo { position: relative; max-width: 280px; }
@media (min-width: 900px) { .message__photo { max-width: 420px; } }
.message__photo::after { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--gold); border-radius: 2px; z-index: 0; }
.photo-placeholder, .message__photo img {
  position: relative; z-index: 1; aspect-ratio: 4 / 5; width: 100%; border-radius: 2px; object-fit: cover;
}
.message__photo img { height: auto; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.message__caption {
  position: absolute; z-index: 2; left: -1px; bottom: 24px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 20px 12px 18px; background: var(--navy-900); color: var(--white);
  font-family: var(--font-serif); font-size: 15px; letter-spacing: .24em;
  border-left: 2px solid var(--gold);
}
.message__caption span { font-family: var(--font-en); font-style: italic; font-size: 12px; letter-spacing: .14em; color: var(--gold); }
.photo-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(160deg, var(--navy-600), var(--navy-900));
  border: 1px dashed rgba(217, 198, 155, .45); color: rgba(217, 198, 155, .75);
}
.photo-placeholder span { font-family: var(--font-en); font-style: italic; font-size: 32px; letter-spacing: .1em; }
.photo-placeholder small { font-size: 12px; letter-spacing: .1em; }
.message__catch { font-family: var(--font-serif); font-weight: 700; font-size: clamp(26px, 6.6vw, 40px); line-height: 1.6; letter-spacing: .08em; color: var(--white); }
.message__text { margin-top: 32px; display: grid; gap: 1.4em; font-size: 15px; line-height: 2.15; color: rgba(231, 234, 240, .86); }
.message__sign { margin-top: 40px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.message__role { font-size: 12.5px; letter-spacing: .14em; color: rgba(217, 198, 155, .8); }
.message__name { font-family: var(--font-serif); font-size: 24px; letter-spacing: .3em; color: var(--white); }

.skills { margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--rule-dark); }
.skills__label { font-family: var(--font-en); font-style: italic; font-size: 16px; letter-spacing: .12em; color: var(--gold); }
.skills__list { margin-top: 20px; display: grid; gap: 0; }
@media (min-width: 768px) { .skills__list { grid-template-columns: repeat(4, 1fr); } }
.skills__list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule-dark); }
@media (min-width: 768px) {
  .skills__list > div { flex-direction: column; justify-content: flex-start; gap: 6px; padding: 8px 24px; border-bottom: 0; border-left: 1px solid var(--rule-dark); }
  .skills__list > div:first-child { padding-left: 0; border-left: 0; }
}
.skills__list dt { font-size: 13.5px; color: rgba(231, 234, 240, .8); }
.skills__list dd { font-family: var(--font-serif); font-size: 20px; color: var(--white); white-space: nowrap; }

/* ---------- 07 FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 24px 44px 24px 40px; font-family: var(--font-serif); font-weight: 500; font-size: 16px; line-height: 1.7;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "Q"; position: absolute; left: 4px; top: 20px; font-family: var(--font-en); font-style: italic; font-size: 24px; color: var(--gold); }
.faq__item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 1px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1px 14px no-repeat;
  transition: transform .4s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__a { padding: 0 8px 28px 40px; color: var(--ink-soft); font-size: 14.5px; }
.faq__a p { position: relative; }
.faq__a .faq__sub { margin-top: .8em; padding-top: .8em; border-top: 1px dashed var(--rule); }
.faq__item[open] .faq__a { animation: fadeDown .5s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 768px) { .faq__item summary { font-size: 17px; padding: 28px 56px 28px 48px; } .faq__item summary::before { top: 24px; } .faq__a { padding-left: 48px; } }

/* ---------- 08 Contact ---------- */
.contact { background:
  radial-gradient(80% 60% at 50% 0%, rgba(6, 199, 85, .08), transparent 60%),
  radial-gradient(70% 60% at 50% 100%, rgba(184, 154, 94, .1), transparent 60%),
  var(--navy-900); }
.contact__main { max-width: 560px; margin: 0 auto; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--navy-900); color: rgba(231, 234, 240, .7); padding: 0 0 calc(96px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule-dark); }
@media (min-width: 768px) { .footer { padding-bottom: 56px; } }
.footer__inner { display: grid; gap: 8px; text-align: center; }
.footer__logo { font-family: var(--font-serif); font-weight: 700; font-size: 18px; letter-spacing: .14em; color: var(--white); }
.footer__logo span { display: block; font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: 14px; color: var(--gold); letter-spacing: .14em; }
.footer__tag { font-family: var(--font-serif); font-size: 13px; letter-spacing: .2em; }
.footer__copy { margin-top: 16px; font-family: var(--font-en); letter-spacing: .1em; }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 21, 34, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--rule-dark);
}
.sticky-cta .btn { width: 100%; min-height: 52px; font-size: 16px; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 70;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px); width: max-content;
  padding: 12px 20px; border-radius: 8px; background: #FFE372; color: #4D3B00; font-size: 13px; font-weight: 700;
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .4); transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 768px) { .toast { bottom: 32px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Refinements ---------- */
::selection { background: rgba(184, 154, 94, .35); color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }

/* film grain on dark surfaces */
.hero::after, .section--dark::after, .footer::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section--dark > .container, .footer > * { position: relative; z-index: 1; }

/* hero wordmark */
.hero__mark {
  position: absolute; z-index: 0; right: -3vw; bottom: -14vw; pointer-events: none;
  font-family: var(--font-en); font-style: italic; font-weight: 500; line-height: .8;
  font-size: clamp(200px, 52vw, 560px); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(184, 154, 94, .12);
}
@media (min-width: 768px) { .hero__mark { bottom: -9vw; } }

/* ribbon */
.ribbon { overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--rule); padding-block: 22px; }
.ribbon__track { display: flex; width: max-content; animation: ribbon 60s linear infinite; }
.ribbon__set { display: flex; flex: none; }
.ribbon__set span {
  display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; white-space: nowrap;
  font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: clamp(22px, 5vw, 34px); color: var(--navy-700); letter-spacing: .02em;
}
.ribbon__set span::after { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* footer wordmark */
.footer__word {
  margin: 0 0 40px; padding-top: 32px; text-align: center; line-height: .85;
  font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: clamp(120px, 34vw, 380px); letter-spacing: -.02em;
  background: linear-gradient(180deg, rgba(217, 198, 155, .55), rgba(217, 198, 155, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Outline button ---------- */
.btn--outline { border: 1px solid rgba(217, 198, 155, .55); color: var(--white); background: transparent; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }

/* ---------- Mobile menu ---------- */
.menu-btn {
  position: relative; z-index: 80; display: inline-grid; place-content: center; gap: 7px;
  width: 44px; height: 44px; margin-right: -8px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer;
}
.menu-btn span { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn[aria-expanded="true"] { color: var(--white); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
@media (min-width: 1200px) { .menu-btn { display: none; } }
.header__inner { gap: 16px; }
.header__cta { margin-left: auto; }
@media (min-width: 1200px) { .header__cta { margin-left: 0; } }

.menu {
  position: fixed; inset: 0; z-index: 70; overflow-y: auto;
  background: var(--navy-900);
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(40px + env(safe-area-inset-bottom));
  opacity: 0; transition: opacity .35s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu__inner { display: flex; flex-direction: column; max-width: 480px; margin: 0 auto; }
.menu__label { font-family: var(--font-en); font-style: italic; font-size: 15px; letter-spacing: .14em; color: var(--gold); margin-bottom: 12px; }
.menu__inner > a:not(.btn) {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--rule-dark);
  font-family: var(--font-serif); font-size: 17px; letter-spacing: .08em; color: var(--white);
}
.menu__inner > a:not(.btn)::after { content: ""; width: 7px; height: 7px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg); }
.menu__inner .btn { margin-top: 32px; width: 100%; }
body.menu-open { overflow: hidden; }
body.menu-open .header { z-index: 90; background: transparent; box-shadow: none; color: var(--white); }
body.menu-open .header .header__cta { visibility: hidden; }

/* service card link (top page) */
.service__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--navy-700);
  border-bottom: 1px solid var(--gold); padding-bottom: 2px;
}
.service__more::after { content: "→"; transition: transform .3s var(--ease); }
.service__more:hover::after { transform: translateX(4px); }
.service--feature .service__more { color: var(--gold-soft); }

.footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; font-size: 13px; }
.footer__links a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(217, 198, 155, .35); }

/* ---------- Company ---------- */
.company { margin: 0; border-top: 1px solid var(--rule); }
.company > div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 768px) { .company > div { grid-template-columns: 160px 1fr; gap: 24px; padding: 22px 0; } }
.company dt { color: var(--ink-mute); font-size: 13.5px; }
.company dd { margin: 0; font-size: 15px; }
.company a { text-decoration: underline; text-underline-offset: 3px; }
.message--solo { max-width: 820px; }
@media (min-width: 900px) { .message--solo { grid-template-columns: 1fr; } }
