/* HRÍM: black, white and silver; Arial in three sizes; no frames or rules. Small labels carry a ring-and-dot. */
:root {
  --paper: #efefea; --ink: #181818; --char: #1e1e1e; --chalk: #e8e8e4; --rime: #c9cbca; --fog: #8b8d8d;
  --gut: clamp(16px, 3.5vw, 56px);
  --big: clamp(40px, 5.2vw, 84px);       /* headlines */
  --txt: clamp(16px, 1.2vw, 19px);       /* text */
  --lab: 11.5px;                         /* labels */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--paper); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; }
img, video { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.lab { font-size: var(--lab); letter-spacing: 0.09em; text-transform: uppercase; line-height: 1.6; }
.dim { opacity: 0.6; }
.h2 { font-weight: 700; font-size: var(--big); letter-spacing: -0.025em; line-height: 0.95; }
.copy { font-size: var(--txt); line-height: 1.5; max-width: 34em; }
.copy.big { font-size: clamp(20px, 2vw, 30px); line-height: 1.3; max-width: 22em; }

/* the ring-and-dot marker */
.s { display: inline-block; width: 0.95em; height: 0.95em; margin-right: 0.7em; vertical-align: -0.12em;
  border-radius: 50%; border: 0.14em solid currentColor; position: relative; }
.s::after { content: ''; position: absolute; inset: 0; margin: auto; width: 32%; height: 32%; border-radius: 50%;
  background: currentColor; }

/* film grain over everything */
.grain { position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: 0.11; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 1.4 -0.2'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
  animation: grain 0.5s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* the frost that grows where the pointer rests */
#frost { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 55; pointer-events: none;
  mix-blend-mode: difference; }
.still-hint { position: fixed; left: var(--gut); bottom: 22px; z-index: 56; color: #fff; mix-blend-mode: difference;
  transition: opacity 0.6s; }
.still-hint.gone, .still-hint.away { opacity: 0; }

/* the header, white and set in difference so it reads over the film and the paper alike */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center;
  justify-content: space-between; padding: 22px var(--gut); color: #fff; mix-blend-mode: difference; }
.logo { font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.top nav { display: flex; gap: 34px; }
.top nav a, .bag { font-size: var(--lab); letter-spacing: 0.09em; text-transform: uppercase; }
.top nav a:hover, .bag:hover { opacity: 0.6; }
.bag span { display: inline-block; min-width: 1.4em; text-align: left; margin-left: 0.4em; }
.bag.bump span { animation: bump 0.5s; }
@keyframes bump { 30% { transform: translateY(-5px); } }

/* the hero */
.hero { position: relative; height: 100vh; min-height: 560px; background: #000; color: var(--chalk); overflow: hidden; }
.hero-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-v.tall { display: none; }
.hero-meta { position: absolute; left: var(--gut); top: 96px; }
.hero-name { position: absolute; left: calc(var(--gut) - 0.04em); bottom: 0.08em; font-weight: 700;
  font-size: 19.5vw; letter-spacing: -0.035em; line-height: 0.8; white-space: nowrap; color: var(--chalk);
  will-change: transform; }
.hero-line { position: absolute; right: var(--gut); top: 96px; }

/* the line, set word by word */
.line { height: 360vh; position: relative; background: var(--char); color: var(--chalk); }
.line-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.line-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.line-labs { position: absolute; left: var(--gut); right: var(--gut); display: flex; justify-content: space-between;
  gap: 24px; opacity: 0; transform: translateY(14px); transition: opacity 0.6s, transform 0.8s cubic-bezier(.2,.7,.2,1); }
.line-labs.on { opacity: 1; transform: none; }
.line-foot { position: absolute; left: var(--gut); right: var(--gut); bottom: 22px; display: flex;
  justify-content: space-between; opacity: 0.6; }

/* the range */
.range { background: var(--char); color: var(--chalk); padding: 16vh var(--gut) 14vh; }
.range-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; }
.range-head .h2 { max-width: 12em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); }
.card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.7s, transform 1.4s cubic-bezier(.2,.7,.2,1); }
.card-img .alt { opacity: 0; }
.card:hover .card-img img { transform: scale(1.04); }
.card:hover .card-img .alt { opacity: 1; }
.card-row { display: grid; grid-template-columns: 2.6em 1fr auto; align-items: baseline; margin-top: 22px; }
.card-row h3 { font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -0.02em; font-weight: 700; }
.card-copy { margin: 12px 0 0 calc(var(--lab) * 2.6 * 1.25); font-size: 15px; line-height: 1.5; opacity: 0.75;
  max-width: 24em; min-height: 4.5em; }
.card-buy { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.price { font-size: 20px; font-weight: 700; }
.add { background: var(--chalk); color: var(--ink); padding: 13px 22px; font-size: var(--lab);
  letter-spacing: 0.09em; text-transform: uppercase; font-weight: 700; transition: background 0.3s, color 0.3s; }
.add:hover { background: #fff; }
.add.in { background: transparent; color: var(--chalk); padding-left: 0; padding-right: 0; }

/* the stamp */
.stamp { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--gut);
  padding: 18vh var(--gut) 10vh; }
.stamp-text .h2 { margin: 18px 0 26px; max-width: 8em; }
.stamp-crystal { width: min(38vw, 520px); justify-self: center; overflow: visible; }
.stamp-crystal circle { transition: opacity 0.25s, transform 0.45s cubic-bezier(.2,.7,.2,1);
  transform-box: fill-box; transform-origin: center; }
.stamp-crystal circle.off { opacity: 0; transform: scale(0.2); }
.band-run { overflow: hidden; padding: 4vh 0 16vh; }
.band-track { display: flex; width: max-content; animation: run 40s linear infinite; }
.band-track svg { flex: none; }
@keyframes run { to { transform: translateX(-50%); } }

/* the plates */
.plate { position: relative; }
.plate-img { height: 100vh; overflow: hidden; }
.plate-img img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.plate-cap { position: absolute; right: var(--gut); top: 13vh; max-width: 380px; }
.plate-cap .copy { margin-top: 12px; font-size: 16px; }

.lid { display: grid; grid-template-columns: 1.35fr 1fr; background: #000; color: var(--chalk); }
.lid-img { height: 100vh; overflow: hidden; }
.lid-img img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.lid-text { align-self: end; padding: 0 var(--gut) 14vh; }
.lid-text .copy { margin-top: 26px; max-width: 24em; }

/* Jórvík */
.jorvik { padding: 20vh var(--gut) 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gut); }
.hrim-def { font-size: clamp(60px, 9vw, 150px); letter-spacing: -0.035em; line-height: 0.85; font-weight: 700; }
.hrim-def span { font-weight: 400; font-size: 0.4em; letter-spacing: 0; }
.jorvik-name .copy { margin-top: 30px; }
.jorvik-cols { display: flex; flex-direction: column; gap: 24px; align-self: end; }
.jorvik-img { grid-column: 1 / -1; margin-top: 16vh; height: 76vh; overflow: hidden; }
.jorvik-img img { width: 100%; height: 100%; object-fit: cover; }

/* letters */
.letters { padding: 18vh var(--gut); display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); align-items: end; }
.letters .h2 { max-width: 9em; }
.letters-form { display: flex; flex-wrap: wrap; gap: 10px; }
.letters-form input { flex: 1 1 240px; background: var(--rime); border: 0; padding: 17px 18px; font: inherit;
  font-size: 16px; color: var(--ink); outline: none; }
.letters-form input::placeholder { color: #55585a; }
.letters-form button { background: var(--ink); color: var(--paper); padding: 0 28px; font-size: var(--lab);
  letter-spacing: 0.09em; text-transform: uppercase; font-weight: 700; }
.sent-msg { display: none; width: 100%; margin-top: 10px; }
.letters-form.sent input, .letters-form.sent button { display: none; }
.letters-form.sent .sent-msg { display: block; }

/* the foot */
.foot { background: var(--ink); color: var(--chalk); padding: 10vh var(--gut) 26px; overflow: hidden; }
.foot-name { font-weight: 700; font-size: 25.5vw; letter-spacing: -0.04em; line-height: 0.78; margin-left: -0.05em; }
.foot-row { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; opacity: 0.7; }

/* reveal on entry */
[data-rise] { opacity: 0; transform: translateY(36px); transition: opacity 0.9s, transform 1.1s cubic-bezier(.2,.7,.2,1); }
[data-rise].on { opacity: 1; transform: none; }

/* ---- the phone: its own frame, not the desk one squeezed ---------------------------------------------------- */
@media (max-width: 760px) {
  :root { --big: 38px; --txt: 16px; --lab: 11px; }
  .top { padding: 18px var(--gut); }
  .top nav { display: none; }
  .hero { height: 100svh; }
  .hero-v.wide { display: none; }
  .hero-v.tall { display: block; }
  .hero-meta, .hero-line { top: 64px; }
  .hero-name { font-size: 30vw; bottom: 0.1em; }
  .still-hint { bottom: auto; top: 112px; }

  .line { height: 300vh; }
  .line-labs { flex-direction: column; gap: 6px; }

  .range { padding: 12vh 0 10vh; }
  .range-head { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 var(--gut); margin-bottom: 36px; }
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 0 var(--gut);
    scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 82vw; scroll-snap-align: center; }
  .card-copy { margin-left: 0; min-height: 0; }

  .stamp { grid-template-columns: 1fr; padding: 12vh var(--gut) 4vh; }
  .stamp-crystal { width: 78vw; margin-top: 40px; }
  .plate-img { height: 78svh; }
  .plate-img img { object-position: 58% 50%; }
  .plate-cap { position: static; padding: 28px var(--gut) 0; }
  .lid { grid-template-columns: 1fr; }
  .lid-img { height: 70svh; }
  .lid-text { padding: 40px var(--gut) 12vh; }
  .jorvik { grid-template-columns: 1fr; padding-top: 12vh; }
  .jorvik-cols { margin-top: 40px; }
  .jorvik-img { margin-top: 10vh; height: 60svh; }
  .jorvik-img img { object-position: 50% 50%; }
  .letters { grid-template-columns: 1fr; padding: 12vh var(--gut); }
  .letters-form button { padding: 16px 24px; flex: 1 1 100%; }
  .foot-name { font-size: 27vw; }
  .foot-row { flex-direction: column; gap: 4px; }
  .still-hint span::after { content: ' Hold a finger down.'; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .band-track { animation: none; }
  [data-rise], .line-labs { transition: none; }
}
