:root {
  --bg: #0b0b0b; --surface: #141414; --surface-2: #1b1b1b;
  --paper: #efefec; --paper-2: #e2e2de;
  --ink: #f2f2ef; --ink-d: #0b0b0b; --dim: #6b6b68; --muted: #a3a3a0;
  --m: clamp(16px, 2.6vw, 40px);
  --step-small: 14px;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem);
  --step-lead: clamp(1.25rem, 1.05rem + 0.7vw, 1.75rem);
  --step-head: clamp(2.25rem, 1.2rem + 3.6vw, 4.5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: "Inter Tight", system-ui, sans-serif; font-size: var(--step-body); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--ink-d); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.035em; line-height: .95; text-wrap: balance; }

/* top bar */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 24px var(--m); font-size: 15px; }
.mark { font-weight: 600; letter-spacing: .02em; text-decoration: none; }
.top nav { display: flex; gap: 28px; }
.top nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.top nav a:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--ink); color: var(--ink-d); border: 0; font: 500 16px/1 "Inter Tight", sans-serif; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .2s; white-space: nowrap; }
.btn:hover { background: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ink { background: var(--ink-d); color: var(--ink); }
.btn-ink:hover { background: #2a2a2a; }

/* hero */
.hero { min-height: 100svh; position: relative; padding: 0 var(--m); display: flex; flex-direction: column; }
.hero-h { font-size: clamp(84px, min(21vw, 34svh), 340px); font-weight: 500; letter-spacing: -0.055em; line-height: .86; margin-top: 15svh; }
.hero-h .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-h .ln > span { display: block; }
.hero-h .dim { color: var(--dim); }
.hero-foot { margin-top: auto; padding-bottom: 40px; display: flex; justify-content: flex-end; align-items: flex-end; gap: 40px; }
.hero-foot .lead { max-width: 34ch; text-align: right; font-size: var(--step-lead); line-height: 1.3; color: var(--ink); }

/* capabilities split */
.caps { display: grid; grid-template-columns: 1fr 1fr; min-height: 92svh; }
.caps-cell { background: var(--paper); color: var(--ink-d); padding: 96px var(--m) 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.zig { font-size: clamp(40px, 4.6vw, 76px); display: flex; flex-direction: column; }
.zig .r { align-self: flex-end; }
.caps-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.caps-foot p { max-width: 32ch; }
.rows { list-style: none; display: grid; grid-auto-rows: 1fr; }
.rows li { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 24px; padding: 32px var(--m); align-items: start; background: var(--surface); transition: background .3s; }
.rows li:nth-child(even) { background: var(--bg); }
.rows li:hover { background: var(--surface-2); }
.rows h3 { font-size: clamp(28px, 2.6vw, 40px); }
.rows p { font-size: 16px; }
.rows .terms { color: var(--muted); font-size: 15px; }

/* field photos */
.field { display: grid; grid-template-columns: 7fr 4fr; gap: 24px; padding: 180px var(--m) 0; align-items: end; }
.field figure { overflow: hidden; }
.f-big img { aspect-ratio: 5 / 4; object-fit: cover; }
.f-side { display: grid; gap: 32px; }
.f-side p { font-size: var(--step-lead); line-height: 1.3; max-width: 26ch; }

/* story */
.story { padding: 180px var(--m); }
.cols { columns: 2; column-gap: 40px; font-size: clamp(22px, 2.1vw, 32px); line-height: 1.22; color: var(--muted); text-align: justify; hyphens: auto; }
.cols b { color: var(--ink); font-weight: 500; }
.cols mark { background: var(--ink); color: var(--ink-d); padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cols mark.m2 { background: #3a3a38; color: var(--ink); }
.cols .m3 { background: var(--paper); color: var(--ink-d); padding: 0 .12em; text-decoration: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background .2s; }
.cols .m3:hover { background: #fff; }

/* engraving plate */
.plate { background: var(--paper); color: var(--ink-d); display: grid; grid-template-columns: 8fr 4fr; gap: 40px; padding: 120px var(--m); align-items: end; }
.plate img { mix-blend-mode: multiply; }
.def { font-size: var(--step-lead); line-height: 1.3; max-width: 22ch; }
.def b { font-weight: 600; }

/* sensing */
.sense { padding: 180px var(--m) 0; display: grid; gap: 24px; }
.sense video { aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 30%; background: #000; }
.sense-row { display: grid; grid-template-columns: 3fr 5fr 4fr; gap: 24px; align-items: end; }
.sense-row figure { overflow: hidden; }
.sense-row figure:first-child img { aspect-ratio: 3 / 4; object-fit: cover; }
.sense-row figure:nth-child(2) img { aspect-ratio: 4 / 3; object-fit: cover; }
.sense-row p { font-size: var(--step-lead); line-height: 1.3; max-width: 24ch; }

/* foundation */
.foundation { margin-top: 180px; background: var(--paper); color: var(--ink-d); padding: 140px var(--m) 120px; }
.fd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 72px; }
.fd-head h2 { font-size: var(--step-head); }
.fd-head .lead { font-size: var(--step-lead); font-weight: 500; }
.fd-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; }
.fd-pic img { mix-blend-mode: multiply; }
.fd-text { display: grid; gap: 1em; max-width: 40ch; }
.wall { margin-top: 96px; display: grid; grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); gap: 14px 10px; }
.wall button { aspect-ratio: 1; background: none; border: 0; cursor: pointer; color: #b9b9b4; transition: color .3s, transform .3s var(--ease); }
.wall button svg { width: 100%; height: 100%; fill: currentColor; }
.wall button:hover, .wall button.on { color: var(--ink-d); transform: scale(1.18); }
.fd-link { font-weight: 500; text-underline-offset: 5px; text-decoration-thickness: 2px; transition: opacity .2s; }
.fd-link:hover { opacity: .6; }
.wall-note { margin-top: 24px; font-size: var(--step-lead); min-height: 1.4em; transition: opacity .3s; }

/* forms */
.mail-form { position: relative; margin-top: 96px; display: grid; gap: 32px; }
.topics { border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.topics legend { font-size: var(--step-lead); font-weight: 500; margin-bottom: 20px; }
.topics label { position: relative; cursor: pointer; }
.topics input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.topics input:focus-visible + span { outline: 2px solid currentColor; outline-offset: -6px; }
.topics.small span { display: block; padding: 14px 22px; background: var(--paper-2); transition: background .2s, color .2s; }
.topics.small label:hover span { background: #d3d3ce; }
.topics.small input:checked + span { background: var(--ink-d); color: var(--ink); }
.topics.big { display: grid; gap: 0; }
.topics.big span { display: block; font-size: clamp(44px, 6vw, 92px); letter-spacing: -0.04em; line-height: 1; padding: 36px 20px 22px; background: var(--surface); color: var(--dim); transition: color .25s, background .25s, padding .35s var(--ease); }
.topics.big label:nth-of-type(even) span { background: var(--bg); }
.topics.big label:hover span { color: var(--ink); padding-left: 36px; }
.topics.big input:checked + span { background: var(--ink); color: var(--ink-d); padding-left: 36px; }
.topics.bad legend::after { content: "  Choose one."; color: #e0533b; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.f { display: grid; gap: 8px; font-size: 15px; }
.f span { color: inherit; opacity: .7; }
.f.wide { grid-column: 1 / -1; }
.f input, .f textarea { font: inherit; font-size: 18px; color: inherit; background: transparent; border: 0; border-bottom: 2px solid currentColor; padding: 10px 0; border-radius: 0; resize: vertical; opacity: .9; }
.f input:focus, .f textarea:focus { outline: none; opacity: 1; border-bottom-width: 3px; }
.f.bad input, .f.bad textarea { border-color: #e0533b; }
.mail-form .btn { justify-self: start; }
.err { color: #e0533b; min-height: 1.4em; }
.done { display: none; }
.mail-form.sent > *:not(.done) { display: none; }
.mail-form.sent .done { display: block; }
.done-h { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.035em; line-height: 1; margin-bottom: 16px; }

/* oath */
.oath { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; padding: 180px var(--m); align-items: center; }
.oath img { filter: brightness(.82); }
.oath blockquote p { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; letter-spacing: -0.02em; max-width: 22ch; }

/* briefing */
.briefing { background: var(--bg); padding: 180px var(--m); }
.briefing h2 { font-size: var(--step-head); }
.briefing .mail-form { margin-top: 72px; }
.briefing .topics.big { margin: 0 calc(var(--m) * -1); }
.briefing .topics.big legend { padding: 0 var(--m); }

/* footer */
.foot { background: var(--ink); color: var(--ink-d); min-height: 90svh; padding: 40px var(--m) 32px; display: flex; flex-direction: column; }
.foot-top { display: grid; grid-template-columns: 1fr 1fr auto; gap: 32px; font-size: 15px; }
.foot-top a { text-decoration: underline; text-underline-offset: 4px; }
.foot-name { margin-top: auto; font-size: clamp(40px, 14.2vw, 340px); font-weight: 600; letter-spacing: -0.06em; line-height: .8; margin-left: -.04em; }
.credits { margin-top: 28px; font-size: 14px; max-width: 70ch; opacity: .75; }

/* motion */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
.js figure.rv img { transform: scale(1.06); transition: transform 1.6s var(--ease); }
.js figure.rv.in img { transform: none; }
.js .hero-h .ln > span { transform: translateY(105%); transition: transform 1s var(--ease); }
.js .hero-h .ln.dim > span { transition-delay: .11s; }
.js .hero-foot { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease) .5s, transform .8s var(--ease) .5s; }
.js.ready .hero-h .ln > span, .js.ready .hero-foot { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js figure.rv img, .js .hero-h .ln > span, .js .hero-foot { transform: none !important; opacity: 1 !important; transition: opacity .3s !important; }
}

/* phone */
@media (max-width: 860px) {
  .hide-s { display: none; }
  .top nav { gap: 18px; }
  .hero-h { font-size: 23vw; margin-top: 20svh; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: 28px; }
  .hero-foot .lead { text-align: left; font-size: 18px; }
  .caps { grid-template-columns: 1fr; }
  .caps-cell { min-height: 70svh; padding-top: 72px; }
  .zig { font-size: 10.5vw; }
  .caps-foot { flex-direction: column; align-items: flex-start; }
  .rows li { grid-template-columns: 1fr; gap: 10px; padding: 28px var(--m); }
  .field, .plate, .sense-row, .fd-grid, .oath { grid-template-columns: 1fr; }
  .field, .sense { padding-top: 120px; }
  .story { padding: 120px var(--m); }
  .cols { columns: 1; font-size: 20px; line-height: 1.3; text-align: left; hyphens: manual; }
  .plate { padding: 72px var(--m); }
  .foundation { margin-top: 120px; padding: 96px var(--m); }
  .fd-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .wall { grid-template-columns: repeat(auto-fill, minmax(26px, 1fr)); margin-top: 64px; }
  .oath { padding: 120px var(--m); }
  .oath figure { max-width: 70%; }
  .oath blockquote p { font-size: 24px; }
  .fields { grid-template-columns: 1fr; }
  .topics.big span { font-size: 10vw; padding: 26px 16px 16px; }
  .briefing { padding: 120px var(--m); }
  .foot-top { grid-template-columns: 1fr; gap: 10px; }
  .foot-name { font-size: 14vw; }
}
