/* 도토리인베스트먼트 company site (server/company.mjs). Ink navy + ivory paper + acorn gold. Light by default with the
   system's choice, or the visitor's (data-theme). The hero and the craft band stay ink in both modes. */
:root {
  --paper: #f5f2ea; --paper-2: #ece7db; --card: #fbf9f4;
  --text: #121a2b; --text-2: #3b4456; --muted: #5d6576;
  --line: rgba(18, 26, 43, .13); --line-2: rgba(18, 26, 43, .22);
  --gold: #b88a3e; --gold-ink: #7d5a1e; --gold-soft: #e0c58f;
  --ink: #0d1524; --ink-2: #141e31; --ink-3: #1d2940; --ivory: #efe9dc; --ivory-2: rgba(239, 233, 220, .68); --ink-line: rgba(239, 233, 220, .14);
  --sans: DSSans, 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Yu Gothic', Meiryo, 'Noto Sans JP', system-ui, sans-serif;
  --serif: var(--sans);
  --gut: clamp(20px, 5vw, 72px); --max: 1280px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #0b111c; --paper-2: #101827; --card: #131c2d;
  --text: #ece6d9; --text-2: #c9c3b6; --muted: #9aa1ae;
  --line: rgba(236, 230, 217, .12); --line-2: rgba(236, 230, 217, .22);
  --gold: #d4a85a; --gold-ink: #dcb46c; --gold-soft: #8a6a33;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b111c; --paper-2: #101827; --card: #131c2d;
    --text: #ece6d9; --text-2: #c9c3b6; --muted: #9aa1ae;
    --line: rgba(236, 230, 217, .12); --line-2: rgba(236, 230, 217, .22);
    --gold: #d4a85a; --gold-ink: #dcb46c; --gold-soft: #8a6a33;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.7 var(--sans); letter-spacing: -.005em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
:lang(ko) body, body:lang(ko) { word-break: keep-all; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
svg path, svg circle { vector-effect: non-scaling-stroke; }
svg.mark path, svg.hero-mark path { vector-effect: none; }

/* ---------------------------------------------------------------- header */
.top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 24px; height: 68px; padding: 0 var(--gut); color: var(--ivory);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease); }
.top.solid { background: color-mix(in srgb, var(--paper) 86%, transparent); color: var(--text); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); height: 60px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.mark { width: 32px; height: 32px; flex: none; }
.mark, .hero-mark { --mk-cap: var(--gold); --mk-nut: currentColor; --mk-dot: #3b2a0c; }
.mark .cap, .hero-mark .cap { fill: var(--mk-cap); }
.mark .nut, .hero-mark .nut { fill: var(--mk-nut); }
.mark .dots, .hero-mark .dots { fill: var(--mk-dot); opacity: .26; }
.mark .stem, .hero-mark .stem { fill: none; stroke: var(--mk-cap); stroke-width: 3.2; stroke-linecap: round; }
.bn { display: flex; flex-direction: column; line-height: 1.15; }
.bn b { font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; }
.bn small { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .62; margin-top: 2px; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { position: relative; font-size: 14px; text-decoration: none; opacity: .82; padding: 6px 0; transition: opacity .2s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.tools { display: flex; align-items: center; gap: 14px; }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 28%, transparent); }
.langs a { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-decoration: none; padding: 5px 9px; border-radius: 999px; opacity: .72; min-width: 24px; text-align: center; }
.langs a[aria-current] { opacity: 1; background: color-mix(in srgb, currentColor 14%, transparent); }
.theme, .menu { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 999px; padding: 0; }
.theme:hover, .menu:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.theme .moon { display: none; }
:root[data-theme="dark"] .theme .moon { display: block; }
:root[data-theme="dark"] .theme .sun, :root[data-theme="dark"] .theme .rays { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .moon { display: block; } :root:not([data-theme="light"]) .theme .sun, :root:not([data-theme="light"]) .theme .rays { display: none; } }
.menu { display: none; }
.menu i { position: absolute; width: 18px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.menu { position: relative; }
.menu i:first-child { transform: translateY(-3.5px); }
.menu i:last-child { transform: translateY(3.5px); }
.menu[aria-expanded="true"] i:first-child { transform: rotate(45deg); }
.menu[aria-expanded="true"] i:last-child { transform: rotate(-45deg); }
.sheet { display: none; }
@media (max-width: 899px) {
  .nav { display: none; }
  .tools { margin-left: auto; gap: 6px; }
  .menu { display: grid; }
  .sheet { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; padding: 8px var(--gut) 22px; background: var(--paper); color: var(--text); box-shadow: 0 1px 0 var(--line), 0 24px 40px -24px rgba(0,0,0,.35);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
  .sheet.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .sheet a { padding: 14px 0; font-family: var(--serif); font-size: 24px; text-decoration: none; border-bottom: 1px solid var(--line); }
  .top.menu-open { background: var(--paper); color: var(--text); }
}
@media (max-width: 420px) { .bn small { display: none; } .bn b { font-size: 14.5px; white-space: nowrap; } :lang(ja) .bn b { font-size: 12.5px; } .langs a { padding: 5px 7px; } .top { padding: 0 16px; gap: 10px; } .brand { gap: 9px; } .theme, .menu { width: 36px; height: 36px; } }

/* ---------------------------------------------------------------- hero (ink in both modes) */
.hero { position: relative; min-height: max(640px, min(100svh, 980px)); display: grid; align-items: center; overflow: hidden; background: var(--ink); color: var(--ivory); isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sky::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(60% 55% at 70% 46%, rgba(212, 168, 90, .16), transparent 70%),
  radial-gradient(80% 70% at 15% 110%, rgba(52, 78, 128, .35), transparent 70%),
  linear-gradient(180deg, #0b1220 0%, #0e1729 60%, #101a2e 100%); }
.orbits { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.orbits circle { stroke: rgba(239, 233, 220, .075); stroke-width: 1; }
.orbits circle:nth-child(2) { stroke-dasharray: 2 7; stroke: rgba(212, 168, 90, .2); }
.glow { position: absolute; left: 52%; top: 18%; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; border-radius: 50%; background: radial-gradient(closest-side, rgba(224, 183, 106, .22), transparent); filter: blur(10px); }
.grain { position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.stage { position: absolute; right: max(var(--gut), calc((100vw - var(--max)) / 2 - 40px)); top: 50%; width: min(48vw, 720px); aspect-ratio: 1; transform: translateY(-50%); will-change: transform; }
/* the hero acorn: the company mark, large, with three small coins in orbit (our three products) */
.hero-mark { position: absolute; left: 17%; top: 9%; width: 66%; height: 82%; overflow: visible; --mk-cap: #d8ad5f; --mk-nut: #f1ebdd; --mk-dot: #3b2a0c; filter: drop-shadow(0 28px 44px rgba(0, 0, 0, .38)); }
.hero-mark { animation: bob 7s ease-in-out infinite; }
.stage::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(239, 233, 220, .1), 0 0 0 1px rgba(212, 168, 90, .08); }
.stage::after { content: ''; position: absolute; inset: -4%; border-radius: 50%; border: 1px dashed rgba(212, 168, 90, .22); }
.coin { position: absolute; width: 4.2%; aspect-ratio: 1; border-radius: 50%; background: #d8ad5f; box-shadow: inset 0 0 0 2px rgba(255, 244, 214, .45); }
.coin.c1 { left: 9%; top: 30%; } .coin.c2 { right: 6%; top: 58%; width: 3%; } .coin.c3 { left: 24%; bottom: 8%; width: 2.4%; opacity: .7; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-2.4%) rotate(1.2deg); } }
@media (prefers-reduced-motion: reduce) { .hero-mark { animation: none; } }
.hero-in { position: relative; width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 120px var(--gut) 110px; will-change: transform; }
.kicker { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); color: #d9bd86; margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }
.kicker::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.hero h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(40px, 6.4vw, 92px); line-height: 1.06; letter-spacing: -.028em; max-width: 11.5em; }
:lang(ko) .hero h1 { line-height: 1.18; letter-spacing: -.028em; font-size: clamp(38px, 5.8vw, 82px); }
:lang(ja) .hero h1 { line-height: 1.24; letter-spacing: -.01em; font-size: clamp(30px, 4.3vw, 64px); font-weight: 800; }
@media (min-width: 900px) { .hero h1 { max-width: min(var(--hmax, 11.5em), 50vw); } .lead { max-width: min(33em, 46vw); } :lang(ja) .hero h1 { --hmax: 10.5em; } }
.hero h1 .w { display: inline-block; }
.lead { margin-top: 30px; max-width: 33em; font-size: clamp(15.5px, 1.25vw, 18px); line-height: 1.8; color: var(--ivory-2); }
.ctas { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s; }
.btn.solid { background: linear-gradient(180deg, #e6c88d, #c99a4b); color: #121a2b; box-shadow: 0 10px 30px -12px rgba(212, 168, 90, .7), inset 0 1px 0 rgba(255,255,255,.5); }
.btn.line { color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(239, 233, 220, .35); }
.btn:hover { transform: translateY(-2px); }
.btn.line:hover { background: rgba(239, 233, 220, .08); }
.cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: rgba(239, 233, 220, .66); }
.cue i { width: 1px; height: 44px; background: linear-gradient(rgba(239,233,220,.5), transparent); position: relative; overflow: hidden; }
.cue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #e2c48b; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }
@media (max-width: 899px) {
  .hero { align-items: end; min-height: max(680px, 100svh); }
  .stage { right: 50%; top: 76px; width: min(108vw, 560px); transform: translateX(50%); }
  .hero-in { padding-top: min(92vw, 470px); padding-bottom: 96px; }
  .glow { left: 10%; top: 4%; width: 90vw; height: 90vw; }
  .cue { display: none; }
}
@media (max-width: 899px) and (min-width: 600px) { .hero-in { padding-top: 470px; } }

/* ---------------------------------------------------------------- shared section parts */
section { position: relative; }
.label { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; }
.label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 18%, transparent); }
h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(32px, 4.4vw, 62px); line-height: 1.12; letter-spacing: -.028em; }
:lang(ko) h2 { line-height: 1.26; letter-spacing: -.028em; }
:lang(ja) h2 { line-height: 1.3; font-weight: 800; font-size: clamp(28px, 3.8vw, 52px); }
.sec-head { display: grid; gap: 22px; max-width: 760px; margin-bottom: clamp(56px, 8vw, 110px); }
.sub { color: var(--muted); font-size: clamp(15.5px, 1.2vw, 17.5px); max-width: 36em; }

/* ---------------------------------------------------------------- about */
.about { padding: clamp(96px, 13vw, 180px) 0 clamp(80px, 10vw, 150px); }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 6vw, 110px); align-items: end; margin-top: 30px; }
.about .body { font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.85; color: var(--text-2); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(72px, 9vw, 130px); counter-reset: v; }
.values li { padding-top: 26px; position: relative; }
.values li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.values li::after { content: ''; position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--gold); transition: width 1.4s var(--ease) calc(var(--d, 0ms) + 200ms); }
.values li.in::after { width: 56px; }
.n { font-family: var(--serif); font-size: 15px; color: var(--gold-ink); }
.values h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(24px, 2.2vw, 30px); margin: 14px 0 14px; letter-spacing: -.028em; line-height: 1.25; }
:lang(ja) .values h3 { font-weight: 800; }
.values p { color: var(--muted); font-size: 15.5px; line-height: 1.8; }
@media (max-width: 899px) { .about-grid, .values { grid-template-columns: 1fr; } .values { gap: 44px; } }

/* ---------------------------------------------------------------- products */
.products { padding: clamp(80px, 10vw, 150px) 0 clamp(60px, 8vw, 120px); background: var(--paper-2); }
.product { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.product + .product { margin-top: clamp(88px, 11vw, 170px); }
.product:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.product:nth-of-type(even) .media { order: 2; }
.media { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: 22px; transform-style: preserve-3d; transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  box-shadow: 0 40px 80px -40px rgba(13, 21, 36, .55), 0 18px 30px -22px rgba(13, 21, 36, .4); }
.media.hov { transition: transform .12s linear, box-shadow .6s var(--ease); box-shadow: 0 60px 100px -40px rgba(13, 21, 36, .6), 0 22px 36px -22px rgba(13, 21, 36, .45); }
.media-in { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: var(--ink); }
.media-in img, .media-in video, .media-in picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-in video { opacity: 0; transition: opacity .8s; }
.media-in video.on { opacity: 1; }
.glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .16), transparent 45%); opacity: 0; transition: opacity .4s; }
.media.hov .glare { opacity: 1; }
.media::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
.fades .f { opacity: 0; animation: fade 18s infinite; }
.fades .f img { animation: kb 18s infinite; }
.fades .f1 { animation-delay: -1.2s; } .fades .f1 img { animation-delay: -1.2s; }
.fades .f2 { animation-delay: 6s; } .fades .f2 img { animation-delay: 6s; }
.fades .f3 { animation-delay: 12s; } .fades .f3 img { animation-delay: 12s; }
@keyframes fade { 0% { opacity: 0; } 5% { opacity: 1; } 33% { opacity: 1; } 39% { opacity: 0; } 100% { opacity: 0; } }
@keyframes kb { 0% { transform: scale(1.02); } 40% { transform: scale(1.1) translateX(-1.5%); } 100% { transform: scale(1.1) translateX(-1.5%); } }
.fades:not(.run) .f, .fades:not(.run) .f img { animation-play-state: paused; }
.fades:not(.run) .f1 { opacity: 1; animation: none; }
.browser { background: #0c1119; }
.browser .bar { position: absolute; left: 0; right: 0; top: 0; height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: #161d29; z-index: 1; }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a4352; }
.browser .bar span { margin: 0 auto; transform: translateX(-20px); font-size: 11.5px; color: #9aa3b2; background: #0d131d; padding: 3px 18px; border-radius: 999px; letter-spacing: .02em; }
.browser picture { top: 34px; height: calc(100% - 34px); }
.browser img { object-position: top left; }
.copy .idx { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.copy .idx span { font-family: var(--serif); font-size: 15px; color: var(--gold-ink); }
.copy h3 { margin: 18px 0 20px; display: flex; flex-direction: column; gap: 6px; }
.copy .nm { font-family: var(--serif); font-weight: 800; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -.028em; }
:lang(ja) .copy .nm { font-weight: 800; font-size: clamp(26px, 2.8vw, 40px); }
.copy .lt { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.pitch { font-size: clamp(15.5px, 1.2vw, 17px); line-height: 1.85; color: var(--text-2); }
.meta { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.meta div { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; }
.meta dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.meta dd { font-size: 14.5px; font-weight: 500; }
.meta em { font-style: normal; font-size: 12px; font-weight: 600; margin-left: 8px; padding: 3px 10px; border-radius: 999px; color: var(--gold-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 55%, transparent); white-space: nowrap; }
.note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.go { margin-top: 30px; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 12px 0; position: relative; }
.go b { font-weight: 400; color: var(--muted); font-size: 13.5px; }
.go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .35s var(--ease); }
.go::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform-origin: left; transform: scaleX(.3); transition: transform .45s var(--ease); }
.go:hover::after { transform: scaleX(1); }
.go:hover svg { transform: translate(3px, -3px); }
@media (max-width: 899px) {
  .product, .product:nth-of-type(even) { grid-template-columns: 1fr; gap: 30px; }
  .product:nth-of-type(even) .media { order: 0; }
  .media { border-radius: 16px; }
}

/* ---------------------------------------------------------------- craft (ink in both modes) */
.craft { background: var(--ink); color: var(--ivory); padding: clamp(96px, 12vw, 170px) 0; overflow: hidden; }
.craft::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 0% 0%, rgba(212, 168, 90, .12), transparent 70%), radial-gradient(40% 50% at 100% 100%, rgba(52, 78, 128, .3), transparent 70%); pointer-events: none; }
.craft .label { color: #d9bd86; }
.craft-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); position: relative; }
.craft-head { position: sticky; top: 120px; align-self: start; display: grid; gap: 26px; }
.craft-list li { display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; padding: 30px 0; border-top: 1px solid var(--ink-line); }
.craft-list li:last-child { border-bottom: 1px solid var(--ink-line); }
.craft-list .n { color: #d9bd86; grid-row: span 2; padding-top: 6px; }
.craft-list h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.028em; line-height: 1.3; }
:lang(ja) .craft-list h3 { font-weight: 800; }
.craft-list p { margin-top: 10px; color: var(--ivory-2); font-size: 15.5px; line-height: 1.8; }
@media (max-width: 899px) { .craft-grid { grid-template-columns: 1fr; } .craft-head { position: static; } .craft-list li { grid-template-columns: 44px 1fr; } }

/* ---------------------------------------------------------------- team */
.team { padding: clamp(96px, 12vw, 170px) 0; }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.person:nth-child(2) { --d: 100ms; } .person:nth-child(3) { --d: 200ms; }
.card { position: relative; aspect-ratio: 5 / 6; border-radius: 18px; overflow: hidden; background: var(--ink); box-shadow: 0 30px 60px -36px rgba(13, 21, 36, .55); }
.photo, .photo picture, .photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo img { object-fit: cover; transition: transform 1.2s var(--ease), filter .8s var(--ease); }
.tone { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 21, 36, .25), rgba(13, 21, 36, .92) 75%); opacity: 0; transition: opacity .6s var(--ease); }
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
.bio { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(20px, 2.2vw, 30px); color: var(--ivory); overflow-y: auto; scrollbar-width: none;
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
.bio .role { font-size: 11.5px; letter-spacing: .24em; color: #e2c48b; font-weight: 600; }
.bio .txt { margin-top: 10px; font-size: 14.5px; line-height: 1.75; }
:lang(en) .bio .txt { font-size: 14px; line-height: 1.68; }
.bio .fl { margin-top: 16px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(239, 233, 220, .6); }
.focus, .career { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.focus li { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(239, 233, 220, .1); box-shadow: inset 0 0 0 1px rgba(239, 233, 220, .16); }
.career { flex-direction: column; gap: 4px; }
.career li { font-size: 13px; }
.bio .links { margin-top: 12px; display: flex; gap: 14px; }
.bio .links a { font-size: 13px; color: #e2c48b; }
.person.open .bio { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.person.open .tone { opacity: 1; }
.person.open .photo img { filter: grayscale(1) sepia(.35) hue-rotate(185deg) saturate(1.4) brightness(.8) contrast(1.05); transform: scale(1.04); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .bio { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease); }
  .card:hover .tone { opacity: 1; }
  .card:hover .photo img { filter: grayscale(1) sepia(.35) hue-rotate(185deg) saturate(1.4) brightness(.8) contrast(1.05); transform: scale(1.04); }
}
.who { padding: 22px 4px 0; display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: start; }
.hon { grid-column: 1; font-family: var(--serif); font-size: 16px; color: var(--gold-ink); }
.who h3 { grid-column: 1; font-family: var(--serif); font-weight: 800; font-size: clamp(25px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -.028em; margin-top: 4px; }
.who h3 span { font-family: var(--sans); font-size: .5em; color: var(--muted); letter-spacing: 0; margin-left: 6px; vertical-align: .25em; }
.ttl { grid-column: 1; margin-top: 6px; font-size: 14px; color: var(--muted); }
.more { grid-column: 2; grid-row: 1 / span 3; align-self: center; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px 0 14px; border: 0; border-radius: 999px; background: none; color: var(--text); font: 500 13px var(--sans); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .25s, box-shadow .25s; }
.more svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--text); stroke: var(--paper); stroke-width: 1.8; fill: none; transition: transform .4s var(--ease); }
.more:hover { box-shadow: inset 0 0 0 1px var(--text); }
.person.open .more svg { transform: rotate(45deg); }
@media (max-width: 999px) { .people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .people { grid-template-columns: 1fr; gap: 52px; } .card { aspect-ratio: 5 / 6; } }

/* ---------------------------------------------------------------- contact */
.contact { padding: clamp(96px, 12vw, 170px) 0; background: var(--paper-2); overflow: hidden; }
.contact h2 { margin-top: 26px; font-size: clamp(34px, 5.2vw, 76px); max-width: 14em; }
.contact .sub { margin-top: 26px; }
.mail { margin-top: 52px; display: inline-flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: clamp(24px, 3.6vw, 50px); letter-spacing: -.028em; text-decoration: none; position: relative; padding-bottom: 8px; max-width: 100%; overflow-wrap: anywhere; }
.mail::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform-origin: left; transition: transform .6s var(--ease); }
.mail:hover::after { transform: scaleX(.4); }
.mail svg { flex: none; width: .8em; height: .8em; fill: none; stroke: var(--gold); stroke-width: 1.5; transition: transform .4s var(--ease); }
.mail:hover svg { transform: translate(4px, -4px); }
.ways { margin-top: clamp(60px, 8vw, 100px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ways div { padding-top: 18px; border-top: 1px solid var(--line-2); }
.ways dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ways dd { margin-top: 8px; font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.ways a { text-decoration: none; }
.ways a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 799px) { .ways { grid-template-columns: 1fr; gap: 22px; } }

/* ---------------------------------------------------------------- footer (ink) */
.foot { background: var(--ink); color: var(--ivory); padding: 64px 0 48px; font-size: 13.5px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 34px; border-bottom: 1px solid var(--ink-line); }
.foot .mark { --mk-nut: var(--ivory); --mk-dot: #3b2a0c; }
.totop { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ivory-2); font-size: 13px; }
.totop svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.totop:hover { color: var(--ivory); }
.biz { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 34px; }
.biz div { display: flex; gap: 10px; }
.biz dt { color: rgba(239, 233, 220, .55); }
.biz dd { color: var(--ivory-2); }
.disc { margin-top: 22px; color: rgba(239, 233, 220, .62); max-width: 60em; line-height: 1.7; }
.foot .copy { margin-top: 26px; color: rgba(239, 233, 220, .5); font-size: 12.5px; letter-spacing: .02em; }

/* Korean and Japanese labels: no wide Latin tracking */
:lang(ko) .label, :lang(ja) .label, :lang(ko) .ways dt, :lang(ja) .ways dt, :lang(ko) .meta dt, :lang(ja) .meta dt, :lang(ko) .bio .fl, :lang(ja) .bio .fl, :lang(ko) .cue, :lang(ja) .cue { letter-spacing: .04em; }

/* ---------------------------------------------------------------- reveals (only with JS, only with motion) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .hero-in > * { opacity: 0; transform: translateY(22px); animation: rise 1.2s var(--ease) forwards; }
  .js .hero-in > :nth-child(2) { animation-delay: .1s; } .js .hero-in > :nth-child(3) { animation-delay: .25s; } .js .hero-in > :nth-child(4) { animation-delay: .4s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .fades .f1 { opacity: 1 !important; }
  .media { transform: none !important; }
}
:lang(en) .hero h1, :lang(en) h2, :lang(en) .who h3, :lang(en) .copy .nm, :lang(en) .values h3, :lang(en) .craft-list h3, :lang(en) .mail { letter-spacing: -.018em; }
:lang(ko) .hero h1, :lang(ko) h2, :lang(ko) .who h3, :lang(ko) .copy .nm, :lang(ko) .values h3, :lang(ko) .craft-list h3, :lang(ko) .mail { letter-spacing: -.02em; }

/* ---------------------------------------------------------------- round 2 (owner 12-03: 「홈페이지만 멋지게」) */
/* the hero acorn: a warm halo behind it, a soft ground shadow, and it leans a little toward the pointer (company.js sets --px / --py) */
.hero-mark { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .42)) drop-shadow(0 0 40px rgba(224, 183, 106, .16)); translate: calc(var(--px, 0) * 14px) calc(var(--py, 0) * 10px); transition: translate .5s var(--ease); }
.halo { position: absolute; left: 12%; top: 8%; width: 76%; height: 76%; border-radius: 50%; background: radial-gradient(closest-side, rgba(236, 196, 120, .34), rgba(236, 196, 120, .08) 62%, transparent); filter: blur(6px); animation: breathe 6s ease-in-out infinite; }
.stage::before { animation: spin 90s linear infinite; }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(.97); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes spin { to { transform: rotate(360deg); } }
.coin { animation: drift 8s ease-in-out infinite; box-shadow: inset 0 0 0 2px rgba(255, 244, 214, .5), 0 6px 14px rgba(0, 0, 0, .35); background: radial-gradient(circle at 35% 30%, #f6dc97, #d8ad5f 60%, #b88a3e); }
.coin.c2 { animation-delay: -3s; } .coin.c3 { animation-delay: -5s; }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* sections stack like sheets: each one rounds over the one before it */
.products, .craft, .team, .contact { position: relative; border-radius: clamp(26px, 3.4vw, 48px) clamp(26px, 3.4vw, 48px) 0 0; margin-top: calc(clamp(26px, 3.4vw, 48px) * -1); z-index: 1; }
.about { position: relative; z-index: 1; border-radius: clamp(26px, 3.4vw, 48px) clamp(26px, 3.4vw, 48px) 0 0; margin-top: calc(clamp(26px, 3.4vw, 48px) * -1); }
.products { padding-top: calc(clamp(80px, 10vw, 150px) + 20px); }
.craft { z-index: 2; }

/* 사이트 방문: a real button */
.go { margin-top: 30px; padding: 6px 8px 6px 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); gap: 14px; transition: box-shadow .4s var(--ease), background .4s var(--ease), color .4s var(--ease); }
.go::after { display: none; }
.go svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--text); stroke: var(--paper); stroke-width: 1.8; transition: transform .4s var(--ease), background .4s var(--ease); }
.go:hover { box-shadow: inset 0 0 0 1px var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.go:hover svg { transform: translate(3px, -3px); background: var(--gold); stroke: var(--ink); }
.product .media { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
@media (hover: hover) { .product:hover .media { box-shadow: 0 50px 90px -40px rgba(13, 21, 36, .6), 0 20px 34px -22px rgba(13, 21, 36, .42); } }

/* the contact page: the big acorn leaning in from the right */
.ct-mark { position: absolute; right: max(2vw, calc((100vw - var(--max)) / 2 - 20px)); top: 50%; width: clamp(240px, 30vw, 420px); aspect-ratio: 1; transform: translateY(-52%) rotate(9deg); pointer-events: none; }
.ct-svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 30px 34px rgba(13, 21, 36, .28)); }
.contact .wrap { position: relative; z-index: 1; }
@media (max-width: 899px) { .ct-mark { top: 12%; width: 56vw; opacity: .16; transform: rotate(9deg); right: -8vw; } }

/* team cards: a quiet lift on hover */
@media (hover: hover) and (pointer: fine) { .card { transition: transform .6s var(--ease), box-shadow .6s var(--ease); } .person:hover .card { transform: translateY(-6px); } }

/* the footer's top edge catches a little warm light */
.foot { position: relative; z-index: 2; background: radial-gradient(60% 120% at 50% -30%, rgba(212, 168, 90, .1), transparent 70%), var(--ink); }
