/* ==========================================================================
   Pro Yard Solutions
   1. Tokens          6. Header & nav       11. Process
   2. Reset & base    7. Hero               12. Trust strip
   3. Layout          8. Problem band       13. Contact & form
   4. Buttons         9. About              14. Footer
   5. A11y utils     10. Services / feature 15. Gallery & lightbox / motion
   ========================================================================== */

/* ── 0. FONTS ─────────────────────────────────────────────────── */
/* Self-hosted so the site makes no third-party requests. Google serves both
   families as variable fonts, so one file per family covers every weight we
   use. Latin subset only — the copy is English. */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('assets/fonts/outfit-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('assets/fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── 1. TOKENS ─────────────────────────────────────────────────────────── */
:root {
  /* Color */
  --green-900: #123D26;   /* darkest — footer background, deep accents */
  --green-700: #1F5F3B;   /* PRIMARY — buttons, headings accents, links */
  --green-500: #3D9455;   /* hover states, small accents only */
  --green-50:  #EEF4EF;   /* tinted section background, very sparing */
  --ink-900:   #141A16;   /* body headings */
  --ink-600:   #4A5450;   /* body text */
  --ink-400:   #8A938F;   /* captions, meta, form placeholders */
  --paper:     #FFFFFF;   /* cards, header */
  --paper-alt: #F7F8F5;   /* alternating section background */
  --line:      #E3E7E2;   /* hairline borders, dividers */
  --error:     #B3261E;
  --success:   #1F5F3B;

  /* Type */
  --font-head: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-hero:  clamp(2.5rem, 6vw, 4.25rem);
  --fs-h2:    clamp(1.875rem, 3.5vw, 2.75rem);
  --fs-h3:    1.25rem;
  --fs-lead:  clamp(1.05rem, 1.6vw, 1.25rem);
  --fs-body:  1.0625rem;
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.8125rem;

  /* Spacing & measure */
  --space-1: 0.5rem;   --space-2: 1rem;    --space-3: 1.5rem;
  --space-4: 2rem;     --space-5: 3rem;    --space-6: 4rem;
  --section-y: clamp(4.5rem, 9vw, 7.5rem);
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);

  /* Radius & shadow */
  --radius: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20,26,22,0.04), 0 2px 8px rgba(20,26,22,0.04);
  --shadow-md: 0 4px 12px rgba(20,26,22,0.07), 0 12px 28px rgba(20,26,22,0.06);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;

  /* Chrome */
  --header-h: 64px;
}

@media (min-width: 768px) {
  :root { --header-h: 78px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  /* reserve the scrollbar so locking body scroll never shifts the layout */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-600);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }

p { margin: 0 0 var(--space-2); max-width: 65ch; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green-500); }

strong { font-weight: 600; color: inherit; }

[id] { scroll-margin-top: calc(var(--header-h) + var(--space-2)); }

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

.section { padding-block: var(--section-y); }
.section-paper { background: var(--paper); }
.section-alt   { background: var(--paper-alt); }
.section-dark  { background: var(--green-900); }

.section-head { margin-bottom: var(--space-5); max-width: 65ch; }
.section-head h2 { margin-top: var(--space-1); }
.section-head .lead { margin-top: var(--space-3); }

.eyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow-light  { color: #FFFFFF; }
.eyebrow-accent { color: var(--green-500); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
}

/* two-column split used by About and the feature band */
.split {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
.split-text > * + * { margin-top: var(--space-3); }
.split-text h2 { margin-top: var(--space-1); }

.split-media { margin: 0; }
.split-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .split-media-first .split-media { order: -1; }
}

/* ── 4. BUTTONS ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.btn-primary {
  background: var(--green-700);
  color: #FFFFFF;
}
.btn-primary:hover { background: var(--green-500); color: #FFFFFF; }

.btn-ghost {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.7);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #FFFFFF; }

.btn-invert {
  background: #FFFFFF;
  color: var(--green-700);
}
.btn-invert:hover { background: var(--green-50); color: var(--green-700); }

.btn:disabled { opacity: 0.6; cursor: not-allowed; }

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

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--paper);
  color: var(--green-700);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--space-2); }

:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 2px;
}

/* ── 6. HEADER & NAV ───────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-inline-end: auto;
  text-decoration: none;
}
.brand-mark {
  width: auto;
  /* the supplied lockup stacks the mark above the wordmark, so it needs a
     little more height than a wordmark-only logo to stay legible */
  height: 40px;
  /* the logo is dark green on transparent — flip it white while the header
     sits over the hero video, then restore full colour once scrolled */
  filter: brightness(0) invert(1);
  transition: filter var(--dur) var(--ease);
}
.site-header.is-scrolled .brand-mark { filter: none; }

@media (min-width: 768px) {
  .brand-mark { height: 54px; }
}

.nav-desktop { display: none; }

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav-list a {
  color: #FFFFFF;
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.site-header.is-scrolled .nav-list a { color: var(--ink-900); }
.nav-list a:hover { color: var(--green-500); }

.header-cta { display: none; }
.site-header.is-scrolled { background: var(--paper); box-shadow: var(--shadow-sm); }

/* hamburger */
.nav-toggle {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-inline-end: -8px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--radius);
  color: #FFFFFF;
  cursor: pointer;
}
.site-header.is-scrolled .nav-toggle { color: var(--ink-900); }

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 22px; height: 14px;
}
.nav-toggle-bars i {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle-bars i:nth-child(1) { top: 0; }
.nav-toggle-bars i:nth-child(2) { top: 6px; }
.nav-toggle-bars i:nth-child(3) { top: 12px; }

.nav-toggle[aria-expanded="true"] { color: var(--ink-900); }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .header-cta  { display: inline-flex; }
  .nav-toggle  { display: none; }
}

/* full-screen mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--paper);
  overflow-y: auto;
}
.nav-overlay[hidden] { display: none; }

.nav-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  min-height: 100%;
  padding: calc(var(--header-h) + var(--space-4)) var(--gutter) var(--space-5);
}

.nav-close {
  position: absolute;
  top: 10px; right: max(var(--gutter), 12px);
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink-900);
  cursor: pointer;
}

.nav-overlay-list { display: grid; gap: var(--space-1); width: 100%; }
.nav-overlay-list a {
  display: block;
  padding: var(--space-2) 0;
  font-family: var(--font-head);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--ink-900);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-overlay-list a:hover { color: var(--green-700); }

.nav-overlay-cta { width: 100%; }

/* ── 7. HERO ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + var(--space-5)) var(--space-6);
  overflow: hidden;
  /* mobile: still image only — no 2.3 MB video download */
  background: var(--green-900) url("assets/hero-poster.jpeg") center / cover no-repeat;
}

.hero-video { display: none; }

@media (min-width: 768px) {
  .hero { background-image: none; }
  .hero-video {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18,61,38,0.72), rgba(20,26,22,0.55));
}

.hero-inner {
  position: relative;
  max-width: 900px;
  text-align: center;
  color: #FFFFFF;
}
.hero-title {
  margin-top: var(--space-2);
  color: #FFFFFF;
  text-wrap: balance;
}
.hero-lead {
  margin: var(--space-3) auto 0;
  color: rgba(255,255,255,0.9);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.hero-actions .btn { flex: 1 1 auto; min-width: 190px; }

@media (min-width: 480px) {
  .hero-actions .btn { flex: 0 0 auto; }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: var(--space-3);
  transform: translateX(-50%);
  width: 1px; height: 44px;
  overflow: hidden;
  background: rgba(255,255,255,0.25);
}
.scroll-cue span {
  display: block;
  width: 100%; height: 18px;
  background: rgba(255,255,255,0.9);
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue span { animation: cue 2.2s var(--ease) infinite; }
}
@keyframes cue {
  0%   { transform: translateY(-20px); }
  60%  { transform: translateY(44px); }
  100% { transform: translateY(44px); }
}

/* ── 8. PROBLEM BAND ───────────────────────────────────────────────────── */
.problem-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
.problem-list li {
  padding-inline-start: var(--space-3);
  border-inline-start: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  text-wrap: balance;
}
.problem-list li:nth-child(2n+1) {
  padding-inline-start: 0;
  border-inline-start: 0;
}

.problem-note {
  max-width: none;
  margin-top: var(--space-4);
  text-align: center;
  color: var(--ink-600);
}

@media (min-width: 768px) {
  .problem-list { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
  .problem-list li:nth-child(2n+1) {
    padding-inline-start: var(--space-4);
    border-inline-start: 1px solid var(--line);
  }
  .problem-list li:first-child { padding-inline-start: 0; border-inline-start: 0; }
  .problem-note { margin-top: var(--space-5); }
}

/* ── 9. ABOUT ──────────────────────────────────────────────────────────── */
.about .split-media img { aspect-ratio: 3 / 4; }

@media (min-width: 900px) {
  .about .split { grid-template-columns: 1.05fr 0.95fr; }
}

/* ── 10. SERVICES & FEATURE BAND ───────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  max-width: 880px;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.service-card:hover h3 { color: var(--green-700); }

.service-media { background: var(--green-50); }
.service-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-body { padding: var(--space-3); }
.service-body h3 { transition: color var(--dur) var(--ease); }
.service-body p {
  margin: var(--space-1) 0 0;
  font-size: var(--fs-small);
}

/* dark feature band */
.feature { color: rgba(255,255,255,0.82); }
.feature h2 { color: #FFFFFF; }
.feature strong { color: #FFFFFF; font-weight: 600; }
.feature .split-text > * + * { margin-top: var(--space-3); }
.feature .btn { margin-top: var(--space-2); }
.feature .split-media img { aspect-ratio: 3 / 4; }

@media (min-width: 900px) {
  .feature .split { grid-template-columns: 0.85fr 1.15fr; }
}

/* ── 11. PROCESS ───────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
}

.step .step-num {
  margin: 0 0 var(--space-2);
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--green-500);
}
.step h3 { margin-bottom: var(--space-1); }
.step p { font-size: var(--fs-small); }

/* ── 12. TRUST STRIP ───────────────────────────────────────────────────── */
.trust {
  background: var(--paper);
  padding-block: var(--space-4);
  border-block: 1px solid var(--line);
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2) 0;
  font-size: var(--fs-small);
  color: var(--ink-600);
  text-align: center;
}
.trust-list li { padding-inline: var(--space-2); }
.trust-list li:nth-child(2n) { border-inline-start: 1px solid var(--line); }

@media (min-width: 768px) {
  .trust-list { grid-template-columns: repeat(4, 1fr); }
  .trust-list li:nth-child(n+2) { border-inline-start: 1px solid var(--line); }
}

/* ── 13. CONTACT & FORM ────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.5fr 1fr; gap: var(--space-6); align-items: start; }
}

.form { display: grid; gap: var(--space-3); }
.form[hidden] { display: none; }

.field-row { display: grid; gap: var(--space-3); }
@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

.field label {
  display: block;
  margin-bottom: var(--space-1);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink-900);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--ink-900);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
/* the chevron is an inline SVG carried as a data URI so the select can be
   styled to match the text inputs without shipping an icon font */
.field select {
  appearance: none;
  padding-inline-end: 2.5rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%238A938F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px 18px;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-400); }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink-400); }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--green-500);
  outline: 2px solid var(--green-500);
  outline-offset: 1px;
}

.field [aria-invalid="true"] { border-color: var(--error); }

.field-error,
.form-error {
  margin: var(--space-1) 0 0;
  font-size: var(--fs-small);
  color: var(--error);
}
.form-error { margin: 0; }
.field-error[hidden], .form-error[hidden] { display: none; }

.btn-submit { width: 100%; }
@media (min-width: 560px) {
  .btn-submit { width: auto; justify-self: start; padding-inline: var(--space-4); }
}

.form-success {
  padding: var(--space-4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form-success[hidden] { display: none; }
.form-success h3 { color: var(--success); }
.form-success p { margin-top: var(--space-1); }

.contact-details { display: grid; gap: var(--space-3); }
.detail h3 {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
}
.detail p { margin: var(--space-1) 0 0; color: var(--ink-900); }
.detail a { color: var(--green-700); }

/* ── 14. FOOTER ────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.82);
  padding-top: var(--space-6);
  font-size: var(--fs-small);
}

.footer-grid {
  display: grid;
  gap: var(--space-5);
  padding-bottom: var(--space-5);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-4); }
}

.footer-brand .brand-mark {
  width: auto;
  height: 52px;
  filter: brightness(0) invert(1);
}
.footer-brand p { margin-top: var(--space-2); }

.site-footer h2 {
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.site-footer a { color: #FFFFFF; text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }

/* generous block padding keeps these 44px tall for thumbs; desktop tightens up */
.footer-nav ul { display: grid; }
.footer-nav a { display: inline-block; padding-block: 10px; }

.footer-contact p { margin-bottom: var(--space-1); }
.footer-contact p a,
.detail p a { display: inline-block; padding-block: 10px; min-block-size: 44px; }

@media (min-width: 768px) {
  .footer-nav ul { gap: var(--space-1); }
  .footer-nav a { padding-block: 2px; }
  .footer-contact p a,
  .detail p a { padding-block: 0; }
}

.socials {
  display: flex;
  gap: var(--space-1);
  margin-top: var(--space-3);
}
.socials a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: var(--radius-pill);
  color: #FFFFFF;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.socials a:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); }

.footer-bottom {
  padding-block: var(--space-3);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.footer-bottom p { margin: 0; color: rgba(255,255,255,0.82); }

/* ── 15. GALLERY, LIGHTBOX, REVEAL ─────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.tile {
  display: block;
  width: 100%;
  padding: 0;
  background: var(--green-50);
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform var(--dur) var(--ease);
}
.tile:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  background: rgba(20,26,22,0.92);
}
.lightbox[hidden] { display: none; }

.lb-image {
  max-width: 90vw;
  max-height: 85vh;
  width: auto; height: auto;
  border-radius: var(--radius);
}

.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  padding: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: var(--radius-pill);
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease);
}
.lb-btn:hover { background: rgba(255,255,255,0.22); }
.lb-close { top: var(--space-2); right: var(--space-2); }
.lb-prev  { left: var(--space-2);  top: 50%; transform: translateY(-50%); }
.lb-next  { right: var(--space-2); top: 50%; transform: translateY(-50%); }

/* scroll reveal — opt-in, and only when motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* reduced motion: keep colour transitions, drop every movement */
@media (prefers-reduced-motion: reduce) {
  .scroll-cue { display: none; }
  .service-card { transition: box-shadow var(--dur) var(--ease); }
  .service-card:hover { transform: none; }
  .tile img { transition: none; }
  .tile:hover img { transform: none; }
  .skip-link { transition: none; }
}
