/* ==========================================================================
   Delaney's Coastal Construction LLC - homepage concept
   Design language: Soft Luxury (type, spacing, composition, motion only)
   Palette: Delaney's own brand. Navy #1b4462 and sky #6bb0dd are their theme
   tokens (--color_2 / --color_1 in their live CSS) and match their logo.
   Sand #d8d3c9 is their --color_9. Bronze #bc936c is their button border color.
   ========================================================================== */

:root {
  /* Their brand, deepened only where contrast requires it */
  --navy:        #1b4462;
  --ink:         #0d1f30;
  --ink-2:       #143550;
  --sky:         #6bb0dd;
  --sky-soft:    #9ecdea;
  --bronze:      #bc936c;
  --bronze-deep: #8a5f38;
  /* Deeper bronze for small caps on the sand band, which is too light for --bronze-deep */
  --bronze-on-sand: #6f4a2a;
  --sand:        #d8d3c9;
  --paper:       #f7f4ef;
  --paper-2:     #efeae1;
  --white:       #ffffff;

  --text-dark:   #23272c;
  --text-body:   #4a5158;
  --text-muted:  #5f666d;
  --on-dark:     rgba(255,255,255,0.88);
  --on-dark-mid: rgba(255,255,255,0.72);
  --on-dark-low: rgba(255,255,255,0.60);

  --font-display: "Gloock", Georgia, "Times New Roman", serif;
  --font-body:    "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap:      min(90%, 1180px);
  --wrap-wide: min(94%, 1560px);
  --pad-y:     clamp(4.5rem, 9vw, 8.5rem);
  --gutter:    clamp(1.25rem, 4vw, 3rem);
  --nav-h:     84px;

  --radius:    16px;
  --radius-lg: 22px;
  --shadow-soft: 0 30px 70px -32px rgba(13,31,48,0.42);
  --shadow-lift: 0 42px 90px -38px rgba(13,31,48,0.55);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 0.97rem + 0.18vw, 1.075rem);
  line-height: 1.72;
  color: var(--text-body);
  background: var(--paper);
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-dark);
  margin: 0;
  letter-spacing: -0.005em;
  line-height: 1.08;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  margin: 0 0 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::after {
  content: "";
  flex: 0 0 46px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before {
  content: "";
  flex: 0 0 46px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  order: -1;
}

.section-dark .eyebrow { color: var(--sky); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.02rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.45s var(--ease), color 0.45s var(--ease),
              border-color 0.45s var(--ease), transform 0.45s var(--ease);
  min-height: 48px;
}
.btn__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.75;
  flex: 0 0 auto;
  transition: transform 0.45s var(--ease);
}
.btn:hover .btn__dot { transform: scale(1.65); }

.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: var(--ink); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(27,68,98,0.35);
}
.btn--outline:hover { border-color: var(--navy); background: rgba(27,68,98,0.05); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sand); }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.42);
}
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--bronze-deep);
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 1px solid rgba(138,95,56,0.4);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.textlink:hover { border-color: var(--bronze-deep); }
.section-dark .textlink { color: var(--sky); border-bottom-color: rgba(107,176,221,0.45); }
.section-dark .textlink:hover { border-bottom-color: var(--sky); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(247,244,239,0.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(27,68,98,0.09);
  transition: background 0.5s var(--ease), height 0.5s var(--ease);
}
.nav__inner {
  width: var(--wrap-wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__logo img {
  width: auto;
  height: 42px;
  max-width: 250px;
  object-fit: contain;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2.1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.055em;
  color: var(--navy);
  text-decoration: none;
  padding-block: 0.5rem;
  position: relative;
  transition: color 0.4s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.1rem;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }

.nav__phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 0.65rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.nav__cta { padding: 0.78rem 1.35rem; min-height: 44px; }

.burger {
  display: none;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(27,68,98,0.25);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  z-index: 210;
}
.burger span {
  display: block;
  width: 19px; height: 1.5px;
  background: var(--navy);
  position: relative;
  transition: background 0.3s var(--ease);
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px; height: 1.5px;
  background: var(--navy);
  transition: transform 0.45s var(--ease), top 0.3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); background: #fff; }
.burger.is-open span::after  { top: 0; transform: rotate(-45deg); background: #fff; }
.burger.is-open { border-color: rgba(255,255,255,0.4); }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--ink);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s var(--ease), visibility 0.55s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 7vw, 2.3rem);
  color: #fff;
  text-decoration: none;
  line-height: 1.25;
}
.mobile-menu__rule { height: 1px; background: rgba(255,255,255,0.16); margin: 0.4rem 0; }
.mobile-menu__meta {
  font-size: 0.95rem;
  color: var(--on-dark-mid);
  letter-spacing: 0.02em;
}
.mobile-menu__meta a { font-family: var(--font-body); font-size: 1.05rem; color: var(--sky); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 7vw, 6rem));
  padding-bottom: clamp(3rem, 7vw, 6.5rem);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 55%, var(--paper-2) 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--navy);
  max-width: 13ch;
}
.hero__sub {
  margin-top: 1.9rem;
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.16rem);
  line-height: 1.7;
  color: var(--text-body);
  max-width: 46ch;
}
.hero__actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
  align-items: center;
}
.hero__rule {
  margin-top: 2.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero__rule::before {
  content: "";
  width: 54px; height: 1px;
  background: var(--bronze);
  flex: 0 0 auto;
}

.hero__media { position: relative; }
.hero__media-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 5;
}
.hero__media-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__media-sub {
  position: absolute;
  left: clamp(-2.5rem, -3vw, -1rem);
  bottom: clamp(-2rem, -3vw, -1rem);
  width: clamp(150px, 42%, 260px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 6px solid var(--paper);
  max-width: 100%;
}
.hero__media-sub img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- credential strip ---------- */
.creds {
  background: var(--paper-2);
  border-top: 1px solid rgba(27,68,98,0.08);
  border-bottom: 1px solid rgba(27,68,98,0.08);
  padding-block: clamp(2.2rem, 4vw, 3.2rem);
}
.creds__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.creds__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.creds__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  font-weight: 500;
}
.creds__value {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.95rem + 0.42vw, 1.4rem);
  line-height: 1.25;
  color: var(--navy);
}
.creds__trex { height: 40px; width: auto; margin-top: 0.25rem; }

/* ---------- generic sections ---------- */
.section { padding-block: var(--pad-y); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-paper { background: var(--paper); }
.section-paper-2 { background: var(--paper-2); }
.section-sand { background: var(--sand); }

.section-head { max-width: 42ch; }
.section-head--center { max-width: 48ch; margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(1.95rem, 1.5rem + 2vw, 3.1rem);
  line-height: 1.1;
}
.section-lede {
  margin-top: 1.5rem;
  font-size: 1.06rem;
  line-height: 1.72;
  max-width: 54ch;
}
.section-dark .section-lede { color: var(--on-dark-mid); }
.section-head--center .section-lede { margin-inline: auto; }

/* ---------- owner letter ---------- */
.owner__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.owner__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 5 / 4;
}
.owner__figure img { width: 100%; height: 100%; object-fit: cover; }
.owner__quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.05rem + 1.25vw, 2.05rem);
  line-height: 1.32;
  color: #fff;
  margin: 0 0 1.6rem;
  letter-spacing: -0.005em;
}
.owner__body { color: var(--on-dark-mid); max-width: 52ch; }
.owner__sig {
  margin-top: 2.1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.16);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.owner__sig-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
}
.owner__sig-role {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
}

/* ---------- services ---------- */
.svc { display: flex; flex-direction: column; gap: clamp(3.5rem, 7vw, 6.5rem); margin-top: clamp(3rem, 6vw, 5rem); }
.svc__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
}
.svc__row:nth-child(even) .svc__media { order: 2; }
.svc__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  position: relative;
}
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc__row:hover .svc__media img { transform: scale(1.035); }
.svc__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--bronze-deep);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.9rem;
}
.svc__title {
  font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2.15rem);
  line-height: 1.14;
  color: var(--navy);
  margin-bottom: 1.1rem;
}
.svc__body { color: var(--text-body); max-width: 46ch; }
.svc__list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.55rem;
}
.svc__list li {
  font-size: 0.83rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  background: rgba(27,68,98,0.06);
  border: 1px solid rgba(27,68,98,0.1);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
}

/* ---------- photo wall (signature) ---------- */
.wall { background: var(--paper-2); padding-block: var(--pad-y); overflow: hidden; }
.wall__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.wall__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.5rem);
}
.wall__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px -34px rgba(13,31,48,0.55);
  background: var(--sand);
  aspect-ratio: 4 / 3;
}
.wall__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.wall__item:hover img { transform: scale(1.04); }
.wall__foot {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.wall__note { font-size: 0.95rem; color: var(--text-muted); max-width: 50ch; }

/* ---------- climate band ---------- */
.climate { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.climate__bg { position: absolute; inset: 0; }
.climate__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.30; }
.climate__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13,31,48,0.97) 0%, rgba(13,31,48,0.9) 38%, rgba(13,31,48,0.45) 72%, rgba(13,31,48,0.25) 100%);
}
.climate__inner { position: relative; z-index: 2; padding-block: var(--pad-y); }
.climate__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}
.climate__card {
  border-top: 1px solid rgba(255,255,255,0.22);
  padding-top: 1.5rem;
}
.climate__card h3 {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  line-height: 1.22;
  margin-bottom: 0.85rem;
}
.climate__card p { color: var(--on-dark-mid); font-size: 0.99rem; }

/* ---------- team ---------- */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.team__card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 22px 55px -38px rgba(13,31,48,0.5);
}
.team__photo { aspect-ratio: 3 / 4; background: var(--sand); }
.team__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.team__meta { padding: 1.15rem 1.25rem 1.4rem; }
.team__name {
  font-family: var(--font-display);
  font-size: 1.14rem;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.35rem;
}
.team__role {
  font-size: 0.79rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  line-height: 1.45;
}
.team__group {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.team__group img { width: 100%; height: auto; }

/* ---------- testimonials ---------- */
.quotes__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.quote {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: rgba(255,255,255,0.035);
}
.quote__mark {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--sky);
  display: block;
  margin-bottom: 0.8rem;
}
.quote__text { color: var(--on-dark); font-size: 1.02rem; line-height: 1.68; }
.quote__by {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.79rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
}

/* ---------- contact / cta ---------- */
.cta { background: var(--sand); padding-block: var(--pad-y); }
.cta .eyebrow { color: var(--bronze-on-sand); }
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
.cta__title { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.2rem); line-height: 1.08; color: var(--navy); }
.cta__body { margin-top: 1.5rem; color: var(--text-body); max-width: 46ch; }
.cta__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem 1rem; }
.cta__panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-soft);
}
.cta__row { padding-block: 1rem; border-bottom: 1px solid rgba(27,68,98,0.1); }
.cta__row:last-child { border-bottom: 0; padding-bottom: 0; }
.cta__row:first-child { padding-top: 0; }
.cta__k {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.cta__v { color: var(--text-dark); font-size: 1rem; line-height: 1.6; }
.cta__v a { color: var(--navy); text-decoration: none; border-bottom: 1px solid rgba(27,68,98,0.3); }
.cta__v a:hover { border-color: var(--navy); }
.cta__hours { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1.5rem; font-size: 0.97rem; }
.cta__hours dt { color: var(--text-muted); }
.cta__hours dd { margin: 0; color: var(--text-dark); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-mid); padding-block: clamp(3.5rem, 6vw, 5rem) 2.5rem; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer__mark {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  display: block;
  text-decoration: none;
}
.footer__blurb { font-size: 0.97rem; max-width: 38ch; }
.footer__h {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1.1rem;
  font-weight: 500;
}
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list a {
  display: inline-block;
  padding-block: 0.65rem;
  font-size: 0.95rem;
  color: var(--on-dark-mid);
  text-decoration: none;
  transition: color 0.4s var(--ease);
}
.footer__list a:hover { color: #fff; }
.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--on-dark-low);
}
.footer__social { display: flex; gap: 1.25rem; }
.footer__social a {
  color: var(--on-dark-mid);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding-block: 0.65rem;
  transition: color 0.4s var(--ease);
}
.footer__social a:hover { color: #fff; }

/* ---------- 404 ---------- */
.error {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--ink);
  color: var(--on-dark);
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + 4rem) 4rem;
}
.error__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 12rem);
  line-height: 0.9;
  color: rgba(107,176,221,0.22);
  margin-bottom: 1.5rem;
}
.error__title { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); color: #fff; margin-bottom: 1.35rem; }
.error__body { color: var(--on-dark-mid); max-width: 46ch; margin-bottom: 2.2rem; }

/* ---------- motion ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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

@media (max-width: 1024px) {
  .nav__links { display: none; }
  /* The mobile menu carries the CTA and contact detail, so the nav keeps
     only the phone link and the burger. */
  .nav__cta { display: none; }
  .burger { display: flex; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(3.5rem, 8vw, 5rem); }
  .hero__title { max-width: 16ch; }
  .hero__media-sub { left: auto; right: clamp(-1rem, -2vw, 0rem); }
  .owner__grid { grid-template-columns: minmax(0, 1fr); }
  .svc__row { grid-template-columns: minmax(0, 1fr); }
  .svc__row:nth-child(even) .svc__media { order: 0; }
  .climate__grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .cta__grid { grid-template-columns: minmax(0, 1fr); }
  .wall__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .climate__scrim {
    background: linear-gradient(180deg, rgba(13,31,48,0.95) 0%, rgba(13,31,48,0.9) 55%, rgba(13,31,48,0.8) 100%);
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 72px; }
  .creds__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes__grid { grid-template-columns: minmax(0, 1fr); }
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__media-main { aspect-ratio: 3 / 4; }
}

@media (max-width: 560px) {
  .nav__logo img { height: 34px; max-width: 190px; }
  .hero__media-sub { width: clamp(130px, 44%, 190px); border-width: 5px; bottom: -1.25rem; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn, .cta__actions .btn, .error .btn { width: 100%; justify-content: center; }
  .creds__grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}

@media (max-width: 460px) {
  .wall__grid { grid-template-columns: minmax(0, 1fr); }
  .team__grid { grid-template-columns: minmax(0, 1fr); }
}
