/* ========================================================================
   Central Coast Fuel Systems — Main Stylesheet
   ======================================================================== */

/* Self-hosted fonts (General Sans by Fontshare, licensed for commercial use) */
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/gs-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/gs-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/gs-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/gs-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

:root {
  --ink: #0A0A0A;
  --paper: #FFFFFF;
  --off: #FAFAFA;
  --warm: #F4F1EA;
  --grey-100: #F2F2F2;
  --grey-200: #E5E5E5;
  --grey-400: #B0B0B0;
  --grey-600: #767676;
  --grey-700: #4B4B4B;
  --red: #D13D2D;
  --red-dk: #B8321F;
  --navy: #25437B;

  --ease: cubic-bezier(.2,.8,.2,1);
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: "General Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ========================================================================
   ANIMATIONS
   ======================================================================== */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }

@keyframes slideLine { from { width: 0; } to { width: 40px; } }
@keyframes softPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(1.18); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes logoPulse { 0%,100% { opacity: 0.95; transform: scale(1); } 50% { opacity: 1; transform: scale(1.03); } }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes loaderBar { 0% { left: -40%; } 100% { left: 100%; } }
@keyframes loaderFadeOut { to { opacity: 0; visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .loader-orbit, .loader-logo, .loader-bar::after { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ========================================================================
   LOADING SCREEN
   ======================================================================== */

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--paper);
  overflow: hidden;
  animation: loaderFadeOut 0.5s ease 1.2s forwards;
  pointer-events: none;
}
.loader.dismissed { display: none; }
.loader-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(209,61,45,0.05), transparent 60%);
}
.loader-overlay { display: none; }
.loader-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.loader-ring-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
}
.loader-orbit {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid var(--grey-200);
  animation: orbitSpin 3.2s cubic-bezier(.76,.16,.24,.9) infinite;
}
.loader-orbit::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(209,61,45,0.5);
}
.loader-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  animation: logoPulse 2.4s ease-in-out infinite;
}
.loader-word {
  margin-top: 44px;
  text-align: center;
  color: var(--ink);
}
.loader-word b {
  display: block;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.loader-word span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-600);
  font-weight: 500;
  margin-top: 6px;
}
.loader-bar {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 1.5px;
  background: var(--grey-100);
  border-radius: 999px;
  overflow: hidden;
  z-index: 2;
}
.loader-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: var(--red);
  border-radius: 999px;
  animation: loaderBar 1.6s cubic-bezier(.4,0,.2,1) infinite;
}

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

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  border-bottom: 1px solid var(--grey-200);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  z-index: 20;
}
.nav .brand { display: flex; align-items: center; gap: 12px; }
.nav .brand img { width: 44px; height: 44px; object-fit: contain; }
.nav .brand-label { line-height: 1.15; }
.nav .brand-label b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.nav .brand-label span { font-size: 10px; color: var(--grey-600); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }

.nav-links {
  display: flex;
  gap: 30px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}
.nav-links li { position: relative; padding-bottom: 3px; }
.nav-links a { position: relative; display: block; cursor: pointer; transition: color 0.2s ease; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 10px; }

.phone-cta {
  background: var(--ink);
  color: #fff;
  padding: 11px 18px 11px 16px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  transition: all 0.25s ease;
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
}
.phone-cta::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: softPulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
.phone-cta:hover { background: var(--red); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(209,61,45,0.28); }

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--grey-200);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #FFF;
  padding: 0;
}
.hamburger span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); }
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: #FFF;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 24px; text-align: center; }
.mobile-menu ul a { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; padding: 8px 0; min-height: 44px; display: inline-block; }
.mobile-menu ul a:hover { color: var(--red); }
.mobile-menu .phone-cta { background: var(--red); padding: 16px 28px; font-size: 14px; }
.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #FFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-close svg { width: 18px; height: 18px; }

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

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 620px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--grey-200);
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 55%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(209,61,45,0.07), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}

.hero-copy {
  padding: 84px 48px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.eyebrow {
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--red);
  animation: slideLine 0.9s var(--ease) forwards;
}
.hero h1 {
  font-weight: 600;
  font-size: 84px;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 26px;
}
.hero h1 .r { color: var(--red); }
.hero h1 .thin { font-weight: 400; color: var(--grey-700); font-style: italic; }
.lead {
  font-size: 17px;
  color: var(--grey-700);
  line-height: 1.6;
  margin: 0 0 36px;
  max-width: 460px;
}
.ctas { display: flex; gap: 10px; align-items: stretch; }
.btn-p, .btn-s {
  padding: 15px 26px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  min-height: 48px;
  transition: all 0.22s var(--ease);
}
.btn-p { background: var(--red); color: #fff; border: none; }
.btn-p svg { width: 14px; height: 14px; transition: transform 0.22s var(--ease); }
.btn-p:hover { background: var(--red-dk); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(209,61,45,0.28); }
.btn-p:hover svg { transform: translateX(3px); }
.btn-s { color: var(--ink); border: 1.5px solid var(--ink); background: transparent; }
.btn-s svg { width: 14px; height: 14px; }
.btn-s:hover { background: var(--ink); color: #fff; }

.hero-photo {
  position: relative;
  background: var(--warm);
  z-index: 1;
  background-image: url('../img/p1.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-size 6s ease-out;
}
.hero:hover .hero-photo { background-size: 103%; }

.hero-badge {
  position: absolute;
  bottom: 22px;
  right: 22px;
  background: rgba(255,255,255,0.96);
  padding: 10px 14px;
  border-radius: 2px;
  font-size: 11px;
  color: var(--ink);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  backdrop-filter: blur(4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: softPulse 2s ease-in-out infinite;
}

/* ========================================================================
   STATS STRIP
   ======================================================================== */

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--grey-200);
}
.strip-item {
  padding: 28px 30px;
  border-right: 1px solid var(--grey-200);
  transition: background 0.3s ease;
}
.strip-item:last-child { border-right: 0; }
.strip-item:hover { background: var(--off); }
.strip-item .n {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.strip-item .n .r { color: var(--red); }
.strip-item .n svg { width: 18px; height: 18px; color: var(--grey-400); }
.strip-item .l {
  font-size: 12px;
  color: var(--grey-600);
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-top: 8px;
}

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

.marquee {
  padding: 14px 0;
  border-bottom: 1px solid var(--grey-200);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.marquee-track {
  display: inline-flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span.dot { color: var(--red); font-weight: 800; }

/* ========================================================================
   ABOUT
   ======================================================================== */

.about {
  padding: 110px 48px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  border-bottom: 1px solid var(--grey-200);
}
.about-left {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  align-self: start;
}
.kicker {
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker .line, .kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--red);
}
.about h2 {
  font-weight: 600;
  font-size: 44px;
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.about h2 em { font-style: italic; font-weight: 400; color: var(--grey-600); }
.about-body p {
  font-size: 17px;
  color: var(--grey-700);
  line-height: 1.65;
  margin: 0 0 22px;
}
.about-body p:last-child { margin-bottom: 0; }
.hl {
  background: linear-gradient(transparent 60%, rgba(209,61,45,0.15) 60%);
  padding: 0 2px;
  color: var(--ink);
  font-weight: 500;
}

/* ========================================================================
   SECTION HEADS (shared)
   ======================================================================== */

.sec-head {
  margin-bottom: 54px;
  max-width: 720px;
}
.sec-head .kicker .line {
  width: 40px;
}
.sec-head h2 {
  font-weight: 600;
  font-size: 52px;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 12px;
}
.sec-head h2 .r { color: var(--red); }
.sec-head h2 em { font-style: italic; font-weight: 400; color: var(--grey-600); }
.sec-head p {
  font-size: 16px;
  color: var(--grey-700);
  line-height: 1.6;
  margin: 14px 0 0;
  max-width: 560px;
}

/* ========================================================================
   SERVICES
   ======================================================================== */

.services {
  padding: 110px 48px;
  border-bottom: 1px solid var(--grey-200);
}
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--grey-200);
  border: 1px solid var(--grey-200);
}
.svc {
  background: #FFF;
  padding: 38px 36px;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.svc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.svc:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(10,10,10,0.06); z-index: 2; }
.svc:hover::before { transform: scaleY(1); }

.svc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
}
.svc-icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.35s var(--ease);
  flex-shrink: 0;
}
.svc-icon svg { width: 22px; height: 22px; }
.svc:hover .svc-icon {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: rotate(-8deg);
}

.svc .num {
  font-size: 12px;
  color: var(--grey-400);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}
.svc h3 {
  font-weight: 600;
  font-size: 28px;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.svc > p {
  font-size: 14px;
  color: var(--grey-700);
  line-height: 1.55;
  margin: 0 0 20px;
}
.svc ul { margin: 0 0 20px; }
.svc ul li {
  font-size: 14px;
  color: #2A2A2A;
  padding: 9px 0;
  border-top: 1px solid var(--grey-100);
  display: flex;
  align-items: center;
  gap: 12px;
}
.svc ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}
.svc .learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding-top: 4px;
  cursor: pointer;
}
.svc .learn svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.svc:hover .learn { color: var(--red); }
.svc:hover .learn svg { transform: translateX(4px); }

/* ========================================================================
   WHO WE ARE
   ======================================================================== */

.who {
  padding: 110px 48px;
  background: var(--off);
  border-bottom: 1px solid var(--grey-200);
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 54px;
}
.who-col {
  background: #fff;
  padding: 34px 30px;
  border: 1px solid var(--grey-200);
  border-radius: 4px;
  transition: all 0.35s var(--ease);
}
.who-col:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 0 16px 40px rgba(10,10,10,0.06);
}
.who-icon {
  width: 50px;
  height: 50px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 24px;
  transition: all 0.35s ease;
}
.who-icon svg { width: 22px; height: 22px; }
.who-col:hover .who-icon {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: rotate(-10deg) scale(1.04);
}
.who-col h3 {
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.who-col p {
  font-size: 15px;
  color: var(--grey-700);
  line-height: 1.65;
  margin: 0;
}
.who-col ul {
  margin: 0;
}
.who-col ul li {
  font-size: 15px;
  color: #2A2A2A;
  padding: 10px 0;
  border-top: 1px solid var(--grey-100);
  display: flex;
  align-items: center;
  gap: 12px;
}
.who-col ul li:first-child { border-top: 0; padding-top: 0; }
.who-col ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========================================================================
   GALLERY (bento)
   ======================================================================== */

.gallery-sec {
  padding: 110px 48px 120px;
  border-bottom: 1px solid var(--grey-200);
}
.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 48px;
  gap: 40px;
}
.gallery-head .count {
  font-size: 11px;
  color: var(--grey-600);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
}
.gallery-head .count::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--red);
}
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 8px;
}
.bento-p {
  margin: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--grey-200);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.45s var(--ease);
  cursor: zoom-in;
  position: relative;
}
.bento-p::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.45), transparent 40%);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.bento-p::before {
  content: attr(data-cap);
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}
.bento-p:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(10,10,10,0.18); }
.bento-p:hover::after { opacity: 0.35; }
.bento-p.featured { grid-column: span 2; grid-row: span 2; }
.bento-p.tall { grid-row: span 2; }
.bento-p.wide { grid-column: span 2; }

/* Per-image background URLs (kept in CSS, not inline, for stricter CSP) */
.bento-p--p1 { background-image: url('../img/p1.jpg'); }
.bento-p--p2 { background-image: url('../img/p2.jpg'); }
.bento-p--p3 { background-image: url('../img/p3.jpg'); }
.bento-p--p4 { background-image: url('../img/p4.jpg'); }
.bento-p--p5 { background-image: url('../img/p5.jpg'); }
.bento-p--p6 { background-image: url('../img/p6.jpg'); }
.bento-p--p7 { background-image: url('../img/p7.jpg'); }
.bento-p--p8 { background-image: url('../img/p8.jpg'); }

/* ========================================================================
   CTA (dark)
   ======================================================================== */

.cta-dark {
  background: var(--ink);
  color: #FFF;
  padding: 120px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-dark::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(209,61,45,0.22), transparent 65%);
  pointer-events: none;
}
.cta-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}
.cta-inner { position: relative; z-index: 2; }
.cta-dark .kicker { color: var(--red); display: inline-flex; gap: 12px; }
.cta-dark .kicker::before, .cta-dark .kicker::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--red);
}
.cta-dark h2 {
  font-weight: 600;
  font-size: 76px;
  color: #FFF;
  letter-spacing: -0.04em;
  margin: 24px 0 26px;
  line-height: 0.98;
}
.cta-dark h2 .r { color: var(--red); }
.cta-dark p {
  font-size: 16px;
  color: rgba(255,255,255,0.68);
  margin: 0 auto 36px;
  max-width: 520px;
  line-height: 1.6;
}
.cta-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cta-row .b1, .cta-row .b2 {
  padding: 17px 28px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  min-height: 48px;
  transition: all 0.22s ease;
}
.cta-row .b1 svg, .cta-row .b2 svg { width: 14px; height: 14px; }
.cta-row .b1 { background: var(--red); color: #fff; }
.cta-row .b1:hover { background: #fff; color: var(--ink); transform: translateY(-1px); }
.cta-row .b2 { color: #FFF; border: 1.5px solid rgba(255,255,255,0.3); background: transparent; }
.cta-row .b2:hover { background: #fff; color: var(--ink); border-color: #fff; }

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

.footer {
  background: #FFF;
  padding: 56px 48px 26px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  font-size: 13px;
  color: var(--grey-700);
  line-height: 1.9;
  border-top: 1px solid var(--grey-200);
}
.footer b {
  color: var(--ink);
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.foot-brand img { width: 52px; height: 52px; object-fit: contain; }
.foot-brand b {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: none;
}
.foot-brand span {
  display: block;
  font-size: 10px;
  color: var(--grey-600);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.footer .tag {
  font-size: 14px;
  color: var(--grey-700);
  line-height: 1.6;
  margin: 0;
  max-width: 340px;
}
.footer ul li {
  cursor: pointer;
  padding: 3px 0;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer ul li svg { width: 12px; height: 12px; color: var(--grey-400); flex-shrink: 0; }
.footer ul li a { transition: color 0.2s ease; }
.footer ul li a:hover, .footer ul li:hover { color: var(--red); }
.footer .fine {
  grid-column: 1 / -1;
  border-top: 1px solid var(--grey-200);
  padding-top: 22px;
  margin-top: 22px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  color: var(--grey-600);
  letter-spacing: 0.02em;
  flex-wrap: wrap;
  gap: 10px;
}

/* ========================================================================
   RESPONSIVE — tablet ≤900px
   ======================================================================== */

@media (max-width: 900px) {
  .nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav .brand-label { display: none; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 56px 28px 40px; order: 2; }
  .hero h1 { font-size: 54px; }
  .lead { font-size: 16px; }
  .hero-photo { order: 1; height: 320px; background-size: contain; }

  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip-item { border-right: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); padding: 22px 20px; }
  .strip-item:nth-child(2n) { border-right: 0; }
  .strip-item:nth-last-child(-n+2) { border-bottom: 0; }
  .strip-item .n { font-size: 22px; }

  .about { grid-template-columns: 1fr; gap: 36px; padding: 80px 28px; }
  .about-left { position: static; }
  .about h2 { font-size: 36px; }
  .about-body p { font-size: 16px; }

  .services { padding: 80px 28px; }
  .sec-head h2 { font-size: 40px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc { padding: 32px 28px; }
  .svc h3 { font-size: 24px; }

  .who { padding: 80px 28px; }
  .who-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }

  .gallery-sec { padding: 80px 28px 90px; }
  .gallery-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 6px; }
  .bento-p.featured { grid-column: span 2; grid-row: span 2; }
  .bento-p.tall { grid-row: span 1; }
  .bento-p.wide { grid-column: span 2; }

  .cta-dark { padding: 80px 28px; }
  .cta-dark h2 { font-size: 48px; }
  .cta-row { flex-direction: column; gap: 8px; }
  .cta-row .b1, .cta-row .b2 { width: 100%; justify-content: center; }

  .footer { grid-template-columns: 1fr 1fr; gap: 30px; padding: 44px 28px 24px; }
  .footer > div:first-child { grid-column: 1 / -1; }
}

/* ========================================================================
   RESPONSIVE — phone ≤600px
   ======================================================================== */

@media (max-width: 600px) {
  .nav { padding: 12px 20px; }
  .nav .brand img { width: 40px; height: 40px; }
  .phone-cta { padding: 10px 14px; font-size: 11px; }

  .hero-copy { padding: 44px 20px 36px; }
  .hero h1 { font-size: 44px; }
  .eyebrow { font-size: 10px; margin-bottom: 18px; }
  .lead { font-size: 15px; margin-bottom: 28px; }
  .ctas { flex-direction: column; gap: 8px; width: 100%; }
  .ctas .btn-p, .ctas .btn-s { width: 100%; justify-content: center; }
  .hero-photo { height: 260px; }

  .strip-item .n { font-size: 18px; }
  .strip-item .l { font-size: 11px; }

  .about { padding: 60px 20px; }
  .about h2 { font-size: 30px; }
  .about-body p { font-size: 15px; }

  .services { padding: 60px 20px; }
  .sec-head h2 { font-size: 32px; }
  .svc { padding: 28px 22px; }
  .svc h3 { font-size: 22px; }

  .who { padding: 60px 20px; }
  .who-col { padding: 28px 22px; }
  .who-col h3 { font-size: 20px; }

  .gallery-sec { padding: 60px 20px 70px; }
  .bento { grid-auto-rows: 110px; }

  .cta-dark { padding: 70px 20px; }
  .cta-dark h2 { font-size: 38px; margin: 20px 0; }
  .cta-dark p { font-size: 15px; }

  .footer { grid-template-columns: 1fr; gap: 22px; padding: 40px 20px 20px; }
  .footer .fine { flex-direction: column; gap: 6px; }
  .marquee-track { font-size: 11px; gap: 28px; }
  .mobile-menu ul a { font-size: 24px; }
}
