.top .wordmark img { height: 2.5rem; }
:root {
  --app-surface: #222727;
  --app-text: #f6f5ef;
  --app-muted: #c1c6bf;
  --app-line: #636c62;
  --app-soft: #333a35;
  --photo-text: #fbfbf1;
  --photo-accent: #e6f4a4;
  --photo-shadow: #111612;
  --gate-glass: #202822dc;
}
:root[data-color="light"] {
  --app-surface: #f9f6ed;
  --app-text: #20241e;
  --app-muted: #4e574a;
  --app-line: #777f70;
  --app-soft: #e5e8da;
  --photo-text: #20241a;
  --photo-accent: #3b521f;
  --photo-shadow: #f6f2e5;
  --gate-glass: #f8f5e8e6;
}
.screen-reader-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.top .primary-nav {
  position: relative;
  z-index: 10;
  gap: .12rem;
  overflow: visible;
}
.primary-nav .main-tab {
  display: flex;
  gap: .48rem;
  align-items: center;
  justify-content: center;
  padding: .4rem .85rem;
  min-height: 2.75rem;
  color: var(--photo-text);
  font-size: .9rem;
  font-weight: 620;
  line-height: 1.2;
  border-radius: 2rem;
}
.main-tab[data-current], .main-more[open] > .main-tab { background: var(--interactive-fill); }
html.main-more-scroll-locked {
  overflow: hidden;
  overscroll-behavior: none;
}
html.main-more-scroll-locked body {
  position: fixed;
  inset: var(--main-more-scroll-top) 0 auto;
}
html.main-more-scroll-locked body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9;
  background: rgb(0 0 0 / 14%);
  opacity: 0;
  transition: opacity 200ms ease;
}
html.main-more-visible body::after { opacity: 1; }
/* Let the open menu sit above the backdrop while the other tabs stay behind it. */
html.main-more-scroll-locked .top .primary-nav {
  z-index: auto;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html.main-more-scroll-locked .main-more { z-index: 10; }
.main-more { position: relative; }
.main-more > summary { cursor: pointer; list-style: none; }
.main-more > summary::-webkit-details-marker { display: none; }
.more-links {
  position: absolute;
  z-index: 8;
  top: calc(100% + .65rem);
  right: 0;
  display: grid;
  min-width: min(15rem, 82vw);
  max-height: 65vh;
  overflow: auto;
  color: var(--app-text);
  border: 0;
  border-radius: 1.35rem;
  padding: .5rem;
  background: var(--app-surface);
  box-shadow: inset 0 1px #ffffff19, 0 12px 32px #0e14122e;
}
.main-more[data-menu-enhanced] > .more-links {
  opacity: 0;
  transform: translateY(-.2rem) scale(.985);
  transform-origin: top right;
  transition: opacity 200ms ease, transform 200ms cubic-bezier(.2, .7, .3, 1);
}
.main-more[data-menu-enhanced][data-menu-visible] > .more-links { opacity: 1; transform: none; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .more-links {
    background: color-mix(in srgb, var(--app-surface) 68%, transparent);
    -webkit-backdrop-filter: blur(21px) saturate(120%);
    backdrop-filter: blur(21px) saturate(120%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .main-more[data-menu-enhanced] > .more-links, html.main-more-scroll-locked body::after { transform: none; transition: none; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .more-links { background: var(--app-surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.primary-nav .more-links {
  max-height: max(0px, calc(var(--main-more-space, min(65vh, 100svh - 10rem)) - max(.5rem, env(safe-area-inset-bottom))));
  overscroll-behavior-y: contain;
}
.primary-nav .more-links a {
  display: flex;
  justify-content: flex-start;
  min-height: 2.75rem;
  border-radius: .9rem;
  color: inherit;
  white-space: normal;
}
.tab-icon { position: relative; display: inline-block; width: 1.02rem; height: 1.02rem; flex: 0 0 auto; }
.icon-read { border: 1.5px solid currentColor; border-radius: .2rem; }
.icon-read::after { content: ''; position: absolute; inset: 25% 22%; border-block: 1px solid; }
.icon-write { transform: rotate(40deg); }
.icon-write::before { content: ''; position: absolute; inset: 0 31% 16%; border: 1.5px solid; border-radius: .18rem .18rem .35rem .35rem; }
.icon-write::after { content: ''; position: absolute; inset: auto 14% -5%; border-bottom: 1.5px solid; transform: rotate(-40deg) translate(.19rem, .07rem); }
.icon-questions { border: 1.5px solid; border-radius: .35rem; height: .88rem; }
.icon-questions::before { content: ''; position: absolute; width: 5px; height: 5px; top: calc(100% - 2px); left: 2px; border-left: 1.5px solid; transform: skewY(-32deg); }
.icon-questions::after { content: ''; position: absolute; width: 2px; height: 2px; top: 45%; left: 47%; border-radius: 50%; background: currentColor; box-shadow: -4px 0, 4px 0; }
.icon-more::after { content: ''; position: absolute; width: 3px; height: 3px; top: 44%; left: 41%; border-radius: 50%; background: currentColor; box-shadow: -5px 0, 5px 0; }
.skip:focus { z-index: 30; }
body[data-holla-page="home"] .home-hero {
  display: grid;
  align-items: center;
  min-height: clamp(26rem, 63svh, 46rem);
  padding-block: clamp(2rem, 7vw, 5rem);
  color: var(--photo-text);
}
.home-hero-copy { max-width: 52rem; }
.home-hero h1 { font-size: clamp(2.55rem, 6.2vw, 5.8rem); line-height: 1.04; text-wrap: initial; }
.home-hero h1 em, [data-color="light"] .home-hero h1 em { color: var(--photo-accent); }
.home-hero .sub { color: var(--photo-text); max-width: 34rem; }
.home-hero .home-read { background: var(--app-surface); color: var(--app-text); }
.home-hero .button { min-height: 3.35rem; border-radius: 2rem; padding-inline: 1.35rem; }
body[data-holla-page="home"] .section-art::after {
  background: linear-gradient(90deg, #0f1612e3 0%, #10171497 48%, #11181210 100%),
              linear-gradient(0deg, #101714dc, #10171410 70%);
}
[data-color="light"] body[data-holla-page="home"] .section-art::after {
  background: linear-gradient(90deg, #f6f2e5f5 0%, #f6f2e5b0 42%, #f6f2e512 100%),
              linear-gradient(0deg, #f6f2e5d2, #f6f2e510 72%);
}
.home-discovery { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.home-prompt {
  display: grid; gap: .24rem; padding: clamp(1.05rem, 3vw, 1.7rem);
  border-radius: 1.35rem; color: var(--app-text); text-decoration: none;
  background: var(--app-surface); box-shadow: 0 14px 32px #0c11152e;
}
.home-prompt > span { color: var(--app-muted); font-size: .85rem; }
.home-prompt strong { font-size: clamp(1.24rem, 3vw, 1.9rem); font-weight: 620; letter-spacing: -.035em; }
.home-prompt small { font-size: .97rem; color: var(--app-muted); }
.home-prompt:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.home-topics { margin-top: 1rem; }
.home-topics > summary { cursor: pointer; padding-block: .75rem; }
.home-topics > .topic-grid { margin-top: .65rem; }
.home-stories { margin-top: 2.5rem; }
body[data-holla-page="age"] .section-art::after {
  background: linear-gradient(0deg, #151c17ba 0%, #151c1732 46%, #12191438 100%);
}
[data-color="light"] body[data-holla-page="age"] .section-art::after {
  background: linear-gradient(0deg, #f6f1dba6 0%, #f6f1db2e 52%, #f6f1db81 100%);
}
.age-stage { min-height: max(32rem, calc(100svh - 6rem)); display: grid; align-items: center; justify-items: center; }
.age-card {
  width: min(100%, 32rem);
  display: grid;
  gap: 1rem;
  padding: clamp(1.45rem, 5vw, 2.6rem);
  border: 1px solid var(--app-line);
  border-radius: 1.8rem;
  background: var(--app-surface);
  color: var(--app-text);
  box-shadow: inset 0 1px var(--reflected-light), 0 24px 70px #0a120d50;
}
@supports ((backdrop-filter: blur(25px)) or (-webkit-backdrop-filter: blur(25px))) {
  .age-card { background: var(--gate-glass); -webkit-backdrop-filter: blur(25px) saturate(135%); backdrop-filter: blur(25px) saturate(135%); }
}
.age-card h1 { max-width: 17ch; font-size: clamp(2rem, 5vw, 3.2rem); text-wrap: pretty; }
.age-card > p:not(.age-badge) { font-size: 1.04rem; }
.age-badge {
  justify-self: start;
  padding: .28rem .65rem;
  border: 1px solid var(--app-line);
  border-radius: 2rem;
  color: var(--app-text);
  font-size: .83rem;
  font-weight: 700;
}
.age-actions { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; margin-top: .35rem; }
.age-actions .age-decline { color: var(--app-text); border: 1px solid var(--app-line); }
body[data-holla-page="age"] .top .theme { margin-inline-start: auto; }
.age-actions .button, .contact-form .button { min-height: 3.15rem; }
.reading-shell { max-width: 49rem; margin-inline: auto; }
.reading-nav { margin: 0 0 .8rem; color: var(--photo-text); }
.reading-nav a { min-height: 2.75rem; display: inline-flex; align-items: center; }
.reading-shell .stack { gap: 1rem; }
.reading-card.quote {
  overflow: visible;
  padding: clamp(1.15rem, 5vw, 2.4rem);
  background: var(--app-surface);
  color: var(--app-text);
  box-shadow: 0 10px 32px #0c11152e, inset 0 3px var(--card-tint, var(--app-line));
}
.reading-card-head { display: flex; justify-content: space-between; align-items: center; gap: .65rem; margin-bottom: .7rem; }
.reading-card-head .eyebrow { margin: 0; color: var(--app-muted); }
.reading-card .quote-text { color: inherit; max-width: 64ch; font-size: clamp(1.06rem, 2.15vw, 1.25rem); font-weight: 450; line-height: 1.67; letter-spacing: -.012em; white-space: normal; }
.reading-card .quote-text p { white-space: pre-line; overflow-wrap: anywhere; margin: 0; }
.reading-card .quote-text p + p { margin-top: .9em; }
.reading-card-full .quote-text { font-size: clamp(1.14rem, 2.3vw, 1.35rem); }
.reading-card .quote-meta { color: var(--app-muted); margin-top: 1.15rem; align-items: center; font-size: .92rem; }
.reading-card .quote-meta a { color: var(--app-text); min-height: 2.75rem; display: inline-flex; align-items: center; }
.reading-card .story-disclaimer { color: var(--app-muted); }
.reading-reactions { margin-top: 1rem; }
.bookmark-control { flex: 0 0 auto; }
.bookmark {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  color: var(--app-text);
  background: var(--app-soft); border: 1px solid transparent; border-radius: .85rem;
  cursor: pointer;
}
.bookmark[aria-pressed="true"] { background: var(--accent); color: #22291a; }
.bookmark-icon {
  width: .8rem; height: .99rem; background: currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 73%, 0 100%, 0 0, 15% 11%, 15% 76%, 50% 57%, 85% 76%, 85% 11%, 15% 11%);
}
.bookmark[aria-pressed="true"] .bookmark-icon { clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 73%, 0 100%); }
.saved-panel { max-width: 44rem; }
.saved-list { margin: 0; padding: 0; list-style: none; }
.saved-list li { display: flex; gap: .65rem; justify-content: space-between; align-items: center; padding-block: .55rem; border-top: 1px solid var(--app-line); }
.saved-list li a { padding-block: .65rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1rem; align-items: start; margin-top: 1.25rem; }
.contact-layout .panel, .saved-panel, .reading-reactions { background: var(--app-surface); color: var(--app-text); }
.contact-layout .panel .muted { color: var(--app-muted); }
.contact-form textarea { min-height: 8rem; }
.contact-form select {
  appearance: none;
  min-height: 2.85rem;
  padding: .55rem 2.25rem .55rem .85rem;
  color: var(--app-text);
  background: linear-gradient(45deg, transparent 50%, currentColor 50%) calc(100% - 1rem) 53% / .35rem .35rem no-repeat,
              linear-gradient(135deg, currentColor 50%, transparent 50%) calc(100% - .67rem) 53% / .35rem .35rem no-repeat, var(--app-soft);
  border-radius: .7rem;
}
.contact-form :is(input:not([type="checkbox"]), select, textarea) { border-color: var(--app-line); }
.contact-help h2 { font-size: 1.35rem; }
.contact-help details { border-top: 1px solid var(--app-line); }
.contact-help summary { min-height: 2.75rem; padding-block: .65rem; cursor: pointer; }
.contact-help details p { margin-bottom: .45rem; }
@media (max-width: 42rem) {
  .top.wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    padding-top: max(.65rem, env(safe-area-inset-top));
    padding-bottom: .4rem;
  }
  .top .wordmark img { height: 2.15rem; }
  .top .theme { grid-column: 2; grid-row: 1; justify-self: end; }
  .top .primary-nav {
    flex-wrap: nowrap;
    grid-column: 1 / -1; width: 100%;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .14rem;
    padding: .34rem; border-radius: 1.38rem; background: color-mix(in srgb, var(--app-surface) 94%, transparent);
    border: 1px solid var(--app-line);
  }
  .primary-nav .main-tab {
    flex-direction: column; padding: .35rem .18rem; width: 100%; gap: .28rem;
    font-size: .72rem; font-weight: 650; text-align: center; white-space: normal; overflow-wrap: anywhere;
    border-radius: 1.03rem; min-height: 3.05rem; color: var(--app-text);
  }
  .primary-nav .main-tab[aria-current], .primary-nav .main-tab[data-current] { background: var(--app-soft); }
  .more-links { top: calc(100% + .45rem); }
  body:not([data-holla-page="age"]) .holla-editor-bar { bottom: max(.75rem, env(safe-area-inset-bottom)); }
  body[data-holla-page="home"] .home-hero { min-height: clamp(22rem, 59svh, 34rem); padding-block: 2.6rem 2.4rem; }
  .home-hero h1 { font-size: clamp(2.45rem, 9.8vw, 3.8rem); }
  .home-hero h1 br { display: none; }
  .home-hero .sub { font-size: 1rem; max-width: 27ch; margin-top: 1rem; }
  .home-hero .actions { margin-top: 1.4rem; }
  .home-hero .button { padding-inline: 1rem; }
  .home-discovery { grid-template-columns: 1fr; }
  body[data-holla-page="age"] { padding-bottom: 0; }
  .age-stage { min-height: max(27rem, calc(100svh - 4.5rem)); padding-block: 2rem max(1rem, env(safe-area-inset-bottom)); align-items: end; }
  .age-actions { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .reading-card .quote-meta { margin-top: .76rem; }
}
@media (max-width: 23rem) {
  .home-hero .actions, .age-actions { display: grid; grid-template-columns: 1fr; align-items: stretch; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .age-card, .top .primary-nav { background: var(--app-surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
