/* ============================================================
   TheBridge — Editorial / minimalist design system
   Inspired by award-winning product microsites (Glossar et al.)
   Marsh & Moss palette · Playfair Display + DM Sans + DM Mono
   ============================================================ */

:root {
    /* Brand */
    --marsh:        #576B49;
    --marsh-dark:   #3a4a30;
    --indigo:       #4E6A8A;   /* cool accent */
    --indigo-dark:  #3d5570;
    --clay:         #9B4D3A;   /* open / alert */
    --honey:        #C4A33A;
    --driftwood:    #8B7D6B;

    /* Paper neutrals */
    --paper:        #F6F1E9;   /* page background */
    --paper-2:      #FBF8F2;   /* lifted surfaces */
    --sand-deep:    #ece3d4;
    --ink:          #20281f;   /* near-black, green-tinted */
    --ink-soft:     #4c564a;
    --ink-mute:     #8a8479;
    --line:         rgba(32,40,31,0.14);
    --line-soft:    rgba(32,40,31,0.08);

    --open:  #9B4D3A; --closed: #576B49;

    --ease:    cubic-bezier(0.16, 1, 0.3, 1);
    --maxw:    1240px;
    --mono:    'DM Mono', ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
::selection { background: var(--indigo); color: #fff; }

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1,h2,h3,h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; line-height: 1.05; letter-spacing: -0.015em; color: var(--ink); }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
img,svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }

/* mono micro-label */
.mono {
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--ink-mute); font-weight: 500;
}
.mono.accent { color: var(--indigo); }

.display { font-family: 'Playfair Display', serif; }
.it { font-style: italic; }
.lede { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-soft); max-width: 54ch; line-height: 1.5; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 15px 28px; border-radius: 100px; font-weight: 600; font-size: 15px;
    cursor: pointer; border: 1.5px solid var(--ink); transition: all .3s var(--ease);
    font-family: 'DM Sans', sans-serif; white-space: nowrap; background: var(--ink); color: var(--paper);
}
.btn:hover { background: transparent; color: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Store badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 13px; }
.store-badge {
    display: inline-flex; align-items: center; gap: 11px;
    background: var(--ink); color: var(--paper); padding: 11px 19px 11px 17px; border-radius: 13px;
    transition: all .3s var(--ease); border: 1.5px solid var(--ink);
}
.store-badge:hover { transform: translateY(-2px); background: #11160f; color: var(--paper); }
.store-badge svg { width: 25px; height: 25px; flex: none; }
.store-badge .sb-top { font-size: 10px; opacity: .8; letter-spacing: .03em; line-height: 1.1; }
.store-badge .sb-main { font-size: 16px; font-weight: 600; line-height: 1.15; }
.stores.light .store-badge { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.stores.light .store-badge:hover { background: #fff; }

/* ---------- Nav ---------- */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px clamp(20px,5vw,56px);
    transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
    border-bottom: 1px solid transparent;
}
nav.scrolled { padding-top: 13px; padding-bottom: 13px; background: rgba(246,241,233,0.82); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-bottom-color: var(--line-soft); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand .bt { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 20px; color: var(--ink); line-height: 1; letter-spacing: -0.01em; }
.brand .bs { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.nav-links a:hover { color: var(--indigo); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
/* Cities dropdown */
.nav-dd { position: relative; }
.nav-dd-toggle { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 0; }
.nav-dd-toggle:hover { color: var(--indigo); }
.nav-dd-toggle svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.nav-dd:hover .nav-dd-toggle svg, .nav-dd.open .nav-dd-toggle svg { transform: rotate(180deg); }
.nav-dd-menu { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 260px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(32,40,31,.32); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), transform .22s var(--ease); z-index: 1001; }
.nav-dd-menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dd-menu a { display: block; padding: 11px 14px; border-radius: 9px; font-family: 'DM Sans', sans-serif; font-size: 14.5px; font-weight: 600; color: var(--ink); letter-spacing: 0; text-transform: none; }
.nav-dd-menu a:hover { background: var(--sand-deep); color: var(--indigo); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }

/* ---------- Hero ---------- */
.hero { padding: clamp(130px,17vh,180px) 0 70px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px,5vw,70px); align-items: center; }
.hero h1 {
    font-size: clamp(44px, 7.2vw, 104px); line-height: 0.96; letter-spacing: -0.03em; margin: 26px 0 0;
}
.hero h1 .it { color: var(--indigo); }
.hero .lede { margin: 28px 0 34px; }
.hero-cta { display: flex; flex-direction: column; gap: 20px; }
.trust { display: flex; align-items: center; gap: 16px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); flex-wrap: wrap; }
.trust .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--driftwood); }

/* ---------- Realistic phone (mirrors the app) ---------- */
.device { width: 320px; max-width: 84%; margin: 0 auto; aspect-ratio: 320/660; position: relative;
    background: #1c241b; border-radius: 46px; padding: 11px; box-shadow: 0 40px 90px -30px rgba(32,40,31,0.5), 0 0 0 1.5px rgba(32,40,31,0.1); }
.device::after { content:""; position:absolute; top:11px; left:50%; transform:translateX(-50%); width:120px; height:27px; background:#1c241b; border-radius:0 0 16px 16px; z-index:5; }
.screen { width: 100%; height: 100%; border-radius: 36px; background: var(--paper); overflow: hidden; display: flex; flex-direction: column; padding: 0 16px; color: var(--ink); }
/* real screenshot fills the frame */
.device-shot { width: 100%; height: 100%; border-radius: 36px; object-fit: cover; object-position: top center; display: block; background: var(--paper); }
/* subtle 3D tilt on hover */
.device-tilt { transition: transform .55s var(--ease), box-shadow .55s var(--ease); transform-style: preserve-3d; will-change: transform; }
.device-tilt:hover { transform: perspective(1300px) rotateY(-8deg) rotateX(4deg) translateY(-8px) scale(1.02); box-shadow: 0 55px 100px -30px rgba(32,40,31,0.5), 0 0 0 1.5px rgba(32,40,31,0.1); }
@media (prefers-reduced-motion: reduce) { .device-tilt, .device-tilt:hover { transform: none; transition: none; } }

/* ---------- City page: bridges + interactive demo ---------- */
.city-cols { display: flex; flex-wrap: wrap; gap: clamp(30px, 5vw, 60px); align-items: flex-start; }
.city-bridges { flex: 1 1 400px; min-width: 0; grid-template-columns: minmax(0,1fr) !important; }
.city-demo { flex: 0 0 300px; position: sticky; top: 96px; text-align: center; }
.city-demo .mono { display: block; margin-bottom: 16px; }
.city-demo .device { margin: 0 auto; width: 300px; max-width: 100%; }
.idemo-cap { font-size: 13px; color: var(--ink-mute); max-width: 300px; margin: 18px auto 0; }
@media (max-width: 820px) {
    .city-demo { position: static; flex-basis: 300px; margin: 20px auto 0; }
    .city-bridges { flex-basis: 100%; }
}

/* ---------- Interactive phone internals ---------- */
.idemo .scr-tab, .idemo .scr-act, .idemo .idemo-toggle { border: none; background: none; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.idemo .ipanel { display: none; flex-direction: column; flex: 1; }
.idemo .ipanel.on { display: flex; }
.idemo .scr-act { transition: background .2s var(--ease), transform .1s var(--ease); }
.idemo .scr-act:active { transform: scale(.96); }
.idemo .scr-act.is-on { box-shadow: inset 0 0 0 2px currentColor; }
.idemo-status { text-align: center; margin: 2px 0 4px; }
.idemo-badge .ic { display: none; }
.idemo-badge .ic svg { width: 28px; height: 28px; stroke: #fff; }
.idemo-status[data-state="clear"]   .ic-clear   { display: block; }
.idemo-status[data-state="gates"]   .ic-gates   { display: block; }
.idemo-status[data-state="traffic"] .ic-traffic { display: block; }
.idemo-status[data-state="clear"]   .idemo-badge { background: var(--marsh); }
.idemo-status[data-state="gates"]   .idemo-badge { background: var(--clay); }
.idemo-status[data-state="traffic"] .idemo-badge { background: var(--honey); }
.idemo-label { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; margin-top: 8px; }
.idemo-sub { text-align: center; }
/* panels: today / community / settings */
.idemo-ttl { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; padding: 30px 4px 6px; }
.idemo-list { margin: 4px 2px; }
.idemo-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 4px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.idemo-row:last-child { border-bottom: none; }
.idemo-row small { color: var(--ink-mute); font-size: 11px; }
.idemo-row .c-clay { color: var(--clay); } .idemo-row .c-marsh { color: var(--marsh); }
.idemo-tide { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 14px 4px; padding: 13px; border-radius: 13px; background: rgba(78,106,138,0.10); color: var(--indigo); font-size: 13px; font-weight: 600; }
.idemo-tide svg { width: 20px; height: 20px; }
.idemo-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.idemo-dot.ok { background: var(--marsh); } .idemo-dot.down { background: var(--clay); }
.idemo-toggle { width: 40px; height: 23px; border-radius: 100px; background: var(--line); position: relative; transition: background .2s var(--ease); flex: none; }
.idemo-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: left .2s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.idemo-toggle.on { background: var(--marsh); }
.idemo-toggle.on::after { left: 19px; }
.scr-statusbar { display: flex; justify-content: space-between; align-items: center; padding: 16px 6px 4px; font-size: 13px; font-weight: 700; }
.scr-statusbar .sig { display: flex; gap: 4px; align-items: center; opacity: .85; }
.scr-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 30px; text-align: center; color: var(--indigo); margin-top: 14px; letter-spacing: -0.02em; }
.scr-sub { text-align: center; color: var(--ink-mute); font-size: 14px; margin-top: 2px; }
.scr-card { border: 1.5px solid var(--honey); border-radius: 18px; padding: 13px 13px 16px; margin-top: 16px; background: rgba(196,163,58,0.04); }
.scr-proj { display: flex; align-items: center; gap: 7px; color: var(--honey); font-weight: 600; font-size: 13.5px; }
.scr-proj svg { width: 15px; height: 15px; }
.scr-bridge { color: var(--marsh); margin: 6px 0 2px; }
.scr-check { width: 56px; height: 56px; border-radius: 50%; background: var(--marsh); display: grid; place-items: center; margin: 4px auto 8px; }
.scr-check svg { width: 28px; height: 28px; stroke: #fff; }
.scr-updated { text-align: center; color: var(--ink-mute); font-size: 10.5px; }
.scr-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 12px; }
.scr-act { border-radius: 13px; padding: 12px 4px; text-align: center; font-size: 11.5px; font-weight: 700; }
.scr-act svg { width: 17px; height: 17px; margin: 0 auto 5px; display:block; }
.scr-act.clear   { background: rgba(87,107,73,0.12);  color: var(--marsh); }
.scr-act.gates   { background: rgba(155,77,58,0.12);   color: var(--clay); }
.scr-act.traffic { background: rgba(196,163,58,0.14);  color: #97791f; }
.scr-tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 12px 4px 16px; border-top: 1px solid var(--line-soft); }
.scr-tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 8.5px; letter-spacing: -0.01em; font-weight: 600; color: var(--ink-mute); flex: 1; }
.scr-tab.on { color: var(--ink); }
.scr-tab svg { width: 19px; height: 19px; }

/* ---------- Section scaffolding ---------- */
.sec { padding: clamp(70px,11vh,128px) 0; }
.sec-ink { background: var(--ink); color: var(--paper); }
.sec-ink h2, .sec-ink h3 { color: var(--paper); }
.sec-ink .lede, .sec-ink p { color: rgba(246,241,233,0.78); }
.sec-paper2 { background: var(--paper-2); }
.rule { height: 1px; background: var(--line); border: none; }
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: baseline; margin-bottom: 54px; }
.sec-head .mono { padding-top: 8px; }
.sec-head h2 { font-size: clamp(30px, 4.6vw, 58px); max-width: 16ch; }
.sec-head .sh-sub { grid-column: 2; color: var(--ink-soft); font-size: 17px; margin-top: 16px; max-width: 50ch; }

/* feature-section hero head */
.feat-hero { max-width: 1000px; margin-bottom: clamp(46px, 7vw, 84px); }
.feat-hero .mono { display: block; margin-bottom: 24px; }
.feat-hero-title { font-size: clamp(46px, 8.4vw, 108px); line-height: 0.93; letter-spacing: -0.035em; }
.feat-hero-tag { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 500; font-size: clamp(24px, 3.2vw, 42px); color: var(--indigo); line-height: 1.08; margin-top: 24px; }
.feat-hero .sh-sub { color: var(--ink-soft); font-size: 17px; max-width: 52ch; margin-top: 18px; }

/* big statement (storytelling) */
.statement { font-family: 'Playfair Display', serif; font-weight: 500; font-size: clamp(28px, 4.6vw, 58px); line-height: 1.12; letter-spacing: -0.02em; max-width: 20ch; }
.statement .mut { color: var(--ink-mute); }
.statement .it { color: var(--indigo); }
.sec-ink .statement .it { color: #9db4c9; }

/* ---------- Editorial feature list ---------- */
.ed-list { border-top: 1px solid var(--line); }
.ed-row { display: grid; grid-template-columns: 70px 1.1fr 1.4fr; gap: 24px; align-items: start;
    padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.ed-row:hover { padding-left: 10px; }
.ed-num { font-family: var(--mono); font-size: 13px; color: var(--indigo); padding-top: 5px; }
.ed-row h3 { font-size: clamp(21px, 2.4vw, 30px); }
.ed-row p { color: var(--ink-soft); font-size: 15.5px; max-width: 46ch; }

/* ---------- Bridges (editorial cards) ---------- */
.bridge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.bridge-card { display: flex; flex-direction: column; background: var(--paper); padding: 30px 28px 26px; transition: background .3s var(--ease); position: relative; min-height: 240px; }
.bridge-card:hover { background: var(--paper-2); }
.bc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.bc-illus { color: var(--marsh); width: 120px; opacity: .9; margin: 6px 0 18px; }
.bc-photo { width: 100%; aspect-ratio: 2.6 / 1; height: auto; object-fit: contain; object-position: center bottom; margin: 10px 0 18px; display: block; }
.bh-photo { width: 100%; height: auto; max-width: 680px; object-fit: contain; margin: 30px 0 0; display: block; }
.bc-illus.t-indigo { color: var(--indigo); } .bc-illus.t-clay { color: var(--clay); }
.bc-statuschip { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-mute); }
.bc-statuschip.open { color: var(--clay); border-color: var(--clay); }
.bc-statuschip.closed { color: var(--marsh); border-color: var(--marsh); }
.bc-city { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo); }
.bridge-card h3 { font-size: 25px; margin: 9px 0 6px; }
.bc-meta { font-size: 14px; color: var(--ink-mute); margin-bottom: 18px; }
.bc-link { margin-top: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
.bc-link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.bridge-card:hover .bc-link svg { transform: translateX(4px); }

/* ---------- Today / Community showcase ---------- */
.showcase { display: flex; flex-direction: column; gap: clamp(56px, 9vw, 120px); }
.showcase-row { display: flex; gap: clamp(36px, 6vw, 90px); align-items: center; }
.showcase-row.reverse { flex-direction: row-reverse; }
.showcase-copy { flex: 1 1 0; min-width: 0; }
.showcase-copy h3 { font-size: clamp(28px, 3.6vw, 46px); margin: 14px 0 16px; }
.showcase-copy p { color: var(--ink-soft); font-size: 17px; max-width: 46ch; }
.showcase-list { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.showcase-list li { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 100px; padding: 8px 14px; }
.showcase-phone { flex: 0 0 300px; }
.showcase-phone .device { margin: 0 auto; }
@media (max-width: 820px) {
    .showcase-row, .showcase-row.reverse { flex-direction: column; }
    .showcase-phone { flex-basis: auto; margin-top: 8px; }
}

/* ---------- Hero "as featured in" bar ---------- */
.press-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 30px; margin-bottom: 6px; border-bottom: 1px solid var(--line-soft); }
.press-bar .mono { color: var(--ink-mute); }
.press-bar-names { font-family: 'Playfair Display', serif; font-size: clamp(15px, 1.6vw, 19px); color: var(--ink-soft); letter-spacing: .01em; }

/* ---------- Advertise section ---------- */
.advertise { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.advertise-copy h2 { font-size: clamp(30px, 4.4vw, 54px); margin: 14px 0 18px; line-height: 1.02; }
.advertise-copy p { color: var(--ink-soft); font-size: 17.5px; max-width: 46ch; margin-bottom: 28px; }
.advertise-copy strong { color: var(--ink); }
.advertise-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.astat { background: var(--paper-2); padding: 30px 26px; text-align: center; }
.astat b { display: block; font-family: 'Playfair Display', serif; font-size: clamp(34px, 4vw, 52px); font-weight: 700; color: var(--marsh); line-height: 1; }
.astat span { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
@media (max-width: 780px) {
    .advertise { grid-template-columns: 1fr; }
}

/* ---------- Press / media ---------- */
.press-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.press-card { display: flex; flex-direction: column; min-height: 200px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px; transition: all .3s var(--ease); }
.press-card:hover { border-color: var(--driftwood); transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(32,40,31,0.28); }
.press-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.press-outlet { color: var(--indigo); }
.press-card h3 { font-size: 22px; line-height: 1.16; margin-bottom: 18px; }
.press-link { margin-top: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; }
.press-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.press-card:hover .press-link svg { transform: translate(3px, -3px); }

/* ---------- City finder ---------- */
.finder { max-width: 640px; margin: 0 auto; }
.finder label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); display: block; margin-bottom: 12px; }
.finder select {
    width: 100%; padding: 20px 22px; font-size: 19px; font-family: 'Playfair Display', serif; color: var(--ink);
    border: none; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: transparent; cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E6A8A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 4px center; background-size: 24px;
}
.finder-results { margin-top: 24px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.finder-results:empty { display: none; }
.finder-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: var(--paper); transition: background .25s var(--ease); }
.finder-row:hover { background: var(--paper-2); }

/* ---------- Bridge detail page ---------- */
.bridge-hero { padding: clamp(125px,16vh,165px) 0 0; position: relative; }
.bridge-hero .crumbs { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 30px; }
.bridge-hero .crumbs a { color: var(--ink-soft); }
.bridge-hero h1 { font-size: clamp(38px, 6vw, 70px); line-height: 0.98; letter-spacing: -0.025em; max-width: 14ch; }
.bh-accent { width: 88px; height: 4px; background: var(--marsh); margin: 0 0 26px; border-radius: 4px; }
.bh-accent.t-indigo { background: var(--indigo); } .bh-accent.t-clay { background: var(--clay); }
.bh-city { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 22px; }
.bridge-hero .bh-illus { color: var(--marsh); max-width: 560px; margin: 30px auto -2px; opacity: .92; }
.bridge-hero .bh-illus.t-indigo { color: var(--indigo); } .bridge-hero .bh-illus.t-clay { color: var(--clay); }
.live-card { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 16px; border: 1px solid var(--line); background: var(--paper-2); border-radius: 16px; padding: 16px 22px; margin-top: 4px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--marsh); box-shadow: 0 0 0 4px rgba(87,107,73,0.18); animation: pulse 2.2s infinite; }
.live-dot.open { background: var(--clay); box-shadow: 0 0 0 4px rgba(155,77,58,0.18); }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(87,107,73,0); } }
.live-status-txt { font-size: 18px; font-weight: 700; }
.live-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }

.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: clamp(36px,5vw,72px); align-items: start; }
.detail-main h2 { font-size: clamp(26px,3.2vw,38px); margin: 52px 0 16px; }
.detail-main h2:first-child { margin-top: 0; }
.detail-main p { color: var(--ink-soft); margin-bottom: 14px; font-size: 16.5px; }
.factbox { border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: var(--paper-2); }
.factbox h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 18px; }
.factbox .frow { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.factbox .frow:last-child { border-bottom: none; }
.factbox dt { color: var(--ink-mute); } .factbox dd { font-weight: 600; text-align: right; }
.sticky-cta { position: sticky; top: 96px; display: grid; gap: 18px; }
.dl-card { background: var(--ink); color: var(--paper); border-radius: 18px; padding: 28px; }
.dl-card h3 { color: var(--paper); font-size: 22px; margin-bottom: 10px; }
.dl-card p { color: rgba(246,241,233,0.78); font-size: 14px; margin-bottom: 20px; }
.dl-card .stores { flex-direction: column; }

.sched-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.sched-table th, .sched-table td { text-align: left; padding: 16px 4px; font-size: 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sched-table th { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
.sched-table td:first-child { font-weight: 600; width: 34%; }
.note { font-size: 13.5px; color: var(--ink-mute); margin-top: 16px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary { font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; font-family: 'Playfair Display', serif; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--indigo); font-size: 24px; line-height: 1; transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; color: var(--ink-soft); font-size: 16px; }

/* ---------- Final CTA ---------- */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(36px, 7vw, 92px); line-height: 0.98; letter-spacing: -0.03em; margin-bottom: 22px; }
.cta-final h2 .it { color: #9db4c9; }
.cta-final .lede { margin: 0 auto 36px; color: rgba(246,241,233,0.82); }
.cta-final .stores { justify-content: center; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: rgba(246,241,233,0.66); padding: 80px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
footer .brand .bt { color: var(--paper); } footer .brand .bs { color: rgba(246,241,233,0.5); }
.foot-about { font-size: 15px; max-width: 30ch; margin: 18px 0; line-height: 1.5; }
.foot-col h4 { font-family: var(--mono); color: var(--paper); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 500; }
.foot-col a { color: rgba(246,241,233,0.66); display: block; padding: 6px 0; font-size: 14.5px; }
.foot-col a:hover { color: var(--honey); }
.foot-bottom { border-top: 1px solid rgba(246,241,233,0.14); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: rgba(246,241,233,0.5); }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .live-dot { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { order: -1; }
    .ed-row { grid-template-columns: 48px 1fr; }
    .ed-row p { grid-column: 2; }
    .detail-grid { grid-template-columns: 1fr; }
    .sticky-cta { position: static; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .nav-links { display: none; }
    .nav-cta .btn-ghost { display: none; }
    .hamburger { display: flex; }
    .nav-links.show { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 2px; background: var(--paper); padding: 18px clamp(20px,5vw,56px) 22px; border-bottom: 1px solid var(--line); }
    .nav-links.show a { padding: 11px 0; }
    .nav-links.show .nav-dd { width: 100%; }
    .nav-links.show .nav-dd-toggle { padding: 11px 0; }
    .nav-links.show .nav-dd-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; background: transparent; padding: 0 0 6px 14px; min-width: 0; }
    .nav-links.show .nav-dd-menu a { padding: 9px 0; font-weight: 500; }
    .sec-head { grid-template-columns: 1fr; gap: 12px; }
    .sec-head .sh-sub { grid-column: 1; }
    .ed-row { grid-template-columns: 1fr; gap: 8px; }
    .ed-row p { grid-column: 1; }
    .foot-grid { grid-template-columns: 1fr; gap: 30px; }
}
