@font-face { font-family: "Prata"; src: url("../assets/fonts/prata.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../assets/fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* Layout: editorial single column with alternating photo/text rows; arches echo the arc of the logo.
   Single light theme on purpose: the brand lives on cream paper. */
:root {
  --paper: #FAF2E5;      /* logo background */
  --paper-deep: #F2E6D3; /* banded sections */
  --ink: #39261F;        /* logo brown */
  --ink-soft: #6B5446;   /* secondary text */
  --clay: #A45E47;       /* accent */
  --gold: #8C621C;       /* small caps labels */
  --arch: #4A342B;       /* arch cards */
  --line: #E2D3BC;
  --display: "Prata", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch;
  color-scheme: light;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* type */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; max-width: var(--measure); }
.label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.lede { font-size: 1.1rem; color: var(--ink-soft); }
em.accent { font-style: normal; color: var(--clay); }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--clay); }
@media (max-width: 760px) { .nav .hide-sm { display: none; } .brand img { height: 46px; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid var(--ink);
  font: 600 0.78rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--paper); transition: background .2s, color .2s;
}
.btn:hover { background: var(--clay); border-color: var(--clay); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav .btn { padding: 11px 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* hero */
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 7vw, 96px); }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.arch { border-radius: 999px 999px 18px 18px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; background: var(--paper-deep); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero figure, .about figure { margin: 0; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero figure { max-width: 360px; width: 100%; justify-self: center; }
}

/* sections */
section { scroll-margin-top: 90px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.band { background: var(--paper-deep); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }

/* the circle: daisy arches */
.arches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.arch-card {
  position: relative; aspect-ratio: 7 / 10; border-radius: 999px 999px 14px 14px; overflow: hidden; background: var(--arch); color: var(--paper);
  text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 26px 24px;
  transition: background .3s;
}
.arch-card:hover { background: var(--ink); }
.arch-card::before { content: ""; flex: 1 1 0; min-height: 0; max-height: 48%; margin: 6% 20% 12px; background: url("../assets/daisy-light.png") center / contain no-repeat; opacity: 0.2; } /* the daisy fills only the space above the text, so it never sits under the title */
.arch-card h3 { font-size: clamp(1.45rem, 2vw, 1.9rem); }
.arch-card h3 span { color: #E2C38C; }
.arch-card p { font-size: 0.88rem; color: #E9DCC7; min-height: 4.6em; }
.arch-card .more { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #E2C38C; }
@media (max-width: 900px) {
  .arches-scroll { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .arches { grid-template-columns: repeat(4, 64vw); }
  .arch-card { scroll-snap-align: start; }
}

/* breathing */
.breathe { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.breathe-copy { display: grid; gap: 18px; min-width: 0; }
.breathe-stage { display: grid; justify-items: center; gap: 14px; }
.breathe-ring { width: min(320px, 78vw); aspect-ratio: 1; max-width: 100%; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: radial-gradient(circle, var(--paper-deep) 0%, var(--paper) 70%); }
.breathe-dot { width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--clay); opacity: 0.85; transform: scale(1); transition-property: transform; transition-timing-function: ease-in-out; }
.breathe-cue { font-family: var(--display); font-size: 1.6rem; text-align: center; max-width: none; }
.breathe-count { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); max-width: none; }
@media (max-width: 820px) { .breathe { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .breathe-dot { transition: none !important; } }

/* events */
.events-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.events-layout > * { min-width: 0; }
.events-photo { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; position: sticky; top: 100px; }
.events-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .events-layout { grid-template-columns: 1fr; } .events-photo { position: static; max-width: 420px; } }
.events { display: grid; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 175px 1fr; gap: 20px; align-items: start; padding-block: 26px; border-bottom: 1px solid var(--line); }
.event .when { display: grid; gap: 2px; }
.event .when strong { font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.event .when span { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.event .what { display: grid; gap: 8px; min-width: 0; }
.event .what p { color: var(--ink-soft); }
.pill { justify-self: start; display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid currentColor; white-space: nowrap; }
.pill.soon { color: var(--clay); }
.pill.past { color: var(--ink-soft); }
.event.is-past { opacity: 0.75; }
@media (max-width: 560px) { .event { grid-template-columns: 1fr; gap: 10px; } }

/* freebies + signup */
.free { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.guides { display: grid; gap: 16px; }
.guide { display: grid; grid-template-columns: 74px 1fr; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.guide .cover { aspect-ratio: 3 / 4; border-radius: 6px; background: var(--paper-deep); border: 1px solid var(--line); display: grid; place-items: center; padding: 8px; }
.guide .cover img { width: 70%; opacity: 0.85; }
.guide div { min-width: 0; display: grid; gap: 4px; }
.guide h3 { font-size: 1.2rem; }
.guide p { font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 820px) { .free { grid-template-columns: 1fr; } }

.signup { display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--ink); color: var(--paper); }
.signup .label { color: #D9B77A; }
.signup h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.signup p { color: #E9DCC7; }
.signup form { display: grid; gap: 12px; }
.signup .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .signup .row { grid-template-columns: 1fr; } }
.signup label { display: grid; gap: 6px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #E9DCC7; }
.signup input[type=text], .signup input[type=email] {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid #6B5446; background: #47312A; color: var(--paper);
  font: 400 1rem var(--body); text-transform: none; letter-spacing: 0;
}
.signup input::placeholder { color: #B9A48F; }
.signup .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8rem; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.5; }
.signup .consent input { margin-top: 4px; accent-color: var(--clay); }
.signup .consent a { color: var(--paper); }
.signup .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); justify-self: start; }
.signup .btn:hover { background: var(--clay); color: var(--paper); border-color: var(--clay); }
.form-note { font-size: 0.85rem; color: #E9DCC7; min-height: 1.4em; }

/* journal */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.post { display: grid; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; background: var(--paper); align-content: start; min-width: 0; }
a.post:hover { border-color: var(--ink); }
.post p { color: var(--ink-soft); }
.post .more { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); }
.post.placeholder { border-style: dashed; background: transparent; }
@media (max-width: 760px) { .posts { grid-template-columns: 1fr; } }

/* about */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.about-copy { display: grid; gap: 18px; min-width: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 6px 0 0; list-style: none; }
.facts li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8rem; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .about figure { max-width: 360px; justify-self: center; width: 100%; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding-block: 40px; }
.site-footer img { height: 92px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.site-footer nav a { text-decoration: none; }
.site-footer small { color: var(--ink-soft); font-size: 0.78rem; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* article pages */
.article { padding-block: clamp(48px, 8vw, 100px); }
.article .wrap { max-width: 760px; display: grid; gap: 22px; }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.article h2 { font-size: 1.7rem; margin-top: 18px; }
.article p, .article li { color: var(--ink); max-width: none; }
.article ol, .article ul { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.article .back { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); text-decoration: none; }
.todo { background: #FCE9C8; border-radius: 4px; padding: 0 4px; }
