/* Sew Perfect Alterations — site styles */
:root {
  --ivory: #faf7f2;
  --cream: #f3ece2;
  --blush: #e9dccd;
  --ink: #23201d;
  --muted: #6c645b;
  --gold: #a98a5a;
  --gold-dark: #8a6e44;
  --dark: #1f1d1b;
  --line: rgba(35, 32, 29, 0.14);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--max), 100% - 3rem); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--dark); color: var(--ivory); }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.1rem;
}
.section--dark .eyebrow { color: #cfb487; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.section--dark .lead { color: rgba(250, 247, 242, 0.75); }
.center .lead { margin-inline: auto; }
.divider {
  width: 56px; height: 1px; background: var(--gold);
  margin: 1.4rem 0 1.6rem;
}
.center .divider { margin-inline: auto; }
.section-head { margin-bottom: 3.2rem; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ivory);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold:hover { background: transparent; color: #e2c999; border-color: #e2c999; }
.btn--light { border-color: var(--ivory); color: var(--ivory); background: transparent; }
.btn--light:hover { background: var(--ivory); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.center .btn-row { justify-content: center; }
.text-link {
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  border-bottom: 1px solid var(--gold); padding-bottom: 4px;
}
.text-link:hover { color: var(--gold-dark); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 1.5rem;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name { width: 104px; height: auto; align-self: flex-start; }
.brand-sub {
  font-size: 0.58rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--muted); margin-top: 6px;
}
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--gold); color: var(--gold-dark); }
.nav .nav-cta {
  border: 1px solid var(--ink); padding: 0.7rem 1.3rem; color: var(--ink);
}
.nav .nav-cta:hover { background: var(--ink); color: var(--ivory); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  width: 44px; height: 44px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 1.5px; background: var(--ink); position: relative;
  transition: transform 0.25s, background 0.25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.hero h1 em { font-style: italic; color: var(--gold-dark); }
.hero-photos { position: relative; padding-bottom: 3rem; }
.hero-photo-main {
  width: 78%; margin-left: auto; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 200px 200px 0 0; box-shadow: 0 30px 60px -30px rgba(35, 32, 29, 0.45);
}
.hero-photo-sub {
  position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; object-fit: cover;
  border: 8px solid var(--ivory); box-shadow: 0 20px 40px -20px rgba(35, 32, 29, 0.45);
}

/* Trust strip */
.strip { border-block: 1px solid var(--line); padding: 2rem 0; background: var(--ivory); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.strip-item strong {
  display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1.1;
  color: var(--gold-dark);
}
.strip-item span {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; }
.card {
  background: #fff; padding: 2.4rem 2rem; border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(35, 32, 29, 0.4); }
.card-icon { width: 44px; height: 44px; stroke: var(--gold-dark); fill: none; stroke-width: 1.2; margin-bottom: 1.2rem; }
.card h3 { font-size: 1.55rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split img { width: 100%; object-fit: cover; }
.frame { position: relative; }
.frame::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold);
  z-index: -1;
}
.split--reverse .frame::after { inset: 18px 18px -18px -18px; }

/* Day-of tiers */
.tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin: 2.5rem 0; }
.tier {
  border: 1px solid rgba(250, 247, 242, 0.25); padding: 2.4rem 2rem; text-align: center;
}
.tier--featured { border-color: var(--gold); background: rgba(169, 138, 90, 0.08); }
.tier-label { font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: #cfb487; }
.tier-price { font-family: var(--serif); font-size: 3.6rem; line-height: 1.1; margin: 0.5rem 0 0; }
.tier-time { color: rgba(250, 247, 242, 0.7); font-size: 0.9rem; margin: 0; }
.checklist li { position: relative; padding-left: 1.8rem; margin-bottom: 0.7rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.72em; width: 12px; height: 1px; background: var(--gold);
}
.checklist li::after {
  content: ""; position: absolute; left: 0; top: calc(0.72em - 3px); width: 6px; height: 6px;
  border-top: 1px solid var(--gold); border-right: 1px solid var(--gold);
  transform: translateX(8px) rotate(45deg);
}

/* Gallery */
.gallery, .gallery-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gallery-item {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  background: var(--blush); cursor: zoom-in; display: block; width: 100%;
  border: 0; padding: 0;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption, .gallery-item .cap {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.1rem 0.9rem; text-align: left;
  background: linear-gradient(transparent, rgba(20, 18, 16, 0.75)); color: #fff;
  font-family: var(--serif); font-size: 1.15rem; opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .cap, .gallery-item:focus-visible .cap { opacity: 1; }
.gallery-empty { text-align: center; color: var(--muted); padding: 3rem 0; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(15, 14, 12, 0.94);
  display: none; align-items: center; justify-content: center; flex-direction: column; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); object-fit: contain; }
.lightbox-cap { color: #eee; font-family: var(--serif); font-size: 1.3rem; margin-top: 1rem; text-align: center; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 2.4rem; line-height: 1; width: 56px; height: 56px; opacity: 0.8;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }
.review { background: #fff; border: 1px solid var(--line); padding: 2.2rem 2rem; display: flex; flex-direction: column; }
.stars { color: var(--gold); letter-spacing: 0.3em; font-size: 0.85rem; margin-bottom: 1rem; }
.review blockquote {
  margin: 0 0 1.4rem; font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; font-style: italic;
}
.review cite {
  margin-top: auto; font-style: normal; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}

/* Page banner */
.page-banner { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem); text-align: center; background: var(--cream); }
.page-banner .lead, .page-banner .divider { margin-inline: auto; }
.page-banner h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }

/* Service detail rows */
.service-row { display: grid; grid-template-columns: 220px 1fr; gap: 2rem 4rem; padding: 3rem 0; border-top: 1px solid var(--line); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row h2 { font-size: 2rem; }
.service-num { font-family: var(--serif); font-size: 3.4rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 0.8rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.tag {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid var(--line);
  padding: 0.5rem 1rem; background: #fff;
}
.note {
  font-size: 0.9rem; color: var(--muted); border-left: 2px solid var(--gold);
  padding-left: 1rem; margin-top: 1.5rem;
}
.section--dark .note { color: rgba(250, 247, 242, 0.7); }

/* Area chips */
.areas { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin: 1.5rem 0; }
.areas li {
  font-family: var(--serif); font-size: 1.4rem; padding: 0.4rem 1.4rem; border: 1px solid var(--line);
  background: #fff;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-list li { display: flex; gap: 1.1rem; margin-bottom: 1.8rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; stroke: var(--gold-dark); fill: none; stroke-width: 1.4; flex: none; margin-top: 4px; }
.contact-list small {
  display: block; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.contact-list a:hover { color: var(--gold-dark); }
.form { background: #fff; border: 1px solid var(--line); padding: clamp(1.6rem, 4vw, 3rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { margin-bottom: 1.3rem; }
.field label {
  display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 0.45rem;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.95rem; color: var(--ink); background: var(--ivory);
  border: 1px solid var(--line); padding: 0.85rem 1rem; border-radius: 0;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold); outline-offset: -1px; background: #fff;
}
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 1rem; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band .lead, .cta-band .divider { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--dark); color: rgba(250, 247, 242, 0.75); padding: 4.5rem 0 2rem; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; }
.footer-logo { width: 110px; margin-bottom: 1rem; }
.site-footer h4 {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  color: #cfb487; margin-bottom: 1.2rem;
}
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(250, 247, 242, 0.15);
  font-size: 0.78rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}

/* Scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .hero-photos { max-width: 460px; margin-inline: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery, .gallery-preview { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .service-row { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--ivory);
    flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--line); display: none;
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 1rem; text-align: center; }
}
@media (max-width: 600px) {
  .tiers, .form-row { grid-template-columns: 1fr; }
  .gallery { gap: 0.6rem; }
  .gallery-preview { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .frame::after { display: none; }
  .strip-item strong { font-size: 1.45rem; }
  .cards > img { grid-column: auto !important; }
  .gallery-item .cap { opacity: 1; }
}
