/* Dirt and Grime, Co. | site styles
   Industrial palette: ink, bone, paper, and the logo orange.
   Type: Anton for headings, Inter for text, Space Mono for labels and buttons. */

:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --ink-2: #232322;
  --ink-3: #2c2c2a;
  --bone: #f2eee6;
  --paper: #faf8f2;
  --white: #ffffff;
  --accent: #f48220;
  --accent-hover: #ff9640;
  --accent-text: #a9520a;
  --concrete: #8f8a82;
  --concrete-dark: #6e6a62;
  --text-2: rgba(26, 26, 26, 0.74);
  --text-2-dark: rgba(242, 238, 230, 0.74);
  --line: rgba(26, 26, 26, 0.12);
  --line-dark: rgba(242, 238, 230, 0.12);
  --display: "Anton", "Arial Narrow", "Helvetica Neue", Impact, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --label: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --header-h: 72px;
}
@media (min-width: 1024px) {
  :root {
    --gutter-l: max(32px, env(safe-area-inset-left, 0px));
    --gutter-r: max(32px, env(safe-area-inset-right, 0px));
  }
}
@media (max-width: 1080px) { :root { --header-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--ink);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
::selection { background: var(--accent); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--concrete-dark); font-size: 15px; }
.nw { white-space: nowrap; }

/* Type */
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(42px, 6.6vw, 88px); line-height: 0.96; letter-spacing: -0.005em; }
h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1; letter-spacing: 0; }
h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.08; letter-spacing: 0.015em; }
.eyebrow {
  font-family: var(--label); font-size: 12px; line-height: 1.5; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--concrete-dark); margin: 0 0 18px;
}
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; max-width: 38em; color: var(--text-2); }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--accent); color: var(--ink); padding: 10px 14px; text-decoration: none;
  font-family: var(--label); font-size: 13px; font-weight: 700;
}
.skip:focus { left: 12px; }

/* Preview notice (preview builds only) */
.preview-note {
  background: var(--accent); color: var(--ink); font-family: var(--label); font-size: 12px; letter-spacing: 0.04em;
  text-align: center; padding: 8px var(--gutter-r) 8px var(--gutter-l);
}

/* Buttons and links */
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.center .actions { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 0;
  font-family: var(--label); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--ink); border-color: rgba(26, 26, 26, 0.35); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--bone); }
.btn-dark:hover { background: var(--ink-3); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 12px; }
.dark .btn-secondary, .hero .btn-secondary, .page-hero .btn-secondary { color: var(--bone); border-color: rgba(242, 238, 230, 0.4); }
.dark .btn-secondary:hover, .hero .btn-secondary:hover, .page-hero .btn-secondary:hover { border-color: var(--bone); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: inherit; padding-bottom: 6px; border-bottom: 2px solid var(--accent);
}
.arr { display: inline-block; transition: transform .2s ease; }
.link-arrow:hover .arr, a.card:hover .arr { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(26, 26, 26, 0.97);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--bone);
}
.bar { display: flex; align-items: center; gap: 32px; height: var(--header-h); position: relative; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font-family: var(--label); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(242, 238, 230, 0.72); text-decoration: none; padding: 8px 0;
}
.nav a:hover { color: var(--bone); }
.nav a[aria-current="page"] { color: var(--bone); box-shadow: inset 0 -2px 0 var(--accent); }
.bar-actions { display: flex; align-items: center; gap: 22px; }
.bar-phone {
  font-family: var(--label); font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--accent); text-decoration: none; white-space: nowrap;
}
.bar-phone:hover { color: var(--bone); }

.menu { display: none; }
.menu summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px;
  display: grid; place-content: center; gap: 6px; margin-right: -10px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 22px; height: 2px; background: var(--bone); transition: transform .25s ease; }
.menu[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--ink); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  padding: 8px var(--gutter-r) 24px var(--gutter-l);
  display: grid;
}
.menu-panel a {
  padding: 15px 0; font-family: var(--display); font-size: 24px; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--line-dark);
}
.menu-panel .menu-call {
  font-family: var(--label); font-size: 15px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--accent); border-bottom: 0; padding-top: 20px;
}
@media (max-width: 1080px) {
  .nav, .bar-phone { display: none; }
  .menu { display: block; }
  .bar-actions { margin-left: auto; gap: 12px; }
  .brand img { height: 38px; }
}
@media (max-width: 400px) {
  .bar { gap: 16px; }
  .bar-actions .btn-sm { padding: 0 12px; letter-spacing: 0.08em; }
}

/* Home hero */
.hero { background: var(--ink); color: var(--bone); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); min-height: min(760px, calc(100vh - var(--header-h))); }
.hero-copy {
  padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(64px, 8vw, 112px);
  padding-left: max(var(--gutter-l), calc((100vw - 1240px) / 2 + 32px)); padding-right: clamp(24px, 5vw, 72px);
  display: flex; flex-direction: column; justify-content: center;
}
.rule { display: block; width: 48px; height: 4px; background: var(--accent); margin-bottom: 32px; }
.hero h1 { color: var(--bone); max-width: 11em; }
.hero .lead { color: rgba(242, 238, 230, 0.8); margin-top: 28px; max-width: 32em; }
.hero .actions { margin-top: 40px; }
.hero-media { position: relative; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(26, 26, 26, 0) 22%);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-left: var(--gutter-l); padding-right: var(--gutter-r); padding-bottom: 48px; }
  .hero-media img { position: static; height: auto; aspect-ratio: 16 / 9; object-position: 30% 50%; }
  .hero-media::after { display: none; }
}

/* Inner page hero */
.page-hero { background: var(--ink); color: var(--bone); position: relative; overflow: hidden; isolation: isolate; }
.page-hero .wrap { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(56px, 8vw, 104px); }
.page-hero h1 { max-width: 12em; font-size: clamp(40px, 6vw, 76px); }
.page-hero .lead { color: rgba(242, 238, 230, 0.8); margin-top: 24px; }
.page-hero .actions { margin-top: 36px; }
.page-hero .eyebrow { color: var(--concrete); }
.page-hero.tall .wrap { min-height: 56vh; display: flex; flex-direction: column; justify-content: center; }
.page-hero.tall .lead { margin-inline: auto; }
.facade {
  position: absolute; top: 0; right: 0; bottom: 0; width: 44%; z-index: -1; pointer-events: none; opacity: 0.8;
  -webkit-mask-image: linear-gradient(to left, #000 60%, transparent);
  mask-image: linear-gradient(to left, #000 60%, transparent);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.facade svg { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; }
.facade .win { fill: #f2eee6; opacity: 0.06; transition: fill .5s ease, opacity .8s ease; }
.facade .win.clean { fill: #f48220; opacity: 0.42; }
.facade .win.target { fill: #f48220; opacity: 0.85; }
.facade .tether { fill: none; stroke: #f2eee6; stroke-opacity: 0.28; stroke-width: 1.5; }
.facade .spray { stroke: #f48220; stroke-width: 1.5; stroke-dasharray: 5 4; animation: spray-flow .35s linear infinite; }
.facade .spray-fan { fill: #f48220; opacity: 0.14; }
.facade .spray, .facade .spray-fan { transition: opacity .2s ease; }
.facade .live:not(.spraying) .spray, .facade .live:not(.spraying) .spray-fan { opacity: 0; }
.facade .prop { transform-box: fill-box; transform-origin: center; animation: prop-spin .14s linear infinite; }
.facade .drone-bob { animation: drone-bob 2.6s ease-in-out infinite; }
@keyframes spray-flow { to { stroke-dashoffset: -9; } }
@keyframes prop-spin { 50% { transform: scaleX(0.35); } }
@keyframes drone-bob { 50% { transform: translateY(-3px); } }
@media (max-width: 860px) {
  .facade { width: 80%; opacity: 0.35; }
}

/* Trust strip */
.strip { background: var(--ink-2); color: var(--bone); border-top: 1px solid var(--line-dark); }
.strip-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-list li { padding: 30px 28px 30px 0; }
.strip-list li + li { border-left: 1px solid var(--line-dark); padding-left: 28px; }
.strip-list strong {
  display: block; font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--bone); margin-bottom: 8px;
}
.strip-list span { display: block; font-size: 15px; line-height: 1.5; color: rgba(242, 238, 230, 0.66); }
@media (max-width: 960px) {
  .strip-list { grid-template-columns: 1fr 1fr; }
  .strip-list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-list li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 540px) {
  .strip-list { grid-template-columns: 1fr; }
  .strip-list li, .strip-list li + li { padding: 22px 0; border-left: 0; }
  .strip-list li + li { border-top: 1px solid var(--line-dark); }
}

/* Sections */
.section { padding: clamp(64px, 8vw, 112px) 0; background: var(--paper); }
.section.bone { background: var(--bone); }
.section.dark { background: var(--ink); color: var(--bone); }
.section.dark-2 { background: var(--ink-2); color: var(--bone); }
.section.flush-top { padding-top: 0; }
.dark .eyebrow, .dark-2 .eyebrow { color: var(--concrete); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .intro { margin-top: 20px; font-size: 18px; color: var(--text-2); max-width: 40em; }
.dark .section-head .intro, .dark-2 .section-head .intro { color: var(--text-2-dark); }
.section-foot { margin-top: clamp(32px, 4vw, 48px); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper); color: inherit; text-decoration: none;
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column;
  transition: background-color .2s ease;
}
.bone .card { background: var(--bone); }
a.card { position: relative; }
a.card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
a.card:hover { background: var(--white); }
a.card:hover::before { transform: scaleX(1); }
.card .num { font-family: var(--label); font-size: 13px; color: var(--concrete-dark); padding-bottom: 40px; }
.card .num.tag { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.card .more {
  margin-top: 24px; font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; display: inline-flex; gap: 10px;
}
.dark .cards, .dark-2 .cards { background: var(--line-dark); border-color: var(--line-dark); }
.dark .card { background: var(--ink); }
.dark-2 .card { background: var(--ink-2); }
.dark a.card:hover, .dark-2 a.card:hover { background: var(--ink-3); }
.dark .card p, .dark-2 .card p { color: var(--text-2-dark); }
.dark .card .num, .dark-2 .card .num { color: var(--concrete); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .cards, .cards.two { grid-template-columns: 1fr; }
  .card { padding: 24px 22px 28px; }
  .card .num { padding-bottom: 18px; }
}

/* Photo and copy, side by side */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(56px, 8vw, 104px); }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media.tall img { aspect-ratio: 4 / 5; }
.split-media.rig img { object-position: 72% 50%; }
.split-copy h2 { margin-bottom: 22px; }
.split-copy p { color: var(--text-2); }
.dark .split-copy p, .dark-2 .split-copy p { color: var(--text-2-dark); }
.split-copy .link-arrow { margin-top: 28px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

/* Lists */
.ticks { display: grid; gap: 12px; margin-top: 24px; }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 9px; height: 9px; background: var(--accent); }
.ticks.cols { grid-template-columns: 1fr 1fr; column-gap: 32px; }
@media (max-width: 600px) { .ticks.cols { grid-template-columns: 1fr; } }

.industries { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; border-top: 1px solid var(--line); }
.industries li {
  display: flex; align-items: baseline; gap: 18px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  font-size: 18px; font-weight: 600; line-height: 1.35;
}
.industries .n { font-family: var(--label); font-size: 12px; font-weight: 400; color: var(--concrete-dark); flex: none; }
.dark .industries, .dark .industries li { border-color: var(--line-dark); }
.dark .industries .n { color: var(--concrete); }
@media (max-width: 900px) { .industries { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .industries { grid-template-columns: 1fr; } }

/* Reasons */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.reasons > div { background: var(--ink); padding: 34px 28px 38px; }
.dark-2 .reasons > div { background: var(--ink-2); }
.reasons h3 { color: var(--bone); margin-bottom: 14px; }
.reasons p { font-size: 16px; color: var(--text-2-dark); }
@media (max-width: 1000px) { .reasons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reasons { grid-template-columns: 1fr; } }

/* Service list */
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.35fr); gap: 16px 48px;
  padding: clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--line);
}
.service-row .num { font-family: var(--label); font-size: 13px; color: var(--concrete-dark); padding-top: 8px; }
.service-row h2 { font-size: clamp(26px, 2.8vw, 36px); }
.service-row p { color: var(--text-2); }
.service-row .ticks { margin-top: 18px; }
.service-row .row-link { margin-top: 28px; }
@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr; gap: 12px; }
  .service-row .num { padding-top: 0; }
}

/* Wide photo */
.wide-media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 700px) { .wide-media img { aspect-ratio: 4 / 3; } }

/* Prose and about */
.prose { max-width: 44em; }
.prose p { color: var(--text-2); }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--accent-text); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 64px; border-bottom: 1px solid var(--line); }
.about-grid > * { padding: 40px 0; border-top: 1px solid var(--line); }
.about-grid h2 { font-size: clamp(26px, 2.8vw, 34px); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid > .prose { border-top: 0; padding-top: 0; }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 19px; font-weight: 600; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font-family: var(--display); font-size: 30px; line-height: 1;
  color: var(--accent-text); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 28px 0; color: var(--text-2); max-width: 46em; }

/* Call to action */
.cta { background: var(--accent); color: var(--ink); padding: clamp(64px, 8vw, 104px) 0; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px 72px; align-items: center; }
.cta h2 { max-width: 13em; }
.cta p { font-size: 18px; color: rgba(26, 26, 26, 0.84); max-width: 32em; margin-bottom: 28px; }
.cta .btn-secondary { border-color: rgba(26, 26, 26, 0.5); }
.cta .btn-secondary:hover { border-color: var(--ink); }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .hero .actions .btn, .page-hero .actions .btn, .cta .actions .btn { flex: 1 1 100%; }
}

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.form { display: grid; gap: 22px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .fieldset legend {
  font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.req { color: var(--accent-text); }
.input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 1px solid rgba(26, 26, 26, 0.24); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(244, 130, 32, 0.35); }
select.input {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231a1a1a' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
textarea.input { min-height: 140px; resize: vertical; }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: 10px; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.checks-5 { grid-template-columns: repeat(5, auto); justify-content: start; }
.check {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer;
  background: var(--white); border: 1px solid rgba(26, 26, 26, 0.16); font-size: 15px; line-height: 1.35;
}
.check input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--accent); }
.check:has(input:checked) { border-color: var(--ink); }
.hint { font-size: 14px; color: var(--concrete-dark); }
.hint a { color: inherit; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.aside { background: var(--ink); color: var(--bone); padding: 32px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside h2 { font-size: 28px; margin-bottom: 14px; }
.aside h3 { font-size: 20px; margin: 28px 0 10px; }
.aside p { color: var(--text-2-dark); }
.aside a { color: var(--bone); }
.aside .big-link { font-family: var(--display); font-size: 34px; letter-spacing: 0.01em; color: var(--accent); text-decoration: none; }
.aside .ticks { margin-top: 12px; color: var(--text-2-dark); }
@media (max-width: 900px) {
  .form-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 600px) {
  .row-2, .checks { grid-template-columns: 1fr; }
  .checks-5 { grid-template-columns: 1fr 1fr; }
}

/* Footer */
.site-footer {
  background: var(--ink); color: var(--text-2-dark); font-size: 15px;
  padding: 72px 0 calc(36px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line-dark);
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { height: 48px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 26em; }
.site-footer h4 {
  font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone); margin-bottom: 16px;
}
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: var(--text-2-dark); text-decoration: none; }
.site-footer a:hover { color: var(--bone); }
.legal {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-family: var(--label); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--concrete);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Content eases in as it scrolls into view (site.js adds .rv-on when motion is allowed) */
.rv-on .rv {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1), background-color .2s ease;
}
.rv-on .rv.in { opacity: 1; transform: none; }
