/* ───────────────────────── unonoir ───────────────────────── */
:root {
  --bg: #090907;
  --bg-2: #13110d;
  --ink: #ede4d4;
  --muted: #a08d70;
  --dim: #6c5636;
  --line: rgba(185, 157, 115, 0.18);
  --brown: #6c5636;
  --accent: #b99d73;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 3.2vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { font-family: var(--sans); font-size: 15px; line-height: 1.6; background: var(--bg); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--brown); color: var(--ink); }

.label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.dot { color: var(--accent); }

/* film grain */
.grain { position: fixed; inset: -50%; width: 200%; height: 200%; pointer-events: none; z-index: 90; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-4%,3%) } 40% { transform: translate(3%,-5%) } 60% { transform: translate(-6%,2%) } 80% { transform: translate(5%,4%) } }

/* ───── header ───── */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter); mix-blend-mode: difference; color: #fff; transition: transform 0.6s var(--ease); }
.site-header.hide { transform: translateY(-110%); }
.wordmark { font-family: var(--serif); font-size: 28px; line-height: 1; letter-spacing: -0.01em; }
.nav { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; position: relative; padding: 4px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }

/* ───── loader & page transition ───── */
.curtain { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; pointer-events: none;
  transform: translateY(-100%); }
.curtain.in { animation: curtainIn 0.7s var(--ease-io) forwards; }
.curtain.out { transform: translateY(0); animation: curtainOut 0.9s var(--ease-io) 0.1s forwards; }
@keyframes curtainIn { from { transform: translateY(100%) } to { transform: translateY(0) } }
@keyframes curtainOut { from { transform: translateY(0) } to { transform: translateY(-100%) } }
.curtain .wordmark { font-size: clamp(40px, 7vw, 96px); overflow: hidden; }
.curtain .wordmark span { display: inline-block; transform: translateY(110%); animation: rise 0.9s var(--ease) forwards; }
@keyframes rise { to { transform: none } }

/* ───── cursor ───── */
.cursor { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: var(--ink); mix-blend-mode: difference; transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background 0.3s;
  display: grid; place-items: center; }
.cursor span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity 0.3s; }
.cursor.view { width: 84px; height: 84px; margin: -42px 0 0 -42px; mix-blend-mode: normal; background: rgba(185, 157, 115, 0.95); }
.cursor.view span { opacity: 1; }
.cursor.link { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ───── reveal helpers ───── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.line-mask { display: block; overflow: hidden; }
.line-mask > span { display: block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.is-in .line-mask > span, .line-mask.is-in > span { transform: none; }

/* ───── hero ───── */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; will-change: transform; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease); background-size: cover; background-position: center; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero-slide.active { opacity: 1; }
.hero-slide.active img { transform: scale(1); transition: transform 8s linear; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(9,9,7,.55) 0%, rgba(9,9,7,0) 22%, rgba(9,9,7,0) 50%, rgba(9,9,7,.9) 100%); }
.hero-content { position: absolute; inset: auto 0 0; z-index: 2; padding: 0 var(--gutter) 28px; }
.hero-title { font-family: var(--serif); font-size: clamp(96px, 33vw, 640px); line-height: 0.78; letter-spacing: -0.035em; margin-left: -0.04em; white-space: nowrap; }
.hero-title .ch { display: inline-block; transform: translateY(105%); }
.hero-title-wrap { overflow: hidden; padding-bottom: 0.06em; }
.loaded .hero-title .ch { transform: none; transition: transform 1.4s var(--ease); }
.hero-meta { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.hero-meta > :last-child { justify-self: end; text-align: right; }
.hero-meta .label { color: var(--ink); opacity: 0.8; }
.hero-count { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; display: flex; align-items: center; gap: 12px; }
.hero-progress { width: 80px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero-progress i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.hero-progress i.run { animation: prog var(--dur, 6s) linear forwards; }
@keyframes prog { to { transform: scaleX(1) } }

/* ───── sections ───── */
.section { padding: clamp(96px, 16vw, 220px) var(--gutter); position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 5vw, 64px); }

.statement { max-width: 1280px; }
.statement p { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 72px); line-height: 1.08; letter-spacing: -0.015em; }
.statement .w { opacity: 0.14; transition: opacity 0.35s; }
.statement .w.on { opacity: 1; }
.statement .label { display: block; margin-bottom: 36px; }

/* work list */
.work-list { list-style: none; }
.work-row { border-bottom: 1px solid var(--line); }
.work-row a { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 24px; padding: clamp(22px, 3vw, 40px) 0; position: relative; }
.work-row .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.work-row .name { font-family: var(--serif); font-size: clamp(44px, 8.5vw, 150px); line-height: 0.9; letter-spacing: -0.03em; transition: transform 0.8s var(--ease), color 0.5s; }
.work-row .name em { font-style: italic; }
.work-row .meta { text-align: right; display: grid; gap: 4px; }
.work-row:hover .name { transform: translateX(clamp(10px, 2vw, 32px)); }
.work-row.soon .name { color: var(--dim); }
.work-row.soon:hover .name { color: var(--muted); }
.tag { display: inline-block; border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tag.red { border-color: rgba(185, 157, 115, 0.5); color: var(--accent); }

.float-preview { position: fixed; left: 0; top: 0; z-index: 40; width: clamp(260px, 26vw, 440px); aspect-ratio: 16/10; pointer-events: none; overflow: hidden;
  opacity: 0; transform: scale(0.85); transition: opacity 0.4s var(--ease), transform 0.6s var(--ease); }
.float-preview.show { opacity: 1; transform: scale(1); }
.float-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .float-preview { display: none; } }

/* horizontal reel */
.reel { position: relative; }
.reel-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.reel-head { padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4vh; }
.reel-head h2 { font-family: var(--serif); font-size: clamp(40px, 6vw, 96px); line-height: 1; letter-spacing: -0.02em; }
.reel-track { display: flex; gap: clamp(16px, 2vw, 32px); padding: 0 var(--gutter); will-change: transform; }
.reel-item { flex: 0 0 auto; width: clamp(300px, 52vw, 960px); }
.reel-item .frame { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-2); }
.reel-item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); will-change: transform; }
.reel-item figcaption { display: flex; justify-content: space-between; margin-top: 14px; }
.reel-bar { margin: 5vh var(--gutter) 0; height: 1px; background: var(--line); position: relative; }
.reel-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.portrait { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--bg-2); }
.portrait::after { content: ""; position: absolute; inset: 0; background: var(--bg); transform-origin: top; transition: transform 1.6s var(--ease-io); }
.portrait.is-in::after { transform: scaleY(0); }
.portrait img { width: 100%; height: 120%; object-fit: cover; object-position: 50% 30%; will-change: transform; }
.about-body h2 { font-family: var(--serif); font-size: clamp(44px, 6.5vw, 110px); line-height: 0.95; letter-spacing: -0.03em; margin: 18px 0 36px; }
.about-body h2 em { color: var(--muted); }
.about-body p.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: #cbbfa9; max-width: 58ch; }
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.about-grid ul { list-style: none; display: grid; gap: 6px; margin-top: 12px; }

.social-list a { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; }
.social-list a .arr { display: inline-block; transition: transform 0.5s var(--ease); color: var(--muted); }
.social-list a:hover .arr { transform: translate(4px, -4px); color: var(--ink); }

/* footer */
.footer { padding: clamp(80px, 12vw, 160px) var(--gutter) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-cta { font-family: var(--serif); font-size: clamp(56px, 13vw, 240px); line-height: 0.85; letter-spacing: -0.04em; display: block; }
.footer-cta em { font-style: italic; color: var(--muted); transition: color 0.5s; }
.footer-cta:hover em { color: var(--ink); }
.footer-socials { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 56px 0 72px; }
.footer-socials a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 0.3s; }
.footer-socials a:hover { color: var(--ink); }
.footer.compact { padding-top: 28px; }

/* tight spacing around the pinned reel; its transparent overlap must not block clicks underneath */
#work:has(+ .reel) { padding-bottom: clamp(80px, 10vw, 160px); }
.reel, .reel-sticky { pointer-events: none; }
.reel-sticky > * { pointer-events: auto; }

/* in motion (reels) */
.reel + .motion { padding-top: clamp(80px, 10vw, 160px); }
.motion-intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 5vw, 64px); }
.motion-intro h2 { font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: clamp(40px, 6.5vw, 110px); line-height: 0.95; }
.motion-intro h2 em { color: var(--accent); }
.motion-more { color: var(--ink); white-space: nowrap; }
.motion-more:hover { color: var(--accent); }
.motion-grid { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.motion-card { text-align: left; cursor: none; display: block; }
.motion-card .frame { position: relative; display: block; aspect-ratio: 9/16; overflow: hidden; background: var(--bg-2); border-radius: 4px; }
.motion-card img, .motion-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.6s; }
.motion-card video { opacity: 0; }
.motion-card.playing video { opacity: 1; }
.motion-card:hover img, .motion-card:hover video { transform: scale(1.04); }
.motion-card .frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(9,9,7,.6)); pointer-events: none; }
.motion-card .play { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(237,228,212,.5); display: grid; place-items: center; color: var(--ink); backdrop-filter: blur(6px); transition: background 0.4s, color 0.4s, border-color 0.4s; }
.motion-card:hover .play { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.motion-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }

.reel-modal { position: fixed; inset: 0; z-index: 85; background: rgba(6,6,5,.96); display: grid; grid-template-rows: auto 1fr; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.reel-modal.open { opacity: 1; visibility: visible; }
.reel-modal-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px var(--gutter); }
.reel-modal-top a:hover { color: var(--ink); }
.reel-modal-stage { display: grid; place-items: center; padding: 0 16px 24px; min-height: 0; }
.reel-modal-stage video { height: 100%; max-height: calc(100svh - 100px); max-width: 100%; aspect-ratio: 9/16; background: #000; border-radius: 4px; }
.reel-modal-stage iframe { width: min(420px, 92vw); height: min(calc(100svh - 100px), 820px); border: 0; border-radius: 6px; background: #fff; }
@media (max-width: 900px) {
  .motion-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .motion-card { flex: 0 0 62vw; scroll-snap-align: start; }
  .motion-intro { flex-direction: column; align-items: start; }
}
@media (hover: none) { .motion-card { cursor: pointer; } }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ───── work page ───── */
.work-hero { position: relative; height: 92svh; min-height: 520px; overflow: hidden; display: flex; align-items: flex-end; }
.work-hero .bg { position: absolute; inset: -10% 0 0; will-change: transform; }
.work-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.work-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,9,7,.4), rgba(9,9,7,0) 30%, rgba(9,9,7,.95)); }
.work-hero .inner { position: relative; z-index: 2; width: 100%; padding: 0 var(--gutter) 40px; }
.work-hero h1 { font-family: var(--serif); font-size: clamp(64px, 14vw, 260px); line-height: 0.85; letter-spacing: -0.035em; font-weight: 400; }
.work-hero .row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.work-hero .row p { max-width: 46ch; color: #cbbfa9; }
.work-hero.empty { height: 80svh; background: radial-gradient(ellipse at 50% 120%, #2a2116 0%, var(--bg) 60%); }

.gallery { padding: clamp(48px, 7vw, 100px) var(--gutter) clamp(80px, 10vw, 140px); display: grid; gap: clamp(12px, 1.6vw, 24px); }
.g-row { display: grid; gap: clamp(12px, 1.6vw, 24px); }
.g-item { position: relative; cursor: none; }
.g-item .frame { position: relative; overflow: hidden; background-size: cover; background-position: center; }
.g-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.g-item img.loaded { opacity: 1; transform: scale(1); }
.g-item .frame::after { content: ''; position: absolute; inset: 0; background: rgba(9,9,7,0); transition: background 0.5s; }
.g-item:hover .frame::after { background: rgba(9,9,7,0.18); }
.g-item figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; opacity: 0.0; transform: translateY(-4px); transition: opacity 0.5s, transform 0.5s var(--ease); }
.g-item:hover figcaption, .g-item.titled figcaption { opacity: 1; transform: none; }
@media (hover: none) { .g-item { cursor: pointer; } .g-item figcaption { opacity: 1; transform: none; } }

.soon-block { padding: clamp(80px, 14vw, 200px) var(--gutter); text-align: center; }
.soon-block h2 { font-family: var(--serif); font-size: clamp(40px, 6vw, 96px); line-height: 1; letter-spacing: -0.02em; margin: 20px 0; }
.soon-block p { color: var(--muted); max-width: 48ch; margin: 0 auto; }

.next-work { display: block; padding: clamp(80px, 12vw, 160px) var(--gutter); border-top: 1px solid var(--line); text-align: center; }
.next-work .name { font-family: var(--serif); font-size: clamp(56px, 11vw, 200px); line-height: 0.9; letter-spacing: -0.035em; display: block; margin-top: 18px; transition: letter-spacing 0.8s var(--ease); }
.next-work:hover .name { letter-spacing: -0.015em; }

/* ───── lightbox ───── */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(6,6,5,0.97); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lb-top, .lb-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px var(--gutter); gap: 16px; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 clamp(16px, 6vw, 96px); min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); }
.lb-stage img.swap { opacity: 0; transform: scale(0.985); }
.lb-btn { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding: 8px 0; transition: color 0.3s; }
.lb-btn:hover { color: var(--ink); }
.lb-nav { position: absolute; top: 0; bottom: 0; width: 30%; }
.lb-nav.prev { left: 0; cursor: w-resize; } .lb-nav.next { right: 0; cursor: e-resize; }
.lb-title { font-family: var(--serif); font-size: 22px; }

.not-found { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--gutter); }

@media (max-width: 760px) {
  body { font-size: 14px; }
  .wordmark { font-size: 24px; }
  .nav { gap: 16px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-meta > .hero-count { display: none; }
  .work-row a { grid-template-columns: 1fr; gap: 10px; }
  .work-row .num { display: none; }
  .work-row .meta { text-align: left; display: flex; gap: 12px; align-items: center; }
  .about { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .g-row { grid-template-columns: 1fr !important; }
  .work-hero .row { flex-direction: column; align-items: start; }
  .reel-item { width: 82vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .grain { display: none; }
}

/* ───── display type: uppercase high-contrast serif ───── */
.wordmark, .hero-title, .work-row .name, .reel-head h2, .about-body h2, .footer-cta,
.work-hero h1, .next-work .name, .soon-block h2, .not-found h1 {
  text-transform: uppercase; font-weight: 500; letter-spacing: 0.005em;
}
.wordmark { font-size: 22px; letter-spacing: 0.06em; }
.hero-title { font-size: clamp(64px, 19vw, 380px); line-height: 0.82; letter-spacing: -0.01em; }
.work-row .name { font-size: clamp(36px, 6.6vw, 120px); }
.work-row:hover .name { color: var(--accent); }
.work-hero h1 { font-size: clamp(52px, 10vw, 190px); }
.footer-cta { font-size: clamp(44px, 9.5vw, 180px); line-height: 0.92; }
.footer-cta em, .about-body h2 em, .reel-head h2 em { color: var(--accent); }
.next-work .name { font-size: clamp(44px, 8vw, 150px); }
.statement p { font-weight: 400; line-height: 1.12; }
.hero-meta .label { color: var(--accent); opacity: 1; }
.hero-progress i, .reel-bar i { background: var(--accent); }

/* ───── guide: How I Shoot ───── */
.guide-hero { height: 88svh; }
.guide-index { position: sticky; top: 0; z-index: 40; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 14px var(--gutter); background: rgba(9, 9, 7, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.guide-index { transition: top 0.6s var(--ease); }
.site-header:not(.hide) ~ main .guide-index { top: 70px; }
.guide-index::-webkit-scrollbar { display: none; }
.guide-index a { flex: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  padding: 7px 12px; border: 1px solid transparent; border-radius: 999px; transition: color 0.4s, border-color 0.4s; }
.guide-index a:hover { color: var(--ink); }
.guide-index a.active { color: var(--accent); border-color: var(--line); }

.chapter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 120px);
  padding: clamp(80px, 11vw, 170px) var(--gutter); border-bottom: 1px solid var(--line); scroll-margin-top: 60px; }
.chapter-head { position: sticky; top: 110px; align-self: start; }
.chapter-no { display: block; font-family: var(--serif); font-size: clamp(90px, 13vw, 220px); line-height: 0.8; color: transparent;
  -webkit-text-stroke: 1px var(--brown); letter-spacing: -0.02em; margin-bottom: 18px; }
.chapter-head h2 { font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: clamp(36px, 4.6vw, 76px); line-height: 0.95; }
.chapter-head h2 em, .pull em { color: var(--accent); }
.chapter-body { display: grid; gap: 26px; max-width: 64ch; font-size: clamp(15px, 1.15vw, 17px); color: #cbbfa9; }
.chapter-body strong { color: var(--ink); font-weight: 500; }
.chapter-body .lead { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.2; color: var(--ink); }

.tool { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.tool h3 { font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 54px); line-height: 1; color: var(--ink); margin-top: 10px; }
.tool-by { display: block; margin-top: 8px; color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 20px; }

.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 14px; height: 1px; background: var(--accent); }

.links { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.links a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 16px; padding: 18px 20px; background: var(--bg);
  color: var(--ink); font-size: clamp(16px, 1.3vw, 19px); transition: background 0.4s; }
.links a .label { grid-column: 1; margin-bottom: 4px; }
.links a i { grid-column: 2; grid-row: 1 / 3; align-self: center; font-style: normal; color: var(--accent); transition: transform 0.5s var(--ease); }
.links a:hover { background: var(--bg-2); }
.links a:hover i { transform: translate(4px, -4px); }

.tip { border-left: 1px solid var(--accent); padding: 4px 0 4px 22px; }
.tip .label { color: var(--accent); }
.tip p { margin-top: 8px; }

.steps { list-style: none; counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; column-gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: 1 / 3; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--accent); padding-top: 0.5em; }
.steps h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; color: var(--ink); }
.steps p { margin-top: 6px; }

.pull { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 50px); line-height: 1.12; color: var(--ink); padding: 8px 0 0; }
.pull .label { display: block; margin-top: 18px; }

.specs { border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: padding-left 0.5s var(--ease); }
.specs > div:hover { padding-left: 10px; }
.specs dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 0.45em; }
.specs dd { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 27px); line-height: 1.2; color: var(--ink); }
.specs dd small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--accent); margin-left: 8px; white-space: nowrap; }
.specs > div:hover dt { color: var(--accent); }

.guide-plate { margin: 0; padding: 0 var(--gutter) clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--line); padding-top: clamp(20px, 3vw, 40px); }
.plate-img { overflow: hidden; height: min(80svh, 56vw); }
.plate-img img { width: 100%; height: 124%; margin-top: -12%; object-fit: cover; will-change: transform; }
.guide-plate figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; }

.guide-end { padding: clamp(90px, 12vw, 180px) var(--gutter) 0; max-width: 1100px; }
.guide-end p { font-family: var(--serif); font-size: clamp(26px, 3vw, 46px); line-height: 1.15; margin-top: 22px; }
.guide-ask { display: inline-block; margin-top: 36px; color: var(--accent); border-bottom: 1px solid var(--line); padding-bottom: 4px; }

@media (max-width: 900px) {
  .chapter { grid-template-columns: 1fr; }
  .chapter-head { position: static; }
  .chapter-no { font-size: 96px; margin-bottom: 10px; }
  .specs > div { grid-template-columns: 1fr; gap: 4px; }
  .specs dd small { display: block; margin: 4px 0 0; }
  .plate-img { height: 62vw; }
}
.guide-back { margin-top: clamp(90px, 12vw, 180px); }
.guide-back .name i { font-style: normal; display: inline-block; color: var(--accent); transition: transform 0.6s var(--ease); }
.guide-back:hover .name i { transform: translateY(-12%); }

/* ───── homepage guide teaser ───── */
.reel + .guide-teaser { padding-top: clamp(80px, 10vw, 160px); }
.teaser-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.teaser-title { position: sticky; top: 110px; display: block; }
.teaser-title h2 { font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: clamp(56px, 9vw, 160px); line-height: 0.88; letter-spacing: 0.005em; }
.teaser-title h2 em { color: var(--accent); }
.teaser-cta { display: inline-flex; gap: 10px; margin-top: 32px; color: var(--accent); border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.teaser-cta i, .teaser-list i { font-style: normal; display: inline-block; transition: transform 0.5s var(--ease); }
.teaser-title:hover .teaser-cta i { transform: translateX(6px); }
.teaser-body .lead { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.2; margin-bottom: clamp(32px, 4vw, 56px); }
.teaser-list { list-style: none; border-top: 1px solid var(--line); }
.teaser-list a { display: grid; grid-template-columns: 54px 1fr auto; align-items: baseline; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding-left 0.5s var(--ease); }
.teaser-list .label { color: var(--accent); }
.teaser-list .t { font-family: var(--serif); font-size: clamp(22px, 2.1vw, 32px); line-height: 1.15; text-transform: uppercase; }
.teaser-list .t em { color: var(--muted); }
.teaser-list i { color: var(--muted); }
.teaser-list a:hover { padding-left: 12px; }
.teaser-list a:hover .t em { color: var(--accent); }
.teaser-list a:hover i { transform: translateX(6px); color: var(--accent); }
@media (max-width: 900px) {
  .teaser-grid { grid-template-columns: 1fr; }
  .teaser-title { position: static; }
}
