/* Wellnaro coming soon page. Brand kit palette and Figtree, plus Cormorant
   Garamond italic for one accent. Motion stays slow and stops entirely for
   people who ask for reduced motion. */

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/Figtree-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/Figtree-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/Figtree-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("/assets/fonts/CormorantGaramond-MediumItalic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

:root {
  --eucalyptus: #3e5c50;
  --forest: #26392f;
  --sage: #9db0a0;
  --clay: #b97e5b;
  --clay-deep: #8f5a3c;
  --sand: #e4d5bf;
  --linen: #f6f2ea;
  --ink-soft: #4a5a51;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

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

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

body {
  margin: 0;
  background: var(--linen);
  color: var(--forest);
  font-family:
    "Figtree",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}

/* Paper grain over everything. Pure SVG noise, no image request. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .5 0 0 0 0 .42 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--eucalyptus);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--forest);
  color: var(--linen);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 60;
}
.skip:focus {
  top: 12px;
}

/* Top bar */
.top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 64px);
}
.top-logo img {
  display: block;
  height: 36px;
  width: auto;
}
.top-note {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-deep);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(340px, 0.8fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding: clamp(24px, 6vh, 72px) clamp(20px, 5vw, 64px) clamp(64px, 10vh, 120px);
  min-height: calc(100svh - 84px);
  overflow-x: clip;
}

/* The brush circle: big, off to the right, running off the page edge. */
.hero-mark {
  position: absolute;
  z-index: 0;
  right: -16vw;
  top: -10vh;
  width: min(78vw, 980px);
  aspect-ratio: 1;
  pointer-events: none;
}
.hero-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: breathe 9s var(--ease) 3.2s infinite alternate;
  transform-origin: 50% 50%;
}
.hero-mark .brush {
  fill: var(--sage);
  opacity: 0.38;
}
.hero-mark .paint {
  fill: none;
  stroke: #fff;
  stroke-width: 26;
  stroke-linecap: round;
  stroke-dasharray: 104 104;
  stroke-dashoffset: 104;
  animation: paint 2.6s var(--ease) 0.2s forwards;
}

@keyframes paint {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes breathe {
  from {
    transform: scale(1) rotate(0deg);
  }
  to {
    transform: scale(1.035) rotate(4deg);
  }
}

.hero-copy,
.join {
  position: relative;
  z-index: 2;
}

.wordmark {
  width: clamp(150px, 18vw, 220px);
  margin: 0 0 clamp(20px, 4vh, 40px);
}
.wordmark svg {
  display: block;
  width: 100%;
  height: auto;
}
.wordmark path {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: write 1.4s var(--ease) forwards;
}

@keyframes write {
  to {
    stroke-dashoffset: 0;
  }
}

h1 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(42px, 6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--forest);
}
h1 .line {
  display: block;
}
h1 em {
  font-family: "Cormorant", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.14em;
  letter-spacing: -0.01em;
  color: var(--clay-deep);
}

.lede {
  max-width: 34em;
  margin: clamp(20px, 3vh, 32px) 0 0;
  font-size: clamp(17px, 1.35vw, 19px);
  color: var(--ink-soft);
}

/* Follow links */
.follow {
  margin-top: clamp(22px, 3.5vh, 36px);
}
.follow-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border: 1.5px solid rgba(62, 92, 80, 0.28);
  border-radius: 999px;
  color: var(--forest);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  background: rgba(255, 253, 249, 0.6);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.social-link:hover {
  background: var(--eucalyptus);
  border-color: var(--eucalyptus);
  color: var(--linen);
}
.foot .social-link {
  padding: 6px 12px 6px 9px;
  font-size: 14px;
}
.foot .social-link svg {
  width: 18px;
  height: 18px;
}
.follow.rise {
  animation-delay: 1.08s;
}

/* Things that rise in on load, one after another. */
.rise,
h1 .line {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 1s var(--ease) forwards;
}
h1 .line:nth-child(1) {
  animation-delay: 0.5s;
}
h1 .line:nth-child(2) {
  animation-delay: 0.62s;
}
h1 .line:nth-child(3) {
  animation-delay: 0.78s;
}
h1.rise {
  opacity: 1;
  transform: none;
  animation: none;
}
.lede.rise {
  animation-delay: 1s;
}
.join.rise {
  animation-delay: 1.15s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Sign-up form */
.join {
  margin-top: clamp(0px, 8vh, 120px);
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid rgba(62, 92, 80, 0.18);
  border-radius: 22px;
  padding: clamp(22px, 3vw, 34px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.join h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.join-sub {
  margin: 6px 0 18px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.field {
  display: block;
  margin: 16px 0 8px;
}
.field > span {
  display: block;
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 6px;
}
.field small {
  font-weight: 400;
  color: var(--ink-soft);
}
.field input,
.field select {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--forest);
  background: #fff;
  border: 1.5px solid rgba(62, 92, 80, 0.32);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s;
}
.field input:hover,
.field select:hover {
  border-color: var(--eucalyptus);
}
.field input::placeholder {
  color: #8a968f;
}

.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 10px 0 4px;
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--eucalyptus);
}
.check a {
  color: inherit;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.join button {
  margin-top: 22px;
  width: 100%;
  font: inherit;
  font-weight: 600;
  font-size: 17px;
  color: var(--linen);
  background: var(--eucalyptus);
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s var(--ease);
}
.join button:hover {
  background: var(--forest);
}
.join button:active {
  transform: scale(0.985);
}
.join button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.form-msg {
  min-height: 1.5em;
  margin: 12px 0 0;
  font-size: 14.5px;
  font-weight: 500;
}
.form-msg.is-error {
  color: #9a3b26;
}
.fine {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* After a good sign-up the form becomes a thank-you. */
.join.is-done > :not(.done) {
  display: none;
}
.done {
  text-align: center;
  padding: 18px 0 8px;
}
.done svg {
  width: 84px;
  height: 84px;
}
.done circle {
  fill: none;
  stroke: var(--eucalyptus);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 100;
  transform: rotate(-68deg);
  transform-origin: 50% 50%;
  animation: paint 1.3s var(--ease) forwards;
}
.done path {
  fill: none;
  stroke: var(--clay);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: write 0.6s var(--ease) 0.9s forwards;
}
.done h2 {
  margin: 14px 0 6px;
}
.done p {
  margin: 0;
  color: var(--ink-soft);
}

/* What's coming */
.coming {
  position: relative;
  z-index: 2;
  padding: clamp(56px, 10vh, 120px) clamp(20px, 5vw, 64px);
  background: var(--forest);
  color: var(--linen);
  border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
}
.coming h2 {
  margin: 0 0 clamp(32px, 6vh, 64px);
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.coming-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 96px);
  counter-reset: item;
}
.coming-list li {
  counter-increment: item;
  padding: 26px 0 30px;
  border-top: 1px solid rgba(246, 242, 234, 0.2);
}
.coming-list li:nth-child(even) {
  transform: translateY(48px);
}
.coming-list li.reveal.is-in:nth-child(even) {
  transform: translateY(48px);
}
.coming-list li::before {
  content: "0" counter(item);
  display: block;
  font-family: "Cormorant", Georgia, serif;
  font-style: italic;
  font-size: 26px;
  color: var(--sand);
  margin-bottom: 6px;
}
.coming-list h3 {
  margin: 0 0 8px;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.coming-list p {
  margin: 0;
  max-width: 30em;
  color: #d5dcd5;
}

/* About */
.about {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: clamp(96px, 16vh, 180px) clamp(20px, 5vw, 64px) clamp(72px, 12vh, 140px);
  background: var(--sand);
}
.about-cycle {
  display: flex;
  flex-direction: column;
  font-family: "Cormorant", Georgia, serif;
  font-style: italic;
  font-size: clamp(54px, 8vw, 120px);
  line-height: 0.98;
  color: rgba(38, 57, 47, 0.22);
}
.about-cycle span {
  animation: cycle 6s ease-in-out infinite;
}
.about-cycle span:nth-child(2) {
  animation-delay: 2s;
  padding-left: 0.6em;
}
.about-cycle span:nth-child(3) {
  animation-delay: 4s;
  padding-left: 1.2em;
}
@keyframes cycle {
  0%,
  100% {
    color: rgba(38, 57, 47, 0.22);
  }
  12%,
  28% {
    color: var(--clay-deep);
  }
  40% {
    color: rgba(38, 57, 47, 0.22);
  }
}
.about h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.about p {
  margin: 0 0 16px;
  max-width: 34em;
  font-size: 18px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Footer */
.foot {
  position: relative;
  z-index: 2;
  background: var(--linen);
  padding: 40px clamp(20px, 5vw, 64px) 36px;
  border-top: 1px solid rgba(62, 92, 80, 0.15);
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.foot-row img {
  height: 34px;
  width: auto;
  display: block;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 15px;
  font-weight: 500;
}
.legal {
  margin: 22px 0 4px;
  font-size: 13px;
  color: var(--ink-soft);
}

.site-credit {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.site-credit .heart {
  color: var(--clay-deep);
  display: inline-block;
  transform: translateY(1px);
  font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols 2", "DejaVu Sans", sans-serif;
}
.site-credit a {
  color: var(--eucalyptus);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  border-radius: 3px;
  transition: text-decoration-color 0.15s;
}
.site-credit a:hover {
  text-decoration-color: currentColor;
}
.site-credit a:focus-visible {
  outline: 2px solid var(--eucalyptus);
  outline-offset: 3px;
  text-decoration-color: currentColor;
}

/* Plain pages (privacy, 404) */
.page {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 24px clamp(20px, 5vw, 64px) 80px;
}
.page h1 {
  font-size: clamp(38px, 6vw, 64px);
  margin-bottom: 24px;
}
.page h2 {
  font-size: 22px;
  margin: 32px 0 8px;
}
.page p,
.page li {
  color: var(--ink-soft);
}

/* Phones and narrow tablets */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .hero-mark {
    right: -38vw;
    top: -4vh;
    width: 118vw;
  }
  .join {
    margin-top: 8px;
  }
  .coming-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .coming-list li:nth-child(even),
  .coming-list li.reveal.is-in:nth-child(even) {
    transform: none;
  }
  .about {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-cycle {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 0.3em;
    font-size: clamp(44px, 12vw, 72px);
  }
  .about-cycle span:nth-child(n) {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .rise,
  h1 .line,
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-mark .paint,
  .done circle {
    stroke-dashoffset: 0;
  }
  .wordmark path,
  .done path {
    stroke-dashoffset: 0;
  }
}
