/* lakehus tokens - see /workspace/scandi_site/DESIGN.md */

@font-face {
  font-family: "Fraunces Fallback";
  src: local("Iowan Old Style"), local("Palatino Linotype"), local("Georgia");
  size-adjust: 106%;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Schibsted Fallback";
  src: local("Source Sans 3"), local("Helvetica Neue"), local("Helvetica"), local("Arial");
  size-adjust: 98%;
  ascent-override: 95%;
  descent-override: 24%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2-variations"),
       url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2-variations"),
       url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-latin-ext.woff2") format("woff2-variations"),
       url("../fonts/schibsted-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-latin.woff2") format("woff2-variations"),
       url("../fonts/schibsted-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #071114;
  --paper-2: #0E1C21;
  --ink: #F4F7F8;
  --ink-soft: #B7C4C8;
  --muted: #7E8E93;
  --accent: #D8C49A;
  --flag: #E07A5F;
  --glass-fill: rgba(236, 244, 246, 0.08);
  --glass-fill-strong: rgba(236, 244, 246, 0.16);
  --glass-stroke: rgba(255, 255, 255, 0.38);
  --glass-stroke-dim: rgba(8, 16, 18, 0.35);
  --specular: rgba(255, 255, 255, 0.55);

  --font-display: "Fraunces", "Fraunces Fallback", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-ui: "Schibsted Grotesk", "Schibsted Fallback", "Source Sans 3", "Helvetica Neue", ui-sans-serif, sans-serif;

  --step-0: clamp(1rem, 0.92rem + 0.3vw, 1.125rem);
  --step-1: clamp(1.125rem, 1rem + 0.5vw, 1.35rem);
  --step-2: clamp(1.5rem, 1.15rem + 1.4vw, 2.25rem);
  --step-3: clamp(2.25rem, 1.4rem + 3vw, 4.25rem);

  --lh-body: 1.5;
  --lh-display: 1.06;
  --measure: 66ch;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 5rem;
  --space-9: 8rem;

  --radius-s: 0.5rem;
  --radius-m: 1rem;
  --radius-l: 1.75rem;
  --radius-pill: 999px;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --grid-max: 72rem;
  --header-h: 4rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: clamp(1rem, 0.75rem + 1.5vw, 1.25rem);
  scroll-behavior: auto !important;
  scroll-padding-top: 5.5rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  line-height: var(--lh-body);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  min-height: 100%;
}

img { max-width: 100%; height: auto; display: block; }

.svg-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
button, input { font: inherit; color: inherit; }
a { color: inherit; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: var(--lh-display);
  letter-spacing: -0.02em;
  margin: 0;
}

h1, .display { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); font-family: var(--font-ui); letter-spacing: 0; font-weight: 500; }

p { margin: 0; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--grid-max));
  margin-inline: auto;
}

.measure { max-inline-size: var(--measure); }

/* -- liquid glass, chrome only -- */
/* -- liquid glass, chrome only -- */
/* CSS fallback is always on. The SVG feDisplacementMap refraction is added
   only where backdrop-filter: url() is supported. Never apply the filter
   to the element itself - that would distort the type and CTAs. */
.glass {
  position: relative;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.16) 0%, var(--glass-fill) 42%, rgba(236, 244, 246, 0.06) 100%);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 var(--specular),
    inset 1px 0 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(170, 210, 230, 0.08),
    0 10px 40px rgba(0, 0, 0, 0.28);
  isolation: isolate;
}

@supports (backdrop-filter: url(#liquid-glass)) or (-webkit-backdrop-filter: url(#liquid-glass)) {
  .glass {
    backdrop-filter: blur(16px) saturate(170%) url(#liquid-glass);
    -webkit-backdrop-filter: blur(16px) saturate(170%) url(#liquid-glass);
  }
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 36%),
    linear-gradient(90deg, rgba(255, 180, 160, 0.06), transparent 28%, transparent 72%, rgba(160, 210, 255, 0.07));
  opacity: 0.7;
  z-index: 1;
}

.glass > * {
  position: relative;
  z-index: 2;
}

/* -- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 500;
  font-size: var(--step-0);
  line-height: 1.2;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn-accent {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
  isolation: isolate;
  mix-blend-mode: normal;
  /* #071114 on #D8C49A is above 10:1, well over AA */
}

.btn-accent:hover { background: #e4d2ae; color: var(--paper); }

.btn-ghost {
  background: rgba(7, 17, 20, 0.86);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--ink);
  isolation: isolate;
  mix-blend-mode: normal;
  /* #F4F7F8 on rgba(7,17,20,0.86) over a white photo still clears 4.5:1 */
}

.btn-ghost:hover { background: rgba(7, 17, 20, 0.94); color: var(--ink); }

.btn-sm { padding: 0.55rem 0.9rem; font-size: 0.9375rem; }

/* -- skip -- */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 0;
  transform: translateY(-150%);
  z-index: 80;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--paper);
  text-decoration: none;
  border-radius: var(--radius-s);
}
.skip-link:focus { transform: translateY(0.75rem); }

/* -- header -- */
.site-header {
  position: fixed;
  top: 0.75rem;
  left: var(--gutter);
  right: var(--gutter);
  z-index: 40;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--space-3);
  min-height: 3.25rem;
  padding: 0.35rem 0.45rem 0.35rem 1rem;
  border-radius: var(--radius-m);
  view-transition-name: header;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.14) 0%, rgba(7, 17, 20, 0.62) 42%, rgba(7, 17, 20, 0.72) 100%);
}

.site-header .header-nav a {
  color: var(--ink);
}


.wordmark {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.1rem;
}

.nav-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu-toggle {
  cursor: pointer;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-s);
  font-weight: 500;
  font-size: 0.9375rem;
  margin-left: auto;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.header-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.975rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-s);
}
.header-nav a:hover { color: var(--ink); }

.header-cta {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .header-nav {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    min-width: 12.5rem;
    padding: 0.6rem;
    border-radius: var(--radius-m);
    background:
      linear-gradient(165deg, rgba(255, 255, 255, 0.14) 0%, var(--glass-fill-strong) 42%, rgba(14, 28, 33, 0.92) 100%);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  }
  .nav-checkbox:checked ~ .header-nav {
    display: flex;
  }
}

@media (min-width: 768px) {
  .menu-toggle,
  .nav-checkbox { display: none; }
  .header-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-1);
    margin-left: auto;
    padding: 0;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }
}

/* -- hero -- */
.hero {
  position: relative;
  color: var(--ink);
}

.hero-pin {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  touch-action: pan-y;
}

.hero-alive {
  position: absolute;
  inset: 0;
  transform-origin: center center;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  transform-origin: center center;
}

@media (max-width: 767px) {
  .hero-photo {
    object-position: 85% 55%;
  }
}

.hero-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0;
}

.hero-fx.is-ready {
  opacity: 1;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 17, 20, 0.28) 0%, rgba(7, 17, 20, 0.05) 32%, rgba(7, 17, 20, 0.2) 58%, rgba(7, 17, 20, 0.78) 100%),
    linear-gradient(90deg, rgba(7, 17, 20, 0.45) 0%, rgba(7, 17, 20, 0.1) 48%, transparent 70%);
  pointer-events: none;
}

.hero-dock {
  position: relative;
  z-index: 2;
  margin: 0 var(--gutter) clamp(1.5rem, 6vh, 3.5rem);
  max-width: 38rem;
  padding: 1.35rem 1.5rem 1.5rem;
  border-radius: var(--radius-l);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.14) 0%, rgba(7, 17, 20, 0.58) 45%, rgba(7, 17, 20, 0.7) 100%);
}

.hero-dock h1 { max-width: 12ch; }
.hero-dock .line { display: block; overflow: hidden; }
.hero-dock .line-inner { display: block; }

.hero-lead {
  margin-top: var(--space-4);
  color: var(--ink-soft);
  font-size: var(--step-0);
  max-inline-size: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-5);
}

.hero-actions .x-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.975rem;
}
.hero-actions .x-link:hover { color: var(--ink); }

/* -- sections -- */
.section {
  padding: var(--space-8) 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.section-kicker {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: var(--space-2);
}

/* -- finds -- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.filter-btn {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ink-soft);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-s);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9375rem;
}

.filter-btn[aria-pressed="true"] {
  background: var(--glass-fill-strong);
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--ink);
}

.finds-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--paper-2);
  aspect-ratio: 4 / 3;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.card:hover .card-media img { transform: scale(1.03); }

.card-score {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-s);
  background: rgba(7, 17, 20, 0.55);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.card-score span {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--ink-soft);
  margin-left: 0.1rem;
}

.badge-upcoming {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-s);
  background: rgba(7, 17, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.8rem;
  font-weight: 500;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4) 0 0;
  flex: 1;
}

.card-meta {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.card-price {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.card-price small {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0;
  color: var(--muted);
}

.card-facts {
  color: var(--ink-soft);
  font-size: 0.925rem;
}

.card-why {
  color: var(--ink-soft);
  font-size: 0.975rem;
  max-inline-size: 46ch;
}

.card-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.card-flags li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.card-flags li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 1px;
  background: var(--flag);
  flex: 0 0 auto;
}

.card-verify {
  color: var(--muted);
  font-size: 0.82rem;
}

.card-body .btn { margin-top: auto; align-self: flex-start; }

.finds-empty {
  display: none;
  color: var(--ink-soft);
  padding: var(--space-7) 0;
}
.finds-empty.is-visible { display: block; }

@media (min-width: 768px) {
  .finds-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-5) var(--space-5);
  }
  .card { grid-column: span 4; }
  .card.wide { grid-column: span 6; }
  .card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: var(--space-6);
    align-items: stretch;
  }
  .card.featured .card-media {
    aspect-ratio: 3 / 2;
    height: 100%;
  }
  .card.featured .card-body {
    padding-top: var(--space-2);
    justify-content: center;
  }
  .card.featured .card-why { font-size: var(--step-0); }
  .card.featured .card-price { font-size: var(--step-2); }
}

/* -- lock -- */
.lock {
  padding-top: var(--space-7);
  padding-bottom: var(--space-8);
}

.lock-inner {
  max-width: 34rem;
}

.lock h2 { margin-bottom: var(--space-5); max-width: 16ch; }

.lock p {
  color: var(--ink-soft);
  margin-bottom: var(--space-5);
  max-inline-size: var(--measure);
}

/* -- guide -- */
.guide-intro {
  color: var(--ink-soft);
  max-inline-size: var(--measure);
  margin: var(--space-4) 0 var(--space-7);
}

.guide-grid {
  display: grid;
  gap: var(--space-7);
}

.guide-country h3,
.guide-country .country-name {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: var(--step-2);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.guide-country p,
.guide-country li {
  color: var(--ink-soft);
  font-size: var(--step-0);
}

.guide-country ul {
  margin: var(--space-3) 0 0;
  padding-left: 1.1rem;
}

.guide-country li + li { margin-top: var(--space-2); }

.guide-country a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.15em; }

.guide-dk {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ink-soft);
  max-inline-size: var(--measure);
  font-size: var(--step-0);
}

.disclaimer {
  margin-top: var(--space-5);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .guide-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--space-7);
    align-items: start;
  }
}

/* -- join -- */
.join-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.tier {
  padding: var(--space-5) 0;
}

.tier-insider {
  padding: var(--space-6);
  border-radius: var(--radius-l);
}

.tier-name {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--step-0);
  margin-bottom: var(--space-3);
}

.tier-price {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: var(--step-2);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.tier p { color: var(--ink-soft); max-inline-size: 36ch; }
.tier .btn { margin-top: var(--space-5); }
.tier-note { color: var(--muted); font-size: 0.85rem; margin-top: var(--space-3); }

@media (max-width: 767px) {
  .tier-insider { order: -1; }
}

@media (min-width: 900px) {
  .join-grid {
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: stretch;
    gap: var(--space-5);
  }
  .tier { padding-top: var(--space-6); }
  .tier-insider { padding: var(--space-7) var(--space-6); }
}

/* -- footer -- */
.site-footer {
  padding: var(--space-8) 0 var(--space-7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink-soft);
  font-size: 0.925rem;
}

.site-footer p + p { margin-top: var(--space-4); }
.site-footer a { color: var(--accent); text-underline-offset: 0.15em; }
.footer-meta { color: var(--muted); margin-top: var(--space-6); }

/* -- unlock sheet -- */
.unlock-sheet {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  width: min(36rem, calc(100% - 2 * var(--gutter)));
  max-height: calc(100svh - 2rem);
}
.unlock-sheet::backdrop {
  background: rgba(7, 17, 20, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sheet-inner {
  border-radius: var(--radius-l);
  padding: var(--space-6);
  background-color: rgba(14, 28, 33, 0.72);
}

.sheet-inner h2 { margin-bottom: var(--space-4); }
.sheet-inner p { color: var(--ink-soft); margin-bottom: var(--space-4); }
.sheet-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.sheet-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius-s);
  font-size: 0.95rem;
  font-weight: 500;
}

.edit-mark {
  color: var(--muted);
  font-size: 0.85rem;
}

/* -- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .card:hover .card-media img { transform: none; }
  .hero-fx { display: none !important; }
}

@media (max-width: 767px) {
  .hero-dock { padding: 1.15rem 1.15rem 1.25rem; }
  .hero-actions .btn { width: auto; }
}

/* -- sound toggle -- */
.sound-toggle {
  position: fixed;
  right: var(--gutter);
  bottom: 1rem;
  z-index: 30;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--radius-s);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.14) 0%, rgba(7, 17, 20, 0.62) 42%, rgba(7, 17, 20, 0.72) 100%);
  touch-action: manipulation;
}

.sound-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.sound-toggle .icon-on { display: none; }
.sound-toggle.is-on .icon-on { display: block; }
.sound-toggle.is-on .icon-off { display: none; }
