/* ================================================================
   shared.css — Inks Trim & Remodeling LLC
   ----------------------------------------------------------------
   Contains every style that is identical across roofing.html,
   remodeling.html, and any future sub-pages.

   What STAYS in each page's own <style> block:
     • .hero-bg background-image  (different photo per page)
     • Any section/copy that is genuinely page-specific

   To retheme the entire site, edit the :root tokens below.
   ================================================================ */


/* ================================================================
   GOOGLE FONTS — loaded here so pages don't need their own <link>
   NOTE: each HTML page still needs its own <link> tags because CSS
   @import is render-blocking. Keep the <link> tags in <head> and
   remove them from here. This comment is for documentation only.
================================================================ */


/* ================================================================
   DESIGN TOKENS
================================================================ */
:root {
  --color-teal:        #008080;
  --color-teal-dark:   #005f5f;
  --color-teal-glow:   rgba(0, 128, 128, 0.3);
  --color-black:       #111111;
  --color-dark:        #1a1a1a;
  --color-gray:        #2c2c2c;
  --color-gray-light:  #3a3a3a;
  --color-mid:         #888888;
  --color-light:       #f5f5f5;
  --color-white:       #ffffff;

  --font-display:      'Oswald', sans-serif;
  --font-body:         'Inter', sans-serif;

  --shadow-sm:         0 4px 12px rgba(0,0,0,0.3);
  --shadow-card:       0 8px 32px rgba(0,0,0,0.45);
  --shadow-hover:      0 16px 48px rgba(0,0,0,0.65);
  --shadow-teal:       0 0 32px rgba(0,128,128,0.35);

  --radius-sm:         6px;
  --radius-md:         12px;
  --radius-lg:         20px;

  --transition:        0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Section spacing — increase for more breathing room */
  --section-pad:       96px 24px;
  --section-pad-sm:    64px 20px;
}


/* ================================================================
   RESET & BASE
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-light);
  color: var(--color-black);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a { color: inherit; }


/* ================================================================
   UTILITIES
================================================================ */

/* Constrain content width */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section label eyebrow */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 12px;
  display: block;
}

/* Section heading */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 16px;
}

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

/* Teal underline accent bar */
.accent-bar {
  width: 52px;
  height: 3px;
  background: var(--color-teal);
  border-radius: 2px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-teal);
}


/* ================================================================
   NAV BAR
================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  text-decoration: none;
  text-shadow: 0 0 20px rgba(0,128,128,0.3);
}

.navbar-brand span { color: var(--color-teal); }

/* Logo image option inside navbar (swap <a> content in markup) */
.navbar-brand .logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.navbar-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--transition);
}

.navbar-links a:hover { color: var(--color-teal); }

/* "Switch service" pill link in navbar */
.navbar-switch {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid var(--color-teal);
  border-radius: var(--radius-sm);
  color: var(--color-teal) !important;
  font-size: 0.78rem !important;
  transition: background var(--transition), color var(--transition) !important;
}

.navbar-switch:hover {
  background: var(--color-teal);
  color: var(--color-white) !important;
}

/* Hamburger button (visible on mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}


/* ================================================================
   HERO SECTION
   Note: .hero-bg background-image is set per-page (different photo).
================================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* background-image set in each page's <style> block */
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.4) saturate(0.75);
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 128, 128, 0.12) 60%,
    rgba(0,0,0,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 40px;
  animation: heroFadeIn 1s 0.2s ease both;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 18px;
  display: block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 1.0;
  margin-bottom: 24px;
  text-shadow:
    0 2px 0 rgba(0,0,0,0.5),
    0 4px 16px rgba(0,0,0,0.7),
    0 0 80px rgba(0,128,128,0.15);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(0,128,128,0.7), transparent);
}


/* ================================================================
   BUTTONS
================================================================ */

/* Primary filled button */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-teal);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 4px 20px rgba(0,128,128,0.4);
}

.btn-primary:hover {
  background: var(--color-teal-dark);
  box-shadow: 0 8px 32px rgba(0,128,128,0.55);
  transform: translateY(-2px);
}

/* Ghost / outline button */
.btn-ghost {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.btn-ghost:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}


/* ================================================================
   SERVICES SECTION
================================================================ */
.services {
  background: var(--color-dark);
  padding: var(--section-pad);
}

.services-header { margin-bottom: 56px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Service card */
.service-card {
  background: var(--color-gray);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

/* Teal corner glow on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0,128,128,0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0,128,128,0.3);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
  display: block;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}


/* ================================================================
   GALLERY SECTION
   Replace .gallery-placeholder divs with real <img> or <video> tags.
   For video items, add class "gallery-item--video" to .gallery-item.
   Example image: <img src="photos/job-01.jpg" alt="..." loading="lazy" />
   Example video: <video src="videos/clip.mp4" muted loop playsinline></video>
================================================================ */
.gallery {
  background: var(--color-light);
  padding: var(--section-pad);
}

.gallery-header { margin-bottom: 48px; }

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

/* First item spans 2 columns for a featured/hero feel */
.gallery-item:first-child {
  grid-column: span 2;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-gray);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
  z-index: 2;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition), filter var(--transition);
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.05);
  filter: brightness(0.85);
}

/* Play icon overlay for video tiles */
.gallery-item--video::after {
  content: '▶';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  pointer-events: none;
}

/* Placeholder tile (remove when real media is added) */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  background: var(--color-gray);
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-placeholder span { font-size: 2rem; }


/* ================================================================
   TESTIMONIALS SECTION
================================================================ */
.testimonials {
  background: var(--color-dark);
  padding: var(--section-pad);
}

.testimonials-header { margin-bottom: 52px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--color-gray);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Large decorative quotation mark */
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-teal);
  opacity: 0.15;
  pointer-events: none;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}

.star { color: var(--color-teal); font-size: 0.9rem; }

.testimonial-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Initials avatar (replace with <img> if customer photos are available) */
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(0,128,128,0.3);
}

.author-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-white);
}

.author-location {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}


/* ================================================================
   ABOUT SECTION
================================================================ */
.about {
  background: var(--color-light);
  padding: var(--section-pad);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-content .section-heading { color: var(--color-black); }

.about-body {
  font-size: 0.95rem;
  color: var(--color-mid);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* Stat badges */
.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-teal);
  line-height: 1;
  text-shadow: 0 0 24px rgba(0,128,128,0.25);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-mid);
}

/* Two overlapping images for 3D layered depth effect */
.about-media {
  position: relative;
  height: 420px;
}

.about-img-back {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80%;
  height: 340px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-card);
  filter: brightness(0.9);
}

.about-img-front {
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 280px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-hover);
  border: 4px solid var(--color-white);
}

/* Teal accent badge overlaid on image stack */
.about-badge {
  position: absolute;
  bottom: 28px;
  left: 24px;
  background: var(--color-teal);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0,128,128,0.5);
  z-index: 2;
}


/* ================================================================
   CONTACT / CTA SECTION
================================================================ */
.contact {
  background: var(--color-dark);
  padding: var(--section-pad);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

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

.contact-body {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-details { display: flex; flex-direction: column; gap: 18px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-gray);
  border: 1px solid rgba(0,128,128,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-detail-text a {
  color: var(--color-teal);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity var(--transition);
}

.contact-detail-text a:hover { opacity: 0.75; }

.contact-detail-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 2px;
}

/* Contact form card */
.contact-form-wrap {
  background: var(--color-gray);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: var(--shadow-card);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 28px;
}

/* Two-column row inside the form */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(0,128,128,0.2);
}

.form-group select option { background: var(--color-gray); color: var(--color-white); }

.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--color-teal);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 4px 20px rgba(0,128,128,0.35);
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--color-teal-dark);
  box-shadow: 0 8px 28px rgba(0,128,128,0.5);
  transform: translateY(-2px);
}

/* Success message — toggled visible by shared.js after submit */
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  color: var(--color-teal);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}


/* ================================================================
   SITE FOOTER
================================================================ */
.site-footer {
  background: var(--color-black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.footer-brand span { color: var(--color-teal); }

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--color-teal); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  text-align: right;
}


/* ================================================================
   SCROLL REVEAL
   JS adds .visible when element enters the viewport.
================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ================================================================
   KEYFRAME ANIMATIONS
================================================================ */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Respect user's reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* ================================================================
   RESPONSIVE BREAKPOINTS
================================================================ */

/* Tablet — stack two-column layouts */
@media (max-width: 900px) {
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-media { height: 300px; }
  .about-img-back { width: 75%; height: 260px; }
  .about-img-front { width: 60%; height: 210px; }
}

/* Mobile — hamburger nav, tighter spacing */
@media (max-width: 680px) {
  :root { --section-pad: var(--section-pad-sm); }

  /* Hide desktop nav links; shown as .open via JS */
  .navbar-links { display: none; }

  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(17,17,17,0.97);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-toggle { display: flex; }

  /* Collapse gallery to 2 columns, keep first item wide */
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: span 2; }

  /* Stack form name row */
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }

  .hero-content { padding: 0 24px; }
}

/* Small phones — single-column gallery */
@media (max-width: 460px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
}