/* SuperEpic Ventures: the 2026 refresh, layered over styles.css and look.css.
   Edited by hand (build.py does not write it). Remove the <link> in build.py's layout() to go back. */

/* ---------- Colour: sand, paper, harbour navy, one sunset accent ---------- */
:root {
  --bg: #f5efe6; --bg-2: #fffdf9; --surface: #fffdf9; --paper: #fffdf9;
  --line: rgba(14,37,49,.13); --text: #1f2b33; --muted: #56636b; --heading: #0e2531;
  --accent: #c2410c; --sunset: #ff6b35; --peach: #ffd2b8; --sea: #145983; --navy: #0e2531;
  --btn: #c2410c; --btn-text: #fff; --hdr: rgba(245,239,230,.9); --ftr: #0e2531; --radius: 18px;
  --display: 'Fraunces', Georgia, serif; --body: 'Hanken Grotesk', system-ui, sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
}
::selection { background: var(--peach); color: var(--navy); }
:focus-visible { outline: 2px solid var(--sunset); outline-offset: 3px; }
.alt { background: var(--paper); }

/* ---------- Typography: Fraunces headlines, calmer text ---------- */
body { font-size: 1.0625rem; line-height: 1.65; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-weight: 350; letter-spacing: -.035em; line-height: .98; }
h2 { font-weight: 400; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.04; }
h2 em, h1 em { font-style: italic; font-weight: 300; }
h3 { font-weight: 500; font-size: 1.32rem; line-height: 1.2; letter-spacing: -.01em; }
p, li, dd { text-wrap: pretty; }
.lead { font-size: 1.2rem; }
.prose p { font-size: 1.08rem; max-width: 62ch; }
.eyebrow { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 600; color: var(--accent); }
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: currentColor; flex: none; }
.role { text-transform: none !important; letter-spacing: 0 !important; font-size: .92rem !important; }
.idx { display: none; }
.hero h1 span, .hero:has(.hero-photo) h1 span {
  display: block; background: none; -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--peach); font-style: italic; font-weight: 300;
}

/* Italic numerals instead of 01 / 02 / 03 */
.steps li { border-top: 1px solid var(--line); border-image: none; padding-top: 26px; }
.steps li::before, .thesis li::before { content: counter(s, lower-roman) "."; font-family: var(--display); font-style: italic; font-weight: 300; font-size: 3.6rem; line-height: 1; color: var(--sunset); margin-bottom: .3em; }
.thesis li::before { content: counter(t, lower-roman) "."; font-size: 2.6rem; }
.steps h3 { font-size: 1.7rem; }

/* Links whose underline draws in */
.link, .prose a:not(.btn), .chapter-body p a:not(.btn), .sec-sum a, .ftr a, .panel p a:not(.btn) {
  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .35s ease;
}
.link:hover, .prose a:not(.btn):hover, .chapter-body p a:not(.btn):hover, .sec-sum a:hover, .ftr a:hover, .panel p a:not(.btn):hover { background-size: 100% 1.5px; text-decoration: none; }

/* ---------- Header: floats over the photo, settles on scroll ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; background: transparent; backdrop-filter: none; transition: background .35s, box-shadow .35s; }
.hdr .logo-mark { width: 44px; height: 44px; }
.hdr:not(.solid) .brand-name, .hdr:not(.solid) .links a:not(.btn), .hdr:not(.solid) .logo-mark, .hdr:not(.solid) .menu-toggle { color: #fff; }
.hdr:not(.solid) .links a[aria-current]:not(.btn) { color: var(--peach); }
.hdr:not(.solid) .links .btn { background: #fff; color: var(--navy); }
.hdr:not(.solid) .menu-toggle { border-color: rgba(255,255,255,.6); }
.hdr.solid { background: var(--hdr); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.links .btn, .btn-sm { border-radius: 999px; }
.hero-art::before { content: ''; position: absolute; inset: 0 0 auto; height: 150px; z-index: 1; background: linear-gradient(180deg, rgba(8,22,30,.5), rgba(8,22,30,0)); pointer-events: none; }
.hero-inner, .hero-page .hero-inner { padding-top: calc(74px + clamp(60px, 9vw, 110px)); }
body[data-page="index"] .hdr .logo-mark path:first-of-type { animation: sunrise 1.6s cubic-bezier(.2,.7,.2,1) .2s both; }
@keyframes sunrise { from { transform: translateY(18px); opacity: 0; } }

/* Buttons */
.btn { border-radius: 999px; }
.btn:hover { background: #9a3412; box-shadow: none; }
.hero .btn:not(.btn-ghost) { background: var(--sunset); color: #1b0c04; }
.hero .btn:not(.btn-ghost):hover { background: #ff8a5c; }

/* ---------- Photos: one warm grade, slow drift ---------- */
.hero-photo, .tile img, .chapter-photo img, .story-frame img, .boat img, .strip-item img, .fish-photo img, .cta-bg img, .shot .zoom img, .contact-photo img {
  filter: saturate(.94) sepia(.07) contrast(1.03);
}
.hero-photo { animation: drift-photo 26s ease-out both alternate infinite; transform-origin: 60% 60%; }
@keyframes drift-photo { from { transform: scale(1.02); } to { transform: scale(1.09); } }

/* ---------- Home hero ---------- */
.hero-home { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-home .hero-inner { width: 100%; padding-bottom: 34px; }
.hero-home .hero-art:has(.hero-photo)::after { background: linear-gradient(180deg, rgba(8,22,30,.15) 0%, rgba(8,22,30,0) 30%, rgba(8,22,30,.1) 50%, rgba(8,22,30,.82) 100%); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 40px; align-items: end; }
.hero-home h1 { font-size: clamp(3.6rem, 10.4vw, 8.6rem); line-height: .92; margin: 0; max-width: none; }
.hero-home .lead { font-size: 1.12rem; margin: 0; color: rgba(255,255,255,.92); }
.hero-home .actions { margin-top: 1.4em; }
.hero-home .coords { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 56px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.28); text-transform: none; letter-spacing: .04em; font-size: .85rem; opacity: .8; }
.hero-page h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }

/* ---------- Sections: more air, two-sided heads ---------- */
.sec { padding: clamp(80px, 10vw, 136px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; margin-bottom: 8px; }
.sec-head h2 { margin: 0; }
.sec-sum { margin: 0; color: var(--muted); max-width: 44ch; justify-self: end; }
.split h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }

/* Cards: quieter, no accent bars */
.card::after { display: none; }
.card, .panel, .thesis li, .stats div, .pills li { border-color: var(--line); }
a.card:hover { box-shadow: 0 16px 40px rgba(14,37,49,.12); }
.icon, .logo { background: var(--bg); }
.icon svg, .more svg { stroke: var(--accent); }

/* ---------- Numbers band ---------- */
.stat-band { padding: clamp(52px, 6vw, 76px) 0; background: var(--navy) var(--grain); }
.stat-grid { gap: 0; }
.stat-grid a { background: none; border: 0; border-left: 1px solid rgba(255,255,255,.16); border-radius: 0; padding: 4px 28px; color: #fff; }
.stat-grid li:first-child a { border-left: 0; padding-left: 0; }
.stat-grid a:hover { transform: none; border-color: rgba(255,255,255,.16); }
.stat-grid a:hover span { color: #fff; }
.stat-grid b { font-family: var(--display); font-weight: 300; font-size: clamp(3.4rem, 7vw, 5.6rem); letter-spacing: -.04em; color: #fff; }
.stat-grid span { color: #b9c7cf; font-weight: 500; transition: color .25s; }

/* ---------- Sector tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 290px; gap: 14px; margin-top: 2.6em; }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; background: var(--navy); isolation: isolate; }
.tile-wide { grid-column: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,22,30,0) 30%, rgba(8,22,30,.55) 62%, rgba(8,22,30,.88)); }
.tile:hover img { transform: scale(1.05); }
.tile-t { position: absolute; left: 24px; right: 24px; bottom: 22px; }
.tile h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 4px; }
.tile-wide h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.tile p { margin: 0; color: rgba(255,255,255,.86); font-size: .95rem; line-height: 1.45; max-width: 46ch; }
.tile-go { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,253,249,.92); display: grid; place-items: center; transition: transform .35s; }
.tile-go svg { width: 18px; height: 18px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile:hover .tile-go { transform: translateX(4px); }

/* ---------- Approach, with the sunset ornament ---------- */
.approach .wrap { position: relative; }
.approach h2 { max-width: 15em; }
.horizon { position: absolute; right: 28px; top: -12px; width: 260px; color: var(--sea); }

/* ---------- Vision quote ---------- */
.quote-sec { background: var(--bg); }
.quote { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.duo-pair { display: flex; }
.duo { display: block; width: 62%; aspect-ratio: 3 / 4.2; border-radius: 999px 999px 16px 16px; overflow: hidden; background: linear-gradient(180deg, #ffb38a, var(--sea)); box-shadow: 0 0 0 6px var(--bg); }
.duo + .duo { margin-left: -24%; margin-top: 18%; }
.duo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: grayscale(1) contrast(1.15) brightness(1.05); mix-blend-mode: luminosity; }
.quote figure { margin: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--display); font-weight: 300; font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.15; letter-spacing: -.02em; color: var(--heading); margin: 0; }
.quote blockquote p::before { content: '\201C'; display: block; font-size: 1.9em; line-height: .55; color: var(--sunset); margin-bottom: .1em; }
.quote figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 26px; color: var(--muted); font-size: .95rem; }
.quote figcaption b { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.45rem; color: var(--heading); }

/* ---------- Photo strips ---------- */
.people-sec .strip, .strip { gap: 18px; }
.strip-item .zoom, .people-sec .strip-item img { border-radius: 14px; }
.people-sec .strip-item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.people-sec .strip-item { flex-basis: min(70vw, 280px); }

/* ---------- Photo CTA ---------- */
.cta-photo { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--navy); min-height: 500px; display: flex; align-items: center; }
.cta-photo .wrap { width: 100%; }
.cta-photo .cta-inner { display: block; }
.cta-photo .btn { margin-top: 1.6em; }
.cta-photo.cta-long h2 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: 14em; }
.cta-bg { position: absolute; inset: 0; margin: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.cta-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,22,30,.78), rgba(8,22,30,.2) 72%); }
.cta-bg figcaption { position: absolute; right: 14px; bottom: 10px; z-index: 1; font-size: .72rem; opacity: .75; }
.cta-bg figcaption a { color: #fff; }
.cta-photo h2 { color: #fff; font-weight: 300; font-size: clamp(2.8rem, 8vw, 6.6rem); letter-spacing: -.04em; line-height: .95; max-width: 11em; }
.cta-photo h2 em { color: var(--peach); }
.cta-photo .lead { color: rgba(255,255,255,.9); max-width: 34em; margin-top: .6em; }
.cta-photo .btn { background: var(--sunset); color: #1b0c04; }
.cta-photo .btn:hover { background: #ff8a5c; }

/* ---------- Footer: giant wordmark ---------- */
.ftr { position: relative; background: var(--ftr) var(--grain); color: #b9c7cf; padding: clamp(64px, 8vw, 96px) 0 28px; overflow: hidden; }
.ftr-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.ftr-lead { font-family: var(--display); font-weight: 300; font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.25; color: #fff; margin: 0; max-width: 16em; }
.ftr-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ftr-col .small { margin-top: 8px; }
.ftr-h { margin: 0 0 6px !important; font-size: .85rem; font-weight: 700; color: #fff; }
.ftr a:hover { color: #fff; }
.ftr-word { margin: clamp(48px, 7vw, 80px) 0 0 !important; font-family: var(--display); font-weight: 300; font-size: clamp(2rem, calc((100vw - 64px) / 7.6), 9.2rem); letter-spacing: -.05em; line-height: .8; color: #fff; white-space: nowrap; }
.ftr-word i { color: var(--sunset); }
.ftr-base { border-top-color: rgba(255,255,255,.14); }

/* ---------- Portfolio: one hairline logo wall ---------- */
.co-grid { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--surface); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.co { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; transition: background .3s; }
.co:hover { background: #fbf6ee; }
.co-logo { background: transparent; border: 0; height: 84px; margin: 0 0 16px; padding: 8px 4px; }
.co-logo img { filter: grayscale(1); opacity: .72; mix-blend-mode: multiply; transition: filter .35s, opacity .35s; }
.co:hover .co-logo img, .co:focus-within .co-logo img { filter: none; opacity: 1; }
.co h3 { font-size: 1.25rem; }
.co .tags { gap: 4px 14px; margin: 0 0 8px; }
.co .tag { position: static; display: inline-flex; align-items: center; gap: 7px; padding: 0; background: none !important; color: var(--muted) !important;
  text-transform: none; letter-spacing: 0; font-size: .82rem; font-weight: 600; border-radius: 0; }
.co .tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, #94a3b8); }
.tag-founded { --dot: #c2410c; } .tag-fund { --dot: #145983; } .tag-exit { --dot: #0e7490; } .tag-strong-exit { --dot: #16a34a; }
.tag-blah-exit { --dot: #d97706; } .tag-write-off { --dot: #94a3b8; }
.chip { border-radius: 999px; }
.chip.on { background: var(--navy); color: #fff; }
.timeline { list-style: none; display: flex; gap: 0; overflow-x: auto; margin: 2em 0 0; padding: 0 0 12px; border-top: 2px solid var(--navy); }
.timeline > li { flex: 0 0 180px; padding: 16px 18px 0 0; position: relative; }
.timeline > li::before { content: ''; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--sunset); }
.timeline b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--heading); }
.timeline ul { list-style: none; padding: 0; margin: 8px 0 0; font-size: .92rem; color: var(--muted); }

/* ---------- Team: names on the photos ---------- */
.person:has(.portrait) { padding: 0; }
.person .ph { position: relative; overflow: hidden; aspect-ratio: 4 / 4.3; background: #d9c7b0; }
.person .ph .portrait { width: 100%; height: 100%; margin: 0; aspect-ratio: auto; object-position: center 30%; filter: sepia(.25) saturate(.85) contrast(1.05) brightness(1.02); }
.person .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,140,80,.08) 40%, rgba(14,37,49,.55)); }
.person .ph h3 { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 18px; margin: 0; color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; }
.person .bd { padding: 22px 28px 30px; }
.person .bd p:last-child { margin: 0; }
.purpose .panel h3 { font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; }

/* ---------- Operations: map ---------- */
.map-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.coast { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.coast svg { display: block; width: 100%; height: auto; }
.m-name { font-family: var(--display); font-size: 22px; fill: var(--navy); paint-order: stroke; stroke: #fffdf9; stroke-width: 5px; }
.m-note { font-family: var(--body); font-size: 15px; fill: #3f4c54; paint-order: stroke; stroke: #fffdf9; stroke-width: 4px; }
.m-region { font-family: var(--display); font-style: italic; font-size: 20px; fill: #6b7a82; letter-spacing: .02em; }
.fish-band { background: var(--navy) var(--grain); }

/* ---------- Contact ---------- */
.contact-form input, .contact-form select, .contact-form textarea { background: #fffdf9; border-radius: 12px; padding: .85em 1em; font-size: 1.05rem; }
.contact-form { gap: 20px; }
.panel.direct p a.link { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.contact-photo { margin: 1.6em 0 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.contact-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.contact-photo figcaption { position: absolute; right: 10px; bottom: 8px; font-size: .72rem; color: #fff; opacity: .8; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.contact-photo figcaption a { color: #fff; }

/* Angel founder voices and real estate neighbourhoods (shown once content is added in build.py) */
.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px; margin-top: 2em; }
.voice { margin: 0; } .voice blockquote { margin: 0; font-family: var(--display); font-weight: 300; font-size: 1.5rem; line-height: 1.3; color: var(--heading); }
.voice figcaption { margin-top: 12px; color: var(--muted); } .voice figcaption b { display: block; color: var(--heading); }
.hoods { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; margin-top: 2em; }
.hood { margin: 0; } .hood img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.hood figcaption { padding-top: 10px; font-family: var(--display); font-size: 1.2rem; color: var(--heading); }

/* ---------- Motion: reveal on scroll, page transitions ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* ---------- Mobile: full-screen menu and a sticky contact button ---------- */
.mob-cta { display: none; }
@media (max-width: 1020px) {
  .menu-toggle { position: relative; z-index: 2; border-radius: 999px; }
  .links { position: fixed; inset: 0; top: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
    padding: 100px max(24px, 5vw) 40px; background: var(--navy) var(--grain); overflow-y: auto; }
  .links a:not(.btn), .hdr:not(.solid) .links a:not(.btn) { font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.25; color: #fff; opacity: 1; }
  .links a[aria-current]:not(.btn) { color: var(--peach) !important; font-style: italic; }
  .links .btn, .hdr:not(.solid) .links .btn { margin-top: 20px; background: var(--sunset); color: #1b0c04; font-size: 1.05rem; padding: .9em 1.8em; }
  .menu-open .hdr { background: transparent; box-shadow: none; backdrop-filter: none; }
  .menu-open .hdr .brand-name, .menu-open .hdr .logo-mark, .menu-open .menu-toggle { color: #fff; position: relative; z-index: 2; }
  .menu-open .menu-toggle { border-color: rgba(255,255,255,.6); }
  .menu-open { overflow: hidden; }
  .hdr .brand { position: relative; z-index: 2; }
}
@media (max-width: 900px) {
  .hero-split, .sec-head, .quote, .map-grid { grid-template-columns: minmax(0, 1fr); }
  .sec-sum { justify-self: start; }
  .tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: 240px; }
  .tile-wide { grid-column: span 2; }
  .horizon { display: none; }
  .ftr-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ftr-lead { grid-column: 1 / -1; }
  .duo-pair { max-width: 260px; }
  .stat-grid { gap: 28px 0; }
  .stat-grid li:nth-child(3) a { border-left: 0; padding-left: 0; }
}
@media (max-width: 760px) {
  .mob-cta { display: flex; justify-content: center; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 15;
    padding: 15px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none;
    box-shadow: 0 10px 30px rgba(14,37,49,.28); transform: translateY(160%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .mob-cta.show { transform: none; }
  .menu-open .mob-cta { display: none; }
  .ftr { padding-bottom: 100px; }
  .tiles { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 230px; }
  .tile-wide { grid-column: auto; }
  .hero-home h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .hero-home .coords span:nth-child(3) { display: none; }
  .stat-grid a { padding: 0 18px; }
  .contact-photo { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; }
  @view-transition { navigation: none; }
}

/* ---------- Home slideshow: ten photos, slow crossfade with drift ---------- */
.slideshow .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s 1.2s; }
.slideshow .slide.is-on { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.2s ease; }
.slideshow .slide.was { opacity: 1; visibility: visible; z-index: 0; transition: none; }
.slideshow .slide img { object-position: var(--pos); animation: none; transform: scale(1.02); }
.slideshow .slide.is-on img { animation: drift-slide 11s ease-out forwards; }
.slideshow .slide.was img { transform: scale(1.09); }
@keyframes drift-slide { from { transform: scale(1.02); } to { transform: scale(1.09); } }
html:not(.js) .slideshow .slide:not(:first-child) { display: none; }
.show-bar, .show-bars { display: none; }
.show-ready .show-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; }
.show-ready .show-bars { display: flex; gap: 5px; margin-top: 16px; }
.show-ready .coords { border-top: 0; margin-top: 0; padding-top: 12px; }
.show-chip { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; max-width: min(100%, 560px); padding: 8px 14px; border-radius: 999px;
  background: rgba(245,239,230,.94); color: var(--navy); text-decoration: none; font-size: .92rem; line-height: 1.3; transition: opacity .25s; }
.show-chip b { color: var(--accent); font-weight: 700; }
.show-chip span::after { content: " \2192"; }
.show-chip:hover { background: #fff; }
.show-chip.swap { opacity: 0; }
.show-ctl { display: flex; align-items: center; gap: 8px; flex: none; }
.show-count { color: rgba(255,255,255,.88); font-size: .85rem; font-variant-numeric: tabular-nums; margin-right: 4px; }
.show-ctl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(8,22,30,.35); color: #fff;
  display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .2s; }
.show-ctl button:hover { background: rgba(245,239,230,.94); color: var(--navy); }
.show-ctl button:focus-visible, .show-chip:focus-visible { outline: 3px solid var(--sunset); outline-offset: 2px; }
.show-ctl svg { width: 18px; height: 18px; fill: currentColor; }
.show-pause .i-play, .show-paused .show-pause .i-pause { display: none; }
.show-paused .show-pause .i-play { display: block; }
.show-bars i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.show-bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.show-bars i.done::after { transform: none; }
.show-bars i.run::after { animation: show-fill var(--d, 7s) linear forwards; }
.show-paused .show-bars i.run::after { animation-play-state: paused; }
@keyframes show-fill { to { transform: none; } }
@media (max-width: 760px) {
  .slideshow .slide img { object-position: var(--mpos, var(--pos)); }
  .show-ready .show-bar { margin-top: 28px; align-items: flex-end; }
  .show-chip { font-size: .85rem; border-radius: 16px; }
  .show-count { display: none; }
  .show-ctl button { width: 40px; height: 40px; }
  .show-ctl { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .slideshow .slide, .slideshow .slide.is-on { transition: none; }
  .slideshow .slide.is-on img, .slideshow .slide img { animation: none; transform: none; }
  .show-ready .show-bars { display: none; }
  .show-ready .coords { border-top: 1px solid rgba(255,255,255,.28); margin-top: 16px; }
}
.slideshow::before, .slideshow::after { z-index: 2; }
/* Ten different photos: keep the words readable on the brightest of them */
.hero-home .hero-art.slideshow:has(.hero-photo)::after { background: linear-gradient(180deg, rgba(8,22,30,.3) 0%, rgba(8,22,30,.12) 25%, rgba(8,22,30,.38) 50%, rgba(8,22,30,.86) 100%); }
.hero-home:has(.slideshow) h1, .hero-home:has(.slideshow) .lead { text-shadow: 0 1px 18px rgba(8,22,30,.45); }
@media (max-width: 760px) {
  .hero-home .hero-art.slideshow:has(.hero-photo)::after { background: linear-gradient(180deg, rgba(8,22,30,.45) 0%, rgba(8,22,30,.5) 40%, rgba(8,22,30,.88) 100%); }
}
