@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Tiro Devanagari Sanskrit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tiro-devanagari-sanskrit.woff2") format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CFF, U+A8E0-A8FF;
}

:root {
  --paper: #f3efe6;
  --ink: #241f18;
  --muted: #4e493f;
  --olive: #545e3e;
  --olive-deep: #3c442c;
  --brass: #7a5c38;
  --brass-star: #8d6e45;
  --line: rgba(36, 31, 24, 0.16);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --deva: "Tiro Devanagari Sanskrit", "Noto Serif Devanagari", serif;
  --gutter: 1.35rem;
  --measure: 90rem;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 90% 55% at 0% -10%, rgba(255, 252, 247, 0.9), transparent 58%),
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(186, 164, 128, 0.14), transparent 52%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

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

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  z-index: 5;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

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

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.mast {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.2rem var(--gutter) 0;
}

.brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  color: var(--olive);
}

.soon {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.75rem var(--gutter) 1.5rem;
  display: grid;
  gap: 2.25rem;
}

.star {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--brass-star);
}

.wordmark {
  margin-top: 0.85rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4rem, 18vw, 7.75rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.sadhana {
  margin-top: 0.45rem;
  font-family: var(--deva);
  font-weight: 400;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  line-height: 1.7;
  color: var(--olive);
}

.rule {
  display: block;
  width: 2.4rem;
  height: 1px;
  margin-top: 0.15rem;
  background: var(--olive);
}

.tagline {
  margin-top: 1.6rem;
  max-width: 12em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lede {
  margin-top: 1.05rem;
  max-width: 34ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.28rem;
  line-height: 1.4;
}

.signup {
  margin-top: 2rem;
  max-width: 28rem;
}

.form-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field-label {
  display: block;
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.signup-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.signup input[type="email"] {
  width: 100%;
  margin: 0;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid rgba(36, 31, 24, 0.5);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}

.signup input[type="email"]::placeholder {
  color: #6f6a60;
}

.signup input[type="email"]:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  box-shadow: 0 0 0 1000px var(--paper) inset;
}

.signup button {
  min-height: 3rem;
  padding: 0.9rem 1.35rem;
  border: 0;
  border-radius: 0;
  background: var(--olive);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.signup button:hover {
  background: var(--olive-deep);
}

.signup button:disabled {
  opacity: 0.65;
  cursor: progress;
}

.form-note {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  margin: 0.85rem 0 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.35;
}

.form-status:empty {
  margin: 0;
}

.form-status[data-state="ok"] {
  color: var(--olive-deep);
}

.form-status[data-state="error"] {
  color: #6b2c24;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  width: 100%;
  height: auto;
}

.caption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.places {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 4.25rem var(--gutter) 1rem;
}

.places h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.15rem, 4vw, 3.15rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.places .intro {
  margin-top: 0.8rem;
  max-width: 34ch;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.4;
}

.place-list {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
}

.place {
  padding: 1.25rem 0 1.35rem;
  border-top: 1px solid var(--line);
}

.place-index {
  margin-bottom: 0.35rem;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.place h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.place-where {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.place .detail {
  margin-top: 0.55rem;
  max-width: 24ch;
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.35;
}

.range {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 4.5rem;
}

.range img {
  width: 100%;
  height: auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.25rem var(--gutter) 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

.missing {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 16vh var(--gutter) 6rem;
  min-height: 70vh;
}

.missing h1 {
  margin-top: 0.9rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.missing .lede {
  margin-top: 1rem;
}

.return {
  display: inline-block;
  margin-top: 1.75rem;
  color: var(--olive);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-underline-offset: 0.35em;
}

.return:hover {
  color: var(--olive-deep);
}

@media (min-width: 640px) {
  .signup-row {
    flex-direction: row;
    align-items: flex-end;
    gap: 1rem;
  }

  .signup-row input[type="email"] {
    flex: 1;
    width: auto;
  }

  .signup-row button {
    flex: 0 0 auto;
  }
}

@media (min-width: 900px) {
  :root {
    --gutter: 3.25rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 4rem;
    padding-top: 4.5rem;
    padding-bottom: 3rem;
  }

  .place-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
    margin-top: 2.75rem;
  }

  .place {
    padding: 1.15rem 0.4rem 0 0;
  }

  .places {
    padding-top: 5.5rem;
  }
}

@media (min-width: 900px) and (min-height: 760px) {
  .hero {
    min-height: calc(100svh - 4.5rem);
    padding-top: 2rem;
  }
}

@media (min-width: 1200px) {
  :root {
    --gutter: 4.5rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .sadhana,
  .rule,
  .tagline,
  .lede,
  .signup,
  .hero-figure {
    animation: fade 0.7s ease both;
  }

  .rule { animation-delay: 0.05s; }
  .tagline { animation-delay: 0.08s; }
  .lede { animation-delay: 0.14s; }
  .signup { animation-delay: 0.18s; }
  .hero-figure { animation-delay: 0.08s; }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
