/* ═══════════════════════════════════════════
   The Vinyl Touch — stylesheet
   Palette, type and layout live at the top so
   you can rebrand the whole site from here.
   ═══════════════════════════════════════════ */

:root {
  --plum:        #6E2A4E;
  --plum-deep:   #4A1B34;
  --plum-soft:   #9C5077;
  --gold:        #C8975A;
  --gold-soft:   #E8CFA9;
  --cream:       #FDF7F1;
  --cream-deep:  #F5E9DC;
  --ink:         #2B2126;
  --ink-soft:    #6B5C63;
  --line:        #E3D3C4;
  --white:       #FFFFFF;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1140px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(74, 27, 52, .06);
  --shadow:    0 10px 30px rgba(74, 27, 52, .09);
  --shadow-lg: 0 24px 60px rgba(74, 27, 52, .14);
}

/* ── Reset ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.7rem, 6.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }
a  { color: var(--plum); text-decoration-color: rgba(110, 42, 78, .3); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--plum); color: var(--white); padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 760px); }

/* ── Buttons ───────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  padding: .75em 1.5em; border-radius: 100px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--plum); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--plum-deep); box-shadow: var(--shadow); }
.btn-ghost { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn-ghost:hover { background: var(--plum); color: var(--white); }
.btn-cream { background: var(--cream); color: var(--plum-deep); }
.btn-cream:hover { background: var(--white); }
.btn-lg { font-size: 1.02rem; padding: .9em 1.9em; }
.btn-sm { padding: .55em 1.15em; font-size: .88rem; }
.btn-block { width: 100%; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--plum-soft); margin: 0 0 .9em;
}

/* ── Header ────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 247, 241, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(74,27,52,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--plum-deep); }
.brand-mark { width: 34px; height: 34px; color: var(--plum); flex-shrink: 0; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.32rem; font-weight: 700; letter-spacing: -.02em; }
.brand-tag { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--plum-soft); }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--plum); }
.nav a.btn { color: var(--white); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; justify-content: center;
  width: 44px; height: 44px; padding: 0 10px; background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--plum-deep); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ──────────────────────────────── */
.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(900px 420px at 78% 12%, rgba(232, 207, 169, .5), transparent 65%),
    radial-gradient(700px 500px at 8% 88%, rgba(156, 80, 119, .12), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { color: var(--plum-deep); margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--plum); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em;
  background: var(--gold-soft); border-radius: 2px; z-index: -1;
}
.lede { font-size: 1.14rem; color: var(--ink-soft); max-width: 44ch; margin-bottom: 1.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; padding: 0; margin: 0; font-size: .92rem; color: var(--ink-soft); }
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points li::before {
  content: "✓"; display: grid; place-items: center; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--plum); color: var(--white); font-size: .7rem; font-weight: 700;
}

/* Decorative "sample" tiles — replace with product photos when you have them */
.hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.swatch {
  aspect-ratio: 1; border-radius: var(--radius-lg); display: grid; place-items: center;
  font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .18em;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.swatch span { position: relative; z-index: 1; }
.swatch::after {
  content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(255,255,255,.45); border-radius: 14px;
}
.swatch-1 { background: linear-gradient(150deg, var(--plum), var(--plum-deep)); color: var(--gold-soft); transform: rotate(-3deg); }
.swatch-2 { background: linear-gradient(150deg, var(--gold), #B07E42); color: #fff; transform: rotate(2deg) translateY(14px); }
.swatch-3 { background: linear-gradient(150deg, #E4D3C0, var(--cream-deep)); color: var(--plum-deep); transform: rotate(2.5deg); }
.swatch-3::after { border-color: rgba(110,42,78,.25); }
.swatch-4 { background: linear-gradient(150deg, var(--plum-soft), #7E3A5D); color: #fff; transform: rotate(-2deg) translateY(14px); }

/* ── Marquee ───────────────────────────── */
.marquee { overflow: hidden; background: var(--plum-deep); color: var(--cream-deep); padding: .85rem 0; }
.marquee-track {
  display: flex; align-items: center; gap: 1.6rem; width: max-content;
  animation: slide 42s linear infinite;
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
}
.marquee-track i { color: var(--gold); font-style: normal; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ── Sections ──────────────────────────── */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--cream-deep); }
.section-head { max-width: 620px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head h2 { color: var(--plum-deep); }
.section-sub { color: var(--ink-soft); font-size: 1.04rem; margin: 0; }
.section-sub code { background: rgba(110,42,78,.08); padding: .12em .45em; border-radius: 5px; font-size: .88em; }

/* ── Product cards ─────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.7rem 1.6rem; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card-icon { width: 48px; height: 48px; color: var(--plum); margin-bottom: 1.1rem; }
.card-icon svg { width: 100%; height: 100%; }
.card h3 { color: var(--plum-deep); margin-bottom: .45em; }
.card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 1em; }
.card .price { margin: auto 0 0; font-size: .9rem; color: var(--ink-soft); padding-top: .8rem; border-top: 1px solid var(--line); }
.card .price strong { font-family: var(--serif); font-size: 1.35rem; color: var(--plum); font-weight: 700; }
.card-accent { background: linear-gradient(160deg, #FFF9F2, var(--cream-deep)); border-style: dashed; border-color: var(--gold); }

/* ── Gallery ───────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.shot { margin: 0; }
.shot-tall { grid-row: span 2; }
.shot-wide { grid-column: span 2; }
.shot-img {
  border-radius: var(--radius); aspect-ratio: 4 / 3; display: grid; place-items: center;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease;
}
.shot-tall .shot-img { aspect-ratio: 4 / 6.4; }
.shot:hover .shot-img { transform: scale(1.015); box-shadow: var(--shadow); }
.shot-img span { position: relative; z-index: 1; padding: .5em 1em; }
.shot-img::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.09) 0 12px, transparent 12px 24px);
}
.ph-1 { background: linear-gradient(160deg, var(--plum), var(--plum-deep)); color: var(--gold-soft); }
.ph-2 { background: linear-gradient(160deg, var(--gold), #A9763C); color: #fff; }
.ph-3 { background: linear-gradient(160deg, var(--plum-soft), #6E2A4E); color: #fff; }
.ph-4 { background: linear-gradient(160deg, #E8D9C6, #CDB79C); color: var(--plum-deep); }
.ph-5 { background: linear-gradient(160deg, #5C3A52, var(--plum-deep)); color: var(--gold-soft); }
.shot figcaption { font-size: .87rem; color: var(--ink-soft); margin-top: .65rem; line-height: 1.45; }

/* ── Steps ─────────────────────────────── */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem 1.8rem;
  counter-reset: step;
}
.steps li { position: relative; padding-top: 1.6rem; border-top: 2px solid var(--line); }
.step-num {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 700; line-height: 1;
  color: var(--gold); display: block; margin-bottom: .35rem;
}
.steps h3 { color: var(--plum-deep); margin-bottom: .4em; }
.steps p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ── Order form ────────────────────────── */
.section-order { background: linear-gradient(180deg, var(--cream) 0%, #F7EDE2 100%); }
.order-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.order-intro { position: sticky; top: 100px; }
.order-intro h2 { color: var(--plum-deep); }
.order-intro > p { color: var(--ink-soft); }
.order-assure { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .9rem; }
.order-assure li { position: relative; padding-left: 1.9rem; font-size: .93rem; color: var(--ink-soft); }
.order-assure li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(200,151,90,.22);
}

.order-form, .contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--shadow);
  display: grid; gap: 1.35rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field label, .field legend {
  font-size: .88rem; font-weight: 600; color: var(--ink); padding: 0;
}
.req { color: var(--plum); }
.opt { font-weight: 400; color: var(--ink-soft); font-size: .82rem; }

.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="url"], .field input[type="date"], .field input[type="number"],
.field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  padding: .68em .85em; border: 1.5px solid var(--line); border-radius: 10px;
  background: #FDFBF9; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field textarea { resize: vertical; line-height: 1.55; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%236B5C63' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9em center; background-size: 12px; padding-right: 2.4em;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--plum); background: var(--white);
  box-shadow: 0 0 0 3px rgba(110, 42, 78, .12);
}
.field input.invalid, .field textarea.invalid { border-color: #C0392B; background: #FEF6F5; }

.hint { font-size: .82rem; color: var(--ink-soft); margin: 0; }
.err { font-size: .82rem; color: #C0392B; margin: 0; min-height: 0; }
.err:empty { display: none; }

/* Chips (checkboxes) */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .25rem; }
.chip input, .radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span, .radio span {
  display: inline-block; padding: .5em 1em; border-radius: 100px; cursor: pointer;
  border: 1.5px solid var(--line); background: #FDFBF9; font-size: .88rem; font-weight: 500;
  transition: all .16s ease; user-select: none;
}
.chip span:hover, .radio span:hover { border-color: var(--plum-soft); background: var(--white); }
.chip input:checked + span, .radio input:checked + span {
  background: var(--plum); border-color: var(--plum); color: var(--white);
}
.chip input:focus-visible + span, .radio input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.radios { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .25rem; }

/* Honeypot — hidden from humans, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { font-size: .84rem; color: var(--ink-soft); text-align: center; margin: -.4rem 0 0; }
.form-status { margin: 0; padding: .9em 1.1em; border-radius: 10px; font-size: .92rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #EDF7EF; color: #21603A; border: 1px solid #BFE0C9; }
.form-status.bad { background: #FEF3F2; color: #94322A; border: 1px solid #F3C9C4; }

/* ── Contact ───────────────────────────── */
.contact-head { margin-inline: auto; text-align: center; }
.contact-head .section-sub { margin-inline: auto; }

/* ── FAQ ───────────────────────────────── */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 1.4rem; transition: border-color .18s ease, box-shadow .18s ease;
}
.faq details[open] { border-color: var(--gold-soft); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2rem 1.15rem 0; position: relative;
  font-weight: 600; font-size: 1.02rem; color: var(--plum-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .2rem; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--plum); border-bottom: 2px solid var(--plum);
  transform: translateY(-70%) rotate(45deg); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { color: var(--ink-soft); font-size: .96rem; padding-bottom: 1.3rem; margin: 0; max-width: 65ch; }

/* ── CTA band ──────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--plum), var(--plum-deep));
  color: var(--cream); text-align: center; padding: clamp(3rem, 7vw, 5rem) 0;
}
.cta-inner h2 { color: var(--white); margin-bottom: .3em; }
.cta-inner p { color: rgba(253, 247, 241, .8); margin-bottom: 1.8em; }

/* ── Footer ────────────────────────────── */
.site-footer { background: var(--plum-deep); color: rgba(253,247,241,.75); padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer .brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; color: var(--white); display: block; margin-bottom: .5rem; }
.footer-brand p { font-size: .94rem; max-width: 34ch; margin: 0; }
.site-footer h3 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: .55rem; align-items: flex-start; }
.site-footer a { color: rgba(253,247,241,.82); text-decoration: none; font-size: .94rem; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-note { font-size: .9rem; margin: 0 0 .35rem; max-width: 30ch; line-height: 1.55; }
.hours { font-size: .86rem; margin: .5rem 0 0; color: rgba(253,247,241,.55); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  border-top: 1px solid rgba(253,247,241,.14); padding-top: 1.5rem;
  font-size: .84rem; color: rgba(253,247,241,.5);
}
.footer-bottom p { margin: 0; }

/* ── Reveal on scroll ──────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .shot:hover .shot-img { transform: none; }
}

/* ── Responsive ────────────────────────── */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin-top: 1rem; }
  .order-wrap { grid-template-columns: 1fr; }
  .order-intro { position: static; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .shot-tall { grid-row: span 1; }
  .shot-tall .shot-img { aspect-ratio: 4 / 3; }
  .shot-wide { grid-column: span 2; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: .5rem 1.25rem 1.25rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .85rem .25rem; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: .9rem; border-bottom: none; justify-content: center; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .shot-wide { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}

/* ── Print ─────────────────────────────── */
@media print {
  .site-header, .marquee, .cta-band, .hero-art, .nav-toggle { display: none; }
  body { background: #fff; }
}
