/* Nordiccore v3 — gallery. Monumental serif over a dark canvas, image set inside the words (after Liron Moran),
   a vertical wordmark on a full-bleed band (after Munro), hairline indexes. Strictly black, paper and grey. */
:root {
  --canvas: #121211;      /* gallery black */
  --canvas-2: #1b1b19;
  --paper: #f2f0ec;
  --ink: #121211;
  --mute: #8a8780;
  --mute-d: #6f6c66;
  --line-d: rgba(242, 240, 236, .16);
  --line-l: rgba(18, 18, 17, .14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --g: clamp(16px, 3vw, 40px);           /* gutter */
  --sp: clamp(110px, 15vw, 220px);        /* section space */
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--paper); font: 300 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
picture, figure { display: block; margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; letter-spacing: -.02em; }
em { font-style: italic; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 14px; z-index: 60; }
.skip:focus { left: 8px; }
.label { font: 400 12px/1.3 var(--sans); letter-spacing: .02em; color: var(--mute); margin: 0; }
.big { font-size: clamp(44px, 7.4vw, 124px); line-height: .95; max-width: 15ch; text-wrap: balance; }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--g); color: var(--paper); transition: background .5s var(--ease), padding .5s var(--ease); }
.top.solid { background: rgba(18, 18, 17, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-block: 14px; }
.brand { line-height: 0; }
.wm { width: clamp(130px, 13vw, 190px); height: clamp(12px, 1.2vw, 17px); }
.top-mid { font: 400 12px/1 var(--sans); color: var(--mute); }
.menu-btn { justify-self: end; width: 74px; height: 74px; border-radius: 50%; border: 1px solid var(--line-d); background: transparent; color: var(--paper);
  font: 400 12px/1 var(--sans); cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s; }
.menu-btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* menu overlay */
.menu { position: fixed; inset: 0; z-index: 35; background: var(--canvas); display: flex; flex-direction: column; justify-content: center; padding: 120px var(--g) 40px; }
.menu[hidden] { display: none; }
.menu ol { list-style: none; margin: 0; padding: 0; }
.menu li { border-top: 1px solid var(--line-d); }
.menu li:last-child { border-bottom: 1px solid var(--line-d); }
.menu li a { display: flex; align-items: baseline; gap: 24px; padding: 10px 0; font: 300 clamp(48px, 9vw, 132px)/1 var(--serif); letter-spacing: -.02em; transition: padding .5s var(--ease), color .4s; }
.menu li a span { font: 400 12px/1 var(--sans); color: var(--mute); width: 2.4em; }
.menu li a:hover { padding-left: 24px; font-style: italic; }
.menu-foot { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 32px; font-size: 14px; color: var(--mute); }

/* 1 hero */
.hero { position: relative; min-height: 100svh; padding: 120px var(--g) 32px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-word { position: relative; z-index: 3; color: #f2f0ec; text-shadow: 0 2px 28px rgba(18, 18, 17, .35); font-size: clamp(76px, 19.5vw, 340px); line-height: .82; letter-spacing: -.045em; display: flex; flex-direction: column; text-transform: none; }
.hero-word .w1 { align-self: flex-start; }
.hero-word .w2 { align-self: flex-end; }
.hero-img { position: absolute; z-index: 2; left: 50%; top: 50%; width: clamp(180px, 24vw, 420px); aspect-ratio: 4 / 5;
  transform: translate(-50%, calc(-54% + var(--py, 0px))); overflow: hidden; }
.hero-img picture { height: 100%; }
.hero-img img { height: 100%; object-fit: cover; animation: zoom 14s var(--ease) both; }
@keyframes zoom { from { transform: scale(1.18); } to { transform: scale(1); } }
.hero-foot { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: auto; padding-top: 48px; }
.hero-lede { max-width: 30ch; font-size: 15px; margin: 0; }
.hero-meta { display: flex; gap: 40px; font-size: 12px; color: var(--mute); margin: 0; }
.scroll::after { content: " ↓"; }

/* 2 statement */
.statement { background: var(--paper); color: var(--ink); padding: var(--sp) var(--g); display: grid; grid-template-columns: 1fr 3fr; gap: var(--g); }
.statement .label { color: var(--mute-d); padding-top: 1.2em; }
.mission { border-top: 1px solid var(--line-l); }
.mission-note { max-width: 62ch; margin: 40px 0 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; color: var(--mute-d); }
.statement-text { font: 300 clamp(32px, 4.4vw, 72px)/1.08 var(--serif); letter-spacing: -.015em; margin: 0; text-wrap: pretty; }

/* section top line */
.sec-top { display: flex; justify-content: space-between; border-top: 1px solid currentColor; padding-top: 14px; margin-bottom: clamp(40px, 6vw, 90px); opacity: .9; }
.sec-top .label, .sec-top .count { font: 400 12px/1.3 var(--sans); margin: 0; }

/* 3 projects index */
.projects { background: var(--paper); color: var(--ink); padding: 0 var(--g) var(--sp); }
.projects .sec-top { border-color: var(--line-l); }
.projects .label, .projects .count { color: var(--mute-d); }
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-l); }
.index .row { border-bottom: 1px solid var(--line-l); }
.index .row > a { display: grid; grid-template-columns: 4em 1fr auto auto; gap: 24px; align-items: baseline; padding: 18px 0 14px; }
.row-n, .row-kind, .row-go { font: 400 12px/1.3 var(--sans); color: var(--mute-d); }
.row-go { color: var(--ink); }
.row-name { font: 300 clamp(64px, 12vw, 210px)/.9 var(--serif); letter-spacing: -.04em; transition: transform .7s var(--ease), font-style .3s; }
.index .row > a:hover .row-name { transform: translateX(2vw); font-style: italic; }
.row-img { display: none; }
.row-text { max-width: 52ch; margin: 0 0 28px calc(4em + 24px); color: #3d3b37; }
.cursor-img { position: fixed; left: 0; top: 0; z-index: 30; width: 340px; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); margin: -120px 0 0 30px; }
.cursor-img.on { opacity: 1; }

/* 4 story */
.story { padding: var(--sp) var(--g); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: end; }
.story-img figcaption, .company-img figcaption { font-size: 12px; color: var(--mute); margin-top: 12px; }
.story-text h2 { font-size: clamp(40px, 5.6vw, 96px); line-height: .98; margin: 18px 0 40px; text-wrap: balance; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; color: #c9c6bf; font-size: 15px; }

/* 5 principles */
.principles { background: var(--paper); color: var(--ink); padding: var(--sp) var(--g); }
.principles .sec-top { border-color: var(--line-l); }
.principles .label, .principles .count { color: var(--mute-d); }
.principles .big { margin-bottom: clamp(48px, 7vw, 110px); }
.plist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-l); }
.plist li { display: grid; grid-template-columns: 4em 6fr 5fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line-l); align-items: baseline; }
.pn { font: 400 12px/1 var(--sans); color: var(--mute-d); }
.plist h3 { font-size: clamp(26px, 2.8vw, 44px); line-height: 1.05; }
.plist p { margin: 0; color: #3d3b37; font-size: 15px; }

/* 6 band */
.band { position: relative; height: clamp(520px, 92vh, 980px); overflow: hidden; }
.band-img { position: absolute; inset: -12% 0; }
.band-img img { height: 100%; object-fit: cover; transform: translateY(var(--py, 0px)); }
.band::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(18, 18, 17, .62), rgba(18, 18, 17, 0) 58%), linear-gradient(to left, rgba(18, 18, 17, .38), rgba(18, 18, 17, 0) 22%); }
.band-quote, .band-vert { z-index: 1; }
.band-quote { position: absolute; left: var(--g); bottom: var(--g); margin: 0; font: 300 clamp(48px, 8vw, 140px)/.9 var(--serif); letter-spacing: -.03em; }
.band-vert { position: absolute; right: calc(var(--g) * .5); top: 0; bottom: 0; margin: 0; writing-mode: vertical-rl; transform: rotate(180deg);
  font: 300 clamp(70px, 13vh, 150px)/1 var(--serif); letter-spacing: -.02em; text-transform: uppercase; display: flex; align-items: center; opacity: .92; }

/* 7 not */
.not { padding: var(--sp) var(--g); }
.not .sec-top { border-color: var(--line-d); }
.not .big { margin-bottom: clamp(48px, 7vw, 110px); }
.ledger { border-top: 1px solid var(--line-d); }
.lrow { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-d); font: 300 clamp(20px, 2.1vw, 32px)/1.2 var(--serif); }
.lrow span:first-child { color: var(--mute); text-decoration: line-through; text-decoration-thickness: 1px; }
.lhead { font: 400 12px/1 var(--sans); color: var(--mute); }
.lhead span:first-child { text-decoration: none; }

/* 8 proof */
.proof { background: var(--paper); color: var(--ink); padding: var(--sp) var(--g); text-align: center; }
.proof .label { color: var(--mute-d); margin-bottom: 40px; }
.proof blockquote { margin: 0 auto; }
.proof blockquote p { max-width: 24ch; margin: 0 auto 1em; font: 300 clamp(32px, 4.6vw, 76px)/1.06 var(--serif); letter-spacing: -.015em; }
.proof cite { font: 400 12px/1 var(--sans); font-style: normal; color: var(--mute-d); }
.proof cite a { border-bottom: 1px solid currentColor; }

/* 9 company */
.company { background: var(--paper); color: var(--ink); padding: 0 var(--g) var(--sp); }
.company .sec-top { border-color: var(--line-l); }
.company .label { color: var(--mute-d); }
.company .big { margin-bottom: clamp(48px, 7vw, 110px); }
.company-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.entity { border-top: 1px solid var(--line-l); padding: 22px 0 30px; }
.entity h3 { font-size: clamp(32px, 3.4vw, 52px); margin-bottom: 14px; }
.entity dl { display: grid; grid-template-columns: 9em 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.entity dt { color: var(--mute-d); }
.entity dd { margin: 0; }
.founders { border-top: 1px solid var(--line-l); padding-top: 22px; }
.founders .label { margin-bottom: 14px; }
.fname { font: 300 clamp(24px, 2.4vw, 36px)/1.2 var(--serif); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; border-bottom: 1px solid var(--line-l); padding-bottom: 12px; }
.fname a { font: 400 13px/1 var(--sans); color: var(--mute-d); }

/* 10 contact */
.contact { padding: var(--sp) var(--g); }
.contact-head { font-size: clamp(56px, 11vw, 190px); line-height: .9; margin: 24px 0 18px; }
.contact-lede { color: var(--mute); }
.mails { display: flex; flex-direction: column; border-top: 1px solid var(--line-d); margin-top: 48px; }
.mails a { font: 300 clamp(30px, 5.4vw, 92px)/1.1 var(--serif); letter-spacing: -.02em; padding: 14px 0; border-bottom: 1px solid var(--line-d); transition: padding .5s var(--ease); overflow-wrap: anywhere; }
.mails a:hover { padding-left: 2vw; font-style: italic; }

/* footer */
.foot { padding: 40px var(--g) 28px; border-top: 1px solid var(--line-d); }
.foot-wm { width: 100%; height: auto; aspect-ratio: 11 / 1; display: block; }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 12px; color: var(--mute); }
.foot-legal p { margin: 0; }

/* reveal */
.js-reveal .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* tablet / phone */
@media (max-width: 900px) {
  .top-mid { display: none; }
  .top { grid-template-columns: 1fr auto; }
  .statement, .story, .company-grid { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; }
  .plist li { grid-template-columns: 3em 1fr; }
  .plist li p { grid-column: 2; }
  .index .row > a { grid-template-columns: 3em 1fr; }
  .row-kind, .row-go { grid-column: 2; }
  .row-img { display: block; margin: 8px 0 18px; }
  .row-text { margin-left: 0; }
  .cursor-img { display: none; }
  .lrow { grid-template-columns: 1fr; gap: 6px; }
  .lhead { display: none; }
}
@media (max-width: 560px) {
  .menu-btn { width: 60px; height: 60px; }
  .hero { justify-content: flex-start; padding-top: 140px; }
  .hero-word { font-size: 27vw; line-height: .86; }
  .hero-img { width: 44vw; top: 40%; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .hero-meta { gap: 20px; }
  .band-vert { font-size: 64px; }
}
