/* Seattle Feeder Safety — shared styles. Layout: one centered column (max 1200px) with a 16–64px gutter; every row of buttons is a grid that drops to fewer columns on phones. */
:root {
  --ground: #F5F1EA;
  --surface: #FFFFFF;
  --ink: #1F1813;
  --muted: #5E534A;
  --line: #E2D9CC;
  --brown: #2A170E;
  --brown-2: #3A2215;
  --brown-3: #4A2D1D;
  --brown-line: #6B5040;
  --on-brown: #FFFFFF;
  --on-brown-muted: #E8DCCD;
  --gold: #F2B01E;
  --gold-ink: #1F1813;
  --tint: #F7E7C2;
  --tint-ink: #5A3A12;
  --link: #7A4A0E;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.5; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1; margin: 0; text-wrap: balance; }
.wrap { width: 100%; max-width: 1312px; margin: 0 auto; padding-inline: var(--gutter); }
svg.i { width: 26px; height: 26px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-head { background: var(--brown); color: var(--on-brown); border-bottom: 4px solid var(--gold); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 60px; height: 61px; }
.brand b { display: block; font-family: var(--display); font-size: clamp(22px, 3vw, 30px); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; }
.brand small { display: block; font-size: 15px; color: var(--on-brown-muted); }
.call-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px; border-radius: 12px; background: var(--gold); color: var(--gold-ink); font-weight: 700; font-size: 19px; }
.nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; padding-bottom: 20px; }
.nav a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; padding: 0 10px; border-radius: 12px; background: var(--brown-2); border: 2px solid var(--brown-line); font-weight: 700; font-size: 19px; text-align: center; }
.nav a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.nav a:hover { text-decoration: none; border-color: var(--gold); }
@media (max-width: 1000px) { .nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .nav a { font-size: 17px; min-height: 58px; } .call-btn { width: 100%; justify-content: center; } }

/* Page hero (sub pages) */
.page-hero { background: var(--brown-2); color: var(--on-brown); padding-block: 48px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.page-hero h1 { font-size: clamp(44px, 7vw, 76px); }
.page-hero p { margin: 0; color: var(--on-brown-muted); font-size: 20px; max-width: 40em; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 10px; border: 2px solid var(--brown-line); font-weight: 700; }

/* Sections */
.section { padding-block: 56px; }
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(36px, 5vw, 52px); }
.section-head p { margin: 0; color: var(--muted); font-size: 19px; }

/* 12 Weeks hero */
.weeks { background: var(--brown-2); color: var(--on-brown); padding-block: 56px; }
.weeks-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.weeks-text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pill { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-weight: 700; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.weeks-when { font-weight: 700; color: var(--on-brown-muted); font-size: 18px; }
.weeks h1 { font-size: clamp(44px, 7.5vw, 88px); line-height: 0.95; }
.weeks-summary { margin: 0; font-size: 21px; color: var(--on-brown-muted); max-width: 38em; }
.kp { display: flex; flex-direction: column; gap: 12px; max-width: 46em; }
.kp div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 18px; border-radius: 12px; background: var(--brown-3); font-weight: 600; font-size: 20px; }
.kp b { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: flex; align-items: center; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 0 26px; border-radius: 12px; font-weight: 700; font-size: 19px; }
.btn.gold { background: var(--gold); color: var(--gold-ink); }
.btn.line { border: 3px solid #A8927C; color: var(--on-brown); }
.btn.dark { background: var(--brown); color: var(--on-brown); }
.badge { width: 260px; height: 260px; border-radius: 50%; background: var(--brown-3); border: 6px solid var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.badge span { font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-brown-muted); }
.badge strong { font-family: var(--display); font-size: 130px; line-height: 0.9; color: var(--gold); }
.week-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 40px; padding-top: 32px; border-top: 2px solid var(--brown-line); }
.week-grid button { min-height: 96px; border-radius: 14px; border: 2px solid var(--brown-line); background: var(--brown); color: var(--on-brown-muted); font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px; }
.week-grid button .n { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; }
.week-grid button .d { font-size: 15px; font-weight: 600; }
.week-grid button.done { background: var(--brown-3); color: var(--on-brown); }
.week-grid button.now { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.week-grid button[aria-pressed="true"] { border: 4px solid #FFFFFF; }
.grid-label { margin: 0 0 14px; font-weight: 700; color: var(--on-brown-muted); }
@media (max-width: 860px) { .weeks-top { grid-template-columns: minmax(0, 1fr); } .badge { width: 150px; height: 150px; border-width: 5px; } .badge strong { font-size: 72px; } .badge span { font-size: 13px; } .week-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .week-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .kp div { font-size: 18px; } }

/* Tiles and cards */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiles { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.tile { display: flex; align-items: center; gap: 20px; min-height: 130px; padding: 20px 26px; background: var(--surface); border: 2px solid var(--line); border-radius: 18px; }
.tile:hover { text-decoration: none; border-color: var(--link); }
.tile .ic { width: 68px; height: 68px; flex-shrink: 0; border-radius: 16px; background: var(--tint); color: var(--tint-ink); display: flex; align-items: center; justify-content: center; }
.tile .ic svg.i { width: 36px; height: 36px; }
.tile strong { display: block; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.05; }
.tile span { display: block; color: var(--muted); font-size: 17px; }
.tile.dark { background: var(--brown); border-color: var(--brown); color: var(--on-brown); }
.tile.dark span { color: var(--on-brown-muted); }
.tile.dark .ic { background: var(--gold); color: var(--gold-ink); }
.tile .num { font-family: var(--display); font-weight: 700; font-size: 32px; font-variant-numeric: tabular-nums; }
.ic.yt { background: #C4302B; color: #FFF; } .ic.ig { background: #C13584; color: #FFF; } .ic.fb { background: #1877F2; color: #FFF; }
.more { display: inline-block; margin-top: 20px; font-weight: 700; color: var(--link); font-size: 19px; }

/* Video band */
.band { background: var(--brown); color: var(--on-brown); padding-block: 64px; }
.band .section-head p { color: var(--on-brown-muted); }
.vids { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; }
@media (max-width: 760px) { .vids { grid-template-columns: minmax(0, 1fr); } }
.vid { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 18px; background: var(--brown-2); }
.vid .lbl { font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-brown-muted); }
.vid .thumb { aspect-ratio: 16 / 9; max-width: 100%; border-radius: 12px; background: #1A0E08; display: flex; align-items: center; justify-content: center; }
.vid .thumb.tall { aspect-ratio: 4 / 5; }
.vid .play { width: 84px; height: 84px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: flex; align-items: center; justify-content: center; }
.vid .play svg { width: 36px; height: 36px; fill: currentColor; }
.vid strong { font-family: var(--display); font-size: 28px; line-height: 1.1; }

/* Committee */
.committee { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; }
@media (max-width: 900px) { .committee { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.committee-intro { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.committee-intro p { margin: 0; color: #3F362F; font-size: 19px; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start; }
@media (max-width: 560px) { .people { grid-template-columns: minmax(0, 1fr); } }
.person { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--surface); border: 2px solid var(--line); border-radius: 16px; }
.person i { width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%; background: var(--brown-2); color: var(--gold); display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; }
.person b { display: block; font-size: 19px; }
.person span { display: block; color: var(--muted); font-size: 16px; }
.meeting { width: 100%; padding: 20px 22px; border-radius: 16px; background: var(--surface); border: 2px solid var(--line); }
.meeting small { display: block; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-size: 14px; }
.meeting strong { display: block; font-family: var(--display); font-size: 30px; }

/* Lists of buttons (resources, sleeper) */
.group { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; padding-block: 36px; border-top: 2px solid var(--line); }
.group:first-child { border-top: 0; }
@media (max-width: 800px) { .group { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.group small { display: block; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--link); font-size: 14px; }
.group h2 { font-size: 36px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 100px; padding: 20px 24px; border-radius: 16px; background: var(--surface); border: 2px solid var(--line); }
.card:hover { text-decoration: none; border-color: var(--link); }
.card b { font-size: 22px; }
.card span { color: var(--muted); font-size: 17px; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.chips a { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 0 12px; border-radius: 12px; background: var(--surface); border: 2px solid var(--line); font-weight: 700; font-size: 18px; text-align: center; }
.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 14px; background: #FFF4D6; border: 2px solid #E9C877; color: #4A3208; font-size: 18px; }

/* Locations */
.filters { display: inline-flex; flex-wrap: wrap; gap: 12px; padding: 8px; border-radius: 14px; background: #EAE3D8; }
.filters button { min-height: 56px; padding: 0 26px; border: 0; border-radius: 10px; background: transparent; color: #3F362F; font: 700 19px var(--body); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--brown); color: var(--on-brown); }
.locs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 28px; }
.loc { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; border-radius: 16px; background: var(--surface); border: 2px solid var(--line); }
.loc:hover { text-decoration: none; border-color: var(--link); }
.loc .top { display: flex; justify-content: space-between; color: var(--muted); font-weight: 700; font-size: 16px; }
.loc .code { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; }
.loc .go { color: var(--link); font-weight: 700; }

/* Footer */
.site-foot { background: var(--brown); color: var(--on-brown-muted); padding-block: 56px 40px; text-align: center; }
.site-foot .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.site-foot img { width: 84px; height: 85px; }
.sign { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.4vw, 32px); text-transform: uppercase; color: var(--on-brown); }
.sign em { font-style: normal; color: var(--gold); }
.social { display: flex; gap: 16px; }
.social a { width: 56px; height: 56px; border-radius: 50%; background: var(--brown-2); color: var(--on-brown); display: flex; align-items: center; justify-content: center; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-weight: 600; color: var(--on-brown); }
.site-foot small { font-size: 15px; color: #A8927C; }
.site-foot small a { color: var(--on-brown-muted); }
@media (max-width: 480px) { .week-grid button .n { font-size: 24px; } .week-grid button { min-height: 80px; } }

/* ===== Added for the full-site rebuild (all Google Sites pages) ===== */
[hidden] { display: none !important; }
.hero-row { display: flex; flex-direction: row !important; align-items: center !important; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hero-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; min-width: 0; }
.hero-img { width: clamp(96px, 16vw, 180px); height: auto; border-radius: 16px; }
.page-hero h1 { overflow-wrap: anywhere; }
.content .wrap { display: flex; flex-direction: column; gap: 32px; }
.row { display: grid; gap: 28px; align-items: start; }
.row.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.row.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.row.cols-many { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
@media (max-width: 860px) { .row.cols-3, .row.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .row.cols-2, .row.cols-3, .row.cols-4 { grid-template-columns: minmax(0, 1fr); } }
.col { display: flex; flex-direction: column; gap: 14px; min-width: 0; align-items: flex-start; }
.col h2 { font-size: clamp(30px, 4vw, 40px); }
.col h3 { font-size: 26px; }
.col p { margin: 0; font-size: 19px; overflow-wrap: anywhere; }
.col p a, .col li a { color: var(--link); text-decoration: underline; }
.col ul { margin: 0; padding-left: 1.2em; }
.col .btn { min-height: 56px; text-align: center; }
.col .btn svg.i { width: 20px; height: 20px; }
.img-link { display: block; width: 100%; }
.img-link img { display: block; width: 100%; height: auto; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); }
.img-link:hover img { border-color: var(--link); }
.embed { position: relative; width: 100%; max-width: 100%; border-radius: 14px; overflow: hidden; border: 2px solid var(--line); background: var(--surface); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed.video { aspect-ratio: 16 / 9; }
.embed.map { aspect-ratio: 4 / 3; }
.embed.doc { aspect-ratio: 8.5 / 11; max-height: 80vh; }
.embed.cal { aspect-ratio: 16 / 10; min-height: 420px; max-height: 640px; }
.embed.login { aspect-ratio: 4 / 3; min-height: 420px; max-width: 560px; }
.small-link { display: inline-flex; align-items: center; gap: 8px; color: var(--link); font-weight: 700; }
.small-link svg.i { width: 20px; height: 20px; }
.map-btn { width: 100%; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.link-tile { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 14px 20px; background: var(--surface); border: 2px solid var(--line); border-radius: 14px; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.05; }
.chip-grid .link-tile { min-height: 64px; font-size: 22px; justify-content: center; text-align: center; }
.chip-grid .link-tile b { display: none; }
.link-tile:hover { text-decoration: none; border-color: var(--link); }
.link-tile b { color: var(--link); font-size: 32px; }
.link-tile svg.i { width: 20px; height: 20px; color: var(--link); }
.empty { font-size: 20px; color: var(--muted); }
.mission-label { font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 15px; color: var(--muted); margin-bottom: -8px !important; }
.vids.embeds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .vids.embeds { grid-template-columns: minmax(0, 1fr); } }
.vidbox { display: flex; flex-direction: column; gap: 10px; }
.vidbox .embed { border-color: var(--brown-line); }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(20, 12, 8, 0.92); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; background: #fff; }
.lightbox button { position: absolute; top: 16px; right: 16px; min-height: 52px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--gold); color: var(--gold-ink); font: inherit; font-weight: 700; font-size: 19px; cursor: pointer; }

.col p a.tel { color: var(--link); text-decoration: underline; white-space: nowrap; }

/* ===== Phone: driver-proof. Nothing scrolls inside anything; one finger scrolls the page. ===== */
@media (max-width: 599px) {
  /* Maps never grab the finger. The button under each map opens Google Maps. */
  .embed.map { aspect-ratio: 3 / 2; }
  .embed.map iframe { pointer-events: none; }
  /* Documents, calendar and the login box trap scrolling on a phone: show the button instead. */
  .embed.doc, .embed.cal, .embed.login { display: none; }
  .small-link { min-height: 56px; padding: 0 22px; border-radius: 12px; background: var(--gold); color: var(--gold-ink); font-size: 18px; justify-content: center; width: 100%; box-sizing: border-box; }
  .phone-only { display: flex !important; }
  /* Comfortable tap targets everywhere */
  .link-tile { min-height: 56px; }
  .btn, .call-btn { width: 100%; box-sizing: border-box; }
  .btn-row { gap: 12px; }
  .btn-row .btn { flex: 1 1 100%; }
  .route-frame { height: 430px !important; margin-bottom: 20px !important; }
}
@media (min-width: 600px) { .phone-only { display: none !important; } }

/* State road-condition chips: fit the long names, keep the tap target big */
.state-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
.state-grid .link-tile { font-size: 17px; letter-spacing: .02em; gap: 8px; padding: 8px 10px; line-height: 1.1; }
.state-grid .link-tile svg.i { width: 16px; height: 16px; flex-shrink: 0; opacity: .75; }
@media (max-width: 599px) { .state-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .state-grid .link-tile { font-size: 15px; min-height: 54px; } }
