/* Velvet Hour — velvethour.nl
   Palette: Void, Oxblood, Gold, Gold soft, Ivory (brand-guide.md)
   Type: Outfit + Fraunces, self-hosted SIL OFL
*/

@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("/fonts/fraunces-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("/fonts/fraunces-italic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("/fonts/fraunces-italic-600.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

:root {
  --void: #080506;
  --oxblood: #3e1018;
  --gold: #c9a052;
  --gold-soft: #e4c98a;
  --ivory: #f3ebe0;
  --ivory-dim: #cbb9a8;
  --line: rgba(201, 160, 82, 0.38);
  --line-soft: rgba(201, 160, 82, 0.18);
  --overlay: rgba(8, 5, 6, 0.88);
  --font-sans: Outfit, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Fraunces, Georgia, "Times New Roman", serif;
  --wide: 70rem;
  --narrow: 40rem;
  --pad: clamp(1.25rem, 4.5vw, 2.75rem);
  --header-h: 4.75rem;
  --radius: 0.15rem;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

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

html {
  background: var(--void);
  color: var(--ivory);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  background-color: var(--void);
  background-image:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(62, 16, 24, 0.55), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 10%, rgba(62, 16, 24, 0.35), transparent 50%);
  background-repeat: no-repeat;
  color: var(--ivory);
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: url("/img/grain.png") repeat;
  background-size: 128px 128px;
  opacity: 0.05;
}

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

a {
  color: var(--gold-soft);
  text-decoration-color: var(--line);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--gold);
}

:focus {
  outline: none;
}

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

.skip-link {
  position: absolute;
  left: var(--pad);
  top: -100px;
  z-index: 100;
  background: var(--gold);
  color: var(--void);
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.6rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.6rem var(--pad);
  background: rgba(8, 5, 6, 0.86);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  line-height: 1;
  padding: 0.2rem 0.15rem;
  flex-shrink: 0;
}

.wordmark-velvet {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
}

.wordmark-rule {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0.28em 0 0.18em;
  background: var(--gold);
}

.wordmark-hour {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--gold-soft);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

.lang-switch a,
.lang-switch span[aria-current="true"] {
  color: var(--ivory-dim);
  text-decoration: none;
  padding: 0.35rem 0.15rem;
}

.lang-switch a:hover {
  color: var(--gold-soft);
}

.lang-switch span[aria-current="true"] {
  color: var(--gold);
}

.lang-switch .sep {
  color: var(--line);
  user-select: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold-soft);
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-toggle-bars {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  background:
    linear-gradient(var(--gold-soft), var(--gold-soft)) 0 0 / 100% 1.5px no-repeat,
    linear-gradient(var(--gold-soft), var(--gold-soft)) 0 50% / 100% 1.5px no-repeat,
    linear-gradient(var(--gold-soft), var(--gold-soft)) 0 100% / 100% 1.5px no-repeat;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background:
    linear-gradient(var(--gold-soft), var(--gold-soft)) 0 50% / 100% 1.5px no-repeat,
    linear-gradient(transparent, transparent);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold);
}

/* Mobile nav */
@media (max-width: 879px) {
  .site-header {
    background: var(--void);
    backdrop-filter: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--void);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1.25rem;
    isolation: isolate;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav li + li {
    border-top: 1px solid var(--line-soft);
  }

  .site-nav a {
    display: block;
    padding: 0.95rem 0;
  }
}

@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: block;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 1.6rem;
  }

  .header-tools {
    order: 1;
  }

  .site-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .site-nav {
    justify-self: end;
    margin-right: 1.5rem;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--void);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius);
}

.btn:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--void);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-soft);
}

.btn-ghost:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Layout ---------- */

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

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

main {
  padding-bottom: 4rem;
}

.page-hero {
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 2.5rem;
  text-align: center;
}

.kicker {
  margin: 0 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.badge-18 {
  display: inline-block;
  margin: 0;
  padding: 0.15rem 0.4rem 0.12rem;
  border: 1px solid var(--gold);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--gold-soft);
  letter-spacing: 0;
}

h1 {
  margin: 0 0 1rem;
  font-style: italic;
  font-size: clamp(2.15rem, 7.2vw, 4.6rem);
  font-weight: 400;
  text-wrap: balance;
}

h2 {
  margin: 0 0 1rem;
  font-style: italic;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: var(--ivory);
}

.lead {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  color: var(--ivory);
  font-size: 1.1rem;
}

.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.section-head p {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--ivory-dim);
}

hr.rule {
  border: 0;
  height: 1px;
  width: min(12rem, 40%);
  margin: 0 auto;
  background: var(--gold);
  opacity: 0.55;
}

/* ---------- Product cards ---------- */

.product-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: rgba(8, 5, 6, 0.45);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-card a.card-image {
  display: block;
  text-decoration: none;
  background: var(--void);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.15rem 1.15rem 1.35rem;
  flex: 1;
}

.product-card .sku {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.product-card .hook {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-soft);
  line-height: 1.3;
}

.product-card h3 {
  margin: 0.15rem 0 0;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory);
}

.product-card .price {
  margin: 0.15rem 0 0.35rem;
  font-weight: 500;
  color: var(--gold);
}

.product-card .blurb {
  margin: 0 0 1rem;
  flex: 1;
  color: var(--ivory-dim);
  font-size: 0.95rem;
}

.product-card .btn {
  width: 100%;
}

/* Products page: richer cards can span */
.product-detail {
  display: grid;
  gap: 1.5rem;
  padding: 0 0 3rem;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 3rem;
}

.product-detail:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 800px) {
  .product-detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 2.5rem;
  }

  .product-detail:nth-of-type(even) .detail-visual {
    order: 2;
  }
}

.detail-visual img,
.detail-visual picture {
  width: 100%;
  border: 1px solid var(--line-soft);
}

.detail-copy .hook {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--gold-soft);
  line-height: 1.25;
}

.detail-copy .sub {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

.detail-copy ul {
  margin: 0 0 1.35rem;
  padding-left: 1.1rem;
  color: var(--ivory);
}

.detail-copy li + li {
  margin-top: 0.3rem;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.step {
  text-align: center;
  padding: 0.5rem 0.25rem;
}

.step-num {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.step h3 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.step p {
  margin: 0;
  color: var(--ivory-dim);
}

/* ---------- Teaser ---------- */

.teaser {
  text-align: center;
  padding: 2.75rem var(--pad);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(62, 16, 24, 0.28);
}

.teaser p {
  margin: 0.35rem 0 0;
  color: var(--ivory-dim);
}

.teaser h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

/* ---------- Prose pages ---------- */

.prose {
  padding-top: 0.5rem;
}

.prose h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-align: left;
  margin-bottom: 0.35rem;
}

.prose .lead {
  margin-left: 0;
  text-align: left;
  color: var(--ivory-dim);
}

.prose h2 {
  margin-top: 2.2rem;
  font-size: 1.55rem;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.prose p,
.prose li {
  color: var(--ivory);
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
}

.page-hero.left,
.page-hero.left .lead {
  text-align: left;
  margin-left: 0;
}

.email-hero {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
}

.email-hero a {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.email-hero a:hover {
  color: var(--gold);
}

.legal-block {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
  color: var(--ivory-dim);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 2rem;
  padding: 2.75rem 0 2rem;
  border-top: 1px solid var(--line-soft);
  background: rgba(8, 5, 6, 0.7);
  color: var(--ivory-dim);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
  }
}

.site-footer h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.site-footer a {
  color: var(--ivory-dim);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.footer-brand p {
  margin: 0 0 0.7rem;
}

.footer-legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.85rem;
  color: var(--ivory-dim);
}

.footer-legal p {
  margin: 0 0 0.55rem;
}

/* ---------- Age gate ---------- */

.age-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(62, 16, 24, 0.55), transparent 55%),
    var(--overlay);
}

html.js:not(.age-ok) .age-gate {
  display: flex;
}

html.js:not(.age-ok) body {
  overflow: hidden;
}

.age-card {
  width: min(100%, 26rem);
  padding: 2.1rem 1.6rem 1.8rem;
  text-align: center;
  background: var(--void);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow);
}

.age-card h2 {
  margin: 0.4rem 0 0.8rem;
  font-size: 1.7rem;
}

.age-card p {
  margin: 0 0 1.4rem;
  color: var(--ivory);
}

.age-card .btn {
  width: 100%;
}

/* ---------- 404 ---------- */

.page-404 {
  text-align: center;
  padding: clamp(3rem, 10vw, 6rem) 0;
}

.page-404 h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
}

/* ---------- Utilities ---------- */

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

.center {
  text-align: center;
}

.muted {
  color: var(--ivory-dim);
}

.ai-note {
  margin-top: 2rem;
  font-size: 0.92rem;
  color: var(--ivory-dim);
  font-style: italic;
  font-family: var(--font-serif);
}

.page-hero .btn-row,
.btn-row.center {
  justify-content: center;
}

.detail-visual picture,
.card-image picture {
  display: block;
}

.teaser-follow {
  margin-top: 3rem;
  border: 1px solid var(--line-soft);
}


.age-leave {
  margin: 1.1rem 0 0;
}

.age-leave a {
  color: var(--ivory-dim);
  font-size: 0.88rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.age-leave a:hover {
  color: var(--gold-soft);
}

.noscript-age {
  margin: 0;
  padding: 0.65rem var(--pad);
  text-align: center;
  background: var(--oxblood);
  color: var(--ivory);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line-soft);
}
