:root {
  --bg: oklch(98% 0.006 235);
  --surface: oklch(100% 0 0);
  --fg: oklch(18% 0.025 245);
  --muted: oklch(49% 0.018 245);
  --border: oklch(89% 0.01 245);
  --accent: oklch(55% 0.13 178);
  --accent-strong: oklch(42% 0.11 178);
  --navy: oklch(21% 0.04 245);
  --navy-2: oklch(27% 0.035 245);
  --mist: oklch(94% 0.01 235);
  --safety: oklch(74% 0.13 95);
  --success: oklch(50% 0.13 155);
  --warn: oklch(68% 0.15 78);
  --danger: oklch(56% 0.17 28);
  --shadow: 0 18px 40px rgba(18, 32, 48, 0.12);
  --font-display: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  --font-mono: "SFMono-Regular", "Roboto Mono", ui-monospace, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: color-mix(in oklch, var(--accent) 26%, white);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--fg);
  font-weight: 650;
  transform: translateY(-160%);
  transition: transform 0.15s cubic-bezier(0.2, 0, 0, 1);
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid color-mix(in oklch, var(--safety) 82%, white);
  outline-offset: 3px;
}

.site-shell {
  min-height: 100vh;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

.topline {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.topline__inner,
.nav__inner,
.section,
.footer__inner {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.topline__inner {
  min-height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topline strong {
  color: white;
  font-weight: 560;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  box-shadow: inset 0 -5px 0 rgba(255, 255, 255, 0.08);
}

.brand__name {
  display: grid;
  gap: 1px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.brand__name small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 8px;
  color: color-mix(in oklch, var(--fg) 82%, white);
  font-size: 14px;
  font-weight: 560;
  letter-spacing: 0.02em;
}

.nav__links a[aria-current="page"],
.nav__links a:hover {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
}

.nav__action,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 650;
  letter-spacing: 0.02em;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0, 1), background 0.15s cubic-bezier(0.2, 0, 0, 1), border-color 0.15s cubic-bezier(0.2, 0, 0, 1);
}

.nav__action,
.button--primary {
  background: var(--accent-strong);
  color: white;
}

.button--secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--fg);
}

.button:active,
.nav__action:active {
  transform: translateY(1px);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  background:
    linear-gradient(115deg, rgba(20, 32, 48, 0.95), rgba(31, 52, 72, 0.88)),
    radial-gradient(circle at 82% 18%, rgba(88, 183, 165, 0.2), transparent 36%);
  color: white;
  min-height: 680px;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.22));
  z-index: -1;
}

.hero__inner {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding: 86px 0 76px;
}

.eyebrow {
  color: color-mix(in oklch, var(--accent) 86%, white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 24px;
  max-width: 820px;
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__lead,
.page-hero__lead {
  max-width: 62ch;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .button--secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: white;
}

.site-photo {
  min-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(240, 246, 248, 0.08), rgba(240, 246, 248, 0.02)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 64px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.site-photo::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 18%;
  height: 34%;
  clip-path: polygon(0 78%, 12% 42%, 28% 42%, 33% 20%, 48% 20%, 56% 0, 70% 0, 78% 32%, 100% 32%, 100% 100%, 0 100%);
  background: rgba(255, 255, 255, 0.18);
}

.site-photo::after {
  content: "";
  position: absolute;
  right: 12%;
  top: 18%;
  width: 44%;
  height: 10px;
  transform: rotate(-18deg);
  transform-origin: right center;
  background: var(--safety);
  box-shadow: -74px 54px 0 rgba(255, 255, 255, 0.12), -122px 108px 0 rgba(255, 255, 255, 0.08);
}

.site-photo--image {
  background:
    linear-gradient(180deg, rgba(9, 16, 27, 0.02), rgba(9, 16, 27, 0.22)),
    url("assets/hero-demolition-site.png") 72% center / cover;
}

.site-photo--image::before,
.site-photo--image::after {
  display: none;
}

.site-photo__caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(10, 18, 30, 0.78);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
}

.site-photo__caption strong {
  display: block;
  color: white;
  font-size: 18px;
  margin-bottom: 4px;
}

.section {
  padding: clamp(68px, 8vw, 112px) 0;
}

.section--tight {
  padding-top: 64px;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.section h2,
.page-section h2 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.section__head p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.service-card,
.info-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.service-card {
  padding: 28px;
  display: grid;
  gap: 18px;
  min-height: 270px;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.15s cubic-bezier(0.2, 0, 0, 1), background 0.15s cubic-bezier(0.2, 0, 0, 1);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.service-card__heading {
  display: grid;
  gap: 8px;
}

.service-card__index {
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.service-card h3,
.info-panel h3,
.contact-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.service-card p,
.info-panel p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--navy);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.service-card ul,
.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.service-card li,
.plain-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: color-mix(in oklch, var(--fg) 86%, white);
  font-size: 14px;
}

.service-card li::before,
.plain-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 9px;
  background: var(--success);
}

.process {
  background: var(--navy);
  color: white;
}

.process .section__head p {
  color: rgba(255, 255, 255, 0.72);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
}

.step {
  background: rgba(255, 255, 255, 0.055);
  padding: 28px;
  min-height: 220px;
}

.step__num {
  font-family: var(--font-mono);
  color: var(--safety);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.step h3 {
  margin: 18px 0 12px;
  font-size: 20px;
  line-height: 1.35;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.info-panel {
  padding: 30px;
}

.info-panel--dark {
  background: var(--navy);
  color: white;
  border-color: transparent;
}

.info-panel--dark p,
.info-panel--dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.stat {
  border-top: 1px solid color-mix(in oklch, var(--border), var(--fg) 8%);
  padding-top: 16px;
}

.stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.cta-band {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 34px;
  border-radius: 16px;
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: white;
}

.cta-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.cta-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  background: var(--navy);
  color: white;
}

.page-hero__inner {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(70px, 9vw, 112px) 0;
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 5.2vw, 64px);
}

.page-section {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(62px, 8vw, 100px) 0;
}

.service-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}

.filter-button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  font-size: 14px;
  font-weight: 620;
  transition: background 0.15s cubic-bezier(0.2, 0, 0, 1), color 0.15s cubic-bezier(0.2, 0, 0, 1), border-color 0.15s cubic-bezier(0.2, 0, 0, 1);
}

.filter-button.is-active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.filter-status {
  min-height: 24px;
  margin: -12px 0 20px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.detail-panel {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.detail-panel h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: table;
}

.table th,
.table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.table th {
  width: 28%;
  background: var(--mist);
  font-weight: 650;
}

.table tr:last-child th,
.table tr:last-child td {
  border-bottom: 0;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline__item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.timeline__item time {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 13px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(340px, 0.55fr);
  gap: 24px;
  align-items: start;
}

.contact-form,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 34px);
}

.contact-card {
  position: sticky;
  top: 112px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.contact-form .field--aligned-row {
  grid-template-rows: auto 50px 18px;
  align-content: start;
}

.contact-form .field--aligned-row > input,
.contact-form .field--aligned-row > select {
  width: 100%;
  height: 50px;
  min-height: 50px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.required-marker {
  margin-left: 4px;
  color: var(--danger);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 13px;
  background: var(--bg);
  color: var(--fg);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid color-mix(in oklch, var(--accent) 34%, transparent);
  border-color: var(--accent-strong);
}

.field__error {
  min-height: 18px;
  color: var(--danger);
  font-size: 12px;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status[data-state="loading"] {
  background: var(--mist);
  color: var(--navy);
}

.form-status[data-state="error"] {
  background: color-mix(in oklch, var(--danger) 10%, white);
  color: color-mix(in oklch, var(--danger) 72%, black);
}

.form-status[data-state="success"] {
  background: color-mix(in oklch, var(--success) 12%, white);
  color: color-mix(in oklch, var(--success) 72%, black);
}

.button:disabled {
  cursor: wait;
  opacity: 0.66;
  transform: none;
}

.quick-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.quick-action {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}

.contact-card .quick-action {
  width: 100%;
  min-height: 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  text-align: left;
}

.contact-card .quick-action__content {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.contact-card .quick-action__content > span {
  overflow-wrap: anywhere;
}

.contact-card .quick-action__meta {
  justify-self: end;
  white-space: nowrap;
}

.contact-card__intro {
  margin: 10px 0 0;
}

.contact-card__list {
  margin-top: 24px;
}

.quick-action strong {
  display: block;
}

.quick-action span {
  color: var(--muted);
  font-size: 13px;
}

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 46px 0;
}

.footer a:hover {
  color: white;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.footer__links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.muted {
  color: var(--muted);
}

/* Home polish: clearer hierarchy, asymmetric service board, and scoped responsive rhythm. */
.home-page .hero {
  min-height: 650px;
}

.home-page .hero__inner {
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.78fr);
  gap: clamp(40px, 6vw, 80px);
}

.home-page .hero h1 {
  max-width: 760px;
  font-size: clamp(46px, 5.6vw, 72px);
}

.home-page .site-photo {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.home-page .site-photo__caption {
  background: rgba(8, 15, 25, 0.86);
}

.home-page #home-services .grid--3 {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--border);
}

.home-page #home-services .service-card {
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 28px 30px;
  align-content: start;
}

.home-page #home-services .service-card:first-child {
  grid-row: span 2;
  grid-template-rows: auto 1fr auto;
  padding: 38px;
}

.home-page #home-services .service-card:first-child p {
  align-self: start;
}

.home-page #home-services .service-card:hover {
  transform: none;
  box-shadow: none;
  background: color-mix(in oklch, var(--surface) 94%, var(--mist));
}

.home-page #home-services .service-card:first-child h3 {
  font-size: 28px;
  font-family: var(--font-display);
}

.home-page .home-consult-list {
  margin-top: 18px;
}

.home-page .home-consult-list li {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 560;
}

@media (hover: hover) {
  .button:hover,
  .nav__action:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 920px) {
  .topline__inner {
    align-items: start;
    flex-direction: column;
    padding: 9px 0;
    gap: 2px;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav__links.is-open {
    display: grid;
  }

  .nav__links a {
    justify-content: space-between;
  }

  .nav__action {
    display: none;
  }

  .hero__inner,
  .section__head,
  .split,
  .detail-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-card {
    position: static;
  }

  .home-page .hero__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .home-page .site-photo {
    min-height: 360px;
    aspect-ratio: 16 / 10;
  }

  .home-page #home-services .grid--3 {
    grid-template-columns: 1fr;
  }

  .home-page #home-services .service-card:first-child {
    grid-row: auto;
    padding: 30px;
  }

  .home-page .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-photo {
    min-height: 360px;
  }

  .grid--3,
  .grid--2,
  .steps,
  .stats {
    grid-template-columns: 1fr;
  }

  .cta-card,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .topline__inner,
  .nav__inner,
  .section,
  .footer__inner,
  .hero__inner,
  .page-hero__inner,
  .page-section {
    width: min(100% - 28px, 1160px);
  }

  .nav__inner {
    min-height: 68px;
  }

  .brand__name {
    font-size: 14px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding: 60px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .home-page .hero h1 {
    font-size: clamp(38px, 11.5vw, 48px);
  }

  .home-page .site-photo {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .home-page .steps {
    grid-template-columns: 1fr;
  }

  .hero__actions,
  .cta-card .hero__actions {
    display: grid;
  }

  .button,
  .nav__action {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .table,
  .table tbody,
  .table tr,
  .table th,
  .table td {
    display: block;
    width: 100%;
  }

  .table th {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
