/* ==========================================================================
   Zeltron Holdings — site styles
   1. Tokens   2. Base   3. Layout & type   4. Buttons   5. Header
   6. Hero     7. Sections (about … contact)   8. Footer   9. Motion
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Brand colors */
  --onyx: #101312;
  --onyx-soft: #181c1b;
  --emerald: #009b65;
  --emerald-deep: #007a50;   /* text-safe emerald on ivory (AA contrast) */
  --emerald-bright: #1fbf86; /* emerald for text on onyx */
  --silver: #c5c9cb;
  --ivory: #f6f6f4;
  --white: #ffffff;

  /* Derived neutrals */
  --ink: #1b1f1e;
  --ink-muted: #565c5a;
  --line: #dcdedb;
  --line-dark: rgba(197, 201, 203, 0.18);
  --tint: #eeeeea;
  --error: #a4262c;

  /* Type */
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --header-h: 76px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.25rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.375rem); }
h3 { font-size: 1.625rem; line-height: 1.2; }
h1 em, h2 em { font-style: italic; font-weight: 400; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--emerald-deep); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--onyx); }

:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  padding: 10px 18px; background: var(--emerald); color: var(--white);
  font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* 3. LAYOUT & TYPE --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section-tint { background: var(--tint); }
.section-dark { background: var(--onyx); color: var(--silver); }
.section-dark h2, .section-dark h3 { color: var(--ivory); }

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--emerald-deep);
}
.eyebrow-light { color: var(--emerald-bright); }

.rule {
  width: 64px; height: 1px; margin: 1.75rem 0;
  background: var(--emerald);
}
.rule-center { margin-inline: auto; }

.lede {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
  color: var(--ink-muted);
}
.section-head h2 { color: var(--ink); }

.text-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.text-link span { display: inline-block; transition: transform 0.3s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* 4. BUTTONS --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: 14px 34px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-small { min-height: 44px; padding: 10px 26px; font-size: 0.75rem; }

.btn-primary { background: var(--emerald-deep); color: var(--white); border-color: var(--emerald-deep); }
.btn-primary:hover { background: var(--onyx); border-color: var(--onyx); color: var(--white); }
.hero .btn-primary:hover { background: var(--ivory); border-color: var(--ivory); color: var(--onyx); }

.btn-outline-light { color: var(--ivory); border-color: rgba(246, 246, 244, 0.7); }
.btn-outline-light:hover { background: var(--ivory); border-color: var(--ivory); color: var(--onyx); }

.btn-outline-dark { color: var(--onyx); border-color: var(--onyx); background: transparent; }
.btn-outline-dark:hover { background: var(--onyx); color: var(--ivory); }

.btn[disabled] { opacity: 0.6; cursor: progress; }

.button-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* 5. HEADER ---------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: var(--onyx); /* solid by default (no-JS safe) */
  border-bottom: 1px solid var(--line-dark);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
/* With JS: transparent over the hero until the page is scrolled. */
.js .site-header:not(.is-scrolled):not(.is-open) {
  background: linear-gradient(rgba(16, 19, 18, 0.6), rgba(16, 19, 18, 0));
  border-bottom-color: transparent;
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { width: auto; height: 40px; }
.brand-wordmark { width: auto; height: 30px; }

.primary-nav ul { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.primary-nav a {
  position: relative;
  display: block;
  padding: 10px 0;
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: var(--emerald-bright);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px; margin-right: -12px;
  background: none; border: 0; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 24px; height: 1px; background: var(--ivory);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  :root { --header-h: 68px; }
  .brand-mark { height: 34px; }
  .brand-wordmark { height: 25px; }

  /* Without JS the links simply wrap under the logo; with JS they collapse. */
  .js .nav-toggle { display: inline-flex; }
  .js .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--onyx);
    border-bottom: 1px solid var(--line-dark);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .js .site-header.is-open .primary-nav {
    visibility: visible; opacity: 1; transform: none;
    transition-delay: 0s;
  }
  .js .primary-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px; }
  .js .primary-nav a { padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 0.85rem; }
  .js .primary-nav a::after { display: none; }
  .js .primary-nav a[aria-current="true"] { color: var(--emerald-bright); }

  html:not(.js) .site-header { position: static; height: auto; padding-block: 12px; }
  html:not(.js) .header-inner { flex-wrap: wrap; gap: 8px 24px; }
  html:not(.js) .primary-nav ul { flex-wrap: wrap; gap: 4px 20px; }
}

/* 6. HERO ------------------------------------------------------------------ */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 48px) 0 96px;
  background: var(--onyx);
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-image {
  width: 100%; height: 112%;
  object-fit: cover; object-position: 60% 50%;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 19, 18, 0.86) 0%, rgba(16, 19, 18, 0.6) 45%, rgba(16, 19, 18, 0.28) 100%),
    linear-gradient(0deg, rgba(16, 19, 18, 0.7) 0%, rgba(16, 19, 18, 0) 40%);
}
.hero-content { max-width: 1240px; }
.hero h1 { max-width: 19ch; color: var(--white); }
.hero h1 em { color: var(--ivory); }
.hero-lede {
  max-width: 34rem;
  margin: 1.75rem 0 2.5rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: rgba(246, 246, 244, 0.9);
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px;
  width: 44px; height: 56px; margin-left: -22px;
  display: flex; justify-content: center;
}
.scroll-cue span {
  width: 1px; height: 100%;
  background: linear-gradient(rgba(246, 246, 244, 0), rgba(246, 246, 244, 0.85));
}

/* 7. SECTIONS -------------------------------------------------------------- */

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}
.about-media { position: relative; padding: 0 12% 12% 0; }
.about-frame {
  position: absolute; top: -20px; left: -20px; width: 55%; height: 55%;
  border: 1px solid var(--emerald);
  z-index: 0;
}
.about-img-main { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-img-inset {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  width: 52%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 8px solid var(--ivory);
}
.about-copy { color: var(--ink-muted); }
.about-copy h2 { color: var(--ink); }
.about-points {
  margin: 2rem 0;
  border-top: 1px solid var(--line);
}
.about-points li {
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
}
.about-points li::before {
  content: ""; position: absolute; left: 2px; top: 50%;
  width: 12px; height: 1px; background: var(--emerald);
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--ivory);
}
.service-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 44px 32px 36px;
  border-right: 1px solid var(--line);
  transition: background-color 0.4s var(--ease);
}
.service-card:last-child { border-right: 0; }
.service-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--emerald);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service-card:hover { background: var(--white); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 44px; height: 44px; margin-bottom: 28px;
  fill: none; stroke: var(--emerald-deep); stroke-width: 1.25;
  stroke-linecap: square; stroke-linejoin: miter;
}
.service-card h3 { margin-bottom: 14px; font-size: 1.5rem; }
.service-card p { color: var(--ink-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 24px; }
.card-link {
  margin-top: auto;
  align-self: flex-start;
  padding: 8px 0;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none;
}
.card-link span { display: inline-block; transition: transform 0.3s var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* Properties (editorial categories) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.category-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--tint); }
.category-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.category-media::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(246, 246, 244, 0.55);
  opacity: 0; transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.category-card:hover .category-media img { transform: scale(1.04); }
.category-card:hover .category-media::after { opacity: 1; }
.category-card { display: flex; flex-direction: column; }
.category-body { display: flex; flex-direction: column; flex: 1; padding-top: 28px; }
.category-body .btn { margin-top: auto; align-self: flex-start; }
.category-num {
  margin-bottom: 10px;
  font-family: var(--serif); font-size: 1.125rem; font-style: italic; line-height: 1;
  color: var(--emerald-deep);
}
.category-body h3 {
  margin-bottom: 14px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.75rem, 2.4vw, 2.125rem);
}
.category-body > p:not([class]) { margin-bottom: 26px; color: var(--ink-muted); }
.imagery-note {
  margin: clamp(48px, 6vw, 72px) auto 0;
  max-width: 40rem;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.1875rem; font-style: italic; line-height: 1.5;
  text-align: center;
  color: var(--ink-muted);
}

/* Why choose */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}
.why-head { position: sticky; top: calc(var(--header-h) + 40px); }
.why-list { border-top: 1px solid var(--line-dark); }
.why-list li {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-dark);
}
.why-num {
  font-family: var(--serif); font-size: 1.375rem; font-style: italic; line-height: 1.5;
  color: var(--emerald-bright);
}
.why-list h3 { margin-bottom: 6px; font-size: 1.625rem; }
.why-list p { font-size: 1rem; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  max-width: 880px; margin-inline: auto;
}
.team-card {
  padding: 48px 28px 44px;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
  transition: border-color 0.4s var(--ease);
}
.team-card:hover { border-color: var(--emerald); }
.monogram {
  display: grid; place-items: center;
  width: 112px; height: 112px; margin: 0 auto 28px;
  border: 1px solid var(--emerald);
  border-radius: 50%;
  padding: 6px;
}
.monogram span {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--onyx); color: var(--ivory);
  font-family: var(--serif); font-size: 2.125rem; letter-spacing: 0.06em;
}
.team-card h3 { font-size: 1.875rem; }
.team-role {
  margin: 8px 0 20px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-muted);
}
.team-email { display: inline-block; padding: 8px 0; font-size: 1rem; overflow-wrap: anywhere; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}
.contact-intro { color: var(--ink-muted); }
.contact-intro h2 { color: var(--ink); }
.contact-list { margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.contact-list > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list dt {
  margin-bottom: 6px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--emerald-deep);
}
.contact-list dd { margin: 0; color: var(--ink); }
.contact-list a { overflow-wrap: anywhere; }

.contact-form-wrap {
  padding: clamp(28px, 4vw, 52px);
  background: var(--white);
  border: 1px solid var(--line);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.875rem; color: var(--ink-muted); margin-bottom: 1.5rem; }
.req { color: var(--emerald-deep); }
.optional { color: var(--ink-muted); font-weight: 300; letter-spacing: 0.04em; text-transform: none; }

.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.field label {
  display: block; margin-bottom: 8px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  display: block; width: 100%;
  padding: 13px 16px;
  background: var(--ivory);
  border: 1px solid #8d9391;
  border-radius: 0;
  color: var(--ink);
  font: 400 1rem/1.5 var(--sans);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.500l5 5 5-5' fill='none' stroke='%23101312' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--emerald-deep);
  box-shadow: 0 0 0 3px rgba(0, 155, 101, 0.22);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: 6px 0 0; font-size: 0.875rem; font-weight: 400; color: var(--error); }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-privacy { flex: 1 1 220px; margin: 0; font-size: 0.875rem; line-height: 1.5; color: var(--ink-muted); }

.form-status {
  margin-top: 24px; padding: 16px 20px;
  border: 1px solid var(--line); border-left-width: 3px;
  font-weight: 400; line-height: 1.55;
}
.form-status.is-success { border-left-color: var(--emerald); background: #eef7f3; color: #0b4a34; }
.form-status.is-error { border-left-color: var(--error); background: #fbefef; color: #7a1c21; }
.form-status a { color: inherit; }

/* 8. FOOTER ---------------------------------------------------------------- */
.site-footer {
  padding: clamp(56px, 8vw, 96px) 0 32px;
  background: var(--onyx);
  color: var(--silver);
  font-size: 0.9375rem;
}
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: var(--emerald-bright); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 88px);
  padding-bottom: 48px;
}
.footer-brand img { width: 188px; margin-bottom: 24px; }
.footer-brand p { max-width: 26rem; }
.site-footer h2 {
  margin-bottom: 18px;
  font-family: var(--sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--emerald-bright);
}
.footer-nav a { display: inline-block; padding: 5px 0; }
.footer-contact li { margin-bottom: 14px; }
.footer-contact span {
  display: block;
  font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--silver);
}
.footer-contact a { display: inline-block; padding: 3px 0; overflow-wrap: anywhere; }

.privacy { border-top: 1px solid var(--line-dark); scroll-margin-top: calc(var(--header-h) + 16px); }
.privacy summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
  cursor: pointer; list-style: none;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ivory);
}
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary::after {
  content: "+"; font-family: var(--serif); font-size: 1.5rem; line-height: 1; letter-spacing: 0;
  color: var(--emerald-bright);
}
.privacy[open] summary::after { content: "\2013"; }
.privacy-body { max-width: 62rem; padding: 0 0 28px; columns: 2 320px; column-gap: 48px; }
.privacy-body p { break-inside: avoid; }
.privacy-body strong { font-weight: 500; color: var(--ivory); }
.privacy-body a { text-decoration: underline; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.8125rem;
  color: #9aa09e;
}
.footer-bottom p { margin: 0; }

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 1099px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:nth-child(2n) { border-right: 0; }
  .service-card:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 899px) {
  .about-grid, .why-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .category-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .about-media { max-width: 520px; margin-left: 20px; }
  .why-head { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 639px) {
  body { font-size: 1rem; }
  .button-row .btn { flex: 1 1 100%; }
  .hero { padding-bottom: 104px; }
  .service-grid, .team-grid, .field-row, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .service-card { border-right: 0; border-bottom: 1px solid var(--line); padding: 36px 24px 28px; }
  .service-card:last-child { border-bottom: 0; }
  .why-list li { grid-template-columns: 44px minmax(0, 1fr); }
  .form-actions .btn { width: 100%; }
}

/* 9. MOTION ---------------------------------------------------------------- */
/* Fade-in on scroll. Only active when JS has added .js to <html>,
   so content is never hidden if scripts fail to load. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-image { height: 100%; transform: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Simple pages (thank-you, 404) ---------------------------------------------- */
.plain-page {
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: 48px var(--gutter);
  background: var(--onyx); color: var(--silver);
  text-align: center;
}
.plain-page img { width: 200px; margin: 0 auto 40px; }
.plain-page h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); color: var(--ivory); }
.plain-page p { max-width: 32rem; margin: 1.25rem auto 2.25rem; }
