/* Dellamano Construction Inc. — design system v2
   Rooted in the logo's DNA: 5-stack red chevrons, 5-stack silver chevrons,
   two red horizontal rules top-and-bottom, brutalist condensed wordmark.
   Palette: near-black canvas, chevron red, brushed silver.
   Type: Archivo Black (brutalist display) + Inter Tight (h2/h3) + Inter (body) + Fraunces italic (eyebrow). */

:root {
  --bg:            #0A0A0A;
  --bg-deep:       #050505;
  --bg-elevated:   #141414;
  --bg-surface:    #1C1C1C;
  --red:           #E11B22;         /* warmer, more signage-red — matches logo */
  --red-hover:     #F02830;
  --red-dark:      #8F0F14;
  --red-glow:      rgba(225, 27, 34, 0.28);
  --silver:        #E8E8E8;
  --silver-dim:    #A8A8A8;
  --silver-deep:   #6E6E6E;
  --text:          #F5F5F5;
  --text-dim:      rgba(245, 245, 245, 0.66);
  --text-mute:     rgba(245, 245, 245, 0.42);
  --divider:       rgba(232, 232, 232, 0.10);
  --divider-strong:rgba(232, 232, 232, 0.22);
  --font-brutal:   'Archivo Black', 'Inter Tight', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display:  'Inter Tight', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-serif:    'Fraunces', 'Times New Roman', serif;
  --font-mono:     'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --wrap:          1360px;
  --wrap-narrow:   960px;
  --gutter:        clamp(20px, 5vw, 56px);
  --radius-sm:     3px;
  --radius:        6px;
  --radius-lg:     12px;
  --shadow-lg:     0 30px 80px -20px rgba(0,0,0,0.6), 0 12px 24px -12px rgba(0,0,0,0.45);
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);

  /* Metallic silver gradient — the numeral/heading polish */
  --silver-metal: linear-gradient(180deg, #F4F4F4 0%, #C0C0C0 45%, #8B8B8B 55%, #DCDCDC 90%, #A0A0A0 100%);
  --silver-metal-text: linear-gradient(180deg, #F4F4F4 0%, #D8D8D8 40%, #A0A0A0 60%, #E4E4E4 100%);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--red); color: #fff; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); position: relative; }
.wrap-narrow { max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: var(--gutter); }

/* ─── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  color: var(--text);
}
h1 {
  font-family: var(--font-brutal);
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.03em;
  line-height: 0.98;
}
h2 { font-size: clamp(32px, 4.2vw, 54px); letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.02em; line-height: 1.15; }
h4 { font-size: 18px; letter-spacing: -0.01em; line-height: 1.3; }
p  { margin: 0 0 1em; color: var(--text-dim); font-size: clamp(15px, 1.05vw, 18px); }
p.lede { font-size: clamp(18px, 1.6vw, 22px); color: var(--text); line-height: 1.5; }

/* Silver-metallic text treatment for hero numerals + big accents */
.metal {
  background: var(--silver-metal-text);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  text-shadow: none;
}
.metal-heavy {
  background: var(--silver-metal);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 3px;
  background: var(--red);
  display: inline-block;
}
.eyebrow-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--silver-dim);
  text-transform: none;
}
.eyebrow-serif::before { display: none; }

.rule { height: 1px; background: var(--divider); border: 0; margin: 0; }
.rule-red { height: 3px; background: var(--red); border: 0; width: 80px; }

/* ─── Chevron design system — logo DNA repeated as pattern ────────────────── */
/* The two red rules — top & bottom — echo the logo's horizontal red bands.
   Applied to sections that need "framed like the logo" treatment. */
.chev-frame {
  position: relative;
}
.chev-frame::before,
.chev-frame::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: var(--red);
  z-index: 2;
}
.chev-frame::before { top: 0; }
.chev-frame::after  { bottom: 0; }

/* Red chevron stack — used as inline mark next to eyebrows / headings */
.chev-mark {
  display: inline-block;
  width: 18px;
  height: 66px;
  background-image: url('/assets/chevron-red.svg');
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  flex-shrink: 0;
}
.chev-mark-silver {
  display: inline-block;
  width: 18px;
  height: 66px;
  background-image: url('/assets/chevron-silver.svg');
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Section-header lockup — red chev mark + eyebrow + h2 stacked vertically like the logo */
.head-lockup {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 56px;
}
.head-lockup .chev-mark { height: 96px; width: 24px; }
.head-lockup .head-body { flex: 1; }
.head-lockup h2 { margin-top: 14px; }
.head-lockup p  { margin-top: 22px; color: var(--text-dim); font-size: 17px; max-width: 60ch; }
@media (max-width: 700px) {
  .head-lockup { gap: 18px; }
  .head-lockup .chev-mark { height: 64px; width: 16px; }
}

/* Section divider — a thin red bar with logo-style geometry between sections */
.chev-divider {
  height: 3px;
  background: var(--red);
  border: 0;
  width: 100%;
  margin: 0;
  opacity: 0.55;
}

/* ─── Header / Nav ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 6, 6, 0.9);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--divider);
  box-shadow: 0 3px 0 var(--red);  /* the logo's top-red-rule, echoed under the nav */
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.brand img { height: 44px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  padding: 0;
  margin: 0 auto 0 0;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-brutal);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
  box-shadow: 0 6px 18px -6px var(--red-glow);
}
.nav-cta:hover { background: var(--red-hover); transform: translateY(-1px); box-shadow: 0 10px 24px -6px var(--red-glow); }
.nav-phone {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--silver);
  letter-spacing: 0.02em;
}
.nav-phone svg { width: 14px; height: 14px; color: var(--red); flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle svg { width: 24px; height: 24px; }

.nav-links li { flex-shrink: 0; }
@media (max-width: 1180px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { padding: 10px 14px; font-size: 11px; }
  .brand img { height: 36px; }
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--divider);
  background: var(--bg-elevated);
}
.mobile-menu.open { display: block; }
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 12px 0;
}
.mobile-menu a {
  display: block;
  padding: 14px var(--gutter);
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--divider);
}
.mobile-menu a:last-child { border-bottom: 0; }

/* ─── Hero — logo-mark backdrop + brutalist type ─────────────────────────── */
.hero {
  position: relative;
  padding: clamp(90px, 14vh, 160px) 0 clamp(70px, 12vh, 130px);
  overflow: hidden;
  background: #060606;
  /* Two red rules bookending the hero echo the logo's construction. */
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
}
/* Photo backdrop — when a page sets --photo, layer it under a dark red-scrim gradient. */
.hero.has-photo {
  background:
    linear-gradient(120deg, rgba(6,6,6,0.94) 0%, rgba(6,6,6,0.78) 42%, rgba(20,4,4,0.65) 100%),
    var(--photo, none) center/cover no-repeat,
    #060606;
}
/* Ambient logo-mark backdrop — huge, low-opacity, positioned right */
.hero::before {
  content: '';
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%) rotate(-2deg);
  width: min(72vw, 900px);
  height: min(72vw, 900px);
  background-image: url('/assets/mark.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.09;
  pointer-events: none;
  filter: saturate(1.1);
  z-index: 0;
}
.hero.has-photo::before { opacity: 0.14; }
/* Radial red glow behind copy */
.hero::after {
  content: '';
  position: absolute;
  left: -10%;
  top: -20%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--red-glow), transparent 65%);
  pointer-events: none;
  filter: blur(20px);
}
.hero > .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
}
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hero-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(19px, 1.8vw, 26px);
  color: var(--silver);
  line-height: 1.35;
  margin: 0 0 32px;
  max-width: 44ch;
  border-left: 3px solid var(--red);
  padding-left: 22px;
}
.hero-h1 {
  margin: 0 0 26px;
  text-transform: uppercase;
}
.hero-h1 .line { display: block; }
.hero-h1 .line-metal { background: var(--silver-metal-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-h1 .accent-red { color: var(--red); }
.hero-sub {
  font-size: clamp(16px, 1.15vw, 19px);
  color: var(--text-dim);
  max-width: 50ch;
  margin: 0 0 40px;
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-brutal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  cursor: pointer;
  border: 0;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px -6px var(--red-glow);
}
.btn-primary:hover { background: var(--red-hover); transform: translateY(-2px); box-shadow: 0 14px 32px -6px var(--red-glow); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--divider-strong);
}
.btn-outline:hover { border-color: var(--silver); }
.btn svg { width: 15px; height: 15px; }

/* Hero right column — license reveal card, restyled to feel like a metal panel */
.license-reveal {
  position: relative;
  border: 1px solid var(--divider-strong);
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.92), rgba(10, 10, 10, 0.92));
  padding: 40px 36px 36px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
/* silver chevron flourish top-right */
.license-reveal::before {
  content: '';
  position: absolute;
  right: 20px; top: 20px;
  width: 22px; height: 78px;
  background-image: url('/assets/chevron-silver.svg');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.85;
}
.license-reveal-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.32em;
  font-weight: 700;
  color: var(--silver-dim);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 40px);
}
.license-reveal-eyebrow::before {
  content: '';
  width: 22px; height: 2px; background: var(--red);
}
.license-reveal-title {
  font-family: var(--font-brutal);
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.1;
  text-transform: uppercase;
  max-width: calc(100% - 40px);
}
.license-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--divider);
}
.license-item {
  display: grid;
  grid-template-columns: 4px 1fr auto;
  gap: 14px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--divider);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  align-items: center;
}
.license-item:hover {
  background: rgba(225, 27, 34, 0.05);
  transform: translateX(3px);
}
.license-item .bar {
  height: 100%;
  background: var(--red);
}
.license-item .label {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.license-item .label .trade {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  font-family: var(--font-display);
}
.license-item .label .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--silver-dim);
  letter-spacing: 0.05em;
}
.license-item .verify {
  font-size: 10px;
  color: var(--silver-dim);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  align-self: center;
  transition: color 0.2s var(--ease);
  font-weight: 600;
}
.license-item:hover .verify { color: var(--red); }
.license-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--silver-dim);
  line-height: 1.55;
  margin: 0;
}

/* ─── Stat ribbon ────────────────────────────────────────────────────────── */
.stat-ribbon {
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: linear-gradient(180deg, #0E0E0E 0%, #080808 100%);
}
.stat-ribbon-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 900px) {
  .stat-ribbon-inner { grid-template-columns: repeat(2, 1fr); }
}
.stat {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--divider);
  position: relative;
}
.stat:last-child { border-right: 0; }
@media (max-width: 900px) {
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--divider); }
}
.stat-num {
  font-family: var(--font-brutal);
  font-size: clamp(40px, 4.2vw, 60px);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
  background: var(--silver-metal-text);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.stat-num .accent { color: var(--red); background: none; -webkit-text-fill-color: var(--red); }
.stat-num.accent-red { background: none; color: var(--red); -webkit-text-fill-color: var(--red); }
.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--silver-dim);
  font-weight: 700;
}

/* ─── Section base ───────────────────────────────────────────────────────── */
section { padding: clamp(80px, 12vh, 140px) 0; }
section.dense { padding: clamp(60px, 8vh, 100px) 0; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 56px;
  max-width: 720px;
}
.section-head p { margin: 0; color: var(--text-dim); font-size: 17px; line-height: 1.55; }
.section-head-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: end;
}
@media (max-width: 900px) {
  .section-head-split { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── Reviews rail ───────────────────────────────────────────────────────── */
.reviews-summary {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(225, 27, 34, 0.10), rgba(225, 27, 34, 0.04));
  border: 1px solid rgba(225, 27, 34, 0.28);
  margin-bottom: 32px;
}
.reviews-summary .stars {
  color: var(--red);
  letter-spacing: 2px;
  font-size: 16px;
  font-weight: 700;
}
.reviews-summary .score {
  font-family: var(--font-brutal);
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.reviews-summary .count {
  color: var(--silver-dim);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.reviews-summary a {
  color: var(--silver);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  padding-left: 18px;
  border-left: 1px solid var(--divider-strong);
  font-family: var(--font-brutal);
}
.reviews-summary a:hover { color: var(--red); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.review-card {
  padding: 28px 28px 22px;
  border: 1px solid var(--divider);
  border-top: 3px solid var(--red);
  border-radius: 0;
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
  position: relative;
}
.review-card:hover { background: var(--bg-surface); transform: translateY(-3px); }
.review-card::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  opacity: 0.4;
}
.review-stars { color: var(--red); font-size: 15px; letter-spacing: 4px; }
.review-body {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  margin: 0;
  quotes: "\201C" "\201D";
}
.review-body::before { content: open-quote; color: var(--red); font-size: 36px; line-height: 0; vertical-align: -18px; margin-right: 4px; }
.review-body::after  { content: close-quote; color: var(--red); font-size: 36px; line-height: 0; vertical-align: -18px; margin-left: 4px; }
.review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--divider);
}
.review-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
  font-family: var(--font-display);
}
.review-time {
  font-size: 12px;
  color: var(--silver-dim);
  margin-left: auto;
}
.review-source {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--silver-dim);
  font-weight: 700;
}

/* ─── Services grid ──────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  border-radius: 0;
  overflow: hidden;
}
.service-tile {
  background: var(--bg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.25s var(--ease);
  position: relative;
  min-height: 240px;
}
.service-tile:hover { background: var(--bg-elevated); }
.service-tile::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease);
}
.service-tile:hover::before { transform: scaleY(1); }
.service-tile .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--silver-dim);
  text-transform: uppercase;
}
.service-tile h3 {
  font-family: var(--font-brutal);
  font-size: 22px;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.service-tile p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.6;
  flex-grow: 1;
}
.service-tile .go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--silver-dim);
  margin-top: auto;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
  font-family: var(--font-brutal);
}
.service-tile:hover .go { color: var(--red); gap: 12px; }

/* ─── Differentiator strip ───────────────────────────────────────────────── */
.diff-strip {
  background: linear-gradient(180deg, #141414 0%, #0A0A0A 100%);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  position: relative;
}
.diff-strip::before {
  /* Faint chevron pattern in background */
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 40%;
  background-image: url('/assets/mark.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right center;
  opacity: 0.04;
  pointer-events: none;
}
.diff-strip > .wrap { position: relative; z-index: 1; }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}
.diff-item h4 {
  font-family: var(--font-brutal);
  font-size: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.diff-item h4 .num {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.diff-item p { font-size: 14px; color: var(--text-dim); margin: 0; line-height: 1.6; }

/* ─── Process ────────────────────────────────────────────────────────────── */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
}
.process-step {
  padding: 40px 28px;
  border-right: 1px solid var(--divider);
  position: relative;
  background: var(--bg-elevated);
}
.process-step:last-child { border-right: 0; }
.process-step .step-num {
  font-family: var(--font-brutal);
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  display: block;
  text-transform: uppercase;
}
.process-step h4 {
  font-family: var(--font-brutal);
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.process-step p { font-size: 13px; color: var(--text-dim); margin: 0; line-height: 1.6; }

/* ─── CTA band ───────────────────────────────────────────────────────────── */
.cta-band {
  background:
    linear-gradient(135deg, rgba(15,15,15,0.92) 0%, rgba(26,8,8,0.82) 55%, rgba(225,27,34,0.35) 100%),
    url('/assets/gallery/030.webp') center/cover no-repeat,
    #060606;
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  padding: clamp(70px, 10vh, 120px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  right: -15%; top: -30%;
  width: 900px; height: 900px;
  background-image: url('/assets/mark.svg');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.06;
  transform: rotate(-6deg);
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(225, 27, 34, 0.18), transparent 65%);
  pointer-events: none;
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) { .cta-band-inner { grid-template-columns: 1fr; gap: 32px; } }
.cta-band h2 {
  font-family: var(--font-brutal);
  font-size: clamp(30px, 3.6vw, 48px);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.cta-band p { color: var(--text-dim); font-size: 17px; max-width: 46ch; }
.cta-band .cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band .cta-actions .btn { justify-content: center; }
.cta-band-phone {
  font-family: var(--font-brutal);
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.02em;
  padding: 16px 18px;
  border: 1px solid var(--divider-strong);
  border-left: 3px solid var(--red);
  text-align: center;
  text-transform: uppercase;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cta-band-phone:hover { background: rgba(225,27,34,0.05); border-color: var(--red); }
.cta-band-phone small {
  display: block; font-family: var(--font-body); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--silver-dim); font-weight: 500; margin-top: 4px;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: #030303;
  border-top: 3px solid var(--red);   /* top red rule — echoes logo */
  padding: 70px 0 30px;
  color: var(--text-dim);
  font-size: 14px;
  position: relative;
}
.site-footer::before {
  /* bottom red rule — the "footer of the logo" */
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--red);
  opacity: 0.6;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 50px;
}
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 48px; margin-bottom: 20px; }
.footer-brand p { font-size: 13px; color: var(--text-mute); max-width: 34ch; line-height: 1.65; }
.footer-col h5 {
  font-family: var(--font-brutal);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--silver);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--text-dim); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--divider);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-mute);
}
.footer-licenses {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--silver-dim);
}
.footer-legal {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  font-size: 12px;
  color: var(--text-mute);
  text-align: center;
  letter-spacing: 0.02em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px 12px;
  flex-wrap: wrap;
}
.footer-legal a { color: var(--silver-dim); transition: color 0.2s var(--ease); }
.footer-legal a:hover { color: var(--red); }
.footer-legal .sep { color: var(--divider-strong); }

.footer-credit {
  margin-top: 12px;
  padding-top: 12px;
  font-size: 11px;
  color: var(--text-mute);
  text-align: center;
  letter-spacing: 0.02em;
}
.footer-credit a {
  color: var(--silver-dim);
  border-bottom: 1px solid var(--divider-strong);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-credit a:hover { color: var(--red); border-color: var(--red); }

/* ─── Standard content pages (page-hero) ─────────────────────────────────── */
.page-hero {
  padding: clamp(90px, 15vh, 150px) 0 clamp(50px, 8vh, 90px);
  background: #060606;
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  position: relative;
  overflow: hidden;
}
.page-hero.has-photo {
  background:
    linear-gradient(115deg, rgba(6,6,6,0.94) 0%, rgba(6,6,6,0.78) 45%, rgba(20,4,4,0.62) 100%),
    var(--photo, none) center/cover no-repeat,
    #060606;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -8%; top: 50%;
  transform: translateY(-50%);
  width: min(56vw, 700px);
  height: min(56vw, 700px);
  background-image: url('/assets/mark.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.05;
  pointer-events: none;
}
.page-hero.has-photo::before { opacity: 0.10; }
.page-hero::after {
  content: '';
  position: absolute;
  left: -8%; top: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--red-glow), transparent 60%);
  pointer-events: none;
  filter: blur(20px);
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(30px, 5.2vw, 68px);
  margin-bottom: 22px;
  text-transform: uppercase;
  max-width: 22ch;
}
.page-hero .lede { max-width: 62ch; color: var(--text-dim); }
@media (max-width: 700px) {
  .page-hero h1 { font-size: clamp(28px, 8vw, 42px); line-height: 1.02; max-width: 100%; }
  .page-hero .lede { font-size: 15px; line-height: 1.55; }
  .breadcrumb { letter-spacing: 0.14em; font-size: 10px; }
}
.breadcrumb {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--silver-dim);
  margin-bottom: 26px;
  font-family: var(--font-brutal);
}
.breadcrumb a { color: var(--silver-dim); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: var(--divider-strong); margin: 0 8px; }

.prose { max-width: 68ch; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--text-dim); margin: 0 0 1.2em; }
.prose h2 { font-size: 32px; margin: 1.6em 0 0.6em; text-transform: uppercase; font-family: var(--font-brutal); letter-spacing: -0.02em; }
.prose h3 { font-size: 22px; margin: 1.5em 0 0.6em; }
.prose ul { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { color: var(--text-dim); font-size: 17px; margin-bottom: 8px; }
.prose strong { color: var(--text); font-weight: 600; }

/* ─── Utility ─────────────────────────────────────────────────────────────  */
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
@media (max-width: 700px) { .hide-on-mobile { display: none !important; } }

/* ─── Portfolio grid ─────────────────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}
.portfolio-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--divider);
  border-top: 3px solid var(--red);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
  position: relative;
}
.portfolio-card:hover { transform: translateY(-4px); border-color: var(--red); }
.portfolio-card::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  opacity: 0.5;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.portfolio-card:hover::after { transform: scaleX(1); opacity: 1; }
.portfolio-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #101010;
}
.portfolio-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,6,6,0) 45%, rgba(6,6,6,0.8) 100%);
}
.portfolio-num {
  position: absolute;
  left: 20px; bottom: 16px;
  z-index: 1;
  font-family: var(--font-brutal);
  font-size: 32px;
  color: var(--red);
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.portfolio-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.portfolio-cat {
  font-family: var(--font-brutal);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--silver-dim);
}
.portfolio-body h3 {
  font-family: var(--font-brutal);
  font-size: 22px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
.portfolio-body p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

/* ─── Gallery grids / strips / masonry ───────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--divider-strong) transparent;
}
.gallery-strip::-webkit-scrollbar { height: 8px; }
.gallery-strip::-webkit-scrollbar-track { background: transparent; }
.gallery-strip::-webkit-scrollbar-thumb { background: var(--divider-strong); border-radius: 4px; }
.gallery-strip .gallery-card { flex: 0 0 320px; scroll-snap-align: start; }

.gallery-masonry {
  columns: 320px 4;
  column-gap: 16px;
}
.gallery-masonry .gallery-card {
  break-inside: avoid;
  margin-bottom: 16px;
  display: block;
}

.gallery-card {
  display: block;
  background: var(--bg-elevated);
  border: 1px solid var(--divider);
  border-top: 3px solid var(--red);
  overflow: hidden;
  position: relative;
  color: inherit;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.gallery-card:hover { transform: translateY(-3px); border-color: var(--red); }
.gallery-card .photo {
  aspect-ratio: 4 / 3;
  background-color: #101010;
  position: relative;
  overflow: hidden;
}
.gallery-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-card .photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,6,6,0) 60%, rgba(6,6,6,0.55) 100%);
  pointer-events: none;
}
.gallery-card .body { padding: 14px 16px 16px; }
.gallery-card .scope {
  font-family: var(--font-brutal);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--red);
  display: block;
  margin-bottom: 6px;
}
.gallery-card .caption {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.55;
}

.gallery-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--divider);
}
.gallery-filter button {
  padding: 10px 18px;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--divider-strong);
  font-family: var(--font-brutal);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  border-radius: 0;
}
.gallery-filter button:hover {
  background: rgba(225, 27, 34, 0.08);
  color: var(--text);
  border-color: rgba(225, 27, 34, 0.5);
}
.gallery-filter button.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ─── Case study articles (portfolio) ────────────────────────────────────── */
.case-studies { display: flex; flex-direction: column; gap: 80px; }
.case-study {
  position: relative;
  padding-top: 40px;
  border-top: 3px solid var(--red);
}
.case-study-num {
  position: absolute;
  top: -14px;
  left: 0;
  background: var(--bg-deep);
  padding: 6px 14px;
  font-family: var(--font-brutal);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--red);
}
.case-study-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .case-study-grid { grid-template-columns: 1fr; gap: 28px; } .case-studies { gap: 60px; } }

.case-study-photos {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 100px;
}
@media (max-width: 900px) { .case-study-photos { position: static; } }
.case-study-photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--divider);
  display: block;
}
.case-study-photos img:first-child {
  border-top: 3px solid var(--red);
}

.case-study-meta { margin-bottom: 28px; }

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--divider);
  margin-bottom: 32px;
  background: var(--bg-elevated);
}
@media (max-width: 700px) { .case-study-stats { grid-template-columns: 1fr; } }
.case-study-stats > div {
  padding: 16px 20px;
  border-right: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.case-study-stats > div:nth-child(2n) { border-right: 0; }
.case-study-stats > div:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 700px) {
  .case-study-stats > div { border-right: 0; }
  .case-study-stats > div:last-child { border-bottom: 0; }
}
.case-study-stats .k {
  font-family: var(--font-brutal);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--silver-dim);
}
.case-study-stats .v {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.case-study-narrative { margin-bottom: 32px; }
.case-study-narrative p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0 0 8px;
}
.case-study-narrative p strong { color: var(--text); }

.case-study-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 20px;
  background: rgba(225, 27, 34, 0.04);
  border: 1px solid rgba(225, 27, 34, 0.18);
  border-left: 3px solid var(--red);
  margin-bottom: 32px;
}
.case-study-stack > div { display: flex; flex-direction: column; gap: 4px; }
.case-study-stack .k {
  font-family: var(--font-brutal);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
}
.case-study-stack .v {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}

.case-study-quote {
  margin: 0 0 24px;
  padding: 24px 28px;
  background: var(--bg-elevated);
  border-left: 3px solid var(--red);
  position: relative;
}
.case-study-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 12px;
}
.case-study-quote cite {
  font-family: var(--font-brutal);
  font-style: normal;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--silver-dim);
}

/* ─── Lightbox (portfolio image viewer) ──────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6, 6, 6, 0.94);
  backdrop-filter: blur(14px) saturate(110%);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox-frame {
  max-width: 100%;
  max-height: 100%;
  width: min(1200px, 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  position: relative;
}
.lightbox-photo-wrap {
  position: relative;
  background: #060606;
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.8);
}
.lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 76vh;
  object-fit: contain;
  background: #060606;
}
.lightbox-meta {
  padding: 4px 4px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.lightbox-meta > div:first-child {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.lightbox-counter {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--silver-dim);
  letter-spacing: 0.15em;
}
.lightbox-scope {
  font-family: var(--font-brutal);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--red);
}
.lightbox-caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
  max-width: 68ch;
}
.lightbox-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-brutal);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.lightbox-cta:hover { background: var(--red-hover); transform: translateY(-1px); }
.lightbox-cta svg { width: 14px; height: 14px; }

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(20, 20, 20, 0.92);
  color: #fff;
  border: 1px solid var(--divider-strong);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.lightbox-close:hover, .lightbox-nav:hover {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.05);
}
.lightbox-close {
  top: 24px;
  right: 24px;
  font-size: 28px;
}
.lightbox-nav.prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-nav.next:hover { transform: translateY(-50%) scale(1.05); }
@media (max-width: 700px) {
  .lightbox { padding: 16px; }
  .lightbox-frame { gap: 16px; }
  .lightbox-img { max-height: 60vh; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 22px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 22px; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
  .lightbox-caption { font-size: 15px; }
}

/* Portfolio card CTA-affordance: cursor + subtle scale on tap */
.gallery-masonry .gallery-card { cursor: zoom-in; }
.gallery-masonry .gallery-card:active { transform: scale(0.99); }

/* ─── Floating contact FABs (call + text) ───────────────────────────────── */
.floating-contact {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,0.6), 0 0 0 6px rgba(225,27,34,0.14);
  z-index: 200;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  border: 2px solid rgba(255,255,255,0.08);
}
.floating-contact:hover, .floating-contact:focus-visible {
  background: var(--red-hover);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 30px -6px rgba(0,0,0,0.7), 0 0 0 8px rgba(225,27,34,0.22);
  outline: 0;
}
.floating-contact:active { transform: translateY(0) scale(0.98); }
.floating-contact svg { width: 22px; height: 22px; }
.floating-contact.call { right: calc(18px + env(safe-area-inset-right, 0px)); }
.floating-contact.text { left: calc(18px + env(safe-area-inset-left, 0px)); }
.floating-contact .label {
  position: absolute;
  bottom: 100%;
  margin-bottom: 8px;
  padding: 6px 10px;
  background: rgba(6,6,6,0.9);
  color: var(--text);
  border: 1px solid var(--divider-strong);
  font-family: var(--font-brutal);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.floating-contact.call .label { right: 0; }
.floating-contact.text .label { left: 0; }
.floating-contact:hover .label, .floating-contact:focus-visible .label { opacity: 1; transform: translateY(0); }
@media (max-width: 700px) {
  .floating-contact { width: 54px; height: 54px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .floating-contact.call { right: calc(14px + env(safe-area-inset-right, 0px)); }
  .floating-contact.text { left: calc(14px + env(safe-area-inset-left, 0px)); }
  .floating-contact .label { display: none; }
}

/* ─── Reveal-on-scroll ───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
