/*
Theme Name: Tuurik
Theme URI: https://tuurik.com/
Author: Tuurik
Description: A single-page WordPress theme for Tuurik merch production and logistics.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.9.4
Requires PHP: 8.3
Text Domain: tuurik
*/

@font-face {
  font-family: "Harry Fat";
  src: url("assets/fonts/Harry-Fat.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Neue Haas Display";
  src: url("assets/fonts/NeueHaasDisplayMedium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

:root {
  --bg: #873b2a;
  --ink: #232222;
  --sand: #f3e5e3;
  --ember: #a24f3b;
  --sand-wash: rgba(243, 229, 227, 0.12);
  --ink-wash: rgba(35, 34, 34, 0.12);
  --line: 2px solid var(--ink);
  --radius-lg: 2.75rem;
  --radius-md: 1.75rem;
  --content-width: min(92rem, calc(100vw - 2.5rem));
  --header-offset: 0px;
  --anchor-gap: 1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + var(--anchor-gap));
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Neue Haas Display", Arial, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 82% 28%, rgba(35, 34, 34, 0.08), transparent 24%),
    linear-gradient(rgba(35, 34, 34, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 34, 34, 0.08) 1px, transparent 1px);
  background-size: auto, auto, 7.5rem 7.5rem, 7.5rem 7.5rem;
}

body.is-lightbox-open {
  overflow: hidden;
}

.page [id] {
  scroll-margin-top: calc(var(--header-offset) + var(--anchor-gap));
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
ol,
figure {
  margin: 0;
}

.site-header > div,
.page section,
section.emergency-section > div,
.site-footer {
  width: var(--content-width);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
}

.site-header > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-nav a,
h1,
h2,
h3,
.card-index,
.service-index,
.step-number {
  font-family: "Harry Fat", Impact, sans-serif;
}

.brand-mark {
  display: block;
  /*height: clamp(1.2rem, 2.2vw, 2.5rem);*/
  width: 108px;
}

.menu-toggle {
  display: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 2rem;
}

.site-nav a {
  font-size: clamp(1.2rem, 2.2vw, 2.5rem);
  text-decoration: none;
  line-height: 1;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.page {
  display: grid;
  gap: 12rem;
  padding-bottom: 4rem;
}

.js .page > :not(:first-child) {
  opacity: 0;
  transform: translateY(3rem);
  transition:
    opacity 1s ease,
    transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js .page > :not(:first-child).is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .page > .gallery-section {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

.panel,
.panel-lite {
  position: relative;
  overflow: hidden;
  border: var(--line);
}

.panel {
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.7vw, 3rem);
  background: rgba(135, 59, 42, 0.2);
}

.panel-lite {
  border-radius: var(--radius-md);
  padding: 1.25rem;
  /*background: var(--sand-wash);*/
}

/*.panel::after,*/
/*.panel-lite::after {*/
/*  content: "";*/
/*  position: absolute;*/
/*  inset: 0;*/
/*  background:*/
/*    linear-gradient(135deg, rgba(243, 229, 227, 0.08), transparent 35%),*/
/*    linear-gradient(315deg, rgba(35, 34, 34, 0.04), transparent 40%);*/
/*  pointer-events: none;*/
/*}*/

.eyebrow {
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 0.88;
}

h1 {
  font-size: clamp(4.6rem, 11vw, 10rem);
}

h2 {
  font-size: clamp(2.75rem, 7vw, 6rem);
}

h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 0.92;
}

.hero {
  margin-top: 2rem;
  min-height: min(78vh, 52rem);
  display: grid;
  align-content: end;
  gap: 2.5rem;
  background: url("assets/hero.webp") no-repeat center center/cover;
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(1rem, 2.7vw, 2rem);
}

.hero-copy {
  margin-top: 1rem;
  /*max-width: 35rem;*/
  font-size: clamp(1.12rem, 2.2vw, 1.45rem);
  line-height: 1.12;
}

.hero-copy-secondary {
  margin-top: 1rem;
  max-width: 35rem;
  font-size: 1rem;
  line-height: 1.24;
}

/*.burst {*/
/*  display: inline-block;*/
/*  transform: translateY(-0.08em);*/
/*}*/

.hero-bottom {
  display: grid;
  gap: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.9rem 1.35rem;
  border: var(--line);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 140ms ease,
    background-color 140ms ease,
    color 140ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-solid {
  background: var(--ink);
  color: var(--sand);
}

.button-ghost {
  background: rgba(243, 229, 227, 0.16);
}

.button-light {
  align-self: start;
  background: var(--sand);
  color: var(--ink);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-facts p {
  padding-top: 0.85rem;
  border-top: var(--line);
  font-size: 0.96rem;
  line-height: 1.15;
}

.problems-section,
.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.5rem;
  align-items: start;
}

.section-lead {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section-copy {
  max-width: 34rem;
  font-size: 1.04rem;
  line-height: 1.2;
}

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

.card-index,
.service-index,
.step-number {
  font-size: 2rem;
  line-height: 0.9;
}

.problem-card p:last-child,
.scenario-card p:last-child,
.step p:last-child,
.service-detail,
.contact-meta p {
  font-size: 1rem;
  line-height: 1.18;
}

.services-section {
  display: grid;
  gap: 1.25rem;
  padding-block: 1.5rem 1rem;
  border-top: var(--line);
  border-bottom: var(--line);
}

.section-header {
  display: grid;
  gap: 0.75rem;
}

.service-list {
  display: grid;
  gap: 0.9rem;
}

.services-catalog {
  display: grid;
  gap: 1.4rem;
}

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

.services-column {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 100%;
  /*padding: 1.4rem;*/
}

.services-column-title,
.services-note-number {
  font-family: "Harry Fat", Impact, sans-serif;
}

.services-column-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.9;
}

.services-column-list,
.services-notes {
  margin: 0;
  padding: 0;
}

.services-column-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.services-column-list li {
  padding-top: 0.8rem;
  border-top: 1.5px solid rgba(35, 34, 34, 0.2);
  font-size: 1rem;
  line-height: 1.18;
}

.services-column-list sup {
  font-size: 0.7em;
  line-height: 0;
}

.services-notes {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.services-notes li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  padding-top: 1rem;
  border-top: 1.5px solid rgba(35, 34, 34, 0.28);
}

.services-note-number {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(35, 34, 34, 0.7);
  border-radius: 999px;
  font-size: 1.25rem;
  line-height: 1;
}

.services-notes p {
  font-size: 0.95rem;
  line-height: 1.18;
}

.service-item {
  padding: 0;
  /*background:*/
  /*  linear-gradient(135deg, rgba(243, 229, 227, 0.18), rgba(243, 229, 227, 0.08)),*/
  /*  rgba(243, 229, 227, 0.08);*/
  box-shadow: 0 0.8rem 2rem rgba(35, 34, 34, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 280ms ease,
    background-color 280ms ease,
    border-color 280ms ease;
}

.service-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 1.1rem 2.4rem rgba(35, 34, 34, 0.12);
}

.service-item.is-open {
  /*background:*/
  /*  linear-gradient(135deg, rgba(243, 229, 227, 0.26), rgba(243, 229, 227, 0.14)),*/
  /*  rgba(243, 229, 227, 0.12);*/
  box-shadow: 0 1.4rem 3rem rgba(35, 34, 34, 0.15);
}

.service-trigger,
.service-panel {
  position: relative;
  z-index: 1;
}

.service-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.3rem 1.35rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.service-trigger:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -0.15rem;
}

.service-trigger-main {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.service-copy {
  display: grid;
  gap: 0.4rem;
}

.service-title {
  /*max-width: 18ch;*/
  font-family: "Harry Fat", Impact, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 0.92;
}

.service-tease {
  max-width: 38rem;
  color: rgba(35, 34, 34, 0.72);
  font-size: 0.94rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  transition: color 200ms ease;
}

.service-item.is-open .service-tease {
  color: rgba(35, 34, 34, 0.92);
}

.service-icon {
  position: relative;
  width: 3rem;
  height: 3rem;
  font-size: 0;
  flex-shrink: 0;
  border: 1.5px solid rgba(35, 34, 34, 0.7);
  border-radius: 999px;
  /*background: rgba(243, 229, 227, 0.22);*/
  transition:
    transform 260ms ease,
    background-color 260ms ease,
    border-color 260ms ease,
    color 260ms ease;
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.95rem;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition:
    transform 260ms ease,
    opacity 220ms ease;
}

.service-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.service-item.is-open .service-icon {
  transform: rotate(180deg);
  background: var(--ink);
  color: var(--sand);
  border-color: var(--ink);
}

.service-item.is-open .service-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.2);
}

.service-panel {
  display: grid;
  grid-template-rows: 0fr;
  padding-inline: 1.35rem;
  opacity: 0;
  transition:
    grid-template-rows 420ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 220ms ease,
    padding-bottom 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-panel[aria-hidden="false"] {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 1.35rem;
}

.service-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.service-detail {
  max-width: 40rem;
  margin-left: 6rem;
  padding-top: 1rem;
  border-top: 1.5px solid rgba(35, 34, 34, 0.24);
  color: rgba(35, 34, 34, 0.86);
}

.service-item.is-open .service-detail {
  border-top-color: rgba(35, 34, 34, 0.42);
}

.scenario-stack {
  display: grid;
  gap: 1rem;
}

.process {
  display: grid;
  gap: 1.5rem;
}

.process-header {
  max-width: 44rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.step {
  min-height: 16rem;
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.process-note {
  max-width: 34rem;
  font-size: 0.96rem;
  line-height: 1.18;
}

section.emergency-section {
  width: 100%;
  min-height: 100dvh;
  border-radius: 0;
  padding: 50px 0;
  background: #1c1b19;
  color: var(--ember);
  display: flex;
  align-items: center;
}

.emergency-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 5rem);
}

.emergency-visual {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-content: start;
}

.emergency-stage {
  min-height: clamp(20rem, 30vw, 51rem);
  border: 2px solid rgba(162, 79, 59, 0.92);
  border-radius: clamp(2.2rem, 4vw, 4.3rem);
  background: url("assets/gallery/PDP08054.webp") no-repeat center center/cover;
}

.emergency-copy {
  max-width: 48rem;
  display: grid;
  gap: clamp(1.5rem, 2.3vw, 2rem);
  align-content: start;
  padding-top: clamp(0.8rem, 1.2vw, 1.6rem);
}

.emergency-copy p,
.emergency-copy ol li,
.emergency-link {
  font-size: 1.5rem;
  line-height: 1.18;
}

.emergency-copy ol {
  list-style-position: inside;
  padding-left: 0;
  margin-left: 0;
}

.emergency-highlight {
  display: inline;
  padding: 0.02em 0.08em 0.08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.emergency-link {
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.13em;
}

.emergency-link:hover,
.emergency-link:focus-visible {
  color: var(--sand);
}

.story-section {
  padding: 40px 0;
}

.story-section h2 {
  border-bottom: var(--line);;
}

.story-copy {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.story-copy p {
  font-size: 2rem;
  line-height: 1.18;
}

.gallery-section {
  display: grid;
  gap: 1.5rem;
}

.gallery-header {
  border-bottom: var(--line);
}

.gallery-grid {
  column-count: 4;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  border: var(--line);
  border-radius: 0.5rem;
  background: rgba(35, 34, 34, 0.08);
  cursor: zoom-in;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(243, 229, 227, 0.76);
  outline: 0;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(3.5rem, 0.12fr) minmax(0, 1fr) minmax(3.5rem, 0.12fr);
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: rgba(18, 17, 16, 0.94);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  touch-action: pan-y;
  transition: opacity 180ms ease;
}

.gallery-lightbox[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox-frame {
  min-width: 0;
  max-height: calc(100dvh - 5rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 5rem);
  width: auto;
  height: auto;
  border: 2px solid rgba(243, 229, 227, 0.72);
  border-radius: 0.5rem;
  object-fit: contain;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(243, 229, 227, 0.72);
  border-radius: 999px;
  background: rgba(243, 229, 227, 0.1);
  color: var(--sand);
  font-family: "Harry Fat", Impact, sans-serif;
  cursor: pointer;
  transition:
    transform 140ms ease,
    background-color 140ms ease,
    color 140ms ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
  transform: translateY(-2px);
  background: var(--sand);
  color: var(--ink);
  outline: 0;
}

.gallery-lightbox-close {
  position: absolute;
  top: clamp(1rem, 2vw, 1.5rem);
  right: clamp(1rem, 2vw, 1.5rem);
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  line-height: 1;
}

.gallery-lightbox-nav {
  width: clamp(3rem, 6vw, 4.5rem);
  height: clamp(3rem, 6vw, 4.5rem);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1;
}

.contact-panel {
  background: var(--ink);
  color: var(--sand);
}

.contact-panel .button {
  border-color: var(--sand);
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.contact-meta p {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid rgba(243, 229, 227, 0.6);
  border-radius: 999px;
}

.final-statement {
  padding-top: 1rem;
}

.final-statement h2 {
  max-width: 10ch;
  font-size: clamp(3.4rem, 10vw, 8.6rem);
}

.site-footer {
  padding: 1.25rem 0 2rem;
  border-top: 1.5px solid rgba(35, 34, 34, 0.6);
}

.site-footer p {
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .problems-section,
  .closing-grid,
  .emergency-section,
  .hero-facts,
  .steps {
    grid-template-columns: 1fr;
  }

  .emergency-copy {
    padding-top: 0;
  }

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

  .services-notes {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    column-count: 3;
  }

  .hero {
    min-height: 80dvh;
  }
}

@media (max-width: 760px) {
  :root {
    --content-width: min(100vw - 1.25rem, 42rem);
  }

  .page {
    gap: 8rem;
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 1.25rem;
  }

  .site-nav {
    gap: 0.6rem 1.2rem;
  }

  .hero {
    margin-top: 0;
  }

  .hero-facts p{font-size: 13px;}

  .problem-grid,
  .hero-facts,
  .steps {
    grid-template-columns: 1fr;
  }

  .emergency-section {
    padding: 1.25rem;
  }

  .emergency-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .emergency-visual {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .emergency-stage {
    min-height: 15rem;
    border-radius: 2rem;
  }

  .emergency-copy {
    max-width: none;
  }

  .emergency-copy p,
  .emergency-copy ol li,
  .emergency-link {
    font-size: 1.2rem;
    line-height: 1.1;
  }

  .story-copy p {
    font-size: 1.2rem;
    line-height: 1.1;
  }

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

  .gallery-grid {
    column-count: 2;
  }

  .gallery-lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .gallery-lightbox-frame {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .gallery-lightbox-prev,
  .gallery-lightbox-next {
    justify-self: center;
  }

  .services-column {
    padding: 1.25rem;
  }

  .service-trigger {
    padding: 1.1rem 1rem;
    gap: 0.75rem;
    align-items: start;
  }

  .service-trigger-main {
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .service-title {
    max-width: none;
  }

  .service-panel {
    padding-inline: 1rem;
  }

  .service-detail {
    margin-left: 0;
    padding-top: 0.9rem;
  }

  .hero-copy,
  .hero-copy-secondary,
  .section-copy,
  .process-note {
    max-width: none;
  }
}

@media (max-width: 480px) {
  :root {
    --content-width: calc(100vw - 1rem);
    --radius-lg: 1.6rem;
    --radius-md: 1.25rem;
  }

  body {
    background-size: auto, auto, 5rem 5rem, 5rem 5rem;
  }

  h1 {
    font-size: 4rem;
    line-height: 0.86;
  }

  h2 {
    font-size: 3.15rem;
    line-height: 0.88;
  }

  h3 {
    font-size: 1.85rem;
  }

  .page {
    gap: 4.5rem;
    padding-bottom: 2.5rem;
  }

  .site-header {
    position: sticky;
    border-bottom: 1.5px solid rgba(35, 34, 34, 0.28);
    background: var(--bg);
    padding-bottom: 0;
  }

  .site-header > div {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.75rem 0;
    gap: 0;
  }

  .brand-mark {
    width: 104px;
  }

  .menu-toggle {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    border: var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 1.25rem;
    height: 2px;
    display: block;
    background: currentColor;
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(0.43rem) rotate(45deg);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-0.43rem) rotate(-45deg);
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-auto-flow: row;
    grid-auto-rows: minmax(3rem, auto);
    flex-basis: 100%;
    gap: 0;
    justify-content: stretch;
    justify-items: stretch;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition:
      max-height 240ms ease,
      opacity 160ms ease,
      visibility 0ms linear 240ms;
  }

  .site-header.is-menu-open .site-nav {
    max-height: 14rem;
    opacity: 1;
    visibility: visible;
    transition:
      max-height 240ms ease,
      opacity 160ms ease,
      visibility 0ms;
  }

  .site-nav a {
    width: 100%;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-top: 1.5px solid rgba(35, 34, 34, 0.42);
  }

  .site-nav a:first-child {
    border-top: 0;
  }

  .hero {
    min-height: min(72dvh, 42rem);
    margin-top: 0.75rem;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background-position: 54% center;
    color: rgba(255, 255, 255, 0.78);
  }

  .hero-copy {
    margin-top: 0.85rem;
    font-size: 1rem;
    line-height: 1.08;
  }

  .hero-facts {
    gap: 0.55rem;
  }

  .hero-facts p {
    padding-top: 0.65rem;
    font-size: 0.78rem;
    line-height: 1.08;
  }

  .panel {
    padding: 1rem;
  }

  .panel-lite {
    padding: 1rem;
  }

  .problems-section,
  .closing-grid {
    gap: 1rem;
  }

  .problem-grid,
  .service-list,
  .steps {
    gap: 0.75rem;
  }

  .problem-card p:last-child,
  .step p:last-child,
  .service-detail,
  .contact-meta p,
  .section-copy,
  .process-note {
    font-size: 0.95rem;
    line-height: 1.12;
  }

  .services-section {
    gap: 1rem;
    padding-block: 1.25rem 1rem;
  }

  .service-trigger {
    padding: 0.95rem;
  }

  .service-trigger-main {
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: 0.6rem;
  }

  .service-index,
  .step-number {
    font-size: 1.65rem;
  }

  .service-title {
    font-size: 1.65rem;
    line-height: 0.9;
  }

  .service-icon {
    width: 2.45rem;
    height: 2.45rem;
  }

  .service-panel {
    padding-inline: 0.95rem;
  }

  .service-detail {
    padding-top: 0.8rem;
  }

  .step {
    min-height: 11rem;
  }

  section.emergency-section {
    min-height: auto;
    padding: 3rem 0;
  }

  .emergency-grid {
    gap: 1rem;
  }

  .emergency-stage {
    aspect-ratio: 4 / 3;
    min-height: 0;
    border-radius: var(--radius-lg);
  }

  .emergency-copy {
    gap: 1rem;
  }

  .emergency-copy p,
  .emergency-copy ol li,
  .emergency-link,
  .story-copy p {
    font-size: 1.05rem;
    line-height: 1.12;
  }

  .story-section {
    padding: 1rem 0;
  }

  .story-copy {
    gap: 1rem;
  }

  .gallery-grid {
    column-count: 2;
  }

  .gallery-item {
    margin-bottom: 0.75rem;
    border-radius: var(--radius-md);
  }

  .services-columns,
  .services-catalog {
    gap: 1rem;
  }

  .services-column-title {
    font-size: 2rem;
  }

  .services-column-list {
    gap: 0.55rem;
  }

  .services-notes {
    gap: 0.75rem;
  }

  .contact-meta {
    margin: 1rem 0;
  }

  .button {
    width: 100%;
    min-height: 3rem;
    padding: 0.85rem 1rem;
    text-align: center;
  }

  .site-footer {
    padding: 1rem 0 1.5rem;
  }
}

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

  .js .page > :not(:first-child) {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-item,
  .service-tease,
  .service-icon,
  .service-panel,
  .menu-toggle span,
  .site-nav,
  .gallery-item,
  .gallery-lightbox,
  .gallery-lightbox-close,
  .gallery-lightbox-nav {
    transition: none;
  }
}
