@font-face { font-family: "Jost"; src: url("/assets/jost-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/assets/jost-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --night: #151413;
  --night-2: #1f1d1b;
  --bone: #ece7e2;
  --stone: #e4ddd7;
  --dim: #8f8780;
  --line: #34312e;
  --gutter: clamp(20px, 4vw, 64px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--bone); font-family: "Jost", system-ui, sans-serif; font-size: 17px; line-height: 1.55; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }

.nav { position: absolute; inset: 0 0 auto 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; height: 80px; padding: 0 var(--gutter); font-size: 14px; letter-spacing: 0.06em; }
.nav .mark { font-weight: 500; letter-spacing: 0.3em; text-decoration: none; font-size: 14px; }
.nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav ul a { text-decoration: none; color: var(--dim); }
.nav ul a:hover { color: var(--bone); }

/* hero: the wordmark is the image */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--gutter) clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.hero .lede { max-width: 30ch; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; margin: 0 0 clamp(40px, 8vh, 96px); }
.hero .lede span { color: var(--dim); }
.word { margin: 0; font-weight: 500; text-transform: uppercase; line-height: 0.86; letter-spacing: 0.02em; font-size: clamp(56px, 18vw, 330px); white-space: nowrap; }
.word .v { display: block; color: var(--stone); -webkit-text-stroke: 0; opacity: .32; }
.hero .meta { display: flex; justify-content: flex-end; gap: 16px; margin-top: 28px; font-size: 13px; color: var(--dim); letter-spacing: 0.04em; flex-wrap: wrap; }

section { padding: clamp(72px, 10vw, 140px) var(--gutter); border-bottom: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: minmax(140px, 1fr) 3fr; gap: 24px clamp(24px, 4vw, 64px); }
h2 { margin: 0; font-size: 14px; font-weight: 400; letter-spacing: 0.06em; color: var(--dim); }
.big { margin: 0 0 28px; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.2; font-weight: 400; max-width: 26ch; }
.body { max-width: 60ch; color: #c9c2bb; }
.body p { margin: 0 0 16px; }

/* brand panel: the brand in its own colour, packaging cut out and large */
.brands { padding-left: 0; padding-right: 0; }
.brands h2 { margin: 0 0 28px; padding: 0 var(--gutter); }
.panel { position: relative; display: block; overflow: hidden; background: var(--stone); color: #1b1a19; text-decoration: none; height: clamp(560px, 92vh, 980px); }
.panel-word { position: absolute; left: 0; right: 0; top: 7%; text-align: center; font-weight: 500; letter-spacing: 0.34em; margin-right: -0.34em; font-size: clamp(40px, 8.2vw, 150px); line-height: 1; color: #1b1a19; white-space: nowrap; user-select: none; }
.panel img { position: absolute; left: 50%; bottom: 10%; height: 63%; width: auto; transform: translateX(-50%); filter: drop-shadow(0 30px 40px rgba(60, 45, 30, .22)); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.panel:hover img { transform: translateX(-50%) translateY(-8px); }
.panel-foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: flex-end; gap: 16px; padding: 22px clamp(20px, 3vw, 36px); font-size: 15px; }
.panel .visit { border-bottom: 1px solid currentColor; }

/* contact form */
.contact { display: grid; gap: 18px; max-width: 720px; margin-top: 8px; }
.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact label { display: grid; gap: 8px; font-size: 13px; letter-spacing: 0.04em; color: var(--dim); }
.contact label em { font-style: normal; color: #6c655f; }
.contact input, .contact textarea { font: inherit; font-size: 16px; color: var(--bone); background: var(--night-2); border: 1px solid var(--line); border-radius: 0; padding: 14px 16px; width: 100%; }
.contact textarea { resize: vertical; min-height: 140px; }
.contact input:focus, .contact textarea:focus { outline: none; border-color: var(--bone); }
.send { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 6px; }
.send button { font: inherit; font-size: 16px; font-weight: 500; letter-spacing: 0.03em; padding: 16px 28px; border: 0; border-radius: 0; background: var(--bone); color: var(--night); cursor: pointer; }
.send button:hover { background: #fff; }
.fine { margin: 0; font-size: 13px; color: var(--dim); max-width: 36ch; }
.hp { position: absolute; left: -9999px; }

footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding: 28px var(--gutter) 36px; font-size: 13px; color: var(--dim); }
footer a { color: var(--dim); text-decoration: none; margin-left: 20px; }
footer a:hover { color: var(--bone); }

@media (max-width: 820px) {
  .nav ul { gap: 18px; }
  .nav ul li:first-child { display: none; }
  .grid, .contact .row { grid-template-columns: 1fr; }
  .hero .lede { margin-bottom: 48px; }
  .panel { height: 600px; }
  .panel img { height: 62%; bottom: 15%; }
  .panel-word { top: 9%; font-size: 9.6vw; }
  .panel-foot { justify-content: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .word { animation: up 1s cubic-bezier(.2,.7,.2,1) both; }
  .word .v { animation: fade 1.2s .35s ease-out both; }
  @keyframes up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes fade { from { opacity: 0; } to { opacity: .32; } }
}

/* legal pages */
.legal-page main { max-width: 720px; padding: 140px var(--gutter) 80px; }
.legal-page h1 { font-size: 40px; font-weight: 500; margin: 0 0 28px; }
.legal-page h2 { margin: 36px 0 8px; font-size: 15px; color: var(--bone); font-weight: 500; letter-spacing: 0.02em; }
.legal-page p { margin: 0 0 12px; color: #c9c2bb; }
