/* Premium polish layer for the posted Quietcation HTML.
   Include this block at the end of your existing <style> to keep structure unchanged. */
:root {
  --container: min(1360px, 94vw);
  --radius: 2px;
  --measure-body: 56ch;
  --measure-copy: 42ch;
  --ease-luxe: cubic-bezier(.22,.61,.36,1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.002em;
}

/* Softer, brand-aligned text selection color */
::selection {
  background: #ebe1d4;
  color: #1f1914;
}

::-moz-selection {
  background: #ebe1d4;
  color: #1f1914;
}

.hero-content ::selection {
  background: #ebe1d4;
  color: #1f1914 !important;
  -webkit-text-fill-color: #1f1914;
  text-shadow: none;
}

.hero-content ::-moz-selection {
  background: #ebe1d4;
  color: #1f1914 !important;
  text-shadow: none;
}

.hero-content h1::selection,
.hero-content .hero-sub::selection,
.hero-content .kicker::selection,
.hero-content .hero-note::selection {
  background: #ebe1d4;
  color: #1f1914 !important;
  -webkit-text-fill-color: #1f1914;
  text-shadow: none;
}

.hero-content h1::-moz-selection,
.hero-content .hero-sub::-moz-selection,
.hero-content .kicker::-moz-selection,
.hero-content .hero-note::-moz-selection {
  background: #ebe1d4;
  color: #1f1914 !important;
  text-shadow: none;
}

body::before {
  opacity: 0.06;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.24) 0%, transparent 46%),
    radial-gradient(circle at 80% 30%, rgba(19, 35, 29, .08) 0%, transparent 52%);
}

body::after {
  opacity: 0.05;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.sound-toggle:focus-visible {
  outline: 2px solid rgba(238, 231, 220, 0.78);
  outline-offset: 2px;
}

section[id],
footer[id] {
  scroll-margin-top: calc(var(--sticky-offset) + 18px);
}

.topbar {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: background .34s var(--ease-luxe), border-color .34s var(--ease-luxe), box-shadow .34s var(--ease-luxe), backdrop-filter .34s var(--ease-luxe);
}

body.is-scrolled .topbar {
  background: rgba(17, 32, 27, 0.94);
  border-bottom-color: rgba(238,231,220,.3);
  backdrop-filter: blur(10px) saturate(116%);
  box-shadow: 0 8px 24px rgba(7, 14, 11, 0.22);
}

.nav {
  gap: 1.2rem;
}

.nav-left,
.nav-right {
  font-size: 0.62rem;
  letter-spacing: 0.055em;
}

.nav a {
  opacity: 0.88;
  letter-spacing: 0.045em;
  transition: opacity .22s ease;
}

.nav a:hover {
  opacity: 1;
}

/* Brand logo should stay fully visible; only dim slightly on hover */
.nav a.brand,
.brand {
  opacity: 1 !important;
  transition: opacity .22s ease;
}

.brand img {
  opacity: 1;
  transition: height .32s ease, transform .32s ease, opacity .22s ease, filter .22s ease;
}

.nav a.brand:hover,
.brand:hover {
  opacity: 0.88 !important;
}

.brand img {
  height: 41px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.22));
}

body.is-scrolled .brand img {
  height: 34px;
}

.hero {
  padding-bottom: clamp(10.4rem, 23vh, 16rem);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(18, 33, 27, 0.3) 0%, rgba(18, 33, 27, 0.05) 44%),
    linear-gradient(to top, rgba(8, 13, 11, 0.36) 0%, rgba(8, 13, 11, 0.16) 36%, rgba(8, 13, 11, 0.44) 100%);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(18, 33, 27, 0.24) 0%, rgba(18, 33, 27, 0) 40%),
    radial-gradient(circle at 70% 12%, rgba(238, 231, 220, 0.11), transparent 36%);
}

h1 {
  letter-spacing: 0.005em;
  text-shadow: 0 12px 30px rgba(4, 8, 7, 0.22);
  text-wrap: balance;
}

.hero-sub {
  font-size: .95rem;
  line-height: 1.68;
  max-width: 54ch;
}

.btn {
  border-radius: 4px;
  font-weight: 560;
  padding: .8rem 1.24rem;
  transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}

.btn.secondary {
  border-color: rgba(238, 231, 220, 0.66);
  background: rgba(238, 231, 220, 0.04);
}

.btn:hover {
  transform: none;
}

.hero-actions .btn.secondary:hover,
.hero-actions .btn.secondary:focus-visible {
  background: rgba(238, 231, 220, 0.14);
  border-color: rgba(238, 231, 220, 0.52);
  color: var(--white-strong);
}

.topbar .sound-toggle:hover,
.topbar .nav a:hover,
.topbar .nav a:focus-visible {
  transform: none;
}

.content-layer {
  background: rgba(246, 242, 236, 0.985);
}

.section {
  margin-bottom: 4.6rem;
}

.section-index {
  font-size: .76rem;
  letter-spacing: .02em;
}

.section h2 {
  font-weight: 560;
  letter-spacing: .006em;
  text-wrap: balance;
}

.section-link {
  display: inline-block;
  position: relative;
  letter-spacing: .05em;
  opacity: .86;
  transition: opacity .22s ease, color .22s ease;
  text-decoration: none !important;
}

.section-link::after {
  content: none;
  display: none;
}

.section-link:hover {
  opacity: 1;
  text-decoration: none !important;
}

.section-link:hover::after {
  transform: none;
}

#night-edits {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: 0 -1px 0 #0a1713, 0 1px 0 #0a1713;
}

#night-edits + .full-bleed-stage {
  margin-top: 0 !important;
}

.cards {
  gap: 1.04rem;
  padding-bottom: 1.55rem;
}

.card {
  border-radius: 2px;
  transform-origin: center bottom;
  box-shadow: 0 10px 26px rgba(11, 21, 17, 0.08);
  transition: transform .38s var(--ease-luxe), box-shadow .38s var(--ease-luxe);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(11, 21, 17, 0.13);
}

.card img,
.card video {
  filter: saturate(92%) contrast(103%);
}

/* Sharper image corners across sections */
.card-media,
.card img,
.card video,
.feature-split-media img,
.mini-article,
.mini-article img,
.mini-article video,
.anthology-media,
.anthology-media img,
.anthology-media video {
  border-radius: 2px;
}

.card-body {
  padding: 1.34rem 1.12rem 1.46rem;
  gap: .7rem;
}

.meta {
  font-size: .55rem;
  letter-spacing: .085em;
}

.card h3 {
  line-height: 1.09;
  font-size: 1.26rem;
}

.card p {
  font-size: .84rem;
  line-height: 1.68;
}

.stay-name {
  font-size: clamp(1.74rem, 2.8vw, 3rem);
}

.feature-split-copy {
  gap: clamp(1rem, 1.4vw, 1.62rem);
  max-width: 45ch;
}

.feature-split-title {
  line-height: 1.03;
}

.feature-split-text,
.anthology-copy-text,
.band p {
  text-wrap: pretty;
}

.atlas-tag {
  border-radius: 999px;
  padding: .25rem .56rem;
  background: rgba(246, 242, 236, 0.56);
}

.anthology-copy {
  transition: opacity .4s ease;
}

.anthology-media {
  transition: opacity .44s ease;
}

.full-bleed-quote-text {
  display: inline-grid;
  justify-items: center;
  gap: .12rem;
  text-shadow: 0 14px 34px rgba(5, 10, 8, 0.28);
}

.full-bleed-quote-text,
.full-bleed-quote-main,
.full-bleed-quote-sep,
.full-bleed-quote-cite {
  pointer-events: auto;
  user-select: text;
  -webkit-user-select: text;
}

.full-bleed-quote-main {
  line-height: .9;
}

.full-bleed-quote-sep {
  line-height: 1;
  opacity: .94;
}

.full-bleed-quote-cite {
  margin-top: .08rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(.66rem, 1.06vw, .86rem);
  letter-spacing: .07em;
  line-height: 1.24;
  color: rgba(255, 255, 255, 0.9);
}

.full-bleed-quote-cite a {
  pointer-events: auto;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  letter-spacing: .045em;
  color: rgba(255, 255, 255, 0.98);
  text-decoration: none !important;
  border-bottom: 0;
  text-underline-offset: .18em;
  padding-bottom: .02em;
}

.full-bleed-quote-cite a:hover {
  opacity: 1;
  text-decoration: none !important;
  border-bottom: 0;
}

.band {
  padding-top: clamp(2.2rem, 4.3vw, 3.2rem);
  padding-bottom: clamp(2.2rem, 4.3vw, 3.2rem);
}

.band-title {
  line-height: .86;
}

.footer {
  border-top: 1px solid rgba(238, 230, 218, 0.16);
}

.footer-inner {
  font-size: .76rem;
  letter-spacing: .03em;
  line-height: 1.5;
}

.modal-card,
.modal-mail,
.newsletter-input,
.newsletter-submit,
.sound-toggle {
  border-radius: 4px;
}

.modal-card {
  backdrop-filter: blur(10px);
  border-color: rgba(26, 49, 41, 0.24);
}

@media (max-width: 1100px) {
  .feature-split-media img {
    min-height: 400px;
  }

  .feature-split-copy {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  :root {
    --container: calc(100vw - (var(--section-gutter) * 2));
  }

  body::before,
  body::after,
  .content-layer::before {
    content: none !important;
    display: none !important;
  }

  .content-layer {
    background: #f6f2ec;
  }

  .nav {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    justify-self: start;
  }

  .nav-right {
    justify-self: end;
  }

  .brand img {
    height: 34px;
  }

  body.is-scrolled .brand img {
    height: 30px;
  }

  .hero {
    padding-bottom: clamp(5rem, 10vh, 7.2rem);
  }

  h1 {
    font-size: clamp(2.15rem, 9vw, 3.4rem);
    line-height: .94;
  }

  .hero-sub {
    font-size: .88rem;
    line-height: 1.62;
    max-width: 46ch;
  }

  .hero-actions {
    width: min(360px, 100%);
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    margin-bottom: 1.6rem;
  }

  .section-head {
    margin-top: .48rem;
    margin-bottom: .86rem;
  }

  .cards {
    gap: .72rem;
    padding-bottom: 1.08rem;
  }

  .cards--stays .card {
    flex-basis: min(84vw, 352px);
  }

  .cards--collections .card {
    flex-basis: min(78vw, 322px);
  }

  .card,
  .card:hover {
    box-shadow: none;
    transform: none;
  }

  .feature-split-text,
  .anthology-copy-text,
  .band p {
    font-size: .84rem;
  }

  .footer-inner {
    font-size: .69rem;
    gap: .6rem;
  }

  .full-bleed-quote-cite {
    font-size: clamp(.68rem, 2.8vw, .78rem);
    letter-spacing: .055em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
