:root {
  color-scheme: dark;
  --black: #000;
  --surface: #080808;
  --surface-raised: #0e0e0e;
  --text: #f5f5f5;
  --muted: #a8a8a8;
  --line: #2a2a2a;
  --line-strong: #555;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -5rem;
  left: 1rem;
  padding: .7rem 1rem;
  color: var(--black);
  background: var(--text);
}

.skip-link:focus {
  top: 1rem;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: 76px;
  padding: 0 clamp(1rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2rem;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  width: fit-content;
}

.brand-mark {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy b {
  font-size: .8rem;
  letter-spacing: .18em;
}

.brand-copy small {
  margin-top: .28rem;
  color: var(--muted);
  font-size: .54rem;
  letter-spacing: .14em;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.4rem);
}

.site-nav a {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.profile-card a:hover,
.profile-card a:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: .3em;
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 0;
  padding: clamp(5rem, 9vw, 9rem) clamp(1rem, 6vw, 6rem) 0;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.hero-copy {
  max-width: 790px;
}

.kicker,
.section-index,
.hero-card-label,
.profile-card-copy > p:first-child,
.copy-block > p:first-child,
.local-sticky > p:first-child,
.preference-item > span,
.guide-card > span,
.faq-heading > p,
.closing-inner > p,
.profile-copy-section aside > p,
.profile-story header > p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.kicker span {
  color: var(--text);
}

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

h1,
h2,
h3 {
  line-height: 1.06;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 em,
h2 em {
  color: var(--muted);
  font-weight: 400;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  letter-spacing: -.045em;
}

.hero h1 strong,
.hero h1 em {
  display: block;
}

.hero h1 strong {
  font-weight: 400;
}

.hero h1 em {
  margin-top: .18em;
  font-size: .5em;
}

.hero-lead {
  max-width: 760px;
  margin: 2.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.17rem);
}

.hero-lead strong,
.editorial strong,
.local-copy strong,
.preference-item strong,
.guide-card strong,
.faq strong,
.profile-prose strong,
.story-prose strong {
  color: var(--text);
  font-weight: 650;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.button {
  min-height: 48px;
  padding: .75rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  border: 1px solid var(--line-strong);
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.button-primary {
  color: var(--black);
  background: var(--text);
  border-color: var(--text);
}

.button-light {
  color: var(--text);
  background: transparent;
}

.button:hover,
.button:focus-visible {
  color: var(--text);
  background: var(--surface-raised);
  border-color: var(--text);
  text-decoration: none;
}

.text-link {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
}

.hero-note {
  max-width: 650px;
  margin-top: 3rem;
  padding: 1rem 0 1rem 1.2rem;
  border-left: 1px solid var(--line-strong);
}

.hero-note p {
  margin: 0;
  color: var(--muted);
  font-size: .83rem;
}

.pulse {
  display: none;
}

.hero-card {
  padding: 2rem 0;
  color: var(--text);
  background: transparent;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.hero-card h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.hero-card > p:not(.hero-card-label) {
  color: var(--muted);
}

.hero-card-options {
  margin: 1.6rem 0;
  display: grid;
}

.hero-card-options span {
  padding: .55rem 0;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  font-size: .72rem;
}

.hero-card-foot {
  margin-bottom: 0;
  font-size: .82rem;
}

.local-ribbon {
  width: min(1240px, 100%);
  margin: clamp(4rem, 8vw, 8rem) auto 0;
  padding: 1.1rem 0;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.local-ribbon i {
  display: none;
}

.section,
.profile-directory,
.editorial,
.local-focus,
.preferences,
.guide,
.faq,
.closing {
  padding: clamp(4.5rem, 9vw, 9rem) clamp(1rem, 6vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.section-soft,
.section-dark {
  color: var(--text);
  background: var(--black);
}

.section-heading,
.editorial-intro,
.preference-heading,
.guide-heading,
.faq-heading,
.closing-inner {
  width: min(1240px, 100%);
  margin: 0 auto clamp(3rem, 6vw, 6rem);
}

.section-heading h2,
.editorial-intro h2,
.preference-heading h2,
.guide-heading h2,
.faq-heading h2,
.closing-inner h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  letter-spacing: -.035em;
}

.section-heading > p:last-child,
.editorial-intro > p:last-child,
.preference-heading > p:last-child,
.guide-heading > p:last-child,
.faq-heading > p:last-child {
  max-width: 720px;
  margin: 1.8rem 0 0;
  color: var(--muted);
}

.profile-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem 1.5rem;
}

.profile-card {
  min-width: 0;
  background: transparent;
  border-top: 1px solid var(--line-strong);
}

.profile-card-image {
  position: relative;
  aspect-ratio: 4 / 5;
  display: block;
  overflow: hidden;
  background: var(--surface);
}

.profile-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(100%);
}

.profile-card-number {
  position: absolute;
  right: .8rem;
  bottom: .65rem;
  color: #fff;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-shadow: 0 1px 5px #000;
}

.profile-card-copy {
  padding: 1.25rem 0 0;
}

.profile-card-copy > p:first-child {
  margin-bottom: .55rem;
}

.profile-card-copy h3 {
  margin: 0 0 .75rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2vw, 2.1rem);
  font-weight: 400;
}

.profile-card-copy > p:not(:first-child) {
  margin-bottom: .8rem;
  color: var(--muted);
  font-size: .86rem;
}

.profile-card-link {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.editorial-columns,
.local-layout,
.preference-list,
.guide-grid,
.guide-bridge,
.faq-list {
  width: min(1240px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.editorial-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 7rem);
}

.copy-block {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.copy-block h3 {
  margin: 0 0 1.2rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
  font-weight: 400;
}

.copy-block p,
.editorial-copy p,
.local-copy p,
.preference-item p,
.guide-card p,
.faq-list p {
  color: var(--muted);
}

.local-layout {
  display: grid;
  grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.local-sticky {
  position: sticky;
  top: 108px;
  align-self: start;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
}

.local-sticky h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
}

.local-copy {
  max-width: 760px;
}

.local-copy h3,
.guide-bridge h3 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  font-weight: 400;
}

.preference-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.preference-item {
  min-height: 260px;
  padding: 2rem 1.5rem 2rem 0;
  border-bottom: 1px solid var(--line);
}

.preference-item:not(:nth-child(3n + 1)) {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.preference-item h3,
.guide-card h3 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  font-weight: 400;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.guide-card {
  min-height: 290px;
  padding: 2rem 2rem 2rem 0;
  border-bottom: 1px solid var(--line);
}

.guide-card:nth-child(even) {
  padding-right: 0;
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.guide-bridge {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
}

.faq {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.faq-heading,
.faq-list {
  width: 100%;
  margin: 0;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 1.25rem 2.5rem 1.25rem 0;
  display: block;
  position: relative;
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 1.25rem;
  right: 0;
  color: var(--muted);
  content: "+";
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 0 1.4rem;
}

.profile-terms {
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  gap: .6rem 1.2rem;
  flex-wrap: wrap;
  list-style: none;
}

.profile-terms li {
  color: var(--muted);
  font-size: .72rem;
}

.closing {
  text-align: left;
}

.closing-inner {
  margin-bottom: 0;
}

.closing-inner .button {
  margin-top: 2rem;
}

.site-footer {
  min-height: 150px;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  color: var(--muted);
  background: var(--black);
  font-size: .72rem;
}

.brand-footer {
  color: var(--text);
}

.footer-location {
  margin: 0;
  letter-spacing: .12em;
}

.profile-hero {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 6vw, 6rem);
  background: var(--black);
  border-bottom: 1px solid var(--line);
}

.profile-hero-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.profile-portrait {
  background: var(--surface);
}

.profile-portrait img {
  width: 100%;
  max-height: 72vh;
  display: block;
  object-fit: cover;
  filter: grayscale(100%);
}

.profile-intro h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.8rem, 6vw, 6rem);
  letter-spacing: -.035em;
}

.profile-intro > p:not(.kicker) {
  max-width: 650px;
  color: var(--muted);
}

.profile-intro .button {
  margin-top: 1rem;
}

.profile-copy-section,
.profile-story {
  padding: clamp(4.5rem, 9vw, 9rem) clamp(1rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr);
  gap: clamp(3rem, 8vw, 8rem);
  border-bottom: 1px solid var(--line);
}

.profile-copy-section > *,
.profile-story > * {
  width: min(760px, 100%);
}

.profile-copy-section aside,
.profile-story header {
  width: 100%;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-strong);
}

.profile-copy-section aside h2,
.profile-story header h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
}

.profile-copy-section aside span {
  color: var(--muted);
  font-size: .64rem;
  letter-spacing: .12em;
}

.profile-prose,
.story-prose {
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.profile-prose p,
.story-prose p {
  margin-bottom: 1.4rem;
}

.profile-return {
  padding: 3rem clamp(1rem, 6vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.reveal,
.reveal-delay,
.reveal.is-visible {
  opacity: 1;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--black);
}

.error-page .closing {
  width: 100%;
  border: 0;
}

.error-page .closing-inner h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 400;
  line-height: .85;
}

@media (max-width: 980px) {
  .hero-grid,
  .profile-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 720px;
  }

  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 68px;
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    padding: .5rem 0;
    display: block;
    color: var(--text);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .1em;
  }

  .menu-toggle > span:not(.sr-only) {
    display: none;
  }

  .menu-toggle .sr-only {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
  }

  .site-nav {
    position: fixed;
    inset: 68px 0 auto;
    padding: 1.4rem 1rem;
    display: none;
    background: var(--black);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: grid;
    justify-items: start;
  }

  .profile-nav {
    position: static;
    padding: 0;
    display: flex;
    background: transparent;
    border: 0;
  }

  .editorial-columns,
  .local-layout,
  .profile-copy-section,
  .profile-story {
    grid-template-columns: 1fr;
  }

  .local-sticky {
    position: static;
  }

  .preference-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preference-item:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  .preference-item:nth-child(even) {
    padding-left: 1.5rem;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 580px) {
  body {
    font-size: 15px;
  }

  .brand-copy small,
  .profile-nav a:last-child {
    display: none;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .profile-grid,
  .preference-list,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .preference-item,
  .preference-item:nth-child(even),
  .guide-card,
  .guide-card:nth-child(even) {
    min-height: 0;
    padding: 1.5rem 0;
    border-left: 0;
  }

  .local-ribbon {
    display: grid;
    gap: .35rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .site-footer > p {
    margin: 0;
  }
}

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