:root {
  --bg: #eef2f5;
  --panel: #ffffff;
  --panel-soft: #dfe7ed;
  --ink: #0d1722;
  --muted: #5c6d7b;
  --navy: #0d1b2f;
  --navy-2: #17375b;
  --accent: #ff7b31;
  --accent-soft: #ffb387;
  --danger: #d83932;
  --line: rgba(13, 23, 34, 0.12);
  --shadow: 0 18px 60px rgba(13, 23, 34, 0.12);
  --shadow-strong: 0 28px 90px rgba(5, 15, 28, 0.22);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(23, 55, 91, 0.08), transparent 28rem),
    var(--bg);
}

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

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 4px;
}

[id] {
  scroll-margin-top: 116px;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(13, 27, 47, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner,
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  flex: 0 0 auto;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
}

.brand::after {
  content: "";
  display: block;
  width: 42%;
  height: 3px;
  margin-top: 2px;
  background: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  transition: right 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}

.nav-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, filter 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.98) 0%, rgba(13, 27, 47, 0.86) 54%, rgba(13, 27, 47, 0.56) 100%),
    url("./assets/mde/home-boat-yard.jpg") center 44% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 123, 49, 0.1), transparent 42%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 12px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: min(760px, calc(100vh - 72px));
  margin: 0 auto;
  padding: 76px 0;
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 52px;
  align-items: center;
}

.hero-copy {
  max-width: 780px;
  min-width: 0;
  animation: rise-in 620ms ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.page-hero h1,
.section-title,
.card-title,
.big-number,
.failure-note h2,
.footer-brand {
  font-family: "Barlow Condensed", sans-serif;
  text-wrap: balance;
}

.hero h1 {
  max-width: 850px;
  margin: 20px 0 0;
  font-size: clamp(3.45rem, 7.7vw, 6.6rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions,
.inline-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn,
.btn-secondary,
.btn-outline,
.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, filter 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.btn-outline {
  border: 1px solid rgba(13, 23, 34, 0.22);
  background: transparent;
  color: var(--navy);
}

.btn-danger {
  border: 1px solid var(--danger);
  background: var(--danger);
  color: #fff;
}

.btn:hover,
.btn-secondary:hover,
.btn-outline:hover,
.btn-danger:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

.hero-panel {
  min-width: 0;
  display: grid;
  gap: 14px;
  animation: rise-in 620ms 120ms ease both;
}

.info-card,
.panel,
.service-card,
.stat-card,
.gallery-card,
.copy-card,
.detail-card,
.project-photo,
.failure-note {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card {
  padding: 23px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px);
}

.info-label {
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.info-value {
  margin-top: 9px;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-section {
  padding: 88px 0;
}

.section-intro {
  max-width: 820px;
  margin-bottom: 32px;
}

.section-kicker,
.card-kicker {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker-light {
  color: var(--accent-soft);
}

.section-kicker-danger {
  color: #ffaaa5;
}

.section-title {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: clamp(2.65rem, 5vw, 4.35rem);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.section-title-light {
  color: #fff;
}

.section-copy {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.82;
  font-size: 1.03rem;
}

.section-copy-light {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

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

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

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

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

.service-card,
.panel,
.copy-card,
.detail-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px;
}

.service-card {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 220ms ease;
}

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

.service-card:hover::before,
.featured-card::before {
  opacity: 1;
}

.service-card.dark,
.panel.dark {
  background: var(--navy);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.featured-card {
  border-color: rgba(216, 57, 50, 0.3);
}

.card-title {
  margin: 14px 0 0;
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.card-copy {
  margin: 15px 0 0;
  line-height: 1.78;
  color: var(--muted);
}

.dark .card-copy,
.service-card.dark .card-copy,
.panel.dark .card-copy {
  color: rgba(255, 255, 255, 0.76);
}

.card-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: inherit;
}

.card-list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.6;
}

.card-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--accent);
  font-size: 1.2em;
  font-weight: 800;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 74px;
  height: 74px;
  border: 12px solid rgba(255, 123, 49, 0.09);
  border-radius: 50%;
}

.big-number {
  position: relative;
  z-index: 1;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 2.55rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.stat-label {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 800;
}

.muted-block {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent 42%),
    #e2e9ee;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  margin-top: 30px;
}

.gallery-stack {
  display: grid;
  gap: 22px;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.gallery-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-card.tall > img {
  min-height: 100%;
  aspect-ratio: 4 / 5;
}

.gallery-copy {
  padding: 18px 18px 20px;
}

.gallery-copy h3 {
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.gallery-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.93rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 76px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 24%, rgba(255, 123, 49, 0.17), transparent 25rem),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 13px);
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.page-hero-grid > div:first-child {
  min-width: 0;
  animation: rise-in 580ms ease both;
}

.page-hero h1 {
  max-width: 780px;
  margin: 18px 0 0;
  font-size: clamp(3.1rem, 6.6vw, 5.65rem);
  font-weight: 700;
  line-height: 0.91;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.page-hero--wide-title h1 {
  font-size: clamp(2.8rem, 5.3vw, 4.9rem);
}

.page-hero p {
  max-width: 740px;
  margin: 21px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.83;
}

.page-hero-media {
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow-strong);
  animation: rise-in 580ms 100ms ease both;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-media--portrait {
  width: min(100%, 420px);
  aspect-ratio: 3 / 4;
  justify-self: end;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
}

.request-list {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.request-list li + li {
  margin-top: 8px;
}

.helper {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
}

.photo-grid-3 .project-photo {
  grid-column: span 4;
}

.photo-grid-3 .project-photo-wide {
  grid-column: span 8;
}

.photo-grid-4 .project-photo {
  grid-column: span 3;
}

.project-photo {
  position: relative;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy);
}

.project-photo img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.project-photo--portrait img {
  object-fit: contain;
  background: var(--navy);
}

.project-photo:hover img {
  transform: scale(1.035);
  filter: contrast(1.04);
}

.project-photo figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 9px 12px;
  border-left: 3px solid var(--accent);
  background: rgba(7, 17, 31, 0.86);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.page-hero-media--contain img,
.project-photo--contain img {
  object-fit: contain;
}

.project-photo--contain:hover img,
.project-photo--natural:hover img {
  transform: none;
}

/* Let the complete engine photo define its landscape frame, without letterboxing. */
.project-photo--natural {
  align-self: start;
  min-height: 0;
  border: 0;
  background: transparent;
}

.project-photo--natural img {
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
}

/* Display the supplied landscape files upright without resampling the photos. */
.photo-turn {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--navy);
}

.photo-turn img,
.detail-photo .photo-turn img,
.project-photo:hover .photo-turn img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% * 4 / 3);
  height: calc(100% * 3 / 4);
  max-width: none;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  transform: translate(-50%, -50%) rotate(90deg);
}

.project-photo--rotated figcaption {
  position: static;
  margin: 14px;
}

.gallery-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
}

.gallery-feature .photo-turn {
  max-width: 300px;
  justify-self: center;
}

.gallery-subsection {
  margin-top: 48px;
}

.detail-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.detail-photo {
  min-width: 0;
  margin: 0;
}

.detail-photo-single {
  margin-top: 24px;
}

.detail-photo--portrait {
  width: 100%;
  max-width: 322px;
  justify-self: center;
}

.detail-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.detail-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.product-details {
  color: #fff;
  background:
    radial-gradient(circle at 8% 10%, rgba(216, 57, 50, 0.18), transparent 26rem),
    var(--navy);
}

.failure-note {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(300px, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 24px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-left: 6px solid var(--danger);
  background: rgba(255, 255, 255, 0.055);
}

.failure-note h2 {
  grid-column: 1;
  margin: 12px 0 0;
  font-size: clamp(2.45rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.failure-note p {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.82;
}

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

.detail-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  color: var(--ink);
}

.detail-card-large {
  grid-column: 1 / -1;
}

.detail-number {
  color: rgba(216, 57, 50, 0.22);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 0.85;
}

.contact-section {
  color: #fff;
  background:
    linear-gradient(115deg, rgba(255, 123, 49, 0.08), transparent 50%),
    var(--navy);
}

.contact-cta {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.contact-strip {
  color: rgba(255, 255, 255, 0.84);
  background: #081321;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 17px 0;
}

.contact-item {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.91rem;
}

.contact-item strong {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 179, 135, 0.96);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item a {
  transition: color 180ms ease;
}

.contact-item a:hover {
  color: #fff;
}

.footer {
  padding: 30px 0 42px;
  color: rgba(255, 255, 255, 0.68);
  background: var(--navy);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  text-transform: uppercase;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.footer-links a:hover {
  color: #fff;
}

.footer-owner {
  color: var(--accent-soft);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    order: 3;
    justify-content: space-between;
    overflow-x: auto;
    padding: 4px 0 1px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

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

@media (max-width: 900px) {
  .hero-grid,
  .page-hero-grid,
  .split,
  .media-grid,
  .contact-cta,
  .failure-note {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .page-hero-media--portrait {
    justify-self: center;
  }

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

  .grid-3,
  .stat-strip,
  .contact-grid,
  .product-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .failure-note p {
    grid-column: 1;
    grid-row: auto;
  }

  .detail-card-large {
    grid-column: auto;
  }

  .photo-grid-4 .project-photo {
    grid-column: span 6;
  }

  .photo-grid-3 .project-photo,
  .photo-grid-3 .project-photo-wide {
    grid-column: span 6;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .nav-inner,
  .container,
  .hero-grid,
  .page-hero-grid,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .nav-inner {
    padding: 12px 0;
  }

  .brand {
    font-size: 1.55rem;
  }

  .nav-cta {
    padding: 9px 13px;
    font-size: 0.68rem;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 20px;
    font-size: 0.66rem;
  }

  .hero-grid {
    gap: 34px;
    padding: 58px 0;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 12.5vw, 4rem);
    letter-spacing: 0.02em;
  }

  .page-hero {
    padding: 64px 0 56px;
  }

  .page-hero h1,
  .page-hero--wide-title h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11vw, 3.6rem);
    letter-spacing: 0.02em;
  }

  .page-section {
    padding: 68px 0;
  }

  .section-title {
    font-size: clamp(2.45rem, 13vw, 3.8rem);
  }

  .hero-panel,
  .grid-4,
  .grid-3,
  .grid-2,
  .stat-strip,
  .contact-grid,
  .product-detail-grid,
  .gallery-feature,
  .detail-photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid-3 .project-photo,
  .photo-grid-3 .project-photo-wide,
  .photo-grid-4 .project-photo {
    grid-column: 1 / -1;
  }

  .detail-card {
    grid-template-columns: 1fr;
  }

  .detail-number {
    font-size: 2.6rem;
  }

  .contact-actions {
    display: grid;
    width: 100%;
  }

  .hero-actions {
    display: grid;
    width: 100%;
  }

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

  .footer-inner {
    align-items: flex-start;
  }
}

@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;
  }
}
