/* ------------------------------------------------------------
   Daisy-lee Fashion Accessories
   Palette and type
   ------------------------------------------------------------ */
:root {
  --white:   #FFFFFF;
  --paper:   #FAF9F6;   /* section ground, barely off-white */
  --ink:     #2B211A;   /* dark leather brown, used for text */
  --ink-2:   #6B5D52;   /* secondary text */
  --line:    #E6E1D9;
  --pollen:  #F2C230;   /* daisy centre */
  --pollen-2:#FFF3C7;   /* pale pollen wash */
  --leaf:    #5F7A5A;   /* greenery behind her product shots */
  --leaf-2:  #EAF0E7;
  --pink:    #E9A3B3;   /* from her market flyers */
  --pink-ink:#C9526F;   /* deeper pink for text, matches the card's script */
  --pink-2:  #FBEFF2;   /* pale pink wash */

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body:    "Figtree", "Helvetica Neue", Arial, sans-serif;

  --max: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
h1 em, h2 em {
  font-style: italic;
  color: var(--pink-ink);
  font-variation-settings: "SOFT" 100, "opsz" 144, "wght" 400;
}
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.skip {
  position: absolute; left: 12px; top: -60px;
  background: var(--ink); color: var(--white);
  padding: 10px 14px; border-radius: 10px; z-index: 100;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--pollen);
  outline-offset: 3px;
  border-radius: 6px;
}

/* daisy logo */
.daisy { width: auto; height: 58px; }
.foot-daisy { width: 170px; height: auto; margin: 0 auto 10px; }

/* her tagline, from the business card */
.tagline {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 72, "wght" 400;
  font-size: 1.25rem;
  color: var(--pink-ink);
  letter-spacing: .005em;
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 8px var(--gutter);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.wordmark-text { display: flex; flex-direction: column; line-height: 1; }
.wordmark-name {
  font-family: var(--display);
  font-variation-settings: "SOFT" 50, "opsz" 36, "wght" 500;
  font-size: 1.6rem; letter-spacing: -0.01em;
}
.wordmark-name em { font-style: normal; color: var(--pollen); }
.wordmark-sub {
  margin-top: 5px;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--pink-ink);
}
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--pollen); }

.next-pill {
  display: inline-flex; align-items: center; gap: 9px;
  min-width: 0; flex: 0 1 auto;
  padding: 8px 14px 8px 11px;
  border-radius: 999px;
  background: var(--pink-2);
  border: 1px solid #F1D3DB;
  font-size: .9rem; font-weight: 500;
  text-decoration: none;
}
.next-pill .pill-text,
.next-pill .pill-short { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.next-pill .pill-short { display: none; }
.next-pill .dot { flex: none; }
.next-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 0 rgba(95,122,90,.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(95,122,90,.45); }
  70%  { box-shadow: 0 0 0 8px rgba(95,122,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(95,122,90,0); }
}
@media (prefers-reduced-motion: reduce) { .next-pill .dot { animation: none; } }

@media (max-width: 820px) {
  .top { gap: 14px; }
  .nav { display: none; }
  .next-pill { margin-left: auto; }
  .next-pill .pill-text { display: none; }
  .next-pill .pill-short { display: block; }
  .wordmark { flex: none; }
  .daisy { height: 48px; }
  .wordmark { gap: 9px; }
  .wordmark-name { font-size: 1.35rem; }
  .wordmark-sub { font-size: .6rem; letter-spacing: .12em; }
  .next-pill { font-size: .82rem; padding: 7px 11px 7px 9px; gap: 7px; }
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
main > section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 1.08rem; }
.eyebrow {
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--leaf);
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-top: clamp(40px, 6vw, 80px);
}
.hero h1 { margin: 14px 0 22px; max-width: 12ch; }
.lede { font-size: 1.18rem; color: var(--ink-2); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.btn {
  display: inline-flex; align-items: center;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 1rem;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--ink); color: var(--white); }
.btn.primary:hover { background: #3f3229; }
.btn.ghost { border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--ink); }

.proof {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-size: .95rem; color: var(--ink-2);
}
.proof li { display: flex; align-items: center; gap: 8px; }
.proof li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--pollen); flex: none;
}
.proof strong { color: var(--ink); font-weight: 600; }

.hero-art { margin: 0; }
.petal-frame {
  aspect-ratio: 1 / 1;
  width: min(100%, 560px);
  margin-inline: auto;
  -webkit-mask: url("images/petal-mask.svg") center / contain no-repeat;
          mask: url("images/petal-mask.svg") center / contain no-repeat;
  background: var(--leaf-2);
  animation: bloom .9s cubic-bezier(.2,.7,.2,1) both;
}
.petal-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
@keyframes bloom {
  from { transform: scale(.92) rotate(-4deg); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .petal-frame { animation: none; } }
.hero-art figcaption {
  text-align: center; margin-top: 16px;
  font-size: .9rem; color: var(--ink-2);
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .petal-frame { width: min(80%, 420px); }
  .hero h1 { max-width: none; }
}

/* ------------------------------------------------------------
   Range grid
   ------------------------------------------------------------ */
.range { background: var(--paper); max-width: none; }
.range > * { max-width: var(--max); margin-inline: auto; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 20px;
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(43,33,26,.35); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card.tall { grid-row: span 2; }
.card.tall img { flex: 1; aspect-ratio: auto; min-height: 0; }
.card.earrings { grid-row: span 2; }
.card.earrings .swatches { flex: 1; align-content: center; }
.card-body { padding: 20px 22px 24px; }
.card-body p { color: var(--ink-2); margin-top: 6px; font-size: .97rem; }
.price {
  display: inline-block; margin-top: 14px;
  font-size: .85rem; font-weight: 600; letter-spacing: .02em;
  padding: 6px 11px; border-radius: 999px;
  background: var(--pollen-2); color: var(--ink);
}

.card.earrings { background: var(--pink-2); border-color: transparent; }
.swatches {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; padding: 22px 22px 0;
}
.swatches span {
  aspect-ratio: 1; border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 -6px 12px rgba(0,0,0,.08), 0 6px 14px -8px rgba(43,33,26,.4);
  transition: transform .2s ease;
}
.card.earrings:hover .swatches span:nth-child(odd)  { transform: translateY(-3px) rotate(-6deg); }
.card.earrings:hover .swatches span:nth-child(even) { transform: translateY(2px) rotate(5deg); }

.text-card { background: var(--white); justify-content: center; }
.plain { list-style: none; padding: 0; margin: 10px 0 0; color: var(--ink-2); }
.plain li { padding: 8px 0; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card.earrings { grid-row: auto; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .card.tall { grid-row: auto; }
  .card.tall img { aspect-ratio: 4 / 5; }
  .swatches { max-width: 300px; }
}

/* ------------------------------------------------------------
   Markets board
   ------------------------------------------------------------ */
.board {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--ink);
}
.event {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 24px 32px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.event .date {
  font-family: var(--display);
  font-variation-settings: "SOFT" 50, "opsz" 144;
  line-height: 1;
}
.event .day-num { font-size: 3.4rem; display: block; letter-spacing: -0.03em; }
.event .day-num small { font-size: 1.4rem; letter-spacing: 0; }
.event .month { display: block; font-family: var(--body); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); margin-top: 8px; }
.event .dow { display: block; font-family: var(--body); font-size: .85rem; color: var(--ink-2); margin-top: 2px; }
.event .name { font-size: 1.45rem; }
.event .place { color: var(--ink-2); margin-top: 4px; }
.event .details {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  margin-top: 12px; font-size: .95rem;
}
.event .details span { display: inline-flex; gap: 7px; align-items: baseline; }
.event .details b { font-weight: 600; color: var(--ink-2); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.event .tag {
  align-self: start; white-space: nowrap;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-2);
}
.event.soon .tag { background: var(--pollen); border-color: var(--pollen); color: var(--ink); }
.event.tbc .tag { border-style: dashed; }
.event.soon .day-num { color: var(--leaf); }

.board-empty { color: var(--ink-2); padding: 28px 0; }

.regulars {
  margin-top: clamp(40px, 6vw, 64px);
  padding: 28px 32px;
  background: var(--leaf-2);
  border-radius: var(--radius);
}
.regulars h3 { margin-bottom: 10px; }
.regulars ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
.regulars li { margin: 6px 0; }
.regulars strong { color: var(--ink); font-weight: 600; }

@media (max-width: 680px) {
  .event { grid-template-columns: 96px 1fr; }
  .event .tag { grid-column: 2; justify-self: start; }
  .event .day-num { font-size: 2.3rem; }
}

/* ------------------------------------------------------------
   About
   ------------------------------------------------------------ */
.about {
  display: grid; grid-template-columns: 340px 1fr;
  gap: clamp(32px, 6vw, 72px); align-items: center;
}
.about-art img {
  border-radius: 50% 50% 50% 14px;
  aspect-ratio: 1; object-fit: cover;
}
.about-copy p { margin-top: 16px; color: var(--ink-2); font-size: 1.08rem; max-width: 56ch; }
.about-copy h2 { margin-bottom: 4px; }
.sig { font-family: var(--display); font-style: italic; color: var(--pink-ink) !important; font-size: 1.3rem !important; }
.sig span { color: var(--pollen); }
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
  .about-art { width: min(60%, 280px); }
}

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */
.contact { padding-top: 0; }
.contact-card {
  background: var(--ink); color: var(--white);
  border-radius: 28px;
  padding: clamp(36px, 6vw, 64px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.contact-card h2 { grid-column: 1; }
.contact-card > p { grid-column: 1; color: #CFC6BC; max-width: 40ch; }
.contact-list {
  grid-column: 2; grid-row: 1 / span 2;
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px; align-content: center;
}
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-list .label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #CFC6BC; font-weight: 600; padding-top: 3px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.contact-list a:hover { border-bottom-color: var(--pollen); }
@media (max-width: 760px) {
  .contact-card { grid-template-columns: 1fr; }
  .contact-card h2, .contact-card > p, .contact-list { grid-column: 1; grid-row: auto; }
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.foot {
  text-align: center; padding: 40px var(--gutter) 56px;
  color: var(--ink-2); font-size: .92rem;
}
.foot .tagline { margin-bottom: 14px; }
.foot .fine { margin-top: 6px; font-size: .85rem; }

/* ------------------------------------------------------------
   Scroll reveal
   ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
