/* PlaceSaga — landing page
   Palette: deep forest, warm cream, amber
   Type: Cormorant Garamond + Source Sans 3
*/

:root {
  --forest: #14241c;
  --forest-mid: #1c3328;
  --forest-deep: #0d1813;
  --cream: #f4ede0;
  --cream-soft: #faf6ee;
  --cream-dark: #e6dccb;
  --ink: #15241c;
  --ink-soft: #3d4d43;
  --muted: #5c6b5e;
  --sage: #7a8c78;
  --amber: #c9923a;
  --amber-deep: #a67528;
  --amber-soft: #e8c888;
  --line: rgba(20, 36, 28, 0.12);
  --line-light: rgba(244, 237, 224, 0.16);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 18px;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}

p {
  margin: 0;
}

p + p {
  margin-top: 1rem;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--cream);
  color: var(--forest);
  padding: 0.6rem 1rem;
  border-radius: 999px;
}

.skip:focus {
  top: 1rem;
}

/* ——— Nav ——— */

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem var(--pad);
  color: var(--cream);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(244, 237, 224, 0.86);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--cream-soft);
}

@media (max-width: 819px) {
  .btn.nav-cta {
    display: none;
  }
}

@media (min-width: 820px) {
  .nav-links,
  .btn.nav-cta {
    display: flex;
  }
}

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.95rem 1.45rem;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

.btn-amber {
  background: var(--amber);
  color: var(--forest-deep);
}

.btn-amber:hover,
.btn-amber:focus-visible {
  background: var(--amber-soft);
}

.btn-cream {
  background: var(--cream);
  color: var(--forest);
}

.btn-cream:hover,
.btn-cream:focus-visible {
  background: var(--cream-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 237, 224, 0.35);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--cream);
  background: rgba(244, 237, 224, 0.08);
}

.btn-sm {
  padding: 0.72rem 1.15rem;
  font-size: 0.88rem;
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(201, 146, 58, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 80% at 15% 80%, rgba(14, 26, 20, 0.55), transparent 60%),
    linear-gradient(165deg, var(--forest-mid) 0%, var(--forest) 48%, var(--forest-deep) 100%);
  overflow: hidden;
  padding: 7.5rem var(--pad) 4.5rem;
}

.hero-topo {
  position: absolute;
  inset: -8% -5% -10%;
  color: #e8dfd0;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.hero-topo svg {
  width: 100%;
  height: 100%;
}

.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.18;
  mix-blend-mode: overlay;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 6.4rem);
  font-weight: 500;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 14ch;
  color: var(--cream-soft);
}

.hero-sub {
  margin-top: 1.15rem;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  font-weight: 400;
  line-height: 1.3;
  max-width: 22ch;
  color: rgba(244, 237, 224, 0.92);
}

.hero-lead {
  margin-top: 1.6rem;
  max-width: 38rem;
  color: rgba(244, 237, 224, 0.78);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.1rem;
}

/* ——— Sections ——— */

.section {
  padding: clamp(4.25rem, 9vw, 7rem) var(--pad);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.4rem);
}

.section-head h2 {
  font-size: clamp(2.15rem, 4.6vw, 3.4rem);
  color: var(--forest);
}

.section-head p {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.section-forest {
  background: var(--forest);
  color: var(--cream);
}

.section-forest .section-head h2 {
  color: var(--cream-soft);
}

.section-forest .section-head p {
  color: rgba(244, 237, 224, 0.78);
}

.section-alt {
  background: var(--cream-soft);
}

/* ——— What we make ——— */

.cards {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 800px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.card {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
}

.section-alt .card {
  background: #fffdf8;
}

.card-icon {
  width: 42px;
  height: 42px;
  color: var(--forest);
}

.card h3 {
  font-size: 1.7rem;
  color: var(--forest);
}

.card p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.card-tag {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

/* ——— Who ——— */

.audience {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 820px) {
  .audience {
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
  }
}

.audience-copy h2 {
  font-size: clamp(2.15rem, 4.6vw, 3.4rem);
  color: var(--forest);
}

.audience-copy .lede {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.audience-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--forest);
}

.audience-list li span {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-deep);
  min-width: 1.6rem;
}

/* ——— How it works ——— */

.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.step {
  position: relative;
  padding-top: 0.2rem;
}

.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.step h3 {
  font-size: 1.7rem;
  color: var(--cream-soft);
  margin-bottom: 0.7rem;
}

.step p {
  color: rgba(244, 237, 224, 0.78);
}

@media (min-width: 800px) {
  .step + .step {
    border-left: 1px solid var(--line-light);
    padding-left: 2rem;
  }
}

/* ——— Founding ——— */

.founding {
  display: grid;
  gap: 2rem;
}

@media (min-width: 820px) {
  .founding {
    grid-template-columns: 1.3fr 0.9fr;
    gap: 3.5rem;
    align-items: end;
  }
}

.founding h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 16ch;
}

.founding-note {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 36rem;
  margin-top: 1rem;
}

.founding-panel {
  background: var(--forest);
  color: var(--cream);
  border-radius: 22px;
  padding: 1.9rem 1.7rem;
}

.founding-panel p {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.35;
  color: var(--cream-soft);
}

.founding-panel .hint {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.98rem;
  color: rgba(244, 237, 224, 0.75);
  margin-top: 0.85rem;
}

.founding-panel .btn {
  margin-top: 1.4rem;
}

/* ——— Featured ——— */

.stories {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 800px) {
  .stories {
    grid-template-columns: repeat(3, 1fr);
  }
}

.story {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--cream);
  background: var(--forest-mid);
  isolation: isolate;
}

.story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("assets/topo.svg");
  background-size: 180% 140%;
  background-position: 40% 30%;
  opacity: 0.28;
  color: #f4ede0;
}

.story:nth-child(1) {
  background: linear-gradient(180deg, #2a4636 0%, #14241c 100%);
}

.story:nth-child(2) {
  background: linear-gradient(180deg, #3a3d2a 0%, #1a2216 100%);
}

.story:nth-child(3) {
  background: linear-gradient(180deg, #3d3224 0%, #1c1812 100%);
}

.story .coming {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-bottom: 0.45rem;
}

.story h3 {
  font-size: 2.15rem;
  color: var(--cream-soft);
}

.story p {
  margin-top: 0.4rem;
  color: rgba(244, 237, 224, 0.78);
  font-size: 0.98rem;
}

/* ——— Footer ——— */

.footer {
  background: var(--forest-deep);
  color: rgba(244, 237, 224, 0.78);
  padding: 3.4rem var(--pad) 2.2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.6rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
}

.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--cream-soft);
  max-width: 28rem;
}

.footer a.mail {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer a.mail:hover,
.footer a.mail:focus-visible {
  color: var(--amber-soft);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.9rem;
}

.founder {
  color: rgba(244, 237, 224, 0.62);
}

/* ——— Utilities ——— */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}


/* ——— Featured stories (published) ——— */

.story {
  padding: 0;
  min-height: 0;
  justify-content: stretch;
}

.story::before {
  display: none;
}

.story-link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 28rem;
  padding: 1.6rem 1.45rem 1.45rem;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
}

.story-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  transition: transform 0.45s ease;
}

.story-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(13, 24, 19, 0.12) 15%,
    rgba(13, 24, 19, 0.55) 48%,
    rgba(13, 24, 19, 0.94) 100%
  );
}

.story-link:hover .story-img,
.story-link:focus-visible .story-img {
  transform: scale(1.04);
}

.story-link:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.story-place {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-bottom: 0.45rem;
}

.story-more {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-soft);
}


.story-media {
  background: #0d1813;
}

.story-media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #0d1813;
  max-height: min(32rem, 70vh);
}

.story .story-body {
  padding: 1.2rem 1.3rem 1.45rem;
}

.story .story-more {
  text-decoration: none;
}

.story .story-more:hover,
.story .story-more:focus-visible {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.story .story-more:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* ——— Walking tour band ——— */

.tour-band {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .tour-band {
    grid-template-columns: 1.4fr auto;
    gap: 3.5rem;
  }
}

.tour-copy h2 {
  font-size: clamp(2.15rem, 4.6vw, 3.4rem);
  color: var(--cream-soft);
  max-width: 16ch;
  margin-top: 0.35rem;
}

.tour-copy > p:not(.eyebrow) {
  margin-top: 1rem;
  max-width: 36rem;
  color: rgba(244, 237, 224, 0.82);
  font-size: 1.125rem;
}

.tour-copy .btn {
  margin-top: 1.6rem;
}

.tour-qr {
  margin: 0;
  justify-self: start;
  background: var(--cream);
  color: var(--forest);
  border-radius: 20px;
  padding: 1rem 1rem 0.85rem;
  text-align: center;
  max-width: 16.5rem;
}

.tour-qr img {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  border-radius: 8px;
}

.tour-qr figcaption {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* ——— Article pages ——— */

.nav-solid {
  position: relative;
  background: var(--forest);
  color: var(--cream);
}

.article-page {
  background: var(--cream);
}

.article-header {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3.25rem var(--pad) 1.75rem;
}

.article-header h1 {
  font-size: clamp(2.35rem, 6vw, 3.85rem);
  color: var(--forest);
  max-width: 18ch;
}

.article-dek {
  margin-top: 1.15rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink-soft);
}


.article-video {
  max-width: var(--max);
  margin: 0 auto 2.25rem;
  padding: 0 var(--pad);
}

.article-video video {
  display: block;
  width: 100%;
  max-width: 24rem;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  background: #0d1813;
}

.article-video figcaption {
  max-width: 42rem;
  margin: 0.7rem auto 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.article-hero {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  padding: 0 var(--pad);
}

.article-hero img {
  width: 100%;
  height: auto;
  max-height: 42rem;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  background: var(--forest-mid);
}

.article-hero figcaption {
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.article-hero figcaption a {
  color: var(--forest);
  text-underline-offset: 0.12em;
}

.article-body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 var(--pad) 4.5rem;
  font-size: 1.125rem;
  color: var(--ink);
}

.article-body h2 {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  color: var(--forest);
  margin: 2.4rem 0 0.85rem;
}

.article-body a {
  color: var(--amber-deep);
  text-underline-offset: 0.14em;
}

.article-body a:hover,
.article-body a:focus-visible {
  color: var(--forest);
}

.fn {
  font-size: 0.7em;
  font-weight: 600;
  line-height: 0;
  margin-left: 0.08em;
}

.fn a {
  text-decoration: none;
  color: var(--amber-deep);
}

.story-tour-callout {
  margin: 2.4rem 0 0;
  background: var(--forest);
  color: var(--cream);
  border-radius: 22px;
  padding: 1.7rem 1.55rem;
}

.story-tour-callout p {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.35;
  color: var(--cream-soft);
  margin: 0;
}

.story-tour-callout .btn {
  margin-top: 1.15rem;
}

.article-sources,
.article-credits {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.article-sources h2,
.article-credits h2 {
  margin-top: 0;
}

.article-credits h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin: 1.4rem 0 0.7rem;
}

.source-list,
.article-credits ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.source-list li,
.article-credits li {
  margin: 0.55rem 0;
  padding-left: 0.25rem;
}

.source-list li:target {
  background: rgba(201, 146, 58, 0.14);
  outline: 4px solid rgba(201, 146, 58, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  .story-img {
    transition: none;
  }
}

/* ——— Signup forms ——— */

#waitlist .section-head,
#build-for-you .section-head {
  max-width: 42rem;
}

#waitlist .eyebrow {
  color: var(--amber-deep);
  margin-bottom: 0.6rem;
}

.signup-form {
  max-width: 36rem;
  margin-top: 1.75rem;
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label,
.form-consent label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--forest);
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form select,
.signup-form textarea {
  width: 100%;
  border: 1px solid rgba(20, 36, 28, 0.22);
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 1rem;
}

.signup-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-color: var(--amber-deep);
}

.form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  margin-top: 0.25rem;
}

.form-consent input {
  margin-top: 0.3rem;
}

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

.signup-form .btn {
  justify-self: start;
  margin-top: 0.25rem;
}

.form-status {
  margin: 0.2rem 0 0;
  font-size: 0.98rem;
}

.form-status.is-ok {
  color: var(--forest);
}

.form-status.is-error {
  color: #8a2a1c;
}

.privacy-note {
  max-width: 42rem;
  margin-top: 2rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.privacy-note a {
  color: var(--forest);
  text-underline-offset: 0.12em;
}

