/* PB_Creationss · Happy Stitches
   Palette taken from the logo: midnight navy, antique gold, beige, white. */
:root {
  --ink: #0e0c1e;          /* near-black navy */
  --navy: #1d1846;         /* logo band */
  --navy-2: #2a2360;
  --gold: #c9a227;         /* logo gold */
  --gold-2: #e2c25a;
  --gold-deep: #9c7a14;
  --beige: #f4ece0;
  --sand: #e8dcc8;
  --white: #fffdf9;
  --text: #241f33;
  --muted: #6b6478;

  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --radius: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--sans);
  color: var(--text);
  background: var(--beige);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 600; }
h2 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 em, h1 em { font-style: italic; color: var(--gold-deep); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 0.95rem/1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase;
  padding: 16px 26px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep)); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(201,162,39,.7); }
.btn-ghost { border-color: rgba(255,253,249,.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-sm { padding: 11px 18px; font-size: .8rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,12,30,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,162,39,.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.brand-name { font: 600 1.35rem/1 var(--display); letter-spacing: .03em; color: var(--gold-2); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--sand); text-decoration: none; font-size: .95rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; border-bottom: 1.5px dashed var(--gold); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--gold-2); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px var(--gutter) 24px; border-bottom: 1px solid rgba(201,162,39,.25);
    transform: translateY(-120%); transition: transform .3s ease; z-index: -1;
  }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px dashed rgba(201,162,39,.25); font-size: 1.1rem; }
  .nav .btn { margin-top: 18px; }
  .nav.open { transform: translateY(0); }
  .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 {
  position: relative; color: var(--white);
  background:
    radial-gradient(1000px 600px at 85% 20%, rgba(42,35,96,.9), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(201,162,39,.12), transparent 60%),
    var(--ink);
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 100px);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .82rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.2); }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.9rem, 7.5vw, 5.6rem); letter-spacing: -0.02em; margin-bottom: 24px; }
.hero h1 em { color: var(--gold-2); }
.lede { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: #d9d2e6; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 40px; }
.hero-social { list-style: none; padding: 0; margin: 0; display: flex; gap: clamp(20px, 4vw, 44px); flex-wrap: wrap; }
.hero-social li { display: flex; flex-direction: column; padding-left: 16px; border-left: 1.5px dashed rgba(201,162,39,.55); }
.hero-social strong { font: 600 1.7rem/1.1 var(--display); color: var(--gold-2); }
.hero-social span { font-size: .85rem; color: #b6aec6; }

.hero-art { position: relative; aspect-ratio: 1 / 1.08; }
.frame { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); border: 3px solid var(--white); outline: 1.5px dashed var(--gold); outline-offset: -10px; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.f1 { width: 58%; height: 82%; left: 21%; top: 4%; z-index: 2; }
.f2 { width: 40%; height: 56%; left: 0; top: 30%; transform: rotate(-5deg); z-index: 1; }
.f3 { width: 40%; height: 56%; right: 0; top: 10%; transform: rotate(5deg); z-index: 1; }
.f1 img { object-position: 50% 20%; }
.f2 img, .f3 img { object-position: 50% 15%; }
.hero-seal { position: absolute; width: clamp(96px, 13vw, 140px); right: 8%; bottom: 0; z-index: 3; border-radius: 50%; box-shadow: 0 12px 30px rgba(0,0,0,.5); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; width: 100%; margin: 8px auto 0; }
}

/* stitched rule */
.stitch-rule { position: absolute; left: 0; right: 0; bottom: 14px; border-top: 2px dashed rgba(201,162,39,.6); }

/* ---------- ticker ---------- */
.ticker { background: var(--gold); color: var(--ink); overflow: hidden; border-block: 3px solid var(--ink); }
.ticker-track { display: flex; width: max-content; gap: 22px; padding: 14px 0; animation: ticker 40s linear infinite; font: 600 1.05rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ticker i { font-style: normal; opacity: .6; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 600 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px; }
.kicker::before { content: ""; width: 34px; border-top: 2px dashed currentColor; }

/* ---------- lookbook ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { font: 500 .92rem/1 var(--sans); padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--sand); background: var(--white); color: var(--text); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--gold); }
.chip.is-active { background: var(--navy); color: var(--gold-2); border-color: var(--navy); }

.masonry { columns: 3 300px; column-gap: 20px; }
.look { break-inside: avoid; margin: 0 0 20px; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--sand), 0 20px 40px -28px rgba(29,24,70,.5); transition: opacity .3s, transform .3s; }
.look.is-hidden { display: none; }
.look-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.look-btn img { width: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.look-btn:hover img { transform: scale(1.04); }
.look figcaption { padding: 14px 18px 16px; font: 500 1.2rem/1.2 var(--serif); font-style: italic; border-top: 1.5px dashed var(--sand); }
.more { text-align: center; margin-top: 28px; color: var(--muted); }
.more a { color: var(--navy); font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* ---------- services ---------- */
.services { background: var(--navy); color: var(--white); background-image: radial-gradient(800px 500px at 100% 0, rgba(201,162,39,.12), transparent 60%); }
.section-head.light h2 em { color: var(--gold-2); }
.section-head.light .kicker { color: var(--gold-2); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.card { position: relative; padding: 32px 28px 28px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(201,162,39,.25); transition: background .25s, transform .25s; }
.card::after { content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgba(201,162,39,.3); border-radius: calc(var(--radius) - 6px); pointer-events: none; }
.card:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.card .num { font: 600 .9rem/1 var(--display); color: var(--gold); letter-spacing: .1em; }
.card h3 { font: 600 1.6rem/1.15 var(--serif); margin: 14px 0 10px; color: var(--white); }
.card p { color: #cfc8de; margin: 0; font-size: .98rem; }

/* ---------- process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 70px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold-2); font: 600 1.05rem/1 var(--display); box-shadow: 0 0 0 4px var(--beige), 0 0 0 5.5px var(--gold); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 66px; right: -6px; border-top: 2px dashed var(--gold); }
.steps h3 { font: 600 1.4rem/1.2 var(--serif); margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .97rem; }
.steps a { color: var(--navy); font-weight: 700; text-decoration-color: var(--gold); }
.note-tip { margin: 40px 0 0; padding: 18px 22px; background: var(--white); border-left: 4px solid var(--gold); border-radius: 10px; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 32px 76px; min-height: 52px; }
  .steps li:not(:last-child)::after { top: 62px; bottom: 6px; left: 26px; right: auto; border-top: 0; border-left: 2px dashed var(--gold); }
}

/* ---------- measure ---------- */
.measure { background: var(--sand); }
.measure-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.measure h2 { margin-bottom: 16px; }
.measure-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.measure-list li { background: var(--white); border-radius: 14px; padding: 18px 20px; border: 1.5px dashed rgba(156,122,20,.35); }
.measure-list b { display: block; font: 600 1.25rem/1.2 var(--serif); color: var(--navy); margin-bottom: 4px; }
.measure-list span { font-size: .93rem; color: var(--muted); }
@media (max-width: 860px) { .measure-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .measure-list { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-art { position: relative; margin: 0; }
.about-art > img:first-child { border-radius: 200px 200px var(--radius) var(--radius); aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; width: 100%; border: 3px solid var(--white); outline: 1.5px dashed var(--gold); outline-offset: -12px; }
.about-seal { position: absolute; width: clamp(100px, 14vw, 160px); right: -12px; bottom: -24px; border-radius: 50%; box-shadow: 0 16px 40px -10px rgba(14,12,30,.6); }
.about-cap { position: absolute; left: 20px; bottom: 20px; background: rgba(14,12,30,.8); color: var(--gold-2); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p { color: #4a4458; }
.signature { font: italic 600 1.8rem/1 var(--serif); color: var(--gold-deep) !important; margin-top: 24px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-art { max-width: 420px; } }

/* ---------- order ---------- */
.order { background: var(--ink); color: var(--white); background-image: radial-gradient(900px 500px at 0 0, rgba(42,35,96,.9), transparent 60%); }
.order .kicker { color: var(--gold-2); }
.order h2 em { color: var(--gold-2); }
.order-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.order-copy h2 { margin-bottom: 18px; }
.order-copy > p { color: #cfc8de; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.contact-list li { display: grid; gap: 4px; padding-left: 18px; border-left: 1.5px dashed var(--gold); }
.contact-list span { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.contact-list a { font: 500 1.35rem/1.3 var(--serif); text-decoration: none; color: var(--white); }
.contact-list a:hover { color: var(--gold-2); }

.order-form { background: var(--white); color: var(--text); border-radius: 24px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); position: relative; }
.order-form::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(201,162,39,.55); border-radius: 16px; pointer-events: none; }
.field { display: grid; gap: 6px; margin-bottom: 16px; position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: .85rem; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); width: 100%;
  padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--sand); background: #fcf9f3;
  transition: border-color .2s, box-shadow .2s; min-width: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.18); }
.field textarea { resize: vertical; }
.form-error { color: #b3261e; font-size: .9rem; margin: 12px 0 0; text-align: center; }
@media (max-width: 860px) { .order-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--ink); color: #b6aec6; padding: 56px 0 96px; border-top: 1px solid rgba(201,162,39,.2); }
.site-footer .stitch-rule { top: 14px; bottom: auto; }
.footer-grid { display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 84px; height: 84px; }
.footer-brand p { margin: 0; font-size: .95rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.footer-social a { text-decoration: none; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(201,162,39,.4); color: var(--gold-2); font-size: .9rem; transition: background .2s, color .2s; }
.footer-social a:hover { background: var(--gold); color: var(--ink); }
.footer-small { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 22px; border-top: 1px dashed rgba(201,162,39,.25); font-size: .85rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } .footer-social { justify-content: flex-start; } }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(0,0,0,.5); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(14,12,30,.94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(92vw, 900px); text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { color: var(--gold-2); font: italic 500 1.4rem/1.3 var(--serif); margin-top: 14px; }
.lb-close, .lb-nav { position: fixed; background: rgba(255,255,255,.08); color: var(--white); border: 1px solid rgba(201,162,39,.4); border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--ink); }
@media (max-width: 600px) { .lb-nav { top: auto; bottom: 20px; transform: none; } }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
