/* ComfyDigs: hand-written stylesheet. Denim + lamp yellow. */
@font-face { font-family: 'Bagel Fat One'; src: url('/assets/fonts/BagelFatOne-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/DMSans-latin.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --denim: #26547C;
  --denim-deep: #17324B;
  --ink: #0F2335;
  --lamp: #F4B63F;
  --lamp-soft: #FBE6B0;
  --cream: #F5F3EC;
  --paper: #FFFFFF;
  --linen: #E6E1D3;
  --sky: #DCE8F2;
  --ochre: #8A5A00;
  --muted: #475A6B;
  --ok: #1F6B43;
  --err: #B3261E;
  --radius: 16px;
  --radius-lg: 28px;
  --hard: 5px 5px 0 var(--denim-deep);
  --hard-sm: 3px 3px 0 var(--denim-deep);
  --display: 'Bagel Fat One', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1180px;
  --section: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 96px; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--cream); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: var(--denim); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--denim-deep); }
:focus-visible { outline: 3px solid var(--denim-deep); outline-offset: 3px; border-radius: 4px; box-shadow: 0 0 0 6px var(--lamp); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; color: var(--denim-deep); text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .005em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3, .h3 { font: 700 1.3rem/1.2 var(--body); letter-spacing: 0; }
.post h2.h3, .callout h2.h3 { margin-bottom: .4em; color: var(--denim-deep); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 40em; }
.eyebrow { display: inline-flex; align-items: center; gap: .55em; font-size: .85rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ochre); margin-bottom: 1rem; }
.eyebrow::before { content: ''; width: .7em; height: .7em; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 4px var(--lamp-soft); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--denim-deep); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.container { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tint { background: var(--sky); }
.section--paper { background: var(--paper); }
.section--deep { background: var(--denim-deep); color: #EAF1F7; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep .lead, .section--deep p { color: #C9D8E5; }
.section--deep a { color: var(--lamp); }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.stack > * + * { margin-top: 1rem; }

/* Buttons: pillowy corners, offset shadow that presses in */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: .75em 1.5em; font: 700 1.02rem/1.2 var(--body); text-decoration: none; border: 2px solid var(--denim-deep); border-radius: 18px 18px 18px 18px / 16px 16px 20px 20px; cursor: pointer; box-shadow: var(--hard-sm); transition: transform .12s ease, box-shadow .12s ease, background-color .12s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--denim-deep); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--denim-deep); }
.btn--primary { background: var(--denim); color: #fff; }
.btn--primary:hover { background: var(--denim-deep); color: #fff; }
.btn--lamp { background: var(--lamp); color: var(--denim-deep); }
.btn--lamp:hover { background: #F8C65F; color: var(--denim-deep); }
.btn--ghost { background: transparent; color: var(--denim-deep); box-shadow: none; }
.btn--ghost:hover { background: var(--paper); box-shadow: none; transform: none; }
.section--deep .btn--ghost { color: #fff; border-color: #fff; }
.section--deep .btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--sm { min-height: 44px; padding: .55em 1.1em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 243, 236, .96); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 2px solid var(--denim-deep); }
.site-header .bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav a, .nav button.link { font: 600 1rem var(--body); color: var(--denim-deep); text-decoration: none; padding: .6em .85em; border-radius: 12px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .35em; min-height: 44px; }
.nav a:hover, .nav button.link:hover, .nav a[aria-current="page"] { background: var(--paper); }
.nav a[aria-current="page"]::after { content: ''; width: .5em; height: .5em; border-radius: 50%; background: var(--lamp); border: 1.5px solid var(--denim-deep); }
.has-sub { position: relative; }
.sub { position: absolute; left: 0; top: calc(100% + 6px); min-width: 280px; background: var(--paper); border: 2px solid var(--denim-deep); border-radius: var(--radius); box-shadow: var(--hard-sm); padding: 8px; display: none; flex-direction: column; gap: 2px; z-index: 5; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: flex; }
.sub a { width: 100%; justify-content: flex-start; }
.sub small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.caret { width: .6em; height: .6em; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.menu-btn { display: none; margin-left: auto; min-height: 48px; padding: 0 16px; font: 700 1rem var(--body); background: var(--paper); border: 2px solid var(--denim-deep); border-radius: 14px; cursor: pointer; color: var(--denim-deep); }

@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; align-items: center; gap: .5em; }
  .nav { display: none; position: fixed; inset: 78px 0 0 0; flex-direction: column; align-items: stretch; background: var(--cream); padding: 16px var(--gutter) 40px; overflow-y: auto; gap: 8px; margin: 0; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav a, .nav button.link { width: 100%; font-size: 1.15rem; justify-content: space-between; padding: .8em 1em; background: var(--paper); border: 2px solid var(--linen); }
  .sub { position: static; display: flex; box-shadow: none; border: 0; padding: 4px 0 8px 14px; background: transparent; min-width: 0; }
  .has-sub:hover > .sub { display: flex; }
  .nav .btn { width: 100%; }
}

/* Hero */
.hero { position: relative; padding-block: clamp(36px, 6vw, 80px) var(--section); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .mark { background: linear-gradient(transparent 62%, var(--lamp) 62%, var(--lamp) 92%, transparent 92%); padding: 0 .08em; }
.facade-wrap { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.facade { width: 100%; height: auto; filter: drop-shadow(8px 8px 0 var(--denim-deep)); }
.facade .win { fill: var(--lamp); }
.facade .win.off { fill: #315F8A; }
.facade .win.tw { animation: twinkle 7s infinite; }
.facade .win.tw:nth-child(3n) { animation-delay: 1.3s; }
.facade .win.tw:nth-child(3n+1) { animation-delay: 3.1s; }
.facade .win.tw:nth-child(5n) { animation-delay: 5s; }
@keyframes twinkle { 0%, 82%, 100% { fill: var(--lamp); } 86%, 96% { fill: #315F8A; } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .facade-wrap { max-width: 320px; } }

/* Finder (city search) */
.finder { background: var(--paper); border: 2px solid var(--denim-deep); border-radius: var(--radius-lg); box-shadow: var(--hard); padding: clamp(16px, 2.4vw, 26px); margin-top: 28px; max-width: 640px; }
.finder label { display: block; font-weight: 700; margin-bottom: .45em; color: var(--denim-deep); }
.finder-row { display: flex; gap: 12px; flex-wrap: wrap; }
.combo { position: relative; flex: 1 1 260px; }
.combo input { width: 100%; }
.combo ul { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--paper); border: 2px solid var(--denim-deep); border-radius: 14px; box-shadow: var(--hard-sm); max-height: 280px; overflow-y: auto; }
.combo li { padding: .6em .8em; border-radius: 10px; cursor: pointer; display: flex; justify-content: space-between; gap: 1em; }
.combo li small { color: var(--muted); }
.combo li[aria-selected="true"], .combo li:hover { background: var(--sky); }
.finder-hint { font-size: .92rem; color: var(--muted); margin: .8em 0 0; }

/* Forms */
input, select, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 2px solid #7C93A8; border-radius: 12px; padding: .7em .9em; min-height: 52px; width: 100%; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--lamp); outline-offset: 0; border-color: var(--denim-deep); }
.field { display: flex; flex-direction: column; gap: .4em; }
.field > label, .fieldset legend { font-weight: 700; color: var(--denim-deep); }
.field .hint { font-size: .9rem; color: var(--muted); }
.field .err { color: var(--err); font-weight: 600; font-size: .92rem; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
.form-grid .wide { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: .4em; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: .5em 1em; border: 2px solid #7C93A8; border-radius: 14px; background: var(--paper); font-weight: 600; }
.choice input:checked + span { background: var(--denim); border-color: var(--denim-deep); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--denim-deep); box-shadow: 0 0 0 6px var(--lamp); }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 26px; height: 26px; min-height: 0; flex: none; margin-top: 3px; accent-color: var(--denim); }
.hp { position: absolute; left: -9999px; }
.form-card { background: var(--paper); border: 2px solid var(--denim-deep); border-radius: var(--radius-lg); box-shadow: var(--hard); padding: clamp(20px, 3.4vw, 40px); }
.notice { border-radius: 14px; padding: 16px 18px; border: 2px solid; font-weight: 600; }
.notice--ok { background: #E4F3EA; border-color: var(--ok); color: #0F3F28; }
.notice--err { background: #FBE9E7; border-color: var(--err); color: #6F1710; }
.notice[hidden] { display: none; }

/* Panels (stay types): asymmetric, not a card grid */
.panels { display: grid; gap: 22px; grid-template-columns: repeat(12, 1fr); }
.panel { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 280px; padding: clamp(22px, 3vw, 36px); border: 2px solid var(--denim-deep); border-radius: var(--radius-lg); box-shadow: var(--hard); text-decoration: none; color: var(--denim-deep); background: var(--paper); transition: transform .14s, box-shadow .14s; }
.panel:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--denim-deep); color: var(--denim-deep); }
.panel h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0 0 .3em; }
.panel p { margin: 0; color: inherit; opacity: .9; }
.panel .go { font-weight: 700; display: inline-flex; align-items: center; gap: .4em; }
.panel:nth-child(1) { grid-column: span 7; background: var(--denim); color: #fff; }
.panel:nth-child(1) h3, .panel:nth-child(1) .go { color: #fff; }
.panel:nth-child(2) { grid-column: span 5; background: var(--lamp); }
.panel:nth-child(3) { grid-column: span 12; background: var(--sky); min-height: 0; flex-direction: row; align-items: center; flex-wrap: wrap; }
.panel:nth-child(3) > div { flex: 1 1 360px; }
@media (max-width: 860px) { .panel:nth-child(n) { grid-column: 1 / -1; min-height: 0; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 70px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 54px; height: 54px; display: grid; place-items: center; background: var(--lamp); border: 2px solid var(--denim-deep); border-radius: 12px 12px 12px 12px / 10px 10px 14px 14px; font: 400 1.7rem var(--display); color: var(--denim-deep); box-shadow: 0 0 0 6px rgba(244,182,63,.25); }
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); margin: 0; }
.section--deep .steps p { color: #C9D8E5; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Lists and split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split--wide-left { grid-template-columns: 1.3fr .7fr; }
@media (max-width: 860px) { .split, .split--wide-left { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.ticks li { position: relative; padding-left: 2.1rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .28em; width: 1.3rem; height: 1.3rem; border-radius: 6px; background: var(--lamp) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='%2317324B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; border: 2px solid var(--denim-deep); }
.defs { display: grid; gap: 22px; }
.defs div { padding-left: 20px; border-left: 4px solid var(--lamp); }
.defs h3 { margin-bottom: .15em; font-size: 1.15rem; }
.defs p { margin: 0; color: var(--muted); }
.callout { background: var(--lamp-soft); border: 2px solid var(--denim-deep); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--hard-sm); }
.callout p:last-child { margin: 0; }
.big-number { font-family: var(--display); font-size: clamp(3rem, 8vw, 6rem); line-height: 1; color: var(--denim); }

/* City + industry tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.tile { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 120px; padding: 16px 18px; text-decoration: none; border: 2px solid var(--denim-deep); border-radius: 22px 22px 22px 22px / 20px 20px 26px 26px; background: var(--paper); color: var(--denim-deep); box-shadow: var(--hard-sm); transition: transform .12s, box-shadow .12s; }
.tile:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--denim-deep); color: var(--denim-deep); }
.tile b { font: 400 1.35rem/1.15 var(--display); }
.tile small { color: inherit; opacity: .8; font-weight: 600; }
.tiles li:nth-child(4n+1) .tile { background: var(--denim); color: #fff; }
.tiles li:nth-child(4n+2) .tile { background: var(--lamp); }
.tiles li:nth-child(4n+3) .tile { background: var(--sky); }
.tiles--calm .tile { background: var(--paper) !important; color: var(--denim-deep) !important; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-block; padding: .45em .95em; border: 2px solid var(--denim-deep); border-radius: 999px; background: var(--paper); text-decoration: none; font-weight: 600; color: var(--denim-deep); }
.chip:hover { background: var(--lamp); color: var(--denim-deep); }
.region-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.region-filter button { font: 600 .95rem var(--body); padding: .5em 1em; border-radius: 999px; border: 2px solid var(--denim-deep); background: var(--paper); color: var(--denim-deep); cursor: pointer; min-height: 44px; }
.region-filter button[aria-pressed="true"] { background: var(--denim-deep); color: #fff; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 2px solid var(--denim-deep); border-radius: 18px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; font-size: 1.08rem; color: var(--denim-deep); display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid var(--denim-deep); border-radius: 10px; font: 700 1.3rem/1 var(--body); background: var(--lamp); }
.faq details[open] summary::after { content: '\2212'; }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* Breadcrumbs, page head, prose */
.crumbs { font-size: .92rem; padding-top: 22px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4em; }
.crumbs li + li::before { content: '/'; margin-right: .4em; opacity: .6; }
.crumbs a { color: var(--muted); }
.page-head { padding-block: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.page-head h1 { max-width: 16em; }
.prose { max-width: 42rem; }
.prose h2 { font-family: var(--body); font-weight: 700; font-size: 1.55rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.meta { color: var(--muted); font-size: .95rem; display: flex; gap: 14px; flex-wrap: wrap; }
.tag { background: var(--lamp-soft); border: 2px solid var(--denim-deep); border-radius: 999px; padding: .1em .8em; font-weight: 700; font-size: .85rem; color: var(--denim-deep); }
.post-list { display: grid; gap: 20px; }
.post { display: grid; gap: .4em; padding: 24px 26px; background: var(--paper); border: 2px solid var(--denim-deep); border-radius: var(--radius-lg); box-shadow: var(--hard-sm); text-decoration: none; color: var(--ink); }
.post:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--denim-deep); color: var(--ink); }
.post h3 { margin: 0; font-size: 1.35rem; }
.post p { margin: 0; color: var(--muted); }

/* Short answer block (quotable summary near the top of a page) */
.answer-box { max-width: 46rem; background: var(--paper); border: 2px solid var(--denim-deep); border-left-width: 10px; border-left-color: var(--lamp); border-radius: var(--radius); box-shadow: var(--hard-sm); padding: 18px 24px; margin: 0 0 1.6rem; }
.answer-label { margin: 0 0 .3em; font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ochre); }
.answer { margin: 0; font-size: 1.15rem; line-height: 1.55; color: var(--denim-deep); font-weight: 500; }
.section-answer { padding-block: 0 clamp(8px, 2vw, 24px); }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 2px solid var(--denim-deep); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
caption { text-align: left; padding: 14px 18px; font-weight: 700; color: var(--denim-deep); }
th, td { text-align: left; padding: 12px 18px; border-top: 1px solid var(--linen); vertical-align: top; }
thead th, thead td { background: var(--sky); font-weight: 700; color: var(--denim-deep); }
tbody th { font-weight: 700; color: var(--denim-deep); white-space: nowrap; }
.glossary { display: grid; gap: 18px; max-width: 48rem; margin: 0; }
.glossary > div { padding: 20px 24px; background: var(--paper); border: 2px solid var(--denim-deep); border-radius: var(--radius); box-shadow: var(--hard-sm); }
.glossary dt h2 { margin: 0 0 .3em; color: var(--denim-deep); }
.glossary dd { margin: 0; color: var(--muted); }
.glossary dd p { margin: 0 0 .6em; }
.read-next { margin-top: 2.4rem; padding: 18px 22px; background: var(--lamp-soft); border: 2px solid var(--denim-deep); border-radius: var(--radius); }
.read-next p { margin: 0; }

/* CTA band */
.cta-band { background: var(--lamp); border-block: 2px solid var(--denim-deep); }
.cta-band .inner { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; padding-block: clamp(36px, 5vw, 60px); }
.cta-band h2 { margin: 0; max-width: 18em; }
.cta-band p { margin: .5em 0 0; color: var(--denim-deep); }

/* Footer */
.site-footer { background: var(--denim-deep); color: #C9D8E5; padding-block: 56px 28px; }
.site-footer a { color: #E6EEF5; text-decoration: none; }
.site-footer a:hover { color: var(--lamp); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; }
.site-footer h2 { font: 700 .85rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--lamp); margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55em; }
.site-footer .brand img { height: 48px; }
.foot-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .92rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Reveal on scroll: opt-in via JS so content is never hidden without it */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
