/* Rose Handmade — hand-authored, no build step. Dark-first: the espresso/rose-gold
   palette is the shop's actual brand identity, not a theme preference. */

/* Self-hosted webfonts: no third-party request, no Google Fonts GDPR exposure
   for an EU/CH shop, and the page renders identically offline. See README.md
   for the regeneration recipe if a weight is ever added. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/cormorant-garamond-400-italic-latin.woff2") format("woff2");
  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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/cormorant-garamond-300-normal-latin-ext.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/cormorant-garamond-300-normal-latin.woff2") format("woff2");
  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: "Great Vibes";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/great-vibes-400-normal-latin.woff2") format("woff2");
  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: "Jost";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/jost-300-normal-latin-ext.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/jost-300-normal-latin.woff2") format("woff2");
  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: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jost-400-normal-latin-ext.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jost-400-normal-latin.woff2") format("woff2");
  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 {
  --ink: #140c09;
  --espresso: #1e120d;
  --bark: #271710;
  --cocoa: #3a2519;
  --line: rgba(213, 160, 122, 0.16);
  --line-strong: rgba(213, 160, 122, 0.34);

  --gold: #d5a07a;
  --gold-soft: #b9825e;
  --gold-bright: #f0cdac;
  --cream: #f6ece2;
  --cream-dim: #bda695;

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --script: "Great Vibes", "Snell Roundhand", "Apple Chancery", cursive;
  --ui: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shell: min(1180px, 100% - 2.5rem);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--ui);
  font-weight: 300;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: 0.005em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--gold);
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.25em;
  transition: color 0.25s var(--ease);
}

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

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

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

.skip {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 0.7rem 1.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip:focus {
  top: 0.75rem;
}

/* --- atmosphere ------------------------------------------------------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("images/grain.svg");
  opacity: 0.05;
  mix-blend-mode: soft-light;
}

.glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60rem 34rem at 50% -8%, rgba(213, 160, 122, 0.16), transparent 68%),
    radial-gradient(38rem 28rem at 92% 16%, rgba(168, 86, 90, 0.09), transparent 70%);
}

body > *:not(.grain):not(.glow) {
  position: relative;
  z-index: 2;
}

/* --- masthead --------------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem max(1.25rem, calc((100% - var(--shell)) / 2));
  background: color-mix(in srgb, var(--espresso) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}

.masthead.is-stuck {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--espresso) 94%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-script {
  font-family: var(--script);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 0.9;
}

.brand-word {
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding-left: 0.15em;
}

.masthead-nav {
  display: none;
  gap: 1.9rem;
}

.masthead-nav a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

@media (min-width: 62rem) {
  .masthead-nav {
    display: flex;
  }
}

/* --- buttons ---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  font-family: var(--ui);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #241309;
  border-color: var(--gold);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #fadcc0, var(--gold-bright));
  color: #241309;
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--cream);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(213, 160, 122, 0.07);
}

.masthead-cta {
  padding: 0.6rem 1.25rem;
  font-size: 0.72rem;
}

.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: var(--gold);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.25em;
}

.linkish:hover {
  color: var(--gold-bright);
}

/* --- hero ------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(92vh, 60rem);
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(3rem, 8vh, 6rem) 1.25rem clamp(4rem, 10vh, 7rem);
}

.hero-inner {
  width: var(--shell);
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.emblem {
  position: relative;
  width: clamp(190px, 46vw, 236px);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(213, 160, 122, 0.09), transparent 70%);
}

.emblem::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.emblem-rose {
  width: clamp(46px, 12vw, 58px);
  height: auto;
  margin-bottom: 0.1rem;
}

.emblem-script {
  font-family: var(--script);
  font-size: clamp(2.6rem, 8vw, 3.35rem);
  line-height: 0.82;
  color: var(--gold-bright);
}

.emblem-word {
  font-family: var(--display);
  font-size: clamp(0.62rem, 1.7vw, 0.72rem);
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: var(--cream);
  padding-left: 0.5em;
  margin-top: 0.45rem;
}

.emblem-tag {
  font-family: var(--script);
  font-size: clamp(0.92rem, 2.6vw, 1.05rem);
  color: var(--cream-dim);
  margin-top: 0.3rem;
}

.emblem-tag::before,
.emblem-tag::after {
  content: "·";
  color: var(--gold-soft);
  padding: 0 0.5em;
}

.hero-title {
  font-size: clamp(2.1rem, 6.4vw, 3.5rem);
  font-weight: 300;
  max-width: 18ch;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.hero-lede {
  color: var(--cream-dim);
  max-width: 44ch;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 0.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  opacity: 0.75;
  margin-top: 0.6rem;
}

@media (max-width: 30rem) {
  .hero-meta {
    flex-direction: column;
    gap: 0.3rem;
  }

  .hero-meta [aria-hidden] {
    display: none;
  }
}

.scroll-cue {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 3.4rem;
  background: linear-gradient(var(--line-strong), transparent);
}

.scroll-cue span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--gold);
  animation: cue 2.6s var(--ease) infinite;
}

@keyframes cue {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translateY(3.2rem);
    opacity: 0;
  }
}

/* --- rule ornament ---------------------------------------------------- */

.rule {
  width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.rule::before,
.rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.rule span {
  width: 6px;
  height: 6px;
  flex: none;
  transform: rotate(45deg);
  border: 1px solid var(--line-strong);
}

/* --- sections --------------------------------------------------------- */

.section {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(4rem, 11vh, 7.5rem) 0;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 6vw, 3.75rem);
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1rem;
}

.section h2 {
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
  font-weight: 300;
}

.section-lede {
  color: var(--cream-dim);
  margin-top: 1.1rem;
  max-width: 54ch;
}

/* --- styles grid ------------------------------------------------------ */

.styles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.style-card figure {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--bark), var(--espresso));
  overflow: hidden;
  transition:
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.style-card figure:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.style-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  padding: 1.5rem 1.5rem 0.5rem;
  opacity: 0.9;
}

.style-card figcaption {
  padding: 0.5rem 1.5rem 1.75rem;
}

.style-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.style-card p {
  color: var(--cream-dim);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* Real photographs, once brand.json carries a gallery, fill the same grid slots. */
.style-photo {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bark);
  transition:
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.style-photo:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.style-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  padding: 0;
}

.style-photo figcaption {
  padding: 1.25rem 1.4rem 1.6rem;
}

.style-photo h3 {
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.3rem;
  margin: 0 0 0.45rem;
}

.style-photo p {
  color: var(--cream-dim);
  font-size: 0.92rem;
}

.styles-note {
  margin-top: 2rem;
  font-size: 0.88rem;
  color: var(--cream-dim);
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  max-width: 60ch;
}

.note-mark {
  width: 5px;
  height: 5px;
  flex: none;
  transform: rotate(45deg) translateY(0.45rem);
  border: 1px solid var(--gold-soft);
}

/* --- custom order builder --------------------------------------------- */

.builder {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 60rem) {
  .builder {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.25rem;
  }
}

.builder-form {
  display: flex;
  flex-direction: column;
  gap: 1.9rem;
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 0.9rem;
}

.legend-hint {
  letter-spacing: 0.06em;
  text-transform: none;
  opacity: 0.6;
  font-size: 0.78rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.chip span {
  display: block;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--cream-dim);
  background: rgba(39, 23, 16, 0.5);
  transition:
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.chip:hover span {
  border-color: var(--line-strong);
  color: var(--cream);
}

.chip input:checked + span {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(213, 160, 122, 0.12);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.field-row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

/* :not(.switch) matters — the checkbox row is itself a label inside .field, and the
   block/margin rules below would otherwise beat .switch's own flex layout. */
.field label:not(.switch) {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 0.7rem;
}

input[type="number"],
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--ui);
  font-size: 1rem;
  font-weight: 300;
  color: var(--cream);
  background: rgba(20, 12, 9, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease);
}

textarea {
  resize: vertical;
  line-height: 1.6;
}

/* The native spinner sits exactly where the "cm" suffix goes. */
input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"]:hover,
textarea:hover {
  border-color: var(--line-strong);
}

input[type="number"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
}

::placeholder {
  color: rgba(189, 166, 149, 0.45);
}

.field-affix {
  position: relative;
}

.field-affix .affix {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--cream-dim);
  pointer-events: none;
}

.field-affix input {
  padding-right: 3rem;
}

.field-hint {
  margin-top: 0.6rem;
}

.field-check {
  margin-top: -0.4rem;
}

.switch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.switch input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: rgba(20, 12, 9, 0.6);
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.switch input:checked {
  background-color: var(--gold);
  border-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231e120d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
  background-size: 100%;
  background-repeat: no-repeat;
}

.switch span {
  margin-bottom: 0;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.95rem;
  color: var(--cream);
}

.size-guide {
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  background: rgba(39, 23, 16, 0.45);
}

.size-guide h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.size-guide ol {
  margin: 0 0 0.9rem;
  padding-left: 1.2rem;
  color: var(--cream-dim);
  font-size: 0.92rem;
  line-height: 1.75;
}

.size-guide p {
  font-size: 0.88rem;
  color: var(--cream-dim);
  opacity: 0.85;
}

/* --- message preview -------------------------------------------------- */

.builder-preview {
  position: sticky;
  top: 6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--bark), var(--espresso));
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.preview-head h3 {
  font-size: 1.4rem;
}

.preview-head p {
  font-size: 0.85rem;
  color: var(--cream-dim);
  margin-top: 0.35rem;
}

.preview-body {
  margin: 0;
  padding: 1.15rem 1.25rem;
  min-height: 11rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(20, 12, 9, 0.55);
  font-family: var(--ui);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--cream);
  white-space: pre-wrap;
  word-break: break-word;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.preview-actions .btn {
  flex: 1 1 10rem;
  padding: 0.8rem 1.1rem;
}

.preview-status {
  min-height: 1.2rem;
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

/* --- steps ------------------------------------------------------------ */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  counter-reset: step;
}

.steps li {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.step-n {
  display: block;
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--gold-soft);
  margin-bottom: 0.9rem;
}

.steps h3 {
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
}

.steps p {
  color: var(--cream-dim);
  font-size: 0.95rem;
}

/* --- about ------------------------------------------------------------ */

.about-grid {
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

@media (min-width: 58rem) {
  .about-grid {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

.about-copy h2 {
  font-size: clamp(1.9rem, 4.4vw, 2.7rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
  max-width: 20ch;
}

.about-copy p + p {
  margin-top: 1.1rem;
}

.about-copy p {
  color: var(--cream-dim);
  max-width: 54ch;
}

.about-sign {
  margin-top: 1.8rem;
}

.sign-script {
  font-family: var(--script);
  font-size: 1.9rem;
  color: var(--gold);
}

.about-art {
  margin: 0;
  display: grid;
  place-items: center;
}

.about-art img {
  width: min(11rem, 55%);
  opacity: 0.45;
}

/* --- closer ----------------------------------------------------------- */

.closer {
  width: var(--shell);
  margin: 0 auto clamp(4rem, 10vh, 7rem);
  padding: clamp(3rem, 8vw, 4.75rem) clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(34rem 18rem at 50% 0%, rgba(213, 160, 122, 0.12), transparent 70%),
    linear-gradient(170deg, var(--bark), var(--espresso));
}

.closer h2 {
  font-size: clamp(1.8rem, 4.6vw, 2.6rem);
  font-weight: 300;
}

.closer > p {
  color: var(--cream-dim);
  margin: 1rem auto 0;
  max-width: 42ch;
}

.closer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 2rem;
}

.contact-line {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--cream-dim);
}

/* --- footer ----------------------------------------------------------- */

.site-footer {
  width: var(--shell);
  margin: 0 auto;
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.footer-brand img {
  opacity: 0.8;
}

.footer-links,
.footer-fine {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  font-size: 0.82rem;
}

.footer-links a {
  text-decoration: none;
  letter-spacing: 0.08em;
}

.footer-fine {
  color: var(--cream-dim);
  opacity: 0.65;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* --- reveal ----------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .style-card figure:hover {
    transform: none;
  }
}
