/* =====================================================
   APPOLONIA LINEN
   Trendy editorial : stripes, scallops, stitched frames,
   oval monogram, marquee band. Cream & pine palette.
   ===================================================== */

:root {
  /* cacao palette drawn from the Appolonia Linen crest */
  --white: #fffdf8;
  --cream: #faf4ea;
  --linen: #f0e5d3;
  --stripe: #f0e6d2;
  --flax: #d9c3a3;
  --gold: #8d6845;
  --pine: #4a3826;
  --pine-deep: #362817;
  --pine-soft: #6e5c46;
  /* soft sage green: the brand's touch of green, top & bottom of every page */
  --sage: #5f7355;
  --sage-deep: #4e5f45;
  --serif: 'Cormorant Garamond', 'Didot', Georgia, serif;
  --script: 'Pinyon Script', 'Snell Roundhand', cursive;
  --sans: 'Jost', 'Futura', 'Century Gothic', 'Helvetica Neue', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--white);
  color: var(--pine);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.article p { text-wrap: pretty; }

.script { font-family: var(--script); font-weight: 400; }

/* ---------- Announcement bar ---------- */

.announce {
  background: var(--sage);
  color: var(--cream);
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
}

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

header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 254, 250, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linen);
  text-align: center;
  padding: 1.4rem 1rem 0;
}

.brand {
  display: inline-block;
  line-height: 1;
  transition: opacity 0.3s ease;
}
.brand:hover { opacity: 0.65; }

.brand .name {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pine-deep);
}

.brand .tag {
  display: block;
  font-family: var(--script);
  font-size: 1.15rem;
  color: var(--gold);
  margin-top: 0.25rem;
}

nav.main { margin-top: 0.9rem; }

nav.main ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 4vw, 2.8rem);
}

nav.main a {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pine-soft);
  padding: 0.4rem 0 0.9rem;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

nav.main a:hover, nav.main a.active {
  color: var(--pine-deep);
  border-bottom-color: var(--gold);
}

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

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: 1px solid var(--pine-deep);
  border-radius: 999px;
  padding: 0.9rem 2.4rem;
  background: transparent;
  color: var(--pine-deep);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.15s ease;
}

.btn:hover { background: var(--pine-deep); color: var(--cream); transform: translateY(-1px); }

.btn.solid { background: var(--pine-deep); color: var(--cream); }
.btn.solid:hover { background: var(--pine); }

.btn.gold { border-color: var(--gold); color: var(--pine-deep); background: var(--flax); }
.btn.gold:hover { background: var(--gold); color: var(--white); }

/* ---------- Decorative helpers ---------- */

/* awning stripes */
.stripes {
  background: repeating-linear-gradient(
    90deg,
    var(--stripe) 0 16px,
    var(--white) 16px 32px
  );
}

/* scalloped edge hanging below a cream/white section */
.scallop {
  height: 18px;
  background: radial-gradient(circle at 9px -4px, var(--cream) 11px, transparent 12px);
  background-size: 18px 18px;
  background-repeat: repeat-x;
}
.scallop.white { background: radial-gradient(circle at 9px -4px, var(--white) 11px, transparent 12px); background-size: 18px 18px; background-repeat: repeat-x; }
.scallop.pine { background: radial-gradient(circle at 9px -4px, var(--sage) 11px, transparent 12px); background-size: 18px 18px; background-repeat: repeat-x; }

/* embroidery stitch divider */
.stitch {
  width: 120px;
  border: none;
  border-top: 2px dashed var(--gold);
  margin: 2.2rem auto;
}

/* stitched (embroidered) card frame */
.stitched {
  background: var(--white);
  border: 1px solid var(--linen);
  outline: 1.5px dashed var(--gold);
  outline-offset: -10px;
  box-shadow: 0 14px 40px rgba(51, 64, 44, 0.07);
}

/* striped picture frame (like a woven ribbon border) */
.frame-ribbon {
  padding: 10px;
  background: repeating-linear-gradient(45deg, var(--flax) 0 7px, var(--cream) 7px 14px);
}

/* ---------- Marquee band ---------- */

.marquee {
  overflow: hidden;
  background: var(--flax);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  padding: 0.7rem 0;
}

.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}

.marquee-track span {
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--pine-deep);
  padding-right: 2.6rem;
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Oval monogram badge ---------- */

.badge-oval {
  width: 150px;
  height: 192px;
  margin: 0 auto;
  border: 1.5px solid var(--pine-deep);
  outline: 1px solid var(--gold);
  outline-offset: 5px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  gap: 0.15rem;
}

.badge-oval .mono {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.1rem;
  line-height: 1;
  color: var(--pine-deep);
}

.badge-oval .est {
  font-size: 0.52rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
}

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

main { display: block; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
}

.eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ---------- Cinematic intro (home): click-to-open theatre curtain ---------- */

.intro { display: none; }

html.curtain .intro, html.opened .intro {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1000;
  cursor: pointer;
}

html.opened .intro { pointer-events: none; }
html.no-intro .intro { display: none; }

.intro-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background: repeating-linear-gradient(90deg, var(--stripe) 0 16px, var(--white) 16px 32px);
  transition: transform 1.9s cubic-bezier(0.77, 0, 0.18, 1);
}

/* soft drape folds over the stripes */
.intro-curtain::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,
    rgba(54, 40, 23, 0.06) 0 8px,
    rgba(255, 255, 255, 0.05) 8px 30px,
    rgba(54, 40, 23, 0.025) 30px 46px);
}

.intro-curtain.left {
  left: 0;
  transform-origin: left center;
  border-right: 1px solid var(--flax);
  box-shadow: inset -22px 0 28px -14px rgba(54, 40, 23, 0.22);
}

.intro-curtain.right {
  right: 0;
  transform-origin: right center;
  border-left: 1px solid var(--flax);
  box-shadow: inset 22px 0 28px -14px rgba(54, 40, 23, 0.22);
}

/* the curtain gathers as it pulls aside, like a drape */
.intro.open .intro-curtain.left { transform: translateX(-103%) scaleX(0.65); }
.intro.open .intro-curtain.right { transform: translateX(103%) scaleX(0.65); }

.intro-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: opacity 0.5s ease;
}

.intro.open .intro-center { opacity: 0; }

.intro-center img {
  width: clamp(150px, 20vw, 200px);
  animation: rise-in 1.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.intro-center .intro-script {
  font-family: var(--script);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--gold);
  animation: rise-in 1.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.intro-enter {
  margin-top: 1.4rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.85rem 2.4rem;
  background: var(--white);
  color: var(--pine-deep);
  cursor: pointer;
  animation:
    rise-in 1.7s cubic-bezier(0.22, 1, 0.36, 1) 1s both,
    enter-pulse 2.8s ease-in-out 3.2s infinite;
  transition: background 0.3s ease, color 0.3s ease;
}

.intro-enter:hover { background: var(--pine-deep); color: var(--cream); }

@keyframes enter-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(169, 130, 90, 0.35); }
  50% { box-shadow: 0 0 0 14px rgba(169, 130, 90, 0); }
}

@keyframes rise-in {
  from { opacity: 0.001; transform: translateY(22px); filter: blur(5px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes gentle-float {
  to { transform: translateY(-8px); }
}

/* hero waits behind the curtain, then rises once it opens */
html.curtain .hero .seal,
html.curtain .hero h1,
html.curtain .hero .lede,
html.curtain .hero .actions { opacity: 0.001; }

html.opened .hero .seal {
  animation:
    rise-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both,
    gentle-float 6.5s ease-in-out 3s infinite alternate;
}
html.opened .hero h1 { animation: rise-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both; }
html.opened .hero .lede { animation: rise-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both; }
html.opened .hero .actions { animation: rise-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.95s both; }

html.no-intro .hero .seal { animation: gentle-float 6.5s ease-in-out 2s infinite alternate; }

@media (prefers-reduced-motion: reduce) {
  .intro, html.curtain .intro, html.opened .intro { display: none !important; }
  html.curtain .hero .seal,
  html.curtain .hero h1,
  html.curtain .hero .lede,
  html.curtain .hero .actions { opacity: 1; }
  .hero .seal, .hero h1, .hero .lede, .hero .actions { animation: none !important; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
  .btn, .product, .product .photo { transition: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  text-align: center;
  padding: clamp(2.8rem, 6vw, 4.8rem) 1.5rem clamp(3rem, 7vw, 5rem);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  color: var(--pine-deep);
  max-width: 20ch;
  margin: 1.6rem auto 0;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
}

.hero .script-line {
  font-family: var(--script);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: var(--gold);
  display: block;
  line-height: 1.12;
  margin-top: 0.6rem;
}

.hero p.lede {
  max-width: 54ch;
  margin: 1.6rem auto 0;
  color: var(--pine-soft);
  font-size: 1rem;
}

.hero .actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}

.hero .actions .btn.solid { padding: 1.05rem 3rem; font-size: 0.74rem; }

/* ---------- Collections trio ---------- */

.collections {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  text-align: center;
}

.collections h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  margin-top: 2.6rem;
}

.trio figure { text-align: center; }

.trio .photo { aspect-ratio: 4 / 5; }

.trio figcaption {
  margin-top: 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--pine-deep);
}

.trio figcaption small {
  display: block;
  font-family: var(--script);
  font-size: 1.2rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold);
  margin-top: 0.2rem;
}

/* ---------- Illustrated "photo" placeholders ---------- */

.photo {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, #f6efe0 0%, #ece1c8 60%, #ded0af 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.09) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.07) 0 1px, transparent 1px 6px);
}

.photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.seal {
  display: block;
  margin: 0 auto;
  width: 160px;
  height: auto;
}

.seal.small { width: 116px; }

footer.site .seal { filter: brightness(0) invert(0.94) sepia(0.15); opacity: 0.92; }

.photo svg {
  position: relative;
  z-index: 1;
  width: 62%;
  height: auto;
  stroke: var(--pine);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

.photo .cap {
  position: absolute;
  bottom: 0.7rem;
  left: 0;
  right: 0;
  z-index: 1;
  font-family: var(--script);
  font-size: 1.05rem;
  color: rgba(51, 64, 44, 0.6);
  text-align: center;
}

/* ---------- Editorial split ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.4rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.split .s-img { grid-column: span 6; }
.split .s-txt { grid-column: span 6; }
.split.reverse .s-img { order: 2; }

.split .photo.oval {
  aspect-ratio: 4 / 5;
  border-radius: 50%;
  border: 1px solid var(--gold);
  outline: 1.5px dashed var(--gold);
  outline-offset: 8px;
  margin: 10px;
}

.split h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.split h2 .script { color: var(--gold); font-size: 1.15em; }

.split p { color: var(--pine-soft); margin-top: 1.1rem; }

.split .btn { margin-top: 1.8rem; }

/* ---------- Quote band ---------- */

.quote-band {
  position: relative;
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.5rem;
}

.quote-band blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  max-width: 34ch;
  margin: 0 auto;
  color: var(--pine-deep);
}

/* drenched sage moment: the maison's committed color, not just a trim */
.quote-band.sage { background: var(--sage); }

.quote-band.sage blockquote {
  color: var(--cream);
  font-size: clamp(1.6rem, 3.8vw, 2.6rem);
  max-width: 30ch;
}

.quote-band.sage .stars { color: var(--flax); }

.quote-band.sage cite { color: rgba(250, 244, 234, 0.75); }

.quote-band cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--pine-soft);
  margin-top: 1.4rem;
}

.stars { color: var(--gold); letter-spacing: 0.35em; margin-bottom: 1.2rem; }

/* ---------- Page title ---------- */

.page-title {
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 1.5rem clamp(2rem, 5vw, 3.2rem);
}

.page-title h1 {
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  color: var(--pine-deep);
}

.page-title .script-line {
  font-family: var(--script);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--gold);
  display: block;
  line-height: 1.12;
  margin-bottom: 0.4rem;
}

.page-title p {
  max-width: 58ch;
  margin: 1.3rem auto 0;
  color: var(--pine-soft);
}

/* ---------- Catalogue ---------- */

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 3vw, 2.6rem) clamp(1.2rem, 2.5vw, 2rem);
  padding: 1rem 0 4rem;
}

.product {
  text-align: center;
  padding: 12px 12px 1.8rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

/* pin prices and buttons to the card bottom so rows align */
.product .price { margin-top: auto; padding-top: 0.9rem; }
.product .price ~ .btn { margin-top: 1.1rem; }
.product > .btn:last-child, .product .soon-tag { margin-top: auto; }
.product .btn, .product .soon-tag { align-self: center; }
.product .soon-tag ~ .btn, .product .soon-tag + .btn { margin-top: 0.9rem; }

.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(51, 64, 44, 0.11);
}

.product .photo { aspect-ratio: 4 / 5; }

.product h3 {
  font-size: 1.4rem;
  font-style: italic;
  margin-top: 1.3rem;
  padding: 0 0.8rem;
}

.product .dims {
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.5rem;
}

.product .desc {
  font-size: 0.87rem;
  color: var(--pine-soft);
  margin: 0.7rem auto 0;
  max-width: 32ch;
  padding: 0 0.8rem;
}

.product .btn { margin-top: 1.3rem; padding: 0.72rem 1.7rem; font-size: 0.63rem; }

.product .btn.added {
  background: var(--pine-deep);
  color: var(--cream);
  border-color: var(--pine-deep);
}

/* floating "view request" pill */

.request-pill {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 90;
  background: var(--pine-deep);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(38, 48, 31, 0.35);
  transition: transform 0.35s ease;
  cursor: pointer;
  border: none;
  font-family: var(--sans);
}

.request-pill.visible { transform: translateX(-50%) translateY(0); }

/* ---------- Request form ---------- */

.request-section {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
}

.form-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.4rem, 5vw, 3.5rem);
}

.form-head { text-align: center; margin-bottom: 2.5rem; }

.form-head h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  color: var(--pine-deep);
}

.form-head .script-line {
  font-family: var(--script);
  font-size: 1.9rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
}

.form-head p { color: var(--pine-soft); max-width: 52ch; margin: 1rem auto 0; font-size: 0.95rem; }

fieldset { border: none; margin-bottom: 2.6rem; }

legend {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--pine-deep);
  margin-bottom: 0.3rem;
}

.legend-note { font-size: 0.85rem; color: var(--pine-soft); margin-bottom: 1.4rem; }

label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pine-soft);
  margin: 1.4rem 0 0.45rem;
}

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.98rem;
  color: var(--pine-deep);
  background: var(--white);
  border: 1px solid var(--flax);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(179, 152, 92, 0.18);
}

/* selected pieces chips */

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; min-height: 2.4rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--cream);
  border: 1px solid var(--flax);
  border-radius: 999px;
  padding: 0.42rem 1rem;
  font-size: 0.8rem;
  color: var(--pine-deep);
}

.chip button {
  border: none;
  background: none;
  cursor: pointer;
  color: var(--gold);
  font-size: 0.95rem;
  line-height: 1;
  font-family: inherit;
}

.chips-empty { font-size: 0.85rem; color: var(--pine-soft); font-style: italic; }

/* choice cards */

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

.choices.three { grid-template-columns: repeat(3, 1fr); }

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

.choice span {
  display: block;
  border: 1px solid var(--flax);
  border-radius: 14px;
  padding: 1.3rem 1.1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  background: var(--white);
}

.choice span strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--pine-deep);
}

.choice span em { font-style: normal; font-size: 0.8rem; color: var(--pine-soft); }

.choice input:checked + span {
  border-color: var(--pine-deep);
  background: var(--cream);
  box-shadow: 0 0 0 3px rgba(179, 152, 92, 0.2);
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.6rem; }

/* upload */

.upload {
  border: 1.5px dashed var(--gold);
  border-radius: 14px;
  padding: 2rem 1.4rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease;
  background: var(--white);
}

.upload:hover { background: var(--cream); }

.upload .up-icon { font-family: var(--serif); font-style: italic; font-size: 1.5rem; display: block; color: var(--gold); }

.upload p { font-size: 0.85rem; color: var(--pine-soft); margin-top: 0.3rem; }

.previews { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }

.previews img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--flax);
}

.form-actions { text-align: center; margin-top: 0.8rem; }

.confirmation {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  margin: 0 auto 3rem;
  max-width: 720px;
}

.confirmation h2 { font-style: italic; font-size: 2rem; color: var(--pine-deep); margin-bottom: 0.7rem; }
.confirmation .script-line { font-family: var(--script); font-size: 2.2rem; color: var(--gold); display: block; margin-bottom: 0.5rem; }
.confirmation p { color: var(--pine-soft); max-width: 46ch; margin: 0 auto; }

/* ---------- Collection sub-sections ---------- */

.subnav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.subnav a {
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid var(--flax);
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  background: var(--white);
  color: var(--pine-deep);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.subnav a:hover { background: var(--cream); border-color: var(--sage); }

.collection-head {
  text-align: center;
  padding: clamp(2.2rem, 5vw, 3.5rem) 1rem 0.4rem;
  scroll-margin-top: 140px;
}

.collection-head .script-line {
  font-family: var(--script);
  font-size: 1.7rem;
  color: var(--gold);
  display: block;
}

.collection-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pine-deep);
}

.collection-head p {
  color: var(--pine-soft);
  font-size: 0.92rem;
  max-width: 50ch;
  margin: 0.5rem auto 0;
}

.product .price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--pine-deep);
  margin-top: 0.6rem;
}

.product .price small { font-size: 0.72em; color: var(--pine-soft); font-style: normal; }

/* ---------- Offer differentiator (rental / sale / bespoke) ---------- */

.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 1080px;
  margin: 2.4rem auto 0;
  text-align: center;
}

.offer { padding: 1.8rem 1.4rem; }

.offer h2, .offer h3 {
  font-size: 1.35rem;
  font-style: italic;
  color: var(--pine-deep);
}

.offer .dims {
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.45rem;
}

.offer .desc {
  font-size: 0.86rem;
  color: var(--pine-soft);
  margin-top: 0.7rem;
}

@media (max-width: 840px) {
  .offers { grid-template-columns: 1fr; max-width: 460px; }
}

/* ---------- Quote (devis) table ---------- */

.quote-table { width: 100%; border-collapse: collapse; }

.quote-table th {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pine-soft);
  font-weight: 400;
  text-align: left;
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid var(--flax);
}

.quote-table td {
  padding: 0.8rem 0.4rem;
  border-bottom: 1px solid var(--linen);
  vertical-align: middle;
  font-size: 0.92rem;
}

.quote-table .q-name { font-family: var(--serif); font-style: italic; font-size: 1.05rem; }

.quote-table .q-price, .quote-table .q-line { white-space: nowrap; text-align: right; }

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--flax);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  background: var(--white);
}

.qty button {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--gold);
  padding: 0.25rem 0.35rem;
  font-family: var(--sans);
}

.qty span { min-width: 1.2em; text-align: center; }

.q-remove {
  border: none;
  background: none;
  cursor: pointer;
  color: var(--gold);
  font-size: 1.05rem;
  padding: 0.2rem 0.4rem;
}

.quote-total td {
  border-bottom: none;
  padding-top: 1.1rem;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.quote-total .q-line { font-style: italic; }

.quote-note {
  font-size: 0.78rem;
  color: var(--pine-soft);
  font-style: italic;
  margin-top: 0.8rem;
}

.quote-empty { font-size: 0.88rem; color: var(--pine-soft); font-style: italic; padding: 1rem 0.4rem; }

.confirmation .recap {
  margin: 1.6rem auto 0;
  max-width: 420px;
  text-align: left;
  font-size: 0.92rem;
  color: var(--pine-deep);
}

.confirmation .recap li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--flax);
}

.confirmation .recap li.total { font-family: var(--serif); font-style: italic; font-size: 1.1rem; border-bottom: none; }

/* ---------- Full-bleed photo band (home) ---------- */

.photo-band { position: relative; overflow: hidden; }

.photo-band > img {
  display: block;
  width: 100%;
  height: clamp(400px, 64vh, 660px);
  object-fit: cover;
}

.photo-band .pb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(rgba(54, 40, 23, 0.12), rgba(54, 40, 23, 0.45));
}

.photo-band .pb-overlay .script-line {
  font-family: var(--script);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--flax);
  text-shadow: 0 1px 16px rgba(54, 40, 23, 0.55);
}

.photo-band .pb-overlay h2 {
  font-style: italic;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  color: var(--white);
  max-width: 22ch;
  margin-top: 0.4rem;
  text-shadow: 0 1px 22px rgba(54, 40, 23, 0.45);
}

/* ---------- SEO editorial block (home) ---------- */

.seo-block {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.seo-block h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-style: italic;
  text-align: center;
  color: var(--pine-deep);
  margin-bottom: 0.6rem;
}

.seo-block > p {
  text-align: center;
  color: var(--pine-soft);
  max-width: 62ch;
  margin: 0 auto 1.8rem;
  font-size: 0.95rem;
}

.seo-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  margin-bottom: 2.6rem;
}

.seo-cols h3 {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--pine-deep);
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed var(--flax);
  margin-bottom: 0.5rem;
}

.seo-cols p { font-size: 0.88rem; color: var(--pine-soft); }

.seo-cols a { border-bottom: 1px solid var(--flax); }

@media (max-width: 840px) {
  .seo-cols { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* ---------- Journal (blog) ---------- */

.article {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2rem) 4rem;
}

.article .meta {
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 2rem;
}

.article h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-style: italic;
  margin: 2.4rem 0 0.4rem;
  color: var(--pine-deep);
}

.article p, .article li {
  color: var(--pine);
  margin-top: 0.9rem;
  max-width: 68ch;
}

.article h3 {
  font-size: 1.25rem;
  font-style: italic;
  margin: 1.9rem 0 0.2rem;
  color: var(--pine-deep);
}

.article ul, .article ol { padding-left: 1.4rem; margin-top: 0.6rem; }

.article .stitch { margin: 2.6rem auto; }

/* ---------- Newsletter ---------- */

.newsletter {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.4rem clamp(1.4rem, 4vw, 2.6rem);
  text-align: center;
}

.newsletter h2 {
  font-style: italic;
  font-size: 1.7rem;
  color: var(--pine-deep);
}

.newsletter .script-line {
  font-family: var(--script);
  font-size: 1.7rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
}

.newsletter p { color: var(--pine-soft); font-size: 0.92rem; margin-top: 0.7rem; }

.newsletter-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.newsletter-row input { flex: 1; }

@media (max-width: 560px) {
  .newsletter-row { flex-direction: column; }
}

/* ---------- Coming soon (trousseau) ---------- */

.soon-tag {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--flax);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-top: 1rem;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 5rem;
  align-items: start;
}

.contact-info .photo { aspect-ratio: 1 / 1; }

.contact-info h2 { font-style: italic; font-size: 1.8rem; margin-top: 1.8rem; }

.contact-info .line {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.7rem;
  color: var(--pine-deep);
}

.contact-info p.note { color: var(--pine-soft); margin-top: 1.2rem; font-size: 0.92rem; }

.contact-form-card { padding: clamp(1.6rem, 4vw, 2.6rem); }

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

footer.site {
  background: var(--sage);
  color: var(--cream);
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
}

footer.site .badge-oval {
  width: 110px;
  height: 140px;
  background: transparent;
  border-color: var(--flax);
  outline-color: rgba(217, 201, 163, 0.5);
}

footer.site .badge-oval .mono { color: var(--cream); font-size: 2.3rem; }
footer.site .badge-oval .est { color: var(--flax); }

footer.site .foot-name {
  font-family: var(--serif);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 1.05rem;
  margin-top: 1.6rem;
}

footer.site .foot-script {
  font-family: var(--script);
  font-size: 1.5rem;
  color: var(--flax);
  margin-top: 0.5rem;
}

footer.site nav {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.8rem;
}

footer.site nav a {
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.92);
  transition: color 0.3s ease;
}

footer.site nav a:hover { color: var(--cream); }

footer.site .legal {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.88);
  margin-top: 2rem;
}

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 950;
  width: min(560px, calc(100vw - 2rem));
  padding: 1.4rem 1.6rem 1.5rem;
  text-align: center;
  animation: cookie-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cookie-banner .cookie-script {
  display: block;
  font-family: var(--script);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.cookie-banner .cookie-text {
  font-size: 0.85rem;
  color: var(--pine);
  max-width: 46ch;
  margin: 0 auto;
}

.cookie-banner .cookie-text a {
  border-bottom: 1px solid var(--flax);
  color: var(--pine-deep);
}

.cookie-banner .cookie-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.cookie-banner .btn { padding: 0.7rem 1.7rem; font-size: 0.64rem; }

.cookie-banner.cookie-hide {
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
}

@keyframes cookie-in {
  from { opacity: 0; transform: translateX(-50%) translateY(24px); }
  to { opacity: 1; transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  /* le header défile avec la page : l'écran reste au contenu */
  header.site { position: relative; padding: 1.1rem 3.4rem 1.2rem; }
  /* sur téléphone la barre de liens laisse place au menu dépliable */
  nav.main { display: none; }
  .brand .name { font-size: 1.32rem; letter-spacing: 0.2em; white-space: nowrap; }
  .brand .tag { font-size: 1rem; }
  /* plus de header collant : les ancres respirent juste assez */
  [id] { scroll-margin-top: 1rem; }
}

/* ---------- Menu dépliable (téléphone uniquement) ---------- */

.menu-toggle, .menu-panel { display: none; }

.menu-toggle {
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--pine);
  padding: 0.8rem 0.7rem;
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 300;
  flex-direction: column;
  align-items: center;
  background: var(--cream);
  padding: 1.2rem 1.5rem calc(1.6rem + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.menu-panel.open { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

.menu-close {
  position: absolute;
  top: 0.9rem;
  right: 0.7rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--pine);
  padding: 0.8rem 0.7rem;
}

.menu-panel .m-brand {
  margin-top: 3rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pine-deep);
}
.menu-panel .m-script {
  font-family: var(--script);
  font-size: 1.25rem;
  color: var(--gold);
  margin-top: 0.15rem;
}

.menu-panel ul {
  list-style: none;
  margin: auto 0;
  padding: 1.6rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  text-align: center;
}
.menu-panel ul a {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--pine-deep);
}
.menu-panel ul a.m-cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--flax);
  padding: 0.75rem 1.7rem;
  margin-top: 0.3rem;
}

.menu-panel .m-foot { margin-top: auto; text-align: center; }
.menu-panel .m-foot img { width: 52px; margin: 0 auto 0.3rem; opacity: 0.92; }
.menu-panel .m-foot .m-script { font-size: 1.15rem; }

@media (max-width: 640px) {
  .menu-toggle { display: block; }
  .menu-panel { display: flex; }
}


@media (max-width: 900px) {
  .trio { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .catalogue-grid { grid-template-columns: repeat(2, 1fr); }
  .split .s-img, .split .s-txt { grid-column: span 12; order: unset !important; }
  .contact-grid, .two-col, .choices, .choices.three { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .catalogue-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
}

/* ---------- Motif grid (catalogue: Grace, Sophie, Tablecloth) ---------- */
.motif-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.6rem);
  padding: 0.5rem 0 3.5rem;
}

.product.motif { padding: 0 0 1.1rem; }
.product.motif .photo { aspect-ratio: 707 / 1000; }
.product.motif .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.product.motif .ref {
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0.85rem 0 0.7rem;
}

.product.motif .btn { font-size: 0.58rem; padding: 0.55rem 1.4rem; }

.collection-head .materials {
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.9rem;
}

@media (max-width: 560px) {
  .motif-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem 0.8rem; }
}

/* piece selector inside the request table */
.q-name { display: flex; flex-direction: column; gap: 0.35rem; align-items: flex-start; }
.q-piece {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--pine);
  border: 1px solid var(--flax);
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
  background: var(--white);
  max-width: 100%;
}
