/* ============================================================
   JAZ RENOVATIONS & PAINT GUYS — Design System
   Direction: "Coastal Industrial Editorial"
   Palette:   Ink Navy / Warm Paper / Slate / Brass
   Type:      Fraunces (display) + Archivo (body)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --ink:        #0A1828;   /* deepest navy — dark page bg */
  --ink-2:      #0F2236;   /* raised navy surface */
  --ink-3:      #16304A;   /* navy borders / lines on dark */
  --navy:       #1E3A5F;   /* brand navy */
  --paper:      #F4F1EA;   /* warm paper */
  --paper-2:    #EAE6DC;   /* deeper paper */
  --white:      #FFFFFF;
  --slate:      #9AA8BA;   /* cool gray text on dark */
  --slate-2:    #6E7E92;   /* muted on dark / strong muted on light */
  --ink-text:   #142435;   /* body text on light */
  --slate-dark: #46586C;   /* secondary text on light */
  --brass:      #C28A33;   /* accent */
  --brass-2:    #DCA94E;   /* accent hover / on dark */
  --line-dark:  rgba(244, 241, 234, 0.12);
  --line-light: rgba(20, 36, 53, 0.14);

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --text-hero:    clamp(2.75rem, 1.2rem + 6.5vw, 6.25rem);
  --text-display: clamp(2.25rem, 1.2rem + 4vw, 4.5rem);
  --text-h2:      clamp(1.9rem, 1.2rem + 2.6vw, 3.25rem);
  --text-h3:      clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --text-lead:    clamp(1.06rem, 1rem + 0.4vw, 1.3rem);
  --text-body:    1.0625rem;
  --text-small:   0.875rem;
  --text-eyebrow: 0.6875rem;

  /* Space */
  --space-section: clamp(5rem, 3rem + 8vw, 10rem);
  --space-block:   clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  --gutter:        clamp(1.25rem, 4vw, 3rem);
  --container:     82rem;

  /* Z-scale */
  --z-nav: 50; --z-menu: 60; --z-cursor: 70;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 250ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink-text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; }
::selection { background: var(--ink); color: var(--paper); }

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

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 480;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); line-height: 1.2; }
.t-italic { font-style: italic; font-weight: 400; }
.t-brass { color: var(--brass-2); }
p { max-width: 65ch; }
.lead { font-size: var(--text-lead); line-height: 1.6; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}
.hero .eyebrow, .page-hero .eyebrow, .post-hero .eyebrow,
.mobile-menu .eyebrow, .form-shell .eyebrow, .site-footer .eyebrow { color: var(--brass-2); }
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--brass);
  flex: none;
}
.eyebrow--bare::before { display: none; }

/* Dark surfaces keep light type now that the page defaults to light */
.hero, .page-hero, .post-hero, .mobile-menu, .site-footer, .form-shell, .cta-band--ink { color: var(--paper); }

/* ---------- Layout ---------- */
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.section { padding-block: var(--space-section); position: relative; }
.section--paper { background: var(--white); color: var(--ink-text); }
.section--paper .eyebrow { color: var(--brass); }
.section--paper ::selection { background: var(--ink); color: var(--paper); }
.section--ink2 { background: var(--paper-2); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: var(--space-block);
  max-width: 52rem;
}
.section-head .lead { color: var(--slate-dark); }
.section--paper .section-head .lead { color: var(--slate-dark); }

.grid-2 {
  display: grid;
  gap: var(--space-block);
  align-items: center;
}
@media (min-width: 56rem) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
}

/* Hairline dividers */
.hairline { border: 0; border-top: 1px solid var(--line-light); }
.section--paper .hairline { border-color: var(--line-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.9rem;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
  will-change: transform;
}
.btn svg { width: 1rem; height: 1rem; flex: none; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--brass { background: var(--brass); color: #0B1322; }
.btn--brass:hover { background: var(--brass-2); }

.btn--ghost { border: 1px solid var(--line-light); color: var(--ink-text); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass); }
.hero .btn--ghost, .page-hero .btn--ghost, .post-hero .btn--ghost,
.mobile-menu .btn--ghost, .form-shell .btn--ghost, .site-footer .btn--ghost {
  border-color: var(--line-dark); color: var(--paper);
}
.hero .btn--ghost:hover, .page-hero .btn--ghost:hover, .post-hero .btn--ghost:hover,
.mobile-menu .btn--ghost:hover, .form-shell .btn--ghost:hover, .site-footer .btn--ghost:hover {
  border-color: var(--brass-2); color: var(--brass-2);
}
.section--paper .btn--ghost { border-color: var(--line-light); color: var(--ink-text); }
.section--paper .btn--ghost:hover { border-color: var(--brass); color: var(--brass); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--navy); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  transition: background-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out),
              transform 350ms var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(8, 17, 29, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header.is-hidden { transform: translateY(-100%); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 560;
  letter-spacing: 0.01em;
  color: var(--paper);
}
.brand span {
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.33em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-top: 0.18rem;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2.1rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 550;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--dur) var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brass-2);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--paper); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta { display: none; align-items: center; gap: 1.4rem; }
.nav-phone {
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--paper);
  white-space: nowrap;
  transition: color var(--dur) var(--ease-out);
}
.nav-phone:hover { color: var(--brass-2); }
.nav .btn { min-height: 2.75rem; padding: 0.6rem 1.4rem; }

@media (min-width: 64rem) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile menu */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 3rem; height: 3rem;
  align-items: center;
  z-index: calc(var(--z-menu) + 1);
  position: relative;
}
.menu-toggle span {
  width: 1.6rem; height: 1.5px;
  background: var(--paper);
  transition: transform 300ms var(--ease-out), opacity 200ms;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.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(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 350ms var(--ease-out), visibility 0s 350ms;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-menu ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mobile-menu ol a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 480;
  color: var(--paper);
  padding: 0.45rem 0;
  transform: translateY(28px);
  opacity: 0;
  transition: transform 500ms var(--ease-out), opacity 400ms var(--ease-out), color var(--dur);
}
.mobile-menu ol a em {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--brass-2);
}
.mobile-menu.is-open ol a { transform: translateY(0); opacity: 1; }
.mobile-menu ol li:nth-child(1) a { transition-delay: 60ms; }
.mobile-menu ol li:nth-child(2) a { transition-delay: 110ms; }
.mobile-menu ol li:nth-child(3) a { transition-delay: 160ms; }
.mobile-menu ol li:nth-child(4) a { transition-delay: 210ms; }
.mobile-menu ol li:nth-child(5) a { transition-delay: 260ms; }
.mobile-menu ol li:nth-child(6) a { transition-delay: 310ms; }
.mobile-menu ol a:active, .mobile-menu ol a:hover { color: var(--brass-2); }
.mobile-menu-foot {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--slate);
  font-size: var(--text-small);
}
.mobile-menu-foot a { color: var(--paper); font-weight: 600; }

/* pages with no dark hero: header text goes ink on the light ground */
.light-top .brand strong { color: var(--ink-text); }
.light-top .nav-links a { color: var(--slate-dark); }
.light-top .nav-links a:hover, .light-top .nav-links a[aria-current="page"] { color: var(--ink-text); }
.light-top .nav-phone { color: var(--ink-text); }
.light-top .menu-toggle span { background: var(--ink-text); }
.light-top .site-header.is-scrolled { background: rgba(244, 241, 234, 0.85); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: clamp(7rem, 16vh, 11rem) clamp(2.5rem, 6vh, 4.5rem);
  isolation: isolate;
  overflow: clip;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img, .hero-bg .ph {
  width: 100%; height: 112%;
  object-fit: cover;
  will-change: transform;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,24,40,0.55) 0%, rgba(10,24,40,0.25) 38%, rgba(10,24,40,0.82) 78%, var(--ink) 100%),
    linear-gradient(78deg, rgba(10,24,40,0.85) 0%, rgba(10,24,40,0.35) 55%, rgba(10,24,40,0.1) 100%);
}
.hero-inner { display: flex; flex-direction: column; gap: 2.2rem; }
.hero h1 { max-width: 11em; }
.hero .lead { color: #C9D3DF; max-width: 38rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}
.hero-stats > div {
  padding: 1.4rem 1.5rem 0.2rem 0;
}
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem);
  font-weight: 500;
  color: var(--paper);
  line-height: 1.1;
}
.hero-stats span {
  font-size: 0.8rem;
  font-weight: 550;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
@media (min-width: 56rem) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-stats > div { border-right: 1px solid var(--line-dark); padding-inline: 1.75rem; }
  .hero-stats > div:first-child { padding-left: 0; }
  .hero-stats > div:last-child { border-right: 0; }
}

.scroll-hint {
  position: absolute;
  right: var(--gutter);
  bottom: 2.5rem;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--slate);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-hint::after {
  content: "";
  width: 1px;
  height: 3.4rem;
  background: linear-gradient(var(--brass-2), transparent);
  animation: scrollPulse 2.2s var(--ease-out) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (min-width: 64rem) { .scroll-hint { display: flex; } }

/* ---------- Marquee ---------- */
.marquee {
  --marquee-dur: 30s;
  overflow: clip;
  border-block: 1px solid var(--line-light);
  padding-block: 1.1rem;
  display: flex;
  user-select: none;
  background: var(--white);
}
.marquee-track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 3.5rem;
  padding-right: 3.5rem;
  animation: marquee var(--marquee-dur) linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--slate-dark);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}
.marquee span::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--brass);
  transform: rotate(45deg);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Services editorial list (home) ---------- */
.svc-list { list-style: none; border-top: 1px solid var(--line-light); }
.svc-row { border-bottom: 1px solid var(--line-light); }
.svc-row a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem 2rem;
  padding: 1.6rem 0.5rem;
  position: relative;
  transition: padding-left 300ms var(--ease-out), background-color 300ms var(--ease-out);
}
.svc-row .svc-idx {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--brass);
  min-width: 2.2rem;
}
.svc-row .svc-name {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1rem + 1.8vw, 2.4rem);
  font-weight: 480;
  line-height: 1.1;
  color: var(--ink-text);
  transition: color var(--dur) var(--ease-out);
}
.svc-row .svc-tag {
  grid-column: 2;
  font-size: 0.84rem;
  color: var(--slate-dark);
  max-width: 46ch;
}
.svc-row .svc-arrow {
  grid-row: 1 / span 2;
  grid-column: 3;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-text);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out), transform 300ms var(--ease-out);
}
.svc-row .svc-arrow svg { width: 1rem; height: 1rem; }
.svc-row a:hover { padding-left: 1.4rem; }
.svc-row a:hover .svc-name { color: var(--brass); }
.svc-row a:hover .svc-arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--brass-2);
  transform: rotate(-45deg);
}

/* Floating hover preview (desktop, JS-driven) */
.svc-preview {
  position: fixed;
  z-index: var(--z-cursor);
  width: 17rem;
  aspect-ratio: 4 / 3;
  pointer-events: none;
  overflow: hidden;
  border-radius: 3px;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out);
  box-shadow: 0 24px 60px -12px rgba(10, 24, 40, 0.45);
  display: none;
}
@media (min-width: 64rem) and (hover: hover) { .svc-preview { display: block; } }
.svc-preview.is-visible { opacity: 1; transform: scale(1); }
.svc-preview img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
}
.svc-preview img.is-active { opacity: 1; }

/* ---------- Image frames ---------- */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}
.frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.frame--arch { border-radius: 999px 999px 3px 3px; }
.frame--tall { aspect-ratio: 3 / 4; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--square { aspect-ratio: 1; }
.frame-caption {
  position: absolute;
  left: 1rem; bottom: 1.1rem;
  padding: 0.5rem 1.05rem;
  background: #EFE9DB;
  color: var(--ink-text);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(-1.6deg);
  clip-path: polygon(1.5% 10%, 99% 0%, 100% 88%, 0.5% 100%);
  box-shadow: 0 3px 10px rgba(10, 24, 40, 0.25);
}

/* placeholder art (pre-photography) */
.ph {
  width: 100%; height: 100%;
  background:
    radial-gradient(120% 90% at 20% 10%, var(--ink-3) 0%, transparent 50%),
    radial-gradient(120% 120% at 85% 90%, var(--navy) 0%, transparent 55%),
    linear-gradient(160deg, var(--ink-2), var(--ink));
  display: grid;
  place-items: center;
}
.ph::after {
  content: attr(data-label);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--slate-2);
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }
.checklist li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 1rem;
}
.checklist li svg {
  width: 1.35rem; height: 1.35rem;
  flex: none;
  margin-top: 0.18rem;
  color: var(--brass);
}
.checklist li strong { display: block; font-weight: 650; }
.checklist li span { color: var(--slate-dark); font-size: 0.92rem; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  gap: 2.5rem;
  counter-reset: step;
}
@media (min-width: 56rem) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.step {
  position: relative;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-light);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -0.85rem;
  left: 0;
  background: var(--paper);
  padding-right: 0.9rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--brass);
}
.section--paper .step::before { background: var(--white); }
.step h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.step p { font-size: 0.95rem; color: var(--slate-dark); }

/* ---------- Cards / work strip ---------- */
.work-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 27rem);
  gap: 1.5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 0.25rem var(--gutter) 1.75rem;
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: thin;
  scrollbar-color: var(--line-light) transparent;
}
@media (min-width: 82rem) {
  .work-strip {
    padding-inline: calc((100vw - var(--container)) / 2);
    margin-inline: calc((100vw - var(--container)) / -2);
  }
}
.work-card { scroll-snap-align: start; }
.work-card .frame { aspect-ratio: 4 / 3; margin-bottom: 1.1rem; }
.work-card .frame img { transition: transform 700ms var(--ease-out); }
.work-card:hover .frame img { transform: scale(1.045); }
.work-card h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.work-card p { font-size: 0.875rem; color: var(--slate-dark); }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) { .quote-grid { grid-template-columns: 1fr 1fr; } }
.quote-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 3px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.quote-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.45rem);
  font-weight: 450;
  line-height: 1.45;
  color: var(--ink-text);
}
.quote-card blockquote::before { content: "“"; color: var(--brass); }
.quote-card blockquote::after { content: "”"; color: var(--brass); }
.quote-meta { display: flex; align-items: center; gap: 1rem; margin-top: auto; }
.quote-meta .stars { display: flex; gap: 2px; color: var(--brass); }
.quote-meta .stars svg { width: 0.95rem; height: 0.95rem; }
.quote-meta cite {
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--ink-text);
}
.quote-meta cite span { display: block; font-weight: 450; color: var(--slate-dark); font-size: 0.8rem; }

/* ---------- Animated testimonials rotator (21st.dev pattern) ---------- */
.testimonials { display: grid; gap: var(--space-block); align-items: center; }
@media (min-width: 60rem) {
  .testimonials { grid-template-columns: 0.85fr 1.15fr; gap: clamp(3rem, 6vw, 6rem); }
}
.testimonials-aside { display: flex; flex-direction: column; }

.greview-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  max-width: 24rem;
  transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.greview-badge:hover { box-shadow: 0 16px 36px -16px rgba(10,24,40,0.25); transform: translateY(-2px); }
.greview-g { flex: none; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; }
.greview-g svg { width: 100%; height: 100%; }
.greview-text { display: flex; flex-direction: column; line-height: 1.3; }
.greview-stars { color: var(--brass); font-size: 0.95rem; letter-spacing: 0.06em; }
.greview-text strong { color: var(--ink-text); font-size: 0.95rem; font-weight: 650; }
.greview-text > span:last-child { color: var(--slate-dark); font-size: 0.78rem; margin-top: 0.1rem; }

.testimonials-nav { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.testimonials-dots { display: flex; gap: 0.5rem; margin-right: auto; }
.testimonials-dots button {
  width: 0.55rem; height: 0.55rem;
  border-radius: 999px;
  background: rgba(20,36,53,0.22);
  cursor: pointer;
  transition: width var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.testimonials-dots button.is-active { width: 2rem; background: var(--brass); }
.t-arrow {
  width: 2.9rem; height: 2.9rem;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-text);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur);
}
.t-arrow svg { width: 1.1rem; height: 1.1rem; }
.t-arrow:hover { background: var(--ink); border-color: var(--ink); color: var(--brass-2); }

.testimonials-stage {
  position: relative;
  display: grid;
}
/* all slides stack in the SAME grid cell, so the stage grows to the tallest
   quote and nothing overflows the card */
.trotate {
  grid-area: 1 / 1 / 2 / 2;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
  transform: translateX(48px) scale(0.95);
  pointer-events: none;
  transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out);
  box-shadow: 0 22px 50px -28px rgba(10,24,40,0.25);
}
.trotate.is-active { opacity: 1; transform: translateX(0) scale(1); pointer-events: auto; }
.trotate.is-leaving { opacity: 0; transform: translateX(-48px) scale(0.95); }
.trotate-quote { width: 2.4rem; height: 2.4rem; color: var(--brass); opacity: 0.85; flex: none; }
.trotate blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.7rem);
  font-weight: 450;
  line-height: 1.4;
  color: var(--ink-text);
}
.trotate .quote-meta { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.9vw, 1.5rem);
  font-weight: 480;
  color: var(--ink-text);
  transition: color var(--dur) var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brass); }
.faq summary .faq-icon {
  width: 2.4rem; height: 2.4rem;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  transition: transform 300ms var(--ease-out), background-color var(--dur), border-color var(--dur);
}
.faq summary .faq-icon svg { width: 0.9rem; height: 0.9rem; }
.faq details[open] summary .faq-icon {
  transform: rotate(45deg);
  background: var(--ink);
  border-color: var(--ink);
  color: var(--brass-2);
}
.faq .faq-body { padding: 0 0.25rem 1.75rem; color: var(--slate-dark); max-width: 60ch; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: clip;
  text-align: center;
  padding-block: var(--space-section);
}
.cta-band h2 { font-size: var(--text-display); margin-inline: auto; max-width: 14em; }
.cta-band .lead { margin: 1.4rem auto 2.4rem; color: var(--slate-dark); }
.cta-band .t-brass { color: var(--brass); }
.cta-band .hero-ctas { justify-content: center; }
.cta-watermark {
  position: absolute;
  inset: auto 0 -0.18em 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(5rem, 16vw, 15rem);
  line-height: 1;
  text-align: center;
  color: var(--ink);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* ---------- Forms ---------- */
.form-shell {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 4px;
  padding: clamp(1.75rem, 4vw, 3rem);
}
/* form-shell is always a dark surface — force light headings even inside paper sections */
.form-shell h2, .form-shell h3 { color: var(--paper); }
.section--paper .form-shell ::selection { background: var(--brass); color: var(--ink); }
.form-grid { display: grid; gap: 1.4rem; }
@media (min-width: 40rem) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.field label em { color: var(--brass-2); font-style: normal; }
.field input, .field select, .field textarea {
  background: rgba(10, 24, 40, 0.6);
  border: 1px solid var(--ink-3);
  border-radius: 3px;
  padding: 0.9rem 1rem;
  color: var(--paper);
  min-height: 3.25rem;
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur);
  width: 100%;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: rgba(10, 24, 40, 0.9);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239AA8BA' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.field select option { color: var(--ink-text); background: var(--paper); }

/* File dropzone */
.dropzone {
  position: relative;
  border: 1.5px dashed var(--ink-3);
  border-radius: 3px;
  padding: 1.9rem 1.25rem;
  text-align: center;
  color: var(--slate);
  font-size: 0.9rem;
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur);
  cursor: pointer;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--brass); background: rgba(194, 138, 51, 0.05); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone strong { color: var(--brass-2); font-weight: 600; }
.dropzone .file-name { display: block; margin-top: 0.4rem; color: var(--paper); font-weight: 600; }

.form-note { font-size: 0.8rem; color: var(--slate-2); }
.form-status {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 3px;
  font-size: 0.92rem;
  font-weight: 550;
}
.form-status.is-ok { display: block; background: rgba(56, 142, 90, 0.15); border: 1px solid rgba(56, 142, 90, 0.4); color: #7FD6A4; }
.form-status.is-err { display: block; background: rgba(196, 84, 64, 0.12); border: 1px solid rgba(196, 84, 64, 0.45); color: #F0A294; }
.btn[disabled] { opacity: 0.55; cursor: progress; }

/* honeypot */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Careers ---------- */
.job-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  transition: box-shadow 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.job-card:hover { box-shadow: 0 22px 48px -18px rgba(10, 24, 40, 0.22); transform: translateY(-3px); }
.job-card-top { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; justify-content: space-between; }
.job-pay {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--brass);
  font-style: italic;
}
.job-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.job-tag {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.38rem 0.75rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: var(--slate-dark);
}
.job-list { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) { .job-list { grid-template-columns: 1fr 1fr; align-items: start; } }
.job-card ul { padding-left: 1.1rem; color: var(--slate-dark); font-size: 0.95rem; display: flex; flex-direction: column; gap: 0.45rem; }

/* Job facts row (painter posting hero) */
.job-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
  max-width: 44rem;
}
.job-facts > div { padding: 1.1rem 1.4rem 0.3rem 0; }
.job-facts span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.3rem;
}
.job-facts strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 500;
  color: var(--paper);
}
@media (min-width: 40rem) {
  .job-facts { grid-template-columns: repeat(4, 1fr); }
  .job-facts > div { border-right: 1px solid var(--line-dark); padding-inline: 1.4rem; }
  .job-facts > div:first-child { padding-left: 0; }
  .job-facts > div:last-child { border-right: 0; }
}

/* Full job posting body */
.job-post { display: flex; flex-direction: column; gap: var(--space-block); }
.job-block h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
  margin-bottom: 1.1rem;
}
.job-block p { color: var(--slate-dark); }
.job-block p + p { margin-top: 0.9rem; }
.job-ul { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.job-ul li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--slate-dark);
  line-height: 1.55;
}
.job-ul li strong { color: var(--ink-text); }
.job-ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--brass);
  transform: rotate(45deg) translateY(-50%);
  transform-origin: top;
}

/* Careers gallery */
.crew-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 56rem) {
  .crew-gallery { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 7.5rem; gap: 1.25rem; }
  .cg-a { grid-column: span 5; grid-row: span 4; }
  .cg-b { grid-column: span 4; grid-row: span 2; }
  .cg-c { grid-column: span 3; grid-row: span 2; }
  .cg-d { grid-column: span 7; grid-row: span 2; }
  .cg-e { grid-column: span 4; grid-row: span 2; }
  .cg-f { grid-column: span 8; grid-row: span 2; }
}
.crew-gallery .frame { height: 100%; min-height: 9rem; }
.crew-gallery .frame img { transition: transform 800ms var(--ease-out); }
.crew-gallery .frame:hover img { transform: scale(1.05); }

/* Values */
.value-grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card {
  border: 1px solid var(--line-light);
  border-radius: 4px;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.value-card svg { width: 1.6rem; height: 1.6rem; color: var(--brass); }
.value-card h3 { font-size: 1.15rem; }
.value-card p { font-size: 0.875rem; color: var(--slate-dark); }

/* ---------- Service page ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(9rem, 22vh, 13rem) clamp(3rem, 7vh, 5rem);
}
.page-hero .hero-bg { z-index: -2; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,24,40,0.82) 0%, rgba(10,24,40,0.62) 42%, rgba(10,24,40,0.85) 84%, var(--ink) 100%),
    linear-gradient(90deg, rgba(10,24,40,0.7) 0%, rgba(10,24,40,0.2) 65%, rgba(10,24,40,0) 100%);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.6rem;
}
.breadcrumbs a { color: var(--slate); transition: color var(--dur); }
.breadcrumbs a:hover { color: var(--brass-2); }
.breadcrumbs svg { width: 0.7rem; height: 0.7rem; opacity: 0.5; }

.included-grid { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .included-grid { grid-template-columns: 1fr 1fr; } }
.included-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 3px;
  font-size: 0.95rem;
  color: var(--ink-text);
}
.included-item svg { width: 1.2rem; height: 1.2rem; flex: none; color: var(--brass); margin-top: 0.15rem; }

.svc-side {
  position: sticky;
  top: 6.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.svc-side .form-shell { padding: 1.75rem; }

/* Other services strip */
.more-svcs {
  display: grid;
  gap: 1px;
  background: var(--line-light);
  border-block: 1px solid var(--line-light);
}
@media (min-width: 40rem) { .more-svcs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .more-svcs { grid-template-columns: repeat(4, 1fr); } }
.more-svcs a {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
  transition: background-color var(--dur) var(--ease-out);
}
.more-svcs a:hover { background: var(--paper-2); }
.more-svcs .svc-idx { font-family: var(--font-display); font-style: italic; color: var(--brass); font-size: 0.9rem; }
.more-svcs strong { font-family: var(--font-display); font-weight: 480; font-size: 1.18rem; line-height: 1.25; color: var(--ink-text); }

/* ---------- Blog index ---------- */
.blog-feature {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 5px;
  overflow: hidden;
  transition: box-shadow 350ms var(--ease-out), transform 350ms var(--ease-out);
}
@media (min-width: 56rem) { .blog-feature { grid-template-columns: 1.15fr 1fr; } }
.blog-feature:hover { box-shadow: 0 28px 60px -28px rgba(10,24,40,0.28); transform: translateY(-3px); }
.blog-feature .frame { aspect-ratio: 16 / 11; height: 100%; }
.blog-feature .frame img { transition: transform 800ms var(--ease-out); }
.blog-feature:hover .frame img { transform: scale(1.04); }
.blog-feature-body { padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.75rem) clamp(1.5rem,4vw,2.75rem) 0; }
.blog-feature-body h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); margin: 0.9rem 0; }
.blog-feature-body p { color: var(--slate-dark); }

.blog-cat {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-text);
}
.blog-readmore svg { width: 1rem; height: 1rem; transition: transform var(--dur) var(--ease-out); }
.blog-feature:hover .blog-readmore svg, .blog-card:hover .blog-readmore svg { transform: translateX(5px); }

.blog-grid { display: grid; gap: 1.75rem; }
@media (min-width: 40rem) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.blog-card:hover { box-shadow: 0 22px 48px -24px rgba(10,24,40,0.24); transform: translateY(-3px); }
.blog-card .frame { aspect-ratio: 16 / 10; }
.blog-card .frame img { transition: transform 700ms var(--ease-out); }
.blog-card:hover .frame img { transform: scale(1.05); }
.blog-card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.blog-card-body h3 { font-size: 1.2rem; line-height: 1.25; color: var(--ink-text); }
.blog-card-body p { font-size: 0.875rem; color: var(--slate-dark); }
.blog-card-body .blog-readmore { margin-top: auto; padding-top: 0.5rem; }

/* ---------- Blog post ---------- */
.post-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(9rem, 22vh, 13rem) clamp(2.5rem, 6vh, 4.5rem);
}
.post-hero .hero-bg { z-index: -2; }
.post-hero .hero-bg img { width: 100%; height: 112%; object-fit: cover; }
.post-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,24,40,0.78) 0%, rgba(10,24,40,0.6) 45%, var(--ink) 100%);
}
.post-layout { display: grid; gap: var(--space-block); align-items: start; }
@media (min-width: 64rem) { .post-layout { grid-template-columns: minmax(0,1fr) 19rem; gap: clamp(3rem,5vw,5rem); } }
.post-body { min-width: 0; }
.post-lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  font-weight: 450;
  line-height: 1.5;
  color: var(--ink-text);
  margin-bottom: var(--space-block);
}
.post-body h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem);
  margin: 2.5rem 0 1rem;
}
.post-body > p { color: var(--ink-text); margin-bottom: 1.1rem; max-width: 68ch; }
.post-body a { color: var(--brass); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.post-body a:hover { color: var(--ink-text); }
.post-ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin: 0.5rem 0 1.5rem; max-width: 68ch; }
.post-ul li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--ink-text);
  line-height: 1.55;
}
.post-ul li strong { font-weight: 650; }
.post-ul li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 0.65rem; height: 0.65rem;
  background: var(--brass);
  transform: rotate(45deg) translateY(-50%);
  transform-origin: top;
}
.post-tip {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(194,138,51,0.08);
  border-left: 3px solid var(--brass);
  border-radius: 0 4px 4px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  max-width: 68ch;
}
.post-tip strong {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.post-tip p { color: var(--ink-text); margin: 0; font-size: 0.95rem; }
.post-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  border-radius: 5px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  margin-top: var(--space-block);
}
.post-cta .btn { flex: none; }
.post-side { position: sticky; top: 6.5rem; }
.post-side-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 5px;
  padding: 1.75rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #07111D;
  border-top: 1px solid var(--line-dark);
  padding-top: var(--space-block);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: var(--space-block);
}
@media (min-width: 56rem) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 3rem; } }
.footer-brand img { width: 7rem; margin-bottom: 1.2rem; }
.footer-brand p { color: var(--slate); font-size: 0.9rem; max-width: 30ch; }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a, .footer-col li { color: var(--slate); font-size: 0.9rem; transition: color var(--dur); }
.footer-col a:hover { color: var(--paper); }
.footer-contact strong { color: var(--paper); font-size: 1.05rem; font-weight: 650; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--slate-2);
}
.footer-bottom a { color: var(--slate); }
.footer-bottom a:hover { color: var(--paper); }
.social-row { display: flex; gap: 0.9rem; margin-top: 1.4rem; }
.social-row a {
  width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--slate);
  transition: color var(--dur), border-color var(--dur);
}
.social-row a:hover { color: var(--brass-2); border-color: var(--brass); }
.social-row svg { width: 1.05rem; height: 1.05rem; }

/* ---------- Reveal primitives (native IntersectionObserver; no JS = visible) ---------- */
.gs-reveal, .gs-fade, [data-hero-seq] { opacity: 1; }
html.has-anim .gs-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 750ms var(--ease-out), transform 750ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
html.has-anim .gs-reveal.in-view { opacity: 1; transform: none; }
html.has-anim .gs-fade {
  opacity: 0;
  transition: opacity 1000ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
html.has-anim .gs-fade.in-view { opacity: 1; }
html.has-anim [data-hero-seq] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
html.has-anim [data-hero-seq].in-view { opacity: 1; transform: none; }

/* ---------- Trade motifs: tape, brush underline, paint chips ---------- */
/* masking-tape label — replaces generic eyebrows/captions where used */
.tape {
  display: inline-block;
  background: #EFE9DB;
  color: var(--ink-text);
  padding: 0.5rem 1.15rem;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(-1.4deg);
  clip-path: polygon(1.5% 10%, 99% 0%, 100% 88%, 0.5% 100%);
  box-shadow: 0 3px 10px rgba(10, 24, 40, 0.18);
}
.tape--straight { transform: rotate(0.8deg); }

/* rough brush-stroke underline for one key word per heading */
.u-brush { position: relative; z-index: 0; white-space: nowrap; }
.u-brush::after {
  content: "";
  position: absolute;
  left: -3%; right: -3%; bottom: 0.03em;
  height: 0.3em;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M4 13 C 30 7, 70 17, 108 10 S 172 7, 196 12' stroke='%23C28A33' stroke-width='8' fill='none' stroke-linecap='round' opacity='0.8'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* paint-chip swatch in the services list */
.svc-chip {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 4.6rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-dark);
}
.svc-chip i {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 2px 10px 2px 2px;
  background: var(--chip, var(--navy));
  box-shadow: inset 0 0 0 1px rgba(20, 36, 53, 0.1);
  transition: transform 300ms var(--ease-out);
}
.svc-row a:hover .svc-chip i { transform: rotate(-6deg) scale(1.08); }

/* ---------- Misc ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  background: var(--brass);
  color: var(--ink);
  padding: 0.8rem 1.4rem;
  font-weight: 650;
  border-radius: 0 0 4px 4px;
  transition: top 200ms;
}
.skip-link:focus { top: 0; }

.kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.big-link {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1rem + 2.4vw, 2.8rem);
  font-style: italic;
  color: var(--brass);
  border-bottom: 1px solid currentColor;
  transition: color var(--dur);
}
.big-link:hover { color: var(--ink-text); }

/* Map embed */
.map-embed {
  border: 1px solid var(--line-light);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.9) contrast(1.05); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
  html.has-anim .gs-reveal, html.has-anim .gs-fade, html.has-anim [data-hero-seq] { opacity: 1; transform: none; }
}
