@charset "UTF-8";

@property --gold-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 110deg;
}

:root {
  --ink: #17100d;
  --ink-soft: #2b1d18;
  --night: #100c0a;
  --night-2: #18110e;
  --paper: #f1e8d8;
  --paper-light: #faf5eb;
  --paper-deep: #e7dac3;
  --burgundy: #5e1718;
  --burgundy-dark: #300c0d;
  --burgundy-soft: #7b2928;
  --gold: #d7aa54;
  --gold-light: #f2d990;
  --gold-dark: #8b6126;
  --cream: #f8eddb;
  --muted: #73655c;
  --line: rgba(76, 49, 37, 0.18);
  --line-dark: rgba(241, 216, 156, 0.2);
  --shadow-soft: 0 24px 60px rgba(28, 15, 11, 0.13);
  --shadow-deep: 0 38px 90px rgba(0, 0, 0, 0.42);
  --radius-sm: 0.65rem;
  --radius: 1rem;
  --radius-lg: 1.6rem;
  --container: min(1180px, calc(100vw - 3rem));
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Baskerville, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-spring: cubic-bezier(0.18, 0.89, 0.32, 1.28);
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
  color-scheme: dark light;
  scrollbar-color: var(--gold-dark) var(--night);
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.62;
  background: var(--paper-light);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--night);
  background: var(--gold-light);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--night);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--night);
  border-radius: 99px;
  background: linear-gradient(var(--gold-light), var(--gold-dark));
}

img,
picture,
svg,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.25rem, 8vw, 7.65rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.7rem, 6vw, 5.35rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

p {
  text-wrap: pretty;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 9999;
  padding: 0.8rem 1rem;
  color: var(--night);
  background: var(--gold-light);
  border-radius: 0.35rem;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 999;
  height: 3px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), #fff0b2);
  box-shadow: 0 0 18px rgba(242, 217, 144, 0.65);
}

.cursor-aura {
  position: fixed;
  z-index: 998;
  width: 330px;
  aspect-ratio: 1;
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(calc(var(--cursor-x, -500px) - 50%), calc(var(--cursor-y, -500px) - 50%), 0);
  background: radial-gradient(circle, rgba(222, 176, 88, 0.13), rgba(222, 176, 88, 0) 68%);
  mix-blend-mode: screen;
  transition: opacity 500ms ease;
}

@media (hover: hover) and (pointer: fine) {
  body:hover .cursor-aura {
    opacity: 1;
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  min-height: var(--header-height);
  color: var(--cream);
  transition: background 450ms ease, border-color 450ms ease, backdrop-filter 450ms ease, transform 450ms var(--ease-out);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(237, 205, 129, 0.25), transparent);
  opacity: 0;
  transition: opacity 400ms ease;
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--night) 82%, transparent);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: 210px;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 2rem);
}

.nav a {
  position: relative;
  padding-block: 0.8rem;
  color: rgba(250, 238, 218, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0.45rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold-light);
  transition: transform 320ms var(--ease-out);
}

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

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  min-width: 190px;
  justify-self: end;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(239, 214, 151, 0.35);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.18);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 250ms ease, opacity 250ms ease;
}

.menu-open .menu-toggle span {
  opacity: 0;
}

.menu-open .menu-toggle::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle::after {
  transform: translateY(-6px) rotate(-45deg);
}

.button,
.button-ghost,
.text-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease, color 260ms ease, border-color 260ms ease;
}

.button {
  overflow: hidden;
  color: #2b170b;
  background: linear-gradient(125deg, #f1d48d, #c79440 58%, #f2d88f);
  box-shadow: 0 12px 34px rgba(184, 126, 49, 0.24), inset 0 1px rgba(255, 255, 255, 0.55);
}

.button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -120% 35%;
  transform: rotate(18deg) translateX(-400%);
  background: rgba(255, 255, 255, 0.52);
  transition: transform 700ms var(--ease-out);
}

.button:hover::before,
.button:focus-visible::before {
  transform: rotate(18deg) translateX(400%);
}

.button:hover,
.button:focus-visible,
.button-ghost:hover,
.button-ghost:focus-visible {
  transform: translateY(-3px);
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 18px 42px rgba(184, 126, 49, 0.35), inset 0 1px rgba(255, 255, 255, 0.65);
}

.button-ghost {
  color: var(--cream);
  border: 1px solid rgba(239, 213, 149, 0.48);
  background: rgba(12, 8, 7, 0.36);
  backdrop-filter: blur(8px);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--gold-light);
  background: rgba(215, 170, 84, 0.11);
}

.button svg,
.button-ghost svg,
.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform 260ms var(--ease-out);
}

.button:hover svg,
.button-ghost:hover svg,
.text-link:hover svg {
  transform: translateX(4px);
}

.text-link {
  min-height: auto;
  padding: 0;
  color: inherit;
  background: none;
}

.text-link::after {
  content: "";
  position: absolute;
  inset: auto 0 -0.35rem;
  height: 1px;
  transform: scaleX(0.28);
  transform-origin: left;
  background: currentColor;
  transition: transform 320ms var(--ease-out);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

.icon-arrow {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.eyebrow--light {
  color: var(--gold-light);
}

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  color: var(--gold-dark);
  font-family: var(--serif);
}

.section-index strong {
  font-size: 1.65rem;
  font-weight: 500;
}

.section-index span {
  font-family: var(--sans);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.section-index--light {
  color: var(--gold-light);
}

.lead {
  max-width: 62ch;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--muted);
}

.lead--light {
  color: rgba(250, 239, 218, 0.74);
}

.paper-section {
  position: relative;
  color: var(--ink);
  background-color: var(--paper-light);
  background-image: linear-gradient(rgba(250, 246, 238, 0.58), rgba(250, 246, 238, 0.58)), url("../img/paper-texture.webp");
}

.paper-section::before,
.paper-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.paper-section::before {
  inset: 0;
  opacity: 0.34;
  background-image: repeating-linear-gradient(90deg, rgba(59, 36, 27, 0.018) 0 1px, transparent 1px 8px);
}

.paper-section::after {
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(89, 50, 31, 0.18), transparent);
}

.dark-section {
  position: relative;
  color: var(--cream);
  background: var(--night);
}

.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 22%, rgba(176, 105, 39, 0.13), transparent 32%),
    radial-gradient(circle at 80% 68%, rgba(112, 24, 23, 0.23), transparent 36%),
    linear-gradient(rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0));
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--cream);
  background: #0e0907;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 48%;
  filter: saturate(0.9) contrast(1.08) brightness(0.56);
  transform: scale(1.06) translate3d(0, calc(var(--hero-parallax, 0) * 1px), 0);
  will-change: transform;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 6, 5, 0.96) 0%, rgba(14, 8, 6, 0.85) 35%, rgba(10, 6, 5, 0.35) 66%, rgba(5, 4, 3, 0.28) 100%),
    linear-gradient(180deg, rgba(8, 5, 4, 0.72), transparent 30%, rgba(8, 5, 4, 0.18) 72%, rgba(8, 5, 4, 0.82));
}

.hero-grain {
  position: absolute;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.66'/%3E%3C/svg%3E");
  animation: grainShift 0.55s steps(2) infinite;
}

@keyframes grainShift {
  0% { transform: translate3d(-2%, -2%, 0); }
  25% { transform: translate3d(2%, -1%, 0); }
  50% { transform: translate3d(-1%, 2%, 0); }
  75% { transform: translate3d(1%, 1%, 0); }
  100% { transform: translate3d(-2%, -2%, 0); }
}

#gold-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  padding-top: calc(var(--header-height) + 4.5rem);
  padding-bottom: 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 1.6rem;
  color: var(--gold-light);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 47px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.hero h1 {
  margin-bottom: 1.45rem;
  color: #f8eddd;
  text-shadow: 0 12px 46px rgba(0, 0, 0, 0.45);
}

.hero h1 .gold-word {
  position: relative;
  display: inline-block;
  color: transparent;
  background: linear-gradient(var(--gold-angle), #9b6a28 5%, #f7e1a4 32%, #c4943f 56%, #fff0b2 72%, #9d6e2d 94%);
  background-clip: text;
  -webkit-background-clip: text;
  animation: goldAngle 8s linear infinite;
  filter: drop-shadow(0 0 18px rgba(225, 180, 89, 0.14));
}

@keyframes goldAngle {
  to { --gold-angle: 470deg; }
}

.hero-description {
  max-width: 58ch;
  margin-bottom: 2rem;
  color: rgba(250, 238, 219, 0.8);
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem 1.8rem;
  margin-top: 2.1rem;
  color: rgba(250, 238, 219, 0.67);
  font-size: 0.79rem;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-proof span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 13px var(--gold);
}

.hero-book-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
  perspective: 1200px;
}

.hero-book {
  position: relative;
  width: min(370px, 72vw);
  aspect-ratio: 0.72;
  transform-style: preserve-3d;
  transform: rotateX(var(--book-rotate-x, 4deg)) rotateY(var(--book-rotate-y, -11deg)) rotateZ(-4deg) translateY(var(--book-float, 0px));
  transition: transform 140ms ease-out;
  filter: drop-shadow(0 56px 58px rgba(0, 0, 0, 0.58));
  animation: bookFloat 6.5s ease-in-out infinite;
}

@keyframes bookFloat {
  0%, 100% { --book-float: 0px; }
  50% { --book-float: -13px; }
}

.hero-book::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -24px;
  top: 2.5%;
  width: 30px;
  height: 94%;
  border-radius: 8px 0 0 8px;
  background: linear-gradient(90deg, #2e0c0c, #6d2520 58%, #33100f);
  transform: rotateY(-40deg) translateZ(-2px);
  transform-origin: right;
  box-shadow: inset -5px 0 9px rgba(0, 0, 0, 0.5);
}

.hero-book::after {
  content: "";
  position: absolute;
  z-index: -2;
  left: 5%;
  right: -10%;
  bottom: -18px;
  height: 22px;
  border-radius: 0 0 12px 12px;
  background: repeating-linear-gradient(0deg, #bd9a61 0 1px, #e5c998 1px 3px, #8d7148 3px 4px);
  transform: translateZ(-12px) skewX(-10deg);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.48);
}

.book-cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 219, 153, 0.48);
  border-radius: 9px 14px 14px 8px;
  background:
    radial-gradient(circle at 30% 24%, rgba(224, 105, 73, 0.2), transparent 18%),
    radial-gradient(circle at 72% 75%, rgba(30, 2, 2, 0.5), transparent 42%),
    linear-gradient(135deg, #6c201d, #45110f 45%, #761f1d 100%);
  box-shadow:
    inset 0 0 70px rgba(0, 0, 0, 0.48),
    inset 0 1px 1px rgba(255, 255, 255, 0.2),
    0 0 0 6px rgba(45, 9, 8, 0.5);
}

.book-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image:
    repeating-radial-gradient(circle at 0 0, transparent 0 3px, rgba(255, 255, 255, 0.05) 4px 5px),
    repeating-linear-gradient(110deg, transparent 0 8px, rgba(0, 0, 0, 0.08) 9px 10px);
  mix-blend-mode: overlay;
}

.book-cover::after {
  content: "";
  position: absolute;
  inset: -55% -20%;
  transform: translateX(-80%) rotate(15deg);
  background: linear-gradient(90deg, transparent 42%, rgba(255, 234, 172, 0.16) 50%, transparent 58%);
  animation: coverGleam 6.8s ease-in-out infinite 1.5s;
}

@keyframes coverGleam {
  0%, 18% { transform: translateX(-80%) rotate(15deg); }
  52%, 100% { transform: translateX(80%) rotate(15deg); }
}

.book-ornament {
  position: absolute;
  inset: 5.5%;
  width: 89%;
  height: 89%;
  opacity: 0.75;
  filter: drop-shadow(0 0 5px rgba(242, 212, 137, 0.2));
}

.book-title {
  position: absolute;
  inset: 38% 12% auto;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-family: var(--serif);
  text-align: center;
  text-shadow: 0 1px #3b1809, 0 0 14px rgba(239, 207, 128, 0.25);
}

.book-title small {
  font-size: 0.72rem;
  letter-spacing: 0.36em;
}

.book-title strong {
  margin-top: 0.45rem;
  font-size: clamp(2.35rem, 5vw, 3.45rem);
  font-weight: 500;
  letter-spacing: 0.09em;
}

.book-badge {
  position: absolute;
  right: -9%;
  bottom: 13%;
  width: 112px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(236, 208, 136, 0.55);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(34, 12, 9, 0.82);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.38), inset 0 0 0 5px rgba(215, 170, 84, 0.08);
  transform: translateZ(38px) rotate(11deg);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.book-badge::before {
  content: "✦";
  display: block;
  font-size: 1.25rem;
}

.hero-scroll {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 1.5rem;
  display: grid;
  place-items: center;
  gap: 0.55rem;
  color: rgba(248, 237, 219, 0.63);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-scroll i {
  width: 1px;
  height: 42px;
  overflow: hidden;
  background: rgba(248, 237, 219, 0.2);
}

.hero-scroll i::after {
  content: "";
  display: block;
  width: 100%;
  height: 50%;
  background: var(--gold-light);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { transform: translateY(-120%); }
  100% { transform: translateY(220%); }
}

/* Reliure */
.reliure-section {
  padding: clamp(6rem, 10vw, 10rem) 0;
}

.reliure-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.55fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.reliure-intro {
  position: sticky;
  top: calc(var(--header-height) + 3rem);
}

.reliure-intro h2 {
  max-width: 10ch;
  margin-bottom: 1.65rem;
}

.reliure-intro .lead {
  margin-bottom: 2rem;
}

.craft-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.craft-card {
  --card-y: 0px;
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(72, 42, 29, 0.14);
  border-radius: var(--radius-sm);
  color: var(--cream);
  background: var(--night);
  box-shadow: var(--shadow-soft);
  transform: translateY(var(--card-y));
  transition: transform 500ms var(--ease-out), box-shadow 500ms ease;
}

.craft-card:nth-child(even) {
  --card-y: 3.5rem;
}

.craft-card:hover {
  transform: translateY(calc(var(--card-y) - 9px));
  box-shadow: 0 34px 70px rgba(31, 15, 10, 0.22);
}

.craft-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter 600ms ease;
}

.craft-card:hover img {
  transform: scale(1.07);
  filter: brightness(1.06);
}

.craft-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(12, 7, 5, 0.18) 52%, rgba(12, 7, 5, 0.95) 100%);
}

.craft-card-content {
  position: absolute;
  z-index: 1;
  inset: auto 1.4rem 1.35rem;
}

.craft-card-number {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gold-light);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.craft-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.75rem;
}

.craft-card p {
  margin-bottom: 0;
  color: rgba(249, 237, 218, 0.67);
  font-size: 0.87rem;
}

/* Dorure */
.dorure-section {
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(6rem, 11vw, 11rem) 0;
}

.dorure-bg {
  position: absolute;
  inset: 0;
}

.dorure-bg img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: brightness(0.58) saturate(0.92) contrast(1.1);
  transform: scale(1.1) translateY(calc(var(--dorure-parallax, 0) * 1px));
  will-change: transform;
}

.dorure-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0f0b09 0 42%, rgba(15, 11, 9, 0.72) 62%, rgba(15, 11, 9, 0.34)),
    linear-gradient(180deg, rgba(15, 11, 9, 0.5), transparent 34%, rgba(15, 11, 9, 0.64));
}

.dorure-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 4rem;
}

.dorure-copy {
  max-width: 560px;
}

.dorure-copy h2 {
  margin-bottom: 0.4rem;
  color: transparent;
  background: linear-gradient(110deg, #9d6b2a, #f1d88e 38%, #fff2bb 53%, #b47b31 78%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 15px rgba(226, 180, 90, 0.15));
}

.dorure-subtitle {
  margin-bottom: 1.7rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  color: rgba(250, 239, 220, 0.9);
}

.dorure-features {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 4rem;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(14, 9, 7, 0.35);
  backdrop-filter: blur(12px);
}

.dorure-feature {
  position: relative;
  min-height: 220px;
  padding: 2rem 1.4rem;
  border-right: 1px solid var(--line-dark);
  transition: background 400ms ease;
}

.dorure-feature:last-child {
  border-right: 0;
}

.dorure-feature:hover {
  background: rgba(215, 170, 84, 0.08);
}

.dorure-feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 2rem;
}

.dorure-feature h3 {
  margin-bottom: 0.6rem;
  color: var(--gold-light);
  font-size: 1.25rem;
}

.dorure-feature p {
  margin-bottom: 0;
  color: rgba(250, 239, 219, 0.62);
  font-size: 0.85rem;
}

/* Process scroll story */
.process-story {
  position: relative;
  height: 340vh;
  background: var(--paper-light);
}

.process-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: var(--ink);
  background:
    linear-gradient(rgba(250, 245, 235, 0.78), rgba(250, 245, 235, 0.88)),
    url("../img/paper-texture.webp");
}

.process-sticky::after {
  content: "";
  position: absolute;
  right: -4%;
  bottom: -6%;
  width: 46vw;
  aspect-ratio: 1.4;
  opacity: 0.08;
  background: url("../img/fleuron.svg") center/contain no-repeat;
  transform: rotate(-8deg);
}

.process-heading {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3.6rem;
}

.process-heading h2 {
  max-width: 10ch;
  margin-bottom: 0;
  font-size: clamp(2.45rem, 5.4vw, 5rem);
}

.process-heading p {
  max-width: 42ch;
  margin-bottom: 0;
  color: var(--muted);
}

.process-rail-wrap {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.process-rail {
  display: flex;
  width: max-content;
  gap: 1.2rem;
  padding-right: 25vw;
  transform: translate3d(calc(var(--process-x, 0) * 1px), 0, 0);
  will-change: transform;
}

.process-card {
  position: relative;
  width: min(340px, 78vw);
  min-height: 380px;
  flex: 0 0 auto;
  padding: 2rem;
  overflow: hidden;
  border: 1px solid rgba(84, 49, 34, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 251, 244, 0.7);
  box-shadow: 0 18px 45px rgba(48, 28, 19, 0.09);
  backdrop-filter: blur(8px);
}

.process-card::before {
  content: attr(data-step);
  position: absolute;
  right: 1rem;
  top: 0.2rem;
  color: rgba(92, 23, 24, 0.06);
  font-family: var(--serif);
  font-size: 9rem;
  line-height: 1;
}

.process-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 4rem;
  border: 1px solid rgba(226, 186, 99, 0.45);
  border-radius: 50%;
  color: var(--gold-light);
  background: radial-gradient(circle at 35% 25%, #842b29, #3c0c0d 72%);
  box-shadow: 0 14px 30px rgba(70, 14, 14, 0.24), inset 0 1px rgba(255, 255, 255, 0.16);
  font-family: var(--serif);
  font-size: 1.7rem;
}

.process-card h3 {
  position: relative;
  margin-bottom: 0.85rem;
}

.process-card p {
  position: relative;
  color: var(--muted);
  font-size: 0.93rem;
}

.process-progress {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 2.2rem;
  width: min(520px, calc(100vw - 3rem));
  height: 3px;
  transform: translateX(-50%);
  background: rgba(74, 43, 30, 0.12);
}

.process-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--process-progress, 0));
  transform-origin: left;
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
}

/* Estimate */
.estimate-home {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 10vw, 9rem) 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 72% 28%, rgba(188, 91, 40, 0.2), transparent 32%),
    radial-gradient(circle at 12% 76%, rgba(193, 137, 50, 0.1), transparent 24%),
    linear-gradient(125deg, #2b090a, #6a1c1c 48%, #300909);
}

.estimate-home::before {
  content: "";
  position: absolute;
  inset: -30%;
  opacity: 0.18;
  background-image: repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 255, 255, 0.03) 19px 20px);
  transform: rotate(-5deg);
}

.estimate-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}

.estimate-copy h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.estimate-copy .lead {
  margin-bottom: 1.8rem;
}

.security-note {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(239, 212, 145, 0.2);
  border-radius: 99px;
  color: rgba(250, 238, 218, 0.66);
  font-size: 0.73rem;
}

.mini-estimator {
  position: relative;
  min-height: 540px;
  padding: 1rem;
  border: 1px solid rgba(242, 215, 148, 0.27);
  border-radius: var(--radius-lg);
  background: rgba(35, 9, 9, 0.5);
  box-shadow: var(--shadow-deep), inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(1.15);
}

.mini-estimator-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.55rem 0.55rem 1.2rem;
  color: rgba(250, 237, 216, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mini-progress {
  width: 120px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.mini-progress span {
  display: block;
  width: var(--mini-progress, 25%);
  height: 100%;
  background: var(--gold-light);
  box-shadow: 0 0 12px rgba(242, 217, 144, 0.4);
  transition: width 500ms var(--ease-out);
}

.mini-screen {
  position: relative;
  min-height: 430px;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  overflow: hidden;
  border-radius: 1.05rem;
  color: var(--ink);
  background: linear-gradient(145deg, rgba(250, 243, 228, 0.98), rgba(224, 208, 180, 0.98));
}

.mini-step {
  animation: miniIn 500ms var(--ease-out) both;
}

.mini-step[hidden] {
  display: none;
}

@keyframes miniIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.mini-step-label {
  margin-bottom: 0.6rem;
  color: var(--burgundy);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mini-step h3 {
  max-width: 16ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
}

.mini-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.mini-choice {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(74, 38, 28, 0.16);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.mini-choice:hover,
.mini-choice:has(input:checked) {
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  background: rgba(255, 250, 241, 0.84);
}

.mini-choice input {
  position: absolute;
  opacity: 0;
}

.mini-choice strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.08rem;
}

.mini-choice small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.mini-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.mini-back {
  border: 0;
  color: var(--muted);
  background: none;
  cursor: pointer;
}

.mini-result-price {
  margin: 0.4rem 0 0.7rem;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.95;
}

.mini-result-note {
  max-width: 54ch;
  color: var(--muted);
}

.mini-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

/* Trust / gallery */
.trust-section {
  padding: clamp(6rem, 10vw, 9rem) 0;
}

.trust-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.testimonial blockquote {
  margin: 1.5rem 0 1rem;
  color: #44322b;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic;
  line-height: 1.45;
}

.testimonial cite {
  color: var(--muted);
  font-size: 0.85rem;
  font-style: normal;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-item {
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--line);
  text-align: center;
}

.value-item:last-child {
  border-right: 0;
}

.value-icon {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--gold-dark);
  font-size: 1.65rem;
}

.value-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.02rem;
}

.books-strip {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #241611;
  box-shadow: var(--shadow-soft);
}

.books-strip img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.books-strip:hover img {
  transform: scale(1.025);
}

.book-types {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: rgba(255, 252, 246, 0.92);
}

.book-type {
  padding: 1rem 0.8rem;
  border-right: 1px solid var(--line);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 750;
}

.book-type:last-child {
  border-right: 0;
}

/* Atelier */
.atelier-home {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 10vw, 9rem) 0;
}

.atelier-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}

.atelier-copy h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 5.2vw, 5.2rem);
}

.atelier-mosaic {
  display: grid;
  grid-template-columns: 0.85fr 0.92fr 1.6fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.65rem;
  min-height: 530px;
}

.atelier-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(233, 207, 143, 0.22);
  border-radius: 0.45rem;
  background: #1a100d;
}

.atelier-photo:first-child {
  grid-row: 1 / -1;
}

.atelier-photo:last-child {
  grid-column: 3;
  grid-row: 1 / -1;
}

.atelier-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.83);
  transition: transform 850ms var(--ease-out), filter 500ms ease;
}

.atelier-photo:hover img {
  transform: scale(1.065);
  filter: saturate(0.95) brightness(0.98);
}

.atelier-seal {
  position: absolute;
  z-index: 2;
  right: 0.6rem;
  bottom: 0.6rem;
  width: 120px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 216, 150, 0.55);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(17, 11, 9, 0.82);
  box-shadow: inset 0 0 0 5px rgba(215, 170, 84, 0.06);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

/* Contact CTA */
.contact-band {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 24% 0%, rgba(214, 151, 66, 0.13), transparent 28%),
    linear-gradient(115deg, #4c1112, #7b2524 48%, #3a0c0d);
}

.contact-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("../img/book-ornament.svg");
  background-position: -11rem -18rem;
  background-repeat: no-repeat;
  background-size: 650px;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 3rem;
  align-items: center;
}

.contact-grid h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 70px;
  padding: 0 1rem;
  border-left: 1px solid rgba(244, 220, 160, 0.23);
  color: rgba(250, 239, 221, 0.78);
  text-decoration: none;
}

.contact-item-icon {
  color: var(--gold-light);
  font-size: 1.5rem;
}

.contact-item strong {
  display: block;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.07rem;
}

.contact-item small {
  color: rgba(250, 239, 221, 0.54);
}

/* Footer */
.site-footer {
  padding: 4.3rem 0 1.5rem;
  color: rgba(249, 237, 217, 0.66);
  background: #11100e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.9fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(242, 215, 148, 0.12);
}

.footer-brand img {
  width: 220px;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 28ch;
  margin-bottom: 0;
  font-family: var(--serif);
  color: rgba(249, 237, 217, 0.82);
}

.footer-title {
  margin-bottom: 1.1rem;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  width: fit-content;
  color: rgba(249, 237, 217, 0.62);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 200ms ease, transform 200ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-map {
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 215, 148, 0.18);
  border-radius: 0.6rem;
  color: var(--gold-light);
  background:
    radial-gradient(circle at 52% 50%, rgba(128, 36, 31, 0.55) 0 4px, transparent 5px),
    linear-gradient(35deg, transparent 0 49%, rgba(238, 211, 150, 0.12) 50% 51%, transparent 52%),
    linear-gradient(130deg, rgba(238, 211, 150, 0.08), transparent 54%),
    #24201b;
  text-align: center;
}

.footer-map strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.4rem;
  font-size: 0.73rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.2rem;
}

/* Reveal / animation utilities */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 950ms var(--ease-out), transform 950ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal="left"] {
  transform: translate3d(-42px, 0, 0);
}

[data-reveal="right"] {
  transform: translate3d(42px, 0, 0);
}

[data-reveal="scale"] {
  transform: scale(0.94);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-parallax] {
  will-change: transform;
  transform: translate3d(0, calc(var(--parallax-y, 0) * 1px), 0);
}

/* Internal pages */
.page-main {
  background: var(--paper-light);
}

.page-hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: calc(var(--header-height) + 7rem) 0 5rem;
  color: var(--cream);
  background: var(--night);
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.46) saturate(0.86);
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 8, 6, 0.94), rgba(12, 8, 6, 0.55) 60%, rgba(12, 8, 6, 0.28)), linear-gradient(180deg, rgba(12, 8, 6, 0.5), transparent 40%, rgba(12, 8, 6, 0.8));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.breadcrumb {
  margin-bottom: 1.2rem;
  color: rgba(250, 239, 219, 0.58);
  font-size: 0.76rem;
}

.breadcrumb a {
  color: var(--gold-light);
}

.page-hero h1 {
  max-width: 11ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.4rem, 8vw, 7rem);
}

.page-content {
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.content-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.content-aside {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: start;
}

.content-aside h2 {
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
}

.prose {
  max-width: 78ch;
}

.prose > * + * {
  margin-top: 1.45rem;
}

.prose h2 {
  margin-top: 4rem;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4vw, 3.9rem);
}

.prose h3 {
  margin-top: 2.4rem;
  margin-bottom: 0.75rem;
}

.prose p,
.prose li {
  color: #5b4d45;
}

.prose strong {
  color: var(--ink);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.55rem;
}

.callout {
  margin-block: 2.5rem;
  padding: 1.6rem;
  border-left: 3px solid var(--gold);
  background: rgba(219, 188, 126, 0.13);
}

.callout p:last-child {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(255, 252, 246, 0.72);
}

.faq-item summary {
  position: relative;
  padding: 1.2rem 3.5rem 1.2rem 1.2rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 1.4rem;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-answer {
  padding: 0 1.2rem 1.2rem;
  color: var(--muted);
}

/* Full estimator */
.estimator-page {
  padding: clamp(5rem, 8vw, 8rem) 0;
}

.estimator-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 680px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 246, 0.86);
  box-shadow: var(--shadow-soft);
}

.estimator-sidebar {
  padding: 2rem;
  color: var(--cream);
  background:
    radial-gradient(circle at 80% 0%, rgba(213, 170, 84, 0.12), transparent 35%),
    linear-gradient(150deg, #2c0a0b, #651c1d);
}

.estimator-sidebar h2 {
  margin-bottom: 1rem;
  font-size: 2.4rem;
}

.estimator-sidebar > p {
  color: rgba(250, 238, 219, 0.65);
  font-size: 0.88rem;
}

.estimator-steps-nav {
  display: grid;
  gap: 0.45rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.estimator-steps-nav li {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem;
  border-radius: 0.5rem;
  color: rgba(250, 238, 219, 0.52);
  font-size: 0.8rem;
  transition: background 250ms ease, color 250ms ease;
}

.estimator-steps-nav li::before {
  content: attr(data-step);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(242, 216, 150, 0.25);
  border-radius: 50%;
}

.estimator-steps-nav li.is-active,
.estimator-steps-nav li.is-complete {
  color: var(--cream);
  background: rgba(242, 216, 150, 0.08);
}

.estimator-steps-nav li.is-active::before,
.estimator-steps-nav li.is-complete::before {
  color: #2d180b;
  border-color: transparent;
  background: var(--gold-light);
}

.estimator-trust {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(242, 216, 150, 0.16);
  color: rgba(250, 238, 219, 0.58);
  font-size: 0.75rem;
}

.estimator-main {
  padding: clamp(1.6rem, 4vw, 3.4rem);
}

.estimator-progress-line {
  height: 3px;
  margin-bottom: 2.4rem;
  background: rgba(67, 38, 26, 0.1);
}

.estimator-progress-line span {
  display: block;
  width: var(--estimator-progress, 20%);
  height: 100%;
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
  transition: width 500ms var(--ease-out);
}

.estimator-step-panel {
  animation: miniIn 500ms var(--ease-out) both;
}

.estimator-step-panel[hidden] {
  display: none;
}

.estimator-step-panel h2 {
  max-width: 15ch;
  margin-bottom: 0.9rem;
  font-size: clamp(2.25rem, 4vw, 3.8rem);
}

.estimator-step-panel > p {
  max-width: 62ch;
  color: var(--muted);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.choice-card {
  position: relative;
  min-height: 104px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: border-color 230ms ease, transform 230ms ease, box-shadow 230ms ease, background 230ms ease;
}

.choice-card:hover,
.choice-card:has(input:checked) {
  border-color: var(--gold-dark);
  transform: translateY(-3px);
  background: #fffaf1;
  box-shadow: 0 14px 30px rgba(52, 28, 17, 0.08);
}

.choice-card input {
  position: absolute;
  opacity: 0;
}

.choice-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.choice-card small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}

.choice-card em {
  display: block;
  margin-top: 0.55rem;
  color: var(--burgundy);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(215, 170, 84, 0.15);
}

.estimator-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.step-error {
  min-height: 1.5em;
  margin: 1rem 0 0;
  color: #9e2323;
  font-size: 0.83rem;
}

.estimate-result-card {
  padding: 2rem;
  border: 1px solid rgba(113, 72, 39, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fffaf0, #efe2ca);
}

.estimate-result-card .result-label {
  color: var(--burgundy);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.estimate-result-card .result-price {
  margin: 0.5rem 0 1rem;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(3.3rem, 7vw, 6rem);
  line-height: 0.9;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.result-stat {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.42);
}

.result-stat small,
.result-stat strong {
  display: block;
}

.result-stat small {
  color: var(--muted);
  font-size: 0.7rem;
}

.result-stat strong {
  margin-top: 0.3rem;
  font-family: var(--serif);
}

.result-breakdown {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.result-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.result-breakdown strong {
  color: var(--ink);
}

/* Contact form */
.contact-page-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(3rem, 7vw, 6rem);
}

.contact-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 246, 0.78);
  box-shadow: var(--shadow-soft);
}

.contact-card h2 {
  font-size: 2.6rem;
}

.contact-method {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-method strong,
.contact-method span {
  display: block;
}

.contact-method span {
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

/* 404 and utility */
.utility-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 6rem 1.5rem;
  color: var(--cream);
  background: var(--night);
  text-align: center;
}

.utility-page h1 {
  font-size: clamp(4rem, 15vw, 10rem);
  color: var(--gold-light);
}

/* Responsive */
@media (max-width: 1080px) {
  :root {
    --header-height: 76px;
  }

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

  .menu-toggle {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.4rem;
    padding: 2rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-2rem);
    background: rgba(15, 10, 8, 0.97);
    backdrop-filter: blur(20px);
    transition: opacity 300ms ease, transform 400ms var(--ease-out), visibility 0s linear 400ms;
  }

  .nav a {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .menu-open .nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .hero-grid,
  .dorure-grid,
  .estimate-grid,
  .atelier-grid,
  .contact-grid,
  .trust-top,
  .content-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-book-stage {
    position: absolute;
    right: -8vw;
    bottom: 7vh;
    min-height: auto;
    opacity: 0.52;
    transform: scale(0.82);
    transform-origin: bottom right;
  }

  .reliure-grid {
    grid-template-columns: 1fr;
  }

  .reliure-intro,
  .content-aside {
    position: static;
  }

  .reliure-intro h2 {
    max-width: 14ch;
  }

  .dorure-bg img {
    width: 100%;
  }

  .dorure-bg::after {
    background: linear-gradient(90deg, rgba(15, 11, 9, 0.96), rgba(15, 11, 9, 0.58)), linear-gradient(180deg, rgba(15, 11, 9, 0.5), transparent 34%, rgba(15, 11, 9, 0.76));
  }

  .dorure-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dorure-feature:nth-child(2) {
    border-right: 0;
  }

  .dorure-feature:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .contact-details {
    grid-template-columns: 1fr 1fr;
  }

  .contact-details .button {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .estimator-shell {
    grid-template-columns: 1fr;
  }

  .estimator-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .estimator-steps-nav {
    grid-column: 1 / -1;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
  }

  .estimator-steps-nav li {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .estimator-trust {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 2rem, 680px);
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 5.5rem);
  }

  h2 {
    font-size: clamp(2.65rem, 12vw, 4.6rem);
  }

  .brand {
    width: 172px;
  }

  .hero-inner {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 7rem;
  }

  .hero-media img {
    object-position: 65% 50%;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(9, 6, 5, 0.94), rgba(9, 6, 5, 0.55)), linear-gradient(180deg, rgba(8, 5, 4, 0.58), transparent 26%, rgba(8, 5, 4, 0.86));
  }

  .hero-description {
    max-width: 38ch;
  }

  .hero-book-stage {
    right: -45vw;
    bottom: 10vh;
    opacity: 0.33;
    transform: scale(0.68);
  }

  .hero-proof {
    display: grid;
    gap: 0.6rem;
  }

  .craft-cards {
    grid-template-columns: 1fr;
  }

  .craft-card,
  .craft-card:nth-child(even) {
    --card-y: 0px;
    min-height: 390px;
  }

  .dorure-features {
    grid-template-columns: 1fr;
  }

  .dorure-feature,
  .dorure-feature:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .dorure-feature:last-child {
    border-bottom: 0;
  }

  .process-heading {
    display: block;
    margin-bottom: 2.2rem;
  }

  .process-heading p {
    margin-top: 1rem;
  }

  .process-card {
    min-height: 360px;
  }

  .mini-choices,
  .choice-grid,
  .form-row,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .mini-estimator {
    min-height: 610px;
  }

  .mini-screen {
    min-height: 510px;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-item:nth-child(2) {
    border-right: 0;
  }

  .value-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .book-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-type {
    border-bottom: 1px solid var(--line);
  }

  .book-type:nth-child(even) {
    border-right: 0;
  }

  .atelier-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 190px 260px;
    min-height: auto;
  }

  .atelier-photo:first-child {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .atelier-photo:last-child {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-item {
    border-left: 0;
    border-top: 1px solid rgba(244, 220, 160, 0.23);
  }

  .contact-details .button {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    display: grid;
  }

  .estimator-sidebar {
    display: block;
  }

  .estimator-steps-nav {
    display: flex;
    overflow-x: auto;
    margin: 1.4rem -0.5rem 0;
    padding: 0.5rem;
  }

  .estimator-steps-nav li {
    min-width: 98px;
  }

  .estimator-main {
    padding: 1.25rem;
  }

  .estimator-actions {
    flex-direction: column-reverse;
  }

  .estimator-actions .button,
  .estimator-actions .button-ghost {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .mini-result-actions {
    display: grid;
  }

  .hero-actions .button,
  .hero-actions .button-ghost,
  .mini-result-actions .button,
  .mini-result-actions .button-ghost {
    width: 100%;
  }

  .mini-estimator {
    padding: 0.55rem;
  }

  .mini-screen {
    padding: 1.15rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  #gold-particles,
  .cursor-aura {
    display: none;
  }

  .process-story {
    height: auto;
  }

  .process-sticky {
    position: relative;
    height: auto;
    padding: 6rem 0;
  }

  .process-rail {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: none !important;
    padding-right: 0;
  }

  .process-card {
    width: auto;
  }

  .process-progress {
    display: none;
  }
}

@media print {
  .site-header,
  .scroll-progress,
  .cursor-aura,
  #gold-particles,
  .site-footer,
  .hero-scroll,
  .button,
  .button-ghost,
  .estimator-sidebar {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .page-hero,
  .dark-section,
  .contact-band {
    color: #000;
    background: #fff;
  }

  .estimator-shell {
    display: block;
    box-shadow: none;
  }
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 420ms;
  animation-timing-function: var(--ease-out);
}
