/* ═══════════════════════════════════════════════════════════
   Pelsasala Austurlands og nágrennis — v2
   Sable · bone · champagne · oxblood wax
   Fraunces (display/body) · Space Mono (archive labels)
   ═══════════════════════════════════════════════════════════ */

:root {
  --myrkur: #080604;         /* deepest sable */
  --kol: #0e0a07;            /* raised surfaces */
  --dypt: #171009;           /* dark mink */
  --gull: #d8bd8a;           /* pale champagne */
  --gull-daemt: #8a744a;     /* dimmed gold, hairlines */
  --filabein: #efe7d6;       /* bone */
  --moda: #8d7f6b;           /* taupe whisper */
  --vin: #6b1f2a;            /* oxblood wax */

  --serif: "Fraunces", "Georgia", serif;
  --mono: "Space Mono", "Courier New", monospace;

  --maxw: 1280px;
  --pad: clamp(1.4rem, 5vw, 4.5rem);
  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--myrkur);
  color: var(--filabein);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 360;
  font-size: 1.02rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* candle vignette */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 998;
  background: radial-gradient(ellipse 130% 105% at 50% 38%, transparent 52%, rgba(3, 2, 1, 0.55) 100%);
}

/* living film grain */
body::after {
  content: "";
  position: fixed;
  inset: -60px;
  pointer-events: none;
  z-index: 1290;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(6) infinite;
}

@keyframes grain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-22px, 14px); }
  50%  { transform: translate(16px, -20px); }
  75%  { transform: translate(-12px, -16px); }
  100% { transform: translate(20px, 18px); }
}

::selection { background: var(--gull); color: var(--myrkur); }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--myrkur); }
::-webkit-scrollbar-thumb { background: #2c2214; border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--gull-daemt); }

/* ── shared voices ─────────────────────────────────────────── */

.mono {
  font-family: var(--mono);
  font-weight: 400;
}

.eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gull);
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: 0.005em;
  margin-top: 1.4rem;
}

.gold-rule {
  width: 76px;
  height: 1px;
  background: var(--gull-daemt);
  margin: 2.6rem auto;
  transform-origin: left center;
}
.gold-rule.left { margin: 2rem 0; }

section { padding: clamp(6rem, 15vh, 11rem) var(--pad); position: relative; }

/* ═══ INNSIGLIÐ — entry veil ═════════════════════════════════ */

html:not(.js) #veil { display: none; }

#veil {
  position: fixed;
  inset: 0;
  z-index: 1400;
  cursor: pointer;
}

.veil-panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%;
  background: #060403;
  transition: transform 1.35s var(--ease-lux);
}
.veil-top { top: 0; box-shadow: 0 1px 0 rgba(216, 189, 138, 0.14); }
.veil-bottom { bottom: 0; }

#veil.open .veil-top { transform: translateY(-101%); }
#veil.open .veil-bottom { transform: translateY(101%); }
#veil.open { pointer-events: none; }
#veil.gone { display: none; }

.veil-core {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  transition: opacity 0.5s ease;
}
#veil.open .veil-core { opacity: 0; }

.veil-seal { width: clamp(120px, 18vw, 170px); height: auto; }

.veil-ring {
  fill: none;
  stroke: var(--gull-daemt);
  stroke-width: 0.8;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transform: rotate(-90deg);
  transform-origin: 60px 60px;
  transition: stroke-dashoffset 1.5s var(--ease-lux);
}
.veil-ring-inner { transition-delay: 0.25s; }
#veil.drawn .veil-ring { stroke-dashoffset: 0; }

.veil-circtext {
  font-family: var(--mono);
  font-size: 6.4px;
  letter-spacing: 1.6px;
  fill: var(--gull-daemt);
  opacity: 0;
  transition: opacity 1s ease 0.7s;
}
.veil-mono {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 30px;
  letter-spacing: 4px;
  fill: var(--gull);
  opacity: 0;
  transition: opacity 1s ease 0.5s;
}
#veil.drawn .veil-circtext,
#veil.drawn .veil-mono { opacity: 1; }

.veil-line {
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--moda);
  min-height: 1em;
  transition: opacity 0.3s ease;
}
.veil-line.swap { opacity: 0; }

.veil-progress {
  width: 128px;
  height: 1px;
  background: rgba(216, 189, 138, 0.14);
  overflow: hidden;
}
#veil-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gull);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 2.8s linear;
}
#veil.counting #veil-fill { transform: scaleX(1); }

/* ═══ GULLNI BENDILLINN — cursor ═════════════════════════════ */

#cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1500;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#cursor.on { opacity: 1; }

body.cursor-live,
body.cursor-live a,
body.cursor-live button { cursor: none; }
body.cursor-live input,
body.cursor-live textarea,
body.cursor-live select { cursor: auto; }

.cursor-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--gull);
}

.cursor-ring {
  position: absolute;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 1px solid rgba(216, 189, 138, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.4s var(--ease-lux), height 0.4s var(--ease-lux),
              margin 0.4s var(--ease-lux), background 0.4s ease, border-color 0.4s ease;
  will-change: transform;
}

.cursor-label {
  font-size: 0.5rem;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  color: var(--myrkur);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
}

#cursor.labeled .cursor-ring {
  width: 108px;
  height: 108px;
  margin: -54px 0 0 -54px;
  background: rgba(216, 189, 138, 0.92);
  border-color: transparent;
}
#cursor.labeled .cursor-label { opacity: 1; }
#cursor.labeled .cursor-dot { opacity: 0; }

#cursor.hidden-soft { opacity: 0; }

/* ═══ fixed editorial furniture ══════════════════════════════ */

html:not(.js) .corner, html:not(.js) #rail { display: none; }

.corner {
  position: fixed;
  top: 1.6rem;
  z-index: 900;
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  color: var(--gull-daemt);
  pointer-events: none;
}
.corner-tl { left: 1.8rem; }
.corner-tr { right: 1.8rem; }

#rail {
  position: fixed;
  left: 1.8rem;
  bottom: 2rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
#rail.on { opacity: 1; }

.rail-index { font-size: 0.6rem; letter-spacing: 0.2em; color: var(--gull); }

.rail-name {
  font-size: 0.56rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--moda);
  writing-mode: vertical-rl;
}

.rail-line {
  width: 1px;
  height: 88px;
  background: rgba(216, 189, 138, 0.14);
  overflow: hidden;
}
.rail-fill {
  width: 100%;
  height: 100%;
  background: var(--gull-daemt);
  transform: scaleY(0);
  transform-origin: top center;
}

/* ═══ HERO — lifandi feldurinn ═══════════════════════════════ */

#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--myrkur);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 30%, rgba(66, 48, 26, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 140% 80% at 50% 110%, rgba(24, 16, 9, 0.9) 0%, transparent 60%);
}

#fur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad);
  pointer-events: none;
}

.hero-est {
  color: var(--moda);
  margin-bottom: 3rem;
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
}

.wordmark { font-weight: 300; }

.wm-line { display: block; overflow: hidden; padding: 0.06em 0; }

.wm-top {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 310;
  font-size: clamp(1.7rem, 4.2vw, 3.3rem);
  letter-spacing: 0.05em;
  color: var(--gull);
}

.wm-main {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 480;
  font-size: clamp(2.55rem, 9vw, 8.2rem);
  line-height: 1.02;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--filabein);
}

/* split chars */
.ch {
  display: inline-block;
  transform: translateY(118%) rotate(3deg);
  transition: transform 1.25s var(--ease-lux);
}
.in .ch { transform: translateY(0) rotate(0deg); }

.wm-sub {
  display: block;
  margin-top: 1.9rem;
  font-size: clamp(0.6rem, 1.3vw, 0.78rem);
  letter-spacing: 0.85em;
  text-indent: 0.85em;
  text-transform: uppercase;
  color: var(--gull);
  opacity: 0;
  transition: opacity 1.6s ease 0.9s;
}
.hero-est { opacity: 0; transition: opacity 1.6s ease 0.7s; }
.tagline { opacity: 0; transition: opacity 1.6s ease 1.15s; }
.hero-ready .wm-sub, .hero-ready .hero-est, .hero-ready .tagline { opacity: 1; }
html:not(.js) .wm-sub, html:not(.js) .hero-est, html:not(.js) .tagline { opacity: 1; }

.tagline {
  margin-top: 3.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 340;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--moda);
}

.scroll-cue {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 2;
}

.scroll-cue-line {
  display: block;
  width: 1px;
  height: 78px;
  background: linear-gradient(to bottom, transparent, var(--gull-daemt));
  animation: cue 2.6s ease-in-out infinite;
  transform-origin: top;
}

@keyframes cue {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* ═══ MANIFESTO — scroll-scrubbed words ══════════════════════ */

.pinwrap { position: relative; }
.js .pinwrap.pinned { height: 240vh; }

.js .pinned #manifesto {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
}

#manifesto { text-align: center; }

.manifesto-content { max-width: 760px; margin: 0 auto; }

.manifesto-lead {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(2rem, 5vw, 3.9rem);
  line-height: 1.22;
  margin-top: 1.6rem;
}

.word {
  transition: color 0.45s ease, text-shadow 0.45s ease;
  color: rgba(239, 231, 214, 0.13);
}
.word.lit {
  color: var(--filabein);
  text-shadow: 0 0 32px rgba(216, 189, 138, 0.18);
}
html:not(.js) .word { color: var(--filabein); }

.manifesto-body {
  font-size: 1.05rem;
  color: var(--moda);
  max-width: 560px;
  margin: 0 auto;
}

/* ═══ SAFNIÐ — horizontal atelier ════════════════════════════ */

#safnid { padding-left: 0; padding-right: 0; }

#safnid .section-head {
  text-align: center;
  margin-bottom: clamp(3rem, 8vh, 6rem);
  padding: 0 var(--pad);
}

.gallery-sticky { position: relative; }

/* pinned desktop mode */
.js .is-pinned .gallery-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.gallery-track {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  padding: 0 10vw;
  will-change: transform;
}

/* default / mobile / no-js: native horizontal snap scroll */
.gallery-pin:not(.is-pinned) .gallery-track {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 8vw 2.5rem;
  -webkit-overflow-scrolling: touch;
}
.gallery-pin:not(.is-pinned) .panel { scroll-snap-align: center; }
.gallery-pin:not(.is-pinned) .gallery-track::-webkit-scrollbar { height: 4px; }
.gallery-pin:not(.is-pinned) .gallery-track::-webkit-scrollbar-thumb { background: #2c2214; }

.panel {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, 3vw, 4rem);
}
.panel:nth-child(even) .panel-fig { margin-top: 7vh; }
.panel:nth-child(odd) .panel-fig { margin-bottom: 5vh; }

.panel-num {
  position: absolute;
  right: -0.16em;
  top: -0.28em;
  z-index: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(9rem, 32vh, 19rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(216, 189, 138, 0.22);
  pointer-events: none;
  will-change: transform;
}

.panel-fig {
  position: relative;
  z-index: 1;
  width: clamp(240px, 30vw, 470px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--dypt);
  will-change: transform;
}

.panel-img {
  position: absolute;
  inset: -7%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: filter 0.9s ease;
  filter: saturate(0.86) contrast(1.02);
}
.panel:hover .panel-img { filter: saturate(1.05) contrast(1.06); }

.coat-1 { background-image: url("../images/coat-1.jpg"), radial-gradient(ellipse at 30% 25%, #3a2c1c, #171009 70%); }
.coat-2 { background-image: url("../images/coat-2.jpg"), radial-gradient(ellipse at 70% 20%, #33261a, #140f0a 70%); }
.coat-3 { background-image: url("../images/coat-3.jpg"), radial-gradient(ellipse at 40% 70%, #3d2e1e, #161009 70%); }
.coat-4 { background-image: url("../images/coat-4.jpg"), radial-gradient(ellipse at 60% 40%, #2e2317, #130e09 70%); }
.coat-5 { background-image: url("../images/coat-5.jpg"), radial-gradient(ellipse at 25% 50%, #372a1a, #150f0a 70%); }
.coat-6 { background-image: url("../images/coat-6.jpg"), radial-gradient(ellipse at 75% 65%, #40311f, #171109 70%); }

.panel-fig::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(216, 189, 138, 0);
  transition: border-color 0.9s ease;
  pointer-events: none;
}
.panel:hover .panel-fig::after { border-color: rgba(216, 189, 138, 0.5); }

.panel-info { position: relative; z-index: 2; max-width: 34ch; }

.panel-meta {
  font-size: 0.56rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gull-daemt);
  margin-bottom: 1.6rem;
  white-space: nowrap;
}

.coat-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  line-height: 1.06;
  white-space: nowrap;
}

.coat-desc {
  margin-top: 1.3rem;
  color: var(--moda);
  font-size: 1rem;
  line-height: 1.65;
}

.coat-price {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gull);
}
.coat-price::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gull-daemt);
}

.panel-end {
  width: 46vw;
  min-width: 300px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.4rem;
}
.end-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 320;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: var(--filabein);
}
.end-sub {
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gull-daemt);
}

.gallery-counter {
  position: absolute;
  right: var(--pad);
  bottom: 5vh;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--gull-daemt);
  display: none;
}
.js .is-pinned .gallery-counter { display: block; }
#gal-current { color: var(--gull); }

/* ═══ PELSASALINN ════════════════════════════════════════════ */

#pelsasalinn {
  background: var(--kol);
  border-top: 1px solid rgba(216, 189, 138, 0.1);
  border-bottom: 1px solid rgba(216, 189, 138, 0.1);
  overflow: hidden;
}

.ghost-word {
  position: absolute;
  top: 0.02em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(4.5rem, 13vw, 12rem);
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(216, 189, 138, 0.09);
  pointer-events: none;
}

.pelsasali-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 430px;
  margin: 0 auto;
  border: 1px solid var(--gull-daemt);
  padding: 14px;
  background: var(--myrkur);
  perspective: 900px;
}

.portrait-tilt {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.35s ease-out;
  overflow: hidden;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.3) contrast(1.06);
  position: relative;
  z-index: 1;
}
.portrait-frame img.missing { display: none; }

.portrait-silhouette {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(216, 189, 138, 0.18);
  background:
    radial-gradient(ellipse 60% 34% at 50% 34%, #453620 0%, transparent 100%),
    radial-gradient(ellipse 85% 50% at 50% 92%, #3d3020 0%, transparent 100%),
    linear-gradient(to bottom, #201810, #130e09);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  z-index: 0;
}

.portrait-silhouette::before {
  content: "H A";
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.6em;
  text-indent: 0.6em;
  color: var(--gull);
}

.portrait-silhouette::after {
  content: "Ljósmynd afhent útvöldum";
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  text-transform: uppercase;
  color: var(--moda);
}

/* gold-foil sheen sweep */
.portrait-sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(216, 189, 138, 0.13) 46%,
    rgba(239, 231, 214, 0.22) 50%,
    rgba(216, 189, 138, 0.13) 54%,
    transparent 70%);
  transform: translateX(-130%);
  pointer-events: none;
}
.portrait-frame:hover .portrait-sheen {
  transform: translateX(130%);
  transition: transform 1.3s var(--ease-lux);
}

.pelsasali-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  line-height: 1.05;
  margin-top: 1.2rem;
}

.pelsasali-title {
  margin-top: 1rem;
  font-size: 0.66rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--gull);
}

.pelsasali-bio { color: var(--moda); max-width: 52ch; }
.pelsasali-bio + .pelsasali-bio { margin-top: 1.5rem; }

.pelsasali-bio em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12em;
  color: var(--filabein);
}

.pelsasali-bio.strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 340;
  font-size: 1.4rem;
  color: var(--filabein);
}

/* ═══ UMSAGNIR — rotator ═════════════════════════════════════ */

#umsagnir { max-width: 960px; margin: 0 auto; text-align: center; }

#umsagnir .section-head { margin-bottom: 3.5rem; }

.rot-stage { position: relative; }

/* no-js: stack all quotes */
html:not(.js) .quote { position: static; opacity: 1; margin-bottom: 4rem; }

.js .rotator-ready .quote {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.1s var(--ease-lux), transform 1.1s var(--ease-lux);
  pointer-events: none;
}
.js .rotator-ready .quote.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.quote::before {
  content: "„";
  display: block;
  font-family: var(--serif);
  font-size: 4.4rem;
  line-height: 0.4;
  margin-bottom: 1.8rem;
  color: var(--gull-daemt);
}

.quote p {
  font-family: var(--serif);
  font-weight: 340;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.45;
  max-width: 26ch;
  margin: 0 auto;
}

.quote cite {
  display: block;
  margin-top: 2rem;
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--moda);
}

.rot-nav {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  margin-top: 3rem;
}
html:not(.js) .rot-nav { display: none; }

.rot-dot {
  background: transparent;
  border: 1px solid rgba(216, 189, 138, 0.25);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: var(--moda);
  font-family: var(--mono);
  font-size: 0.62rem;
  cursor: pointer;
  transition: border-color 0.5s ease, color 0.5s ease, background 0.5s ease;
}
.rot-dot.active,
.rot-dot:hover {
  border-color: var(--gull);
  color: var(--gull);
}
.rot-dot:focus-visible { outline: 1px solid var(--gull); outline-offset: 3px; }

/* ═══ FYRIRSPURN — matsferlið ════════════════════════════════ */

#fyrirspurn { display: flex; justify-content: center; }

.form-wrap {
  width: 100%;
  max-width: 580px;
  text-align: center;
}

.form-note {
  margin-top: 1.6rem;
  margin-bottom: 3.6rem;
  color: var(--moda);
  font-size: 0.95rem;
}

#inquiry-form { text-align: left; }

.form-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--gull-daemt);
  margin-bottom: 2.4rem;
  min-height: 1.2em;
}
#step-count { margin-left: auto; }

.step-back {
  background: transparent;
  border: none;
  color: var(--moda);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.2rem 0;
  transition: color 0.4s ease;
}
.step-back:hover { color: var(--gull); }
.step-back:focus-visible { outline: 1px solid var(--gull); outline-offset: 3px; }

.steps { position: relative; transition: height 0.6s var(--ease-lux); }

.js .step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease-lux), transform 0.55s var(--ease-lux), visibility 0s linear 0.55s;
}
.js .step.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.55s var(--ease-lux) 0.15s, transform 0.55s var(--ease-lux) 0.15s, visibility 0s;
}
.js .step.leaving {
  opacity: 0;
  transform: translateY(-18px);
}

.field { margin-bottom: 1rem; }

.field label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gull);
  margin-bottom: 1rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(216, 189, 138, 0.32);
  color: var(--filabein);
  font-family: var(--serif);
  font-weight: 340;
  font-size: 1.45rem;
  padding: 0.55rem 0.1rem;
  border-radius: 0;
  transition: border-color 0.5s ease;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d8bd8a' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  cursor: pointer;
}
.field select option { background: var(--dypt); color: var(--filabein); }

.field textarea { resize: vertical; line-height: 1.5; font-size: 1.2rem; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gull);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.submit-btn:focus-visible {
  outline: 1px solid var(--gull);
  outline-offset: 4px;
}

.submit-btn {
  display: block;
  margin: 2.6rem auto 0;
  background: transparent;
  border: 1px solid var(--gull-daemt);
  color: var(--gull);
  font-size: 0.64rem;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  padding: 1.15rem 3.4rem;
  cursor: pointer;
  transition: background 0.6s ease, color 0.6s ease, border-color 0.6s ease, transform 0.4s var(--ease-lux);
}

.submit-btn:hover {
  background: var(--gull);
  border-color: var(--gull);
  color: var(--myrkur);
}

#inquiry-form.fading {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* the judgment overlay */
#mat {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(5, 3, 2, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.7s ease;
}
#mat.on { opacity: 1; }

.mat-line {
  font-size: 0.68rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gull);
}
.mat-line .dots span {
  animation: dot-blink 1.4s ease-in-out infinite;
}
.mat-line .dots span:nth-child(2) { animation-delay: 0.25s; }
.mat-line .dots span:nth-child(3) { animation-delay: 0.5s; }

@keyframes dot-blink {
  0%, 100% { opacity: 0.15; }
  40% { opacity: 1; }
}

/* the verdict */
.form-response { padding: 2.5rem 0 1rem; }

.seal-wrap {
  width: clamp(120px, 20vw, 168px);
  margin: 0 auto 2.4rem;
}

.seal {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform: scale(2.6) rotate(-10deg);
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.6));
}
.seal.stamped {
  opacity: 1;
  transform: scale(1) rotate(-4deg);
  transition: transform 0.42s cubic-bezier(0.34, 1.3, 0.5, 1), opacity 0.2s ease;
}

.seal-circtext {
  font-family: var(--mono);
  font-size: 6.2px;
  letter-spacing: 1.6px;
  fill: #a4636c;
}
.seal-mono {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 4px;
  fill: #b98a92;
}

.stamp-shake { animation: shake 0.3s ease-out; }
@keyframes shake {
  0% { transform: translate(0, 0); }
  25% { transform: translate(1px, 2px); }
  50% { transform: translate(-2px, -1px); }
  75% { transform: translate(1px, -1px); }
  100% { transform: translate(0, 0); }
}

.response-text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}

.response-text .ch2 {
  display: inline-block;
  opacity: 0;
  filter: blur(5px);
  transform: translateY(6px);
  transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
}
.response-text .ch2.on {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.response-sub {
  margin-top: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 340;
  font-size: 1.18rem;
  color: var(--moda);
  opacity: 0;
  transition: opacity 1.4s ease 1s;
}
.response-sub.on { opacity: 1; }
html:not(.js) .response-sub { opacity: 1; }

/* ═══ MARQUEE ════════════════════════════════════════════════ */

.marquee {
  overflow: hidden;
  padding: clamp(3rem, 8vh, 5.5rem) 0;
  border-top: 1px solid rgba(216, 189, 138, 0.08);
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  animation: marquee 52s linear infinite;
}

.marquee-seg {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 310;
  font-size: clamp(2rem, 4.6vw, 4rem);
  color: rgba(216, 189, 138, 0.3);
}
.marquee-seg i {
  font-style: normal;
  font-size: 0.5em;
  vertical-align: middle;
  color: rgba(216, 189, 138, 0.45);
  padding: 0 1.2rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══ FOOTER ═════════════════════════════════════════════════ */

footer {
  border-top: 1px solid rgba(216, 189, 138, 0.1);
  padding: 5rem var(--pad) 3rem;
  text-align: center;
}

.footer-wordmark { margin-bottom: 2.8rem; }

.wordmark-main-sm {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.wordmark-sub-sm {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.54rem;
  letter-spacing: 0.65em;
  text-indent: 0.65em;
  text-transform: uppercase;
  color: var(--gull);
}

.footer-lines p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 340;
  font-size: 1.08rem;
  color: var(--moda);
  margin-bottom: 0.4rem;
}

.disclaimer {
  margin-top: 3.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: #57493a;
}

/* ═══ REVEALS ════════════════════════════════════════════════ */

.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.3s var(--ease-lux), transform 1.3s var(--ease-lux);
}
.js .reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══ RESPONSIVE ═════════════════════════════════════════════ */

@media (max-width: 1100px) {
  #rail, .corner { display: none; }
}

@media (max-width: 899px) {
  .panel {
    flex-direction: column;
    align-items: flex-start;
    width: 82vw;
    gap: 1.6rem;
  }
  .panel:nth-child(even) .panel-fig,
  .panel:nth-child(odd) .panel-fig { margin: 0; }
  .panel-fig { width: 100%; max-width: 440px; }
  .panel-num {
    font-size: clamp(7rem, 26vw, 11rem);
    left: auto;
    right: -0.05em;
    top: auto;
    bottom: -0.18em;
    transform: none;
  }
  .panel-info { padding-right: 0.5rem; }
  .coat-name { white-space: normal; }
  .panel-meta { white-space: normal; letter-spacing: 0.22em; }
  .panel-end { width: 82vw; align-items: center; }

  .pelsasali-grid { grid-template-columns: 1fr; }
  .pelsasali-text { text-align: center; }
  .gold-rule.left { margin: 2rem auto; }
  .pelsasali-bio { margin: 0 auto; }
  .ghost-word { font-size: clamp(3.4rem, 14vw, 6rem); }

  .quote p { max-width: 100%; }
}

/* ═══ REDUCED MOTION ═════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after { animation: none; }
  .scroll-cue-line { animation: none; opacity: 0.6; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ch { transform: none; transition: none; }
  .wm-sub, .hero-est, .tagline { opacity: 1 !important; transition: none; }
  .word { color: var(--filabein); }
  .marquee-track { animation: none; }
  .veil-panel, .veil-core, .veil-ring { transition-duration: 0.01s; }
  .portrait-tilt { transition: none; }
  .portrait-frame:hover .portrait-sheen { transition-duration: 0.01s; }
  .seal { transition-duration: 0.01s; }
  .stamp-shake { animation: none; }
  .js .step, .js .step.active { transition: none; }
  .mat-line .dots span { animation: none; opacity: 1; }
}
