/* ============================================================
   HUE BEES — Wall Murals & Creative Art
   Premium / Minimal / Luxury art-portfolio landing page
   Mobile-first · Flexbox + Grid · Pure CSS
   ============================================================ */

/* ------------------------------------------------------------
   1. DESIGN TOKENS (CSS variables)
------------------------------------------------------------ */
:root {
  /* Colours */
  --bg: #FFFDF8;
  --primary: #FF6A00;      /* Primary Orange */
  --secondary: #FF8E1A;    /* Secondary Orange */
  --text-dark: #2E241E;    /* Dark heading text */
  --text-body: #5B5B5B;    /* Body text */
  --border: #EFE7DF;
  --card-bg: #FFFFFF;
  --surface: #FFFFFF;      /* Footer / process / dropdown surface */
  --header-bg: rgba(255, 253, 248, .98);
  --scrim-rgb: 255, 253, 248;   /* Hero scrim base (over banner) */
  --green: #A8D5A2;        /* Soft green accent */

  /* Hero brush colours */
  --brush-orange: #FF6A00;
  --brush-yellow: #FDB813;
  --brush-green: #46B96D;
  --brush-blue: #1BA7F0;
  --brush-purple: #7D3CFF;
  --brush-pink: #FF3F8E;

  /* Pastel icon backgrounds */
  --pastel-orange: #FFE7D3;
  --pastel-yellow: #FFF4CF;
  --pastel-green: #DFF3DC;
  --pastel-blue: #D8EEFB;
  --pastel-purple: #EBE0FF;

  /* Typography */
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, -apple-system, sans-serif;
  --font-brush: "Caveat", cursive;

  /* Radii */
  --radius-btn: 18px;
  --radius-card: 24px;
  --radius-img: 20px;

  /* Effects */
  --shadow: 0 25px 70px rgba(0, 0, 0, .08);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, .06);

  /* Layout */
  --max-width: 1400px;
  --gutter: 60px;
  --section-space: 120px;

  /* Gradients */
  --grad-orange: linear-gradient(90deg, var(--brush-orange), var(--brush-yellow));
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-size: 20px;               /* Body: 20px */
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 16px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--text-dark); line-height: 1.12; font-weight: 700; }

/* Accessibility helpers */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--primary); color: #fff; padding: 10px 18px;
  border-radius: 10px; transition: top .25s ease; font-size: 16px;
}
.skip-link:focus { top: 16px; }

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

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

.section { padding-block: var(--section-space); }

.eyebrow {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-brush);
  font-weight: 700;
  font-size: clamp(34px, 7.5vw, 58px);
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 14px;
}
.hero__eyebrow-icon {
  width: 1em;
  height: 1em;
  flex: none;
  object-fit: contain;
}
.hero__eyebrow-text {
  padding-right: .18em;
  background: linear-gradient(92deg, var(--brush-orange), var(--secondary) 55%, var(--brush-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__title { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin-bottom: 20px; }
.section__lead { font-size: 20px; max-width: 60ch; }
.section__lead--center { margin-inline: auto; }

.section__head { text-align: center; max-width: 760px; margin: 0 auto 64px; }

/* ------------------------------------------------------------
   4. BUTTONS
------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: var(--radius-btn);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}
.btn--sm { padding: 11px 22px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 12px 26px rgba(255, 106, 0, .28);
}
.btn--primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 34px rgba(255, 106, 0, .38); }

.btn--outline {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border);
}
.btn--outline:hover { transform: translateY(-3px) scale(1.03); border-color: var(--primary); color: var(--primary); }

/* ------------------------------------------------------------
   5. HEADER / NAV (sticky, transparent → white on scroll)
------------------------------------------------------------ */
.header {
  position: fixed;               /* overlays the hero banner */
  top: 0; left: 0; right: 0;
  z-index: 100;
  /* Solid light bar at all times (including over the hero) */
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

/* Scrolled state (toggled via JS) */
.header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}

.logo__img { width: 84px; height: 84px; object-fit: contain; }

.nav__list { display: flex; align-items: center; gap: 34px; }
.nav__link {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 6px 2px;
  transition: color .2s ease;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--grad-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav__link:hover,
.nav__link:focus-visible,
.nav__link.is-active,
.nav__link[aria-current="page"] { color: var(--primary); }
.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link.is-active::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link:focus-visible { outline-color: var(--primary); }

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

/* Hamburger */
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2.5px;
  background: var(--text-dark); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, top .3s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ------------------------------------------------------------
   6. HERO
------------------------------------------------------------ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 620px;
  padding-top: 130px;            /* clears the fixed header */
  padding-bottom: 90px;
  overflow: hidden;
  isolation: isolate;
}

/* Full-bleed mural banner background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/hero_banner.png") no-repeat center bottom;   /* mobile: mural sits low */
  background-size: cover;
  animation: heroPan 22s ease-in-out infinite alternate;
}
/* Soft scrim so the headline stays readable over the artwork.
   Mobile: strong vertical veil (clean cream up top, mural peeks below). */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(var(--scrim-rgb), .95) 0%,
    rgba(var(--scrim-rgb), .90) 48%,
    rgba(var(--scrim-rgb), .58) 78%,
    rgba(var(--scrim-rgb), .30) 100%
  );
}

.hero__inner { width: 100%; min-width: 0; }   /* prevent flex-item min-content overflow */

.hero__content { position: relative; z-index: 2; text-align: center; max-width: 620px; margin-inline: auto; }

.hero__title {
  font-family: var(--font-body);
  font-size: 20px;   /* Match the description below */
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 22px;
  letter-spacing: normal;
}
.hero__title-brush {
  display: inline;
  font-family: inherit;
  font-weight: 400;
  font-size: 1em;
  line-height: inherit;
  color: inherit;
}

.hero__subtitle { font-size: 18px; margin: 0 auto 32px; max-width: 52ch; color: var(--text-body); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
  justify-content: center;
  margin-top: 44px;
}
.hero__stats li { display: flex; flex-direction: column; align-items: center; }
.hero__stats strong { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--text-dark); }
.hero__stats span { font-size: 14px; color: var(--text-body); }

/* Floating birds in the empty cream gap (hidden on small screens to avoid text clash) */
.bird { position: absolute; z-index: 1; width: 40px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.14)); display: none; }
.bird--1 { top: 16%; left: 45%; animation: float 4.5s ease-in-out infinite; }
.bird--2 { top: 27%; left: 55%; width: 30px; animation: float 5.5s ease-in-out infinite .8s; }
@media (min-width: 1024px) { .bird { display: block; } }

/* ------------------------------------------------------------
   7. SERVICE CARDS (floating, overlapping hero)
------------------------------------------------------------ */
.services { position: relative; z-index: 5; margin-top: -20px; }
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 34px;
}

.service-card {
  text-align: center;
  padding: 18px 14px;
  border-radius: var(--radius-img);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-sm); }

.service-card__icon {
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: var(--text-dark);
}
.service-card__icon svg { width: 32px; height: 32px; }
.service-card__icon--orange { background: var(--pastel-orange); color: var(--primary); }
.service-card__icon--yellow { background: var(--pastel-yellow); color: #E0930B; }
.service-card__icon--green  { background: var(--pastel-green);  color: #3B9E5C; }
.service-card__icon--blue   { background: var(--pastel-blue);   color: var(--brush-blue); }
.service-card__icon--purple { background: var(--pastel-purple); color: var(--brush-purple); }

.service-card__title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.service-card__text { font-size: 16px; }

/* ------------------------------------------------------------
   8. ABOUT
------------------------------------------------------------ */
.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.about__media { position: relative; }
.about__img {
  width: 100%;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.about__badge {
  position: absolute;
  right: 18px; bottom: -22px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 14px 22px;
  text-align: center;
}
.about__badge strong { display: block; font-family: var(--font-head); font-size: 26px; color: var(--primary); }
.about__badge span { font-size: 13px; }

.about__content .section__lead { margin-bottom: 18px; }
.about__text { font-size: 18px; margin-bottom: 24px; }
.about__list { margin-bottom: 32px; display: grid; gap: 12px; }
.about__list li {
  position: relative; padding-left: 34px; font-size: 17px; color: var(--text-dark); font-weight: 500;
}
.about__list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: var(--pastel-green); color: #3B9E5C;
  border-radius: 50%; font-size: 13px; font-weight: 700;
}

/* ------------------------------------------------------------
   9. GALLERY (masonry-ish grid)
------------------------------------------------------------ */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.img-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-sm);
  background: var(--card-bg);
}
.img-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform .6s ease;
}
.img-card:hover img { transform: scale(1.06); }
.img-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 6px;
  padding: 48px 20px 18px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.35) 55%, transparent);
  transform: translateY(6px);
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
}
.img-card__title { font-size: 15px; font-weight: 600; }
.img-card__desc { font-size: 13px; font-weight: 400; line-height: 1.5; opacity: .9; }
.img-card:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery__more { margin-top: 40px; text-align: center; }

/* Instagram video embeds */
.gallery-video__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  justify-items: center;
}
/* 3 reels in one row from tablet up */
@media (min-width: 700px) {
  .gallery-video__grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-video__embed { width: 100%; display: flex; justify-content: center; }
.gallery-video__embed iframe {
  width: 100%;
  max-width: 340px;
  height: 640px;
  border: 0;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-sm);
  background: var(--card-bg);
}

/* ------------------------------------------------------------
   10. PROCESS
------------------------------------------------------------ */
.process { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }
.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.process-step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 34px 28px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.process-step:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.process-step__icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--grad-orange);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 106, 0, .28);
  transition: transform .3s ease;
}
.process-step:hover .process-step__icon { transform: translateY(-4px) rotate(-4deg); }
.process-step__icon svg { width: 30px; height: 30px; }
.process-step__num {
  font-family: var(--font-head);
  font-size: 26px; font-weight: 800;
  background: var(--grad-orange);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 6px;
}
.process-step__title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 16px; }
.process__cta { text-align: center; margin-top: 48px; }

/* ------------------------------------------------------------
   11. CONTACT
------------------------------------------------------------ */
.contact__intro { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.contact__intro .section__lead { max-width: none; margin-inline: auto; }
.contact__card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 44px;
}
.contact__note { font-weight: 600; color: var(--text-dark); }
.contact__details {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}
.contact__details li { font-size: 17px; color: var(--text-dark); display: flex; gap: 8px; align-items: center; }
.contact__details li span { display: inline-flex; align-items: center; flex: none; color: var(--primary); }
.contact__details li svg { display: block; }

.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.field input, .field select, .field textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  color: var(--text-dark);
  transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, .12);
}
/* Custom dropdown (fully styleable — orange hover instead of native blue) */
.select { position: relative; }
.select__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  color: var(--text-dark);
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.select__btn:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, .12);
}
.select__arrow { width: 18px; height: 18px; color: var(--primary); transition: transform .2s ease; flex: none; }
.select.is-open .select__btn { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255, 106, 0, .12); }
.select.is-open .select__arrow { transform: rotate(180deg); }

.select__list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  z-index: 20;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.select.is-open .select__list { opacity: 1; visibility: visible; transform: translateY(0); }
.select__option {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 16px;
  color: var(--text-dark);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.select__option:hover,
.select__option.is-active {
  background: var(--pastel-orange);
  color: var(--primary);
}
.select__option.is-selected { font-weight: 600; color: var(--primary); }
.contact__form .btn--block { grid-column: 1 / -1; margin-top: 4px; }
.form-note { grid-column: 1 / -1; font-size: 15px; min-height: 20px; }
.form-note.is-error { color: #d33; }
.form-note.is-success { color: #3B9E5C; }

/* ------------------------------------------------------------
   12. FOOTER
------------------------------------------------------------ */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding-top: 64px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer__brand { max-width: 380px; }
.footer__logo { width: 64px; height: 64px; object-fit: contain; margin-bottom: 14px; }
.footer__brand p { font-size: 16px; }
.footer__social { margin-top: 16px; }
.footer__social a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--text-dark); transition: color .2s ease; }
.footer__social a:hover { color: var(--primary); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.footer__nav a { font-size: 16px; font-weight: 500; color: var(--text-dark); transition: color .2s ease; }
.footer__nav a:hover { color: var(--primary); }
.footer__bottom { border-top: 1px solid var(--border); padding-block: 24px; }
.footer__bottom p { font-size: 14px; }

/* ------------------------------------------------------------
   13. ANIMATIONS
------------------------------------------------------------ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes heroPan {
  from { transform: scale(1.06) translateX(0); }
  to   { transform: scale(1.12) translateX(-1.2%); }
}
@keyframes sway {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(6deg); }
}

/* Scroll-reveal (fade up) */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   14. RESPONSIVE
------------------------------------------------------------ */

/* Tablet portrait ≥ 768px */
@media (min-width: 768px) {
  .hero__title { font-size: 20px; }        /* Description-style */
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1.5fr 1fr; align-items: start; }
  .footer__nav { justify-content: flex-end; }
}

/* Laptop / small desktop ≥ 1024px */
@media (min-width: 1024px) {
  .hero { min-height: 88vh; padding-top: 150px; padding-bottom: 130px; }
  .hero__bg { background-position: center right; }
  .hero__scrim {
    background: linear-gradient(
      100deg,
      rgba(var(--scrim-rgb), .94) 0%,
      rgba(var(--scrim-rgb), .84) 34%,
      rgba(var(--scrim-rgb), .38) 55%,
      rgba(var(--scrim-rgb), 0) 72%
    );
  }
  .hero__content { text-align: left; margin-inline: 0; max-width: 560px; }
  .hero__subtitle { margin-left: 0; }
  .hero__actions { justify-content: flex-start; }
  .hero__stats { justify-content: flex-start; }
  .hero__title { font-size: 20px; }        /* Description-style */

  .services__grid { grid-template-columns: repeat(5, 1fr); }

  .about__inner { grid-template-columns: 1fr 1fr; gap: 72px; }

  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
  }
  .img-card img { aspect-ratio: auto; }
  .img-card--tall { grid-row: span 2; }
  .img-card--right { grid-column: 3; grid-row: 1 / span 2; }
  .img-card--center { grid-column: 2; }   /* sits in the middle column */

  /* Home-page teaser: 4 murals in a single clean row */
  .gallery__grid--preview { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 320px; }

  .process__grid { grid-template-columns: repeat(4, 1fr); }

  .contact__card { padding: 56px; }
}

/* Wide desktop ≥ 1280px — keep gutter generous */
@media (min-width: 1280px) {
  .hero__inner { gap: 60px; }
}

/* --- Mobile nav (< 1024px) --- */
@media (max-width: 1023.98px) {
  .header__cta { display: none; }
  .nav-toggle { display: block; }

  /* Drop the header's backdrop-filter here: otherwise it becomes the
     containing block for the fixed .nav drawer and collapses its height. */
  .header,
  .header.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Tighten the header bar so the logo + hamburger fit comfortably */
  .header__inner { padding-block: 10px; }
  .logo__img { width: 64px; height: 64px; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    /* Solid white drawer so links stay readable over any page */
    background: #fff;
    box-shadow: -20px 0 60px rgba(0,0,0,.12);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.22,.61,.36,1);
    padding: 100px 34px 40px;
    z-index: 90;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav__link { font-size: 20px; padding: 12px 0; display: block; width: 100%; }

  /* dim overlay */
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(46,36,30,.4);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
    z-index: 80;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

/* Small phones ≤ 480px */
@media (max-width: 480px) {
  :root { --gutter: 22px; --section-space: 80px; }
  .header__inner { padding-block: 8px; }
  .logo__img { width: 56px; height: 56px; }
  .nav { width: min(300px, 86vw); padding: 88px 26px 32px; }
  .hero__title { font-size: 20px; }
  .services__grid { padding: 24px 18px; }
  .contact__card { padding: 30px 22px; }
  .contact__form { grid-template-columns: 1fr; }
  .about__badge { right: 12px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   LIGHTBOX (gallery viewer)
============================================================ */
.img-card { cursor: zoom-in; }
.img-card img { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 6vw;
  background: rgba(24, 18, 14, .92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__figure {
  margin: 0;
  max-width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-img);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
  background: #fff;
  transform: scale(.96);
  transition: transform .28s ease;
}
.lightbox.is-open .lightbox__img { transform: scale(1); }

.lightbox__caption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: .01em;
  text-align: center;
  opacity: .92;
}
.lightbox__title { font-weight: 600; }
.lightbox__desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  max-width: 60ch;
  margin-inline: auto;
  opacity: .85;
}

.lightbox__counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .08em;
}

/* Control buttons */
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  transition: background .2s ease, transform .2s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--primary); }
.lightbox__close:active,
.lightbox__nav:active { transform: scale(.92); }
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

.lightbox__close {
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  font-size: 30px;
  line-height: 1;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 34px;
  line-height: 1;
}
.lightbox__nav:active { transform: translateY(-50%) scale(.92); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

body.lb-open { overflow: hidden; }

@media (max-width: 600px) {
  .lightbox { padding: 4vh 3vw; }
  .lightbox__nav { width: 46px; height: 46px; font-size: 28px; }
  .lightbox__close { width: 42px; height: 42px; font-size: 26px; top: 14px; right: 14px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
  .lightbox__img { max-height: 70vh; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__img { transition: none !important; }
  .lightbox__img { transform: none !important; }
}
