/* ============================================================
   Countryside Florist — v2 "The Gold Engraving"
   Ivory ground · butter bands · antique-gold engraved botanicals
   Type: Cormorant Garamond (display) · Ephesis (script accents)
         Mulish (body & labels)
   ============================================================ */

:root {
  --ivory: #FDFBF5;
  --paper: #FFFEFA;
  --butter: #FAF0CE;
  --butter-line: #E9D69C;
  --gold: #B9902C;        /* ornament, lines, large type */
  --gold-ink: #7C5A10;    /* small gold text — AA on ivory */
  --gold-bright: #D9B75E; /* gold on forest */
  --forest: #2A3D2E;
  --forest-deep: #223226;
  --ink: #262B20;
  --ink-soft: #5C6153;
  --rose: #A5484D;
  --hairline: rgba(185, 144, 44, 0.38);
  --hairline-soft: rgba(185, 144, 44, 0.22);
  --shadow: 0 18px 40px -22px rgba(38, 43, 32, 0.28);
  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Mulish", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; cursor: pointer; }

.container { max-width: 1180px; margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2.5rem); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
a.visually-hidden:focus {
  clip-path: none; width: auto; height: auto; z-index: 60;
  top: 8px; left: 8px; background: var(--forest); color: var(--ivory);
  padding: 0.6em 1em; border-radius: 6px;
}
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 2px; }

/* ---------- shared type roles ---------- */
.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold-ink); margin-bottom: 1.1rem;
}
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  line-height: 1.12; letter-spacing: 0.01em; color: var(--ink);
}
h2 em { font-style: italic; color: var(--gold-ink); }
.lede { color: var(--ink-soft); max-width: 44rem; margin-top: 1rem; font-size: 1.04rem; }
.section-head { text-align: center; max-width: 50rem; margin: 0 auto clamp(2.4rem, 5vw, 3.6rem); }
.section-head .lede { margin-inline: auto; }

/* ---------- ribbon ---------- */
.ribbon {
  display: flex; align-items: center; justify-content: center; gap: 0.6em;
  background: var(--forest-deep); color: var(--butter);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 0.55em 1em; text-align: center;
}
.ribbon-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright);
  flex: 0 0 auto; animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- masthead ---------- */
.masthead { background: var(--ivory); }
.crest-row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-block: 1.6rem 1.2rem;
}
.crest-side {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.crest-right { text-align: right; }
.crest-side a { text-decoration: none; }
.crest-side a:hover { color: var(--gold-ink); }

.crest {
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none; text-align: center; gap: 0.1rem;
}
.crest-sprig { width: 40px; height: 40px; color: var(--gold); }
.crest-script {
  font-family: "Ephesis", cursive; font-size: 2.9rem; line-height: 0.9;
  color: var(--gold); transform: translateY(-4px);
}
.crest-caps {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.58em;
  text-indent: 0.58em; text-transform: uppercase; color: var(--ink);
}
.crest-footer .crest-script { color: var(--gold-bright); font-size: 2.4rem; }
.crest-footer .crest-caps { color: var(--butter); }

/* ---------- nav band (her butter band, kept) ---------- */
.navband {
  background: var(--butter);
  border-top: 1px solid var(--butter-line);
  border-bottom: 1px solid var(--butter-line);
}
.navband-in { display: flex; justify-content: center; position: relative; }
.navlinks { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); padding-block: 0.9rem; }
.navlinks a {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.navlinks a:hover { color: var(--gold-ink); }
.navlinks .nav-order {
  background: var(--forest); color: var(--ivory);
  padding: 0.55em 1.3em; border-radius: 999px;
}
.navlinks .nav-order:hover { background: var(--forest-deep); color: var(--gold-bright); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--gold);
  border-radius: 999px; padding: 0.4em 1.2em;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 1em 1.9em; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-gold { background: var(--gold); color: #201703; }
.btn-gold:hover { background: var(--gold-ink); color: var(--ivory); }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { border-color: var(--gold-ink); color: var(--gold-ink); }
.btn-line-light { border-color: rgba(253, 251, 245, 0.65); color: var(--ivory); }
.btn-line-light:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.hero-in {
  display: grid; grid-template-columns: 1.05fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-copy h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.25rem, 1.2rem + 3.9vw, 4.4rem);
  line-height: 1.05; letter-spacing: 0.04em; text-transform: uppercase;
  font-weight: 500;
}
.script-line {
  display: block; font-family: "Ephesis", cursive; text-transform: none;
  font-size: clamp(3.6rem, 7.2vw, 6.2rem); line-height: 0.85;
  color: var(--gold); letter-spacing: 0; margin-top: 0.35rem;
  padding-bottom: 0.35em; /* script descenders */
}
.hero-sub { color: var(--ink-soft); font-size: 1.08rem; max-width: 33rem; margin-top: 0.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.8rem; margin-top: 2.2rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft);
}
.gold-star { color: var(--gold); }

.hero-sprig {
  position: absolute; width: clamp(120px, 16vw, 210px); height: auto;
  color: var(--gold); opacity: 0.5; pointer-events: none;
}
.hs-left { left: -1.5%; top: 4%; }
.hs-right { right: -1.5%; bottom: 6%; transform: scaleX(-1) rotate(8deg); }

/* engraved stroke-draw */
.stroke { stroke-dasharray: 260; stroke-dashoffset: 260; }
.draw .stroke { transition: stroke-dashoffset 1.5s var(--ease); stroke-dashoffset: 0; }
.draw .s2 { transition-delay: 0.35s; }
.draw .s3 { transition-delay: 0.55s; }
.draw .s4 { transition-delay: 0.85s; }
.draw .s5 { transition-delay: 1.1s; }
.crest-sprig .stroke, .tie .stroke { stroke-dashoffset: 0; }

/* page-load rise (hidden only when JS is present to run it) */
.js .rise { opacity: 0; transform: translateY(16px); animation: rise 0.9s var(--ease) forwards; }
.r1 { animation-delay: 0.05s; } .r2 { animation-delay: 0.18s; }
.r3 { animation-delay: 0.32s; } .r4 { animation-delay: 0.48s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- arches & frames ---------- */
.arch {
  padding: 10px; background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 999px 999px 14px 14px;
  box-shadow: var(--shadow);
}
.arch img { border-radius: 989px 989px 8px 8px; aspect-ratio: 4 / 5; }
.arch-hero { padding: 13px; }
.hero-media { margin: 0; }
.hero-media .arch img { aspect-ratio: 5 / 6; }
.plaque {
  text-align: center; margin-top: 1rem;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.plaque span { color: var(--gold-ink); margin-right: 0.6em; }

.tie { display: block; width: 150px; height: auto; margin: 0 auto; color: var(--gold); opacity: 0.85; }

/* ---------- sections & bands ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.band-butter {
  background: var(--butter);
  border-top: 1px solid var(--butter-line);
  border-bottom: 1px solid var(--butter-line);
}
.band-butter .eyebrow { color: #6B4D0C; }
.band-butter .lede { color: #56513D; }
.band-forest { background: var(--forest); color: var(--ivory); }

/* ---------- occasions ---------- */
.occasion-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.occ-card { text-decoration: none; text-align: center; display: block; }
.occ-card .arch { transition: border-color 0.3s var(--ease); }
.occ-card img { transition: transform 0.6s var(--ease); }
.occ-card:hover .arch { border-color: var(--gold); }
.occ-card:hover img { transform: scale(1.045); }
.occ-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem; font-weight: 600; margin-top: 1.1rem; color: var(--ink);
}
.occ-from {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-ink); margin-top: 0.25rem;
}
.occ-more { text-align: center; margin-top: 2.6rem; color: var(--ink-soft); font-size: 0.95rem; }
.occ-more a { color: var(--gold-ink); text-underline-offset: 3px; }

/* ---------- designer's choice ---------- */
.dc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.dc-card { text-align: center; }
.dc-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem; font-weight: 600; margin-top: 1.2rem;
}
.dc-note { color: #56513D; font-size: 0.95rem; margin-top: 0.3rem; }
.dc-sizes {
  display: flex; justify-content: center; gap: 0; margin-top: 1rem;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; color: var(--ink);
}
.dc-sizes span { padding-inline: 0.9em; border-right: 1px solid var(--hairline); }
.dc-sizes span:last-child { border-right: 0; }

/* ---------- collection ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 2.6rem; }
.pill {
  background: none; border: 1px solid var(--hairline);
  border-radius: 999px; padding: 0.5em 1.25em;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); transition: all 0.25s var(--ease);
}
.pill:hover { border-color: var(--gold); color: var(--gold-ink); }
.pill.is-on { background: var(--forest); border-color: var(--forest); color: var(--ivory); }

.shop-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.2rem);
}
@media (min-width: 1080px) {
  .shop-grid { grid-template-columns: repeat(5, 1fr); }
}
.product { text-align: center; }
.product[hidden] { display: none; }
.frame {
  padding: 8px; background: var(--paper);
  border: 1px solid var(--hairline-soft); border-radius: 10px;
  transition: border-color 0.3s var(--ease);
}
.frame img { aspect-ratio: 1 / 1; border-radius: 5px; transition: transform 0.6s var(--ease); }
.product:hover .frame { border-color: var(--gold); }
.product:hover .frame img { transform: scale(1.04); }
.product h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.22rem; font-weight: 600; margin-top: 0.9rem;
}
.p-meta { display: flex; justify-content: center; gap: 1.1em; align-items: baseline; margin-top: 0.25rem; }
.p-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.p-price { font-weight: 700; color: var(--gold-ink); }
.shop-note { text-align: center; margin-top: 2.8rem; color: var(--ink-soft); font-size: 0.95rem; max-width: 40rem; margin-inline: auto; }
.shop-note a { color: var(--gold-ink); }

/* ---------- delivery ---------- */
.delivery-in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.ledger { margin-top: 2rem; columns: 2; column-gap: 3rem; }
.ledger li { display: flex; align-items: baseline; gap: 0.7em; padding-block: 0.45em; break-inside: avoid; font-size: 0.98rem; }
.dots { flex: 1; border-bottom: 1px dotted var(--gold); transform: translateY(-4px); }
.zone {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-ink);
}
.cutoff-card {
  background: var(--paper); border: 1px solid var(--hairline);
  border-radius: 999px 999px 16px 16px; padding: 2.6rem 2.2rem 2.2rem;
  text-align: center; box-shadow: var(--shadow);
}
.cutoff-card h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.7rem; font-weight: 600; margin-bottom: 1.2rem; }
.cutoff-card table { text-align: left; }
.cutoff-card td { padding: 0.55em 0; border-bottom: 1px solid var(--hairline-soft); font-size: 0.95rem; }
.cutoff-card td:last-child { text-align: right; font-weight: 700; color: var(--gold-ink); }
.cutoff-card tr:last-child td { border-bottom: 0; }
.cutoff-card p { margin-top: 1.2rem; font-size: 0.92rem; color: var(--ink-soft); }
.cutoff-card a { color: var(--gold-ink); font-weight: 700; }

/* ---------- about ---------- */
.about-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about-media { margin: 0; max-width: 380px; }
.shop-words { margin: 1.6rem 0 0; }
.shop-words p {
  font-family: "Cormorant Garamond", Georgia, serif; font-style: italic;
  font-size: 1.4rem; line-height: 1.5; color: var(--ink);
}
.shop-words cite {
  display: block; margin-top: 0.9rem; font-style: normal;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-soft);
}
.about-kay { margin-top: 1.6rem; color: var(--ink-soft); max-width: 36rem; }
.about-kay strong { color: var(--ink); }
.jeong { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.jeong-kr {
  font-family: "Noto Serif KR", "Malgun Gothic", serif;
  font-size: 1.9rem; color: var(--gold); line-height: 1;
}
.jeong-def { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- forest band ---------- */
.forest-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.eyebrow-light { color: var(--gold-bright); }
.h-light { color: var(--ivory); }
.h-light em { color: var(--gold-bright); }
.forest-lede { color: rgba(253, 251, 245, 0.82); margin-top: 1rem; max-width: 34rem; }
.forest-grid .hero-ctas { margin-top: 2.2rem; }
.visit-card {
  background: rgba(253, 251, 245, 0.05);
  border: 1px solid rgba(217, 183, 94, 0.4);
  border-radius: 16px; padding: 2.2rem;
}
.visit-card h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; font-weight: 600; }
.visit-addr { margin-top: 0.5rem; color: rgba(253, 251, 245, 0.85); }
.visit-card table { margin-top: 1.2rem; }
.visit-card td { padding: 0.5em 0; border-bottom: 1px solid rgba(217, 183, 94, 0.22); font-size: 0.95rem; color: rgba(253, 251, 245, 0.9); }
.visit-card td:last-child { text-align: right; color: var(--gold-bright); }
.visit-card tr:last-child td { border-bottom: 0; }
.visit-card p:last-child { margin-top: 1.2rem; }
.visit-card a { color: var(--gold-bright); text-underline-offset: 3px; }

/* ---------- reviews ---------- */
.gold-stars {
  color: var(--gold); letter-spacing: 0.32em; font-size: 1.05rem; margin-bottom: 1rem;
}
.gold-stars span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.9rem; color: var(--ink); letter-spacing: 0; margin-left: 0.4em; vertical-align: -0.1em;
}
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: clamp(1.4rem, 3vw, 2.2rem); }
.review {
  margin: 0; background: var(--paper);
  border: 1px solid var(--hairline-soft); border-radius: 12px;
  padding: 2rem 1.9rem 1.7rem; position: relative;
}
.review::before {
  content: "\201C"; position: absolute; top: 0.2rem; left: 1.4rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.4rem; color: var(--gold); opacity: 0.55; line-height: 1;
}
.review p { font-size: 0.97rem; line-height: 1.75; color: var(--ink); padding-top: 1rem; }
.review cite {
  display: block; margin-top: 1.2rem; font-style: normal;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-ink);
}
.review-cta { text-align: center; margin-top: 2.8rem; color: var(--ink-soft); font-size: 0.98rem; }
.review-cta a { color: var(--gold-ink); font-weight: 700; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.footer { background: var(--forest-deep); color: rgba(253, 251, 245, 0.85); }
.footer-in {
  display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem); padding-block: clamp(3.2rem, 6vw, 4.5rem) 2.5rem;
}
.f-brand p { margin-top: 1rem; max-width: 28ch; font-size: 0.95rem; }
.footer h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-bright); margin-bottom: 1rem;
}
.footer ul li { padding-block: 0.3em; }
.footer a { color: rgba(253, 251, 245, 0.85); text-decoration: none; }
.footer a:hover { color: var(--gold-bright); }
.f-hours td { padding: 0.3em 0; font-size: 0.92rem; }
.f-hours td:last-child { text-align: right; color: var(--gold-bright); }
.footer-base {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem;
  border-top: 1px solid rgba(217, 183, 94, 0.22);
  padding-block: 1.4rem 1.8rem; font-size: 0.85rem;
}
.f-script { font-family: "Ephesis", cursive; font-size: 1.7rem; color: var(--gold-bright); }

/* ---------- scroll reveal (hidden only when JS is present to reveal it) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.rd1.in { transition-delay: 0.12s; }
.rd2.in { transition-delay: 0.24s; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .crest-side { display: none; }
  .crest-row { grid-template-columns: 1fr; justify-items: center; }
  .occasion-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-in, .delivery-in, .about-in, .forest-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 420px; margin-inline: auto; }
  .about-media { margin-inline: auto; }
  .hero-copy { text-align: center; }
  .hero-ctas, .hero-facts { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .ledger { columns: 2; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; margin-block: 0.7rem; }
  .navlinks {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
    background: var(--butter); border-bottom: 1px solid var(--butter-line);
    flex-direction: column; padding: 1.4rem; gap: 1.1rem;
  }
  .navlinks.open { display: flex; }
  .ledger { columns: 1; }
  .footer-in { grid-template-columns: 1fr; }
  .footer-base { justify-content: center; text-align: center; }
}
@media (max-width: 460px) {
  .hero-copy h1 { font-size: 2.3rem; }
  .script-line { font-size: 3.4rem; }
  .occasion-grid { gap: 1rem; }
  .occ-card h3 { font-size: 1.15rem; }
  .occ-card .arch, .dc-card .arch { padding: 7px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .product h3 { font-size: 1.05rem; }
  .p-meta { flex-direction: column; gap: 0.1em; }
  .dc-sizes { font-size: 0.76rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .stroke { stroke-dashoffset: 0 !important; transition: none !important; }
  .ribbon-dot { animation: none; }
  .occ-card img, .frame img { transition: none; }
}
