/* Nadi brand palette (Nadi-IDENTITY-2025): teals, pinks, purples, coral */
:root {
  --mint: #8bbdaf;
  --jade: #30ad99;
  --teal-mid: #007179;
  --teal: #00535c;
  --blush: #f9c5d4;
  --rose: #eea5c9;
  --pink: #e072ac;
  --magenta: #92165d;
  --lilac: #c996c4;
  --orchid: #ab64a8;
  --violet: #944489;
  --violet-deep: #672d5f;
  --coral: #f48583;
  --red: #e95d73;
  --lilac-soft: #fbe6ee;
  --cream: #fbf6ee;
  --marble: #e8ddd0;
  --wood: #8a5a3b;
  --ink: #3a1d36;
  --ink-soft: #6b4f68;
  --clay-c: #e95d73;
  --workshop-c: #944489;
  --social-c: #00535c;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Figtree", system-ui, sans-serif;
}

h1, h2, h3, .brand { font-family: "Figtree", sans-serif; letter-spacing: -0.01em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--marble);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 38px; width: auto; }
.brand .flower { height: 34px; }
.top nav { display: flex; gap: clamp(12px, 3vw, 28px); }
.top nav a { text-decoration: none; font-weight: 500; padding: 6px 2px; border-bottom: 2px solid transparent; }
.top nav a:hover { border-color: var(--violet); }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(20px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 6vw, 72px) var(--gutter);
  background: linear-gradient(180deg, var(--lilac-soft), var(--cream)); position: relative; overflow: hidden;
}
.kicker { margin: 0 0 18px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; color: var(--ink-soft); font-weight: 500; }
h1 {
  margin: 0 0 24px;
  font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.2; padding-top: 0.15em; font-family: "Borel", "Figtree", cursive; font-weight: 400; letter-spacing: 0;
  color: var(--magenta);
}
.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
}
.next-when { margin: 0 0 8px; font-weight: 600; color: var(--red); }
.next .ev { max-width: 460px; background: #fff; }

.sample {
  margin: 0; padding: 10px var(--gutter);
  background: var(--lilac); color: var(--violet-deep); font-weight: 500; font-size: 0.95rem;
}

/* event cards */
.ev {
  position: relative; padding: 14px 16px 16px 20px;
  background: var(--cream); border-radius: 0;
  border: 1px solid var(--marble);
}
.ev::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 5px; border-radius: 0; background: var(--c, var(--violet)); }
.ev.clay { --c: var(--clay-c); }
.ev.workshop { --c: var(--workshop-c); }
.ev.social { --c: var(--social-c); }
.ev h3 { margin: 0 0 2px; font-size: 1.15rem; line-height: 1.2; }
.ev-meta { margin: 0 0 6px; color: var(--ink-soft); font-size: 0.95rem; }
.ev-note { margin: 0 0 10px; max-width: 60ch; }
.join {
  display: inline-block; margin-top: 4px;
  font-weight: 600; font-size: 0.95rem; color: var(--violet);
  text-decoration: underline; text-underline-offset: 3px;
}
.join:hover { color: var(--violet-deep); }

/* blocks */
.block { padding: clamp(36px, 6vw, 72px) var(--gutter); }
.block-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
h2 { margin: 0; font-family: "Borel", "Figtree", cursive; font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.15; font-weight: 400; letter-spacing: 0; color: var(--magenta); }
.stepper { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.stepper button {
  width: 44px; height: 44px; border-radius: 0;
  border: 1.5px solid var(--violet); background: transparent; color: var(--violet);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.stepper button:hover { background: var(--violet); color: #fff; }
.stepper span { min-width: 9.5em; text-align: center; }

/* week */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.day { background: #fff; border: 1px solid var(--marble); border-radius: 0; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 150px; }
.day.today { border-color: var(--violet); box-shadow: 0 0 0 2px var(--lilac); }
.day-head { margin: 0; display: flex; align-items: baseline; gap: 6px; font-size: 1rem; }
.day-head .dom { font-size: 1.5rem; font-weight: 800; color: var(--magenta); }
.day-head .dow { color: var(--ink-soft); font-weight: 500; }
.day .ev { padding: 10px 10px 10px 16px; }
.day .ev h3 { font-size: 0.98rem; }
.day .ev-meta { font-size: 0.85rem; }
.none { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

/* clay band */
.clay-band { background: var(--teal); color: #f3ede2; padding: clamp(36px, 6vw, 72px) var(--gutter); }
.clay-band h2 { color: #fff; margin-bottom: 12px; }
.clay-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(20px, 5vw, 64px); align-items: center; }
.clay-inner p { max-width: 52ch; margin: 0 0 20px; }
.clay-inner img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.clay-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.25); }
.clay-list li { display: grid; grid-template-columns: 9em 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.25); align-items: baseline; }
.clay-date { font-weight: 600; }
.clay-list a { font-weight: 600; text-underline-offset: 3px; }

/* month */
.legend { list-style: none; display: flex; gap: 18px; margin: 0 0 14px; padding: 0; font-size: 0.95rem; color: var(--ink-soft); }
.legend li { display: flex; align-items: center; gap: 6px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--violet); }
.dot.clay { background: var(--clay-c); }
.dot.workshop { background: var(--workshop-c); }
.dot.social { background: var(--social-c); }
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mh { text-align: center; font-weight: 600; color: var(--ink-soft); font-size: 0.9rem; padding-bottom: 4px; }
.mc {
  min-height: 64px; padding: 6px; border-radius: 0;
  border: 1px solid var(--marble); background: #fff;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  font: inherit; color: inherit; cursor: pointer; text-align: left;
}
.mc.blank { border: 0; background: transparent; cursor: default; }
.mc:hover:not(.blank) { border-color: var(--violet); }
.mc.today .n { background: var(--violet); color: #fff; border-radius: 0; width: 1.7em; height: 1.7em; display: inline-grid; place-items: center; }
.mc.sel { outline: 2px solid var(--violet); outline-offset: 1px; background: var(--lilac-soft); }
.mc .n { font-weight: 600; }
.dots { display: flex; gap: 4px; }
.day-detail { margin-top: 20px; display: grid; gap: 10px; max-width: 560px; }
.day-detail h3 { margin: 0; font-size: 1.3rem; }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 64px); align-items: center; padding: clamp(36px, 6vw, 72px) var(--gutter); background: var(--marble); }
.visit img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.visit p { margin: 12px 0; }
.small { color: var(--ink-soft); font-size: 0.95rem; max-width: 46ch; }
.btn { display: inline-block; padding: 14px 24px; border-radius: 0; background: var(--violet); color: #fff; font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--violet-deep); }

footer { padding: 24px var(--gutter); color: var(--ink-soft); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* responsive */
@media (max-width: 960px) {
  .week { grid-template-columns: 1fr; }
  .day { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .day-head { min-width: 5.5em; }
  .day .ev, .day .none { flex: 1 1 220px; }
}
@media (max-width: 720px) {
  .hero, .clay-inner, .visit { grid-template-columns: 1fr; }
  .clay-inner > img { order: -1; }
  .hero-photo img { aspect-ratio: 4 / 3; border-radius: 120px 120px var(--radius) var(--radius); }
  .clay-inner img { order: -1; aspect-ratio: 4 / 3; }
  .clay-list li { grid-template-columns: 1fr auto; }
  .clay-date { grid-column: 1 / -1; }
  .mc { min-height: 52px; padding: 4px; }
}

/* come by + instagram */
.visit .addr { font-size: 1.15rem; font-weight: 500; margin: 8px 0 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-ghost { background: transparent; color: var(--violet-deep); border: 2px solid var(--violet); padding: 12px 22px; }
.btn-ghost:hover { background: var(--violet); color: #fff; }
.visit .small { margin: 0 0 10px; }
.visit .note { padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--ink-soft) 25%, transparent); }
.ig { flex: none; display: block; }
.nav-ig, .foot-ig { display: inline-flex; align-items: center; gap: 6px; }
.foot-ig { text-decoration: none; color: var(--violet-deep); font-weight: 500; }
.foot-ig:hover { text-decoration: underline; }
footer { align-items: center; justify-content: space-between; }
@media (max-width: 560px) { .actions .btn { width: 100%; } }

/* keep the top menu on one line */
.top nav a { white-space: nowrap; }

/* brand shapes: wave dividers echo the Nadi posters, flower echoes the logo mark */
.hero-photo { position: relative; }
.hero-photo::after {
  content: ""; position: absolute; left: -22px; bottom: -22px; width: clamp(84px, 12vw, 130px); aspect-ratio: 1;
  background: url(img/nadi-flower.svg) no-repeat center / contain; transform: rotate(-12deg);
  filter: drop-shadow(0 4px 10px rgba(103, 45, 95, .25)); pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.wave { display: block; width: 100%; height: clamp(28px, 5vw, 64px); }
.clay-band { position: relative; }
.clay-band .wave-top { position: absolute; left: 0; right: 0; top: -1px; transform: rotate(180deg); color: var(--cream); }
.clay-band h2 { color: var(--blush); }
.clay-band .clay-list a { color: var(--blush); }
.visit { background: var(--blush); }
.visit .note { border-top-color: color-mix(in srgb, var(--magenta) 30%, transparent); }
.btn { background: var(--magenta); }
.btn:hover { background: var(--violet-deep); }
.btn.btn-ghost { background: transparent; color: var(--magenta); border-color: var(--magenta); }
.btn.btn-ghost:hover { background: var(--magenta); color: #fff; }
.visit .addr { color: var(--violet-deep); }
.next-when { color: #b82a48; }
.join { color: var(--magenta); }
footer { background: var(--violet-deep); color: var(--blush); padding-top: 32px; padding-bottom: 32px; }
footer .foot-brand { display: inline-flex; align-items: center; gap: 14px; }
footer .foot-brand .flower { height: 52px; width: auto; }
footer .foot-brand .word { height: 34px; width: auto; }
footer .foot-ig { color: #fff; }

/* a11y */
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 10px 16px; border-radius: 0; background: var(--violet-deep); color: #fff; font-weight: 600; }
.skip:focus { top: 12px; }
.lede { margin: -8px 0 28px; max-width: 34ch; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--violet-deep); }
.small a { color: var(--violet-deep); text-underline-offset: 3px; }
:focus-visible { outline-color: var(--magenta); }

/* quiet days: lighter than days with events */
.day.empty { background: transparent; border-style: dashed; min-height: 0; }
.day.empty .none { font-style: italic; }
.week .day.empty { padding-bottom: 14px; }
@media (min-width: 961px) { .day.empty { min-height: 150px; } }

/* calendar: bigger dots, readable legend */
.dot { width: 12px; height: 12px; }
.legend { font-size: 1rem; color: var(--ink); gap: 22px; }
.mc .n { font-size: 1rem; }

/* mobile menu */
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 0; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; border-radius: 2px; background: var(--violet-deep); transition: transform .2s, opacity .2s; }
.top.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.top.open .nav-toggle span:nth-child(2) { opacity: 0; }
.top.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .top nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 18px;
    background: var(--cream); border-bottom: 1px solid var(--marble); box-shadow: 0 14px 24px rgba(103, 45, 95, .12);
  }
  .top.open nav { display: flex; }
  .top nav a { padding: 14px 2px; font-size: 1.1rem; border-bottom: 1px solid var(--marble); }
  .top nav a:last-child { border-bottom: 0; }
  .brand img { height: 32px; }
  .brand .flower { height: 28px; }
  .hero-photo::after { left: -8px; bottom: -18px; }
  .lede { margin-top: -4px; }
  .visit { padding-top: 44px; padding-bottom: 44px; }
    .stepper span { min-width: 8em; }
}
@media (prefers-reduced-motion: reduce) { .nav-toggle span { transition: none; } }
