:root {
  --paper: #fffaf8;
  --surface: #ffffff;
  --ink: #182523;
  --muted: #586764;
  --line: #d9dfdc;
  --coral: #f15f4a;
  --coral-soft: #ffe4dc;
  --teal: #087f7a;
  --teal-soft: #dcefed;
  --gold: #f2c84b;
  --max: 1240px;
  color-scheme: light;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button:focus-visible, a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.site-nav {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px max(24px, calc((100% - var(--max)) / 2));
  border-bottom: 1px solid rgba(24, 37, 35, .12);
  background: rgba(255, 250, 248, .94);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand img { width: 40px; height: 40px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.nav-links a { padding: 10px 0; color: #2b3a37; }
.nav-links a:hover { color: var(--coral); }
.nav-links .nav-action {
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
}
.nav-links .nav-action:hover { background: var(--teal); color: #fff; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-button span { display: block; width: 22px; height: 2px; margin: 4px auto; background: var(--ink); }

.page-shell { width: 100%; overflow-x: hidden; }
.hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #253f3e url("assets/nyc-photo-walk.jpg") center 58% / cover no-repeat;
}
.hero-shade { position: absolute; z-index: -1; inset: 0; background: rgba(13, 33, 32, .58); }
.hero-copy {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 110px;
  color: #fff;
}
.hero-kicker, .section-heading > p, .story-copy > p:first-child, .voices-head p, .legal-hero > div > p:first-child {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 1120px;
  margin: 0;
  font-size: 96px;
  line-height: .98;
  font-weight: 800;
  letter-spacing: 0;
}
.hero-lead { max-width: 690px; margin: 28px 0 0; font-size: 22px; line-height: 1.55; color: rgba(255, 255, 255, .9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.button-primary { background: var(--coral); color: #fff; }
.button-primary:hover { background: #d94c39; }
.button-secondary { border-color: rgba(255, 255, 255, .74); background: rgba(255, 255, 255, .12); color: #fff; }
.button-secondary:hover { background: #fff; color: var(--ink); }
.hero-place { position: absolute; right: max(24px, calc((100% - var(--max)) / 2)); bottom: 24px; margin: 0; color: rgba(255,255,255,.8); font-size: 13px; font-weight: 700; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.trust-strip span { padding: 20px; border-right: 1px solid var(--line); text-align: center; font-size: 13px; font-weight: 800; }
.trust-strip span:last-child { border-right: 0; }

.section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 150px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 58px; }
.section-heading > p { max-width: 220px; margin-bottom: 10px; color: var(--coral); }
.section-heading h2, .story-copy h2, .voices-head h2, .action-band h2 {
  max-width: 860px;
  margin: 0;
  font-size: 54px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}
.section-heading.compact { align-items: start; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(250px, auto));
  grid-auto-flow: dense;
  gap: 0;
  border: 1px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink);
}
.bento article { min-width: 0; }
.bento-main { grid-column: span 7; grid-row: span 2; position: relative; min-height: 520px; overflow: hidden; background: #203331; }
.bento-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.bento-main:hover img { transform: scale(1.04); }
.bento-copy { position: absolute; inset: auto 0 0; padding: 34px; background: rgba(12, 31, 30, .84); color: #fff; }
.bento h3 { margin: 0 0 12px; font-size: 27px; line-height: 1.2; }
.bento p { margin: 0; }
.bento-side { grid-column: span 5; grid-row: span 1; padding: 38px; display: flex; flex-direction: column; justify-content: end; border-left: 1px solid var(--ink); }
.bento-coral { background: var(--coral-soft); }
.bento-teal { border-top: 1px solid var(--ink); background: var(--teal-soft); }

.story { display: grid; grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
.story-copy { padding-top: 14px; }
.story-copy > p:first-child { color: var(--teal); }
.story-copy > p:last-child { max-width: 430px; margin-top: 28px; color: var(--muted); font-size: 18px; }
.story-list { display: grid; gap: 46px; }
.story-item { display: grid; grid-template-columns: minmax(180px, 300px) 1fr; align-items: center; gap: 28px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.story-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; transition: transform .7s ease; }
.story-item:hover img { transform: scale(1.025); }
.story-item strong { display: block; margin-bottom: 8px; font-size: 23px; line-height: 1.3; }
.story-item span { color: var(--muted); }

.accordion-section { padding-top: 110px; }
.horizontal-accordion { display: flex; min-height: 560px; overflow: hidden; border: 1px solid var(--ink); border-radius: 8px; background: var(--ink); }
.accordion-panel { position: relative; flex: 1; min-width: 0; overflow: hidden; background: #233a38 var(--panel-image) center / cover no-repeat; transition: flex .55s ease; }
.accordion-panel::before { content: ""; position: absolute; inset: 0; background: rgba(11, 31, 30, .72); transition: background-color .3s ease; }
.accordion-panel + .accordion-panel { border-left: 1px solid rgba(255,255,255,.4); }
.accordion-panel.is-active { flex: 3; }
.accordion-panel.is-active::before { background: rgba(11, 31, 30, .48); }
.accordion-panel button { position: absolute; z-index: 2; inset: 0; width: 100%; border: 0; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; background: transparent; color: #fff; cursor: pointer; text-align: left; }
.accordion-panel button strong { max-width: 260px; font-size: 28px; line-height: 1.15; }
.accordion-content { position: absolute; z-index: 3; left: 28px; right: 28px; bottom: 26px; max-width: 480px; color: rgba(255,255,255,.9); opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.accordion-panel.is-active .accordion-content { opacity: 1; transform: translateY(0); }
.accordion-content p { margin: 0; }

.voices { border-top: 1px solid var(--line); }
.voices-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.voices-head p { color: var(--coral); }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button { width: 46px; height: 46px; border: 1px solid var(--ink); border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer; font-size: 20px; }
.carousel-controls button:hover { background: var(--ink); color: #fff; }
.carousel { position: relative; min-height: 300px; margin-top: 72px; }
.quote { position: absolute; inset: 0; margin: 0; display: grid; align-content: center; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease, visibility .35s; }
.quote.is-active { opacity: 1; visibility: visible; transform: translateY(0); }
.quote p { max-width: 1000px; margin: 0; font-size: 42px; line-height: 1.25; font-weight: 600; }
.quote footer { margin-top: 30px; color: var(--muted); font-size: 14px; font-weight: 700; }

.action-band { display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 36px; padding: 76px max(24px, calc((100% - var(--max)) / 2)); background: var(--teal); color: #fff; }
.action-band img { width: 112px; height: 112px; border-radius: 8px; }
.action-band p { margin: 0 0 8px; color: #bde9e5; font-size: 13px; font-weight: 800; }
.action-band h2 { max-width: 730px; font-size: 42px; }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: var(--gold); }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 28px; padding: 56px max(24px, calc((100% - var(--max)) / 2)); background: #152321; color: #fff; }
.site-footer > div:first-child { display: flex; align-items: baseline; gap: 16px; }
.site-footer strong { font-size: 22px; }
.site-footer span, .site-footer p { color: #aebbb8; }
.site-footer p { grid-column: 1 / -1; margin: 0; font-size: 12px; }
.footer-links { display: flex; gap: 24px; font-size: 14px; font-weight: 700; }
.footer-links a:hover { color: var(--gold); }

/* Privacy policy */
.legal-page { background: #f8f6f3; }
.legal-shell { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 96px 0 140px; }
.legal-hero { display: flex; align-items: end; justify-content: space-between; gap: 50px; padding-bottom: 54px; border-bottom: 1px solid var(--ink); }
.legal-hero h1 { max-width: 920px; margin: 0; font-size: 72px; line-height: 1.05; letter-spacing: 0; }
.legal-hero > div > p:first-child { color: var(--coral); }
.legal-summary { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: 18px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.legal-meta strong { color: var(--ink); }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 820px); justify-content: space-between; gap: 84px; padding-top: 76px; }
.legal-toc { align-self: start; position: sticky; top: 108px; }
.legal-toc > strong { display: block; margin-bottom: 18px; font-size: 14px; }
.legal-toc nav { display: grid; border-left: 1px solid var(--line); }
.legal-toc a { padding: 6px 0 6px 18px; color: var(--muted); font-size: 13px; }
.legal-toc a:hover { color: var(--coral); }
.legal-document section { padding: 0 0 64px; scroll-margin-top: 100px; }
.legal-document h2 { margin: 0 0 22px; font-size: 30px; line-height: 1.25; }
.legal-document h3 { margin: 28px 0 8px; font-size: 17px; }
.legal-document p, .legal-document li { color: #43504e; }
.legal-document p { margin: 0 0 16px; }
.legal-document ul { margin: 0; padding-left: 22px; }
.legal-document li { margin-bottom: 10px; }
.legal-document a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.legal-meta a { color: var(--teal); }
.support-email { flex: 0 0 auto; }
.support-steps { margin: 18px 0 20px; padding-left: 24px; color: #43504e; }
.support-steps li { margin-bottom: 10px; padding-left: 4px; }
.permission-table { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 24px 0; background: var(--surface); }
.permission-table > div { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.permission-table > div:nth-child(2n) { border-right: 0; }
.permission-table > div:nth-last-child(-n+2) { border-bottom: 0; }
.permission-table p { margin: 8px 0 0; font-size: 14px; }

@media (max-width: 980px) {
  .hero h1 { font-size: 72px; }
  .section-heading h2, .story-copy h2, .voices-head h2 { font-size: 44px; }
  .story { grid-template-columns: 1fr; gap: 60px; }
  .story-copy > p:last-child { max-width: 680px; }
  .action-band { grid-template-columns: 86px 1fr; }
  .action-band img { width: 86px; height: 86px; }
  .action-band .button { grid-column: 2; justify-self: start; }
  .legal-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 48px; }
}

@media (max-width: 760px) {
  .site-nav { min-height: 66px; padding-inline: 18px; }
  .menu-button { display: block; }
  .nav-links { position: absolute; top: 65px; left: 0; right: 0; display: none; padding: 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .nav-links.is-open { display: grid; gap: 4px; }
  .nav-links a { padding: 12px 8px; }
  .nav-links .nav-action { margin-top: 6px; text-align: center; }
  .hero { min-height: 78svh; background-position: center; }
  .hero-copy { width: calc(100% - 36px); padding: 80px 0 106px; }
  .hero h1 { font-size: 54px; }
  .hero-lead { font-size: 18px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-place { right: 18px; bottom: 18px; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip span:nth-child(2) { border-right: 0; }
  .trust-strip span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { width: calc(100% - 36px); padding: 104px 0; }
  .section-heading, .voices-head { display: block; }
  .section-heading h2, .story-copy h2, .voices-head h2 { font-size: 38px; }
  .section-heading > p { max-width: none; }
  .bento { display: block; }
  .bento-main { min-height: 460px; }
  .bento-side { min-height: 230px; border-left: 0; border-top: 1px solid var(--ink); }
  .story-item { grid-template-columns: 1fr; gap: 20px; }
  .horizontal-accordion { display: grid; min-height: 0; }
  .accordion-panel, .accordion-panel.is-active { min-height: 170px; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.4); }
  .accordion-panel.is-active { min-height: 390px; }
  .accordion-panel:last-child { border-bottom: 0; }
  .accordion-panel button strong { font-size: 24px; }
  .carousel-controls { margin-top: 30px; }
  .carousel { min-height: 360px; margin-top: 36px; }
  .quote p { font-size: 30px; }
  .action-band { display: block; padding: 64px 18px; }
  .action-band img { margin-bottom: 28px; }
  .action-band h2 { font-size: 36px; }
  .action-band .button { margin-top: 30px; }
  .site-footer { display: block; padding: 48px 18px; }
  .site-footer > div:first-child { display: grid; gap: 2px; }
  .footer-links { margin: 28px 0; }
  .site-footer p { margin-top: 24px; }
  .legal-shell { width: calc(100% - 36px); padding: 68px 0 100px; }
  .legal-hero { display: block; }
  .legal-hero h1 { font-size: 46px; }
  .support-email { margin-top: 34px; }
  .legal-layout { display: block; padding-top: 48px; }
  .legal-toc { position: static; margin-bottom: 60px; }
  .permission-table { grid-template-columns: 1fr; }
  .permission-table > div, .permission-table > div:nth-child(2n), .permission-table > div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .permission-table > div:last-child { border-bottom: 0; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 46px; }
  .section-heading h2, .story-copy h2, .voices-head h2 { font-size: 34px; }
  .quote p { font-size: 27px; }
  .legal-hero h1 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
