:root {
  /* Twin Lakes Web Co. brand palette (see TWIN-LAKES-WEB-CO-BRAND-GUIDE.md) */
  --brand-orange: #f47a3c;
  --brand-orange-dark: #d6602a;
  --brand-charcoal: #242424;
  --brand-cream: #f6f1e8;
  --brand-cream-soft: #fbf8f3;
  --brand-green: #64745a;
  --brand-gray: #d9d6d0;
  --color-white: #fff;

  /* Accessible working tokens derived from the palette above.
     Solid orange buttons and orange body links use --brand-orange-deep so
     white-on-orange and orange-on-cream both clear WCAG AA at 4.5:1. */
  --brand-orange-deep: #a9441c;
  --brand-orange-deeper: #8e3815;
  --brand-orange-soft: #fff0e7;
  --brand-green-dark: #55634a;

  --color-orange: var(--brand-orange);
  --color-orange-dark: var(--brand-orange-deep);
  --color-orange-soft: var(--brand-orange-soft);
  --color-charcoal: var(--brand-charcoal);
  --color-charcoal-soft: #393939;
  --color-cream: var(--brand-cream);
  --color-cream-soft: var(--brand-cream-soft);
  --color-green: var(--brand-green);
  --color-green-dark: var(--brand-green-dark);
  --color-gray: var(--brand-gray);
  --color-gray-dark: #77736c;
  --color-muted: #5b574f;
  --color-error: #a12a1b;
  --color-success: #27663a;

  --font-heading: "Archivo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Fluid type scale, base 16px */
  --step--1: clamp(.84rem, .81rem + .12vw, .92rem);
  --step-0: clamp(1rem, .96rem + .18vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.08rem + .55vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.05vw, 2.05rem);
  --step-3: clamp(2rem, 1.55rem + 1.85vw, 3rem);
  --step-4: clamp(2.4rem, 1.8rem + 2.6vw, 4rem);

  --space-1: .5rem;
  --space-2: .85rem;
  --space-3: 1.25rem;
  --space-4: 1.9rem;
  --space-5: 2.8rem;
  --space-6: 4.25rem;
  --radius-sm: .45rem;
  --radius: .85rem;
  --radius-lg: 1.35rem;
  --shadow-sm: 0 1px 2px rgb(36 36 36 / .08), 0 8px 22px rgb(36 36 36 / .06);
  --shadow: 0 14px 38px rgb(36 36 36 / .11);
  --wrap: 74rem;
  --wrap-narrow: 48rem;
}

html { font-size: 100%; scroll-behavior: smooth; }
body {
  min-width: 20rem;
  color: var(--brand-charcoal);
  background: var(--brand-cream);
  font: 400 var(--step-0)/1.68 var(--font-body);
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }
main { overflow: clip; }
a { color: var(--color-orange-dark); text-underline-offset: .18em; }
a:hover { color: var(--brand-orange-deeper); }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: .2rem solid var(--color-orange); outline-offset: .2rem; }
::selection { color: var(--color-charcoal); background: #ffd5bf; }

h1,h2,h3,h4 {
  margin: 0 0 .55em;
  font-family: var(--font-heading);
  line-height: 1.08;
  letter-spacing: -.025em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p,ul,ol { margin-block: 0 1em; }
strong { font-weight: 700; }

.wrap { width: min(calc(100% - 2rem), var(--wrap)); margin-inline: auto; }
.wrap-narrow { max-width: var(--wrap-narrow); }
/* Full-width page gutter with a readable measure, so hero copy lines up
   with the section content below it instead of floating in the middle. */
.measure > * { max-width: var(--wrap-narrow); }
.text-center { text-align: center; }
.text-muted { color: var(--color-muted); }
.sr-only {
  position: absolute!important;
  width: 1px!important;
  height: 1px!important;
  padding: 0!important;
  margin: -1px!important;
  overflow: hidden!important;
  clip: rect(0,0,0,0)!important;
  white-space: nowrap!important;
  border: 0!important;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: .6rem;
  left: .6rem;
  transform: translateY(-160%);
  padding: .65rem .9rem;
  color: #fff;
  background: var(--color-charcoal);
  border-radius: var(--radius-sm);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgb(251 248 243 / .94);
  border-bottom: 1px solid rgb(36 36 36 / .1);
  backdrop-filter: blur(14px);
}
.header-bar {
  min-height: 4.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand-mark { flex: 0 1 11.5rem; display: flex; align-items: center; }
.brand-logo { width: 11.5rem; height: auto; }
.main-nav { margin-left: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .55rem .78rem;
  color: var(--color-charcoal);
  font-size: var(--step--1);
  font-weight: 650;
  text-decoration: none;
  border-radius: 999px;
}
.nav-links a:not(.btn):hover,
.nav-links a[aria-current="page"]:not(.btn) { background: var(--color-orange-soft); color: var(--color-orange-dark); }
.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: none;
  place-items: center;
  padding: 0;
  color: var(--color-charcoal);
  background: transparent;
  border: 1px solid var(--color-gray);
  border-radius: 50%;
}
.nav-toggle svg { width: 1.35rem; }

.btn-row-center { justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.btn {
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .72rem 1rem;
  font-family: var(--font-heading);
  font-size: .94rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--color-orange-dark); }
.btn-primary:hover { color: #fff; background: var(--brand-orange-deeper); }
.btn-secondary { color: var(--color-charcoal); background: transparent; border-color: var(--color-charcoal); }
.btn-secondary:hover { color: #fff; background: var(--color-charcoal); }
.btn-quiet { color: var(--color-charcoal); background: var(--color-cream); border-color: var(--color-gray); }
.btn-quiet:hover { color: var(--color-charcoal); background: #eee6da; }

.hero { padding-block: clamp(3.5rem, 8vw, 7rem); background: var(--brand-cream-soft); }
.hero.section-tight { padding-block: clamp(2.7rem, 5vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(17rem, .85fr); align-items: center; gap: clamp(2.5rem, 7vw, 6rem); }
.hero h1 { max-width: 17ch; }
.hero-lede { max-width: 44rem; color: var(--color-muted); font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .85rem;
  color: var(--color-green-dark);
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { width: 1.7rem; height: .16rem; content: ""; background: var(--color-orange); border-radius: 999px; }
.hero .btn-row { margin-top: 1.6rem; }
.hero-note {
  max-width: 40rem;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  background: rgb(255 255 255 / .62);
  border-left: .25rem solid var(--color-orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--step--1);
}
.hero-note strong { display: block; margin-bottom: .2rem; }
.hero-art { position: relative; }
.hero-art::before {
  position: absolute;
  z-index: 0;
  inset: 8% -7% -6% 10%;
  content: "";
  background: var(--color-orange);
  border-radius: 43% 57% 54% 46% / 50% 41% 59% 50%;
  opacity: .16;
  transform: rotate(-3deg);
}
.hero-art picture {
  position: relative;
  z-index: 1;
  max-width: 31rem;
  display: block;
  margin-inline: auto;
}
.hero-art img {
  width: 100%;
  display: block;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  background: #fff;
  border-radius: 46% 54% 48% 52% / 38% 40% 60% 62%;
  box-shadow: var(--shadow);
}

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-alt { background: var(--brand-cream-soft); }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head p:last-child { color: var(--color-muted); }
.section-cta { margin-top: 1.5rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  min-width: 0;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  background: #fff;
  border: 1px solid var(--color-gray);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .55rem; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: #fff;
  background: var(--color-orange-dark);
  border-radius: 50%;
  font: 800 .9rem var(--font-heading);
}

.project-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-gray);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.project-thumb {
  min-height: 9.5rem;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: #fff;
  background: var(--color-charcoal);
  font: 800 clamp(1.15rem, 2vw, 1.7rem)/1.05 var(--font-heading);
  letter-spacing: .03em;
  text-align: center;
}
.project-card:nth-child(3n+1) .project-thumb { background: var(--color-green); }
.project-card:nth-child(3n+2) .project-thumb { background: var(--color-charcoal); }
.project-card:nth-child(3n+3) .project-thumb { background: var(--color-orange-dark); }
.project-thumb span { display: block; }
.project-body { padding: 1.35rem; }
.project-meta { color: var(--color-green-dark); font-size: var(--step--1); font-weight: 700; }
.project-link { font-weight: 750; }

.process-list { max-width: 62rem; margin: 0; padding: 0; counter-reset: steps; list-style: none; }
.process-list li { position: relative; padding: 0 0 2rem 4.2rem; counter-increment: steps; }
.process-list li::before {
  position: absolute;
  top: -.2rem;
  left: 0;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  content: counter(steps);
  color: #fff;
  background: var(--color-orange-dark);
  border-radius: 50%;
  font: 800 1rem var(--font-heading);
}
.process-list li:not(:last-child)::after { position: absolute; top: 2.65rem; bottom: .1rem; left: 1.38rem; width: 1px; content: ""; background: var(--color-gray); }
.process-list p { color: var(--color-muted); }

.faq { display: grid; gap: .7rem; }
.faq-item details { background: #fff; border: 1px solid var(--color-gray); border-radius: var(--radius-sm); }
.faq-item summary { padding: 1rem 1.1rem; font-family: var(--font-heading); font-weight: 700; cursor: pointer; }
.faq-item details[open] summary { border-bottom: 1px solid var(--color-gray); }
.faq-item details p { padding: 1rem 1.1rem; margin: 0; }

.cta-band {
  padding: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  background: var(--color-charcoal);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band p { max-width: 42rem; margin-inline: auto; color: #e8e2da; }
.cta-band .btn-primary { color: var(--brand-charcoal); background: var(--brand-orange); }
.cta-band .btn-primary:hover { color: var(--brand-charcoal); background: #f8946a; }
.cta-band .btn-secondary { color: #fff; border-color: #fff; }

.site-footer { padding-top: 3rem; color: #f6f1e8; background: var(--color-charcoal); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1fr 1.35fr; gap: 2rem; }
.site-footer h2 { font-size: 1rem; letter-spacing: 0; }
.site-footer p { color: #d7d0c8; font-size: var(--step--1); }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: .4rem; }
.footer-links a { color: #f6f1e8; font-size: var(--step--1); }
.site-footer a { color: #f6f1e8; }
.site-footer a:hover { color: #ffc9ac; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  margin-top: 2.5rem;
  padding-block: 1.1rem;
  color: #bbb4ab;
  border-top: 1px solid rgb(255 255 255 / .14);
  font-size: .78rem;
}
.music-player { padding: 1rem; background: var(--color-charcoal-soft); border: 1px solid rgb(255 255 255 / .15); border-radius: var(--radius-sm); }
.music-title { margin: 0 0 .25rem; color: #fff; font: 700 .88rem var(--font-heading); }
.music-track { margin: 0 0 .75rem; color: #d7d0c8; font-size: .78rem; }
.music-controls { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .65rem; }
.music-toggle { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; padding: 0; color: #fff; background: var(--color-orange-dark); border: 0; border-radius: 50%; }
.music-progress { width: 100%; accent-color: var(--color-orange); }
.music-time { min-width: 3.5rem; color: #d7d0c8; font-variant-numeric: tabular-nums; font-size: .72rem; text-align: right; }
.music-status { margin: .55rem 0 0; color: #bbb4ab; font-size: .72rem; }

/* Lead form */
.lead-intro { max-width: 51rem; }
.wizard-panel { overflow: hidden; background: #fff; border: 1px solid var(--color-gray); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.wizard-top { padding: 1rem; background: var(--color-cream); border-bottom: 1px solid var(--color-gray); }
.wizard-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; }
.wizard-step-label { padding: .65rem .5rem; color: #6c6861; background: #fff; border: 1px solid var(--color-gray); border-radius: var(--radius-sm); font: 700 .78rem var(--font-heading); text-align: center; }
.wizard-step-label.active,.wizard-step-label[aria-current="step"] { color: #fff; background: var(--color-charcoal); border-color: var(--color-charcoal); }
.progress-track { height: .4rem; margin-top: .75rem; overflow: hidden; background: #ddd8d0; border-radius: 999px; }
#progress-fill { display: block; width: 33.333%; height: 100%; background: var(--color-orange); transition: width .2s ease; }
.form-step { display: none; padding: clamp(1rem,3vw,2rem); }
.form-step.active { display: block; }
.step-heading { font-size: var(--step-2); }
.step-copy { color: #656159; }
.contact-grid,.question-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.contact-grid { margin-bottom: .9rem; }
.question { min-width: 0; padding: 1rem; background: var(--color-cream-soft); border: 1px solid var(--color-gray); border-radius: var(--radius-sm); }
.question.full,.upload-box { grid-column: 1/-1; }
.question label,.question legend { display: block; margin-bottom: .45rem; font-weight: 700; line-height: 1.35; }
.question legend { padding: 0; }
.q-num { width: 1.65rem; height: 1.65rem; display: inline-grid; place-items: center; margin-right: .4rem; color: #fff; background: var(--color-green); border-radius: 50%; font: 800 .72rem var(--font-heading); }
.optional { color: var(--color-muted); font-size: .78rem; font-weight: 500; }
.question input,.question textarea,.question select {
  width: 100%;
  padding: .72rem .75rem;
  color: var(--color-charcoal);
  background: #fff;
  border: 1px solid #aaa59d;
  border-radius: .35rem;
}
.question textarea { min-height: 7rem; resize: vertical; }
.question input:focus,.question textarea:focus,.question select:focus { border-color: var(--color-orange-dark); outline: .18rem solid rgb(244 122 60 / .25); }
.radio-row { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; }
.radio-row label { display: inline-flex; align-items: center; gap: .35rem; margin: 0; font-weight: 500; }
.radio-row input { width: auto; accent-color: var(--color-orange-dark); }
.wizard-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--color-gray); }
.wizard-actions.end { justify-content: flex-end; }
.retro-action { min-height: 2.75rem; padding: .7rem 1rem; color: var(--color-charcoal); background: #fff; border: 1px solid var(--color-charcoal); border-radius: 999px; font-family: var(--font-heading); font-weight: 700; }
.retro-action.primary { color: #fff; background: var(--color-orange-dark); border-color: var(--color-orange-dark); }
.retro-action:disabled { opacity: .55; cursor: wait; }
.upload-box { padding: 1rem; background: var(--color-cream); border: 1px solid var(--color-gray); border-radius: var(--radius-sm); }
.upload-box h3 { margin-bottom: .35rem; }
.dropzone { padding: 2rem 1rem; text-align: center; background: #fff; border: 2px dashed #aaa59d; border-radius: var(--radius-sm); cursor: pointer; }
.dropzone:hover,.dropzone:focus,.dropzone.dragover { background: var(--color-orange-soft); border-color: var(--color-orange-dark); }
.dropzone-title { font-family: var(--font-heading); font-weight: 700; }
.dropzone-sub { margin-top: .3rem; color: #6d6860; font-size: .78rem; }
.upload-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: .65rem; color: #68635d; font-size: .78rem; }
.upload-meta strong { color: var(--color-orange-dark); }
.field-warning { margin: .65rem 0 0; color: var(--color-error); font-weight: 700; }
.thumb-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .55rem; margin-top: .75rem; }
.thumb { position: relative; min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--color-gray); border-radius: .35rem; }
.thumb img { width: 100%; display: block; aspect-ratio: 1; object-fit: cover; }
.dropzone input[type="file"] { display: none; }
.thumb-caption { padding: .35rem; overflow: hidden; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.thumb-remove { position: absolute; top: .25rem; right: .25rem; width: 1.65rem; height: 1.65rem; display: grid; place-items: center; padding: 0; color: #fff; background: rgb(36 36 36 / .82); border: 0; border-radius: 50%; }
.thumb-compressing { min-height: 5rem; display: grid; place-items: center; color: #635e57; background: var(--color-cream); font-size: .72rem; font-weight: 700; }
.recaptcha-wrap { margin-top: 1rem; padding: 1rem; overflow-x: auto; background: var(--color-cream-soft); border: 1px solid var(--color-gray); border-radius: var(--radius-sm); }
.privacy-note { margin: .65rem 0 0; color: #69645e; font-size: .78rem; }
.status-banner { display: none; margin-top: 1rem; padding: .85rem 1rem; border: 1px solid; border-radius: var(--radius-sm); }
.status-banner.visible { display: block; }
.status-banner.success { color: var(--color-success); background: #ebf6ee; border-color: #8ab896; }
.status-banner.error { color: var(--color-error); background: #fff0ed; border-color: #d9a39a; }
.status-title { margin-bottom: .2rem; font-weight: 800; }
.hp-field { position: absolute!important; left: -10000px!important; width: 1px!important; height: 1px!important; overflow: hidden!important; }

/* Blog */
.blog-shell { display: grid; grid-template-columns: minmax(0,1fr) 18rem; gap: 2rem; align-items: start; }
.blog-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.blog-list > li { padding: 1.35rem; background: #fff; border: 1px solid var(--color-gray); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.blog-list h2 { font-size: var(--step-2); }
.blog-list h2 a { color: var(--color-charcoal); text-decoration: none; }
.blog-list h2 a:hover { color: var(--color-orange-dark); }
.post-meta { color: var(--color-green-dark); font-size: .8rem; font-weight: 700; }
.blog-sidebar { position: sticky; top: 6rem; padding: 1.15rem; background: var(--color-cream); border: 1px solid var(--color-gray); border-radius: var(--radius); }
.blog-sidebar h2 { font-size: 1.1rem; }
.blog-toolbar { display: flex; gap: .75rem; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.blog-toolbar input { width: min(100%,25rem); padding: .72rem .75rem; border: 1px solid #aaa59d; border-radius: 999px; }
.article-layout { display: grid; grid-template-columns: minmax(0,46rem) 16rem; gap: 3rem; align-items: start; }
.article-body { font-size: 1.04rem; }
.article-body h2 { margin-top: 2em; font-size: var(--step-2); }
.article-body h3 { margin-top: 1.7em; }
.article-body blockquote { margin: 1.5rem 0; padding: 1rem 1.2rem; background: var(--color-orange-soft); border-left: .3rem solid var(--color-orange-dark); }
.article-body pre { overflow-x: auto; padding: 1rem; color: #fff; background: var(--color-charcoal); border-radius: var(--radius-sm); }
.article-body code { padding: .12rem .3rem; background: #ece8e1; border-radius: .2rem; }
.article-body img { height: auto; border-radius: var(--radius-sm); }
.breadcrumbs { margin-bottom: 1rem; color: var(--color-muted); font-size: .8rem; }
.breadcrumbs a { color: var(--color-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { margin-left: .4rem; content: "/"; color: #aaa49b; }

@media (min-width: 48.01rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem);
    align-items: stretch;
  }
  .hero-art {
    width: min(100%, 21rem);
    min-height: 0;
    justify-self: center;
  }
  .hero-art picture {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
  }
  .hero-art img {
    height: 100%;
    aspect-ratio: auto;
    object-position: 72% 32%;
  }
}

@media (max-width: 62rem) {
  .card-grid,.card-grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.35fr .75fr 1fr; }
  .footer-grid > :last-child { grid-column: 1/-1; }
  .article-layout { grid-template-columns: minmax(0,1fr); }
  .article-layout .blog-sidebar { position: static; }
}

@media (max-width: 48rem) {
  .header-bar { min-height: 4.2rem; }
  .brand-mark { flex-basis: 11.5rem; }
  .brand-logo { width: 11.5rem; }
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed;
    inset: 4.2rem 0 auto;
    max-height: calc(100vh - 4.2rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: 1rem;
    overflow-y: auto;
    background: var(--color-cream-soft);
    border-bottom: 1px solid var(--color-gray);
    box-shadow: var(--shadow);
  }
  .nav-links[data-open="true"] { display: flex; }
  .nav-links a:not(.btn) { width: 100%; justify-content: center; border-radius: var(--radius-sm); }
  .nav-links .btn { width: 100%; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 24rem; margin-inline: auto; }
  .hero-art picture { max-width: 24rem; }
  .blog-shell { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1/-1; }
}

@media (max-width: 38rem) {
  .wrap { width: min(calc(100% - 1.25rem),var(--wrap)); }
  .card-grid,.card-grid-4,.contact-grid,.question-grid { grid-template-columns: 1fr; }
  .question.full,.upload-box { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .wizard-steps { grid-template-columns: 1fr; }
  .wizard-step-label:not(.active):not([aria-current="step"]) { display: none; }
  .wizard-actions { flex-wrap: wrap; }
  .wizard-actions button { flex: 1 1 100%; }
  .thumb-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .music-controls { grid-template-columns: auto 1fr; }
  .music-time { grid-column: 2; text-align: left; }
  .blog-toolbar { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { scroll-behavior: auto!important; transition-duration: .01ms!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; }
}
