@charset "UTF-8";

/* Seven Pebbles — single page. Layout is flexbox only (no positioning). */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --stone: #F2F3EF;
  --white: #FFFFFF;
  --ink: #2F3735;
  --ink-soft: #5B6461;   /* the logo's own grey-green */
  --slate: #3A4441;
  --rule: #D9DCD5;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.55;
}

img { display: block; max-width: 100%; height: auto; }

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem clamp(4rem, 8vw, 6rem);
}

.hero__logo { width: 100%; max-width: 537px; }

.hero__lead {
  margin: 0;
  max-width: 780px;
  text-align: center;
  text-wrap: balance;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.375rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.values {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  max-width: 1180px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.75rem 2.5rem;
}

.values li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.625rem);
  line-height: 1.2;
}

/* every other stone sits a little lower, like a laid path */
.values li:nth-child(even) { padding-top: 1.875rem; }

.values img { width: 44px; height: 44px; }

/* ---------- Vision ---------- */

.vision {
  display: flex;
  justify-content: center;
  background: var(--white);
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
}

.vision__inner {
  width: 100%;
  max-width: 1080px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem 4.5rem;
}

.vision h2 {
  flex: 1 1 220px;
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 1.8rem + 1.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.vision ol {
  flex: 999 1 520px;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  counter-reset: vision;
  border-bottom: 1px solid var(--rule);
}

.vision li {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.125rem 0;
  border-top: 1px solid var(--rule);
  counter-increment: vision;
}

.vision li::before {
  content: counter(vision, decimal-leading-zero);
  flex: 0 0 2.125rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Launch note + mailing list ---------- */

.join {
  display: flex;
  justify-content: center;
  background: var(--slate);
  color: var(--stone);
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
}

.join__inner {
  width: 100%;
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.join__note {
  margin: 0;
  max-width: 900px;
  text-wrap: pretty;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.4375rem, 1.1rem + 1.2vw, 1.75rem);
  line-height: 1.35;
}

.join__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 2rem 4.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--ink-soft);
}

.join__row > p { flex: 1 1 320px; margin: 0; color: #DDE0DA; }

.signup {
  flex: 1 1 380px;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.signup label { font-size: clamp(0.875rem, 0.84rem + 0.15vw, 0.9375rem); font-weight: 600; letter-spacing: 0.02em; }

.signup__fields { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.signup input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border: 1px solid #8D9692;
  border-radius: 26px;
  background: var(--ink);
  color: var(--stone);
  font: inherit;
}
.signup input[type="email"]::placeholder { color: #A9B0AC; }

.signup button {
  flex: 0 0 auto;
  height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 26px;
  background: var(--stone);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.signup button:hover { background: var(--white); }

.signup input:focus-visible,
.signup button:focus-visible { outline: 3px solid #E3CFC4; outline-offset: 3px; }

/* honeypot: hidden from people, visible to form-filling bots */
.signup__trap { display: none; }

.notice {
  margin: 0;
  padding: 0.875rem 1.125rem;
  border-radius: 12px;
  font-weight: 500;
}
.notice--ok    { background: #E3EBDD; color: #24331F; }
.notice--error { background: #F6DFD7; color: #5A1F12; }

/* ---------- Footer ---------- */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 3.5rem 1.5rem;
  font-size: clamp(0.875rem, 0.84rem + 0.15vw, 0.9375rem);
  color: var(--ink-soft);
}
.footer p { margin: 0; }
.footer__pebbles { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.footer__pebbles img { width: 28px; height: 28px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
