/* ==========================================================================
   R&A Concrete LLC — site styles
   Architectural concrete: ivory ground, concrete grays, charcoal, iron oxide.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  /* Palette */
  --ivory: #f3efe7;
  --ivory-2: #ebe6dc;
  --paper: #faf8f3;
  --concrete-1: #dcd7cd;
  --concrete-2: #c9c4b9;
  --concrete-3: #a6a198;
  --stone: #66625b;        /* secondary text on ivory, 5.3:1 */
  --ink: #2c2b27;          /* body text */
  --charcoal: #22221f;
  --charcoal-2: #2e2e2a;
  --oxide: #a8432a;        /* accent on light, 5.3:1 on ivory */
  --oxide-deep: #8e3721;
  --oxide-light: #e08a6d;  /* accent on charcoal, 6.1:1 */
  --line: rgba(34, 34, 31, 0.14);
  --line-strong: rgba(34, 34, 31, 0.28);
  --line-dark: rgba(243, 239, 231, 0.16);

  /* Type */
  --f-sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Space & layout */
  --gutter: clamp(16px, 4.5vw, 48px);
  --max: 1280px;
  --section: clamp(80px, 11vw, 152px);
  --radius: 2px;
  --header-h: 76px;

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: clamp(16px, 0.35vw + 15px, 18px);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  font-stretch: 112%;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--charcoal);
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--oxide);
  outline-offset: 3px;
}
.on-dark :focus-visible { outline-color: var(--oxide-light); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--charcoal);
  color: var(--ivory);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --- Small shared pieces ------------------------------------------------ */

.label {
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head .label {
  display: flex;
  align-items: center;
  gap: 14px;
}
/* Short oxide tick + hairline: the "joint" that opens each section */
.section-head .label::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--oxide);
  flex: none;
}
.section-head h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  max-width: 16ch;
}
.section-head .lede {
  max-width: 58ch;
  color: var(--stone);
  font-size: clamp(17px, 1.1vw + 12px, 20px);
}

/* Owner-confirmation marker. Remove the element once content is approved. */
.confirm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 8px;
  border: 1px dashed var(--line-strong);
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
  line-height: 1.3;
  width: fit-content;
}
.confirm::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--oxide);
  transform: rotate(45deg);
  flex: none;
}
.on-dark .confirm { border-color: var(--line-dark); color: #b9b4aa; }
.on-dark .confirm::before { background: var(--oxide-light); }

/* --- Buttons ------------------------------------------------------------ */

.btn {
  --bg: var(--charcoal);
  --fg: var(--ivory);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  font-size: 16px;
  font-stretch: 108%;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { --bg: var(--oxide); --fg: #fff; }
.btn--primary:hover { --bg: var(--oxide-deep); }
.btn--dark:hover { --bg: #000; }
.btn--ghost {
  --bg: transparent;
  --fg: var(--charcoal);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--charcoal); }
.btn:active { transform: translateY(1px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}

/* --- Header ------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 239, 231, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { height: 65px; width: auto; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1.15; }
.brand-word b { font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 400; color: var(--charcoal); letter-spacing: -0.02em; }
.brand-word i { font-style: normal; font-family: var(--f-sans); font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.nav ul {
  display: flex;
  gap: clamp(18px, 2.2vw, 32px);
  list-style: none;
  margin: 0; padding: 0;
}
.nav a:not(.btn) {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 0;
  background: linear-gradient(var(--oxide), var(--oxide)) no-repeat 0 100% / 0 2px;
  transition: background-size 0.25s var(--ease);
}
.nav a:not(.btn):hover { background-size: 100% 2px; }
.nav .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  margin-right: -10px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 2px;
  background: var(--charcoal);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 24px; right: 19px; }
.menu-toggle span:nth-child(3) { top: 30px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 74px; }
  .brand-mark { height: 58px; }
  .brand-word b { font-size: 24px; }
  .brand-word i { font-size: 13px; }
  .menu-toggle { display: block; }
  .nav {
    /* The header's backdrop-filter makes it the containing block, so anchor to its bottom edge. */
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
    padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    background: var(--ivory);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s;
    overflow-y: auto;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a:not(.btn) {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 26px;
    font-weight: 600;
    font-stretch: 112%;
    letter-spacing: -0.015em;
    background: none;
  }
  .nav a:not(.btn)::after {
    content: attr(data-n);
    font-family: var(--f-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--stone);
    align-self: center;
  }
  .nav .btn { min-height: 56px; font-size: 17px; }
  body.menu-open { overflow: hidden; }
}

/* --- Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(32px, 6vw, 72px) clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero-copy { max-width: 660px; }
.hero-copy .label { color: var(--oxide); margin-bottom: 28px; display: block; }
.hero h1 {
  font-size: clamp(42px, 5.4vw, 80px);
  font-stretch: 114%;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  color: var(--stone);
}
.hero-sub {
  margin-top: 28px;
  font-size: clamp(18px, 0.6vw + 15px, 21px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 44ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 40px;
}
.hero-actions .btn { min-height: 58px; padding: 0 28px; font-size: 17px; }
.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 48px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-services li {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-services li + li::before {
  content: "";
  width: 1px; height: 14px;
  background: var(--line-strong);
  margin-right: 12px;
}

/* The slab: an illustrated plan of a pour in progress */
.slab-figure { margin: 0; position: relative; }
.slab {
  position: relative;
  aspect-ratio: 5 / 6;
  width: 100%;
}
.slab svg { width: 100%; height: 100%; }
.slab-figure figcaption {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Wet-to-finished motion: the finished area advances over the wet pour */
.slab .finish-front { transition: transform 2.2s var(--ease) 0.35s; }
.js .slab:not(.is-in) .finish-front { transform: translateX(-120px); }
.slab .sheen { animation: sheen 7s ease-in-out 1.2s infinite; }
@keyframes sheen {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .slab { aspect-ratio: 16 / 11; }
}
@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .hero-services li + li::before { display: none; }
  .hero-services { gap: 10px 18px; }
  .slab-figure figcaption { flex-direction: column; gap: 4px; }
}

/* --- Textured surfaces (placeholders, panels) --------------------------- */

.concrete {
  background-color: var(--concrete-2);
  background-image:
    url("../img/grain.svg"),
    url("../img/mottle.svg");
  background-size: 220px, 640px;
}
.concrete--light { background-color: var(--concrete-1); }
.concrete--dark { background-color: #7d786f; }
.concrete--warm { background-color: #cbbfae; }
.concrete--charcoal { background-color: #45433e; }

/* --- Services ----------------------------------------------------------- */

.services { padding-block: var(--section); border-top: 1px solid var(--line); }
.services .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.services .section-head { position: sticky; top: calc(var(--header-h) + 40px); margin-bottom: 0; }

.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.service {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 132px;
  gap: 8px 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-num {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--oxide);
  padding-top: 8px;
}
.service h3 { font-size: clamp(24px, 2.2vw, 32px); }
.service p { margin-top: 12px; color: var(--stone); max-width: 52ch; }
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.service-tags li {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  background: var(--ivory-2);
  color: var(--ink);
}
.service-swatch {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}
.service-swatch::after {
  /* joint across the swatch */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(34, 34, 31, 0.35) calc(50% - 1px), rgba(34, 34, 31, 0.35) calc(50% + 1px), rgba(255, 255, 255, 0.35) calc(50% + 1px), rgba(255, 255, 255, 0.35) calc(50% + 2px), transparent calc(50% + 2px));
}
.swatch-broom { background-image: repeating-linear-gradient(0deg, rgba(34,34,31,0.09) 0 1px, transparent 1px 3px), url("../img/grain.svg"), url("../img/mottle.svg"); background-size: auto, 220px, 640px; }
.swatch-trowel { background-image: radial-gradient(120% 90% at 20% 10%, rgba(255,255,255,0.35), transparent 60%), url("../img/grain.svg"), url("../img/mottle.svg"); background-size: auto, 220px, 640px; }
.swatch-paver { background-image: linear-gradient(0deg, transparent 48%, rgba(34,34,31,.3) 48% 52%, transparent 52%), url("../img/grain.svg"), url("../img/mottle.svg"); background-size: auto, 220px, 640px; }

.services-note { margin-top: 28px; display: grid; gap: 14px; }
.services-note p { font-size: 15px; color: var(--stone); max-width: 60ch; }

@media (max-width: 960px) {
  .services .wrap { grid-template-columns: 1fr; }
  .services .section-head { position: static; }
}
@media (max-width: 600px) {
  .service { grid-template-columns: 36px minmax(0, 1fr); }
  .service-swatch { display: none; }
}

/* --- Work: Instagram link-out + finish mosaic ------------------------- */

.work { padding-block: var(--section); background: var(--paper); border-top: 1px solid var(--line); }

.work-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.work-head .section-head { margin-bottom: 0; }
.work-head .lede { color: var(--stone); font-size: clamp(17px, 1.1vw + 12px, 20px); max-width: 46ch; }

.work-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}

/* Instagram card: the big tile */
.ig-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  min-height: clamp(380px, 38vw, 560px);
  padding: clamp(28px, 4vw, 56px);
  background-color: var(--charcoal);
  background-image:
    linear-gradient(180deg, rgba(34,34,31,0) 0%, rgba(34,34,31,.35) 100%),
    url("../img/grain.svg"), url("../img/mottle.svg");
  background-size: auto, 220px, 640px;
  color: var(--ivory);
  text-decoration: none;
  overflow: hidden;
}
.ig-card::before {
  /* control joints across the slab */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(82% - 1px), rgba(0,0,0,.5) calc(82% - 1px), rgba(0,0,0,.5) calc(82% + 1px), transparent calc(82% + 1px)),
    linear-gradient(180deg, transparent calc(30% - 1px), rgba(0,0,0,.5) calc(30% - 1px), rgba(0,0,0,.5) calc(30% + 1px), transparent calc(30% + 1px));
  opacity: .6;
  pointer-events: none;
}
.ig-card > * { position: relative; }
.ig-card-top { position: absolute; top: clamp(28px, 4vw, 56px); left: clamp(28px, 4vw, 56px); display: flex; align-items: center; gap: 12px; }
.ig-card-top .label { color: #d9d4ca; }
.ig-glyph { width: 36px; height: 36px; color: var(--oxide-light); }
.ig-card-title {
  max-width: 14ch;
  font-size: clamp(32px, 3.6vw, 56px);
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.ig-card-sub { max-width: 40ch; color: #c9c4b9; font-size: 17px; }
.ig-card-btn { align-self: flex-start; margin-top: 6px; }
.ig-card-btn svg { width: 16px; height: 16px; }
.ig-card:hover .ig-card-btn { --bg: var(--oxide-deep); }
.ig-card:hover .ig-card-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }

/* Finish tiles: the stacked column */
.mosaic-finishes { display: flex; flex-direction: column; }
.mosaic-kicker { margin: 0 0 14px; }
.mosaic-finishes ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 18px); flex: 1; }
.mosaic-tile {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: var(--ivory);
  border: 1px solid var(--line);
  min-height: 132px;
}
.mosaic-art { position: relative; min-height: 100%; }
.mosaic-copy { padding: clamp(16px, 1.6vw, 24px); display: grid; align-content: center; gap: 6px; }
.mosaic-copy h3 { font-size: clamp(18px, 1.4vw, 21px); font-stretch: 108%; letter-spacing: -0.01em; }
.mosaic-copy p { color: var(--stone); font-size: 15px; line-height: 1.5; }
.mosaic-art.swatch-broom { background-image: repeating-linear-gradient(0deg, rgba(34,34,31,0.09) 0 1px, transparent 1px 3px), url("../img/grain.svg"), url("../img/mottle.svg"); background-size: auto, 220px, 640px; }
.mosaic-art.swatch-stamped {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='none' stroke='%2322221f' stroke-opacity='.32' stroke-width='3' stroke-linejoin='round'%3E%3Cpath d='M0 1.5H180M0 60L70 56L130 63L180 60M0 120L50 124L120 117L180 120M42 0L38 58M104 0L108 59M160 0L156 61M20 60L24 122M86 58L82 119M150 62L146 118M60 122L64 180M130 118L126 180'/%3E%3C/g%3E%3C/svg%3E"),
    url("../img/grain.svg"), url("../img/mottle.svg");
  background-size: 180px 180px, 220px, 640px;
}
.mosaic-art.swatch-pavers {
  background-color: #a39a8f;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23e9e3d8' stroke-opacity='.75' stroke-width='3'%3E%3Cpath d='M0 1.5H120M0 61.5H120M60 0V60M0 60V120M120 60V120M30 60V120M90 60V120M30 0V60M90 0V60'/%3E%3C/g%3E%3C/svg%3E"),
    url("../img/grain.svg"), url("../img/mottle.svg");
  background-size: 120px 120px, 220px, 640px;
}
.finishes-note { margin-top: 20px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); }

@media (max-width: 960px) {
  .work-head, .work-mosaic { grid-template-columns: 1fr; }
  .ig-card { min-height: 360px; }
}
@media (max-width: 560px) {
  .ig-card { min-height: 380px; }
  .mosaic-tile { grid-template-columns: 104px minmax(0, 1fr); }
}

/* --- Why it matters: statement + fundamentals strip -------------------- */

.why { padding-block: var(--section); background: var(--ivory-2); border-top: 1px solid var(--line); }
.why h2 span { color: var(--stone); }
.why-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.why-head .section-head { margin-bottom: 0; }
.why-head h2 { max-width: 22ch; }
.why-aside { display: grid; gap: 18px; }
.why-aside .lede { color: var(--stone); font-size: clamp(17px, 1.1vw + 12px, 20px); }
.why-ask { font-size: 17px; color: var(--ink); }
.why-ask a { color: var(--charcoal); font-weight: 700; text-decoration-color: var(--oxide); text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }
@media (max-width: 960px) { .why-head { grid-template-columns: 1fr; } }
.fundamentals {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 3px solid var(--charcoal);
}
.fundamentals li { padding: 28px 22px 4px 0; }
.fundamentals li + li { padding-left: 22px; border-left: 1px solid var(--line-strong); }
.fundamentals h3 { font-size: 21px; font-stretch: 108%; letter-spacing: -0.01em; }
.fundamentals p { margin-top: 10px; font-size: 15.5px; color: var(--stone); line-height: 1.55; }
@media (max-width: 1000px) {
  .fundamentals { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; column-gap: 24px; }
  .fundamentals li, .fundamentals li + li { padding: 20px 0 8px; border-left: 0; border-top: 2px solid var(--charcoal); }
}
@media (max-width: 560px) {
  .fundamentals { grid-template-columns: 1fr; }
}

/* --- Process ------------------------------------------------------------ */

.process { padding-block: var(--section); }
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 3px solid var(--charcoal);
}
.step {
  position: relative;
  padding: 28px 22px 8px 0;
}
.step + .step { padding-left: 22px; border-left: 1px solid var(--line); }
.step::before {
  /* joint notch where each step meets the rule */
  content: "";
  position: absolute;
  top: -3px; left: -1px;
  width: 9px; height: 9px;
  background: var(--ivory);
  border: 2px solid var(--charcoal);
  transform: translate(-50%, -3px) rotate(45deg);
}
.step:first-child::before { left: 0; transform: translate(0, -3px) rotate(45deg); }
.step-n { font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; color: var(--oxide); letter-spacing: 0.06em; }
.step h3 { margin-top: 14px; font-size: 21px; font-stretch: 106%; letter-spacing: -0.01em; line-height: 1.15; }
.step p { margin-top: 12px; font-size: 15.5px; color: var(--stone); line-height: 1.55; }
.process .confirm { margin-top: 40px; }

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; border-top: 0; }
  .step, .step + .step { border-top: 3px solid var(--charcoal); border-left: 0; padding: 28px 22px 8px 0; }
  .step::before, .step:first-child::before { left: 0; transform: translate(0, -3px) rotate(45deg); top: -6px; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; border-left: 3px solid var(--charcoal); border-top: 0; }
  .step, .step + .step { border-top: 0; padding: 0 0 36px 28px; }
  .step:last-child { padding-bottom: 4px; }
  .step::before, .step:first-child::before { top: 4px; left: -3px; transform: translate(-50%, 0) rotate(45deg); }
  .step h3 { margin-top: 8px; }
}

/* --- Service area ------------------------------------------------------- */

.area { padding-block: var(--section); background: var(--ivory-2); border-top: 1px solid var(--line); }
.area .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.area .section-head { margin-bottom: 32px; }
.area-points { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; }
.area-points li { display: flex; gap: 14px; }
.area-points li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; flex: none; border: 2px solid var(--oxide); transform: rotate(45deg); }
.area-map { margin: 0; }
.area-map svg { width: 100%; height: auto; }
.area-map figcaption { margin-top: 14px; }

@media (max-width: 900px) {
  .area .wrap { grid-template-columns: 1fr; }
  .area-map { max-width: 520px; }
}

/* --- FAQ ---------------------------------------------------------------- */

.faq { padding-block: var(--section); }
.faq .wrap { max-width: calc(840px + var(--gutter) * 2); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  font-size: clamp(19px, 1.3vw, 22px);
  font-weight: 600;
  font-stretch: 106%;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  position: relative;
  width: 28px; height: 28px;
  flex: none;
  border: 1.5px solid var(--line-strong);
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.faq summary .pm::before,
.faq summary .pm::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  background: var(--charcoal);
  transform: translate(-50%, -50%);
}
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover .pm { background: var(--ivory-2); }
.faq-body { padding: 0 56px 28px 0; color: var(--stone); display: grid; gap: 12px; max-width: 64ch; }
.faq-body .confirm { margin-top: 4px; }

@media (max-width: 900px) {
  .faq-body { padding-right: 0; }
}

/* --- Estimate ----------------------------------------------------------- */

.estimate {
  padding-block: var(--section);
  background-color: var(--charcoal);
  background-image: url("../img/grain.svg");
  background-size: 220px;
  color: #d9d4ca;
}
.estimate .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.estimate h2 { color: var(--ivory); }
.estimate .section-head .label { color: #b9b4aa; }
.estimate .section-head .label::before { background: var(--oxide-light); }
.estimate .section-head .lede { color: #b9b4aa; }
.estimate-aside { display: grid; gap: 28px; }
.expect { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.expect li { position: relative; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line-dark); color: #d9d4ca; }
.expect li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 8px; height: 8px; border: 2px solid var(--oxide-light); transform: rotate(45deg); }

.form-card {
  background: var(--ivory);
  color: var(--ink);
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius);
  position: relative;
}
.form-card::before {
  /* formwork chamfer on the card's corner */
  content: "";
  position: absolute;
  top: 0; right: 0;
  border-style: solid;
  border-width: 0 22px 22px 0;
  border-color: transparent var(--charcoal) transparent transparent;
}
.form-note {
  margin-bottom: 26px;
  padding: 12px 14px;
  background: var(--ivory-2);
  border-left: 3px solid var(--charcoal);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
}
.field .hint { font-size: 13.5px; color: var(--stone); margin-top: -4px; }
.req { color: var(--oxide); font-weight: 600; }
.opt { font-weight: 400; color: var(--stone); font-size: 13.5px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1.5px solid var(--concrete-3);
  border-radius: var(--radius);
  font-size: 16px; /* prevents iOS zoom */
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2322221F' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--stone); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--oxide);
  outline-offset: 2px;
  border-color: var(--charcoal);
}
.field [aria-invalid="true"] { border-color: var(--oxide); background: #fbf1ec; }
.error {
  display: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--oxide-deep);
  gap: 6px;
  align-items: center;
}
.field.has-error .error { display: flex; }
.error::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; background: var(--oxide); color: #fff; font-size: 11px; font-weight: 700; border-radius: 50%; flex: none; }

.form-foot { margin-top: 28px; display: grid; gap: 16px; }
.form-foot .btn { width: 100%; min-height: 58px; font-size: 17px; }
.form-foot .fine { font-size: 13.5px; color: var(--stone); }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

.form-status {
  display: none;
  margin-bottom: 24px;
  padding: 16px 18px;
  border-left: 3px solid;
  font-size: 15px;
  line-height: 1.5;
}
.form-status:not(:empty) { display: block; }
.form-status h3 { font-size: 17px; font-stretch: 104%; letter-spacing: -0.005em; margin-bottom: 6px; color: inherit; }
.form-status[data-state="error"] { background: #fbf1ec; border-color: var(--oxide); color: #5a2617; }
.form-status[data-state="demo"] { background: var(--ivory-2); border-color: var(--charcoal); color: var(--ink); }
.form-status[data-state="success"] { background: #e8ede4; border-color: #3f6b3a; color: #1f3a1c; }
.form-status ul { margin: 8px 0 0; padding-left: 20px; }
.form-status a { font-weight: 600; }

@media (max-width: 960px) {
  .estimate .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* --- Footer ------------------------------------------------------------- */

.site-footer {
  background: #1a1a18;
  color: #b9b4aa;
  padding-block: clamp(56px, 7vw, 96px) 32px;
  font-size: 15px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand-lockup { display: flex; align-items: center; gap: 16px; }
.footer-brand-lockup img { height: 75px; width: auto; display: block; }
.brand-plate { display: inline-flex; background: var(--ivory); padding: 13px; border-radius: var(--radius); flex: none; }
.footer-brand-word { display: flex; flex-direction: column; line-height: 1.2; }
.footer-brand-word b { font-family: Georgia, "Times New Roman", serif; font-size: 35px; font-weight: 400; color: var(--ivory); letter-spacing: -0.02em; }
.footer-brand-word i { font-style: normal; font-family: var(--f-sans); font-size: 15px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #8f8a81; }
.footer-brand p { margin-top: 24px; max-width: 36ch; }
.site-footer h2 { font-size: 12.5px; font-family: var(--f-mono); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #8f8a81; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: var(--ivory); }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: 13.5px; color: #8f8a81; }
.footer-cta { margin-top: 28px; }

@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* --- Mobile sticky estimate bar ---------------------------------------- */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(243, 239, 231, 0.96);
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transform: translateY(110%);
  transition: transform 0.3s var(--ease);
  display: none;
}
.sticky-cta .btn { width: 100%; }
.sticky-cta.is-visible { transform: none; }
@media (max-width: 760px) {
  .sticky-cta { display: block; }
  .site-footer { padding-bottom: 104px; }
}

/* --- Reveal-on-scroll (progressive; content visible without JS) ------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .slab:not(.is-in) .finish-front { transform: none; }
}

@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  .section-head .label::before { background: CanvasText; }
}

/* --- Hero callouts (HTML so they stay legible at any size) -------------- */

.slab-callouts { position: absolute; inset: 0; pointer-events: none; }
.callout {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(250, 248, 243, 0.94);
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--charcoal);
  box-shadow: 0 1px 0 rgba(34, 34, 31, 0.08);
}
.callout::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--oxide);
  transform: rotate(45deg);
  flex: none;
}
.callout--dark { background: rgba(34, 34, 31, 0.9); color: var(--ivory); }
.callout--dark::before { background: var(--oxide-light); }
@media (max-width: 480px) {
  .callout { font-size: 10px; padding: 5px 8px; gap: 6px; }
}
#contact-field:not(.has-error) { display: none; }
@media (max-width: 560px) {
  .slab { aspect-ratio: 1; }
}

/* --- Header tools: language switch, phone ------------------------------ */

.nav { margin-left: auto; }
.nav-actions { display: none; }
.header-tools { display: flex; align-items: center; gap: 16px; flex: none; }
.header-cta { min-height: 46px; padding: 0 20px; font-size: 15px; }

.lang-switch {
  display: inline-flex;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  border-radius: var(--radius);
}
.lang-switch a {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--stone);
  border-radius: var(--radius);
  transition: background-color 0.2s, color 0.2s;
}
.lang-switch a:hover { color: var(--charcoal); background: var(--ivory-2); }
.lang-switch a[aria-current="true"] { background: var(--charcoal); color: var(--ivory); }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  color: var(--charcoal);
  white-space: nowrap;
}
.header-call svg { width: 18px; height: 18px; color: var(--oxide); flex: none; }
.header-call:hover .header-call-num { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1200px) {
  .header-call-num { display: none; }
  .header-call {
    justify-content: center;
    width: 44px;
    box-shadow: inset 0 0 0 1.5px var(--line-strong);
    border-radius: var(--radius);
  }
}
@media (max-width: 960px) {
  .header-cta { display: none; }
  .header-tools { gap: 8px; }
  .lang-switch a { height: 44px; min-width: 42px; }
  .nav-actions { display: grid; gap: 12px; }
  .nav-actions .btn svg { width: 20px; height: 20px; }
}
@media (max-width: 380px) {
  .brand-mark { height: 50px; }
  .brand-word i { display: none; }
  .lang-switch a { min-width: 38px; padding: 0 6px; }
}

/* --- Phone moments ------------------------------------------------------ */

.hero-call svg { width: 18px; height: 18px; color: var(--oxide); }
.lang-note { margin-top: 22px; font-size: 15.5px; color: var(--stone); }
.lang-note span { color: var(--charcoal); font-weight: 600; }

.call-card {
  padding: 24px;
  border: 1px solid var(--line-dark);
  display: grid;
  gap: 6px;
}
.call-card p { color: #b9b4aa; }
.call-card-num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ivory);
  text-decoration: none;
}
.call-card-num svg { width: 26px; height: 26px; color: var(--oxide-light); }
.call-card-num:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.call-card .call-card-note { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }

.faq-body a { color: var(--charcoal); font-weight: 600; }

.sticky-cta { gap: 10px; }
.sticky-cta.is-visible, .sticky-cta { align-items: center; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; }
  .sticky-cta .btn { width: auto; flex: 1; }
  .sticky-cta .sticky-call { flex: none; padding: 0 18px; }
  .sticky-cta .sticky-call svg { width: 18px; height: 18px; }
}

.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
@media (min-width: 961px) and (max-width: 1180px) {
  .nav ul { gap: 16px; }
  .nav a:not(.btn) { font-size: 14.5px; }
  .header-tools { gap: 10px; }
  .site-header .wrap { gap: 16px; }
}

/* --- Service swatches for decorative work ------------------------------ */

.swatch-stamped {
  background-color: #b89f84;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='132'%3E%3Cpath d='M0 38H54V0M54 38H132M86 38V84M0 84H132M40 84V132M100 84V132M24 38V84' fill='none' stroke='%2322221f' stroke-opacity='.28' stroke-width='2.5'/%3E%3C/svg%3E"),
    url("../img/grain.svg"), url("../img/mottle.svg");
  background-size: 132px, 220px, 640px;
}
.swatch-pavers {
  background-color: #a9a095;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='66' height='44'%3E%3Cpath d='M0 .75H66M0 22.75H66M33 0V22M0 22V44M66 22V44' fill='none' stroke='%23f3efe7' stroke-opacity='.55' stroke-width='2'/%3E%3C/svg%3E"),
    url("../img/grain.svg"), url("../img/mottle.svg");
  background-size: 66px 44px, 220px, 640px;
}
.swatch-wall {
  background-color: #8a857c;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='60'%3E%3Cpath d='M0 1H88M0 31H88M44 0V30M0 30V60M88 30V60' fill='none' stroke='%2322221f' stroke-opacity='.4' stroke-width='3'/%3E%3C/svg%3E"),
    url("../img/grain.svg"), url("../img/mottle.svg");
  background-size: 88px 60px, 220px, 640px;
}
.swatch-pool {
  background-image:
    linear-gradient(180deg, #7ea3ad 0 30%, #d8d3c9 30% 33%, transparent 33%),
    url("../img/grain.svg"), url("../img/mottle.svg");
  background-size: auto, 220px, 640px;
}
.swatch-stamped::after, .swatch-pavers::after, .swatch-wall::after, .swatch-pool::after { display: none; }

/* --- Video link and extra contact lines -------------------------------- */

.call-card-alt {
  width: fit-content;
  color: var(--ivory);
  font-size: 17px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
  overflow-wrap: anywhere;
}
.call-card-alt:hover { border-bottom-color: var(--ivory); }
.site-footer li a[href^="mailto"] { overflow-wrap: anywhere; }
.form-status .mail-fallback { margin-top: 14px; min-height: 48px; }


/* --- Draft review mode: owner-confirmation notes only with ?draft ------- */

.confirm { display: none !important; }
.draft .confirm { display: inline-flex !important; }

/* --- Heading tiers ------------------------------------------------------ */

.section-head h2.h2-xl { font-size: clamp(40px, 6.2vw, 92px); max-width: 15ch; letter-spacing: -0.03em; line-height: 0.98; }
.section-head h2.h2-sm { font-size: clamp(30px, 3.3vw, 46px); max-width: 22ch; }

/* --- Hero: keyword kicker inside the H1, equal call + estimate --------- */

.hero-kicker {
  display: block;
  margin-bottom: 28px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--oxide);
}
.hero-actions .btn svg { width: 20px; height: 20px; }
.lang-note a { color: var(--charcoal); font-weight: 600; text-decoration-color: var(--oxide); text-underline-offset: 3px; }
@media (max-width: 560px) {
  .slab { aspect-ratio: 4 / 3; }
  .hero-actions { gap: 12px; }
}

/* --- Sticky bar: call gets equal weight -------------------------------- */

@media (max-width: 760px) {
  .sticky-cta .sticky-call { flex: 1; padding: 0 12px; }
}

/* --- Quote popup --------------------------------------------------------- */

.quote-popup { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; }
.quote-popup-backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 19, 16, 0.55);
  opacity: 0; transition: opacity 0.22s var(--ease);
}
.quote-popup-card {
  position: relative; width: 100%; max-width: 420px;
  background: var(--ivory); color: var(--charcoal);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  padding: 32px 28px 28px;
  opacity: 0; transform: translateY(12px) scale(0.98);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.quote-popup.is-open .quote-popup-backdrop { opacity: 1; }
.quote-popup.is-open .quote-popup-card { opacity: 1; transform: none; }
.quote-popup-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: none; border: none; color: var(--stone); cursor: pointer; border-radius: var(--radius);
}
.quote-popup-close:hover { color: var(--charcoal); background: var(--ivory-2); }
.quote-popup-close svg { width: 18px; height: 18px; }
.quote-popup-card h2 { font-size: 22px; margin: 0 0 8px; padding-right: 28px; }
.quote-popup-card > p { color: var(--stone); font-size: 15px; margin: 0 0 20px; }
#quote-popup-form { display: grid; gap: 14px; }
#quote-popup-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.quote-popup-fine { margin: 16px 0 0; font-size: 13.5px; color: var(--stone); text-align: center; }
.quote-popup-fine a { color: var(--oxide); text-decoration: none; }
.quote-popup-fine a:hover { text-decoration: underline; }
html.popup-lock { overflow: hidden; }

@media (max-width: 480px) {
  .quote-popup-card { padding: 28px 20px 24px; }
}
