/* ==========================================================================
   Alumora Patio Covers — site styles
   Palette: navy #001E4A (brand), grey #808285 (brand), white / #F5F5F7 grounds
   Type:    Montserrat (display, echoes the logo) + system UI stack (body)
   ========================================================================== */

:root {
  --navy: #001E4A;
  --navy-hover: #0B326E;
  --grey: #808285;
  --ink: #1D1D1F;
  --ink-soft: #55565A;
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --hair: #D8D8DD;

  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: 24px;
  --radius: 14px;
  --section-y: clamp(72px, 9vw, 132px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-hover); }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip:focus { left: 8px; top: 8px; color: #fff; }

/* --------------------------------------------------------------- typography */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); font-weight: 300; line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 300; line-height: 1.1; text-wrap: balance; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 500; letter-spacing: 0; }

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

.eyebrow {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 18px;
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 62ch;
}

.accent { color: var(--navy); }

/* ---------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hair);
}

.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__logo img { height: 30px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--navy); }

.nav__call {
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__toggle span { margin: 0 auto; position: relative; }
.nav__toggle span::before { content: ""; position: absolute; top: -6px; }
.nav__toggle span::after { content: ""; position: absolute; top: 6px; }
.nav[data-open="true"] .nav__toggle span { background: transparent; }
.nav[data-open="true"] .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav[data-open="true"] .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__call { display: none; }
  .nav__links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    box-shadow: 0 18px 30px rgba(0, 30, 74, 0.06);
    border-bottom: 1px solid var(--hair);
    padding: 6px var(--gutter) 18px;
    display: none;
  }
  .nav[data-open="true"] .nav__links { display: flex; }
  .nav__links li { width: 100%; border-bottom: 1px solid var(--hair); }
  .nav__links li:last-child { border-bottom: 0; }
  .nav__links a { display: block; padding: 15px 0; font-size: 1rem; }
  .nav__links a::after { display: none; }
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}
.btn:active { transform: scale(0.985); }

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

.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }

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

.btn--outline-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------------------------------------------------------- sections */

.section { padding: var(--section-y) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: rgba(255, 255, 255, 0.62); }
.section--navy .lede { color: rgba(255, 255, 255, 0.8); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }

/* heading that must never wrap — shrinks with the viewport instead */
.h2--oneline {
  white-space: nowrap;
  font-size: min(3rem, 5.6vw);
  max-width: none;
}
.section-head .lede { margin-top: 18px; }

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 128px) 0 clamp(72px, 9vw, 120px);
  background: linear-gradient(180deg, #FBFBFC 0%, #FFFFFF 62%);
  border-bottom: 1px solid var(--hair);
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.br-lg { display: none; }
@media (min-width: 860px) { .br-lg { display: inline; } }

.hero h1 { text-wrap: normal; font-size: clamp(1.95rem, 3.5vw, 2.95rem); }
.hero__logo { margin-bottom: clamp(34px, 5vw, 56px); }
.hero__logo img {
  width: min(520px, 84%);
  margin: 0 auto;
}
.hero .btn-row {
  justify-content: center;
  margin-top: clamp(30px, 4vw, 42px);
}

.hero__meta {
  margin-top: clamp(48px, 7vw, 84px);
  padding-top: 26px;
  border-top: 1px solid var(--hair);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  position: relative;
  z-index: 2;
}
.hero__meta > div { text-align: center; }
.hero__meta dt {
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}
.hero__meta dd { margin: 0; font-size: 0.98rem; color: var(--ink); }

@media (max-width: 700px) {
  .hero__meta { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------------------------------------------------------------- cards */

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

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

.card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  border-color: rgba(0, 30, 74, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 30, 74, 0.07);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }

/* photo washed in behind a service card */
.card--photo { position: relative; overflow: hidden; }
.card--photo-cover { --card-photo: url("gallery/large-cover-paver-patio.jpg"); }
.card--photo-pergola { --card-photo: url("gallery/rafter-detail.jpg"); }
.card--photo > * { position: relative; z-index: 1; }
.card--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.87)),
    var(--card-photo);
  background-size: cover, cover;
  background-position: center, center;
  transition: background-image 0.35s ease;
}
.card--photo:hover::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.8)),
    var(--card-photo);
}

/* feature list inside a card */
.feature-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--hair);
  display: grid;
  gap: 10px;
}
.feature-list li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1.5px;
  background: var(--navy);
}

/* ---------------------------------------------------------------- steps */

.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--hair);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--hair); }
.step__num {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--navy);
  padding-top: 6px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.97rem; max-width: 60ch; }

@media (max-width: 620px) {
  .step { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------------------------------------------------------------- about */

.about-head { margin-bottom: clamp(28px, 4vw, 46px); }
@media (min-width: 900px) {
  /* wide enough to hold the line — keep it unbroken */
  .about-head h2 { white-space: nowrap; font-size: min(3rem, 4.3vw); }
}

.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.about__mark {
  padding: clamp(12px, 3vw, 32px);
  display: grid;
  place-items: center;
}
.about__mark img { width: min(190px, 60%); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__mark { order: -1; }
}

/* ---------------------------------------------------------------- areas */

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding: 0; list-style: none; }
.chips li {
  font-size: 0.87rem;
  color: var(--ink-soft);
  border: 1px solid var(--hair);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
}
.section--navy .card {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.2);
}
.section--navy .card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}
.section--navy .card p { color: rgba(255, 255, 255, 0.78); }
.section--navy .feature-list {
  border-top-color: rgba(255, 255, 255, 0.2);
}
.section--navy .feature-list li { color: rgba(255, 255, 255, 0.78); }
.section--navy .feature-list li::before { background: rgba(255, 255, 255, 0.75); }
.section--navy .step { border-color: rgba(255, 255, 255, 0.2); }
.section--navy .step p { color: rgba(255, 255, 255, 0.78); }
.section--navy .step__num { color: rgba(255, 255, 255, 0.72); }
.section--navy .chips li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.88);
}

/* ---------------------------------------------------------------- gallery */

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

.shot {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hair);
  padding: 0;
  cursor: pointer;
  display: block;
  width: 100%;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.shot:hover img { transform: scale(1.04); }
.shot__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 18px 14px;
  color: #fff;
  font-size: 0.85rem;
  text-align: left;
  background: linear-gradient(to top, rgba(0, 30, 74, 0.72), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.shot:hover .shot__caption, .shot:focus-visible .shot__caption { opacity: 1; }

/* empty placeholder tile — replace with a real <img> */
.shot--empty { cursor: default; border-style: dashed; }
.shot--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 30, 74, 0.07) 0 1.5px,
    transparent 1.5px 16px
  );
}
.shot__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  justify-items: center;
  color: var(--grey);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--display);
}
.shot__ph img { width: 30px; opacity: 0.5; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 20, 24, 0.92);
  display: none;
  place-items: center;
  padding: 28px;
}
.lightbox[data-open="true"] { display: grid; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; object-fit: contain; border-radius: 6px; }
.lightbox__close {
  position: absolute;
  top: 18px; right: 22px;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.lightbox__cap { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin-top: 14px; text-align: center; }

/* ---------------------------------------------------------------- reviews */

.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
@media (max-width: 950px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr; } }

.review {
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  padding: 28px;
}
.review__stars { color: #C8CBD0; letter-spacing: 3px; font-size: 0.95rem; margin-bottom: 14px; }
.review__text {
  position: relative;
  overflow: hidden;
  max-height: 15.5em;
  margin-bottom: 18px;
}
.review__text[data-open="true"] { max-height: none; }
.review__text[data-clamped="true"]:not([data-open="true"])::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4em;
  background: linear-gradient(to bottom, rgba(0, 30, 74, 0), var(--navy) 82%);
}
.review__text p { font-size: 0.99rem; color: #fff; margin-bottom: 0.9em; }
.review__text p:last-child { margin-bottom: 0; }
.review__orig {
  font-size: 0.88rem;
  color: var(--grey);
  font-style: italic;
  margin-top: 0.9em;
  padding-top: 0.9em;
  border-top: 1px solid var(--hair);
}
.review__body { font-size: 0.99rem; color: #fff; margin-bottom: 18px; }
.review__more {
  border: 0;
  background: none;
  padding: 0;
  margin: 0 0 16px;
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
}
.review__more:hover { text-decoration: underline; }
.review__by {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.review--new { animation: rise 0.45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- forms */

.form-panel {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
}

.field { display: block; margin-bottom: 20px; }
.field > span {
  display: block;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 13px 15px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  background: #fff;
  border-color: var(--navy);
  outline: none;
}
.field--half { margin-bottom: 0; }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.hint { font-size: 0.82rem; color: var(--grey); margin-top: -6px; }

.error { color: #B00020; font-size: 0.85rem; margin-top: 8px; display: none; }
.error[data-show="true"] { display: block; }

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.93rem;
  background: rgba(0, 30, 74, 0.06);
  border: 1px solid rgba(0, 30, 74, 0.18);
  color: var(--navy);
}
.form-status[data-show="true"] { display: block; }

/* spam honeypot — never shown */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* star picker */
.stars { display: flex; gap: 4px; position: relative; }
.stars input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.stars label {
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--hair);
  transition: color 0.15s ease, transform 0.15s ease;
}
.stars label:hover { transform: scale(1.08); }
.stars label[data-on="true"] { color: var(--navy); }
.stars input:focus-visible + label { outline: 2px solid var(--navy); outline-offset: 3px; }

/* ---------------------------------------------------------------- contact */

.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding: 22px 0; border-bottom: 1px solid var(--hair); }
.info-list li:first-child { padding-top: 0; }
.info-list li:last-child { border-bottom: 0; }
.info-list dt,
.info-list .info__label {
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}
.info__value { font-size: 1.05rem; color: var(--ink); }
.info__value a { color: var(--navy); }
.info__note { font-size: 0.88rem; color: var(--grey); margin-top: 6px; }

/* ---------------------------------------------------------------- page head */

.pagehead {
  padding: clamp(64px, 8vw, 110px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--hair);
  background: linear-gradient(180deg, #FBFBFC, #FFFFFF);
}
.pagehead h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  color: var(--navy);
}

.pagehead--navy {
  background: var(--navy);
  border-bottom-color: var(--navy);
}
.pagehead--navy h1 { color: #fff; }
.pagehead--navy .eyebrow { color: rgba(255, 255, 255, 0.62); }
.pagehead--navy .lede { color: rgba(255, 255, 255, 0.8); }


/* ---------------------------------------------------------------- cta band */

.cta { text-align: center; }
.cta .wrap { display: grid; justify-items: center; gap: 26px; }
.cta h2 { max-width: 24ch; }
.cta__phone {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #fff;
}
.cta__phone:hover { color: #fff; opacity: 0.85; }

/* ---------------------------------------------------------------- footer */

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--hair);
  padding: clamp(48px, 6vw, 72px) 0 40px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--hair);
}
@media (max-width: 780px) { .footer__top { grid-template-columns: 1fr; gap: 30px; } }
.footer__logo img { height: 26px; width: auto; margin-bottom: 16px; }
.footer h4 {
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 14px;
  font-weight: 500;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--ink-soft); }
.footer a:hover { color: var(--navy); }
.footer__bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--grey);
}

/* ---------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(16px); }
.reveal[data-shown="true"] {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
