:root {
  --font-body: Inter, "Segoe UI", Arial, sans-serif;
  --ink: #191918;
  --ink-soft: #57534d;
  --paper: #ebe7df;
  --surface: #f8f5ef;
  --line: #d2ccc2;
  --steel: #2a2c2b;
  --steel-2: #474b49;
  --accent: #8f6a45;
  --accent-dark: #65482d;
  --navy: #121615;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 26, 29, 0.16);
  --shadow-strong: 0 28px 70px rgba(17, 20, 22, 0.26);
}

html[data-theme="basalt"] {
  --ink: #191918;
  --ink-soft: #57534d;
  --paper: #ebe7df;
  --surface: #f8f5ef;
  --line: #d2ccc2;
  --steel: #2a2c2b;
  --steel-2: #474b49;
  --accent: #8f6a45;
  --accent-dark: #65482d;
  --navy: #121615;
}

html[data-theme="coastal"] {
  --ink: #14222a;
  --ink-soft: #50636b;
  --paper: #f4f7f6;
  --surface: #ffffff;
  --line: #d4dedc;
  --steel: #22353d;
  --steel-2: #38515c;
  --accent: #2d7f86;
  --accent-dark: #1e5c62;
  --navy: #10232b;
}

html[data-theme="aggregate"] {
  --ink: #1b1b18;
  --ink-soft: #5d5a51;
  --paper: #f3f0e8;
  --surface: #fffaf0;
  --line: #d8d0c0;
  --steel: #343430;
  --steel-2: #57544b;
  --accent: #8f6b3b;
  --accent-dark: #644824;
  --navy: #1b1c1a;
}

html[data-theme="steel"] {
  --ink: #172029;
  --ink-soft: #52616f;
  --paper: #f3f5f7;
  --surface: #ffffff;
  --line: #d6dde3;
  --steel: #273746;
  --steel-2: #455869;
  --accent: #b54f35;
  --accent-dark: #823624;
  --navy: #101922;
}

html[data-theme="forest"] {
  --ink: #172018;
  --ink-soft: #516052;
  --paper: #f3f5ef;
  --surface: #ffffff;
  --line: #d7dece;
  --steel: #27372c;
  --steel-2: #405642;
  --accent: #8a6f36;
  --accent-dark: #5f4c24;
  --navy: #111a14;
}

html[data-theme="harbour"] {
  --ink: #111c2a;
  --ink-soft: #4d5d70;
  --paper: #f2f5f9;
  --surface: #ffffff;
  --line: #d2dbe8;
  --steel: #1f3148;
  --steel-2: #3e5572;
  --accent: #c06c2f;
  --accent-dark: #8a481e;
  --navy: #0f1724;
}

html[data-theme="sandstone"] {
  --ink: #211b16;
  --ink-soft: #65584c;
  --paper: #f5efe5;
  --surface: #fffaf2;
  --line: #ded0bd;
  --steel: #3b332c;
  --steel-2: #605347;
  --accent: #a85f34;
  --accent-dark: #753f21;
  --navy: #1c1713;
}

html[data-theme="carbon"] {
  --ink: #121416;
  --ink-soft: #53595f;
  --paper: #f1f1ef;
  --surface: #ffffff;
  --line: #d7d7d2;
  --steel: #202427;
  --steel-2: #3f464c;
  --accent: #9d3f32;
  --accent-dark: #6b2a22;
  --navy: #0d1012;
}

html[data-theme="copper"] {
  --ink: #1d1916;
  --ink-soft: #62564f;
  --paper: #f6f0ea;
  --surface: #fffaf5;
  --line: #dfd1c6;
  --steel: #342b26;
  --steel-2: #5a4a42;
  --accent: #bd6d3d;
  --accent-dark: #864522;
  --navy: #17120f;
}

html[data-theme="blueprint"] {
  --ink: #101926;
  --ink-soft: #4b5a6a;
  --paper: #eef3f7;
  --surface: #ffffff;
  --line: #ccd8e3;
  --steel: #1c2d40;
  --steel-2: #3c5169;
  --accent: #547b96;
  --accent-dark: #31546b;
  --navy: #0d1724;
}

html[data-font="inter"] { --font-body: Inter, "Segoe UI", Arial, sans-serif; }
html[data-font="segoe"] { --font-body: "Segoe UI", Arial, sans-serif; }
html[data-font="arial"] { --font-body: Arial, Helvetica, sans-serif; }
html[data-font="helvetica"] { --font-body: Helvetica, Arial, sans-serif; }
html[data-font="calibri"] { --font-body: Calibri, "Segoe UI", Arial, sans-serif; }
html[data-font="verdana"] { --font-body: Verdana, Geneva, sans-serif; }
html[data-font="trebuchet"] { --font-body: "Trebuchet MS", "Segoe UI", sans-serif; }
html[data-font="tahoma"] { --font-body: Tahoma, Geneva, sans-serif; }
html[data-font="georgia"] { --font-body: Georgia, "Times New Roman", serif; }
html[data-font="system"] { --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.lightbox-lock {
  overflow: hidden;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(183, 101, 51, 0.45);
  outline-offset: 3px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 14px clamp(20px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(90deg, rgba(18, 22, 21, 0.98), rgba(38, 38, 34, 0.95));
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: background 220ms ease, color 220ms ease, min-height 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  min-height: 72px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 32px rgba(23, 26, 29, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  width: auto;
  min-width: 0;
  color: inherit;
}

.brand-mark {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: invert(1) brightness(1.4);
  transition: filter 220ms ease;
}

.brand-name {
  display: block;
  flex: 0 0 auto;
  color: currentColor;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  text-transform: uppercase;
}

.brand-name span:last-child {
  font-size: inherit;
  font-weight: inherit;
  opacity: 1;
}

.site-header.is-scrolled .brand-mark,
.site-header.nav-open .brand-mark {
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  padding: 11px 15px;
  border-radius: 4px;
  transition: background 180ms ease, transform 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.14);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a[aria-current="page"],
.site-header.nav-open .site-nav a:hover,
.site-header.nav-open .site-nav a[aria-current="page"] {
  background: rgba(23, 26, 29, 0.08);
}

.site-nav .nav-cta {
  margin-left: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), #c87842);
  box-shadow: 0 12px 24px rgba(183, 101, 51, 0.22);
}

.site-nav .nav-cta:hover {
  background: var(--accent-dark);
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 4px;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 3px 0;
  flex: 0 0 auto;
  background: currentColor;
  border-radius: 999px;
}

.site-header.is-scrolled .nav-toggle,
.site-header.nav-open .nav-toggle {
  border-color: rgba(23, 26, 29, 0.22);
  background: rgba(23, 26, 29, 0.06);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--steel);
}

.hero-media,
.page-hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08) brightness(0.9);
  animation: imageDrift 14s ease-out both;
}

.hero-overlay,
.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 14, 13, 0.9) 0%, rgba(12, 14, 13, 0.72) 45%, rgba(12, 14, 13, 0.34) 100%),
    linear-gradient(0deg, rgba(12, 14, 13, 0.62), rgba(12, 14, 13, 0.12) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 160px 0 78px;
}

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

.hero .eyebrow,
.page-hero .eyebrow,
.cta-section .eyebrow {
  color: #e2a36e;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 4.9vw, 4.85rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 2.65vw, 2.72rem);
  font-weight: 760;
}

h3 {
  font-size: 1.18rem;
  font-weight: 800;
}

.hero-copy {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

.hero-content h1,
.hero-content .eyebrow,
.hero-copy {
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.72);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

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

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

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
}

.button-secondary:hover,
.button-light:hover {
  color: var(--ink);
  background: var(--white);
}

.button-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.64);
}

.section {
  padding: clamp(70px, 8vw, 125px) 0;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 640ms ease, transform 640ms ease;
}

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

.muted {
  background: #e8e2d8;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.intro-section {
  border-top: 8px solid var(--accent);
}

.intro-section h2 {
  max-width: 760px;
  font-size: clamp(1.78rem, 2.75vw, 2.85rem);
  font-weight: 740;
  line-height: 1.16;
}

.intro-copy p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.intro-gallery {
  display: block;
  margin-top: clamp(30px, 5vw, 58px);
}

.intro-gallery img {
  width: 100%;
  height: clamp(260px, 34vw, 450px);
  object-fit: cover;
  object-position: center 42%;
  border: 1px solid rgba(23, 26, 29, 0.08);
  box-shadow: 0 18px 42px rgba(17, 24, 32, 0.14);
}

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

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

.stats-grid div {
  padding: 28px clamp(18px, 4vw, 40px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats-grid strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.stats-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.capability-section {
  background: var(--surface);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.capability-grid article {
  min-height: 220px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.9)),
    var(--surface);
}

.capability-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.84rem;
}

.capability-grid p {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card,
.project-card,
.quote-form {
  background: var(--surface);
  border: 1px solid rgba(23, 26, 29, 0.08);
  box-shadow: 0 1px 0 rgba(23, 26, 29, 0.04);
}

.service-card,
.project-card,
.feature-gallery img,
.service-detail img,
.masonry-gallery img {
  transition: transform 260ms ease, box-shadow 260ms ease, filter 260ms ease;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(17, 24, 32, 0.16);
}

.service-card {
  display: grid;
  min-height: 100%;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04) brightness(0.98);
}

.service-card div {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
}

.service-card p,
.project-feature p,
.page-hero p,
.contact-intro p,
.service-detail-text p {
  color: var(--ink-soft);
}

.service-card a {
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.partners-section {
  padding-top: clamp(55px, 6vw, 88px);
  padding-bottom: clamp(55px, 6vw, 88px);
  background: var(--surface);
}

.partners-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  background: #f8f4ec;
}

.partners-panel h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.7rem);
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 16px;
  align-items: center;
}

.partner-logos img {
  width: 100%;
  height: 118px;
  max-height: none;
  object-fit: contain;
  padding: 20px 26px;
  background: var(--white);
  border: 1px solid rgba(23, 26, 29, 0.08);
}

.project-feature p {
  margin: 20px 0 26px;
  font-size: 1.05rem;
}

.feature-gallery {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 14px;
}

.feature-gallery img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
}

.feature-gallery img:first-child {
  grid-row: span 2;
  min-height: 470px;
}

.cta-section {
  color: var(--white);
  background: var(--steel);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-panel h2 {
  max-width: 780px;
}

.page-hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--steel);
}

.page-hero::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 14, 13, 0.96) 0%, rgba(12, 14, 13, 0.84) 42%, rgba(12, 14, 13, 0.44) 78%, rgba(12, 14, 13, 0.38) 100%),
    linear-gradient(0deg, rgba(12, 14, 13, 0.66), rgba(12, 14, 13, 0.1) 50%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 170px 0 80px;
}

.page-hero-content p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
}

.page-hero-content h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 4.8vw, 4.9rem);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.72);
}

.page-hero-content .eyebrow,
.page-hero-content p {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.68);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
  padding-top: 52px;
  padding-bottom: 52px;
  border-top: 1px solid var(--line);
}

.service-detail:first-child {
  padding-top: 0;
  border-top: 0;
}

.service-detail.reverse img {
  order: -1;
}

.service-detail img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.service-detail-text p {
  margin: 20px 0;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-weight: 600;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 2px;
  content: "";
  background: var(--accent);
}

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

.project-card {
  display: grid;
  overflow: hidden;
  cursor: zoom-in;
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.project-card:hover img,
.masonry-gallery img:hover {
  transform: scale(1.025);
  filter: contrast(1.04) saturate(1.03);
}

.project-card div {
  padding: 20px;
}

.project-card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.masonry-gallery {
  columns: 3 260px;
  column-gap: 18px;
}

.masonry-gallery img {
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
  background: var(--surface);
  cursor: zoom-in;
  box-shadow: 0 1px 0 rgba(23, 26, 29, 0.08);
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 52px);
  background: rgba(7, 10, 12, 0.9);
  backdrop-filter: blur(18px);
}

.lightbox.is-open {
  display: flex;
  animation: fadeIn 180ms ease-out both;
}

.lightbox-dialog {
  position: relative;
  width: min(1120px, 100%);
  max-height: 92vh;
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #0c0f11;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.52);
}

.lightbox-caption {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--white);
  background: rgba(17, 20, 22, 0.9);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.contact-hero {
  min-height: 100vh;
  padding: 150px 0 90px;
  background:
    linear-gradient(rgba(246, 243, 238, 0.9), rgba(246, 243, 238, 0.96)),
    url("../img/project-46.jpg") center / cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.contact-intro h1 {
  color: var(--ink);
}

.contact-intro p {
  max-width: 540px;
  margin: 24px 0;
  font-size: 1.12rem;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  color: var(--ink);
  font-weight: 800;
}

.contact-details span {
  color: var(--ink-soft);
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  color: var(--steel-2);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr;
  gap: 40px;
  padding: 58px 0;
}

.footer-logo {
  width: min(260px, 100%);
  margin-bottom: 22px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes imageDrift {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 8px 0;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .split,
  .project-feature,
  .service-detail,
  .contact-layout,
  .footer-grid,
  .partners-panel {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .project-grid,
  .capability-grid {
    grid-template-columns: 1fr 1fr;
  }

  .partner-logos {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .service-detail.reverse img {
    order: 0;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1160px, calc(100% - 28px));
    max-width: calc(100vw - 28px);
  }

  .site-header {
    width: 100%;
    min-height: 70px;
    padding: 12px 14px;
  }

  .nav-toggle {
    position: relative !important;
    top: auto;
    right: auto;
    z-index: 3;
    display: flex !important;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 44px;
  }

  .brand {
    width: auto;
  }

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

  .brand-name {
    font-size: 0.92rem;
  }

  .brand-name span:last-child {
    font-size: inherit;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content,
  .page-hero-content {
    padding-bottom: 56px;
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  h1 {
    max-width: calc(100vw - 28px);
    font-size: 1.42rem;
    line-height: 1.12;
  }

  .hero-copy,
  .page-hero-content p {
    max-width: calc(100vw - 28px);
    font-size: 1rem;
  }

  .hero .eyebrow,
  .page-hero .eyebrow {
    max-width: 100%;
    font-size: 0.68rem;
  }

  .page-hero-content h1 {
    max-width: 100%;
    font-size: 1.58rem;
    line-height: 1.12;
  }

  h2 {
    font-size: 1.55rem;
  }

  .intro-section h2 {
    font-size: 1.78rem;
  }

  .stats-grid,
  .service-grid,
  .project-grid,
  .form-grid,
  .capability-grid,
  .partner-logos {
    grid-template-columns: 1fr;
  }

  .stats-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .stats-grid div:last-child {
    border-bottom: 0;
  }

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

  .partner-logos img {
    height: 132px;
    padding: 22px 28px;
  }

  .feature-gallery img:first-child {
    min-height: 280px;
  }

  .capability-grid article {
    min-height: 0;
  }
}

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

/* redesign-test visual polish: styling only, content and behaviour unchanged */
:root {
  --ink: #171819;
  --ink-soft: #4f5555;
  --paper: #f1eee8;
  --surface: #fffdf8;
  --line: #d8d1c6;
  --steel: #252928;
  --steel-2: #4a5352;
  --accent: #a56f3f;
  --accent-dark: #744922;
  --navy: #101413;
  --shadow: 0 18px 46px rgba(17, 20, 22, 0.13);
  --shadow-strong: 0 26px 72px rgba(17, 20, 22, 0.24);
}

body {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.58), rgba(241, 238, 232, 0) 460px),
    var(--paper);
  text-rendering: optimizeLegibility;
}

.container {
  width: min(1180px, calc(100% - 44px));
}

.site-header {
  min-height: 82px;
  padding: 12px clamp(20px, 4vw, 54px);
  background: rgba(16, 20, 19, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}

.site-header.is-scrolled,
.site-header.nav-open {
  min-height: 74px;
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(18px);
}

.brand {
  gap: 12px;
}

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

.brand-name {
  font-size: clamp(0.96rem, 1.35vw, 1.16rem);
  font-weight: 850;
}

.site-nav {
  gap: 6px;
  font-size: 0.82rem;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 6px;
}

.site-nav .nav-cta,
.button-primary {
  background: linear-gradient(135deg, var(--accent), #bd7b42);
}

.site-nav .nav-cta,
.button {
  box-shadow: 0 12px 26px rgba(116, 73, 34, 0.16);
}

.nav-toggle {
  border-radius: 6px;
}

.hero {
  min-height: 88vh;
}

.hero-media img,
.page-hero-media img {
  filter: saturate(0.98) contrast(1.08) brightness(0.92);
}

.hero-overlay,
.page-hero::before {
  background:
    linear-gradient(90deg, rgba(8, 11, 11, 0.9) 0%, rgba(8, 11, 11, 0.7) 44%, rgba(8, 11, 11, 0.28) 100%),
    linear-gradient(0deg, rgba(8, 11, 11, 0.74), rgba(8, 11, 11, 0.12) 54%);
}

.hero-content {
  padding: 150px 0 74px;
}

h1 {
  max-width: 800px;
  font-size: clamp(2.7rem, 4.7vw, 4.7rem);
  font-weight: 820;
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.78rem, 2.5vw, 2.58rem);
  font-weight: 720;
  line-height: 1.12;
}

h3 {
  line-height: 1.16;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-weight: 850;
}

.hero .eyebrow,
.page-hero .eyebrow,
.cta-section .eyebrow {
  color: #d79a65;
}

.hero-copy {
  max-width: 620px;
  line-height: 1.55;
}

.button {
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 6px;
  letter-spacing: 0;
}

.section {
  padding: clamp(64px, 7vw, 108px) 0;
}

.muted {
  background: #e8e3db;
}

.intro-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.6), rgba(255, 253, 248, 0.18)),
    var(--paper);
}

.intro-section h2 {
  max-width: 720px;
  font-size: clamp(1.82rem, 2.5vw, 2.62rem);
  font-weight: 700;
}

.intro-copy p {
  max-width: 680px;
  line-height: 1.72;
}

.intro-gallery img {
  border-radius: 6px;
  box-shadow: 0 22px 60px rgba(17, 20, 22, 0.17);
}

.stats-band {
  background:
    linear-gradient(135deg, #0d1110, #18201d 62%, #111514);
}

.stats-grid div {
  padding-top: 32px;
  padding-bottom: 32px;
}

.stats-grid strong {
  font-size: clamp(2.35rem, 4vw, 3.65rem);
  letter-spacing: 0;
}

.stats-grid span {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.76);
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.capability-section,
.partners-section {
  background: var(--surface);
}

.capability-grid {
  gap: 0;
  background: transparent;
  border-color: rgba(23, 26, 29, 0.1);
}

.capability-grid article {
  min-height: 236px;
  padding: clamp(24px, 3.2vw, 34px);
  background: linear-gradient(180deg, #ffffff, #fbf7f0);
  border-right: 1px solid rgba(23, 26, 29, 0.1);
}

.capability-grid article:last-child {
  border-right: 0;
}

.service-grid,
.project-grid {
  gap: clamp(18px, 2.5vw, 28px);
}

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

.service-card,
.project-card,
.quote-form,
.partners-panel {
  border-color: rgba(23, 26, 29, 0.1);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(17, 20, 22, 0.08);
}

.service-card,
.project-card {
  overflow: hidden;
}

.service-card:hover,
.project-card:hover {
  box-shadow: 0 24px 64px rgba(17, 20, 22, 0.16);
}

.service-card img {
  aspect-ratio: 1.24 / 1;
}

.service-card div,
.project-card div {
  padding: clamp(20px, 2.5vw, 28px);
}

.service-card a {
  margin-top: 4px;
}

.project-feature {
  align-items: stretch;
}

.feature-gallery img,
.service-detail img,
.masonry-gallery img,
.project-card img {
  border-radius: 6px;
}

.feature-gallery img {
  box-shadow: 0 18px 46px rgba(17, 20, 22, 0.13);
}

.partners-panel {
  background: linear-gradient(180deg, #fffdf8, #f7f2ea);
}

.partner-logos img {
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(23, 26, 29, 0.03);
}

.cta-section {
  background:
    linear-gradient(135deg, rgba(16, 20, 19, 0.98), rgba(38, 41, 40, 0.98)),
    var(--steel);
}

.page-hero {
  min-height: 66vh;
}

.page-hero-content {
  padding: 150px 0 76px;
}

.page-hero-content h1 {
  font-size: clamp(2.55rem, 4.55vw, 4.65rem);
  line-height: 1.04;
}

.service-detail {
  padding-top: clamp(44px, 5vw, 68px);
  padding-bottom: clamp(44px, 5vw, 68px);
}

.check-list li {
  font-weight: 650;
}

input,
select,
textarea {
  border-radius: 6px;
  background: #fffefb;
}

.netlify-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .site-nav {
    border-radius: 6px;
  }

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

  .brand-name {
    max-width: calc(100vw - 150px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1160px, calc(100% - 30px));
    max-width: calc(100vw - 30px);
  }

  .site-header {
    min-height: 72px;
    padding: 12px 16px;
  }

  .brand {
    gap: 10px;
  }

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

  .brand-name {
    max-width: calc(100vw - 120px);
    font-size: clamp(0.66rem, 3.05vw, 0.9rem);
  }

  .nav-toggle {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-content {
    padding-bottom: 54px;
  }

  h1 {
    font-size: clamp(2rem, 9.3vw, 3.1rem);
    line-height: 1.04;
  }

  h2,
  .intro-section h2 {
    font-size: clamp(1.54rem, 7vw, 2.05rem);
    line-height: 1.14;
  }

  .section {
    padding: 58px 0;
  }

  .intro-gallery img {
    height: 250px;
  }

  .stats-grid div {
    padding: 28px 24px;
  }

  .capability-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(23, 26, 29, 0.1);
  }

  .capability-grid article:last-child {
    border-bottom: 0;
  }

  .service-card img,
  .project-card img,
  .service-detail img {
    aspect-ratio: 1.32 / 1;
  }

  .page-hero-content {
    padding-bottom: 58px;
  }

  .page-hero-content h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-width: 0;
  }

  .service-card img {
    aspect-ratio: 1.55 / 1;
  }

  .service-card h3 {
    overflow-wrap: normal;
    word-break: normal;
  }
}
