/* ==========================================================================
   Smart Cottages Muskoka, guided tour build
   Native CSS. No framework. Self-hosted Montserrat.

   Brand (from "Smart Cottages Muskoka Logo Doc"):
     Black #000000, Green #53A55F, Blue #1F6299, White #FFFFFF.
     Montserrat 400 / 500 / 600 / 700.

   Direction: dark, but lit. Charcoal base, warm light in the scene and the
   illustrations, a lot of air. The luxury is restraint.

   System rules, applied page-wide:
     THEME  - dark, locked. No section inverts to a light background.
     ACCENT - green is the only interactive colour. Warm amber is *light*
              (windows, lamps, screens), never UI. Blue is a scrim tint.
     SHAPE  - every corner is square, matching the M mark.
   ========================================================================== */

@font-face { font-family:"Montserrat"; src:url("/assets/fonts/montserrat-400.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Montserrat"; src:url("/assets/fonts/montserrat-500.woff2") format("woff2"); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:"Montserrat"; src:url("/assets/fonts/montserrat-600.woff2") format("woff2"); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:"Montserrat"; src:url("/assets/fonts/montserrat-700.woff2") format("woff2"); font-weight:700; font-style:normal; font-display:swap; }

:root {
  color-scheme: dark;
  --bg: #0F1013; --surface-1: #141619; --surface-2: #1A1D22; --surface-3: #22262C;
  --green: #53A55F; --green-lift: #66BC73; --blue: #1F6299; --warm: #FFCF8F;
  --text: #F3F3F5; --text-2: #BBBDC4; --text-3: #8F9198;
  --line: rgba(255,255,255,.12); --line-mid: rgba(255,255,255,.20); --line-hi: rgba(255,255,255,.34);
  --ill-line: #E4E5E9; --ill-surf: #1B1E24; --ill-surf-2: #272B32;
  --maxw: 1200px; --gutter: clamp(20px, 4.5vw, 44px);
  --pad-y: clamp(84px, 10vw, 148px); --pad-y-sm: clamp(64px, 7.5vw, 104px);
  --ff: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--ff); font-size: 16px; line-height: 1.66; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p, h1, h2, h3, h4 { margin: 0; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; font-weight: 600; }
figure, figcaption, blockquote { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green-lift); outline-offset: 3px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--green); color: #04140A; padding: 12px 18px; font-weight: 700; font-size: 14px; transition: top .18s var(--ease); }
.skip-link:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
/* grid/flex items default to min-width:auto; this is what causes horizontal scroll on phones */
.svc-grid > *, .builds > *, .contact-grid > *, .ftr-in > *, .story-in > *, .trust li, .cfg-opts > *, .proc > * { min-width: 0; }

.section { padding-block: var(--pad-y); }
.section-sm { padding-block: var(--pad-y-sm); }
.band { background: var(--surface-1); }

.s-head { max-width: 860px; margin-bottom: clamp(44px, 5.5vw, 72px); }
.s-head h2 { font-size: clamp(30px, 4.3vw, 52px); max-width: 26ch; }
.s-head p { margin-top: 20px; max-width: 54ch; color: var(--text-2); font-size: clamp(15px, 1.5vw, 17.5px); }
.eyebrow { display: block; margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--green); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: rgba(15,16,19,.78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.brand { flex-shrink: 0; }
.brand img { width: clamp(104px, 10vw, 126px); height: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); }
.nav-links a { font-size: 13.5px; font-weight: 500; color: var(--text-2); padding-block: 6px; position: relative; white-space: nowrap; transition: color .2s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--green); transition: right .32s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }
.hdr-phone { display: inline-flex; align-items: center; gap: 9px; background: var(--green); color: #04140A; padding: 11px 18px; font-weight: 700; font-size: 13.5px; white-space: nowrap; transition: background .2s var(--ease), box-shadow .2s var(--ease), transform .12s var(--ease); }
.hdr-phone:hover { background: var(--green-lift); box-shadow: 0 6px 24px rgba(83,165,95,.28); }
.hdr-phone:active { transform: translateY(1px); }
.hdr-phone svg { width: 15px; height: 15px; flex-shrink: 0; }
.menu-btn { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-mid); cursor: pointer; padding: 0; align-items: center; justify-content: center; transition: border-color .2s var(--ease); }
.menu-btn:hover { border-color: var(--line-hi); }
.menu-btn span { display: block; width: 18px; height: 1.6px; background: var(--text); position: relative; transition: background .2s var(--ease); }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.6px; background: var(--text); transition: transform .28s var(--ease), top .28s var(--ease); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.m-menu { display: none; border-bottom: 1px solid var(--line); background: var(--surface-1); }
.m-menu.open { display: block; }
.m-menu ul { padding-block: 8px; }
.m-menu a { display: block; padding: 15px 0; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--line); }
.m-menu li:last-child a { border-bottom: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; font-size: 15px; font-weight: 700; white-space: nowrap; border: 1.5px solid transparent; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .25s var(--ease), transform .12s var(--ease); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #04140A; }
.btn-primary:hover { background: var(--green-lift); box-shadow: 0 10px 34px rgba(83,165,95,.30); }
.btn-ghost { background: rgba(15,16,19,.35); color: var(--text); border-color: var(--line-hi); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255,255,255,.08); }
.btn-block { width: 100%; }
.btn-sm { padding: 12px 20px; font-size: 14px; }

/* ==========================================================================
   The cottage scene: a real photograph, relit.
   Six stacked layers, every one the same frame so object-fit:cover crops
   them identically:
     ly-day     the daytime plate (always on, the LCP image)
     ly-dusk    the same plate graded to dusk      opacity --dusk-mid
     ly-night   the same plate graded to night     opacity --night
     ly-stars   a sprinkle of stars in the sky     opacity --stars
     ly-lights  the windows lit, with spill and a  opacity --lights
                reflection on the water
     ly-lamps   the path and dock lamps            opacity --ext
   script.js derives --night / --dusk-mid / --stars from --dusk. Every
   layer transitions, so a preset reads as the cottage relighting.
   ========================================================================== */
.scene { position: relative; overflow: hidden; background: #0B1020; --dusk: .84; --lights: 1; --ext: 1; --door: 1; --night: .8; --dusk-mid: .24; --stars: .35; }
.scene .ly, .scene .ly img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 52%; display: block; }
.scene .fade { transition: opacity 1.1s var(--ease); }
.scene .ly-dusk  { opacity: var(--dusk-mid); }
.scene .ly-night { opacity: var(--night); }
.scene .ly-lights { opacity: var(--lights); }
.scene .ly-lamps  { opacity: var(--ext); }

/* ---------- hero: the scene is the backdrop ---------- */
.hero { position: relative; isolation: isolate; background: var(--bg); overflow: hidden; }
/* wider than the hero and anchored left, so the house lands in the right
   half beside the copy instead of underneath it */
.hero .scene { position: absolute; inset: 0; right: auto; width: 118%; z-index: -2; }
.hero .scene .ly, .hero .scene .ly img { object-position: 0% 56%; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(100deg, rgba(15,16,19,.86) 0%, rgba(15,16,19,.62) 30%, rgba(15,16,19,.10) 58%, rgba(15,16,19,0) 100%),
  linear-gradient(to top, var(--bg) 0%, rgba(15,16,19,.7) 10%, rgba(15,16,19,0) 34%); }
.hero-in { min-height: clamp(600px, 86vh, 800px); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(64px, 8vw, 96px) clamp(96px, 10vw, 128px); }
.hero-copy { max-width: min(720px, 100%); }
.hero h1 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 600; letter-spacing: -.03em; line-height: 1.06; }
.hero h1 .hl { color: var(--green-lift); }
.hero-sub { margin-top: 24px; max-width: 44ch; font-size: clamp(16px, 1.8vw, 19.5px); color: #D9DADF; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* scene controls, pinned to the bottom of the hero */
.scene-ctl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.scene-ctl-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-block: 16px; border-top: 1px solid var(--line); background: linear-gradient(to top, rgba(15,16,19,.9), rgba(15,16,19,.55)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.scene-ctl-in { padding-inline: var(--gutter); max-width: var(--maxw); margin-inline: auto; }
.scene-lbl { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 14px; font-size: 13px; font-weight: 600; background: transparent; border: 1px solid var(--line-mid); color: var(--text-2); cursor: pointer; transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease); }
.chip:hover { color: var(--text); border-color: var(--line-hi); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #04140A; }
.dusk { display: flex; align-items: center; gap: 12px; min-width: 240px; flex: 1 1 260px; max-width: 360px; }
.dusk svg { width: 16px; height: 16px; color: var(--text-3); flex-shrink: 0; }
.dusk input { flex: 1; -webkit-appearance: none; appearance: none; height: 2px; background: linear-gradient(90deg, #E6B86A, #6B4F6E 55%, #1B2438); outline: none; }
.dusk input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; background: var(--text); border: 3px solid var(--bg); cursor: pointer; }
.dusk input::-moz-range-thumb { width: 14px; height: 14px; background: var(--text); border: 2px solid var(--bg); cursor: pointer; border-radius: 0; }
.dusk input:focus-visible { outline: 2px solid var(--green-lift); outline-offset: 6px; }

/* ---------- trust ---------- */
.trust { border-block: 1px solid var(--line); background: var(--surface-1); }
.trust ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust li { padding: 26px 0 26px 28px; border-left: 1px solid var(--line); }
.trust li:first-child { padding-left: 0; border-left: 0; }
.trust strong { display: block; font-size: 15.5px; font-weight: 600; }
.trust span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--text-3); }

/* ---------- the drive up: scroll-driven story, scene pinned beside it ---------- */
.story-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.story-pin { position: sticky; top: 96px; }
.story-pin .scene { aspect-ratio: 2 / 1; border: 1px solid var(--line); }
.story-steps { display: flex; flex-direction: column; }
.step { padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); opacity: .38; transition: opacity .5s var(--ease); }
.step.on { opacity: 1; }
.step-t { display: flex; align-items: baseline; gap: 16px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.step-t small { color: var(--text-3); letter-spacing: .08em; font-weight: 500; }
.step h3 { margin-top: 12px; font-size: clamp(21px, 2.3vw, 27px); }
.step p { margin-top: 12px; color: var(--text-2); font-size: 15.5px; max-width: 42ch; }
.story-steps .step:first-child { padding-top: 6px; border-top: 0; }

/* ---------- photo band ---------- */
.photo-band { position: relative; isolation: isolate; min-height: clamp(320px, 46vw, 560px); display: flex; align-items: flex-end; overflow: hidden; }
.photo-band picture { position: absolute; inset: 0; z-index: -2; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(15,16,19,.92), rgba(15,16,19,.25) 50%, rgba(15,16,19,.15)); }
.photo-band p { padding-block: clamp(32px, 4vw, 56px); font-size: clamp(20px, 2.6vw, 30px); font-weight: 500; letter-spacing: -.01em; max-width: 24ch; line-height: 1.3; }

/* ---------- services: hover-reveal cards, photos and drawings mixed ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { position: relative; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); aspect-ratio: 4 / 5; cursor: default; outline-offset: -2px; transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.svc:hover, .svc:focus-visible, .svc.open { border-color: var(--line-mid); transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.42); }
.svc-wide { grid-column: span 2; aspect-ratio: auto; min-height: 320px; }
.svc-vis { position: absolute; inset: 0; }
.svc-vis picture, .svc-vis img { width: 100%; height: 100%; object-fit: cover; }
.svc-vis.art { padding: 12% 12% 30%; background: radial-gradient(55% 55% at 50% 44%, rgba(255,200,130,.10), transparent 72%), linear-gradient(180deg, #1E2228, #171A1F); }
.svc-wide .svc-vis.art { padding: 6% 16% 22%; }
.ill { width: 100%; height: 100%; }
.svc-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px clamp(18px, 1.8vw, 24px) 20px; background: linear-gradient(to top, rgba(15,16,19,.94), rgba(15,16,19,.6) 60%, transparent); transition: opacity .3s var(--ease); }
.svc-cap h3 { font-size: 17.5px; }
.svc-wide .svc-cap h3 { font-size: 20px; }
.svc-cap span { display: block; margin-top: 4px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.svc-panel { position: absolute; inset: 0; padding: clamp(18px, 1.8vw, 24px); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; background: linear-gradient(to top, rgba(15,16,19,.97) 30%, rgba(15,16,19,.86)); transform: translateY(102%); transition: transform .45s var(--ease); }
.svc-panel h3 { font-size: 18px; }
.svc-wide .svc-panel h3 { font-size: 21px; }
.svc-panel p { font-size: 14.5px; color: var(--text-2); }
.svc-panel ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.svc-panel li { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); padding: 5px 9px; border: 1px solid var(--line-mid); }
.svc:hover .svc-panel, .svc:focus-visible .svc-panel, .svc.open .svc-panel { transform: translateY(0); }
.svc:hover .svc-cap, .svc:focus-visible .svc-cap, .svc.open .svc-cap { opacity: 0; }

/* drawings: hairline geometry, one warm light, one green state */
.ill .ln  { fill: none; stroke: var(--ill-line); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ill .lnk { stroke: var(--ill-line); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ill .sf  { fill: var(--ill-surf);   stroke: var(--ill-line); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ill .sf2 { fill: var(--ill-surf-2); stroke: var(--ill-line); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ill .scr { fill: #0C0D10; stroke: rgba(255,255,255,.14); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ill .ac  { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ill .acf { fill: var(--green); }
.ill .wm  { fill: var(--warm); }
.ill .dim { opacity: .45; }
.ill text { font-family: var(--ff); }
.svc:not(.play) .ill * { animation-play-state: paused !important; }

.ill-lock .tap { opacity: 0; }
.ill-lock .t1 { animation: lk-tap1 6.5s infinite; } .ill-lock .t2 { animation: lk-tap2 6.5s infinite; }
.ill-lock .t3 { animation: lk-tap3 6.5s infinite; } .ill-lock .t4 { animation: lk-tap4 6.5s infinite; }
.ill-lock .bolt { animation: lk-bolt 6.5s var(--ease) infinite; }
.ill-lock .stat, .ill-lock .ring { opacity: .3; animation: lk-on 6.5s infinite; }
.ill-lock .shackle { animation: lk-shackle 6.5s var(--ease) infinite; }
@keyframes lk-tap1 { 0%,4%{opacity:0} 6%,9%{opacity:1} 12%,100%{opacity:0} }
@keyframes lk-tap2 { 0%,12%{opacity:0} 14%,17%{opacity:1} 20%,100%{opacity:0} }
@keyframes lk-tap3 { 0%,20%{opacity:0} 22%,25%{opacity:1} 28%,100%{opacity:0} }
@keyframes lk-tap4 { 0%,28%{opacity:0} 30%,33%{opacity:1} 36%,100%{opacity:0} }
@keyframes lk-bolt { 0%,37%{transform:translateX(0)} 45%,84%{transform:translateX(-20px)} 92%,100%{transform:translateX(0)} }
@keyframes lk-on { 0%,39%{opacity:.3} 45%,84%{opacity:1} 92%,100%{opacity:.3} }
@keyframes lk-shackle { 0%,39%{transform:translateY(0)} 45%,84%{transform:translateY(-5px)} 92%,100%{transform:translateY(0)} }
.ill-therm .arc { stroke-dasharray: 165 295; stroke-dashoffset: 165; animation: th-arc 7s var(--ease) infinite; }
.ill-therm .t1 { animation: th-t1 7s infinite; } .ill-therm .t2 { opacity: 0; animation: th-t2 7s infinite; }
@keyframes th-arc { 0%,8%{stroke-dashoffset:165} 40%,80%{stroke-dashoffset:0} 96%,100%{stroke-dashoffset:165} }
@keyframes th-t1 { 0%,22%{opacity:1} 32%,84%{opacity:0} 94%,100%{opacity:1} }
@keyframes th-t2 { 0%,22%{opacity:0} 32%,84%{opacity:1} 94%,100%{opacity:0} }
.ill-tv .scene-tv { opacity: 0; transform-box: fill-box; transform-origin: center; animation: tv-on 9s var(--ease) infinite; }
.ill-tv .bl { animation: tv-bl 6s ease-in-out infinite; }
@keyframes tv-on { 0%,6%{opacity:0;transform:scale(.985)} 20%,86%{opacity:1;transform:scale(1)} 96%,100%{opacity:0;transform:scale(.985)} }
@keyframes tv-bl { 0%,100%{opacity:.28} 50%{opacity:.8} }
.ill-wifi .a1, .ill-wifi .a2, .ill-wifi .a3 { opacity: .25; animation: wf-arc 2.4s ease-in-out infinite; }
.ill-wifi .a2 { animation-delay: .3s; } .ill-wifi .a3 { animation-delay: .6s; }
.ill-wifi .lk { stroke-dasharray: 3 6; animation: wf-flow 1.8s linear infinite; }
@keyframes wf-arc { 0%,60%,100%{opacity:.25} 25%{opacity:1} }
@keyframes wf-flow { to { stroke-dashoffset: -18; } }

/* ---------- system map ---------- */
.map-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.map-wrap { border: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 50%, rgba(83,165,95,.06), transparent 70%), var(--surface-2); padding: clamp(18px, 3vw, 40px); }
.map { width: 100%; height: auto; min-width: 640px; }  /* stays legible on phones by scrolling, not shrinking */
.map .lnk { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.map .node { fill: var(--ill-surf-2); stroke: var(--ill-line); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.map .hub { fill: #121418; stroke: var(--green); stroke-width: 2; vector-effect: non-scaling-stroke; }
.map .glyph { fill: none; stroke: var(--ill-line); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.map text { font-family: var(--ff); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; fill: var(--text-3); }
.map .pulse { fill: var(--green-lift); offset-rotate: 0deg; opacity: 0; }
.map.play .pulse { animation: mp-run 3.2s linear infinite; }
.map .p2 { animation-delay: .5s !important; } .map .p3 { animation-delay: 1s !important; }
.map .p4 { animation-delay: 1.5s !important; } .map .p5 { animation-delay: 2s !important; } .map .p6 { animation-delay: 2.5s !important; }
.map .out { animation-delay: 1.2s !important; }
@keyframes mp-run { 0%{offset-distance:0%;opacity:0} 8%{opacity:1} 92%{opacity:1} 100%{offset-distance:100%;opacity:0} }
.map .hub-ring { fill: none; stroke: var(--green); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.map.play .hub-ring { animation: mp-ring 3.2s ease-out infinite; }
@keyframes mp-ring { 0%,35%{transform:scale(.6);opacity:0} 45%{opacity:.8} 100%{transform:scale(1.9);opacity:0} }
.map-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.map-notes h3 { font-size: 15.5px; }
.map-notes p { margin-top: 6px; font-size: 14px; color: var(--text-2); }

/* ---------- example builds ---------- */
.builds { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.build { background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-direction: column; }
.build > picture { display: block; }
.build > picture img { width: 100%; height: clamp(200px, 22vw, 262px); object-fit: cover; }
.build-body { padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; flex: 1; }
.build-k { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.build h3 { margin-top: 8px; font-size: clamp(24px, 2.6vw, 32px); }
.build-body > p { margin-top: 14px; color: var(--text-2); font-size: 15px; }
.build-list { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.build-list li { position: relative; padding-left: 22px; font-size: 14px; color: #DCDDE1; }
.build-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 1.5px; background: var(--green); }
.build-foot { margin-top: auto; padding-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.build-foot small { font-size: 12.5px; color: var(--text-3); }

/* ---------- configurator ---------- */
.cfg { border: 1px solid var(--line); background: var(--surface-2); display: grid; grid-template-columns: 220px 1fr; }
.cfg-side { padding: clamp(22px, 3vw, 34px); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.cfg-side li { padding: 12px 0; font-size: 14px; font-weight: 600; color: var(--text-3); display: flex; align-items: center; gap: 12px; }
.cfg-side li::before { content: ""; width: 8px; height: 8px; border: 1px solid var(--line-hi); flex-shrink: 0; }
.cfg-side li.cur { color: var(--text); }
.cfg-side li.cur::before { background: var(--green); border-color: var(--green); }
.cfg-side li.done { color: var(--text-2); }
.cfg-side li.done::before { background: var(--line-hi); border-color: var(--line-hi); }
.cfg-main { padding: clamp(24px, 3.4vw, 40px); }
.cfg-step { display: none; }
.cfg-step.cur { display: block; }
.cfg-q { font-size: clamp(20px, 2.2vw, 26px); }
.cfg-q:focus { outline: none; }  /* programmatic focus target only */
.cfg-hint { margin-top: 8px; font-size: 14px; color: var(--text-3); }
.cfg-opts { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cfg-opts.four { grid-template-columns: repeat(4, 1fr); }
.opt { text-align: left; background: var(--surface-1); border: 1px solid var(--line); padding: 18px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; transition: border-color .2s var(--ease), background .2s var(--ease); }
.opt:hover { border-color: var(--line-hi); }
.opt[aria-pressed="true"], .opt[aria-checked="true"] { border-color: var(--green); background: rgba(83,165,95,.08); }
.opt strong { font-size: 15px; font-weight: 600; }
.opt span { font-size: 13px; color: var(--text-3); }
.opt .tick { width: 16px; height: 16px; border: 1px solid var(--line-hi); margin-bottom: 4px; position: relative; }
.opt[aria-checked="true"] .tick { background: var(--green); border-color: var(--green); }
.opt[aria-checked="true"] .tick::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #04140A; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cfg-nav { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cfg-nav .back { background: transparent; border: 1px solid var(--line-mid); color: var(--text-2); padding: 12px 18px; cursor: pointer; font-weight: 600; font-size: 14px; }
.cfg-nav .back:hover { border-color: var(--line-hi); color: var(--text); }
.cfg-result { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.pkg-name { font-size: clamp(26px, 3vw, 36px); }
.pkg-k { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.pkg-list { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.pkg-list li { position: relative; padding-left: 22px; font-size: 14.5px; }
.pkg-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 1.5px; background: var(--green); }
.pkg-next { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }
.pkg-next h4 { font-size: 15.5px; }
.pkg-next p { margin-top: 8px; font-size: 14px; color: var(--text-2); }
.pkg-next ol { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; counter-reset: s; }
.pkg-next ol li { font-size: 14px; color: var(--text-2); display: flex; gap: 12px; }
.pkg-next ol li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-weight: 600; color: var(--green); font-size: 12px; letter-spacing: .1em; padding-top: 2px; }

/* ---------- process timeline ---------- */
.proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; padding-top: 34px; }
.proc::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: var(--line); }
.proc::after { content: ""; position: absolute; left: 0; top: 8px; height: 1px; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.proc.in::after { transform: scaleX(1); }
.proc li { position: relative; }
.proc li::before { content: ""; position: absolute; left: 0; top: -30px; width: 9px; height: 9px; background: var(--bg); border: 1px solid var(--green); transition: background .4s var(--ease); transition-delay: calc(var(--i) * .35s); }
.proc.in li::before { background: var(--green); }
.proc-k { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.proc h3 { margin-top: 8px; font-size: 19px; }
.proc p { margin-top: 8px; font-size: 14.5px; color: var(--text-2); }

/* ---------- reviews ---------- */
.rev-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(292px, 380px); gap: 16px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--line-hi) transparent; }
.rev-scroll::-webkit-scrollbar { height: 6px; } .rev-scroll::-webkit-scrollbar-thumb { background: var(--line-hi); }
.rev { scroll-snap-align: start; background: var(--surface-2); border: 1px solid var(--line); padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.rev-q { font-size: 15.5px; line-height: 1.64; color: #E6E7EA; }
.rev-by { margin-top: auto; font-size: 14px; font-weight: 600; }
.rev-role { display: block; font-weight: 500; color: var(--text-3); }
.rev-scroll-hint { display: none; margin-top: 14px; font-size: 13px; color: var(--text-3); }
.rev-scroll-hint.show { display: block; }

/* ---------- service area ---------- */
.area { position: relative; isolation: isolate; }
.area-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.area-media img { width: 100%; height: 100%; object-fit: cover; }
.area-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(15,16,19,.94) 12%, rgba(6,14,24,.72) 55%, rgba(15,16,19,.66) 100%); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 11px 18px; font-size: 14px; font-weight: 600; border: 1px solid var(--line-mid); background: rgba(15,16,19,.46); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* ---------- contact ---------- */
.c-title { font-size: clamp(30px, 4.3vw, 52px); max-width: 15ch; }
.c-lede { margin-top: 20px; max-width: 46ch; color: var(--text-2); font-size: clamp(15px, 1.5vw, 17.5px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 76px); align-items: start; }
.c-list { margin-top: 36px; }
.c-list li { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: baseline; padding-block: 16px; border-top: 1px solid var(--line); }
.c-list li:last-child { border-bottom: 1px solid var(--line); }
.c-k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.c-v { font-size: 16.5px; font-weight: 600; overflow-wrap: anywhere; }
a.c-v { transition: color .2s var(--ease); } a.c-v:hover { color: var(--green-lift); }
.form { background: var(--surface-2); border: 1px solid var(--line); padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; gap: 18px; }
.form-pkg { display: none; padding: 12px 14px; border: 1px solid rgba(83,165,95,.5); background: rgba(83,165,95,.08); font-size: 13.5px; }
.form-pkg.show { display: block; }
.form-pkg b { color: var(--green-lift); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.field input, .field textarea { background: var(--bg); border: 1px solid var(--line-mid); padding: 13px 15px; font-size: 15px; width: 100%; min-width: 0; max-width: 100%; transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus { border-color: var(--green); background: var(--surface-3); outline: none; box-shadow: 0 0 0 3px rgba(83,165,95,.16); }
.field textarea { resize: vertical; min-height: 128px; }
.form-note { font-size: 12.5px; color: var(--text-3); }
.form-note a { color: var(--green-lift); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); background: var(--surface-1); padding-block: 60px 26px; }
.ftr-in { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.ftr-brand img { width: 150px; height: auto; }
.ftr-brand p { margin-top: 18px; font-size: 14px; color: var(--text-3); max-width: 34ch; }
.ftr-h { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.ftr-col a, .ftr-col p { display: block; font-size: 14.5px; margin-bottom: 9px; }
.ftr-col a { transition: color .2s var(--ease); } .ftr-col a:hover { color: var(--green-lift); }
.ftr-areas { display: flex; flex-wrap: wrap; gap: 7px; }
.ftr-areas li { font-size: 12.5px; color: var(--text-2); padding: 5px 11px; border: 1px solid var(--line); }
.ftr-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); }

/* ---------- reveal ---------- */
.js .rise { opacity: 0; transform: translateY(22px); }
.rise-on { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rise-on.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  /* two columns keeps 4 wide + 4 single with no empty cells */
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-wide { grid-column: span 2; min-height: 300px; }
}
@media (max-width: 1024px) {
  /* six links plus the phone do not fit here: tighten, and drop the optional one */
  .nav, .nav-links { gap: 14px; }
  .nav-links a { font-size: 13px; }
  .nav-links .nav-opt { display: none; }
  .story-in { grid-template-columns: 1fr; }
  .story-pin { position: relative; top: auto; }
  .cfg { grid-template-columns: 1fr; }
  .cfg-side { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; gap: 4px 22px; }
  .cfg-side li { padding: 8px 0; }
  .cfg-result { grid-template-columns: 1fr; }
  .pkg-next { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .proc { grid-template-columns: repeat(2, 1fr); }
  .ftr-in { grid-template-columns: 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; }
  .map-notes { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; } .menu-btn { display: inline-flex; }
  /* the hero stacks: copy, then the scene as its own panel with the controls under it */
  .hero .scene { position: relative; inset: auto; width: 100%; z-index: 0; aspect-ratio: 2 / 1; border-block: 1px solid var(--line); }
  .hero .scene .ly, .hero .scene .ly img { object-position: 64% 52%; }
  .hero-scrim { display: none; }
  .hero-in { min-height: 0; padding-block: clamp(48px, 9vw, 72px) 34px; }
  .scene-ctl { position: relative; }
  .scene-ctl-in { background: var(--surface-1); backdrop-filter: none; -webkit-backdrop-filter: none; border-top: 0; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-wide { grid-column: span 2; }
  /* no hover on touch: the panel is simply shown below the visual */
  .svc { aspect-ratio: auto; display: flex; flex-direction: column; }
  .svc-vis { position: relative; aspect-ratio: 3 / 2; }
  .svc-vis.art { padding: 8% 12%; } .svc-wide .svc-vis.art { padding: 6% 16%; }
  .svc-cap { display: none; }
  .svc-panel { position: relative; transform: none; background: transparent; padding-top: 18px; }
  .svc:hover, .svc.open { transform: none; }
  .builds { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cfg-opts, .cfg-opts.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 74px; }
  .hdr-in { height: 64px; gap: 10px; }
  .brand img { width: 100px; }
  .nav { gap: 10px; }
  .hdr-phone { padding: 10px 12px; font-size: 13px; gap: 7px; }
  .menu-btn { width: 40px; height: 40px; }
  .svc-grid { grid-template-columns: 1fr; } .svc-wide { grid-column: span 1; }
  .trust ul { grid-template-columns: 1fr; }
  .trust li { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); } .trust li:first-child { border-top: 0; }
  .c-list li { grid-template-columns: 1fr; gap: 4px; }
  .ftr-in { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .cfg-opts, .cfg-opts.four { grid-template-columns: 1fr; }
  .build-list { grid-template-columns: 1fr; }
  .proc { grid-template-columns: 1fr; gap: 28px; padding-top: 0; padding-left: 26px; }
  .proc::before, .proc::after { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: 100%; }
  .proc::after { transform: scaleY(0); transform-origin: top; } .proc.in::after { transform: scaleY(1); }
  .proc li::before { left: -26px; top: 6px; }
  .dusk { min-width: 0; max-width: none; flex-basis: 100%; }
}

/* ---------- preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rise { opacity: 1; transform: none; }
  .svc:hover { transform: none; }
  .ill * { animation: none !important; }
  .ill-lock .bolt { transform: translateX(-20px); } .ill-lock .stat, .ill-lock .ring { opacity: 1; } .ill-lock .shackle { transform: translateY(-5px); }
  .ill-therm .arc { stroke-dashoffset: 0; } .ill-therm .t1 { opacity: 0; } .ill-therm .t2 { opacity: 1; }
  .ill-tv .scene-tv { opacity: 1; transform: none; } .ill-tv .bl { opacity: .7; }
  .ill-wifi .a1, .ill-wifi .a2, .ill-wifi .a3 { opacity: 1; }
  .map .pulse { animation: none !important; opacity: 0; }
  .map .lnk { stroke-dasharray: 4 6; }
  .proc::after { transform: none !important; } .proc li::before { background: var(--green); }
  .step { opacity: 1; }
}
@media (prefers-reduced-transparency: reduce) {
  .hdr, .scene-ctl-in { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .pills li, .btn-ghost { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(15,16,19,.86); }
}
@media print { .hdr, .m-menu, .scene-ctl, .area-media, .form { display: none; } body { background: #fff; color: #000; } }

/* ---------- builders page and the strip that points to it ---------- */
.hero-photo { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); }
.hero-photo > picture { position: absolute; inset: 0; z-index: -2; }
.hero-photo > picture img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero-photo-scrim { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(100deg, rgba(15,16,19,.92) 0%, rgba(15,16,19,.78) 36%, rgba(15,16,19,.36) 70%, rgba(15,16,19,.30) 100%),
  linear-gradient(to top, var(--bg) 0%, rgba(15,16,19,.6) 14%, rgba(15,16,19,0) 40%); }
.hero-photo .hero-in { min-height: clamp(520px, 72vh, 680px); }
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who-card { background: var(--surface-2); border: 1px solid var(--line); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 12px; }
.who-k { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.who-card h3 { font-size: clamp(19px, 1.7vw, 22px); }
.who-card p:last-child { font-size: 14.5px; color: var(--text-2); }
.scope li { background: var(--surface-2); }
.scope-notes { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 32px; }
.select { background: var(--bg); border: 1px solid var(--line-mid); padding: 13px 15px; font-size: 15px; width: 100%; color: var(--text); appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.select:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(83,165,95,.16); }
.strip { border-top: 1px solid var(--line); background: var(--surface-1); }
.strip-in { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-block: clamp(36px, 4.5vw, 56px); }
.strip-k { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.strip h2 { font-size: clamp(21px, 2.4vw, 30px); max-width: 26ch; }
@media (max-width: 1024px) { .who { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .who { grid-template-columns: 1fr; } .strip-in .btn { width: 100%; } }


/* ============================================================
   Blog post styles
   ============================================================ */
.blog-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 6% 60px;
}
.blog-post .post-header {
  margin-bottom: 32px;
}
.blog-post .post-meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.blog-post h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0f1013;
  margin: 0 0 16px;
}
.blog-post .post-hero {
  margin: 0 0 40px;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f1ea;
}
.blog-post .post-hero img {
  width: 100%;
  height: auto;
  display: block;
}
.blog-post .post-body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #1f2937;
}
.blog-post .post-body .lede {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #0f1013;
  margin-bottom: 32px;
  padding: 20px 24px;
  background: #faf8f4;
  border-left: 7px solid #1f6299;
  border-radius: 0 12px 12px 0;
}
.blog-post .post-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 48px 0 16px;
  color: #0f1013;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.blog-post .post-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 32px 0 12px;
  color: #0f1013;
}
.blog-post .post-body p {
  margin: 0 0 18px;
}
.blog-post .post-body strong {
  color: #0f1013;
  font-weight: 600;
}
.blog-post .post-body a {
  color: #1f6299;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.blog-post .post-body a:hover {
  color: #0f1013;
}
.blog-post .post-body ul, .blog-post .post-body ol {
  margin: 0 0 20px 24px;
}
.blog-post .post-body li {
  margin-bottom: 8px;
}
.blog-post .post-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
  font-size: 0.95rem;
}
.blog-post .post-footer p {
  margin: 0 0 8px;
  color: #4b5563;
}

/* ============================================================
   Blog index styles
   ============================================================ */
.blog-index {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 6% 60px;
}
.blog-index-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 2px solid #0f1013;
}
.blog-index-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: #0f1013;
  line-height: 1.1;
}
.blog-index-header .lede {
  font-size: 1.1rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.5;
}
.blog-month {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #1f6299;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e5e5;
}
.blog-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}
.blog-list li {
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.blog-list time {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
  min-width: 60px;
  font-variant-numeric: tabular-nums;
}
.blog-list .blog-topic {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #53a55f;
  background: rgba(83, 165, 95, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.blog-list a {
  flex: 1;
  color: #0f1013;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
}
.blog-list a:hover {
  color: #1f6299;
}
.rss-note {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
  font-size: 0.9rem;
  color: #6b7280;
  text-align: center;
}

@media (max-width: 600px) {
  .blog-post {
    padding: 40px 5% 40px;
  }
  .blog-index {
    padding: 40px 5% 40px;
  }
  .blog-list li {
    flex-direction: column;
    gap: 4px;
  }
}
