/* Shared look for every gerald.digital page.
   Edit tokens, type, header, footer, and buttons here. */

@font-face { font-family: "Instrument Serif"; src: url("/fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/IBMPlexMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/IBMPlexMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --void: #05070d;
  --ink: #e8eef8;
  --muted: #b4bdc9;
  --line: #243044;
  --panel: #0c1320;
  --panel-2: #111a2b;
  --star: #e8c984;
  --ice: #9eb6dc;
  --live: #3dcf8e;
  --shadow: 0 22px 50px rgb(0 0 0 / .4);
  --font: "Geist", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --max: 1040px;
  --narrow: 720px;
  --radius: 6px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  #dust, #confetti { display: none; }
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  background: var(--void);
  min-height: 100dvh;
  overflow-x: clip;
}

a { color: var(--star); }
button, input, select, textarea { font: inherit; }

.wrap { width: min(var(--max), calc(100% - 3.5rem)); margin-inline: auto; }
.page-narrow .wrap { width: min(var(--narrow), calc(100% - 2.5rem)); }
.layer { position: relative; z-index: 1; }

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  background: var(--star);
  color: #1a1408;
  padding: .5rem .8rem;
  font-weight: 700;
}
.skip:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(5 7 13 / .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}
.logo {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--ink);
  text-decoration: none;
}
/* The period stays in the text; a small gold sun is drawn over it (matches the footer and favicon). */
.logo-dot { position: relative; color: transparent; }
.logo-dot::after {
  content: "";
  position: absolute;
  left: .035em;
  bottom: .3em;
  width: .14em;
  height: .14em;
  border-radius: 50%;
  background: var(--star);
  box-shadow: 0 0 .18em rgb(232 201 132 / .55);
}
.header-right { display: flex; align-items: center; gap: .75rem; }
.site-nav { display: flex; gap: 1.3rem; font-size: .92rem; }
.site-nav a { color: var(--muted); text-decoration: none; padding: .5rem 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--star); text-underline-offset: 6px; }
@media (max-width: 820px) { .site-nav { display: none; } }

.mail, .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
}
.mail svg, .icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  padding: .75rem 1.15rem;
  background: var(--star);
  color: #1a1408;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  white-space: normal;
}
.btn:hover { background: #f3d7a0; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn:focus-visible, a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--star);
  outline-offset: 2px;
}

.kicker {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--star);
}

h1, h2, h3 { text-wrap: balance; }

h1 {
  margin: 0 0 .7rem;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  line-height: 1.08;
  font-weight: 400;
}

h2, .section-title {
  margin: 0 0 1.15rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 400;
}

.lede, .intro { color: var(--muted); }
.lede { margin: 0; max-width: 46ch; }
.intro { margin: 0 0 1.8rem; max-width: 50ch; }

.band { padding: 5rem 0; }
.page-work .band { padding: 4.8rem 0; }

.offer, .step, form, .inc, .faq details, .pack, .concept, .panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pill {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  border-radius: 3px;
  padding: .55rem .8rem;
  cursor: pointer;
  font-weight: 600;
  font-size: .86rem;
}
.pill[aria-pressed="true"] {
  background: var(--star);
  color: #1a1408;
  border-color: var(--star);
}

.frame {
  background: #07090f;
  border: 1px solid #2a364c;
  border-radius: 8px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .45rem;
  align-items: center;
  margin-bottom: 8px;
  font-size: .72rem;
  color: var(--muted);
  font-family: var(--mono);
}
.dots { display: flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #3b4558; display: block; }
.addr {
  background: #121826;
  border-radius: 4px;
  padding: .22rem .5rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #c9d4e7;
}
.redact { filter: blur(5px); user-select: none; }

.site-form { display: grid; gap: .85rem; padding: 1.5rem; width: 100%; max-width: 540px; min-width: 0; }
.site-form label { display: flex; flex-wrap: wrap; align-items: baseline; gap: .32rem .35rem; font-weight: 650; font-size: 1rem; min-width: 0; }
/* Label text and its (optional)/(required) tag share a line; hint and field each get their own. */
.site-form label > input, .site-form label > select, .site-form label > textarea, .site-form label > .hint { flex: 1 0 100%; }
.site-form input, .site-form select, .site-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .7rem .75rem;
  background: #070b14;
  color: var(--ink);
  font-size: 16px;
}
.site-form select { text-overflow: ellipsis; }
.site-form textarea { min-height: 88px; resize: vertical; }
.site-form fieldset { display: grid; gap: .85rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.site-form fieldset + fieldset { margin-top: .9rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.site-form legend { padding: 0; margin-bottom: .3rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--star); }
.site-form .hint { font-weight: 400; font-size: .92rem; line-height: 1.45; color: var(--muted); }
.site-form .tag { font-weight: 400; color: var(--muted); }
.site-form ::placeholder { color: #8b95a7; opacity: 1; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 700px) { .site-form { padding: 1.15rem; } }

.faq { display: grid; gap: .75rem; max-width: 720px; }
.faq details { padding: .2rem 1.15rem .35rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: .95rem 0; }
.faq p { margin: 0 0 1rem; color: var(--muted); }

.close {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.7rem 1.6rem;
  align-items: center;
}

/* Night to morning (sitewide, 2026-10-05).
   Every page is one sky: night at the top, blue hour through the middle, warm dawn rising
   from the bottom of the screen near the end, then the footer sunrise. js/site.js adds the
   .sky layers and the star canvas, and sets --p (0 at the top of the page, 1 at the bottom)
   on .sky only. Only opacity and transform change while scrolling, so phones stay smooth.
   Scoped to body.has-sky: remove that class from a page to switch it off there. */

.has-sky {
  background:
    radial-gradient(800px 360px at 10% -8%, rgb(36 64 120 / .22), transparent 55%),
    radial-gradient(620px 300px at 94% 4%, rgb(90 48 20 / .16), transparent 50%),
    var(--void);
}
/* Page content sits above the sky and the stars. */
.has-sky main, .has-sky .site-footer { position: relative; z-index: 1; }

#dust { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: var(--stars, 1); }
/* Sunrise at the bottom of the page: the stars fade out. */
html.is-dawn #dust { opacity: .25; transition: opacity 3.5s ease .6s; }

.sky {
  --p: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100lvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.sky i { position: absolute; inset: 0; }

/* Blue hour: the night lifts a little. Stays dark enough for every text color. */
.sky-blue {
  background: linear-gradient(180deg, #070f20 0%, #0b1730 55%, #122241 100%);
  opacity: clamp(0, calc(var(--p) * 1.7 - .15), .9);
}

/* Dawn: warm light rising from below the bottom edge of the screen. */
.sky-dawn {
  background: radial-gradient(ellipse 130% 75% at 50% 112%,
    rgb(236 150 90 / .34) 0%,
    rgb(176 96 96 / .2) 36%,
    rgb(84 66 120 / .14) 62%,
    transparent 82%);
  opacity: clamp(0, calc((var(--p) - .4) * 1.8), 1);
  transform: translateY(calc((1 - var(--p)) * 22%));
}
@media (prefers-reduced-motion: reduce) { .sky-dawn { transform: none; } }

/* ---- Fewer boxes: sections sit on the sky, separated by thin lines and type ---- */

.has-sky .section-title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }

/* Home hero: the headline sits right on the night sky */
.has-sky .offer { padding: 0; background: none; border: 0; box-shadow: none; }
.has-sky.page-home h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }

/* Steps: a gold hairline instead of a box */
.has-sky .step { padding: 0; background: none; border: 0; border-radius: 0; }
.has-sky .step::before { content: ""; display: block; height: 1px; margin-bottom: 1.1rem; background: linear-gradient(90deg, rgb(232 201 132 / .7), rgb(232 201 132 / 0)); }

/* Good to know (home), the timeline and lists (How it works), the tag legend (Examples): open columns with a top rule */
.has-sky .x-legend li,
.has-sky .inc { padding: 1.15rem 0 0; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }

/* Questions: a ruled list instead of stacked boxes */
.has-sky .faq { gap: 0; border-top: 1px solid var(--line); }
.has-sky .faq details { padding: .2rem 0 .35rem; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }

/* What still needs a surface (plans, example cards, forms, closing panels) turns to glass so the sky shows through */
.has-sky .pack, .has-sky .concept, .has-sky .site-form, .has-sky .next, .has-sky .panel, .has-sky .x-card {
  background: linear-gradient(180deg, rgb(17 26 43 / .62), rgb(12 19 32 / .5));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.has-sky .pack.featured { border-color: rgb(232 201 132 / .55); }

/* Footer: the name stands on a horizon and its dot is the gold sun from the favicon.
   /js/site.js drives it:
     --rise  0 → 1 as the footer scrolls in. The horizon warms and the sun peeks.
     .is-up  added when the page reaches the very end. --lit runs 0 → 1: the sun breaks
             the horizon (bloom + star glint), rays fan out, dawn light spills up the
             screen. Scroll back up and it resets for next time.
   Without the script, or with reduced motion, both are 1: the sun is up, nothing moves.
   Numbers below come from Instrument Serif: the word is 4.5em wide, baseline at .84em,
   and the dot sits 49.4% across. */
@property --lit { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --rise { syntax: "<number>"; inherits: true; initial-value: 1; }

.site-footer {
  --lit: 1;
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 2.4rem 0 0;
  color: var(--muted);
  font-size: .94rem;
  border-top: 1px solid var(--line);
  transition: --lit 2.8s cubic-bezier(.3, .1, .25, 1);
}
.site-footer.is-down { --lit: 0; transition: none; }
.foot-top, .foot-base { position: relative; z-index: 1; }
.foot-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer .foot-line {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--star);
}
.site-footer nav { display: flex; gap: 0 1.1rem; flex-wrap: wrap; align-items: center; }
.site-footer nav a:not(.mail):not(.icon-btn) { padding: .6rem 0; }
.site-footer nav a:not(.mail):not(.icon-btn) { color: var(--muted); text-decoration: none; }
.site-footer nav a:not(.mail):not(.icon-btn):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.site-footer .mail:hover, .site-footer .icon-btn:hover { border-color: var(--star); color: var(--star); }

/* Dawn light spilling up the whole screen. Only while .is-up (never without the script). */
.foot-spill {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 110% 95% at 50% calc(100% - 7rem), rgb(244 168 100 / .28), transparent 75%),
    linear-gradient(to top, rgb(244 180 116 / .11), rgb(120 140 200 / .05) 60%, transparent);
  /* Keep the water at the bottom dark; the light is in the sky. */
  -webkit-mask-image: linear-gradient(to top, transparent 4rem, #000 9rem);
  mask-image: linear-gradient(to top, transparent 4rem, #000 9rem);
  opacity: 0;
}
/* Rises with the sun, and fades as the footer scrolls back out of view. */
.site-footer.is-up .foot-spill { opacity: calc(var(--lit) * var(--rise)); }

.foot-mark {
  position: relative;
  container-type: inline-size;
  width: min(1600px, 100% - 2 * clamp(.75rem, 2.5vw, 2.5rem));
  margin: clamp(2.6rem, 7vw, 5rem) auto 0;
  background: radial-gradient(ellipse 58% 125% at 49.4% 84%, rgb(244 184 112 / calc(max(var(--lit), var(--rise) * .4) * .26)), rgb(232 150 96 / calc(max(var(--lit), var(--rise) * .4) * .08)) 45%, transparent 75%);
}
/* Dawn sky: from the horizon up to the top of the footer, full width. */
.foot-mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -100vw;
  right: -100vw;
  bottom: 16%;
  height: calc(84% + 16rem);
  --sky: max(var(--lit), var(--rise) * .3);
  background: linear-gradient(to top,
    rgb(236 150 90 / calc(var(--sky) * .6)) 0%,
    rgb(196 106 92 / calc(var(--sky) * .44)) 16%,
    rgb(84 66 120 / calc(var(--sky) * .34)) 38%,
    rgb(28 44 86 / calc(var(--sky) * .3)) 68%,
    transparent 100%);
}
/* Water: the sun's path below the horizon, narrow far off and wider up close. */
.foot-mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: calc(49.4% - 10%);
  width: 20%;
  top: 84%;
  height: 70%;
  background:
    repeating-linear-gradient(transparent 0 5px, rgb(255 226 170 / calc(var(--lit) * .55)) 5px 6px),
    repeating-linear-gradient(transparent 0 9px, rgb(255 236 200 / calc(var(--lit) * .4)) 9px 11px),
    linear-gradient(rgb(236 166 100 / calc(var(--lit) * .34)), transparent 75%);
  -webkit-mask-image: conic-gradient(from 160deg at 50% -6%, transparent, #000 15deg 25deg, transparent 40deg), linear-gradient(#000 5%, transparent 80%);
  -webkit-mask-composite: source-in;
  mask-image: conic-gradient(from 160deg at 50% -6%, transparent, #000 15deg 25deg, transparent 40deg), linear-gradient(#000 5%, transparent 80%);
  mask-composite: intersect;
  animation: foot-glint 3s linear infinite;
}
@keyframes foot-glint { to { background-position: 0 6px, 0 -11px, 0 0; } }

/* Sun rays above the horizon. They fan out with the sunrise, then turn very slowly. */
.foot-rays {
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: 16%;
  height: 260%;
  overflow: clip;
  pointer-events: none;
  opacity: var(--lit);
}
.foot-rays::before {
  content: "";
  position: absolute;
  left: 49.6%;
  top: 100%;
  width: 90%;
  aspect-ratio: 1;
  translate: -50% -50%;
  scale: calc(.55 + var(--lit) * .45);
  background:
    repeating-conic-gradient(rgb(255 226 170 / .08) 0deg 1.5deg, transparent 1.5deg 9deg),
    repeating-conic-gradient(from 3deg, rgb(255 236 200 / .05) 0deg 3deg, transparent 3deg 17deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 5%, rgb(0 0 0 / .4) 28%, transparent 85%);
  mask-image: radial-gradient(closest-side, #000 5%, rgb(0 0 0 / .4) 28%, transparent 85%);
}
.site-footer.is-up .foot-rays::before { animation: foot-turn 300s linear infinite; }
@keyframes foot-turn { to { rotate: 360deg; } }

/* The moment the sun breaks the horizon: one soft flash of light behind the name. */
.foot-bloom {
  position: absolute;
  left: 49.4%;
  top: 84%;
  width: 60%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 244 220 / .5), rgb(232 201 132 / .2) 35%, transparent);
  opacity: 0;
  pointer-events: none;
}
.site-footer.is-up .foot-bloom { animation: foot-bloom 2.4s cubic-bezier(.2, .7, .3, 1) .55s both; }
@keyframes foot-bloom {
  0% { opacity: 0; scale: .15; }
  22% { opacity: 1; }
  100% { opacity: 0; scale: 1.7; }
}

.foot-word {
  position: relative;
  display: block;
  font-family: var(--serif);
  font-size: 21vw;
  font-size: calc(100cqi / 4.54);
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  color: var(--ink);
  --glow: max(var(--lit), var(--rise) * .2);
  background: radial-gradient(
    ellipse calc(6% + var(--glow) * 70%) calc(20% + var(--glow) * 150%) at 49.4% 84%,
    #fff4dc 0%, var(--star) 20%, #e2c595 36%, #bcbfcc 62%, #5d6a80 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-mask-image: linear-gradient(#000 84%, rgb(0 0 0 / .22) 87%, transparent 100%);
  mask-image: linear-gradient(#000 84%, rgb(0 0 0 / .22) 87%, transparent 100%);
}
/* The horizon */
.foot-word::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: .84em;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(232 201 132 / calc(.12 + max(var(--lit), var(--rise) * .6) * .55)) 49.4%, transparent);
}
/* The dot, drawn as the sun. Same width as the period it replaces.
   Before the end it only peeks over the horizon; at the end it rises. */
.foot-sun {
  position: relative;
  display: inline-block;
  width: .12em;
  height: .12em;
  margin-inline: .035em;
  border-radius: 50%;
  background: #ffe7b8;
  box-shadow:
    0 0 .05em .01em rgb(255 236 196 / .9),
    0 0 .55em .1em rgb(244 190 120 / calc(max(var(--lit), var(--rise) * .3) * .7));
  translate: 0 calc(max(0, 1 - var(--lit) * 1.6) * (1 - var(--rise) * .75) * .42em);
}
/* Star glint on the sun: flashes as it breaks the horizon, then stays faint. */
.foot-sun::before, .foot-sun::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.1em;
  height: .014em;
  translate: -50% -50%;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgb(255 246 224 / .95), transparent);
  opacity: 0;
}
.foot-sun::after { width: .75em; rotate: 90deg; }
.site-footer.is-up .foot-sun::before,
.site-footer.is-up .foot-sun::after { animation: foot-star 1.8s cubic-bezier(.2, .7, .3, 1) .75s both; }
@keyframes foot-star {
  0% { opacity: 0; scale: 0 1; }
  30% { opacity: 1; scale: 1 1; }
  100% { opacity: .3; scale: .4 1; }
}

.foot-base {
  display: flex;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  flex-wrap: wrap;
  padding: .6rem 0 1.8rem;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .04em;
}
.foot-base a { display: inline-block; padding: .6rem 0; margin: -.6rem 0; color: var(--muted); text-decoration: none; }
.foot-base a:hover { color: var(--ink); }
@media (max-width: 700px) { .foot-base { padding-top: 2.6rem; } }


.page-narrow main { padding: 3.2rem 0 4rem; }
.page-narrow h2 { font-size: 1.45rem; margin: 2rem 0 .5rem; }
.page-narrow p, .page-narrow li { color: var(--muted); max-width: 62ch; }
.page-narrow ul { padding-left: 1.15rem; }
.page-narrow .updated { font-size: .86rem; }

@media (max-width: 700px) {
  .wrap { width: min(var(--max), calc(100% - 2rem)); }
  .page-narrow .wrap { width: min(var(--narrow), calc(100% - 2rem)); }
  .band { padding: 3.4rem 0; }
  .page-work .band { padding: 3.2rem 0; }
  .site-header .wrap { min-height: 68px; gap: .5rem; }
  .logo { font-size: 1.22rem; }
  .header-right { gap: .45rem; flex-shrink: 0; }
  .btn { padding: .65rem .85rem; }
  .close { padding: 1.3rem 1.1rem; }
  .faq details { padding: .2rem .9rem .35rem; }
}

@media (max-width: 420px) {
  .wrap, .page-narrow .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
}
