/* ==========================================================================
   Leafy NYC — coming soon
   One committed visual world: oat-cream storefront, collard ink, market
   greens. Tokens below are the whole brand — edit here, not inline.
   ========================================================================== */

:root {
  /* color */
  --cream: #F6F1E3;        /* oat cream — page ground */
  --paper: #FCF9F0;        /* lifted card surface */
  --ink: #16301F;          /* collard ink — text & dark bands */
  --ink-soft: #46584B;     /* secondary text on cream */
  --leaf: #3E7C48;         /* market leaf green */
  --leaf-deep: #2C5A36;    /* values band, emphasis */
  --citron: #CBDD6E;       /* young lettuce — highlights, ticker */
  --radish: #D9532B;       /* radish pop — stamps & stickers only */
  --radish-deep: #A83A17;  /* radish, dark enough for text on cream */
  --butter: #EFC85B;       /* squash butter — decorative */
  --sage: #E3EAD2;         /* illustration ground tint */

  /* type */
  --font-display: "Bricolage Grotesque", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  /* layout */
  --wrap-max: 1160px;
  --radius: 22px;
  --line: 3px solid var(--ink);
}

/* ---------- reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, video { display: block; max-width: 100%; }

input, button, textarea, select { font: inherit; }

a { color: inherit; }

ul[class] { list-style: none; padding: 0; }

h1, h2, h3 { font-weight: inherit; }

::selection { background: var(--citron); color: var(--ink); }

:focus-visible { outline: 3px solid var(--radish); outline-offset: 3px; }

/* film grain over everything, very quiet */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* ---------- utilities ---------- */

.wrap {
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(4rem, 9vw, 7rem); }

.label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.label--radish { color: var(--radish-deep); }
.label--citron { color: var(--citron); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  z-index: 3000;
  padding: 0.6em 1.1em;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-300%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible { transform: none; }

em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 560;
  letter-spacing: 0;
}

/* SVG palette hooks — presentation attrs can't take var(), classes can */
.f-ink        { fill: var(--ink); }
.f-cream      { fill: var(--cream); }
.f-paper      { fill: var(--paper); }
.f-leaf       { fill: var(--leaf); }
.f-leafdeep   { fill: var(--leaf-deep); }
.f-citron     { fill: var(--citron); }
.f-radish     { fill: var(--radish); }
.f-sage       { fill: var(--sage); }
.f-shadow     { fill: rgba(22, 48, 31, 0.12); }

.s-ink    { stroke: var(--ink); }
.s-cream  { stroke: var(--cream); }
.s-sage   { stroke: var(--sage); }
.s-paper  { stroke: var(--paper); }
.s-radish { stroke: var(--radish); }

.s-ink, .s-cream, .s-sage, .s-paper, .s-radish { stroke-linecap: round; stroke-linejoin: round; }

.sw2 { stroke-width: 2; }
.sw3 { stroke-width: 3; }
.sw4 { stroke-width: 4; }

.placeholder-art { display: block; width: 100%; height: 100%; }

/* photos fill their frames edge to edge */
.hero__media img,
.arch-frame img,
.bowl-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- buttons & chips ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn:hover { background: var(--citron); color: var(--ink); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }

.btn--small { padding: 0.6em 1.15em; font-size: 0.85rem; }

.btn--citron { background: var(--citron); border-color: var(--citron); color: var(--ink); }
.btn--citron:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }

.chip {
  display: inline-block;
  padding: 0.3em 0.8em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip--citron  { background: var(--citron); }
.chip--butter  { background: var(--butter); }
.chip--outline { background: transparent; }

/* ---------- header ---------- */

.site-head { padding-block: 1.1rem; background: var(--cream); }

.site-head__row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-head__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  margin-right: auto;
}

.site-head__leaf { width: 1.7rem; height: 1.7rem; }

.site-head__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-head__note { color: var(--ink-soft); }

/* ---------- hero ---------- */

.hero { padding-top: clamp(2rem, 5vw, 4rem); }

.hero__eyebrow { text-align: center; color: var(--ink-soft); }

/* the storefront sign: full-bleed, sized so LEAFY runs edge to edge */
.hero__wordmark {
  position: relative;
  z-index: 1;
  margin-top: clamp(0.75rem, 2vw, 1.5rem);
  padding-inline: 3vw;
  text-align: center;
  font-family: var(--font-display);
  font-size: min(35.5vw, 33.5rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero__word {
  position: relative;
  display: inline-block;
  z-index: 1;
}

/* sprout + stamp are children of the word, sized in em so they track it */
.hero__sprout {
  position: absolute;
  z-index: 2;
  top: -0.115em;
  left: -0.005em;
  width: 0.235em;
  height: auto;
}

.stamp {
  position: absolute;
  z-index: 2;
  right: -0.07em;
  bottom: -0.1em;
  width: 0.42em;
  aspect-ratio: 1;
  filter: drop-shadow(4px 5px 0 rgba(22, 48, 31, 0.25));
}

.stamp svg { display: block; width: 100%; height: 100%; }

.stamp__spin {
  transform-box: view-box;
  transform-origin: 80px 80px;
  animation: stamp-spin 28s linear infinite;
}

@keyframes stamp-spin { to { transform: rotate(360deg); } }

.stamp__text {
  font-family: var(--font-body);
  font-size: 12.4px;
  font-weight: 600;
  letter-spacing: 1.35px;
  text-transform: uppercase;
  fill: var(--cream);
}

.stamp__center {
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 800;
  letter-spacing: 0.5px;
  fill: var(--cream);
}

.hero__deck {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(2rem, 5vw, 3.75rem);
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  border-top: var(--line);
}

.hero__copy {
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.hero__copy em { color: var(--leaf-deep); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.hero__media-wrap { margin-top: clamp(2rem, 5vw, 3.5rem); }

.hero__media {
  position: relative;
  border: var(--line);
  border-radius: clamp(20px, 3vw, 34px);
  overflow: hidden;
  aspect-ratio: 15 / 8;
  background: var(--sage);
}

/* ---------- ticker ---------- */

.ticker {
  overflow: hidden;
  background: var(--citron);
  border-block: var(--line);
  padding-block: 0.85rem;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-roll 32s linear infinite;
}

.ticker__list {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  padding-right: 2.75rem;
  flex: none;
}

.ticker__list li {
  flex: none;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker__leaf svg {
  display: block;
  width: 1.1em;
  height: 1.1em;
  transform: rotate(-12deg);
}

@keyframes ticker-roll { to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */

.manifesto__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.manifesto__headline,
.section__headline {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.manifesto__headline em,
.section__headline em { color: var(--leaf-deep); }

.manifesto__copy {
  max-width: 56ch;
  margin-top: 1.4rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.arch-frame {
  border: var(--line);
  border-radius: 50% 50% var(--radius) var(--radius) / 38% 38% var(--radius) var(--radius);
  overflow: hidden;
  aspect-ratio: 400 / 460;
  background: var(--sage);
}

/* ---------- bowls ---------- */

.bowls { padding-top: 0; }

.bowls__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.bowls__note {
  max-width: 34ch;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.bowls__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.bowl-card {
  border: var(--line);
  border-radius: 170px 170px var(--radius) var(--radius);
  overflow: hidden;
  background: var(--paper);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bowl-card:hover {
  transform: translateY(-6px);
  box-shadow: 7px 9px 0 var(--ink);
}

.bowl-card__art {
  aspect-ratio: 400 / 340;
  border-bottom: var(--line);
}

.bowl-card__body { padding: 1.4rem 1.5rem 1.6rem; }

.bowl-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bowl-card__desc {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.bowl-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

/* ---------- values ---------- */

.values {
  background: var(--leaf-deep);
  color: var(--cream);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.value__badge {
  display: grid;
  place-items: center;
  width: 5.75rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream);
  outline: 2px dashed var(--citron);
  outline-offset: 6px;
}

.value__badge svg { width: 2.9rem; height: 2.9rem; }

.value__title {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.value__copy {
  margin-top: 0.6rem;
  max-width: 34ch;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(246, 241, 227, 0.82);
}

/* ---------- location teaser ---------- */

.location__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.location__map {
  border: var(--line);
  border-radius: clamp(20px, 3vw, 30px);
  overflow: hidden;
  aspect-ratio: 760 / 640;
  background: var(--paper);
}

.location__copy {
  max-width: 46ch;
  margin-top: 1.4rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.location__address {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  width: fit-content;
  margin-top: 1.75rem;
  padding: 1.15rem 1.5rem 1.25rem 1.15rem;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 5px 6px 0 var(--citron);
  font-style: normal;
}

.location__address-pin { width: 2.1rem; height: 2.1rem; flex: none; margin-top: 0.2rem; }

.location__address-label { font-size: 0.7rem; }

.location__address-lines {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
}

.location__address-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--leaf);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.location__address-link:hover { color: var(--leaf-deep); }

.location__cta { margin-top: 1.75rem; }

.map__label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  fill: rgba(22, 48, 31, 0.4);
}

.map__n {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  fill: var(--ink);
}

.map__q {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  fill: var(--ink);
}

.map__pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: map-pulse 2.6s ease-out infinite;
}

@keyframes map-pulse {
  0%   { transform: scale(0.62); opacity: 0.9; }
  70%  { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}

/* ---------- signup ---------- */

.signup {
  background: var(--ink);
  color: var(--cream);
  border-top: 3px solid var(--citron);
  padding-block: clamp(5rem, 10vw, 7.5rem);
}

.signup__inner {
  max-width: 760px;
  text-align: center;
}

.signup__headline {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 4.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.signup__headline em { color: var(--citron); }

.signup__copy {
  max-width: 44ch;
  margin: 1.25rem auto 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(246, 241, 227, 0.85);
}

.signup__form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.25rem;
}

.signup__input {
  flex: 1 1 260px;
  max-width: 390px;
  padding: 0.9em 1.4em;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}

.signup__input::placeholder { color: var(--ink-soft); }

.signup__input:focus-visible {
  outline: 3px solid var(--citron);
  outline-offset: 2px;
}

.signup__success {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--citron);
}

.signup__note {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: rgba(246, 241, 227, 0.6);
}

/* ---------- footer ---------- */

.site-foot {
  background: var(--ink);
  color: var(--cream);
  border-top: 1px solid rgba(246, 241, 227, 0.18);
  padding-block: clamp(2.75rem, 6vw, 4rem) 2rem;
}

.site-foot__wordmark {
  display: flex;
  align-items: center;
  gap: 0.18em;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8.5vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.site-foot__leaf {
  width: 0.52em;
  height: 0.52em;
  transform: rotate(-8deg) translateY(-0.06em);
}

.site-foot__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.site-foot__label { display: block; }

.site-foot__col p { margin-top: 0.6rem; }

.site-foot__link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--citron);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-foot__link:hover { color: var(--citron); }

.site-foot__muted {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(246, 241, 227, 0.65);
}

.site-foot__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(246, 241, 227, 0.14);
  font-size: 0.85rem;
  color: rgba(246, 241, 227, 0.55);
}

/* ---------- reveal on scroll ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible { opacity: 1; transform: none; }

[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* no JS, or user prefers stillness → everything simply visible */
html.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .stamp__spin, .ticker__track, .map__pulse { animation: none; }
  .map__pulse { opacity: 0.35; }
  .btn, .bowl-card { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .manifesto__grid { grid-template-columns: 1fr; }

  .manifesto__art {
    max-width: 400px;
    width: 100%;
    margin-inline: auto;
  }

  .bowls__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .values__grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .location__grid { grid-template-columns: 1fr; }

  .location__map { order: 2; }

  .site-foot__cols { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 720px) {
  .site-head__note { display: none; }

  /* keep the stamp legible once em-scaling would shrink it below ~90px */
  .stamp { width: 5.75rem; right: -0.25rem; bottom: -1.9rem; }

  .hero__deck { flex-direction: column; gap: 1.5rem; }

  .hero__media { aspect-ratio: 4 / 3; }

  .site-foot__legal { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero__actions { width: 100%; }

  .hero__actions .btn { flex: 1 1 auto; }

  .signup__form { flex-direction: column; align-items: stretch; }

  /* flex-basis would become height in the column direction */
  .signup__input { flex: none; width: 100%; max-width: none; }
}
