/* Purple Iris demo. Creative direction: Louise Fili (warm Old World elegance), rebuilt around the iris purple. */
:root {
  --iris: #4a2560;
  --iris-deep: #2f173d;
  --iris-soft: #ece3f1;
  --gold: #7f6127;          /* text-safe gold: 5.2:1 on ivory */
  --gold-deco: #a8823a;     /* decorative rules only */
  --gold-soft: #e9dcc0;
  --ivory: #fbf7ef;
  --paper: #f4ecdd;
  --sage: #5e6f55;
  --ink: #2b1f2e;
  --muted: #6f6273;
  --line: #dccfbd;
  --ok: #3f6b4a;
  --warn: #8a3b2e;
  --font-heading: 'Playfair Display SC', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;
  --wrap: 1180px;
  --radius: 2px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 17px/1.65 var(--font-body); }
img { max-width: 100%; display: block; }
a { color: var(--iris); }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; letter-spacing: .02em; line-height: 1.15; margin: 0; }
.eyebrow { font: 600 12px/1 var(--font-body); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.script { font-family: var(--font-display); font-style: italic; color: var(--iris); }

/* Ornament */
.rule { display: flex; align-items: center; gap: 14px; color: var(--gold-deco); justify-content: center; margin: 14px 0 18px; }
.rule::before, .rule::after { content: ''; height: 1px; width: 64px; background: currentColor; opacity: .6; }
.rule svg { width: 18px; height: 18px; }

/* Demo banner */
.demo-bar { background: var(--ink); color: #f3eadf; font: 13px/1.4 var(--font-body); text-align: center; padding: 8px 16px; }
.demo-bar strong { color: #f0d79c; }

/* Announcement */
.announce { background: var(--iris); color: var(--ivory); text-align: center; font-size: 14px; padding: 9px 16px; letter-spacing: .02em; }
.announce b { color: #f0d79c; font-weight: 600; }

/* Header */
header.site { background: var(--ivory); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px 0 12px; }
.head-left { font-size: 14px; color: var(--muted); }
.head-left a { color: var(--muted); text-decoration: none; }
.wordmark { text-align: center; text-decoration: none; color: var(--iris); display: block; }
.wordmark .wm-top { font-family: var(--font-heading); font-size: 34px; letter-spacing: .08em; line-height: 1; }
.wordmark .wm-sub { font: 600 11px/1 var(--font-body); letter-spacing: .38em; text-transform: uppercase; color: var(--gold); margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.wordmark svg { width: 22px; height: 22px; }
.head-right { display: flex; justify-content: flex-end; gap: 18px; align-items: center; }
.cart-btn { background: none; border: 1px solid var(--iris); color: var(--iris); padding: 8px 14px; border-radius: 999px; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.cart-btn .count { background: var(--iris); color: var(--ivory); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; }
nav.main { border-top: 1px solid var(--line); }
nav.main ul { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 26px; }
nav.main a { display: block; padding: 11px 0; text-decoration: none; color: var(--ink); font: 13px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
nav.main a:hover { color: var(--iris); }
.menu-toggle { display: none; background: none; border: 0; color: var(--iris); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 560px; background: var(--paper); }
.hero-copy { padding: 72px 56px 72px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(30px, 3.3vw, 46px); color: var(--iris-deep); margin: 16px 0 10px; }
.hero h1 .script { display: block; font-size: .62em; margin-top: 6px; color: var(--gold); text-transform: none; letter-spacing: 0; }
.hero p { max-width: 460px; color: var(--muted); margin: 0 0 28px; }
.hero-img { position: relative; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img .frame { position: absolute; inset: 22px; border: 1px solid rgba(251,247,239,.75); pointer-events: none; }
.btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; text-align: center; padding: 14px 26px; border-radius: var(--radius); font: 13px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; border: 1px solid var(--iris); }
.btn-primary { background: var(--iris); color: var(--ivory); }
.btn-primary:hover { background: var(--iris-deep); }
.btn-ghost { background: transparent; color: var(--iris); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.cutoff { margin-top: 26px; font-size: 14px; color: var(--sage); display: flex; gap: 8px; align-items: center; }
.cutoff .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.cutoff.closed .dot { background: var(--warn); }

/* Sections */
section.block { padding: 84px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.sec-head h2 { font-size: clamp(30px, 3.2vw, 42px); color: var(--iris-deep); margin-top: 12px; }
.sec-head p { color: var(--muted); margin: 10px 0 0; }

/* Occasions */
.occasions { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.occ { text-decoration: none; color: var(--ink); text-align: center; }
.occ .ph { aspect-ratio: 3/4; overflow: hidden; background: var(--paper); border-radius: 120px 120px var(--radius) var(--radius); }
.occ img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.occ:hover img { transform: scale(1.04); }
.occ span { display: block; margin-top: 12px; font: 13px/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }

/* Products */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; }
.card { cursor: pointer; }
.card .ph { aspect-ratio: 4/5; background: #fff; overflow: hidden; border: 1px solid var(--line); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover img { transform: scale(1.03); }
.card h3 { font: 500 18px/1.3 var(--font-display); letter-spacing: 0; margin: 14px 0 4px; color: var(--ink); }
.card .price { color: var(--muted); font-size: 15px; }
.card .quick { margin-top: 10px; background: none; border: 0; border-bottom: 1px solid var(--iris); color: var(--iris); padding: 0 0 2px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.more { text-align: center; margin-top: 44px; }

/* Story */
.story { background: var(--iris-deep); color: #efe6f2; }
.story .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.story h2 { color: var(--ivory); font-size: clamp(30px, 3.2vw, 44px); margin: 12px 0 18px; }
.story p { color: #d9cde0; }
.story .sig { font-family: var(--font-display); font-style: italic; font-size: 26px; color: #f0d79c; margin-top: 18px; }
.story .medallion { aspect-ratio: 1; border: 1px solid rgba(240,215,156,.5); border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 40px; color: #f0d79c; }
.story .medallion .big { font-family: var(--font-heading); font-size: clamp(56px, 7vw, 92px); line-height: 1; color: var(--ivory); }
.story .medallion .small { letter-spacing: .3em; text-transform: uppercase; font-size: 12px; margin-top: 10px; }

/* Weddings */
.weddings { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.weddings .copy { padding: 84px 56px; }
.weddings h2 { font-size: clamp(30px, 3.2vw, 44px); color: var(--iris-deep); margin: 12px 0 16px; }
.weddings .copy p { color: var(--muted); max-width: 460px; }
.weddings ul { padding: 0; list-style: none; margin: 22px 0 30px; }
.weddings li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.weddings .img { background-size: cover; background-position: center; min-height: 420px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review { background: #fff; border: 1px solid var(--line); padding: 30px 28px; }
.review .stars { color: var(--gold); letter-spacing: 3px; }
.review q { display: block; font-family: var(--font-display); font-style: italic; font-size: 19px; line-height: 1.5; margin: 14px 0; quotes: '\201C' '\201D'; }
.review .who { font-size: 13px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.demo-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 22px; font-style: italic; }

/* Subscriptions */
.subs { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subs .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.subs h2 { font-size: clamp(28px, 3vw, 40px); color: var(--iris-deep); margin: 12px 0 12px; }
.freq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.freq div { border: 1px solid var(--gold); text-align: center; padding: 22px 10px; }
.freq b { display: block; font-family: var(--font-heading); font-weight: 400; font-size: 22px; color: var(--iris); }
.freq span { font-size: 13px; color: var(--muted); }

/* Visit */
.visit .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.visit h3 { font-size: 20px; color: var(--iris-deep); margin-bottom: 12px; }
.visit p, .visit li { font-size: 15px; color: var(--muted); }
.visit ul { list-style: none; padding: 0; margin: 0; }
.visit table { border-collapse: collapse; font-size: 15px; color: var(--muted); }
.visit td { padding: 3px 18px 3px 0; }

footer.site { background: var(--ink); color: #cbbfcf; padding: 48px 0 32px; font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
footer.site a { color: #f0d79c; }

/* Product modal (mirrors her product page) */
.modal-back { position: fixed; inset: 0; background: rgba(43,31,46,.55); z-index: 60; display: none; }
.modal-back.open { display: block; }
.modal { position: fixed; z-index: 70; inset: 4vh 50% auto auto; transform: translateX(50%); width: min(980px, 94vw); max-height: 92vh; overflow: auto; background: var(--ivory); display: none; }
.modal.open { display: grid; grid-template-columns: 1fr 1fr; }
.modal .m-img { background: #fff; }
.modal .m-img img { width: 100%; height: 100%; object-fit: cover; }
.modal .m-body { padding: 36px 34px 30px; }
.modal h2 { font: 400 30px/1.2 var(--font-display); color: var(--iris-deep); margin: 8px 0 10px; }
.modal .close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--line); font-size: 26px; line-height: 1; color: var(--iris); box-shadow: 0 2px 8px rgba(43,31,46,.2); }
.sizes { display: grid; gap: 10px; margin: 18px 0; }
.size { text-align: left; background: #fff; border: 1px solid var(--line); padding: 12px 14px; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; }
.size b { font-family: var(--font-display); font-size: 20px; grid-row: span 2; align-self: center; color: var(--iris); }
.size .nm { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.size .nt { font-size: 13px; color: var(--muted); }
.size.on { border-color: var(--iris); box-shadow: inset 0 0 0 1px var(--iris); }
.size .pop { font-size: 11px; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; }
.extras h4 { font: 400 18px/1.2 var(--font-heading); margin: 18px 0 8px; color: var(--iris-deep); }
.extra { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.extra .x-img { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--line); flex: none; }
.extra .x-name { flex: 1; }
.line img { background: #fff; }
.extra button { background: none; border: 1px solid var(--iris); color: var(--iris); padding: 4px 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.extra button.on { background: var(--iris); color: var(--ivory); }
.gc-fields { display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 0; }
.gc-fields.open { display: grid; }
.subst { font-size: 13px; color: var(--muted); margin-top: 14px; }
.add-row { margin-top: 22px; position: sticky; bottom: 0; background: var(--ivory); padding: 12px 0 4px; box-shadow: 0 -10px 14px -10px rgba(43,31,46,.18); }
.add-row .btn { width: 100%; }

/* Forms */
label.f { display: block; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
label.f input, label.f select, label.f textarea { display: block; width: 100%; margin-top: 4px; padding: 11px 12px; border: 1px solid var(--line); background: #fff; font: 16px var(--font-body); color: var(--ink); border-radius: var(--radius); }
label.f textarea { min-height: 84px; resize: vertical; }
.err { color: var(--warn); font-size: 13px; min-height: 18px; }
.add-row .err { min-height: 0; margin-bottom: 6px; }
.add-row .err:empty { display: none; }

/* Checkout */
.co { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; padding: 40px 0 80px; align-items: start; }
.co-note { background: var(--iris-soft); border-left: 3px solid var(--iris); padding: 12px 16px; font-size: 14px; margin-bottom: 22px; }
.step { border: 1px solid var(--line); background: #fff; margin-bottom: 14px; }
.step-h { display: flex; gap: 14px; align-items: center; padding: 16px 20px; }
.step-h .n { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--iris); color: var(--iris); display: grid; place-items: center; font-size: 14px; }
.step.done .step-h .n { background: var(--iris); color: var(--ivory); }
.step-h h3 { font-size: 19px; color: var(--iris-deep); flex: 1; }
.step-h .edit { background: none; border: 0; color: var(--iris); text-decoration: underline; font-size: 14px; display: none; }
.step.done .step-h .edit { display: inline; }
.step-b { padding: 0 20px 20px; display: none; }
.step.open .step-b { display: block; }
.step .summary-line { padding: 0 20px 16px 64px; font-size: 14px; color: var(--muted); display: none; }
.step.done:not(.open) .summary-line { display: block; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chk { display: flex; gap: 10px; align-items: center; font-size: 14px; margin: 12px 0; }
.method { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.method button { background: #fff; border: 1px solid var(--line); padding: 14px; text-align: left; }
.method button.on { border-color: var(--iris); box-shadow: inset 0 0 0 1px var(--iris); }
.dates { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 8px 0 4px; }
.dates button { background: #fff; border: 1px solid var(--line); padding: 8px 2px; font-size: 13px; line-height: 1.25; }
.dates button small { display: block; color: var(--muted); font-size: 11px; }
.dates button.on { background: var(--iris); color: var(--ivory); border-color: var(--iris); }
.dates button.on small { color: var(--gold-soft); }
.dates button:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.side { position: sticky; top: 24px; border: 1px solid var(--line); background: #fff; padding: 22px; }
.side h3 { font-size: 19px; color: var(--iris-deep); margin-bottom: 12px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.line img { width: 64px; height: 76px; object-fit: cover; }
.line img.pad { object-fit: contain; }
.line .meta { color: var(--muted); font-size: 13px; }
.line .rm { background: none; border: 0; color: var(--warn); font-size: 12px; padding: 0; text-decoration: underline; }
.upg { display: block; margin-top: 6px; background: var(--iris-soft); border: 0; color: var(--iris); padding: 5px 9px; font-size: 12px; }
.tot { display: flex; justify-content: space-between; font-size: 15px; padding: 5px 0; }
.tot.grand { font-size: 19px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-family: var(--font-display); }
.side .extra-gc { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; }
.empty { text-align: center; padding: 60px 0; }
.done-card { text-align: center; padding: 70px 24px; max-width: 640px; margin: 0 auto; }

@media (max-width: 980px) {
  .hero, .weddings, .story .wrap, .subs .wrap, .co, .modal.open { grid-template-columns: 1fr; }
  .hero-copy { padding: 48px 24px; }
  .hero-img { min-height: 360px; }
  .occasions { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .reviews, .visit .wrap { grid-template-columns: 1fr; }
  .weddings .copy { padding: 56px 24px; }
  .story .medallion { max-width: 320px; margin: 0 auto; }
  .side { position: static; }
  .modal .m-img { max-height: 46vh; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .head-row { grid-template-columns: auto 1fr auto; gap: 8px; }
  .head-left .addr { display: none; }
  .wordmark .wm-top { font-size: 24px; }
  .wordmark .wm-sub { font-size: 9px; letter-spacing: .2em; white-space: nowrap; }
  .wordmark .wm-sub svg { display: none; }
  .menu-toggle { display: inline-block; }
  .demo-bar { font-size: 12px; padding: 6px 12px; }
  .announce { font-size: 13px; padding: 7px 12px; }
  .hero { display: flex; flex-direction: column-reverse; min-height: 0; }
  .hero-img { min-height: 0; height: 44vh; max-height: 380px; }
  .hero-img .frame { inset: 12px; }
  .hero-copy { padding: 28px 16px 36px; }
  .hero .eyebrow { letter-spacing: .18em; font-size: 11px; }
  .hero h1 { margin-top: 10px; }
  .btns .btn { flex: 1 1 100%; padding: 15px 18px; }
  .story .medallion { max-width: 200px; padding: 24px; }
  .story .medallion .small { letter-spacing: .18em; font-size: 10px; }
  .freq { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .freq div { padding: 14px 4px; }
  .freq b { font-size: 17px; }
  .weddings .img { min-height: 300px; }
  nav.main ul { display: none; flex-direction: column; align-items: center; padding: 8px 0 14px; }
  nav.main.open ul { display: flex; }
  .cart-btn .lbl { display: none; }
  section.block { padding: 60px 0; }
  .occasions { grid-template-columns: repeat(2, 1fr); }
  .grid { gap: 24px 14px; }
  .card h3 { font-size: 16px; }
  .two, .method { grid-template-columns: 1fr; }
  .dates { grid-template-columns: repeat(4, 1fr); }
  .gc-fields.open { grid-template-columns: 1fr; }
}
