/* =============================================
   THE SCREEN TEAM LLC — styles.css
   Dark navy professional theme
   ============================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@500;600;700&display=swap");

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  --bg:            #070d18;
  --bg-card:       #0d1c2e;
  --bg-card-hover: #112334;
  --bg-surface:    #152b40;
  --ink:           #deeaf5;
  --muted:         #7499b8;
  --accent:        #3da8d8;
  --accent-dark:   #1b5f82;
  --accent-glow:   rgba(61, 168, 216, 0.22);
  --border:        rgba(255, 255, 255, 0.07);
  --border-accent: rgba(61, 168, 216, 0.28);
  --shadow-card:   0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-hero:   0 24px 64px rgba(0, 0, 0, 0.6);
  --radius-lg:     18px;
  --radius-md:     12px;
  --font-head:     "Oswald", sans-serif;
  --font-body:     "Inter", sans-serif;
  --container:     1200px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---- CONTAINER ---- */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 13, 24, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
}

/* Logo — white silhouette on dark header via filter */
.brand-logo {
  height: 100px;
  width: auto;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover { color: var(--ink); }

/* Phone pill in header */
.header-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  transition: filter 0.2s ease;
}

.header-cta:hover { filter: brightness(1.1); }

.header-cta-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.72);
}

.header-cta-number {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url("Images/ScreenTeamBanner.png") center / cover no-repeat;
}

/* Dark gradient — heavier left (text area) → lighter right (image visible) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(4, 9, 20, 0.97)  0%,
    rgba(4, 9, 20, 0.88)  40%,
    rgba(4, 9, 20, 0.52)  70%,
    rgba(4, 9, 20, 0.22) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 44px;
  align-items: center;
  padding: 80px 0 100px;
}

/* ---- EYEBROW ---- */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 18px;
}

/* ---- HERO COPY ---- */
.hero-copy h1 {
  font-family: var(--font-head);
  font-size: clamp(3.8rem, 8.5vw, 7rem);
  font-weight: 700;
  line-height: 0.93;
  text-transform: uppercase;
  margin-bottom: 26px;
  background: linear-gradient(135deg, #ffffff, var(--accent), #ffffff, var(--accent), #ffffff);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s ease-in-out infinite;
}

.h1-accent { /* color handled by shimmer gradient */ }

.hero-sub {
  font-size: 1.1rem;
  color: #aac8df;
  max-width: 50ch;
  line-height: 1.72;
  margin-bottom: 36px;
}

/* ---- CTA BUTTONS ---- */
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

/* ---- TRUST ROW ---- */
.trust-row {
  display: flex;
  align-items: center;
  gap: 28px;
}

.trust-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.trust-item span {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.trust-divider {
  width: 1px;
  height: 46px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---- HERO CARD ---- */
.hero-card {
  background: rgba(8, 18, 34, 0.93);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-hero);
}

.card-eyebrow {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 10px;
}

.card-name {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 10px;
}

.card-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ---- CONTACT FORM ---- */
.contact-form {
  display: grid;
  gap: 14px;
}

.form-group {
  display: grid;
  gap: 6px;
}

.form-group label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(116, 153, 184, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(61, 168, 216, 0.06);
}

.form-group select option {
  background: #0d1c2e;
  color: var(--ink);
}

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

.form-note {
  margin-top: 10px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.form-note a {
  color: var(--accent);
}

.form-success {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(61, 168, 216, 0.12);
  border: 1px solid var(--border-accent);
  text-align: center;
}

.form-success-msg {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}


/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(61, 168, 216, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.12);
  box-shadow: 0 6px 32px rgba(61, 168, 216, 0.52);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(61, 168, 216, 0.4);
}

.btn-full { width: 100%; }
.btn-lg   { min-height: 60px; padding: 0 44px; font-size: 1.25rem; }

/* =============================================
   SECTION SHELL + HEADINGS
   ============================================= */
.section-shell { padding: 100px 0; }

.section-heading { margin-bottom: 56px; }

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.02;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 14px;
}

.section-heading p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 54ch;
  line-height: 1.7;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
  background: linear-gradient(180deg, #070d18 0%, #0b1825 100%);
  border-top: 1px solid var(--border);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.service-icon {
  width: 42px;
  height: 42px;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 52px;
  align-items: start;
}

.about-copy h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 22px;
}

.about-copy p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.72;
  margin-bottom: 18px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 30px 28px;
}

.about-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 22px;
}

.about-list {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.about-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
  background: linear-gradient(135deg, #08152a 0%, #060f1c 100%);
  border-top: 1px solid var(--border);
  text-align: center;
}

.contact-inner {
  max-width: 660px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 16px;
}

.contact-section p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 36px;
  line-height: 1.72;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #040912;
  border-top: 1px solid var(--border);
  padding: 40px 0 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 32px;
}

.footer-logo {
  height: 54px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.35;
}

.footer-info p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 3px;
}

.footer-info strong { color: var(--ink); }
.footer-info a { color: var(--accent); }

.footer-copy-bar {
  border-top: 1px solid var(--border);
  padding: 16px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.78rem;
  color: rgba(116, 153, 184, 0.45);
}

/* =============================================
   REVEAL ANIMATION
   ============================================= */
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1060px) {
  .hero-inner {
    grid-template-columns: 1fr;
    max-width: 680px;
    padding: 64px 0 80px;
  }

  .hero { min-height: auto; }

  .hero-overlay {
    background: rgba(4, 9, 20, 0.92);
  }

  .hero-copy h1 {
    font-size: clamp(3.2rem, 10vw, 5rem);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 12px 0;
    min-height: auto;
  }

  .site-nav { display: none; }

  .section-shell { padding: 72px 0; }

  .hero {
    background-image: url("Images/ScreenTeamBanner-mobile.png");
    background-position: top center;
  }

  .sp-hero {
    background-image: url("Images/service-hero-bg.jpg");
    background-position: top center;
  }

  .services-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }}

@media (max-width: 460px) {
  .trust-row { gap: 16px; }
  .trust-divider { height: 36px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}

/* =============================================
   SERVICE CARD AS ANCHOR
   ============================================= */
a.service-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* =============================================
   NAV DROPDOWN
   ============================================= */
.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}
.nav-dropdown-btn:hover { color: var(--ink); }

.nav-dropdown-btn svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.nav-dropdown-btn[aria-expanded="true"] svg {
  transform: rotate(-180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 210px;
  background: #0d1c2e;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 8px 0;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}

.nav-dropdown-wrap:hover .nav-dropdown-menu,
.nav-dropdown-btn[aria-expanded="true"] + .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.91rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-dropdown-menu a:hover {
  color: var(--ink);
  background: rgba(61, 168, 216, 0.08);
}

/* =============================================
   SERVICE PAGE LAYOUT
   ============================================= */
.sp-hero {
  position: relative;
  background: url("Images/service-hero-bg.jpg") center / cover no-repeat;
  border-bottom: 1px solid var(--border);
  padding: 70px 0 55px;
}

.sp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(4, 9, 20, 0.93)  0%,
    rgba(4, 9, 20, 0.80)  45%,
    rgba(4, 9, 20, 0.45) 100%
  );
  pointer-events: none;
}

.sp-hero .container { position: relative; }

.sp-hero .eyebrow { margin-bottom: 14px; }

.sp-hero .eyebrow a {
  color: var(--accent);
  text-decoration: none;
}
.sp-hero .eyebrow a:hover { text-decoration: underline; }

.sp-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.02;
  margin-bottom: 18px;
}

.sp-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 54ch;
  line-height: 1.72;
}

.sp-layout {
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 56px;
  align-items: start;
}

.sp-content { min-width: 0; }

.sp-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
  margin-top: 44px;
}
.sp-content h2:first-child { margin-top: 0; }

.sp-content p {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.sp-content ul {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  padding-left: 0;
  list-style: none;
}

.sp-content ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.sp-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.sp-sidebar {
  position: sticky;
  top: 96px;
}

/* Contact page full-width form */
.contact-page-form {
  max-width: 680px;
  margin: 0 auto;
}

.contact-direct {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.contact-direct-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  text-align: center;
}

.contact-direct-card .eyebrow { margin-bottom: 8px; }

.contact-direct-card p {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.contact-direct-card a {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

@media (max-width: 960px) {
  .sp-layout {
    grid-template-columns: 1fr;
  }
  .sp-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .sp-hero { padding: 50px 0 40px; }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section { background: var(--bg); }

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--accent); }

.faq-question[aria-expanded="true"] { color: var(--accent); }

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq-answer[aria-hidden="false"] {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 600px) {
  .faq-question { font-size: 0.97rem; padding: 16px 18px; }
  .faq-answer p { padding: 0 18px 16px; }
}

/* =============================================
   OUR WORK TEASER (homepage)
   ============================================= */
.work-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.work-thumb {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-thumb:hover img {
  transform: scale(1.04);
}

.work-thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 14px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .work-teaser-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .work-teaser-grid { grid-template-columns: 1fr; }
}

/* =============================================
   GALLERY PAGE
   ============================================= */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 32px;
}

.gallery-filter {
  padding: 9px 20px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.gallery-filter:hover,
.gallery-filter.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

.gallery-img-link {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

/* panoramic images get taller slot */
.gallery-item[data-category] .gallery-img-link img[width="1200"] {
  aspect-ratio: 16 / 6;
}

.gallery-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover .gallery-img-link img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  color: #fff;
  opacity: 0;
  transition: background 0.25s ease, opacity 0.25s ease;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(0,0,0,0.38);
  opacity: 1;
}

.gallery-item figcaption {
  padding: 10px 14px 14px;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

.gallery-empty {
  text-align: center;
  color: var(--muted);
  padding: 48px 0;
  font-size: 1rem;
}

/* Panoramic items span full width */
.gallery-item[data-reveal]:has(img[width="1200"]) {
  grid-column: 1 / -1;
}
.gallery-item[data-reveal]:has(img[width="1200"]) .gallery-img-link {
  aspect-ratio: 21 / 7;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item[data-reveal]:has(img[width="1200"]) { grid-column: 1; }
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 200;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 201;
}
.lightbox:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: min(94vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hero);
}

.lightbox-caption {
  margin-top: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-align: center;
  font-style: italic;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  transition: background 0.2s;
  z-index: 202;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent);
}

.lightbox-close { top: 18px; right: 18px; font-size: 1.5rem; }
.lightbox-prev  { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 18px; top: 50%; transform: translateY(-50%); }

/* =============================================
   CTA SECTION (gallery page)
   ============================================= */
.cta-section .cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
}

.cta-copy h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}

.cta-copy p {
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .cta-section .cta-inner { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
}