/* ==========================================================================
   Atenas Construction Corporation — shared design system
   Light, warm, editorial. Orange is an accent, never small text on light.
   ========================================================================== */

:root {
  /* Brand */
  --atenas-orange: #E8530E;   /* logo, icon badges, thin lines, large accents */
  --ember: #B33F0A;           /* primary buttons (white text), links, focus */
  --ember-deep: #943407;      /* hover / links on Sand (AA) */
  --graphite: #4D5354;        /* secondary text */
  --ink: #1F2223;             /* headings, body, dark cards, footer */
  --limestone: #F7F3EE;       /* background */
  --sand: #E9E1D6;            /* alternate sections */
  --brass: #B08D57;           /* hairlines only */
  --brass-deep: #8A6A3B;      /* small labels on Limestone (4.5:1) */
  --brass-label-sand: #765A31;/* small labels on Sand (AA) */

  --hairline: rgba(176, 141, 87, .4);
  --shadow-warm: 0 30px 60px -30px rgba(28, 18, 8, .25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gut: clamp(16px, 5vw, 64px);
  --max: 1240px;
  --sec: clamp(96px, 12vw, 180px);
  --nav-h: 76px;
  --cut: 14px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--limestone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(17px, 16px + .25vw, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ember); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--ember-deep); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
::selection { background: rgba(232, 83, 14, .18); }
[hidden] { display: none !important; }

/* Hide body until the stored language is applied (fallback shows it anyway). */
html.i18n-wait body { opacity: 0; animation: i18n-show 0s 1.2s forwards; }
@keyframes i18n-show { to { opacity: 1; } }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -64px; z-index: 200;
  background: var(--ink); color: var(--limestone); padding: 12px 18px; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--limestone); }

/* ---------- Icons ---------- */
.ms {
  font-family: "Material Symbols Rounded";
  font-weight: normal; font-style: normal; font-size: 24px; line-height: 1;
  letter-spacing: normal; text-transform: none; white-space: nowrap; word-wrap: normal;
  direction: ltr; display: inline-block; flex: none;
  -webkit-font-feature-settings: "liga"; font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  user-select: none;
}
.ms--fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---------- Type ---------- */
.h1, .h2, .h3, h1, h2, h3 { font-family: var(--serif); font-weight: 300; color: var(--ink); font-optical-sizing: auto; }
.h1 { font-size: clamp(44px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -0.01em; }
.h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.06; letter-spacing: -0.01em; }
.h3 { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.2; font-weight: 400; }
.h1 em, .h2 em { font-style: italic; }
.nw { white-space: nowrap; }
.h1--md { font-size: clamp(40px, 4.8vw, 72px); line-height: 1.04; }
.h1, .h2, .h3, .statement p, .lead { text-wrap: balance; }
.head { max-width: 820px; }
.eyebrow {
  font-family: var(--sans); font-weight: 500; text-transform: uppercase;
  letter-spacing: .24em; font-size: clamp(12px, 11px + .15vw, 13px); line-height: 1.5;
  color: var(--brass-deep);
}
.sec--sand .eyebrow, .band .eyebrow { color: var(--brass-label-sand); }
.lead { font-size: clamp(18px, 16px + .5vw, 21px); line-height: 1.55; color: var(--graphite); }
.muted { color: var(--graphite); }
.small { font-size: 14px; line-height: 1.5; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gut), 760px); margin-inline: auto; }
.sec { padding-block: var(--sec); position: relative; }
.sec--sand { background: var(--sand); }
.sec--tight { padding-block: clamp(64px, 8vw, 120px); }
.sec + .sec:not(.sec--sand):not(.band)::before,
.rule-top::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100% - 2 * var(--gut), var(--max)); height: 1px; background: var(--hairline);
}
.sec--sand + .sec::before, .band + .sec::before, .hero + .sec::before { display: none; }
.head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.head > * + * { margin-top: 18px; }
.head--center { margin-inline: auto; text-align: center; }
.hairline { height: 1px; background: var(--hairline); border: 0; margin: 0; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--ember); --btn-bg-hover: var(--ember-deep); --btn-fg: #fff;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  font-family: var(--sans); font-weight: 500; font-size: 15px; line-height: 1.2; letter-spacing: .01em;
  color: var(--btn-fg); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-bg);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: background-color .25s var(--ease);
}
.btn:hover { color: var(--btn-fg); }
.btn:hover::before { background: var(--btn-bg-hover); }
.btn:active { transform: translateY(1px); }
.btn .ms { font-size: 20px; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 14px; --cut: 11px; }
.btn--light { --btn-bg: var(--limestone); --btn-bg-hover: #fff; --btn-fg: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-bg-hover: rgba(31, 34, 35, .06); --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px rgba(31, 34, 35, .28); }
.btn--ghost::before { clip-path: none; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 15px; color: var(--ember); text-decoration: none;
  border-bottom: 1px solid rgba(179, 63, 10, .35); padding-bottom: 2px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.link:hover { color: var(--ember-deep); border-color: currentColor; }
.link .arr { transition: transform .35s var(--ease); display: inline-block; }
.link:hover .arr { transform: translateX(4px); }
.sec--sand .link, .band .link { color: var(--ember-deep); }

/* ---------- Clipped light card ---------- */
.card {
  position: relative; isolation: isolate; padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-warm);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--card-bg, #fff);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.card--sand { --card-bg: var(--sand); }
.card--lime { --card-bg: var(--limestone); }

/* ---------- Icon badge ---------- */
.badge {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--atenas-orange); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(232, 83, 14, .6);
}
.badge .ms { font-size: 26px; font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.badge--line { background: transparent; color: var(--atenas-orange); box-shadow: inset 0 0 0 1px rgba(232, 83, 14, .55); }

/* ==========================================================================
   Navbar
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: rgba(247, 243, 238, .97); border-bottom: 1px solid var(--hairline);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
@supports (backdrop-filter: blur(1px)) {
  .nav { background: rgba(247, 243, 238, .9); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px); }
}
.nav--over { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav--over::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(247, 243, 238, .82), rgba(247, 243, 238, 0));
}
.nav-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav-logo { display: block; flex: none; margin-right: auto; }
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: none; align-items: center; gap: clamp(18px, 2vw, 32px); }
.nav-links a {
  position: relative; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 0;
  white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--atenas-orange);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-tools { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 22px); }
.nav-phone {
  display: none; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap;
}
.nav-phone .ms { font-size: 19px; color: var(--atenas-orange); }
.nav-phone:hover { color: var(--ember); }
.nav .btn { display: none; }

.lang { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.lang button {
  background: none; border: 0; padding: 8px 6px; min-width: 36px; min-height: 40px; cursor: pointer; color: var(--graphite);
}
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--atenas-orange); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lang-sep { color: var(--brass); }

.burger {
  width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; margin-right: -8px;
}
.burger .ms { font-size: 28px; }

@media (min-width: 768px) {
  .nav .btn { display: inline-flex; }
}
@media (min-width: 900px) {
  .nav-phone { display: inline-flex; }
}
@media (min-width: 1180px) {
  .nav-links { display: flex; }
  .burger { display: none; }
  .nav-logo { margin-right: clamp(16px, 2.5vw, 40px); }
  .nav-links { margin-right: auto; }
}

/* Full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: 120; background: var(--limestone);
  display: flex; flex-direction: column; overflow-y: auto;
  padding: 0 var(--gut) calc(32px + env(safe-area-inset-bottom));
}
.menu-top { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--hairline); flex: none; }
.menu-top img { height: 36px; width: auto; }
.menu-links { list-style: none; padding: clamp(24px, 6vh, 56px) 0 24px; margin: 0; display: grid; gap: 4px; }
.menu-links a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 4.4vw, 30px); line-height: 1.25;
  color: var(--ink); text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--hairline);
}
.menu-links a[aria-current="page"] > span:not(.ms) { text-decoration: underline; text-decoration-color: var(--atenas-orange); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.menu-links a .ms { font-size: 22px; color: var(--brass-deep); }
.menu-foot { margin-top: auto; display: grid; gap: 18px; padding-top: 24px; }
.menu-foot .lang { font-size: 15px; }
.menu-phones { display: grid; gap: 8px; }
.menu-phones a { color: var(--ink); text-decoration: none; font-weight: 500; }
.menu-phones span { color: var(--graphite); font-weight: 400; margin-right: 8px; }
.menu-open { overflow: hidden; }

/* Sticky mobile bar */
.mbar {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 243, 238, .96); border-top: 1px solid var(--hairline);
  transform: translateY(0); transition: transform .4s var(--ease);
}
.mbar .btn { min-height: 48px; width: 100%; }
.mbar .btn--ghost { --btn-bg: var(--limestone); --btn-bg-hover: #fff; }
.mbar.is-hidden { transform: translateY(110%); }
@media (min-width: 768px) { .mbar { display: none; } }
@media (max-width: 767px) { body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); } }

/* Pages without a hero start below the solid nav */
.page { padding-top: var(--nav-h); }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero { position: relative; background: var(--sand); }
.hero-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #d9c8b3; }
.hero-media img, .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center;
}
.hero-media video { opacity: 0; transition: opacity .6s var(--ease); }
.hero-media video.is-ready { opacity: 1; }
.hero-scrim { display: none; }
.hero-copy { position: relative; padding: 40px var(--gut) 56px; background: var(--limestone); }
.hero-copy .h1 span { display: block; }
.hero-copy .h1 em { display: block; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-sub { margin-top: 24px; max-width: 34em; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero-cta .link { color: var(--ink); border-bottom: 2px solid var(--ember); }
.hero-cta .link:hover { color: var(--ember-deep); }

@media (min-width: 900px) {
  .hero { height: 100svh; min-height: 680px; max-height: 1100px; background: #d9c8b3; }
  .hero-media { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero-media img, .hero-media video { object-position: center; }
  .hero-scrim {
    display: block; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(247, 243, 238, .88) 0%, rgba(247, 243, 238, .55) 30%, transparent 55%);
  }
  .hero-copy {
    position: relative; z-index: 2; height: 100%; background: none;
    display: flex; flex-direction: column; justify-content: center;
    width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; padding: var(--nav-h) 0 48px;
  }
  .hero-copy > * { max-width: min(620px, 44vw); }
  .hero-copy .hero-sub { max-width: min(28em, 40vw); }
}
@media (prefers-reduced-motion: reduce) { .hero-media video { display: none; } }

/* Trust strip */
.strip { border-bottom: 1px solid var(--hairline); }
.strip ul {
  list-style: none; margin: 0; padding: 22px 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0;
  font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .18em; color: var(--graphite);
}
.strip li { display: inline-flex; align-items: center; padding: 0 clamp(12px, 2vw, 28px); }
.strip li + li { border-left: 1px solid var(--hairline); }
/* 2x2 grid until all four items fit on one line (the ES strip needs ~1110px) */
@media (max-width: 1120px) {
  .strip ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; }
  .strip li { justify-content: center; text-align: center; padding: 16px 8px; }
  .strip li + li { border-left: 0; }
  .strip li:nth-child(even) { border-left: 1px solid var(--hairline); }
  .strip li:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
}
@media (max-width: 640px) {
  .strip li { letter-spacing: .14em; font-size: 12px; }
}

/* Problem statement */
.statement { max-width: 760px; margin-inline: auto; text-align: center; }
.statement p { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3vw, 40px); line-height: 1.3; color: var(--ink); }
.statement .eyebrow { margin-bottom: 28px; }

/* ==========================================================================
   Process
   ========================================================================== */
.benefits { display: grid; gap: clamp(36px, 4vw, 56px); }
.benefit .badge { margin-bottom: 22px; }
.benefit h3 { margin-bottom: 10px; }
.benefit p { color: var(--graphite); }
@media (min-width: 860px) { .benefits { grid-template-columns: repeat(3, 1fr); } }

.steps { list-style: none; padding: 0; margin: clamp(64px, 8vw, 112px) 0 0; display: grid; gap: 40px; position: relative; }
.step { position: relative; padding-left: 64px; }
.step::before { /* vertical brass line on mobile */
  content: ""; position: absolute; left: 21px; top: 44px; bottom: -40px; width: 1px; background: var(--hairline);
}
.step:last-child::before { display: none; }
.step-n {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sand); box-shadow: inset 0 0 0 1px var(--brass);
  font-family: var(--serif); font-size: 17px; color: var(--ink);
}
.sec--sand .step-n { background: var(--limestone); }
.step h3 { margin: 6px 0 8px; }
.step p { color: var(--graphite); max-width: 26em; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
  .steps::before { content: ""; position: absolute; left: 22px; right: 0; top: 22px; height: 1px; background: var(--brass); opacity: .4; }
  .step { padding-left: 0; padding-top: 72px; }
  .step::before { display: none; }
}

/* ==========================================================================
   Render → Real card
   ========================================================================== */
.rr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.2vw, 20px); }
@media (max-width: 920px) { .rr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .rr-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; } }

.rr { position: relative; display: block; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.rr:focus-visible .rr-frame { outline: 2px solid var(--ember); outline-offset: 4px; }
.rr-frame {
  position: relative; aspect-ratio: 319 / 404; overflow: hidden;
  border-radius: clamp(18px, 1.7vw, 28px); background: #1F2223;
  box-shadow: 0 36px 70px -34px rgba(28, 18, 8, .42), 0 4px 14px -8px rgba(0, 0, 0, .18);
  transform: translateZ(0);
}
.rr-art {
  position: absolute; left: 50%; top: 50%; width: 660px; height: 836px;
  border-radius: 30px; overflow: hidden; container-type: inline-size;
  transform: translate(-50%, -50%) scale(var(--s, .45)); transform-origin: center;
}
.rr-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.rr-real { opacity: 0; transition: opacity 4.5s cubic-bezier(0.22, 1, 0.36, 1); }
.rr.is-real .rr-real { opacity: 1; }
.rr-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(20, 14, 8, .88) 0%, rgba(20, 14, 8, .55) 13%, rgba(20, 14, 8, .1) 28%, transparent 42%),
    linear-gradient(to bottom, rgba(20, 14, 8, .28) 0%, transparent 20%);
}
.rr-pill {
  position: absolute; left: 6.2%; top: 5.4%;
  display: inline-grid; padding: 12px 22px; border-radius: 999px;
  background: rgba(31, 34, 35, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--limestone); font-family: var(--sans); font-weight: 500; font-size: 19px; letter-spacing: .2em; text-transform: uppercase; line-height: 1;
}
.rr-pill > span { grid-area: 1 / 1; transition: opacity .6s var(--ease); white-space: nowrap; }
.rr-pill .is-b { opacity: 0; }
.rr.is-real .rr-pill .is-a { opacity: 0; }
.rr.is-real .rr-pill .is-b { opacity: 1; }
.rr-foot { position: absolute; left: 6.2%; right: 6.2%; bottom: 5.4%; color: var(--limestone); }
.rr-badge {
  width: 9.6%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: #E8530E; color: #fff; box-shadow: 0 10px 24px -10px rgba(232, 83, 14, .6); margin-bottom: 3.2cqw;
}
.rr-badge .ms { font-size: clamp(15px, 5.6cqw, 34px); font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.rr-title {
  font-family: var(--serif); font-weight: 400; font-size: clamp(18px, 5.6cqw, 36px); line-height: 1.12;
  color: var(--limestone); white-space: nowrap; text-shadow: 0 1px 14px rgba(0, 0, 0, .35);
}
.rr-desc {
  margin-top: 1.4cqw; font-family: var(--sans); font-weight: 500; font-size: clamp(13px, 4.2cqw, 27px); line-height: 1.32;
  color: #E9E1D6; text-shadow: 0 1px 10px rgba(0, 0, 0, .3);
}
@media (prefers-reduced-motion: reduce) {
  .rr-real, .rr-pill > span { transition: none; }
}
.rr-hint { margin-top: 18px; font-size: 14px; color: var(--graphite); }

/* ==========================================================================
   Before / After slider
   ========================================================================== */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink);
  border-radius: clamp(14px, 1.4vw, 22px); box-shadow: var(--shadow-warm);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
@media (min-width: 768px) { .ba { aspect-ratio: 16 / 9; } }
.ba--tall { aspect-ratio: 4 / 5; }
@media (min-width: 768px) { .ba--tall { aspect-ratio: 4 / 5; } }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-pill {
  position: absolute; top: 16px; z-index: 2; padding: 8px 14px; border-radius: 999px;
  background: rgba(31, 34, 35, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--limestone); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1;
  pointer-events: none;
}
.ba-pill--b { left: 16px; }
.ba-pill--a { right: 16px; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 44px; margin-left: -22px; z-index: 3;
  display: grid; place-items: center; cursor: ew-resize; outline: none;
}
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 21px; width: 2px; background: var(--limestone); box-shadow: 0 0 12px rgba(0, 0, 0, .25); }
.ba-knob {
  position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--limestone); color: var(--ink);
  display: grid; grid-auto-flow: column; place-content: center; box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .45);
}
.ba-knob .ms { font-size: 20px; margin: 0 -4px; }
.ba-handle:focus-visible .ba-knob { outline: 2px solid var(--ember); outline-offset: 3px; }
.ba-cap { margin-top: 20px; color: var(--graphite); font-size: 15px; max-width: 62em; }

/* ==========================================================================
   Splits (doors teaser, commercial teaser, doors hero)
   ========================================================================== */
.split { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split > .split-copy > * + * { margin-top: 20px; }
.split .split-copy .btn, .split .split-copy .link { margin-top: 32px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--flip .split-media { order: 2; }
}
@media (min-width: 900px) { .split--57 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.spec-photo { aspect-ratio: 4 / 5; overflow: hidden; box-shadow: var(--shadow-warm); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.spec-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-copy .specs { margin-top: 28px; }
.svc-foot { margin-top: clamp(28px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.svc-foot .rr-hint { margin: 0; }
.frame-dark { background: var(--ink); padding: clamp(10px, 1.1vw, 16px); box-shadow: var(--shadow-warm); }
.frame-dark img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ==========================================================================
   Trust numerals
   ========================================================================== */
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
.stat { border-top: 1px solid var(--hairline); padding-top: 22px; }
.stat-n { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(52px, 6.4vw, 96px); line-height: 1; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.stat-n .ms { font-size: clamp(52px, 6vw, 88px); color: var(--atenas-orange); font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 48; }
.stat-l { display: block; margin-top: 14px; color: var(--graphite); font-size: 15px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quotes { display: grid; gap: clamp(16px, 2vw, 28px); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { display: flex; flex-direction: column; gap: 28px; height: 100%; }
.quote blockquote p { font-family: var(--serif); font-weight: 300; font-size: clamp(21px, 1.8vw, 25px); line-height: 1.38; }
.quote blockquote p::before { content: "\201C"; display: block; font-size: 56px; line-height: .6; color: var(--atenas-orange); margin-bottom: 16px; }
.quote figcaption { margin-top: auto; font-size: 14px; color: var(--graphite); }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 500; font-size: 15px; }
.quotes-foot { margin-top: clamp(32px, 4vw, 48px); }

/* ==========================================================================
   Areas
   ========================================================================== */
.areas { display: grid; gap: 40px; }
@media (min-width: 900px) { .areas { grid-template-columns: 5fr 7fr; align-items: start; } }
.area-groups { display: grid; gap: 32px; }
@media (min-width: 640px) { .area-groups { grid-template-columns: 1fr 1fr; } }
.area-group h3 { font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 14px; }
.area-group ul { list-style: none; margin: 0; padding: 0; }
.area-group li { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; padding: 10px 0; border-bottom: 1px solid var(--hairline); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.band { background: var(--sand); padding-block: clamp(80px, 10vw, 150px); text-align: center; }
.band .h2 { max-width: 16em; margin-inline: auto; }
.band .btn { margin-top: 36px; }
.band-phones { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: 15px; color: var(--graphite); }
.band-phones a { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--hairline); }
.band-phones a:hover { color: var(--ember-deep); border-color: currentColor; }

/* ==========================================================================
   Doors page
   ========================================================================== */
.dhero { padding-block: clamp(48px, 7vw, 112px) clamp(72px, 9vw, 140px); }
.dhero-grid { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
.dhero-copy > * + * { margin-top: 22px; }
.dhero-copy .btn { margin-top: 36px; }
.dhero-note { font-size: 14px; color: var(--graphite); margin-top: 14px !important; }
.dhero-card { width: 100%; max-width: 520px; margin-inline: auto; }
@media (min-width: 960px) {
  .dhero-grid { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); }
  .dhero-card { max-width: none; }
}
.real-project { max-width: 1200px; margin-inline: auto; }

.journey { list-style: none; padding: 0; margin: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--brass); opacity: .4; }
.jcard { position: relative; padding-top: 64px; }
.jcard-n {
  position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--limestone); box-shadow: inset 0 0 0 1px var(--brass);
  font-family: var(--serif); font-size: 17px;
}
.sec--sand .jcard-n { background: var(--sand); }
.jcard a { display: block; color: inherit; text-decoration: none; }
.jcard figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); box-shadow: var(--shadow-warm); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.jcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.jcard a:hover img { transform: scale(1.03); }
.jcard .zoom {
  position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(247, 243, 238, .9); color: var(--ink);
}
.jcard h3 { margin-top: 18px; font-size: clamp(19px, 1.5vw, 22px); }
.jcard a:focus-visible { outline: none; }
.jcard a:focus-visible figure { outline: 2px solid var(--ember); outline-offset: 4px; }
.journey-cap { margin-top: clamp(28px, 3vw, 40px); color: var(--graphite); font-size: 15px; }
@media (max-width: 899px) {
  .journey {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(230px, 72%);
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut);
    scroll-padding-inline: var(--gut); scrollbar-width: thin;
  }
  .journey::before { left: var(--gut); right: auto; width: calc(4 * 72vw); }
  .jcard { scroll-snap-align: start; }
}

.specs { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 clamp(32px, 5vw, 80px); }
@media (min-width: 760px) { .specs { grid-template-columns: 1fr 1fr; } }
.specs li { position: relative; padding: 20px 0 20px 30px; border-bottom: 1px solid var(--hairline); font-size: clamp(17px, 1.3vw, 19px); }
.specs li::before { content: ""; position: absolute; left: 2px; top: 31px; width: 9px; height: 9px; background: var(--brass); transform: rotate(45deg); }

.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq details:first-child { border-top: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ms { color: var(--ember); transition: transform .35s var(--ease); }
.faq details[open] summary .ms { transform: rotate(180deg); }
.faq .ans { padding: 0 0 26px; color: var(--graphite); max-width: 44em; }

/* ==========================================================================
   Stub pages
   ========================================================================== */
.stub { padding-block: clamp(72px, 11vw, 168px) clamp(64px, 8vw, 120px); }
.stub .h1 { max-width: 13em; }
.stub-copy > * + * { margin-top: 22px; }
.stub-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.contact-cards { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 16px; }
@media (min-width: 760px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.contact-card .eyebrow { color: var(--brass-deep); }
.contact-card strong { font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 1.8vw, 25px); line-height: 1.2; word-break: break-word; }
.contact-card:hover strong { color: var(--ember); }
.type-note { padding: 14px 18px; background: var(--sand); border-left: 2px solid var(--atenas-orange); color: var(--ink); font-size: 15px; max-width: 40em; }

/* ==========================================================================
   Footer
   ========================================================================== */
/* ==========================================================================
   Part 2 — inner pages
   ========================================================================== */
/* Text page head (Projects, About) */
.phead { padding-block: clamp(56px, 8vw, 128px) clamp(40px, 5vw, 72px); }
.phead .eyebrow { margin-bottom: 22px; }
.phead .lead { margin-top: 24px; max-width: 34em; }
.ahero .h1 { max-width: 12.5em; font-size: clamp(48px, 7.4vw, 112px); }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 44px; padding: 10px 20px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid rgba(31, 34, 35, .22); color: var(--ink);
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .01em;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--limestone); }
.pfilter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.pcount { font-size: 14px; color: var(--graphite); }

/* Masonry project grid (JS sets row spans; without JS it is a plain grid) */
.pgrid { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 2vw, 32px); align-items: start; }
.js .pgrid { grid-auto-rows: 8px; }
@media (min-width: 700px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pcard--featured { grid-column: span 2; } }
@media (min-width: 1080px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pcard { position: relative; }
.pcard-in { display: flex; flex-direction: column; gap: 6px; }
.pcard figure {
  position: relative; overflow: hidden; background: var(--sand); margin-bottom: 14px; box-shadow: var(--shadow-warm);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.pcard img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.pcard:hover img { transform: scale(1.03); }
.pcard .eyebrow { font-size: 12px; }
.pcard h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 1.7vw, 25px); line-height: 1.2; }
.pcard--featured h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 300; }
.pcard-open { all: unset; cursor: pointer; }
.pcard-open::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard-open:focus-visible { outline: none; }
.pcard:has(.pcard-open:focus-visible) figure { outline: 2px solid var(--ember); outline-offset: 4px; }
.pcard-open:focus-visible { text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: 5px; }
.pcard-city { font-size: 14px; color: var(--graphite); }
.pcard-flag {
  position: absolute; left: 16px; top: 16px; z-index: 1; padding: 8px 14px; border-radius: 999px;
  background: rgba(31, 34, 35, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--limestone); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1;
}

/* Project modal */
.pm {
  width: min(1120px, 100vw - 32px); max-width: none; max-height: calc(100dvh - 32px);
  padding: 0; border: 0; background: var(--limestone); color: var(--ink); overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55);
}
.pm::backdrop { background: rgba(20, 16, 12, .72); }
.pm-in { position: relative; padding: clamp(24px, 4vw, 56px); }
.pm-close {
  position: sticky; top: 0; float: right; z-index: 3; margin: -8px -8px 0 16px;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--ink); color: var(--limestone);
}
.pm-close:hover { background: #000; }
.pm-head { margin-bottom: clamp(24px, 3vw, 40px); }
.pm-head .h2 { margin-top: 14px; max-width: 18em; }
.pm-city { margin-top: 10px; color: var(--graphite); font-size: 15px; }
.pm-media { margin-bottom: clamp(28px, 3vw, 44px); }
.pm-media .ba--tall { max-width: 560px; margin-inline: auto; }
.pm-cover { overflow: hidden; background: var(--sand); max-width: 760px; margin-inline: auto; }
.pm-cover img { width: 100%; height: auto; }
.pm-body { display: grid; gap: 28px 56px; }
@media (min-width: 900px) { .pm-body { grid-template-columns: 7fr 5fr; } }
.pm-body .lead { color: var(--ink); }
.pm-body .btn { margin-top: 28px; }
.pm h3.eyebrow { margin-bottom: 14px; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; border-radius: 999px; background: var(--sand); font-size: 13px; color: var(--ink); }
.pm-gallery { list-style: none; padding: 0; margin: clamp(36px, 4vw, 56px) 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pm-gallery a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.pm-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pm-gallery a:hover img { transform: scale(1.04); }
.pm-gallery a:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.pm-gallery .zoom { position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(247, 243, 238, .9); }
.pm-gallery .zoom .ms { font-size: 20px; }
@media (max-width: 640px) {
  .pm { width: 100vw; max-height: 100dvh; height: 100dvh; }
}

/* Commercial hero */
.chero { position: relative; background: var(--ink); }
.chero-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.chero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(20, 14, 8, .9) 0%, rgba(20, 14, 8, .62) 22%, rgba(20, 14, 8, .18) 48%, transparent 64%);
}
.chero-copy { position: relative; padding: 36px var(--gut) 56px; background: var(--ink); color: var(--limestone); }
.chero-copy .eyebrow { color: #D9C29C; margin-bottom: 18px; }
.chero-copy .h1 { color: var(--limestone); max-width: 13em; }
.chero-copy .lead { color: #E9E1D6; margin-top: 22px; max-width: 34em; }
.chero-copy .btn { margin-top: 32px; }
@media (min-width: 900px) {
  .chero-media { aspect-ratio: 16 / 9; max-height: calc(100svh - var(--nav-h)); width: 100%; }
  .chero-copy {
    position: absolute; left: 0; right: 0; bottom: 0; background: none; padding: 0 0 clamp(40px, 6vw, 88px);
    width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto;
  }
}

/* Three light cards */
.cards3 { display: grid; gap: clamp(16px, 2vw, 28px); }
@media (min-width: 860px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
.cards3 .card .badge { margin-bottom: 26px; }
.cards3 .card h3 { margin-bottom: 10px; }
.cards3 .card p { color: var(--graphite); }
.sec--sand .cards3 .card { --card-bg: var(--limestone); }

/* Four steps */
@media (min-width: 860px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }

/* About story */
.story { display: grid; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 960px) { .story { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.story-photo { aspect-ratio: 4 / 5; overflow: hidden; box-shadow: var(--shadow-warm); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-copy .h2 { margin: 18px 0 clamp(28px, 3vw, 40px); }
.story-cols p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.75; color: var(--ink); break-inside: avoid; }
.story-cols p + p { margin-top: 1.2em; }
.story-cols p:first-child::first-letter {
  float: left; font-family: var(--serif); font-weight: 300; font-size: 4.4em; line-height: .82; padding: 6px 12px 0 0; color: var(--atenas-orange);
}
@media (min-width: 1100px) { .story-cols { columns: 2; column-gap: 48px; } .story-cols p + p { margin-top: 0; } }

/* Contact */
.csplit { display: grid; gap: clamp(40px, 5vw, 80px); align-items: start; }
@media (min-width: 1000px) { .csplit { grid-template-columns: minmax(0, 7fr) minmax(0, 4.6fr); } }
.csplit-copy > .eyebrow { margin-bottom: 20px; }
.csplit-copy > .lead { margin-top: 22px; max-width: 32em; }
.ink-card { --card-bg: var(--ink); color: var(--limestone); }
@media (min-width: 1000px) { .ink-card { position: sticky; top: calc(var(--nav-h) + 24px); } }
.ink-card .h3 { color: var(--limestone); margin-bottom: 22px; }
.ink-card a { color: var(--limestone); text-decoration: none; }
.ink-card a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--atenas-orange); text-underline-offset: 5px; }
.ink-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.ink-list .lbl { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #CBB592; margin-bottom: 2px; }
.ink-list li > a { font-size: 18px; overflow-wrap: anywhere; }
.ink-meta { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(176, 141, 87, .35); display: grid; gap: 12px; font-size: 15px; color: #E9E1D6; }
.ink-meta .lbl { color: #CBB592; margin-right: 8px; }
.ink-card .foot-social { margin-top: 18px; }

/* Estimate form */
.eform { margin-top: clamp(32px, 4vw, 48px); }
.eform-title { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.9vw, 28px); margin-bottom: 22px; }
.eform-fields { display: grid; gap: 20px 20px; }
@media (min-width: 640px) { .eform-fields { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.field label .opt { font-weight: 400; color: var(--graphite); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid rgba(31, 34, 35, .26); border-radius: 2px; appearance: none; -webkit-appearance: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field select {
  padding-right: 44px; cursor: pointer;
  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='%231F2223' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(31, 34, 35, .5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(179, 63, 10, .18); }
.field [aria-invalid="true"] { border-color: var(--ember-deep); box-shadow: 0 0 0 1px var(--ember-deep); }
.field-err { margin-top: 6px; font-size: 14px; color: var(--ember-deep); min-height: 0; }
.field-err:empty { display: none; }
.field-err::before { content: "! "; font-weight: 600; }
.eform-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.eform-actions .btn[disabled] { opacity: .7; cursor: progress; }
.eform-note { font-size: 14px; color: var(--graphite); max-width: 30em; }
.eform-status { margin-top: 20px; font-size: 15px; color: var(--ink); outline: none; }
.eform-status:empty { display: none; }
.eform-status.is-success {
  margin-top: 0; padding: clamp(28px, 3vw, 40px); background: var(--sand); border-left: 2px solid var(--atenas-orange);
  font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25;
}
.eform.is-sent .eform-fields, .eform.is-sent .eform-actions, .eform.is-sent .eform-title { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.foot { background: var(--ink); color: var(--limestone); padding: clamp(72px, 8vw, 120px) 0 calc(32px + env(safe-area-inset-bottom)); }
.foot a { color: var(--limestone); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--atenas-orange); text-underline-offset: 5px; }
.foot-top { display: grid; gap: 48px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid rgba(176, 141, 87, .35); }
.foot-brand img { height: 44px; width: auto; }
.foot-tag { margin-top: 24px; font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; max-width: 12em; }
.foot-social { margin-top: 28px; display: flex; gap: 10px; }
.foot-social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(233, 225, 214, .3); }
.foot-social a:hover { box-shadow: inset 0 0 0 1px var(--atenas-orange); text-decoration: none; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
.foot-col h2 { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #CBB592; margin-bottom: 18px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.foot-col .lbl { display: block; font-size: 12px; color: #B9B2A8; letter-spacing: .04em; }
.foot-bot { padding-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; font-size: 13px; color: #B9B2A8; }
.foot-col .mail { overflow-wrap: anywhere; font-size: 14px; }
@media (min-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr 1.45fr 1fr; } }
@media (min-width: 1100px) { .foot-top { grid-template-columns: 4fr 8fr; } }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lb {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  background: rgba(20, 16, 12, .94); color: var(--limestone);
}
.lb::backdrop { background: rgba(20, 16, 12, .6); }
.lb[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.lb-count { font-size: 13px; letter-spacing: .2em; color: #CBB592; }
.lb-stage { position: relative; min-height: 0; }
.lb-stage img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: calc(100% - 136px); max-height: 100%; object-fit: contain; }
.lb-cap { padding: 16px 24px 24px; text-align: center; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); }
.lb-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(247, 243, 238, .12); color: var(--limestone);
}
.lb-btn:hover { background: rgba(247, 243, 238, .22); }
.lb-btn:focus-visible { outline: 2px solid var(--atenas-orange); outline-offset: 2px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
@media (max-width: 640px) {
  .lb[open] { grid-template-rows: auto 1fr auto auto; }
  .lb-stage img { max-width: calc(100% - 16px); }
  .lb-prev, .lb-next { top: auto; bottom: -60px; transform: none; z-index: 2; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
  .lb-cap { padding-top: 72px; }
}

/* ==========================================================================
   Reveal
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   Launch pass (2026-11-24)
   ========================================================================== */

/* ---------- Mobile hero: video ≤ 52svh, then eyebrow + H1 + one CTA above the fold ---------- */
@media (max-width: 767px) {
  .hero-media { aspect-ratio: auto; height: 52vh; height: 52svh; max-height: 125vw; }
  .hero-media img, .hero-media video { object-position: 70% center; }
  .hero-copy { display: flex; flex-direction: column; padding: 22px var(--gut) 48px; }
  .hero-copy .eyebrow { margin-bottom: 12px; }
  .hero-copy .h1 { font-size: clamp(34px, 10.4vw, 42px); line-height: 1.02; }
  .hero-cta { order: 1; margin-top: 22px; }
  .hero-sub { order: 2; margin-top: 22px; }
  .hero-link { display: none; }
}

/* ---------- Mobile bar: hidden until site.js knows whether a main button is on screen ---------- */
.js .mbar[data-wait] { visibility: hidden; animation: mbar-wait 0s 2.5s forwards; }
@keyframes mbar-wait { to { visibility: visible; } }

/* ---------- Cards without a real render/photo pair ---------- */
.rr--static, .rr--panel { cursor: default; }
.rr--panel .rr-frame { background: var(--sand); box-shadow: inset 0 0 0 1px var(--hairline), 0 36px 70px -34px rgba(28, 18, 8, .22); }
.rr--panel .rr-foot { color: var(--ink); }
.rr--panel .rr-title { color: var(--ink); text-shadow: none; white-space: normal; font-weight: 300; font-size: clamp(24px, 7.4cqw, 50px); line-height: 1.08; }
.rr--panel .rr-desc { color: var(--graphite); text-shadow: none; font-weight: 400; }

/* ---------- Sand quote panel (sections with no real image yet) ---------- */
.qpanel {
  --qp-bg: var(--sand);
  position: relative; isolation: isolate; margin: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 22px;
  min-height: clamp(300px, 32vw, 460px); padding: clamp(32px, 4vw, 60px);
  box-shadow: var(--shadow-warm);
}
.qpanel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--qp-bg);
  box-shadow: inset 0 0 0 1px var(--hairline);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.sec--sand .qpanel { --qp-bg: #E0D4C3; }
.qpanel blockquote p {
  font-family: var(--serif); font-weight: 300; font-size: clamp(27px, 2.7vw, 42px); line-height: 1.2;
  letter-spacing: -0.005em; color: var(--ink); text-wrap: balance; max-width: 18em;
}
.qpanel blockquote p::before { content: "\201C"; display: block; font-size: 1.9em; line-height: .55; color: var(--atenas-orange); margin-bottom: 18px; }
.qpanel figcaption {
  font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-label-sand);
  padding-top: 18px; border-top: 1px solid var(--hairline); max-width: 18em;
}
.qpanel--wide { max-width: 760px; margin-inline: auto; min-height: clamp(260px, 30vw, 380px); }
.qpanel--tall { aspect-ratio: 4 / 5; }
@media (max-width: 959px) { .qpanel--tall { aspect-ratio: auto; min-height: 340px; } }

/* Commercial hero without a photo: ink copy + Sand panel */
.chero--quote { display: grid; }
.chero--quote .chero-copy { position: relative; inset: auto; width: auto; margin: 0; background: var(--ink); padding: clamp(48px, 8vw, 96px) var(--gut) 40px; }
.chero--quote .chero-panel { padding: 0 var(--gut) clamp(48px, 7vw, 80px); }
.chero--quote .qpanel { min-height: 280px; }
@media (min-width: 900px) {
  .chero--quote { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: min(78svh, 760px); }
  .chero--quote .chero-copy {
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: clamp(64px, 8vw, 120px) clamp(32px, 5vw, 80px) clamp(64px, 8vw, 120px) max(var(--gut), calc((100vw - var(--max)) / 2));
  }
  .chero--quote .chero-panel { display: flex; padding: clamp(48px, 6vw, 88px) max(var(--gut), calc((100vw - var(--max)) / 2)) clamp(48px, 6vw, 88px) 0; }
  .chero--quote .qpanel { flex: 1; }
}

/* Project cards without a real photo */
.pcard .pcard-panel {
  aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(24px, 2.4vw, 36px); background: var(--sand);
}
.pcard-panel blockquote p { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; color: var(--ink); text-wrap: balance; }
.pcard-panel blockquote p::before { content: "\201C"; display: block; font-size: 54px; line-height: .6; color: var(--atenas-orange); margin-bottom: 14px; }

/* ---------- Google reviews ---------- */
.rev-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.rev-head .eyebrow { margin-bottom: 18px; }
.rev-head .h2 { max-width: 14em; }
.reviews { margin-top: clamp(40px, 5vw, 72px); }
.review-stars { display: inline-flex; gap: 2px; color: var(--atenas-orange); }
.review-stars .ms { font-size: 20px; }
.review blockquote p::before { display: none; }

/* ---------- Estimate form: SMS consent + delivery notices ---------- */
.consent {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 16px 18px; background: rgba(233, 225, 214, .6); border: 1px solid var(--hairline);
}
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ember); cursor: pointer; }
.consent label { font-size: 13.5px; line-height: 1.55; color: var(--graphite); cursor: pointer; }
.consent a { color: var(--ember-deep); }
.eform-status.is-error { padding: 18px 20px; background: var(--sand); border-left: 2px solid var(--ember-deep); line-height: 1.55; }
.eform-status a { color: var(--ember-deep); font-weight: 500; }
.eform-status a[href^="tel:"] { white-space: nowrap; }

/* ---------- Footer legal links ---------- */
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot .foot-legal a { color: #B9B2A8; }
.foot .foot-legal a:hover { color: #fff; }

/* ---------- Cookie notice (Limestone bar, never blocks the page) ---------- */
.cookie {
  position: fixed; z-index: 95; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px 18px; width: min(560px, calc(100% - 32px));
  padding: 12px 12px 12px 20px; background: var(--limestone); color: var(--ink);
  border: 1px solid var(--hairline); box-shadow: 0 18px 40px -18px rgba(28, 18, 8, .35);
  font-size: 14px; line-height: 1.45;
  opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.cookie.is-in { opacity: 1; transform: none; }
.cookie-text { flex: 1; color: var(--graphite); }
.cookie-text a { color: var(--ember); }
.cookie-ok {
  flex: none; min-width: 64px; min-height: 44px; padding: 10px 18px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--limestone); font-weight: 500; font-size: 14px; letter-spacing: .04em;
}
.cookie-ok:hover { background: #000; }
@media (max-width: 767px) {
  .cookie { left: 12px; width: calc(100% - 24px); bottom: calc(80px + env(safe-area-inset-bottom)); }
  .has-chat .cookie { width: calc(100% - 104px); } /* keeps OK clear of the chat launcher on the right */
}

/* Optional HighLevel chat: known launcher ids lifted above the mobile bar (site.js also lifts anything pinned to the bottom) */
@media (max-width: 767px) {
  .has-chat #lc_text-widget, .has-chat .lc_text-widget, .has-chat #lc_text-widget--btn { bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
}

/* ---------- Thank-you page ---------- */
.ty { padding-block: clamp(64px, 10vw, 160px) clamp(88px, 11vw, 168px); }
.ty .h1 { max-width: 12em; }
.ty .lead { max-width: 30em; }
.ty-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 16px; }
.ty-phones { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 15px; color: var(--graphite); }
.ty-phones a { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--hairline); }
.ty-phones a:hover { color: var(--ember-deep); border-color: currentColor; }
.ty-link { margin-top: 40px; }

/* ---------- Legal pages ---------- */
.legal-head { padding-bottom: clamp(32px, 4vw, 56px); }
.legal-updated { margin-top: 18px; font-size: 14px; color: var(--graphite); }
.legal-sec { padding-bottom: var(--sec); }
.legal { display: grid; gap: 40px; border-top: 1px solid var(--hairline); padding-top: clamp(32px, 4vw, 56px); }
@media (min-width: 1000px) {
  .legal { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .legal-toc { position: sticky; top: calc(var(--nav-h) + 32px); }
}
.legal-toc ol { margin-top: 14px; display: grid; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: flex; gap: 12px; align-items: baseline; padding: 10px 0; color: var(--ink); text-decoration: none;
  font-size: 15px; line-height: 1.35; border-bottom: 1px solid var(--hairline);
}
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--serif); color: var(--brass-deep); font-size: 14px; min-width: 22px; }
.legal-toc a:hover { color: var(--ember); }
.legal-body { max-width: 720px; }
.legal-body > .lead { margin-bottom: clamp(36px, 4vw, 56px); }
.legal-body section { scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal-body section + section { margin-top: clamp(40px, 4.4vw, 60px); padding-top: clamp(40px, 4.4vw, 60px); border-top: 1px solid var(--hairline); }
.legal-body h2.h3 { margin-bottom: 18px; }
.prose { font-size: 17px; line-height: 1.7; color: var(--ink); }
.prose > * + * { margin-top: 14px; }
.prose h3 { font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .02em; color: var(--ink); }
.prose > h3:not(:first-child) { margin-top: 26px; }
.prose p + h3 { margin-top: 26px; }
.prose ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 24px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; background: var(--brass); transform: rotate(45deg); }
.prose strong { font-weight: 600; }

/* ==========================================================================
   Ad landing pages: /bathrooms/ · /basements/ (2026-11-25)
   ========================================================================== */
.ba img { object-position: var(--ba-fit, 50% 50%); }
@media (min-width: 768px) { .ba--43 { aspect-ratio: 4 / 3; } }

/* Minimal nav: logo · EN|ES · phone (no menu) */
.nav-phone.nav-phone--lp { display: inline-flex; }
@media (max-width: 479px) {
  .nav--lp .nav-in { gap: 10px; }
  .nav--lp .nav-logo img { height: 32px; }
  .nav--lp .nav-tools { gap: 8px; }
  .nav-phone--lp { width: 44px; height: 44px; justify-content: center; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(31, 34, 35, .22); }
  .nav-phone--lp .ms { font-size: 21px; }
  .nav-phone--lp [data-phone-text] {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

/* Hero: copy + form (+ trust row) + before/after. Stacked on phones: copy → form → photo. */
.lph { padding-block: clamp(28px, 4vw, 64px) clamp(72px, 9vw, 128px); }
.lph-grid { display: grid; gap: 36px; grid-template-areas: "copy" "form" "media"; }
.lph-copy { grid-area: copy; }
.lph-copy .eyebrow { margin-bottom: 16px; }
.lph-copy .h1 { font-size: clamp(34px, 9.4vw, 44px); line-height: 1.04; max-width: 13em; }
.lph-copy .lead { margin-top: 20px; max-width: 30em; }
.lph-form { grid-area: form; scroll-margin-top: calc(var(--nav-h) + 12px); }
.lph-card { padding: clamp(22px, 3vw, 40px); }
.lph-card .eform { margin-top: 0; }
.lph-card .eform-title { margin-bottom: 20px; }
.eform--lp .field textarea { min-height: 104px; }
.lph-media { grid-area: media; }
.lph-media .ba-cap { margin-top: 14px; font-size: 14px; }
/* Trust row under the form: 2 × 2, hairline dividers (same pattern as the home strip on phones) */
.lp-trust {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); text-align: center;
}
.lp-trust li { display: flex; align-items: center; justify-content: center; padding: 12px 8px; line-height: 1.35; }
.lp-trust li:nth-child(even) { border-left: 1px solid var(--hairline); }
.lp-trust li:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
@media (min-width: 768px) { .lph-copy .h1 { font-size: clamp(44px, 5.6vw, 64px); } }
@media (min-width: 1000px) {
  .lph-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-rows: auto 1fr;
    grid-template-areas: "copy form" "media form"; column-gap: clamp(48px, 5vw, 88px); row-gap: 40px; align-items: start;
  }
  .lph-copy { padding-top: clamp(8px, 2vw, 28px); }
  .lph-copy .h1 { font-size: clamp(44px, 4.6vw, 64px); }
}

/* Gallery (lightbox). Phones: one swipeable row, like the doors journey. */
.lp-gal { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.lp-gal a { position: relative; display: block; color: inherit; text-decoration: none; outline: none; }
.lp-gal-img {
  display: block; aspect-ratio: var(--ar, 4 / 5); overflow: hidden; background: var(--sand);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.lp-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lp-gal a:hover img { transform: scale(1.03); }
.lp-gal a:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; }
.lp-gal .zoom {
  position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(247, 243, 238, .9); color: var(--ink);
}
@media (max-width: 899px) {
  .lp-gal {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 72%);
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
    margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); scrollbar-width: thin;
  }
  .lp-gal li { scroll-snap-align: start; }
}

/* Compact footer: logo · phones · legal */
.foot--lp { padding-top: clamp(48px, 6vw, 72px); }
.foot-lp {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px;
  padding-bottom: 28px; border-bottom: 1px solid rgba(176, 141, 87, .35);
}
.foot-lp img { height: 40px; width: auto; }
.foot-lp-phones { display: flex; flex-wrap: wrap; gap: 16px 44px; }
.foot-lp-phones .lbl { display: block; font-size: 12px; color: #B9B2A8; letter-spacing: .04em; }
.foot-lp-phones a { font-size: 18px; font-weight: 500; }

/* ==========================================================================
   Commercial page with real photos (2026-12-04):
   split hero, project cards, before/after pairs, gallery, contact band
   ========================================================================== */
.chero--split { display: grid; }
.chero--split .chero-media::after { display: none; }
.chero--split .chero-media img { object-position: 50% 70%; }
.chero-chip {
  position: absolute; left: 16px; bottom: 16px; z-index: 1; padding: 8px 14px; border-radius: 999px;
  background: rgba(31, 34, 35, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--limestone); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1;
}
.chero--split .chero-copy .h1 { max-width: 11em; }
.chero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.chero-copy .chero-actions .btn { margin-top: 0; }
.chero-phone {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--limestone); font-weight: 500; font-size: 16px; text-decoration: none;
  border-bottom: 1px solid rgba(217, 194, 156, .5);
}
.chero-phone:hover { color: #fff; border-color: #D9C29C; }
.chero-phone .ms { font-size: 20px; color: #D9C29C; }
.chero-loc { margin-top: 28px; font-size: 14px; line-height: 1.5; color: #CBB592; }
@media (min-width: 900px) {
  .chero--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: min(calc(100svh - var(--nav-h)), 820px); }
  .chero--split .chero-media { order: 2; aspect-ratio: auto; max-height: none; height: 100%; }
  .chero--split .chero-copy {
    position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: 0; align-self: center;
    background: var(--ink); padding: clamp(64px, 8vw, 128px) clamp(32px, 5vw, 80px);
  }
}

.cproj-list { display: grid; gap: clamp(24px, 3vw, 40px); }
.cproj { display: grid; gap: clamp(24px, 3vw, 40px); padding: clamp(22px, 3.4vw, 48px); }
.cproj-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 48px; }
.cproj-head > div { flex: 1 1 340px; min-width: 0; }
.cproj-t { margin-top: 12px; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -0.01em; }
.cproj-d { color: var(--graphite); font-size: clamp(17px, 16px + .25vw, 19px); line-height: 1.55; }
.cproj .tags { margin-top: 16px; }
.ctiles { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px 20px; }
@media (min-width: 760px) { .ctiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ctile a { display: block; color: inherit; text-decoration: none; outline: none; }
.ctile-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.ctile-img picture { display: block; width: 100%; height: 100%; }
.ctile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ctile a:hover img { transform: scale(1.03); }
.ctile a:focus-visible .ctile-img { outline: 2px solid var(--ember); outline-offset: 4px; }
@media (max-width: 759px) { .ctile-img--tall { aspect-ratio: 3 / 4; } }
.ctile .zoom, .cgal .zoom {
  position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(247, 243, 238, .9); color: var(--ink);
}
.ctile .zoom .ms, .cgal .zoom .ms { font-size: 20px; }
.ctile-cap { margin-top: 14px; display: flex; align-items: baseline; gap: 12px; }
.ctile-n { flex: none; font-size: 12px; font-weight: 500; letter-spacing: .2em; color: var(--ember); }
.ctile-t { font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.25; color: var(--ink); }

.cba-feature { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) { .cba-feature { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.cba-slider .ba { max-width: 580px; }
.cba-copy { max-width: 520px; }
.cba-t { margin-top: 14px; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -0.01em; }
.cba-text { margin-top: 20px; color: var(--graphite); font-size: clamp(17px, 16px + .25vw, 19px); }
.cba-hint { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--hairline); display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--graphite); }
.cba-arrows { display: inline-flex; color: var(--ember); }
.cba-arrows .ms { font-size: 20px; margin: 0 -4px; }
.cba-pairs { margin-top: clamp(48px, 6vw, 88px); display: grid; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 760px) { .cba-pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cba-pair { --card-bg: var(--limestone); }
.cba-pair .eyebrow { font-size: 12px; }
.cba-pair .h3 { margin-top: 10px; }
.cba-imgs { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cba-imgs figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.cba-imgs img { width: 100%; height: 100%; object-fit: cover; }
.cba-imgs .ba-pill { top: 10px; left: 10px; padding: 7px 12px; font-size: 11px; }
.cba-d { margin-top: 18px; font-size: 15px; line-height: 1.55; color: var(--graphite); }

.cgal-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.cgal-head .head { margin-bottom: 0; }
.cgal-hint { font-size: 14px; color: var(--graphite); }
.cgal { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
@media (min-width: 640px) { .cgal { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cgal { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.cgal a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); outline: none; }
.cgal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cgal a:hover img { transform: scale(1.04); }
.cgal a:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

.band .cband-h2 { margin-top: 18px; }
.band .cband-lead { margin: 20px auto 0; max-width: 34em; }
.cband-contact { gap: 6px 32px; }
.band-phones.cband-contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border-bottom: 0; }
.cband-contact a > span:not(.ms) { border-bottom: 1px solid var(--hairline); }
.cband-contact a:hover > span:not(.ms) { border-color: currentColor; }
.cband-contact .ms { font-size: 20px; color: var(--ember-deep); }
.cband-loc { margin-top: 14px; font-size: 14px; color: var(--graphite); }

/* Print */
@media print { .nav, .mbar, .menu, .cookie, .hero-media video { display: none !important; } .page { padding-top: 0; } }
