:root {
  color-scheme: light;
  --bg: #fbf2e5;
  --ink: #321a10;
  --muted: #5e3a29;
  --accent: #854222;
  --line: #e3cab0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #a4451d; outline-offset: 3px; }
svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.symbols { position: absolute; width: 0; height: 0; }
.skip { position: absolute; top: .75rem; left: .75rem; z-index: 4; padding: .8rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.shell { width: min(100%, 53rem); margin: auto; padding: env(safe-area-inset-top) max(1.25rem, env(safe-area-inset-right)) calc(7rem + env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left)); }
.masthead, .brand, .site-link { display: flex; align-items: center; }
.masthead { justify-content: space-between; gap: .75rem; padding: 1.05rem 0 1.2rem; }
.brand { gap: .65rem; min-height: 3rem; line-height: 1.17; }
.brand small { display: block; color: var(--muted); font-size: .86rem; margin-top: .22rem; }
.brand-icon, .badge { display: grid; place-items: center; flex-shrink: 0; }
.brand-icon { width: 2.85rem; height: 2.85rem; border-radius: .95rem; background: #fff3df; }
.site-link { gap: .35rem; padding: .45rem .65rem; min-height: 2.8rem; font-weight: 700; border: 1px solid var(--line); border-radius: 2rem; background: white; }
.site-link svg { width: 1.05rem; height: 1.05rem; }
.hero { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(17.5rem, 55vw, 23rem); border-radius: 1.9rem; color: white; background: #482315; }
.hero-art, .hero-art::after, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -1; background: radial-gradient(ellipse at 86% 13%, #c28b56, #92502d 48%, #422316 85%); }
.hero-art img { object-fit: cover; object-position: center 45%; }
.hero-art::after { content: ""; background: linear-gradient(90deg, #2c140ce8 0%, #472215a8 56%, #47221528 100%), linear-gradient(0deg, #2c140c7a, transparent 70%); }
.hero-content { padding: clamp(1.2rem, 5vw, 2.75rem); }
.hero h1 { font-size: clamp(2.4rem, 9.5vw, 4.65rem); line-height: .96; letter-spacing: -.055em; margin: 0 0 1.2rem; }
.masses { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .55rem; background: #fff; color: #482315; min-height: 3.35rem; padding: .65rem .83rem; border-radius: 1rem; font-size: 1.06rem; font-weight: 750; }
.hero a:focus-visible { outline-color: white; outline-offset: 4px; }
.section { margin-top: 1.5rem; scroll-margin-top: 1rem; }
.section h2 { font-size: 1.55rem; line-height: 1.2; margin: 0 0 .75rem; letter-spacing: -.035em; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: .65rem; min-height: 8.05rem; padding: .85rem; border-radius: 1.22rem; border: 1px solid #49241120; }
.tile-top { display: flex; justify-content: space-between; align-items: center; }
.tile-top > svg { width: 1.15rem; height: 1.15rem; }
.badge { width: 2.45rem; height: 2.45rem; border-radius: .8rem; background: #ffffffb8; }
.tile strong { display: block; font-size: 1.2rem; line-height: 1.16; }
.tile small { display: block; margin-top: .22rem; color: var(--muted); font-size: .92rem; line-height: 1.25; }
.lilac { background: #f4d5a5; color: #512e13; }
.coral { background: #f2bfab; color: #652a1a; }
.mint { background: #e5c4a0; color: #4f301b; }
.blue { background: #f1dfca; color: #573521; }
.rows { list-style: none; margin: 0; padding: 0; background: white; border: 1px solid var(--line); border-radius: 1.1rem; }
.rows li + li { border-top: 1px solid var(--line); }
.rows a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem 1rem; min-height: 3.5rem; font-size: 1.03rem; font-weight: 650; }
.dock { position: fixed; inset: auto 0 0; z-index: 2; background: white; border-top: 1px solid var(--line); padding: .4rem max(.5rem, env(safe-area-inset-right)) calc(.4rem + env(safe-area-inset-bottom)) max(.5rem, env(safe-area-inset-left)); }
.dock nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .2rem; width: min(100%, 38rem); margin: auto; }
.dock a { min-height: 3.35rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .2rem; border-radius: .85rem; font-size: .84rem; font-weight: 700; color: var(--muted); overflow-wrap: anywhere; }
.dock a[aria-current] { background: #f7dfb9; color: #723413; }
@media (min-width: 48rem) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
  .tile { min-height: 9.25rem; padding: 1rem; }
}
@media (max-width: 24rem) {
  .shell { padding-inline: max(.8rem, env(safe-area-inset-left)) max(.8rem, env(safe-area-inset-right)); }
  .hero h1 { font-size: 2.35rem; }
  .tile { padding: .65rem; }
}
@media (max-width: 15rem) {
  .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.7rem; }
}
@media (hover: hover) {
  .tile:hover, .site-link:hover { border-color: #ac6741; }
  .rows a:hover, .dock a:hover { background: #f7dfb9; }
}
.photo-credit { margin-top: 1.2rem; color: var(--muted); line-height: 1.5; font-size: .86rem; }
.photo-credit a { text-decoration: underline; text-underline-offset: .15em; }

.brand-icon { width: 3.3rem; height: 3rem; border: 1px solid var(--line); }
.brand-icon img { width: 100%; height: 100%; object-fit: contain; padding: .18rem; }
.community-quick { display: flex; align-items: center; gap: .75rem; min-height: 3.8rem; margin-top: .75rem; padding: .7rem .9rem; color: #fff7ec; background: #713e27; border-radius: 1rem; font-size: 1.13rem; font-weight: 750; }
.community-quick svg:last-child { margin-left: auto; }
.community-join { margin: .85rem 0 1.15rem; }
.community-note { color: var(--muted); line-height: 1.5; }
.community h3 { margin-top: 1.15rem; }
.dock nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
