/* Turtle Line: airy minimal, one slow line */
:root {
  --char: #505050;
  --char-deep: #2f2f2f;
  --ink: #262626;
  --muted: #5e5e5e;
  --soft: #f0f0f0;
  --white: #ffffff;
  --rule: #d9d9d9;
  --head: "Lustria", Georgia, serif;
  --body: "Nanum Gothic", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.8; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; margin: 0; line-height: 1.15; color: var(--ink); }
p { margin: 0; }
.wrap { width: min(1100px, 100% - 64px); margin-inline: auto; }
section { scroll-margin-top: 70px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; padding: 22px 0; background: rgba(255, 255, 255, 0); transition: background .4s, padding .4s, box-shadow .4s; }
.site-header.scrolled { background: rgba(255, 255, 255, .95); padding: 12px 0; box-shadow: 0 1px 0 var(--rule); }
.nav-row { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 50%; }
.brand span { font-family: var(--head); font-size: 22px; color: var(--ink); }
.primary-nav { display: flex; gap: 34px; }
.primary-nav a { position: relative; font-size: 14px; letter-spacing: .08em; text-transform: lowercase; text-decoration: none; color: var(--char); padding: 4px 0; }
.primary-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s ease; }
.primary-nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; font-family: var(--body); font-size: 14px; letter-spacing: .08em; background: none; border: 1px solid var(--char); color: var(--ink); border-radius: 999px; padding: 9px 18px; cursor: pointer; }

/* Hero */
.hero { position: relative; padding: 190px 0 0; background: var(--white); overflow: hidden; }
.hero-inner { max-width: 860px; }
.chapter { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.hero h1 { font-size: clamp(44px, 7vw, 96px); letter-spacing: -.02em; }
.hero h1 em { font-style: italic; color: var(--char); }
.lead { margin-top: 34px; max-width: 600px; font-size: 19px; color: var(--muted); }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 36px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; transition: gap .5s ease; }
.slow-line { position: relative; margin-top: 50px; }
.slow-line svg { display: block; width: 100%; height: auto; overflow: visible; }
.sl-narrow { display: none !important; }
.track { fill: none; stroke: #c4c4c4; stroke-width: 1.2; }
.trace { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: trace 26s linear infinite; }
@keyframes trace { 0% { stroke-dashoffset: 1000; } 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.walker { fill: var(--char); stroke: rgba(80, 80, 80, .15); stroke-width: 10; }

/* Shared grid with side label */
.pace-grid { display: grid; grid-template-columns: 220px 1fr; gap: 60px; align-items: start; }
.side-label { position: sticky; top: 110px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--ink); padding-top: 16px; }
.side-label span { display: block; font-family: var(--head); font-size: 34px; letter-spacing: 0; color: var(--ink); margin-bottom: 6px; }

/* Pace */
.pace { padding: 140px 0 120px; }
.statement { font-family: var(--head); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.35; color: var(--ink); max-width: 760px; }
.principles { list-style: none; margin: 70px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.principles li { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 32px 10px; border-bottom: 1px solid var(--rule); transition: background .5s ease, padding .5s ease; }
.pn { font-family: var(--head); font-size: 20px; color: var(--muted); }
.principles h3 { font-size: 26px; margin-bottom: 6px; }
.principles p { color: var(--muted); max-width: 560px; }

/* Builders */
.builders { padding: 120px 0; background: var(--soft); }
.builders h2 { font-size: clamp(30px, 4vw, 48px); max-width: 680px; }
.sub { margin-top: 18px; color: var(--muted); max-width: 560px; }
.stations { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 80px; padding-top: 40px; }
.stations::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--char); }
.station { position: relative; padding: 0 6px; transition: transform .5s ease; }
.node { position: absolute; top: -47px; left: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--soft); border: 1.5px solid var(--ink); transition: background .5s ease, transform .5s ease; }
.station h3 { font-size: 24px; margin-bottom: 10px; }
.station p { color: var(--muted); }

/* Clarity */
.clarity { padding: 140px 0; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.panel { margin: 0; padding: 36px 32px; border: 1px solid var(--rule); border-radius: 4px; background: var(--white); transition: transform .5s ease, border-color .5s ease, box-shadow .5s ease; }
.panel svg { width: 100%; height: 110px; margin-bottom: 26px; overflow: visible; }
.chaos { fill: none; stroke: #9a9a9a; stroke-width: 1.4; stroke-linejoin: round; }
.steady { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: steady 9s ease-in-out infinite; }
@keyframes steady { 0% { stroke-dashoffset: 340; } 60%, 100% { stroke-dashoffset: 0; } }
.steady-dot { fill: var(--ink); }
.panel h3 { font-size: 24px; margin-bottom: 8px; }
.panel p { color: var(--muted); }
.panel.calm { background: var(--soft); border-color: var(--soft); }

/* Quote: charcoal band, near white text */
.quote { padding: 130px 0; background: var(--char-deep); text-align: center; }
.shell { width: 96px; height: 48px; margin: 0 auto 34px; display: block; fill: none; stroke: rgba(245, 245, 245, .85); stroke-width: 2.5; stroke-linecap: round; animation: amble 8s ease-in-out infinite; }
@keyframes amble { 0%, 100% { transform: translateX(-16px); } 50% { transform: translateX(16px); } }
.quote blockquote { margin: 0 auto; max-width: 820px; font-family: var(--head); font-size: clamp(28px, 4vw, 46px); line-height: 1.3; color: rgba(247, 247, 247, .95); }

/* FAQ */
.faq { padding: 140px 0; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--rule); transition: background .5s ease; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 8px; background: none; border: 0; font-family: var(--head); font-size: 22px; text-align: left; color: var(--ink); cursor: pointer; transition: padding .5s ease; }
.faq-q i { position: relative; flex: 0 0 22px; height: 22px; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 1.5px; background: var(--ink); transition: transform .4s ease; }
.faq-q i::after { transform: rotate(90deg); }
.faq-item.open .faq-q i::after { transform: rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s ease; }
.faq-item.open .faq-a { max-height: 260px; }
.faq-a p { padding: 0 8px 28px; color: var(--muted); max-width: 640px; }

/* Contact */
.contact { padding: 130px 0 150px; background: var(--soft); }
.contact-inner { max-width: 760px; }
.contact h2 { font-size: clamp(34px, 5vw, 60px); }
.contact-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 30px; border-radius: 999px; background: var(--ink); color: #fafafa; text-decoration: none; font-weight: 700; font-size: 15px; border: 1px solid var(--ink); transition: transform .5s ease, background .5s ease, color .5s ease; }
.btn-outline { background: transparent; color: var(--ink); }

/* Footer */
.site-footer { padding: 34px 0; border-top: 1px solid var(--rule); background: var(--white); }
.foot { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; font-size: 14px; color: var(--muted); }
.foot-brand { font-family: var(--head); font-size: 18px; color: var(--ink); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 1.1s ease, transform 1.1s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (hover: hover) and (pointer: fine) {
  .text-link:hover { gap: 18px; }
  .principles li:hover { background: var(--soft); padding-left: 22px; }
  .station:hover { transform: translateY(-6px); }
  .station:hover .node { background: var(--ink); transform: scale(1.3); }
  .panel:hover { transform: translateY(-6px); border-color: var(--char); box-shadow: 0 18px 40px rgba(0, 0, 0, .06); }
  .faq-item:hover { background: var(--soft); }
  .faq-item:hover .faq-q { padding-left: 20px; }
  .btn:hover { transform: translateY(-3px); background: var(--char); border-color: var(--char); color: #fff; }
  .btn-outline:hover { background: var(--ink); color: #fff; }
}

@media (max-width: 900px) {
  .pace-grid { grid-template-columns: 1fr; gap: 26px; }
  .side-label { position: static; }
  .stations { grid-template-columns: 1fr; gap: 44px; padding-top: 0; padding-left: 34px; margin-top: 56px; }
  .stations::before { top: 6px; bottom: 6px; left: 6px; right: auto; width: 1px; height: auto; }
  .node { top: 10px; left: -35px; }
  .compare { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-header { background: rgba(255, 255, 255, .96); padding: 12px 0; box-shadow: 0 1px 0 var(--rule); }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--rule); padding: 8px 24px 18px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .3s, transform .3s, visibility .3s; }
  .primary-nav.open { opacity: 1; visibility: visible; transform: none; }
  .primary-nav a { padding: 14px 0; border-bottom: 1px solid var(--soft); font-size: 16px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .hero { padding-top: 130px; }
  .lead { font-size: 17px; margin-top: 24px; }
  .slow-line { margin-top: 30px; }
  .sl-wide { display: none !important; }
  .sl-narrow { display: block !important; }
  .trace { animation-duration: 22s; }
  .pace, .clarity, .faq { padding: 90px 0; }
  .builders { padding: 90px 0; }
  .principles { margin-top: 44px; }
  .principles li { grid-template-columns: 1fr; gap: 6px; padding: 26px 4px; }
  .panel { padding: 28px 22px; }
  .quote { padding: 90px 0; }
  .faq-q { font-size: 19px; padding: 22px 4px; }
  .faq-a p { padding: 0 4px 24px; }
  .contact { padding: 90px 0 100px; }
  .contact-links .btn { width: 100%; }
  .foot { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .trace, .steady { stroke-dashoffset: 0; }
  .walker { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
