:root {
  color-scheme: light;
  --paper: #fbf8f1;
  --white: #fffdf8;
  --ink: #26251e;
  --muted: #625e53;
  --line: #e1d9ca;
  --accent: #963f2a;
  --accent-hover: #7b2e1c;
  --warm: #f1e7d9;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, .article-table:focus-visible { outline: 2px solid #bb634b; outline-offset: 4px; }
a, button, input { -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; line-height: 1.07; }
h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
[hidden] { display: none !important; }
img { display: block; width: 100%; object-fit: cover; }
.shell { width: min(1216px, calc(100% - 88px)); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 5; padding: .65rem 1rem; color: var(--ink); background: var(--white); border-radius: .4rem; }

.site-header { border-bottom: 1px solid #ebdfd0; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; text-decoration: none; width: fit-content; flex-shrink: 0; }
.mark {
  position: relative;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  overflow: hidden;
  border: 2px solid #dfb477;
  border-radius: 50%;
  background: #0c3b44;
}
.mark img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 39px;
  height: 39px;
  transform: translate(-50%, -50%);
  mask-image: radial-gradient(circle, #000 12px, transparent 13.5px);
}
.brand-text { display: grid; gap: .22rem; line-height: 1; }
.brand-text strong { font: 600 1.18rem/1 var(--serif); letter-spacing: -.035em; }
.brand-text small { font-size: .69rem; color: var(--accent); letter-spacing: .24em; font-weight: 750; }
.main-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3.5vw, 2.8rem); }
.main-nav a, .site-footer nav a { color: #403a32; text-decoration: none; font-size: .94rem; font-weight: 550; }
.main-nav a:hover, .main-nav a[aria-current], .site-footer nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .35em; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; padding: .6rem 1rem; color: white; background: var(--accent); font: 650 .9rem/1.25 var(--sans); white-space: nowrap; text-decoration: none; }
.button:hover { background: var(--accent-hover); }
.header-action { color: var(--accent); background: transparent; border-color: #b87563; }
.header-action:hover { color: white; }
.menu-toggle { display: none; }

.hero { isolation: isolate; position: relative; min-height: 503px; margin-block-start: 1.6rem; display: flex; align-items: center; overflow: hidden; border-radius: 20px; background: #38281d; color: #fffaf0; }
.hero:has(.city-suggestions:not([hidden])) { overflow: visible; z-index: 1; }
.hero-photo {
  border-radius: inherit;
  z-index: -1;
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, #21170f 0%, #21170f 40%, #21170f94 46%, #21170f00 55%), url('/assets/hero-refined.webp');
  background-position: center, calc(100% + clamp(40px, 4.25vw, 62px)) 42%;
  background-repeat: no-repeat;
  background-size: 100% 100%, max(66%, 755px) auto;
}
.hero-content { width: min(100%, 565px); padding: 3.25rem 1.4rem 3.35rem clamp(2rem, 5.4vw, 5rem); }
.hero h1 { font-size: clamp(3.4rem, 6.45vw, 6.1rem); line-height: .98; letter-spacing: -.065em; }
.hero h1 em { color: #f4c6a5; font-weight: 400; }
.hero p { margin: 1.4rem 0 1.55rem; max-width: 28rem; color: #fff2df; font-size: 1.07rem; line-height: 1.58; }

.city-search { display: flex; align-items: center; gap: .35rem; max-width: 31rem; min-height: 56px; padding: .35rem; border: 1px solid #e3d6c5; background: #fffdfa; border-radius: 10px; color: var(--ink); }
.search-icon { display: inline-block; position: relative; flex: none; width: 15px; height: 15px; margin: 0 .45rem 0 .55rem; border: 1.6px solid #7e6b5a; border-radius: 50%; }
.search-icon::after { content: ''; position: absolute; width: 6px; height: 1.6px; background: #7e6b5a; right: -4.5px; bottom: -2px; transform: rotate(45deg); border-radius: 3px; }
.city-search input { flex: 1; width: 100%; min-width: 0; color: var(--ink); font-size: .94rem; background: transparent; border: 0; padding: .55rem .15rem; border-radius: 4px; }
.city-search input::placeholder { color: #6e665d; opacity: 1; }
.hero .city-search { position: relative; }
.city-suggestions {
  position: absolute;
  z-index: 2;
  inset: calc(100% + .4rem) -1px auto;
  max-height: 16rem;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 25px #21170f33;
}
.city-suggestions ul { padding: 0; margin: 0; list-style: none; }
.city-suggestions li + li a { border-top: 1px solid var(--line); }
.city-suggestions li a { display: flex; align-items: center; min-height: 44px; padding: .55rem .85rem; text-decoration: none; }
.city-suggestions li a:hover, .city-suggestions li a:focus-visible { color: var(--accent); background: var(--warm); outline-offset: -3px; }
.no-city-suggestions { padding: .7rem .85rem; }
.no-city-suggestions a { color: var(--accent); text-underline-offset: .2em; }


.section { padding-block: clamp(3rem, 5vw, 4.75rem); }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.eyebrow, .meta { color: var(--accent); font: 750 .81rem/1.25 var(--sans); letter-spacing: .11em; text-transform: uppercase; }
.eyebrow { margin-bottom: .55rem; }
.text-link { color: var(--accent); font-size: .94rem; font-weight: 650; text-underline-offset: .25em; }
.text-link:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
.city-grid, .story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.city-card { isolation: isolate; min-height: 235px; position: relative; display: flex; align-items: end; justify-content: space-between; gap: .4rem; overflow: hidden; padding: 1.1rem 1.25rem; border-radius: 14px; background: #4b4932; color: #fffaf0; text-decoration: none; }
.city-card img { position: absolute; inset: 0; z-index: -2; height: 100%; transition: transform .32s ease; }
.city-card::after { position: absolute; inset: 0; z-index: -1; content: ''; background: linear-gradient(180deg, transparent 24%, #1c171269 55%, #211811ed 100%); }
.city-card:hover img, .city-card:focus-visible img { transform: scale(1.045); }
.city-card-caption span { font-size: .82rem; font-weight: 650; }
.city-card h3 { color: white; font-size: clamp(1.9rem, 3vw, 2.6rem); }
.city-card-action { margin-bottom: .25rem; color: #fff4e6; font-size: .81rem; text-decoration: underline; text-underline-offset: .25em; white-space: nowrap; }
.city-card:has(.city-card-note) { align-content: end; flex-wrap: wrap; }
.city-card-note { margin-top: .35rem; color: #fff4e6; font-size: .9rem; line-height: 1.35; }
.state-city-guides { margin: .75rem 0 0; padding: 0; list-style: none; }
.state-city-guides li + li { margin-top: .35rem; }

.journal { background: #f4ecdf; border-block: 1px solid #eadfce; }
.story-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem 1.35rem; }
.story-card-illustrated { padding: 0; }
.story-card-illustrated .story-card-copy { padding: 1.3rem 1.35rem; }
.story-thumbnail { display: block; aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; }
.story-card > .story-thumbnail { border-radius: 11px 11px 0 0; }
.story-card h3 { font-size: clamp(1.42rem, 2.3vw, 2rem); margin: .65rem 0 .6rem; }
.story-card h3 a { text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: #cdb5a3; }
.story-card h3 a:hover { color: var(--accent); text-decoration-color: currentColor; }
.story-card p:not(.meta) { color: var(--muted); font-size: .96rem; }
.scenario-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.scenario-card p:not(.meta), .scenario-feature p:not(.meta) { font-size: 1rem; }
.scenario-feature { grid-column: 1 / -1; overflow: hidden; padding: 0; }
.scenario-feature > img { height: clamp(10rem, 26vw, 20rem); object-position: center; }
.scenario-feature-copy { padding: clamp(1.25rem, 3.5vw, 2.25rem); }
.scenario-feature-copy h3 { font-size: clamp(1.9rem, 4vw, 3rem); }
.scenario-feature ol { display: flex; flex-wrap: wrap; gap: .9rem 2rem; margin: 1.15rem 0 0; padding: 1rem 0 0 1.3rem; border-top: 1px solid var(--line); }
.scenario-feature li { flex: 1 1 12rem; padding-inline-start: .25rem; }
.scenario-feature li::marker { color: var(--accent); font-weight: 700; }
.home-resources { padding-block: clamp(2rem, 5vw, 3.6rem); }
.home-guide-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.3rem; }
.home-guide-row + .home-guide-row { border-top: 1px solid var(--line); }
.home-guide-row h2 { font-size: clamp(1.5rem, 2.7vw, 2.2rem); }
.home-guide-row p { margin-top: .45rem; color: var(--muted); }
.home-guide-row .button { white-space: normal; }

@media (max-width: 660px) {
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-feature ol { display: grid; }
}

.inner-page { min-height: 58vh; padding-bottom: clamp(3rem, 7vw, 6rem); }
.crumbs { padding-block: 1.4rem .6rem; color: #665e52; font-size: .9rem; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: .28rem .65rem; }
.crumbs li + li::before { content: '/'; margin-right: .65rem; color: #958477; }
.crumbs a { color: #873925; text-underline-offset: .22em; }
.page-heading { padding-block: clamp(1.5rem, 4vw, 3.5rem) 1.8rem; }
.page-heading h1, .city-hero h1 { font-size: clamp(2.9rem, 6vw, 5.25rem); }
.page-heading > p:not(.eyebrow), .city-hero p:not(.eyebrow) { color: var(--muted); font-size: clamp(1.04rem, 1.8vw, 1.17rem); max-width: 40rem; margin-top: .7rem; }
.directory .city-search { margin-bottom: .9rem; }
.state-filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-chip { background: var(--white); color: #443a31; text-decoration: none; border: 1px solid var(--line); border-radius: 28px; min-height: 41px; padding: .46rem .8rem; font-size: .9rem; }
.filter-chip:hover, .filter-chip.selected { border-color: var(--accent); color: var(--accent); background: #fbede5; }
.result-count { color: var(--muted); min-height: 1.6em; margin: .9rem 0 .5rem; font-size: .9rem; }
.empty { background: var(--warm); border-radius: 12px; padding: 1rem 1.2rem; }
.state-links { margin-top: 2.5rem; }
.state-links h2 { font-size: 1.5rem; margin-bottom: .65rem; }
.state-links a + a { margin-left: 1rem; }
.city-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 3.25rem); padding: 1.1rem 0 0; }
.city-hero img { height: clamp(260px, 33vw, 385px); border-radius: 16px; }
.city-overview, .city-stories { margin-top: 2.6rem; }
.city-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.city-tip { padding: clamp(1.15rem, 2.6vw, 1.8rem); border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.city-tip h3 { font-size: clamp(1.4rem, 2.45vw, 2rem); }
.city-tip p { margin-top: .6rem; color: var(--muted); }
.city-tip ul { list-style: none; padding: 0; margin: .65rem 0 0; }
.city-tip li + li { margin-top: .2rem; }
.city-tip .resource-link { color: var(--muted); font-weight: 500; }
.city-tip .resource-link:hover { color: var(--accent-hover); }
.online-dating-action { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .65rem; }
.online-dating-action span { font-size: .875rem; }
.city-checked { margin-top: .65rem; color: var(--muted); font-size: .9rem; }
.city-stories .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-filters { display: flex; flex-wrap: wrap; gap: .85rem; align-items: end; padding: 1rem 1.2rem; background: var(--warm); border: 1px solid var(--line); border-radius: 12px; }
.guide-filters label { display: grid; gap: .25rem; font-size: .94rem; font-weight: 650; flex: 0 1 14rem; min-width: 0; }
.guide-filters select {
  appearance: none;
  min-height: 44px;
  width: 100%;
  padding: .45rem 2rem .45rem .7rem;
  border: 1px solid #a99a87;
  border-radius: 8px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23625e53' stroke-width='1.5'/%3E%3C/svg%3E") right .7rem center / 12px no-repeat;
  color: var(--ink);
  font-weight: 400;
}
.guide-section { margin-top: 1.25rem; }
.guide-section ~ .guide-section { margin-top: 2.75rem; }
.story-card .guide-date { margin-top: .55rem; }
.guide-section .section-title a { flex: 0 0 auto; }
.reading { max-width: 790px; margin-inline: auto; }
.article-cover { aspect-ratio: 16 / 9; width: 100%; height: auto; margin: 0 0 1.6rem; border-radius: 14px; background: var(--warm); }
.article-heading h1 { font-size: clamp(2.8rem, 5.5vw, 4.6rem); }
.page-heading > p.article-checked { color: var(--muted); font-size: .9rem; }
.article-overview, .article-index { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 1rem; }
.article-overview { background: var(--white); padding: 1.15rem clamp(1rem, 4vw, 1.5rem); }
.article-overview h2 { margin-bottom: .5rem; font-size: clamp(1.45rem, 2.5vw, 1.95rem); }
.article-overview ul, .article-index ul { margin: 0; padding-left: 1.2rem; }
.article-overview li + li, .article-index li + li { margin-top: .35rem; }
.article-index { background: var(--warm); margin-bottom: 1.65rem; }
.article-index summary { display: list-item; cursor: pointer; padding: .65rem 1rem; font-weight: 650; }
.article-index summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.article-index ul { margin: 0 1.1rem 1rem; }
.article-index a { color: var(--accent); text-underline-offset: .2em; }
.article-content h2[id] { scroll-margin-top: 1rem; }

.reading section { margin: 0 0 1.6rem; }
.reading section > h2, .article-content h2 { font-size: clamp(1.48rem, 3vw, 2.15rem); margin-bottom: .6rem; }
.reading section > p, .article-content > p { color: #4f493f; line-height: 1.78; margin-bottom: .5rem; }
.reading section > p a, .article-content a, .credits a { color: var(--accent); text-underline-offset: .23em; }
.article-content > p { margin-bottom: 1rem; }
.article-content h2 { margin-top: 2rem; }
.article-content h3 { margin: 1.35rem 0 .45rem; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.article-table { overflow-x: auto; margin-block: 1.25rem; border: 1px solid var(--line); border-radius: 10px; }
.article-table table { width: 100%; min-width: 32rem; border-collapse: collapse; background: var(--white); font-size: .94rem; }
.article-table th, .article-table td { text-align: left; vertical-align: top; padding: .7rem .85rem; }
.article-table th { background: var(--warm); }
.article-table tbody td { border-top: 1px solid var(--line); }
.article-related { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.credits { color: var(--muted); padding-left: 1.25rem; }
.credits li + li { margin-top: .45rem; }

.site-footer { background: #f7f0e4; border-top: 1px solid var(--line); }
.footer-main { display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 2.5rem 1.65rem; }
.footer-main p { margin-top: .65rem; color: var(--muted); font-size: .92rem; }
.footer-main nav { display: flex; gap: .55rem 1.1rem; align-items: flex-start; flex-wrap: wrap; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-block: 1rem 1.35rem; color: var(--muted); font-size: .82rem; }

@media (max-width: 1000px) {
  .hero { min-height: 570px; align-items: end; background: #21170f; }
  .hero-photo {
    background-image: linear-gradient(0deg, #21170f 0%, #21170f 18%, #21170fe0 33%, #21170f40 63%, transparent 83%), url('/assets/hero-refined.webp');
    background-position: center, 35% top;
    background-size: 100% 100%, max(100%, 670px) auto;
  }
}
@media (max-width: 890px) {
  .shell { width: calc(100% - 54px); }
  .city-grid, .story-grid { gap: .8rem; }
  .city-card { padding: .95rem; min-height: 195px; flex-wrap: wrap; align-content: end; align-items: end; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 68px; flex-wrap: wrap; gap: .7rem; padding-block: .65rem; }
  .header-action { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; min-height: 42px; padding: .4rem .75rem; background: transparent; color: var(--accent); border: 1px solid #b87563; border-radius: 8px; font-weight: 600; }
  .main-nav { width: 100%; flex-wrap: wrap; gap: .45rem 1.1rem; }
  .menu-toggle:not([hidden]) + .main-nav:not(.open) { display: none; }
  .main-nav a { padding-block: .35rem; }
  .hero { min-height: 510px; margin-top: .85rem; border-radius: 15px; }
  .hero-content { padding: 2rem 1.1rem 1.3rem; }
  .hero h1 { font-size: clamp(3rem, 11vw, 4.75rem); }
  .hero p { margin-block: .85rem 1rem; font-size: 1rem; }
  .section-title { align-items: end; gap: .65rem; }
  .section-title .text-link { max-width: 7.9rem; }
  .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-grid, .city-stories .story-grid, .city-hero, .city-overview-grid { grid-template-columns: 1fr; }
  .guide-filters label { flex: 1 1 8rem; }
  .city-hero img { height: clamp(200px, 52vw, 320px); }
  .footer-main { flex-direction: column; }
  .footer-main nav { flex-wrap: wrap; }
}
@media (max-width: 390px) {
  .hero-photo { background-size: 100% 100%, max(100%, 570px) auto; }
  .city-grid { grid-template-columns: 1fr; }
  .city-card { min-height: 187px; }
  .hero-content { padding-inline: .9rem; }
  .city-search .button { padding-inline: .55rem; }
}
@media (max-width: 360px) {
  .hero .search-icon { display: none; }
  .hero .city-search input { padding-left: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .city-card img { transition: none; }
}

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; }
.plan-card { display: flex; flex-direction: column; }
.plan-card dl { margin: .85rem 0 1rem; }
.plan-card dl > div { padding: .55rem 0; border-top: 1px solid var(--line); }
.plan-card dt { font-weight: 650; line-height: 1.4; }
.plan-card dd { margin: .22rem 0 0; color: var(--muted); }
.plan-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: .5rem .85rem; }
.state-city-note, .topic-note { color: var(--muted); padding-block: .75rem 0; }
.topic-note { margin-top: -.85rem; margin-bottom: 1rem; padding: 0; max-width: 44rem; }
.safety-resource { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1.25rem; padding: 1rem 1.25rem; margin: 0 0 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.safety-resource h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.safety-resource p { margin-top: .4rem; color: var(--muted); }
.safety-resource .story-thumbnail { flex: 0 1 8.5rem; width: min(100%, 8.5rem); border-radius: 8px; }
.safety-resource > div { flex: 1 1 17rem; }
.article-next-step { margin-block: 1.15rem; }
.article-next-step .button { color: #fff; white-space: normal; }
