:root {
  color-scheme: light;
  --bg: #f7faf6;
  --bg-strong: #eef5ec;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.78);
  --surface-strong: #f1f7f0;
  --text: #0d1d17;
  --muted: #5c6a62;
  --brand: #075a36;
  --brand-2: #0e7b48;
  --accent: #b9e83c;
  --accent-2: #5aa8a4;
  --line: rgba(7, 90, 54, 0.16);
  --line-strong: rgba(7, 90, 54, 0.28);
  --shadow: 0 24px 70px rgba(19, 45, 34, 0.13);
  --radius: 8px;
  --header-h: 76px;
  --hero-overlay:
    linear-gradient(90deg, rgba(3, 22, 13, 0.9) 0%, rgba(3, 35, 18, 0.74) 46%, rgba(5, 62, 38, 0.22) 100%),
    linear-gradient(0deg, rgba(2, 18, 10, 0.35), rgba(2, 18, 10, 0.18));
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050806;
  --bg-strong: #09100b;
  --surface: #0c130f;
  --surface-soft: rgba(12, 19, 15, 0.78);
  --surface-strong: #101b14;
  --text: #f3fff6;
  --muted: #adc2b6;
  --brand: #9bec4d;
  --brand-2: #51d978;
  --accent: #d8ff55;
  --accent-2: #65d9d0;
  --line: rgba(155, 236, 77, 0.18);
  --line-strong: rgba(155, 236, 77, 0.32);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.44);
  --hero-overlay:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(1, 14, 7, 0.82) 48%, rgba(8, 87, 44, 0.3) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.18));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(185, 232, 60, 0.1), transparent 28rem),
    linear-gradient(180deg, var(--bg), var(--bg-strong));
  color: var(--text);
  font-family:
    "Segoe UI",
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  line-height: 1.6;
  min-width: 320px;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: #082011;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--accent);
  color: #081f11;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: var(--header-h);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

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

.brand-mark {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  overflow: hidden;
}

.brand-mark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong,
.brand-copy span {
  display: block;
  white-space: nowrap;
}

.brand-copy strong {
  font-size: 0.98rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 9%, transparent);
}

.nav-cta {
  background: var(--brand) !important;
  color: var(--surface) !important;
  font-weight: 800 !important;
  padding: 9px 18px !important;
}

.nav-cta:hover {
  background: var(--brand-2) !important;
  color: var(--surface) !important;
}

html[data-theme="dark"] .nav-cta {
  color: #061006 !important;
}

html[data-theme="dark"] .nav-cta:hover {
  color: #061006 !important;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--brand);
  display: inline-grid;
  place-items: center;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: var(--surface);
}

.icon-button svg,
.button svg,
.search-box svg,
.service-chip svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.theme-toggle {
  position: relative;
  overflow: hidden;
}

.theme-icon {
  position: absolute;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

html[data-theme="light"] .theme-icon-sun,
html[data-theme="dark"] .theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

html[data-theme="light"] .theme-icon-moon,
html[data-theme="dark"] .theme-icon-sun {
  opacity: 0;
  transform: rotate(45deg) scale(0.55);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--text);
}

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

.hero {
  position: relative;
  min-height: calc(88svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background-image:
    var(--hero-overlay),
    url("media/pexels-wdtoro-17324301.jpg");
  background-position: center;
  background-size: cover;
  color: #ffffff;
  padding: clamp(88px, 14vw, 150px) max(16px, calc((100% - 1180px) / 2)) 0;
}

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

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.78;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 32px));
  padding: 0 0 clamp(62px, 8vw, 118px);
  text-shadow: 0 5px 28px rgba(0, 0, 0, 0.58);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--accent);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 9vw, 6.8rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.03rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

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

.button-primary {
  background: var(--accent);
  color: #082011;
  box-shadow: 0 15px 30px rgba(185, 232, 60, 0.24);
}

.button-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-metrics {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.hero-metrics article {
  min-height: 112px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-metrics article:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  color: var(--accent);
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 650;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) 0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
  margin: 20px 0 0;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.panel-kicker {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.profile-story {
  padding: clamp(22px, 4vw, 34px);
}

.profile-story p,
.statement-panel p,
.statement-panel li {
  color: var(--muted);
}

.statement-block {
  min-width: 0;
}

.tab-controls {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.tab-button,
.filter-button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 8px 14px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.tab-button:hover,
.filter-button:hover {
  transform: translateY(-1px);
  color: var(--brand);
}

.tab-button.is-active,
.filter-button.is-active {
  background: var(--brand);
  color: var(--surface);
}

html[data-theme="dark"] .tab-button.is-active,
html[data-theme="dark"] .filter-button.is-active {
  color: #061006;
}

.statement-panel {
  padding: clamp(22px, 4vw, 36px);
  min-height: 332px;
}

.is-hidden {
  display: none;
}

.clean-list,
.check-list {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.clean-list li,
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-top: 12px;
}

.clean-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent);
}

.service-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.service-rail {
  display: grid;
  gap: 10px;
  align-content: start;
}

.service-chip {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 850;
  text-align: left;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.service-chip svg {
  flex: 0 0 auto;
  color: var(--brand);
}

.service-chip:hover,
.service-chip.is-active {
  transform: translateX(3px);
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--brand) 12%, var(--surface));
}

.service-panel {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  height: 430px;
}

.service-media {
  height: 100%;
  background: var(--surface-strong);
  overflow: hidden;
}

.service-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-copy {
  padding: clamp(24px, 4vw, 42px);
  align-self: center;
}

.service-copy p,
.service-copy li {
  color: var(--muted);
}

.process-section {
  padding-top: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-soft), color-mix(in srgb, var(--surface-strong) 72%, transparent));
  overflow: hidden;
}

.process-step::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 120px;
  height: 120px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.process-step span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 60px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--surface);
  font-weight: 900;
}

html[data-theme="dark"] .process-step span {
  color: #061006;
}

.process-step p {
  color: var(--muted);
  margin-bottom: 0;
}

.project-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.search-box {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--muted);
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-button {
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

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

.project-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface-soft);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.project-card header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.project-card h3 {
  font-size: 1.05rem;
  line-height: 1.25;
}

.status {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status.done {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.status.ongoing {
  color: #173006;
  background: var(--accent);
}

.project-meta {
  display: grid;
  gap: 8px;
  margin-top: auto;
  color: var(--muted);
  font-size: 0.92rem;
}

.project-meta div {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.project-meta span:first-child {
  color: var(--text);
  font-weight: 800;
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}

.equipment-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.equipment-summary article {
  min-height: 136px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 22px;
}

.equipment-summary span {
  display: block;
  color: var(--brand);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
}

.equipment-summary strong {
  display: block;
  margin-top: 10px;
}

.table-shell {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

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

th {
  color: var(--brand);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody tr:hover {
  background: color-mix(in srgb, var(--brand) 7%, transparent);
}

td:last-child,
th:last-child {
  width: 80px;
  text-align: right;
  font-weight: 900;
}

.gallery-shell {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 14px;
  align-items: center;
}

.gallery-frame {
  position: relative;
  min-height: clamp(330px, 55vw, 620px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000000;
}

.gallery-frame img {
  width: 100%;
  height: clamp(330px, 55vw, 620px);
  object-fit: cover;
  opacity: 0.72;
}

.gallery-frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 4px;
  padding: clamp(18px, 3vw, 28px);
  color: #ffffff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.gallery-frame strong {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
}

.gallery-frame span {
  color: rgba(255, 255, 255, 0.78);
}

.gallery-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.gallery-dots button {
  width: 42px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: var(--line-strong);
}

.gallery-dots button.is-active {
  background: var(--brand);
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: start;
}

.legal-grid > .panel {
  padding: clamp(24px, 4vw, 34px);
}

.management-list {
  display: grid;
  gap: 14px;
}

.management-list div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.management-list span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.management-list strong {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
}

.legal-accordion {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  overflow: hidden;
}

summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  color: var(--text);
  font-weight: 850;
  cursor: pointer;
}

summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand);
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.contact-section {
  padding-top: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 14%, transparent), transparent 46%),
    var(--surface-soft);
  padding: clamp(26px, 5vw, 48px);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  font-size: clamp(2rem, 5vw, 3.7rem);
}

.contact-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.contact-card {
  min-height: 72px;
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--surface);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.contact-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  overflow-wrap: anywhere;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  min-height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
}

.site-footer img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1020px) {
  .nav-shell {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: grid;
    justify-items: stretch;
    gap: 4px;
    padding: 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
  }

  body.menu-open .nav-links {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 16px;
  }

  .theme-toggle {
    justify-self: end;
  }

  .profile-grid,
  .service-layout,
  .service-panel,
  .legal-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .service-panel {
    height: auto;
  }

  .service-media {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .project-toolbar {
    grid-template-columns: 1fr;
  }

  .filter-group {
    justify-content: flex-start;
  }

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

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

@media (max-width: 720px) {
  :root {
    --header-h: 68px;
  }

  .nav-shell {
    width: min(100% - 24px, 1180px);
    gap: 8px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-mark img {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-copy span {
    display: none;
  }

  .hero {
    min-height: calc(92svh - var(--header-h));
    padding-top: 72px;
  }

  .hero-content {
    width: min(100% - 24px, 760px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-metrics {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics article {
    min-height: 104px;
    padding: 18px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-metrics article:nth-child(2n) {
    border-right: 0;
  }

  .section {
    width: min(100% - 24px, 1180px);
  }

  .service-rail,
  .project-grid,
  .process-grid,
  .equipment-summary {
    grid-template-columns: 1fr;
  }

  .gallery-shell {
    grid-template-columns: 1fr;
  }

  .gallery-button {
    display: none;
  }

  .site-footer {
    width: min(100% - 24px, 1180px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 0;
  }
}

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