/* The Gilded Gnome : thegildedgnome.ca
   Blush Petal / Rose Quartz lead, gilt accents, Mulberry type.
   Cormorant Garamond + Jost. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --blush-petal: #F4D9DC;
  --rose-quartz: #E9B7BF;
  --cream-silk: #FBF5F0;
  --soft-gilt: #D9B872;
  --antique-gold: #A8803A;
  --burnished: #7A5C24;
  --mulberry: #5E3442;
  --bg: var(--cream-silk);
  --line: rgba(168, 128, 58, 0.32);
  --line-strong: rgba(168, 128, 58, 0.5);
  --shadow: 0 24px 48px -32px rgba(94, 52, 66, 0.18);
  --radius: 18px;
  --radius-sm: 10px;
  --content: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --header-h: 5.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--mulberry);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mulberry); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--burnished); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--mulberry);
  margin: 0;
}
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--burnished); outline-offset: 3px; }

#sets, #fit, #shipping, #contact, #included {
  scroll-margin-top: 5.75rem;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--mulberry);
  color: var(--cream-silk);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(calc(100% - 1.5rem), var(--content));
  margin-inline: auto;
}
.wrap-narrow {
  width: min(calc(100% - 1.5rem), 44rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blush-petal);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(calc(100% - 1.5rem), var(--content));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; text-decoration: none; min-width: 0; }
.brand img { display: block; width: 11.25rem; height: auto; }

.nav-toggle {
  display: inline-flex;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  color: var(--mulberry);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 500;
  cursor: pointer;
}
.nav-toggle:hover { background: var(--cream-silk); }

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--blush-petal);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1.25rem 1.15rem;
}
.site-nav.is-open { display: block; }
.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
.site-nav a {
  color: var(--mulberry);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { border-bottom-color: var(--antique-gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-primary {
  background: var(--mulberry);
  color: var(--cream-silk);
  border-color: var(--mulberry);
}
.btn-primary:hover { filter: brightness(0.92); color: var(--cream-silk); }
.btn-ghost {
  background: transparent;
  color: var(--mulberry);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--blush-petal); color: var(--mulberry); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn[disabled],
.btn:disabled {
  cursor: not-allowed;
  background: #A67D86;
  color: var(--cream-silk);
  border-color: #A67D86;
  filter: none;
}
.btn[disabled]:hover,
.btn:disabled:hover,
.btn-primary[disabled]:hover,
.btn-primary:disabled:hover {
  cursor: not-allowed;
  background: #A67D86;
  color: var(--cream-silk);
  border-color: #A67D86;
  filter: none;
}

/* Hero */
.hero { padding: 2.25rem 0 2.5rem; }
.hero-grid {
  width: min(calc(100% - 1.5rem), var(--content));
  margin-inline: auto;
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--burnished);
  margin-bottom: 0.9rem;
}
.kicker::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--antique-gold);
}
.hero h1 {
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  font-weight: 600;
  line-height: 1.02;
}
.hero h1 em { font-style: italic; color: var(--burnished); }
.hero .lead {
  margin: 1.1rem 0 1.5rem;
  max-width: 32rem;
}
.hero-meta { margin-top: 1.25rem; font-size: 0.9rem; }
.hero-figure { position: relative; margin: 0; }
.hero-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

/* Page hero */
.page-hero {
  padding: 2.15rem 0 1.75rem;
  background: var(--blush-petal);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); max-width: 16ch; }
.page-hero .lead { margin-top: 0.8rem; max-width: 34rem; }

/* Sections */
.section { padding: 3rem 0; }
.section-alt { background: linear-gradient(180deg, var(--blush-petal) 0%, var(--cream-silk) 55%); }
.section-head { max-width: 36rem; margin-bottom: 1.75rem; }
.section-head p { margin-top: 0.65rem; }

/* Sets / cards : mobile first: one column */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}
.card {
  background: var(--cream-silk);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body {
  padding: 1.1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.card-type {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burnished);
}
.card-body h3 {
  font-size: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}
.price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--burnished);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.card-body p { font-size: 0.98rem; }
.note {
  margin-top: 1.25rem;
  max-width: 40rem;
  padding: 1rem 1.15rem;
  border-left: 2px solid var(--antique-gold);
  background: var(--blush-petal);
  font-size: 0.95rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-bottom: 2rem;
  list-style: none;
}
.steps > li { list-style: none; }
.step {
  background: var(--cream-silk);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.3rem;
}
.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--burnished);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step h3 { margin-bottom: 0.35rem; }

.custom-panel {
  display: grid;
  gap: 1.75rem;
  align-items: start;
  background: var(--cream-silk);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem;
}
.custom-copy h2 { font-size: clamp(1.8rem, 4vw, 2.2rem); margin: 0.2rem 0 0.7rem; }
.custom-copy p { margin-bottom: 0.8rem; }

/* Forms */
.form { display: grid; gap: 0.95rem; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { padding: 0; }
.field { display: grid; gap: 0.35rem; }
.field span, .field-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burnished);
}
.optional {
  font-style: normal;
  letter-spacing: 0.08em;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85em;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--burnished);
  opacity: 1;
}
.field input, .field select, .field textarea {
  background: var(--cream-silk);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
  width: 100%;
}
.field textarea { min-height: 6rem; resize: vertical; }
.form-note { font-size: 0.88rem; }
.form .btn { justify-self: start; }

/* About */
.about-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.about-grid .lead-lg {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.9rem;
}
.about-grid p + p { margin-top: 0.8rem; }

/* FAQ */
.faq-list { display: grid; gap: 0.65rem; }
details {
  background: var(--cream-silk);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.15rem 1.15rem;
}
details[open] { border-color: var(--line-strong); }
summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0.95rem 1.5rem 0.95rem 0;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 1px solid var(--burnished);
  border-bottom: 1px solid var(--burnished);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
details p { padding: 0 0 1.15rem; max-width: 46rem; }
details p + p { padding-top: 0; margin-top: -0.4rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 1.75rem;
  background: var(--blush-petal);
}
.footer-grid {
  width: min(calc(100% - 1.5rem), var(--content));
  margin-inline: auto;
  display: grid;
  gap: 2rem;
}
.footer-brand img { display: block; width: 10.5rem; height: auto; margin-bottom: 0.75rem; }
.footer-brand p, .site-footer p, .site-footer li, .site-footer address { font-size: 0.92rem; font-style: normal; }
.site-footer h2, .site-footer h3 {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--burnished);
  margin-bottom: 0.65rem;
  font-weight: 500;
}
.site-footer ul { list-style: none; display: grid; gap: 0.35rem; }
.site-footer a { color: var(--mulberry); text-decoration: none; }
.site-footer a:hover { color: var(--burnished); }
.footer-legal {
  width: min(calc(100% - 1.5rem), var(--content));
  margin: 2rem auto 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  font-size: 0.8rem;
}

/* Larger screens */
@media (min-width: 721px) {
  .wrap, .wrap-narrow, .hero-grid, .header-inner, .footer-grid, .footer-legal {
    width: min(calc(100% - 2.5rem), var(--content));
  }
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 1.45rem;
  }
  .brand img { width: 13.5rem; }
  .hero { padding: 3.25rem 0 3.75rem; }
  .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 3.25rem; }
  .section { padding: 4.5rem 0 4.25rem; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .custom-panel { grid-template-columns: 1fr 1fr; padding: 2rem; }
  .about-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
  .page-hero { padding: 3rem 0 2.15rem; }
}

@media (min-width: 981px) {
  .product-grid { grid-template-columns: 1fr 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

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

.card-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-link:hover { color: inherit; }
.contact-lead { margin-top: 0.8rem; max-width: 36rem; }

.step h2 { font-size: 1.45rem; margin-bottom: 0.35rem; }
.card-figure { margin: 0; }
.photo-caption {
  font-size: 0.75rem;
  line-height: 1.4;
  margin: 0.5rem 0 0;
  color: var(--mulberry);
}
.card-figure .photo-caption { padding: 0 1.1rem; }
.hero-figure .photo-caption,
.about-grid .photo-caption { margin-top: 0.55rem; }
