/*
Theme Name: WCI Modern
Theme URI: https://waterfrontconstruction.com/
Author: Waterfront Construction
Description: A modern, performance-focused theme for Waterfront Construction.
Version: 1.0.0
Text Domain: wci-modern
*/

:root {
  --ink: #082b3a;
  --ink-2: #123f4f;
  --water: #0b677b;
  --water-bright: #0a8ca0;
  --foam: #e8f4f2;
  --mist: #f4f7f5;
  --sand: #d8be91;
  --white: #ffffff;
  --text: #24343a;
  --muted: #607179;
  --line: rgba(8, 43, 58, 0.14);
  --shadow: 0 24px 70px rgba(8, 43, 58, 0.13);
  --radius: 22px;
  --wrap: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
textarea {
  font: inherit;
}

button,
.button {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

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

.site-wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  color: var(--white);
  background: rgba(5, 34, 46, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--ink);
  background: var(--sand);
  border-radius: 14px 14px 14px 3px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.06;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-tagline {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.site-nav .nav-cta {
  padding: 11px 16px;
  color: var(--ink);
  background: var(--sand);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 735px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

.hero::before,
.page-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: var(--hero-image) center / cover no-repeat;
}

.hero::after,
.page-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 28, 38, 0.96) 0%, rgba(5, 36, 48, 0.82) 46%, rgba(5, 36, 48, 0.22) 100%),
    linear-gradient(0deg, rgba(4, 28, 38, 0.48), transparent 56%);
}

.hero-inner {
  display: grid;
  min-height: 735px;
  align-items: center;
  padding-block: 104px 92px;
  grid-template-columns: minmax(0, 710px) 1fr;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--water-bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.dark-section .eyebrow {
  color: #71cfda;
}

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

.hero h1,
.page-hero h1,
.section-heading {
  margin: 0;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(52px, 7.2vw, 92px);
}

.hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  color: var(--white);
  background: var(--water);
  border: 1px solid var(--water);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  color: var(--white);
  background: var(--water-bright);
  border-color: var(--water-bright);
  transform: translateY(-2px);
}

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

.button-light:hover,
.button-light:focus-visible {
  color: var(--ink);
  background: #ead3aa;
  border-color: #ead3aa;
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.36);
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: rgba(8, 43, 58, 0.28);
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.hero-proof {
  display: grid;
  max-width: 720px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hero-proof strong {
  display: block;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
}

.hero-proof span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.trust-strip {
  color: var(--white);
  background: var(--water);
}

.trust-inner {
  display: grid;
  min-height: 92px;
  align-items: center;
  grid-template-columns: 1.5fr repeat(3, 1fr);
}

.trust-item {
  padding: 23px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
}

.trust-item:first-child {
  padding-left: 0;
  border-left: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
}

.section {
  padding-block: 110px;
}

.section-tight {
  padding-block: 76px;
}

.section-muted {
  background: var(--mist);
}

.section-foam {
  background: var(--foam);
}

.dark-section {
  color: var(--white);
  background: var(--ink);
}

.section-intro {
  display: grid;
  align-items: end;
  margin-bottom: 48px;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
}

.section-heading {
  color: var(--ink);
  font-size: clamp(40px, 5vw, 66px);
}

.dark-section .section-heading {
  color: var(--white);
}

.section-copy {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.dark-section .section-copy {
  color: rgba(255, 255, 255, 0.68);
}

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

.service-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 16px 45px rgba(8, 43, 58, 0.1);
  isolation: isolate;
}

.service-card::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: var(--card-image) center / cover no-repeat;
  transition: transform 500ms ease;
}

.service-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(4, 28, 38, 0.94), rgba(4, 28, 38, 0.05) 68%);
}

.service-card:hover::before {
  transform: scale(1.035);
}

.service-card a {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  text-decoration: none;
}

.card-number {
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.service-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.5;
}

.service-card .arrow {
  margin-top: 18px;
  color: var(--sand);
  font-weight: 850;
}

.split {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  min-height: 590px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-media::after {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 46%;
  height: 44%;
  content: "";
  border-right: 2px solid var(--sand);
  border-bottom: 2px solid var(--sand);
  border-radius: 0 0 26px 0;
  pointer-events: none;
}

.feature-list,
.check-list {
  display: grid;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  gap: 16px;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 31px;
}

.feature-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--water-bright);
  border-radius: 50% 50% 50% 2px;
}

.feature-list strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.feature-list span {
  color: var(--muted);
  font-size: 14px;
}

.process-grid {
  display: grid;
  margin-top: 54px;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.process-step {
  min-height: 275px;
  padding: 34px 30px;
  background: var(--ink);
}

.process-step .step {
  color: var(--sand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.process-step h3 {
  margin: 60px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 315px 315px;
  gap: 18px;
}

.project-card {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  isolation: isolate;
}

.project-card:first-child {
  grid-row: span 2;
}

.project-card::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: var(--project-image) center / cover no-repeat;
  transition: transform 450ms ease;
}

.project-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(4, 28, 38, 0.88), transparent 58%);
}

.project-card:hover::before {
  transform: scale(1.03);
}

.project-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
}

.project-content span {
  color: var(--sand);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-content h3 {
  max-width: 560px;
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.12;
}

.project-card:first-child .project-content h3 {
  font-size: 38px;
}

.coverage {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--water);
  border-radius: 28px;
}

.coverage::after {
  position: absolute;
  right: -110px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(255, 255, 255, 0.04),
    0 0 0 110px rgba(255, 255, 255, 0.03);
}

.coverage-inner {
  position: relative;
  z-index: 1;
  display: grid;
  padding: 64px;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.coverage h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.coverage p {
  max-width: 520px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.coverage-list {
  display: grid;
  margin: 0;
  padding: 0;
  align-content: center;
  list-style: none;
  grid-template-columns: 1fr 1fr;
  gap: 13px 28px;
}

.coverage-list li {
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
  font-weight: 750;
}

.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.cta-inner {
  display: grid;
  align-items: center;
  padding-block: 82px;
  grid-template-columns: 1fr auto;
  gap: 40px;
}

.cta-inner h2 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.cta-inner p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.page-hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

.page-hero-inner {
  display: flex;
  min-height: 540px;
  max-width: 850px;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: 100px 76px;
}

.page-hero h1 {
  font-size: clamp(50px, 7vw, 82px);
}

.page-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 20px;
}

.breadcrumbs {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.content-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 76px;
}

.prose h2,
.prose h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.prose h2 {
  margin: 58px 0 18px;
  font-size: 42px;
  line-height: 1.07;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 35px 0 12px;
  font-size: 26px;
}

.prose p {
  margin: 0 0 20px;
}

.prose .lead {
  color: var(--ink);
  font-size: 22px;
}

.prose ul {
  padding-left: 1.2em;
}

.sidebar-card {
  position: sticky;
  top: 112px;
  padding: 30px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sidebar-card h2 {
  margin: 0 0 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 500;
  line-height: 1.06;
}

.sidebar-card p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 14px;
}

.sidebar-card .button {
  width: 100%;
}

.sidebar-card .phone-link {
  display: block;
  margin-top: 18px;
  color: var(--sand);
  font-size: 18px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.detail-points {
  display: grid;
  margin: 42px 0;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.detail-point {
  padding: 22px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.detail-point strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.detail-point span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.stat-grid {
  display: grid;
  margin-top: 46px;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat-card {
  padding: 30px;
  background: var(--foam);
  border-radius: 18px;
}

.stat-card strong {
  display: block;
  color: var(--water);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 41px;
  font-weight: 500;
}

.stat-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

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

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

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card div {
  padding: 22px;
}

.gallery-card h2,
.gallery-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.gallery-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 72px;
}

.contact-details h2,
.contact-form h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 41px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.contact-card {
  margin-top: 32px;
  padding: 28px;
  background: var(--foam);
  border-radius: 18px;
}

.contact-card p {
  margin: 0 0 16px;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a {
  color: var(--water);
  font-weight: 800;
}

.contact-form {
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

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

.field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--text);
  background: var(--mist);
  border: 1px solid rgba(8, 43, 58, 0.18);
  border-radius: 10px;
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 3px solid rgba(10, 140, 160, 0.16);
  border-color: var(--water-bright);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-notice {
  margin-bottom: 22px;
  padding: 14px 16px;
  background: var(--foam);
  border-left: 4px solid var(--water);
  border-radius: 8px;
}

.form-notice.error {
  background: #fff2ef;
  border-color: #ba4a35;
}

.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: #041c26;
}

.footer-main {
  display: grid;
  padding-block: 74px 56px;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 52px;
}

.footer-brand p {
  max-width: 380px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.footer-column h2 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 10px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  text-decoration: none;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--white);
}

.footer-column address {
  font-size: 14px;
  font-style: normal;
}

.footer-column address a {
  display: inline-block;
  margin-top: 13px;
  color: var(--sand);
  font-size: 18px;
  font-weight: 850;
}

.footer-bottom {
  display: flex;
  padding-block: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 13px;
  }

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

  .split {
    gap: 46px;
  }

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

  .content-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 42px;
  }

  .footer-main {
    grid-template-columns: 1.3fr repeat(2, 1fr);
  }

  .footer-column:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 860px) {
  :root {
    --wrap: min(100% - 32px, 720px);
  }

  .header-inner {
    min-height: 74px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 74px);
    padding: 28px 22px 34px;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

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

  .site-nav a {
    padding: 12px 8px;
    font-size: 16px;
  }

  .site-nav .nav-cta {
    margin-top: 10px;
    padding: 14px 18px;
    text-align: center;
  }

  .hero,
  .hero-inner {
    min-height: 680px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero::after,
  .page-hero::after {
    background:
      linear-gradient(90deg, rgba(4, 28, 38, 0.94), rgba(4, 28, 38, 0.68)),
      linear-gradient(0deg, rgba(4, 28, 38, 0.55), transparent);
  }

  .trust-inner {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    min-height: 74px;
    padding: 17px 20px;
  }

  .trust-item:first-child {
    grid-column: 1 / -1;
    padding: 20px 0;
    text-align: center;
  }

  .section {
    padding-block: 82px;
  }

  .section-intro,
  .split,
  .coverage-inner,
  .cta-inner,
  .content-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-intro {
    gap: 24px;
  }

  .split-media img {
    min-height: 430px;
  }

  .coverage-inner {
    padding: 45px;
  }

  .cta-inner {
    gap: 20px;
  }

  .cta-actions {
    margin-top: 10px;
  }

  .content-grid,
  .contact-layout {
    gap: 50px;
  }

  .sidebar-card {
    position: static;
  }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column:last-child {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  :root {
    --wrap: calc(100% - 26px);
  }

  body {
    font-size: 16px;
  }

  .brand-tagline {
    display: none;
  }

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

  .hero,
  .hero-inner {
    min-height: 650px;
  }

  .hero-inner {
    padding-block: 86px 68px;
  }

  .hero h1 {
    font-size: clamp(45px, 14vw, 68px);
  }

  .hero-lead {
    font-size: 17px;
  }

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

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-proof div {
    display: flex;
    align-items: baseline;
    gap: 11px;
  }

  .hero-proof strong {
    font-size: 22px;
  }

  .trust-inner {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
  }

  .service-grid,
  .process-grid,
  .gallery-grid,
  .detail-points,
  .stat-grid,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card a {
    min-height: 365px;
  }

  .split-media::after {
    display: none;
  }

  .split-media img {
    min-height: 340px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 350px);
  }

  .project-card:first-child {
    grid-row: auto;
  }

  .coverage-inner {
    padding: 34px 24px;
  }

  .coverage-list {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .page-hero-inner {
    min-height: 480px;
  }

  .page-hero-inner {
    padding-block: 84px 55px;
  }

  .page-hero p {
    font-size: 17px;
  }

  .contact-form {
    padding: 25px 19px;
  }

  .footer-main {
    gap: 38px;
  }

  .footer-brand,
  .footer-column:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

/* Aluminum fabrication expansion and video-ready homepage hero */
.hero-video {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero.has-video::before {
  opacity: 0.16;
}

.aluminum-feature-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(42px, 6vw, 88px);
}

.aluminum-feature-media {
  position: relative;
}

.aluminum-feature-media > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(8, 43, 58, 0.18);
}

.american-made-badge {
  position: absolute;
  right: -24px;
  bottom: -24px;
  display: flex;
  max-width: 250px;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(8, 43, 58, 0.12);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(8, 43, 58, 0.18);
  backdrop-filter: blur(10px);
}

.american-made-badge img {
  width: 58px;
  height: 31px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(8, 43, 58, 0.12);
}

.american-made-badge span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.35;
  text-transform: uppercase;
}

.american-made-badge strong {
  display: block;
  color: #a51d2d;
  font-size: 13px;
}

.aluminum-feature-collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.aluminum-feature-collage > .aluminum-photo {
  width: 100%;
  min-height: 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.aluminum-feature-collage > .aluminum-photo-primary {
  transform: none;
}

.aluminum-feature-collage .american-made-badge {
  z-index: 3;
  top: 50%;
  right: -24px;
  bottom: auto;
  left: auto;
  width: max-content;
  max-width: min(290px, calc(100% - 24px));
  padding: 17px 20px;
  transform: translateY(-50%);
}

.aluminum-feature-collage .american-made-badge img {
  width: 64px;
  height: 34px;
}

.aluminum-feature-collage .american-made-badge span {
  font-size: 13px;
}

.aluminum-feature-collage .american-made-badge strong {
  font-size: 14px;
}

.aluminum-feature-copy .section-copy {
  margin-top: 24px;
}

.page-flag-note {
  display: inline-flex;
  max-width: 560px;
  align-items: center;
  gap: 13px;
  margin-top: 24px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.page-flag-note img {
  width: 48px;
  height: 25px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .aluminum-feature-grid {
    grid-template-columns: 1fr;
  }

  .aluminum-feature-media {
    margin-right: 24px;
  }
}

@media (max-width: 600px) {
  .aluminum-feature-media {
    margin-right: 0;
    padding-bottom: 58px;
  }

  .american-made-badge {
    right: 12px;
    bottom: 24px;
    left: 12px;
    max-width: none;
  }

  .page-flag-note {
    align-items: flex-start;
  }

  .aluminum-feature-collage {
    padding-bottom: 0;
  }

  .aluminum-feature-collage > .aluminum-photo {
    min-height: 0;
  }

  .aluminum-feature-collage .american-made-badge {
    top: 50%;
    right: 12px;
    bottom: auto;
    left: auto;
    max-width: calc(100% - 20px);
    transform: translateY(-50%);
  }
}
/* Interactive American flag from the Avatar Factory */
.flag-signature {
  display: grid;
  align-items: center;
  margin-top: clamp(54px, 7vw, 92px);
  padding: clamp(28px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(135deg, #071d2a, #0e3547);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(8, 43, 58, 0.2);
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(30px, 5vw, 72px);
}

.flag-signature .eyebrow {
  color: #71cfda;
}

.flag-signature h3 {
  max-width: 520px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.flag-signature-copy > p:last-child {
  max-width: 470px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.interactive-flag-frame {
  overflow: hidden;
  background: #070b14;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.3);
}

.interactive-flag-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.service-flag-experience {
  margin: 52px 0;
  padding: clamp(24px, 4vw, 40px);
  color: var(--white);
  background: linear-gradient(145deg, #071d2a, #0e3547);
  border-radius: var(--radius);
}

.service-flag-experience .eyebrow {
  color: #71cfda;
}

.service-flag-experience h2 {
  color: var(--white);
}

.flag-interaction-note {
  margin: 14px 0 0 !important;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

@media (max-width: 820px) {
  .flag-signature {
    grid-template-columns: 1fr;
  }
}
/* Above-the-fold interactive flag */
.hero-inner {
  gap: clamp(34px, 5vw, 78px);
  grid-template-columns: minmax(0, 660px) minmax(290px, 430px);
}

.hero-flag-card {
  width: 100%;
  justify-self: end;
  padding: 14px;
  background: rgba(4, 28, 38, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(12px);
}

.hero-flag-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 2px 2px 11px;
  color: #8ee1ea;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-flag-kicker small {
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.hero-flag-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 4px 1px;
  color: var(--white);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-flag-card > a span {
  color: var(--sand);
  font-size: 18px;
}

@media (max-width: 1040px) {
  .hero-inner {
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 350px);
  }
}

@media (max-width: 860px) {
  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding-block: 38px 68px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-flag-card {
    width: min(100%, 380px);
    justify-self: start;
    grid-row: 1;
  }

  .hero-copy {
    grid-row: 2;
  }
}

@media (max-width: 620px) {
  .hero-inner {
    padding-block: 22px 60px;
    gap: 28px;
  }

  .hero-flag-card {
    width: 100%;
    padding: 10px;
  }

  .hero-flag-kicker {
    padding-bottom: 8px;
  }

  .hero-flag-card > a {
    font-size: 10px;
  }
}
/* Let the interactive flag float directly over the hero image. */
.hero-flag-card {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-flag-card > iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.25));
}

@media (max-width: 620px) {
  .hero-flag-card {
    padding: 0;
  }
}
/* Hero layer order: waterfront, tint, flag, then copy. */
.hero::before {
  z-index: 0;
}

.hero::after {
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: auto;
  grid-template-columns: 1fr;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 660px;
  grid-row: auto;
}

.hero-flag-card {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: clamp(-430px, -24vw, -150px);
  width: min(1290px, 120vw);
  max-width: none;
  transform: translateY(-50%);
}

.hero-flag-card > iframe {
  opacity: 0.96;
}

@media (max-width: 860px) {
  .hero-flag-card {
    right: -52vw;
    width: 210vw;
  }
}
/* Two-times larger, dimmed flag anchored beyond the hero's upper-left edge. */
.hero-flag-card {
  top: -48px;
  right: auto;
  left: calc((100vw - 100%) / -2 - 162px);
  width: min(1290px, 108vw);
  transform: none;
}

.hero-flag-card > iframe {
  opacity: 0.4;
  filter: brightness(0.72) saturate(0.8) drop-shadow(0 16px 18px rgba(0, 0, 0, 0.16));
}

@media (max-width: 860px) {
  .hero-flag-card {
    top: -24px;
    right: auto;
    left: calc((100vw - 100%) / -2 - 130px);
    width: min(1290px, 174vw);
  }
}

@media (max-width: 620px) {
  .hero-flag-card {
    top: -8px;
    left: calc((100vw - 100%) / -2 - 108px);
    width: min(990px, 246vw);
  }
}
.management-feature-media {
  align-self: start;
}

@media (max-width: 900px) {
  .management-feature-media {
    margin-right: 0;
    padding-bottom: 0;
  }
}
/* Let the interactive fabric receive drags through the hero typography. */
.hero-copy {
  pointer-events: none;
}

.hero-copy a,
.hero-copy button {
  pointer-events: auto;
}

.hero-flag-card {
  pointer-events: auto;
}
/* Homepage boat-lift partner */
.bli-home-feature {
  background: linear-gradient(135deg, #f3f7f7 0%, #e7f0ef 100%);
}

.bli-home-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(38px, 6vw, 88px);
}

.bli-home-media {
  position: relative;
  min-height: clamp(420px, 50vw, 620px);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(8, 43, 58, 0.18);
}

.bli-home-media > img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.bli-home-logo {
  position: absolute;
  right: clamp(18px, 3vw, 32px);
  bottom: clamp(18px, 3vw, 32px);
  width: min(48%, 330px);
  padding: clamp(15px, 2vw, 22px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(8, 43, 58, 0.1);
  border-radius: 10px;
  box-shadow: 0 16px 42px rgba(8, 43, 58, 0.2);
  backdrop-filter: blur(8px);
}

.bli-home-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.bli-home-copy .section-copy {
  margin-bottom: 28px;
}

.bli-home-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .bli-home-grid {
    grid-template-columns: 1fr;
  }

  .bli-home-media {
    min-height: clamp(360px, 68vw, 540px);
  }
}

@media (max-width: 600px) {
  .bli-home-media {
    min-height: 330px;
  }

  .bli-home-logo {
    width: min(62%, 280px);
  }

  .bli-home-contact .button {
    width: 100%;
  }
}

/* Preferred partner */
.preferred-partner {
  display: grid;
  align-items: center;
  margin-top: clamp(52px, 7vw, 88px);
  padding: clamp(26px, 4vw, 44px);
  background: var(--foam);
  border: 1px solid rgba(8, 43, 58, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 20px 52px rgba(8, 43, 58, 0.09);
  grid-template-columns: minmax(180px, 0.58fr) minmax(260px, 0.95fr) minmax(270px, 0.8fr);
  gap: clamp(26px, 4vw, 52px);
}

.preferred-partner-logo {
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 22px;
  background: var(--white);
  border-radius: 10px;
}

.preferred-partner-logo img {
  display: block;
  width: 100%;
  max-width: 230px;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.preferred-partner-copy h2 {
  margin: 10px 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.02;
}

.preferred-partner-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.preferred-partner-contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 9px;
}

.preferred-partner-contact > span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
}

.preferred-partner-contact > span strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.preferred-partner-contact > a:not(.button) {
  color: var(--sea);
  font-weight: 800;
}

.preferred-partner-contact .button {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .preferred-partner {
    grid-template-columns: minmax(170px, 0.65fr) minmax(0, 1.35fr);
  }

  .preferred-partner-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .preferred-partner {
    grid-template-columns: 1fr;
  }

  .preferred-partner-contact {
    grid-column: auto;
  }
}

/* Permit resources */
.permit-intro-grid {
  align-items: start;
}

.permit-steps {
  display: grid;
  margin-top: 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.permit-steps > div {
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(8, 43, 58, 0.12);
  border-radius: 10px;
}

.permit-steps span {
  display: block;
  margin-bottom: 14px;
  color: var(--sea);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.permit-steps strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.permit-steps p {
  margin: 10px 0 0;
  font-size: 14px;
}

.permit-store-callout {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.permit-store-callout span,
.permit-store-callout strong,
.permit-store-callout a {
  display: block;
}

.permit-store-callout span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.permit-store-callout strong {
  margin-top: 5px;
  color: var(--white);
  font-size: 20px;
}

.permit-store-callout a {
  margin-top: 12px;
  color: #9de3da;
  font-weight: 800;
}

.permit-resources-wrap {
  max-width: 1180px;
}

.permit-level {
  display: grid;
  margin-top: clamp(48px, 7vw, 84px);
  padding-top: 34px;
  border-top: 1px solid rgba(8, 43, 58, 0.16);
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(32px, 5vw, 72px);
}

.permit-level-heading > span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--sea);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.permit-level-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}

.permit-level-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.permit-resource-link {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 24px;
  color: var(--ink);
  background: var(--foam);
  border: 1px solid rgba(8, 43, 58, 0.12);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(8, 43, 58, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.permit-resource-link:hover {
  border-color: rgba(13, 117, 129, 0.42);
  box-shadow: 0 20px 48px rgba(8, 43, 58, 0.12);
  transform: translateY(-3px);
}

.permit-resource-link > span {
  color: var(--sea);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.permit-resource-link strong {
  margin-top: 12px;
  font-size: 21px;
  line-height: 1.18;
}

.permit-resource-link p {
  margin: 14px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.permit-resource-link em {
  margin-top: auto;
  color: var(--sea);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.permit-notice {
  margin-top: 48px;
  padding: 22px 24px;
  color: var(--muted);
  background: #f4f0e7;
  border-left: 4px solid var(--gold);
  line-height: 1.65;
}

.permit-notice strong {
  color: var(--ink);
}

@media (max-width: 900px) {
  .permit-level {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .permit-steps,
  .permit-resource-grid {
    grid-template-columns: 1fr;
  }

  .permit-resource-link {
    min-height: 0;
  }
}
/* Employee safety library and footer access */
.safety-access-band {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 0%, rgba(68, 172, 193, 0.22), transparent 34%),
    linear-gradient(135deg, #0b3b4d 0%, #082b3a 56%, #061f2b 100%);
  border-top: 1px solid rgba(121, 211, 226, 0.26);
}

.safety-access-inner {
  display: grid;
  min-height: 210px;
  align-items: center;
  padding-block: 36px;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 54px);
}

.safety-hat-mark {
  display: block;
  width: 104px;
  height: 104px;
  background: linear-gradient(145deg, #87dce7, #2893aa);
  opacity: 0.9;
  -webkit-mask: url('assets/images/wci-safety-hat.png') center / contain no-repeat;
  mask: url('assets/images/wci-safety-hat.png') center / contain no-repeat;
}

.safety-access-copy .eyebrow {
  margin-bottom: 12px;
  color: #81dce7;
}

.safety-access-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.safety-access-copy > p:last-child {
  max-width: 660px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.safety-access-inner > .button {
  white-space: nowrap;
}

.safety-sheets-hero::after {
  background:
    linear-gradient(90deg, rgba(4, 28, 38, 0.98) 0%, rgba(5, 46, 61, 0.86) 52%, rgba(5, 36, 48, 0.32) 100%),
    linear-gradient(0deg, rgba(4, 28, 38, 0.56), transparent 56%);
}

.safety-library-wrap {
  max-width: 1180px;
}

.safety-library-intro {
  margin-bottom: 40px;
}

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

.safety-download-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 26px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(8, 43, 58, 0.12);
  border-top: 4px solid #16869a;
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(8, 43, 58, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.safety-download-card:hover {
  border-color: rgba(22, 134, 154, 0.5);
  box-shadow: 0 22px 48px rgba(8, 43, 58, 0.13);
  transform: translateY(-3px);
}

.safety-file-type {
  color: var(--sea);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.safety-download-card strong {
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.15;
}

.safety-download-card p {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.safety-download-action {
  margin-top: auto;
  color: var(--sea);
  font-size: 14px;
  font-weight: 850;
}

.safety-library-notice {
  margin-top: 34px;
  padding: 22px 24px;
  color: var(--muted);
  background: #f2ede3;
  border-left: 4px solid var(--gold);
  line-height: 1.65;
}

.safety-library-notice strong {
  color: var(--ink);
}

@media (max-width: 980px) {
  .safety-access-inner {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .safety-hat-mark {
    width: 84px;
    height: 84px;
  }

  .safety-access-inner > .button {
    grid-column: 2;
    justify-self: start;
  }

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

@media (max-width: 620px) {
  .safety-access-inner {
    grid-template-columns: 1fr;
  }

  .safety-access-inner > .button {
    grid-column: auto;
    white-space: normal;
  }

  .safety-download-grid {
    grid-template-columns: 1fr;
  }

  .safety-download-card {
    min-height: 0;
  }
}
/* WCI heritage feature */
.heritage-feature {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, rgba(42, 138, 156, 0.18), transparent 34%),
    linear-gradient(135deg, #092f40 0%, #061f2b 100%);
}

.heritage-feature-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(38px, 7vw, 96px);
}

.heritage-photo {
  position: relative;
  margin: 0;
}

.heritage-photo::before {
  position: absolute;
  z-index: 0;
  top: -18px;
  right: -18px;
  width: 48%;
  height: 52%;
  content: "";
  border: 1px solid rgba(111, 207, 220, 0.42);
}

.heritage-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: 650px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.03);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.heritage-photo figcaption {
  position: relative;
  z-index: 2;
  max-width: calc(100% - 44px);
  margin: -40px 0 0 22px;
  padding: 18px 22px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(5, 34, 46, 0.95);
  border-left: 3px solid #6fcfda;
  font-size: 13px;
  line-height: 1.55;
}

.heritage-photo figcaption span {
  display: block;
  margin-bottom: 4px;
  color: #84dce6;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.heritage-copy .eyebrow {
  color: #79d3df;
}

.heritage-copy .section-heading {
  margin-top: 18px;
  color: var(--white);
}

.heritage-copy > p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

.heritage-copy .heritage-lead {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.heritage-proof {
  display: grid;
  margin: 30px 0;
  padding: 22px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.14);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.heritage-proof strong,
.heritage-proof span {
  display: block;
}

.heritage-proof strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.heritage-proof span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.heritage-copy .button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.heritage-copy .button-outline:hover {
  color: var(--ink);
  background: var(--white);
}

@media (max-width: 900px) {
  .heritage-feature-grid {
    grid-template-columns: 1fr;
  }

  .heritage-photo {
    max-width: 760px;
  }
}

@media (max-width: 620px) {
  .heritage-photo::before {
    top: -10px;
    right: -10px;
  }

  .heritage-photo figcaption {
    max-width: calc(100% - 24px);
    margin: -24px 0 0 12px;
  }

  .heritage-proof {
    grid-template-columns: 1fr;
  }
}
/* Official WCI logo */
.brand-logo {
  display: block;
  width: 108px;
  height: 70px;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer-brand .brand-logo {
  width: 124px;
  height: 80px;
}

@media (max-width: 620px) {
  .brand-logo {
    width: 82px;
    height: 54px;
  }

  .footer-brand .brand-logo {
    width: 104px;
    height: 68px;
  }
}
