﻿/* Manila Exhibition and Event Contractor - clean premium refresh
   Inspired by: clean grotesque, cream backgrounds, generous spacing,
   rounded image presentation, simple modern CTAs. */

:root {
  --bg: #f3efe8;            /* warm cream */
  --bg-alt: #ebe6dc;        /* slightly deeper cream */
  --bg-card: #ffffff;
  --ink: #14110e;           /* near-black, warm */
  --ink-2: #2a2620;
  --muted: #6b6359;
  --muted-2: #9a9082;
  --line: #d9d1c2;
  --line-soft: rgba(20, 17, 14, 0.08);
  --line-dark: rgba(255, 255, 255, 0.12);
  --accent: #c79548;        /* restrained brass */
  --accent-bright: #e9b15a;

  --shadow-sm: 0 1px 2px rgba(20, 17, 14, 0.04);
  --shadow-md: 0 12px 40px rgba(20, 17, 14, 0.08);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.18);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --content: 1320px;
  --gutter-x: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 10vw, 140px);

  --font-sans: "Geist", "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open,
body.lightbox-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; color: inherit; background: none; border: 0; }
button, input, select, textarea { font: inherit; }

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

::selection { background: var(--ink); color: var(--bg); }

.skip-link {
  position: fixed;
  left: 16px; top: 16px;
  z-index: 300;
  transform: translateY(-160%);
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  transition: transform 200ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ============ TYPE SYSTEM ============ */

h1, h2, h3, h4, p { margin: 0; }

.h-display {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

h1.h-display, .h1 {
  font-size: 108px;
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 500;
}

h2.h-display, .h2 {
  font-size: 76px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 500;
}

.h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  max-width: 60ch;
  font-weight: 400;
}

p { color: var(--ink-2); }

/* ============ LAYOUT ============ */

.wrap {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding-inline: var(--gutter-x);
}

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

[data-anchor] { scroll-margin-top: 100px; }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-head.split {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: 40px;
}

.section-head .lede {
  justify-self: end;
  max-width: 42ch;
}

@media (max-width: 860px) {
  .section-head.split { grid-template-columns: 1fr; }
  .section-head .lede { justify-self: start; }
  h1.h-display, .h1 { font-size: 68px; }
  h2.h-display, .h2 { font-size: 48px; }
  .h3 { font-size: 24px; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  transition: transform 220ms var(--ease), background 220ms var(--ease),
              color 220ms var(--ease), border-color 220ms var(--ease);
}

.btn .arrow {
  display: inline-block;
  width: 14px; height: 14px;
  flex-shrink: 0;
  transition: transform 240ms var(--ease);
}
.btn:hover .arrow { transform: translate(2px, -2px); }

.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--ink-2); }

.btn-light { background: var(--bg-card); color: var(--ink); }
.btn-light:hover { background: var(--bg); }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }

.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ============ HEADER ============ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  transition: background 280ms var(--ease), backdrop-filter 280ms var(--ease),
              border-color 280ms var(--ease);
  border-bottom: 1px solid transparent;
  color: var(--ink);
}

.site-header .brand,
.site-header .brand-name strong { color: var(--ink); }
.site-header .brand-name small { color: var(--muted); }
.site-header .brand-mark { background: var(--ink); color: var(--bg); }
.site-header .brand-logo-img { box-shadow: 0 8px 24px rgba(23, 23, 23, 0.12); }
.site-header .primary-nav a { color: var(--ink); }
.site-header .menu-toggle {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.5);
}
.site-header .menu-toggle span { background: var(--ink); }
.site-header .header-cta {
  background: var(--ink);
  color: var(--bg);
}
.site-header .header-cta:hover { background: var(--ink-2); }

.site-header.is-scrolled {
  background: rgba(243, 239, 232, 0.88);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 76px;
  padding-inline: var(--gutter-x);
  max-width: 1600px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-logo-img {
  width: 50px;
  height: 50px;
  display: block;
  flex: 0 0 auto;
  border-radius: 13px;
  object-fit: contain;
}

.brand-logo img {
  width: auto;
  max-width: 52px;
  max-height: 52px;
  display: block;
}

.brand-name {
  display: grid;
  line-height: 1.15;
}
.brand-name strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}
.brand-name small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav li { display: contents; }

.primary-nav a {
  position: relative;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 2px;
  transition: color 200ms var(--ease);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease-out);
}
.primary-nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.6);
}
.menu-toggle span {
  display: block;
  width: 16px; height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ============ HERO ============ */

.hero {
  position: relative;
  padding: 130px var(--gutter-x) 24px;
  background: var(--bg);
  max-width: 1600px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-rows: auto auto;
  gap: 36px;
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: end;
  gap: 40px;
}

.hero-title h1 {
  color: var(--ink);
  text-wrap: balance;
}

@media (min-width: 861px) {
  .hero-title h1.hero-seo-title {
    font-size: clamp(44px, 4.6vw, 64px);
    line-height: 1;
  }
}

.hero-side {
  display: grid;
  gap: 22px;
  align-content: end;
  padding-bottom: 8px;
}

.hero-side p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 38ch;
}

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

.hero-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #0d0b08;
  height: clamp(420px, 60vh, 720px);
}

.hero-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.0) 25%, rgba(0,0,0,0.0) 70%, rgba(0,0,0,0.42) 100%);
}

.hero-tags {
  position: absolute;
  bottom: clamp(24px, 4vw, 36px);
  left: clamp(24px, 4vw, 36px);
  right: clamp(24px, 4vw, 36px);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
}

.hero-stat {
  position: absolute;
  top: clamp(24px, 4vw, 36px);
  right: clamp(24px, 4vw, 36px);
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: grid;
  gap: 4px;
  min-width: 180px;
}

.hero-stat strong {
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1;
}

.hero-stat span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
}

.hero-collage {
  display: flex;
  width: 100%;
  height: clamp(280px, 31vw, 450px);
  margin-top: clamp(28px, 4vw, 42px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #14110f;
  isolation: isolate;
}

.hero-collage__item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
}

.hero-collage__item--large {
  flex-grow: 1.35;
}

.hero-collage__item--wide {
  flex-grow: 1.2;
}

.hero-collage__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 800ms var(--ease-out), filter 800ms var(--ease-out);
}

.hero-collage__item:nth-child(1) img,
.hero-collage__item:nth-child(3) img {
  object-position: center 42%;
}

.hero-collage__item:hover img,
.hero-collage__item:focus-visible img {
  transform: scale(1.025);
  filter: saturate(1.06) contrast(1.03);
}

.hero-collage__item:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -6px;
  z-index: 2;
}

.hero-banner {
  width: 100%;
  margin-top: clamp(28px, 4vw, 42px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface-alt);
}

.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1904 / 648;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 860px) {
  .hero { padding-top: 110px; }
  .hero-top { grid-template-columns: 1fr; gap: 24px; }
  .hero-image { height: 60vh; min-height: 380px; }
  .hero-stat { display: none; }
  .hero-banner img {
    height: clamp(230px, 58vw, 340px);
  }
  .hero-collage {
    display: flex;
    height: clamp(230px, 58vw, 320px);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .hero-collage::-webkit-scrollbar { display: none; }
  .hero-collage__item,
  .hero-collage__item--large,
  .hero-collage__item--wide {
    flex: 0 0 min(78vw, 430px);
    scroll-snap-align: center;
  }
  .hero-collage__item:nth-child(1),
  .hero-collage__item:nth-child(3) {
    flex-basis: min(84vw, 460px);
  }
}

/* ============ MARQUEE ============ */

.marquee {
  border-block: 1px solid var(--line-soft);
  background: var(--bg);
  overflow: hidden;
  padding-block: 24px;
  margin-top: clamp(48px, 7vw, 80px);
}

.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 30px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0;
}

.marquee-track span::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============ INTRO ============ */

.intro {
  background: var(--bg);
  padding-block: var(--section-y);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.intro-side {
  display: grid;
  gap: 16px;
  align-content: start;
  position: sticky;
  top: 110px;
}

.intro-grid h2 { text-wrap: balance; }
.intro-grid p { font-size: 22px; line-height: 1.45; color: var(--ink-2); }
.intro-grid p + p { margin-top: 18px; }

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 36px;
}

.stat strong {
  display: block;
  font-size: 64px;
  line-height: 1;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0;
}
.stat span {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.4;
}

@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-side { position: static; }
  .intro-stats { grid-template-columns: 1fr; gap: 18px; padding-top: 28px; margin-top: 36px; }
  .intro-stats .stat {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
  }
  .intro-stats .stat:last-child { border-bottom: 0; }
  .stat strong { font-size: 44px; }
}

/* ============ SERVICES (cards) ============ */

.services { background: var(--bg); }

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

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card-img {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: #ede7dd;
  padding: 10px;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--radius-lg) - 10px);
  transition: transform 800ms var(--ease-out);
}
.service-card:hover .service-card-img img { transform: scale(1.025); }

.service-card-num {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  padding: 6px 10px;
  border-radius: var(--radius-pill);
}

.service-card-body {
  padding: 24px 24px 20px;
  display: grid;
  gap: 10px;
}
.service-card-body h3 {
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.2;
}
.service-card-body p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.service-card-foot {
  padding: 0 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-card-foot a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: border-color 220ms var(--ease), color 220ms var(--ease);
}
.service-card-foot a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.service-card-foot a svg { width: 11px; height: 11px; transition: transform 220ms var(--ease); }
.service-card-foot a:hover svg { transform: translate(2px, -2px); }

@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============ PORTFOLIO GALLERY ============ */

.portfolio { background: var(--bg); }

.portfolio-subhead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin: 48px 0 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.portfolio-subhead:first-of-type { margin-top: 34px; }
.portfolio-subhead p { max-width: 50ch; color: var(--muted); }

.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0;
}

.featured-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.featured-project {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background: #15120e;
  cursor: pointer;
  padding: 16px 16px 0;
  text-align: left;
  color: #fff;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
  display: grid;
  grid-template-rows: clamp(245px, 22vw, 300px) minmax(0, 1fr);
  text-decoration: none;
}

.featured-project::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.72));
  pointer-events: none;
}

.featured-project img {
  width: 100%;
  height: 100%;
  min-height: 0;
  position: relative;
  z-index: 0;
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--radius-lg) - 8px);
  background: #0d0b08;
  transition: transform 800ms var(--ease-out), filter 800ms var(--ease-out);
}

.featured-project > img,
.featured-project > .solar-image-slider {
  grid-row: 1;
}

.featured-project:hover img,
.featured-project:focus-visible img {
  transform: scale(1.018);
  filter: saturate(1.08) contrast(1.02);
}

.featured-project:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.featured-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: var(--radius-pill);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}

.featured-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  padding: 18px 4px 22px;
}

.featured-copy span {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.featured-copy strong {
  font-size: 32px;
  line-height: 1;
  font-weight: 500;
}

.featured-copy em {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.45;
  font-style: normal;
}

.all-works-head { margin-top: 62px; }
.project-gallery-source { display: none; }

.portfolio-more-row {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.portfolio-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}

.portfolio-more-link svg {
  width: 14px;
  height: 14px;
  transition: transform 220ms var(--ease);
}

.portfolio-more-link:hover {
  transform: translateY(-2px);
  background: var(--ink-2);
  border-color: var(--ink-2);
}

.portfolio-more-link:hover svg { transform: translate(2px, -2px); }

.event-featured-row {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  margin-top: 32px;
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: var(--bg);
  padding: clamp(16px, 2vw, 22px);
  box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.event-featured-row:hover,
.event-featured-row:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.event-featured-row:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.event-featured-row img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  background: #0f0d0a;
}

.solar-image-slider {
  --slide-duration: 24s;
  position: relative;
  display: block;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0f0d0a;
}

.solar-image-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  background: transparent;
  opacity: 0;
  animation: solarImageFade var(--slide-duration) var(--ease) infinite both;
  animation-delay: calc(var(--slide-index, 0) * 4s);
}

.solar-image-slider:hover img,
.event-featured-row:hover .solar-image-slider img,
.featured-project:hover .solar-image-slider img,
.event-portfolio-card:hover .solar-image-slider img {
  animation-play-state: paused;
}

.featured-project .solar-image-slider {
  height: 100%;
  min-height: 0;
  grid-row: 1 / 2;
  border-radius: calc(var(--radius-lg) - 8px);
}

.event-featured-row .solar-image-slider img,
.featured-project .solar-image-slider img,
.event-portfolio-card .solar-image-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  background: transparent;
  transition: none;
}

.event-portfolio-card .solar-image-slider {
  height: auto;
  min-height: 300px;
  aspect-ratio: 4 / 3;
}

@keyframes solarImageFade {
  0%, 13% {
    opacity: 1;
    transform: scale(1);
  }
  16.66%, 100% {
    opacity: 0;
    transform: scale(1.03);
  }
}

.event-featured-copy {
  display: grid;
  gap: 10px;
}

.event-featured-copy strong {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

.event-featured-copy em {
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  line-height: 1.55;
}

.event-featured-cta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--ink);
  padding: 12px 16px;
  font-weight: 650;
  white-space: nowrap;
}

.event-featured-cta svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  transition: background 220ms var(--ease), color 220ms var(--ease),
              border-color 220ms var(--ease);
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #e9e2d8;
  cursor: pointer;
  transition: opacity 380ms var(--ease), transform 380ms var(--ease);
  grid-column: span 4;
  aspect-ratio: 4 / 3;
}

.all-works-gallery .gallery-item,
.all-works-gallery .gallery-item.is-tall,
.all-works-gallery .gallery-item.is-wide,
.all-works-gallery .gallery-item.is-square {
  grid-column: span 4;
  grid-row: auto;
  aspect-ratio: 4 / 3;
}

.gallery-item.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  display: none;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  background: #e9e2d8;
  transition: transform 700ms var(--ease-out);
}

.portfolio .gallery-item img {
  object-fit: cover;
  padding: 0;
}

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

.gallery-item-meta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.62) 100%);
  color: #fff;
  opacity: 0;
  transition: opacity 320ms var(--ease);
}
.gallery-item:hover .gallery-item-meta { opacity: 1; }

.gallery-item-meta .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 4px;
}

.gallery-item-meta h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.15;
  color: #fff;
}

.gallery-item .zoom-icon {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
.gallery-item:hover .zoom-icon { opacity: 1; transform: translateY(0); }

/* ============ MORE WORK PAGE ============ */

.more-work-hero {
  background: var(--bg);
  padding: clamp(128px, 14vw, 190px) var(--gutter-x) clamp(54px, 8vw, 96px);
}

.more-work-hero-inner {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  padding-bottom: clamp(28px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
}

.more-work-hero .eyebrow { margin-bottom: 22px; }

.more-work-hero .h-display {
  max-width: 900px;
  font-size: clamp(40px, 5vw, 52px);
  line-height: 1.04;
}

.more-work-hero .lede {
  max-width: 42ch;
  font-size: clamp(18px, 2vw, 22px);
}

.more-work-gallery-section {
  background: var(--bg);
  padding: 0 var(--gutter-x) var(--section-y);
}

.more-work-gallery-wrap {
  max-width: var(--content);
  margin: 0 auto;
}

.event-portfolio-card {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 46px);
  align-items: center;
  margin-bottom: clamp(34px, 5vw, 58px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(16px, 2.6vw, 28px);
  box-shadow: var(--shadow-sm);
}

.event-portfolio-card img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-lg);
  background: var(--ink);
}

.event-portfolio-card h2 {
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 0.98;
  font-weight: 500;
}

.event-portfolio-card p {
  max-width: 62ch;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.62;
}

.event-portfolio-card .btn {
  margin-top: 20px;
}

.event-portfolio-card .btn svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.event-portfolio-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gold) !important;
}

.more-work-gallery {
  gap: 14px;
}

.more-work-gallery .gallery-item,
.more-work-gallery .gallery-item.is-tall,
.more-work-gallery .gallery-item.is-wide,
.more-work-gallery .gallery-item.is-square {
  grid-column: span 4;
  grid-row: auto;
  aspect-ratio: 4 / 3;
  background: #e9e2d8;
}

.more-work-gallery .gallery-item img {
  object-fit: cover;
  padding: 0;
  background: #e9e2d8;
}

.more-work-gallery .gallery-item:hover img {
  transform: scale(1.025);
}

@media (max-width: 1100px) {
  .featured-projects { grid-template-columns: 1fr; }
  .featured-project:first-child { grid-column: auto; }
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .gallery-item { grid-column: span 3; }
  .all-works-gallery .gallery-item,
  .all-works-gallery .gallery-item.is-tall,
  .all-works-gallery .gallery-item.is-wide,
  .all-works-gallery .gallery-item.is-square,
  .more-work-gallery .gallery-item,
  .more-work-gallery .gallery-item.is-tall,
  .more-work-gallery .gallery-item.is-wide,
  .more-work-gallery .gallery-item.is-square { grid-column: span 3; }
  .more-work-hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .portfolio-subhead {
    display: grid;
    align-items: start;
    gap: 10px;
  }
  .featured-projects { grid-template-columns: 1fr; }
  .featured-project,
  .featured-project:first-child {
    grid-column: auto;
    min-height: 430px;
    grid-template-rows: 240px minmax(0, 1fr);
  }
  .featured-copy strong { font-size: 26px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-item,
  .gallery-item.is-tall,
  .gallery-item.is-wide,
  .gallery-item.is-square,
  .all-works-gallery .gallery-item,
  .all-works-gallery .gallery-item.is-tall,
  .all-works-gallery .gallery-item.is-wide,
  .all-works-gallery .gallery-item.is-square,
  .more-work-gallery .gallery-item,
  .more-work-gallery .gallery-item.is-tall,
  .more-work-gallery .gallery-item.is-wide,
  .more-work-gallery .gallery-item.is-square { grid-column: span 2; aspect-ratio: 4 / 3; grid-row: auto; }
  .more-work-hero { padding-top: 116px; }
  .more-work-hero .h-display { font-size: clamp(28px, 9vw, 34px); }
}

/* ============ LIGHTBOX ============ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(8, 6, 4, 0.94);
  backdrop-filter: blur(8px);
  display: none;
  opacity: 0;
  transition: opacity 280ms var(--ease);
}

.lightbox.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.lightbox-inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100dvh;
  max-height: 100dvh;
  padding: 24px;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  gap: 16px;
  min-width: 0;
}

.lightbox-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
}

.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: visible;
  padding-inline: clamp(54px, 6vw, 80px);
}

.lightbox-image {
  max-width: min(95vw, 100%);
  max-height: min(90vh, calc(100dvh - 300px));
  width: auto; height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 200ms var(--ease);
}
.lightbox-arrow:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-arrow.prev { left: 8px; }
.lightbox-arrow.next { right: 8px; }

.lightbox-close {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 200ms var(--ease);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

.lightbox-caption {
  text-align: center;
  color: #fff;
  display: grid;
  gap: 4px;
}
.lightbox-caption .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.7);
}
.lightbox-caption h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0;
}

.lightbox-caption p {
  max-width: 58ch;
  margin: 8px auto 0;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 768px) {
  .lightbox-inner {
    padding: 12px;
    gap: 10px;
  }

  .lightbox-stage {
    padding-inline: 46px;
  }

  .lightbox-image {
    max-width: min(96vw, 100%);
    max-height: min(85vh, calc(100dvh - 180px));
    border-radius: 8px;
  }

  .lightbox-arrow {
    width: 42px;
    height: 42px;
  }

  .lightbox-arrow.prev { left: 0; }
  .lightbox-arrow.next { right: 0; }

  .lightbox-caption h3 { font-size: 20px; }
  .lightbox-caption p { display: none; }
}

/* ============ CLIENTS ============ */

.clients {
  background: var(--bg);
}

.client-logo-marquee {
  margin-top: 46px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 22px;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(247,245,240,0) 14%, rgba(247,245,240,0) 86%, var(--bg) 100%),
    rgba(255, 255, 255, 0.22);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.client-logo-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 18px;
  animation: client-marquee 38s linear infinite;
}

.client-logo-marquee:hover .client-logo-track {
  animation-play-state: paused;
}

.client-mark {
  min-width: 184px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(221, 214, 202, 0.86);
  border-radius: 18px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.045);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}

.client-mark:hover {
  transform: translateY(-2px);
  border-color: rgba(198, 154, 69, 0.52);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.07);
}

.client-mark img {
  display: block;
  width: auto;
  max-width: 132px;
  max-height: 54px;
  object-fit: contain;
}

@keyframes client-marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 700px) {
  .client-logo-marquee {
    margin-top: 34px;
    padding-block: 16px;
  }
  .client-logo-track {
    gap: 12px;
    animation-duration: 30s;
  }
  .client-mark {
    min-width: 132px;
    height: 68px;
    border-radius: 14px;
    padding-inline: 16px;
  }
  .client-mark img {
    max-width: 98px;
    max-height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-logo-track {
    animation: none;
  }
}

/* ============ SHOWCASE ============ */

.showcase { padding-block: var(--section-y); background: var(--bg); }

.showcase-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--ink);
  min-height: clamp(420px, 50vw, 580px);
  isolation: isolate;
}

.showcase-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.showcase-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.18) 60%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}

.showcase-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  align-content: end;
  gap: 22px;
  padding: clamp(28px, 5vw, 60px);
  color: #fff;
  max-width: 760px;
}

.showcase-content h2 { color: #fff; }
.showcase-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  max-width: 56ch;
}
.showcase-content .btn { width: fit-content; }

.showcase-tag {
  position: absolute;
  top: clamp(24px, 4vw, 40px);
  right: clamp(24px, 4vw, 40px);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  gap: 10px;
}
.showcase-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 4px rgba(233, 177, 90, 0.18);
}

/* ============ PROCESS ============ */

.process { background: var(--bg-alt); padding-block: var(--section-y); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-step {
  padding: 32px 24px 32px 0;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 16px;
  align-content: start;
  position: relative;
  overflow: hidden;
}

.process-step:last-child { border-right: 0; padding-right: 0; }

/* â”€â”€ Process hover background images â”€â”€ */

.process-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--process-hover-duration, 600ms) var(--ease-out);
}

.process-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--process-hover-scale, 1.08));
  filter: saturate(0.65) brightness(1.05);
  transition: transform calc(var(--process-hover-duration, 600ms) + 200ms) var(--ease-out);
}

.process-content {
  display: grid;
  gap: 16px;
  align-content: start;
  position: relative;
  z-index: 1;
}

.process-step::before { position: relative; z-index: 1; }

.process-step:hover .process-bg,
.process-step:focus-visible .process-bg {
  opacity: var(--process-hover-opacity, 0.22);
}

.process-step:hover .process-bg img,
.process-step:focus-visible .process-bg img {
  transform: scale(1);
}

/* Mobile: subtle static visibility since hover is unavailable */
@media (hover: none) {
  .process-bg {
    opacity: calc(var(--process-hover-opacity, 0.22) * 0.55);
  }
  .process-bg img { transform: scale(1); }
}

.process-step .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  color: var(--accent);
  text-transform: uppercase;
}

.process-step h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
}

.process-step p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.process-step::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink);
}

@media (max-width: 1100px) { .process-grid { grid-template-columns: repeat(3, 1fr); } .process-step:nth-child(3) { border-right: 0; } }
@media (max-width: 700px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
  }
  .process-step:last-child { border-bottom: 0; }
}

/* ============ FAQ ============ */

.faq { background: var(--bg); padding-block: var(--section-y); }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.faq-side {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 22px;
}

.faq-side h2 { text-wrap: balance; }
.faq-side .helper {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 8px;
  display: grid;
  gap: 14px;
}
.faq-side .helper p { color: var(--muted); }

.faq-list {
  display: grid;
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 4px 28px 0;
  text-align: left;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ink);
  transition: color 220ms var(--ease);
}

.faq-q .toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  transition: background 220ms var(--ease), border-color 220ms var(--ease);
}

.faq-q .toggle::before,
.faq-q .toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 320ms var(--ease), background 220ms var(--ease);
}
.faq-q .toggle::before { width: 12px; height: 1.5px; }
.faq-q .toggle::after { width: 1.5px; height: 12px; }

.faq-item[aria-expanded="true"] .faq-q .toggle::after { transform: scaleY(0); }
.faq-item[aria-expanded="true"] .faq-q .toggle {
  background: var(--ink);
  border-color: var(--ink);
}
.faq-item[aria-expanded="true"] .faq-q .toggle::before,
.faq-item[aria-expanded="true"] .faq-q .toggle::after {
  background: var(--bg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 460ms var(--ease-out);
}
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a-content {
  padding: 0 60px 28px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 70ch;
}
.faq-item[aria-expanded="true"] .faq-a { grid-template-rows: 1fr; }

@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-side { position: static; }
  .faq-q { padding: 22px 0; gap: 16px; }
  .faq-a-content { padding: 0 0 24px 0; font-size: 15px; }
}

/* ============ CTA / CONTACT ============ */

.contact { background: var(--bg); padding-block: var(--section-y); }

.cta-panel {
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: #fff;
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  position: relative;
  overflow: hidden;
}

.cta-copy {
  display: grid;
  align-content: start;
  gap: 22px;
  position: relative;
}
.cta-copy h2 { color: #fff; }
.cta-copy .lede { color: rgba(255, 255, 255, 0.78); }

.contact-direct {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.contact-direct a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: background 220ms var(--ease), border-color 220ms var(--ease);
}
.contact-direct a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
}
.contact-direct a small {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0;
  margin-bottom: 4px;
  font-weight: 400;
}
.contact-direct a .arrow-go {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}
.contact-direct a:hover .arrow-go { background: #fff; color: var(--ink); transform: rotate(-45deg); }

.quote-form {
  background: var(--bg-card);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: 16px;
}

.form-header {
  display: grid;
  gap: 4px;
  margin-bottom: 6px;
}
.form-header h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
}
.form-header p { color: var(--muted); font-size: 14px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quote-form label { display: grid; gap: 6px; }
.quote-form label.full { grid-column: 1 / -1; }
.quote-form label > span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.quote-form input[type="file"] { padding: 12px; }
.quote-form textarea { min-height: 110px; resize: vertical; }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(20, 17, 14, 0.08);
}
.quote-form input[aria-invalid="true"],
.quote-form select[aria-invalid="true"],
.quote-form textarea[aria-invalid="true"] {
  border-color: #b42318;
}

.form-submit {
  width: 100%;
  margin-top: 6px;
  background: var(--ink);
  color: #fff;
}
.form-submit:hover { background: var(--ink-2); }

.form-status {
  margin-top: 0;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--muted);
  background: rgba(47, 111, 78, 0.08);
}
.form-status[hidden] {
  display: none;
}
.form-status.is-success {
  color: #2f6f4e;
  border: 1px solid rgba(47, 111, 78, 0.22);
}
.form-status.is-error {
  color: #b42318;
  border: 1px solid rgba(180, 35, 24, 0.2);
  background: rgba(180, 35, 24, 0.08);
}

@media (max-width: 1000px) { .cta-panel { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .form-grid { grid-template-columns: 1fr; } }

/* ============ SEO INNER PAGES ============ */

.wrap.narrow { max-width: 940px; }

.seo-hero {
  padding-block: clamp(132px, 16vw, 190px) clamp(54px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}

.not-found-hero { min-height: 64vh; display: flex; align-items: center; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.breadcrumb a { color: var(--ink); }
.breadcrumb a:hover { color: var(--accent); }

.seo-hero h1 {
  max-width: 1080px;
  font-size: clamp(52px, 8vw, 112px);
}

.seo-hero .lede {
  max-width: 780px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.seo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.seo-hero-actions .btn svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.seo-section { padding-block: clamp(72px, 9vw, 128px); }
.seo-section.compact-section { padding-block: clamp(38px, 5vw, 72px); }

.seo-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.seo-main-copy {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
}

.seo-copy-block h2,
.seo-card h2,
.seo-side-card h2,
.seo-small-heading {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: 0;
}

.seo-copy-block p,
.seo-card p,
.seo-side-card li {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.seo-check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.seo-check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
}

.seo-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.seo-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.seo-image-grid.portfolio-example-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seo-image-grid.service-example-gallery {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.seo-image-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #e9e2d8;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.seo-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.seo-image-grid.service-example-gallery .seo-image-card img {
  object-fit: cover;
}

.seo-content-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.fitout-service-hero h1 {
  max-width: 980px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.98;
}

.fitout-service-hero .lede {
  max-width: 860px;
}

.fitout-hero-profile-image {
  overflow: hidden;
  max-width: 820px;
  margin: clamp(28px, 4vw, 44px) 0 0;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(41,35,32,0.1);
  box-shadow: var(--shadow-sm);
}

.fitout-hero-profile-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: cover;
  object-position: center;
}

.fitout-service-content .seo-main-copy {
  gap: clamp(44px, 6vw, 82px);
}

.fitout-service-content .seo-copy-block h2 {
  max-width: 880px;
  margin-bottom: 18px;
}

.fitout-service-content .seo-copy-block p {
  max-width: 880px;
}

.fitout-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 28px);
  margin-top: 32px;
}

.fitout-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
  margin-top: 32px;
}

.fitout-process-card,
.fitout-media-card,
.fitout-video-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(41,35,32,0.1);
  box-shadow: var(--shadow-sm);
}

.fitout-process-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
}

.fitout-process-card img,
.fitout-media-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.fitout-process-card div {
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 44px);
}

.fitout-process-card span {
  display: inline-flex;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
}

.fitout-process-card h3 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
}

.fitout-process-card p {
  max-width: 62ch;
  margin-top: 0;
}

.fitout-project-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.fitout-project-preview-card {
  overflow: hidden;
  border: 1px solid rgba(41,35,32,0.1);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow-sm);
}

.fitout-project-preview-list {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  margin-top: 28px;
}

.fitout-project-preview-card a {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  color: inherit;
  text-decoration: none;
}

.fitout-project-preview-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.fitout-project-preview-card div {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 4vw, 44px);
}

.fitout-project-preview-card h3 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
}

.fitout-project-preview-card p {
  max-width: 62ch;
  margin: 0;
}

.fitout-project-preview-card .btn {
  justify-self: start;
  pointer-events: none;
}

.fitout-media-card:first-child,
.fitout-video-card {
  grid-column: 1 / -1;
}

.fitout-result-gallery {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
  margin-top: 32px;
}

.fitout-result-support {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

.fitout-result-gallery .fitout-media-card.fitout-result-main img {
  aspect-ratio: 16 / 9;
  min-height: 460px;
  object-fit: cover;
}

.fitout-result-gallery .fitout-result-support .fitout-media-card img {
  aspect-ratio: 4 / 3;
  min-height: 280px;
  object-fit: cover;
}

.fitout-media-card img {
  aspect-ratio: 16 / 10;
}

.fitout-media-card:first-child img {
  aspect-ratio: 16 / 8.5;
  min-height: 420px;
}

.alaska-completed-results-gallery {
  gap: 16px;
}

.alaska-completed-results-gallery .fitout-media-card,
.alaska-completed-results-gallery .fitout-video-card {
  width: 100%;
  margin: 0;
}

.alaska-completed-results-gallery .fitout-result-support {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.alaska-completed-results-gallery .fitout-result-support .fitout-media-card:first-child {
  grid-column: auto;
}

.alaska-completed-results-gallery .fitout-result-support .fitout-media-card {
  aspect-ratio: 3 / 4;
}

.alaska-completed-results-gallery .fitout-result-main img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.alaska-completed-results-gallery .fitout-result-support .fitout-media-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .alaska-completed-results-gallery .fitout-result-support {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .alaska-completed-results-gallery {
    gap: 14px;
  }

  .alaska-completed-results-gallery .fitout-result-support {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .alaska-completed-results-gallery .fitout-result-support .fitout-media-card {
    aspect-ratio: 3 / 4;
  }

  .alaska-completed-results-gallery .fitout-result-support .fitout-media-card img {
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }
}

.fitout-video-card video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 680px;
  background: #111;
}

.alaska-completed-results-gallery .fitout-video-card video {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.fitout-video-card figcaption {
  padding: 14px 18px 18px;
  color: var(--muted);
}

.seo-side-card,
.seo-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
}

.seo-side-card {
  position: sticky;
  top: 112px;
}

.seo-side-card ul {
  margin: 18px 0 24px;
  padding-left: 18px;
}

.seo-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.contact-direct.compact a {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.contact-direct.compact a:hover {
  border-color: var(--accent);
  background: #fff;
}

.contact-direct.compact a small { color: var(--muted); }

.seo-map {
  overflow: hidden;
  margin-top: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-alt);
  aspect-ratio: 16 / 10;
}

.seo-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.quote-checklist {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.quote-checklist strong {
  color: var(--ink);
  font-weight: 600;
}

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

.seo-project-card a {
  display: grid;
  gap: 14px;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}

.seo-project-card a:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 149, 72, 0.55);
  box-shadow: var(--shadow-md);
}

.seo-project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  border-radius: calc(var(--radius-lg) - 8px);
  background: #e9e2d8;
  padding: 10px;
}

.seo-project-card h2 {
  font-size: 23px;
  line-height: 1.08;
  font-weight: 500;
}

.seo-project-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14.5px;
  padding-bottom: 4px;
}

.seo-card-cta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-self: start;
  margin-top: auto;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 650;
}

.seo-card-cta svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.event-detail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
}

.event-detail-card h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.04;
  font-weight: 500;
}

.event-detail-card dl {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--line);
}

.event-detail-card dl div {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: 16px 18px;
}

.event-detail-card dt,
.event-detail-card dd {
  margin: 0;
}

.event-detail-card dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.event-detail-card dd {
  color: var(--ink);
  line-height: 1.45;
}

.event-section-title {
  max-width: 900px;
  margin-top: 12px;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 0.98;
  font-weight: 500;
}

.event-projects-section,
.event-client-section {
  scroll-margin-top: 110px;
}

.event-project-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.event-project-card {
  display: grid;
  gap: 12px;
  min-height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
  color: var(--ink);
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}

.event-project-card:hover,
.event-project-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(199, 149, 72, 0.55);
  box-shadow: var(--shadow-md);
}

.event-project-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.event-project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  border-radius: calc(var(--radius-lg) - 8px);
  background: #e9e2d8;
  padding: 8px;
}

.event-project-card h3 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
  font-weight: 500;
}

.event-project-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.event-client-section {
  border-top: 1px solid var(--line);
}

.event-client-head {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.event-client-head .h-display {
  font-size: clamp(44px, 6vw, 82px);
}

.event-client-head .lede {
  max-width: 72ch;
}

.event-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--line);
}

.event-fact-grid div {
  display: grid;
  gap: 8px;
  min-height: 108px;
  background: var(--bg-card);
  padding: 20px;
}

.event-fact-grid small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.event-fact-grid strong {
  font-size: 18px;
  line-height: 1.22;
  font-weight: 500;
}

.event-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.event-image-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-lg);
  background: #e9e2d8;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}

.event-image-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  display: block;
}

.event-image-card .zoom-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}

.event-image-card:hover .zoom-icon {
  opacity: 1;
  transform: translateY(0);
}

.seo-feature-image {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--bg-alt);
}

.seo-feature-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.seo-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 20px;
  border-radius: var(--radius-lg);
  background: var(--line);
  border: 1px solid var(--line);
}

.seo-fact-grid div {
  display: grid;
  gap: 8px;
  min-height: 120px;
  background: var(--bg-card);
  padding: 22px;
}

.seo-fact-grid small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.seo-fact-grid strong {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.related-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.65);
  padding: 10px 16px;
  color: var(--ink);
  transition: background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}

.related-links a:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

body.solar-case-study-page .seo-hero {
  padding-bottom: clamp(42px, 6vw, 72px);
}

body.solar-case-study-page .seo-section {
  padding-block: clamp(48px, 6vw, 86px);
}

body.solar-case-study-page .compact-section {
  padding-block: clamp(34px, 5vw, 64px);
}

body.solar-case-study-page .solar-about-event {
  display: grid;
  gap: clamp(22px, 4vw, 34px);
  max-width: 1080px;
}

body.solar-case-study-page .solar-about-event .seo-main-copy {
  max-width: 920px;
}

body.solar-case-study-page .solar-about-event .event-detail-card {
  max-width: 100%;
}

body.solar-case-study-page .event-client-section {
  padding-block: clamp(50px, 6vw, 76px);
}

body.solar-case-study-page .event-client-head {
  gap: 12px;
}

body.solar-case-study-page .company-background {
  max-width: 76ch;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.62;
}

body.solar-case-study-page .event-fact-grid {
  margin-top: 20px;
}

body.solar-case-study-page .event-project-card img {
  padding: 0;
  object-fit: cover;
  background: var(--ink);
}

body.solar-case-study-page .event-project-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

body.solar-case-study-page .event-projects-section .portfolio-subhead {
  display: block;
  margin-bottom: 24px;
  padding-top: 0;
  border-top: 0;
}

body.solar-case-study-page .event-projects-section .section-kicker {
  display: block;
  margin-bottom: 16px;
}

body.solar-case-study-page .event-projects-section .event-section-title {
  max-width: 980px;
}

body.solar-case-study-page .event-projects-section .portfolio-subhead p {
  max-width: 760px;
  margin-top: 18px;
}

.case-studies-index-page .seo-project-card .case-study-card-preview {
  margin: 0;
}

.case-studies-index-page .case-study-featured-projects {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  margin-bottom: clamp(42px, 6vw, 70px);
}

.case-studies-index-page .case-study-featured-projects .event-portfolio-card {
  margin-bottom: 0;
}

.case-studies-index-page .case-study-featured-projects .event-portfolio-card > img {
  aspect-ratio: 4 / 3;
  max-height: 320px;
  object-fit: cover;
  padding: 0;
  background: #e9e2d8;
}

.case-studies-index-page .seo-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-studies-index-page .seo-project-card img {
  object-fit: cover;
  padding: 0;
}

.case-studies-index-page .seo-project-card.case-study-image-only {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
}

.case-studies-index-page .seo-project-card.case-study-image-only img {
  display: block;
  height: 100%;
  background: transparent;
}

.case-studies-index-page .seo-project-card-featured a {
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
  padding: clamp(16px, 2.6vw, 28px);
}

.case-studies-index-page .seo-project-card-featured .tag,
.case-studies-index-page .seo-project-card-featured h2,
.case-studies-index-page .seo-project-card-featured p,
.case-studies-index-page .seo-project-card-featured .recent-project-details,
.case-studies-index-page .seo-project-card-featured .seo-card-cta {
  grid-column: 2;
}

.case-studies-index-page .seo-project-card-featured .case-study-card-preview {
  grid-column: 1;
  grid-row: 1 / span 5;
  min-height: clamp(260px, 28vw, 390px);
}

.recent-project-details {
  display: grid;
  gap: 10px;
  margin: 6px 0 4px;
}

.recent-project-details div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.recent-project-details dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.recent-project-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}

.case-study-card-preview {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 5px;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
}

.case-study-card-preview img {
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  background: transparent;
  display: block;
}

.case-study-card-preview .case-study-card-preview-main {
  grid-row: span 2;
}

body.solar-case-study-page .event-image-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
  gap: 18px;
  margin-top: 20px;
}

body.solar-case-study-page .event-image-card {
  aspect-ratio: 4 / 3;
  background: transparent;
  box-shadow: var(--shadow-sm);
}

body.solar-case-study-page .event-image-card.is-portrait {
  aspect-ratio: 3 / 4;
}

body.solar-case-study-page .event-image-card img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

body.solar-case-study-page .seo-final-cta {
  padding-top: clamp(28px, 5vw, 58px);
}

body.solar-case-study-page .solar-scope-section {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  max-width: 1080px;
}

body.solar-case-study-page .scope-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  column-gap: clamp(18px, 3vw, 32px);
}

.seo-faq-title {
  margin-top: 18px;
  margin-bottom: 32px;
  font-size: clamp(44px, 6vw, 76px);
}

.seo-final-cta { padding-top: clamp(42px, 7vw, 88px); }

@media (max-width: 960px) {
  .event-featured-row,
  .event-portfolio-card {
    grid-template-columns: 1fr;
  }

  .event-featured-cta {
    justify-self: start;
  }

  .seo-content-grid,
  .seo-two-col {
    grid-template-columns: 1fr;
  }

  .fitout-project-preview-card a {
    grid-template-columns: 1fr;
  }

  .fitout-project-preview-card img {
    min-height: 0;
  }

  .fitout-process-card {
    grid-template-columns: 1fr;
  }

  .fitout-process-card img,
  .fitout-media-card:first-child img {
    min-height: 0;
  }

  .fitout-media-grid {
    grid-template-columns: 1fr;
  }

  .seo-image-grid.portfolio-example-grid,
  .fitout-result-support {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-side-card {
    position: static;
  }

  .seo-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-studies-index-page .seo-project-card-featured a {
    grid-template-columns: 1fr;
  }

  .case-studies-index-page .seo-project-card-featured .tag,
  .case-studies-index-page .seo-project-card-featured h2,
  .case-studies-index-page .seo-project-card-featured p,
  .case-studies-index-page .seo-project-card-featured .recent-project-details,
  .case-studies-index-page .seo-project-card-featured .seo-card-cta,
  .case-studies-index-page .seo-project-card-featured .case-study-card-preview {
    grid-column: auto;
    grid-row: auto;
  }

  .event-project-grid,
  .seo-fact-grid,
  .event-fact-grid,
  .event-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .case-studies-index-page .case-study-featured-projects {
    justify-items: center;
  }

  .case-studies-index-page .case-study-featured-projects .event-portfolio-card {
    width: min(100%, 420px);
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .case-studies-index-page .case-study-featured-projects .event-portfolio-card > img,
  .case-studies-index-page .case-study-featured-projects .event-portfolio-card > .solar-image-slider {
    width: 100%;
    max-height: none;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #e9e2d8;
  }

  .case-studies-index-page .case-study-featured-projects .event-portfolio-card > .solar-image-slider img {
    object-fit: contain;
    background: #e9e2d8;
  }

  .case-studies-index-page .seo-card-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .case-studies-index-page .seo-project-card.case-study-image-only {
    width: min(100%, 420px);
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 4 / 3;
    background: #e9e2d8;
  }

  .case-studies-index-page .seo-project-card.case-study-image-only img {
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    background: #e9e2d8;
  }
}

@media (max-width: 560px) {
  .seo-hero {
    padding-top: 124px;
  }

  .seo-hero h1 {
    font-size: clamp(44px, 14vw, 60px);
  }

  .case-studies-index-page .seo-hero h1 {
    font-size: clamp(34px, 11vw, 44px);
    overflow-wrap: break-word;
  }

  .case-studies-index-page .seo-hero h1,
  .case-studies-index-page .seo-hero .lede {
    width: min(100%, 285px);
    max-width: 285px;
    overflow-wrap: break-word;
  }

  .case-studies-index-page .seo-hero-actions {
    width: min(100%, 285px);
    max-width: 285px;
  }

  .case-studies-index-page .seo-hero-actions .btn {
    width: 100%;
    white-space: normal;
  }

  .case-studies-index-page .case-study-featured-projects .event-portfolio-card {
    width: min(100%, 420px);
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .case-studies-index-page .case-study-featured-projects .event-portfolio-card h2,
  .case-studies-index-page .case-study-featured-projects .event-portfolio-card p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .case-studies-index-page .case-study-featured-projects .event-portfolio-card > div {
    min-width: 0;
    width: 100%;
  }

  .seo-hero .lede {
    font-size: 18px;
  }

  .seo-hero-actions,
  .not-found-hero .seo-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .seo-card-grid,
  .event-project-grid,
  .seo-fact-grid,
  .event-fact-grid,
  .event-image-grid {
    grid-template-columns: 1fr;
  }

  .seo-project-card img {
    aspect-ratio: 1 / 0.82;
  }

  .event-featured-row img {
    height: 260px;
  }

  .event-detail-card dl div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .fitout-service-hero .h-display {
    font-size: clamp(30px, 10vw, 42px);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .fitout-service-hero .wrap,
  .fitout-service-hero .h-display,
  .fitout-service-hero .lede {
    max-width: 100%;
    min-width: 0;
  }

  .fitout-service-hero,
  .fitout-service-content {
    overflow-x: hidden;
  }

  .fitout-service-hero .h-display,
  .fitout-service-hero .lede,
  .fitout-service-hero .hero-actions,
  .fitout-service-hero .seo-hero-actions,
  .fitout-service-content p,
  .fitout-service-content li {
    max-width: calc(100vw - 40px);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .fitout-service-hero .hero-actions,
  .fitout-service-hero .seo-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fitout-service-hero .btn {
    width: 100%;
    min-height: 50px;
    white-space: normal;
    text-align: center;
  }

  .fitout-service-content .seo-copy-block h2 {
    font-size: clamp(28px, 9vw, 38px);
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .fitout-process-grid,
  .fitout-media-grid,
  .fitout-result-gallery,
  .fitout-project-preview-list {
    gap: 14px;
    margin-top: 22px;
  }

  .seo-image-grid.portfolio-example-grid,
  .fitout-result-support {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .fitout-process-card,
  .fitout-media-card,
  .fitout-video-card,
  .fitout-project-preview-card {
    border-radius: var(--radius-md);
  }

  .fitout-process-card img,
  .fitout-media-card img,
  .fitout-media-card:first-child img,
  .fitout-result-main img,
  .fitout-result-support .fitout-media-card img,
  .fitout-hero-profile-image img,
  .fitout-project-preview-card img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
    background: var(--bg-alt);
  }

  .fitout-process-card div,
  .fitout-project-preview-card div {
    padding: 22px;
  }

  .fitout-process-card h3,
  .fitout-project-preview-card h3 {
    font-size: clamp(23px, 8vw, 32px);
    line-height: 1.12;
  }

  .fitout-process-card p,
  .fitout-project-preview-card p {
    overflow-wrap: break-word;
  }

  .fitout-video-card video {
    max-height: none;
  }

  .fitout-service-hero ~ .seo-final-cta .cta-panel .h-display {
    font-size: clamp(32px, 10vw, 42px) !important;
  }

  .event-client-head .h-display {
    font-size: clamp(38px, 12vw, 54px);
  }

  .event-image-card {
    aspect-ratio: 4 / 3;
  }

  body.solar-case-study-page .event-image-grid {
    gap: 14px;
  }

  body.solar-case-study-page .company-background {
    font-size: 16px;
  }

  body.solar-case-study-page .seo-final-cta .h-display {
    font-size: 40px !important;
  }

  .case-study-card-preview {
    min-height: 280px;
  }
}

@media (max-width: 480px) {
  .case-studies-index-page .seo-hero h1,
  .case-studies-index-page .seo-hero .lede {
    width: min(100%, 285px);
    max-width: 285px;
  }
}

/* ============ FOOTER ============ */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px var(--gutter-x) 24px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(150px, 0.75fr) minmax(230px, 1fr) minmax(240px, 1fr);
  gap: 36px;
  max-width: 1600px;
  margin: 0 auto;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-dark);
  position: relative;
  z-index: 2;
}

.footer-grid h3 {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-brand-block { display: grid; gap: 18px; max-width: 420px; }
.footer-brand-block .brand-mark { background: #fff; color: var(--ink); }
.footer-brand-block .brand-logo-img { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28); }
.footer-brand-block .brand-name strong { color: #fff; }
.footer-brand-block .brand-name small { color: rgba(255, 255, 255, 0.6); }
.footer-brand-block p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.6;
}

.footer-nav, .footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}
.footer-nav a, .footer-contact a, .footer-contact span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
  transition: color 200ms var(--ease);
  font-style: normal;
}
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }

.footer-area {
  max-width: 1600px;
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.footer-bottom {
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.58);
  position: relative;
  z-index: 2;
}

.footer-watermark {
  position: absolute;
  left: var(--gutter-x);
  right: var(--gutter-x);
  bottom: -6%;
  font-size: 240px;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  letter-spacing: 0;
  font-weight: 500;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-watermark { font-size: 140px; }
}

@media (max-width: 700px) {
  .site-footer { padding-bottom: 100px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand-block { grid-column: auto; }
  .footer-grid h3 { margin-bottom: 12px; }
  .footer-nav a, .footer-contact a, .footer-contact span { font-size: 15px; }
  .footer-area { font-size: 13px; padding: 16px 0; }
  .footer-bottom { display: grid; gap: 10px; }
  .footer-watermark { font-size: 76px; bottom: 4%; }
}

/* ============ MOBILE NAV ============ */

.mobile-sticky-cta { display: none; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: 78px var(--gutter-x) auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border-radius: var(--radius-lg);
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 280ms var(--ease), opacity 280ms var(--ease);
  }
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav a {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    color: var(--ink) !important;
  }
  .primary-nav a:hover { background: var(--bg-alt); }
  .primary-nav a::after { display: none; }
  .header-cta { display: none; }

  body { padding-bottom: 76px; }
  body.is-form-visible { padding-bottom: 0; }

  .mobile-sticky-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 130;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    background: var(--ink);
    padding: 10px 12px;
    border-top: 1px solid var(--line-dark);
  }
  .mobile-sticky-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
  }
  .mobile-sticky-cta a:last-child { background: #fff; color: var(--ink); }
  body.is-form-visible .mobile-sticky-cta { display: none; }
}

/* ============ REVEAL ANIM ============ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }

@media (max-width: 520px) {
  h1.h-display, .h1 { font-size: 52px; }
  h2.h-display, .h2 { font-size: 38px; }
  .h3 { font-size: 22px; }
  .hero-side p { font-size: 18px; }
  .intro-grid p { font-size: 17px; }
  .stat strong { font-size: 42px; }
  .marquee-track span { font-size: 22px; }
  .service-card-body h3,
  .gallery-item-meta h3,
  .process-content h3,
  .lightbox-caption h3 { font-size: 20px; }
  .faq-q { font-size: 18px; }
  .footer-watermark { font-size: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .hero-image img { animation: none; transform: none; }
}


