:root {
  --gold: #b8912a;
  --gold-dark: #8a6a12;
  --gold-light: #e9cf7f;
  --gold-grad: linear-gradient(135deg, #f3dc8f 0%, #c9a227 45%, #8a6a12 100%);
  --ink: #3b3326;
  --muted: #7a6f5c;
  --cream: #faf6ec;
  --white: #fffdf8;
  --line: #e8dcc0;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(90, 70, 20, .08);
  --script: "Great Vibes", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.55rem; }

.container { width: min(1140px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.mt { margin-top: 2.5rem; }
.muted { color: var(--muted); }
.script { font-family: var(--script); font-weight: 400; }

.eyebrow {
  font-family: var(--serif);
  font-variant: small-caps;
  letter-spacing: .12em;
  font-size: 1.1rem;
  color: var(--gold-dark);
  margin: 0 0 .4rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .85rem 1.8rem;
  background: var(--gold-grad);
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, filter .2s;
  text-shadow: 0 1px 1px rgba(0,0,0,.15);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(138,106,18,.25); filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--gold-dark); text-shadow: none; }
.btn-ghost:hover { background: rgba(201,162,39,.08); }
.btn-small { padding: .5rem 1.1rem; font-size: .8rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,253,248,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand {
  font-family: var(--script);
  font-size: 2.1rem;
  text-decoration: none;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  /* room for the script swashes so the gradient doesn't clip them */
  padding: .15em .35em .25em .25em;
  margin: -.15em -.35em -.25em -.25em;
  line-height: 1.2;
}
.menu { display: flex; gap: 2rem; align-items: center; }
.menu a:not(.btn) {
  color: var(--ink); text-decoration: none; font-size: .95rem; letter-spacing: .06em;
  position: relative;
}
.menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
  background: var(--gold); transition: width .25s;
}
.menu a:not(.btn):hover::after { width: 100%; }
.menu .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--gold-dark); transition: .25s; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(6rem, 12vw, 9rem);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(233,207,127,.25), transparent 55%),
    linear-gradient(#fffdf8, #faf6ec);
}
.hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(4rem, 11vw, 7.5rem);
  margin: 0;
  line-height: 1.1;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  /* room for the script swashes so the gradient doesn't clip them */
  padding: .1em .35em .3em .25em;
  margin: 0 -.35em -.15em -.25em;
}
.slogan {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--gold-dark); margin: -.2rem 0 .4rem; letter-spacing: .02em;
}
.slogan-footer { color: var(--gold-light); font-size: 1.25rem; margin: -.3rem 0 .4rem; }
.rule { height: 1px; width: min(560px, 100%); background: linear-gradient(90deg, var(--gold), transparent); margin: .5rem 0 1rem; }
.services-line {
  font-family: var(--serif); font-variant: small-caps; letter-spacing: .06em;
  font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--gold-dark); margin: 0 0 1.4rem;
}
.lead { max-width: 560px; font-size: 1.1rem; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-needle svg { display: block; width: 56px; height: 400px; filter: drop-shadow(4px 6px 8px rgba(138,106,18,.25)); }

.thread { position: absolute; left: 0; width: 100%; pointer-events: none; }
.thread path { fill: none; stroke: var(--gold); stroke-width: 1.4; opacity: .75; }
.thread-hero { top: 0; height: 100%; }
.thread-back { z-index: 0; }
.thread-front { z-index: 2; }
.thread-hero path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3s ease forwards; }
.thread-hero path:nth-child(2) { animation-delay: .3s; opacity: .5; }
.thread-hero path:nth-child(3) { animation-delay: .6s; opacity: .4; }
.thread-front path { animation-duration: 1s; animation-delay: 2.6s; }
.thread-front path:nth-child(2) { animation-delay: 2.9s; }
.thread-front path:nth-child(3) { animation-delay: 3.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Sections */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-cream { background: var(--cream); border-block: 1px solid var(--line); }
.section-title { text-align: center; margin-bottom: 1rem; }
.section-title::after {
  content: ""; display: block; width: 70px; height: 1px; background: var(--gold); margin: 1rem auto 0;
}
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 2.5rem; }
.eyebrow.center { text-align: center; }

/* Service cards */
/* 3 cards on the first row, the rest centred underneath */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: 3rem; }
.cards .card { flex: 0 1 calc((100% - 3rem) / 3); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 0 1.5rem; box-shadow: var(--shadow); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(90,70,20,.14); }
.card h3, .card p, .card ul { padding-inline: 1.4rem; }
.card h3 { margin-top: 1.3rem; }
.card p { font-size: .97rem; color: var(--muted); }
.card ul { list-style: none; margin: 0; font-size: .92rem; }
.card li { padding-left: 1.2rem; position: relative; margin: .3rem 0; }
.card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 1px; background: var(--gold); }
.card-art { height: 170px; }

/* Fabric "illustrations" – swap with real photos any time */
.art-drapes {
  background:
    linear-gradient(180deg, rgba(255,255,255,.0) 70%, rgba(138,106,18,.15)),
    repeating-linear-gradient(90deg, #efe2bf 0 14px, #e3d0a0 14px 22px, #f6ecd2 22px 40px);
}
.art-upholstery {
  background:
    radial-gradient(circle at 25% 25%, #c9a227 0 3px, transparent 4px) 0 0/36px 36px,
    radial-gradient(circle at 75% 75%, #c9a227 0 3px, transparent 4px) 0 0/36px 36px,
    linear-gradient(135deg, #6f7f6a, #4f5e4c);
}
.art-roman {
  background:
    repeating-linear-gradient(180deg, #f4ead3 0 30px, #e2cf9f 30px 33px, #fbf4e2 33px 36px),
    #f4ead3;
}
.art-bedding {
  background:
    repeating-linear-gradient(45deg, rgba(201,162,39,.18) 0 2px, transparent 2px 16px),
    repeating-linear-gradient(-45deg, rgba(201,162,39,.18) 0 2px, transparent 2px 16px),
    #fbf7ee;
}
.art-pillows {
  background:
    radial-gradient(ellipse at 30% 55%, #d8c08a 0 28%, transparent 29%),
    radial-gradient(ellipse at 68% 50%, #9aa79a 0 30%, transparent 31%),
    #f2ead8;
}

/* Process */
.steps { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: s; }
.steps li { text-align: center; position: relative; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: calc(50% + 40px); right: calc(-50% + 40px);
  border-top: 1px dashed var(--gold);
}
.step-num {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-dark); background: #fff;
  font-family: var(--serif); font-size: 1.6rem; margin-bottom: 1rem;
}
.steps p { color: var(--muted); font-size: .97rem; }

/* Installation */
.install { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.install-text { position: sticky; top: 110px; }
.install-text p { color: var(--muted); margin-bottom: 2rem; }
.install-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.install-list li {
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold);
  padding: 1.4rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow);
}
.install-list h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.install-list p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.tile {
  margin: 0; position: relative; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center; border: 1px solid var(--line);
}
.tile-tall { grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.tile-full { grid-column: 1 / -1; }
.tile figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2rem 1rem .9rem;
  background: linear-gradient(transparent, rgba(40,32,15,.65));
  color: #fff; font-family: var(--serif); font-size: 1.15rem;
  opacity: 0; transform: translateY(8px); transition: .3s;
}
.tile:hover figcaption, .tile:focus-within figcaption { opacity: 1; transform: none; }

/* About */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: center; }
.about-text p { color: var(--muted); }
.badges { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.badges li { border: 1px solid var(--gold); color: var(--gold-dark); padding: .35rem 1rem; border-radius: 999px; font-size: .9rem; background: #fff; }
.sectors { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2rem; }
.sectors div { border-left: 2px solid var(--gold); padding: .2rem 0 .2rem 1.1rem; }
.sectors h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.sectors p { margin: 0; font-size: .95rem; }
.about-quote {
  margin: 0; padding: 2.5rem; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); position: relative; text-align: center;
}
.about-quote::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid var(--gold-light); pointer-events: none;
}
.about-quote p { font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1.4; margin: 0 0 1rem; }
.script.small { font-size: 2rem; color: var(--gold); }

/* Quote */
.quote { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.quote-info p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; font-size: 1.05rem; }
.contact-list svg { width: 22px; height: 22px; fill: var(--gold); flex: none; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--gold-dark); }

.quote-form {
  background: #fff; border: 1px solid var(--line); padding: 2rem; box-shadow: var(--shadow);
  display: grid; gap: 1.1rem; border-radius: var(--radius);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quote-form label { display: grid; gap: .35rem; font-size: .9rem; letter-spacing: .04em; color: var(--muted); }
.quote-form input[type=text], .quote-form input[type=email], .quote-form input[type=tel], .quote-form textarea {
  font: inherit; color: var(--ink); padding: .7rem .85rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.18); }
.quote-form .invalid { border-color: #b4553b !important; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem 1rem; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
legend { font-size: .9rem; color: var(--muted); padding: 0 .4rem; }
.quote-form .check { display: flex; align-items: center; gap: .45rem; color: var(--ink); font-size: .95rem; cursor: pointer; }
.check input { accent-color: var(--gold); width: 17px; height: 17px; }
.form-note { margin: 0; font-size: .85rem; color: var(--muted); text-align: center; }

/* Footer */
.site-footer { position: relative; background: #2f2a20; color: #e9e2cf; padding: 4rem 0 1.5rem; overflow: hidden; }
.thread-footer { top: 0; height: 80px; }
.thread-footer path { stroke: var(--gold-light); opacity: .5; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; position: relative; }
.brand-footer { font-size: 2.6rem; color: var(--gold-light); }
.site-footer .muted { color: #b8ad92; font-family: var(--serif); font-variant: small-caps; letter-spacing: .06em; margin: 0; }
.footer-contact { display: flex; flex-direction: column; gap: .3rem; text-align: right; }
.footer-contact a { color: #e9e2cf; text-decoration: none; }
.footer-contact a:hover { color: var(--gold-light); }
.copyright { border-top: 1px solid rgba(233,207,127,.2); margin-top: 2rem; padding-top: 1.2rem; font-size: .85rem; color: #9b917a; }

/* "Number copied" note for phone links on computers */
.copy-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #2f2a20; color: #f6eccd; border: 1px solid var(--gold);
  padding: .75rem 1.2rem; border-radius: var(--radius); font-size: .95rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.2); transition: .25s; max-width: calc(100% - 32px); text-align: center;
}
.copy-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .cards .card { flex-basis: calc((100% - 1.5rem) / 2); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 1.2rem; padding: 1.5rem;
    background: var(--white); border-bottom: 1px solid var(--line);
    transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .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-inner { grid-template-columns: 1fr; }
  .hero-needle { position: absolute; right: 0; top: -2rem; opacity: .35; }
  .hero-needle svg { width: 42px; height: 300px; }
  .thread-hero { opacity: .4; }
  .about, .quote, .install { grid-template-columns: 1fr; gap: 2.5rem; }
  .install-text { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .tile figcaption { opacity: 1; transform: none; }
  .footer-contact { text-align: left; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .cards .card { flex-basis: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .install-list, .sectors { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .tile-tall { grid-row: span 1; }
  .tile-wide, .tile-full { grid-column: span 1; }
  .hero-cta .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .thread-hero path { stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; }
}
