/* =========================================================
   Cherrywood Wallpaper Hanger — design system
   Brygada 1918 (display) + Urbanist (UI/body)
   Palette: ivory / cream / taupe / espresso + cherrywood + brass
   ========================================================= */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Brygada 1918";
  src: url("../assets/fonts/brygada-1918-latin-wght.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Brygada 1918";
  src: url("../assets/fonts/brygada-1918-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Urbanist";
  src: url("../assets/fonts/urbanist-latin-wght.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ivory: #F8F4EC;
  --cream: #F0E8DB;
  --porcelain: #FCFAF6;
  --taupe: #CDBFAA;
  --espresso: #2B1E17;
  --espresso-2: #231812;
  --ink: #241A14;
  --body: #43362C;
  --muted: #6B5C4E;
  --cherry: #7A3524;
  --cherry-hover: #632A1C;
  --cherry-on-dark: #E3A58C;
  --brass: #B08A52;          /* decorative only */
  --brass-text: #7A5C2E;
  --brass-on-dark: #D4B27A;
  --on-dark: #F3ECE0;
  --on-dark-muted: #C8BBA8;
  --rule: #E2D8C8;            /* decorative hairline */
  --rule-dark: rgba(243, 236, 224, .16);
  --line: #8C7E70;            /* control borders */
  --error: #A32B22;

  --font-display: "Brygada 1918", Georgia, "Times New Roman", serif;
  --font-body: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 136px);
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(43, 30, 23, .06), 0 4px 14px rgba(43, 30, 23, .06);
  --shadow-md: 0 2px 6px rgba(43, 30, 23, .08), 0 18px 40px -12px rgba(43, 30, 23, .22);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 80px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--body);
  font-family: var(--font-body);
  font-size: clamp(16px, 0.25vw + 15.2px, 18px);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cherry); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--cherry-hover); }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--cherry); outline-offset: 3px; border-radius: 2px; }
.site-header :focus-visible, .hero :focus-visible, .why :focus-visible, .cta :focus-visible,
.contact__card :focus-visible, .site-footer :focus-visible, .lightbox :focus-visible, .quickbar :focus-visible {
  outline-color: var(--brass-on-dark);
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brass-on-dark); color: var(--espresso-2); padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--espresso-2); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--brass-text); margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--brass-on-dark); }
.section-title { font-size: clamp(30px, 3.4vw + 8px, 50px); }
.section-lead { margin-top: 18px; font-size: clamp(16.5px, .4vw + 15px, 19px); color: var(--muted); max-width: 56ch; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-head .section-lead { margin-left: auto; margin-right: auto; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head--left .section-lead { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px; letter-spacing: .04em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--brass { background: var(--brass-on-dark); color: var(--espresso-2); }
.btn--brass:hover { background: #E1C391; color: var(--espresso-2); box-shadow: 0 10px 24px -10px rgba(212, 178, 122, .6); }
.btn--cherry { background: var(--cherry); color: #fff; }
.btn--cherry:hover { background: var(--cherry-hover); color: #fff; box-shadow: 0 10px 24px -12px rgba(122, 53, 36, .7); }
.btn--ghost-light { border-color: rgba(243, 236, 224, .55); color: var(--on-dark); background: transparent; }
.btn--ghost-light:hover { border-color: var(--on-dark); background: rgba(243, 236, 224, .08); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(43, 30, 23, .04); }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-2px); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--espresso);
  color: var(--on-dark);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); background: rgba(43, 30, 23, .97); }
.header__inner {
  max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h); display: flex; align-items: center; gap: 28px;
  transition: height .3s var(--ease);
}
.site-header.is-scrolled .header__inner { height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--on-dark); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand__mark { width: 42px; height: 42px; color: var(--on-dark); --mark-bg: var(--espresso); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 23px; font-weight: 500; letter-spacing: .01em; }
.brand__sub { font-size: 10.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--brass-on-dark); margin-top: 6px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav__list a {
  color: var(--on-dark); text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .03em;
  padding: 8px 0; position: relative;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--brass-on-dark);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__list a:hover, .nav__list a[aria-current="true"] { color: #fff; }
.nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.header__phone {
  display: inline-flex; align-items: center; gap: 9px; color: var(--espresso-2); background: var(--brass-on-dark);
  text-decoration: none; font-weight: 600; font-size: 15px; padding: 11px 18px; border-radius: var(--radius);
  transition: background-color .25s var(--ease);
}
.header__phone svg { width: 16px; height: 16px; }
.header__phone:hover { background: #E1C391; color: var(--espresso-2); }

.menu-toggle {
  display: none; margin-left: auto; align-items: center; gap: 10px;
  background: transparent; border: 1px solid rgba(243, 236, 224, .35); color: var(--on-dark);
  border-radius: var(--radius); padding: 10px 14px; min-height: 44px; cursor: pointer;
  font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.menu-toggle__bars { display: grid; gap: 4px; width: 18px; }
.menu-toggle__bars span { display: block; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .3s; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  background: var(--espresso); border-top: 1px solid var(--rule-dark);
  padding: 12px var(--gutter) 28px; max-height: calc(100vh - 68px); overflow-y: auto;
}
.js .mobile-menu:not(.is-open) { display: none; }
html:not(.js) .menu-toggle { display: none !important; }
html:not(.js) .site-header { position: relative; }
.mobile-menu li a {
  display: block; padding: 14px 0; color: var(--on-dark); text-decoration: none;
  font-family: var(--font-display); font-size: 24px; border-bottom: 1px solid var(--rule-dark);
}
.mobile-menu li a:hover { color: var(--brass-on-dark); }
.mobile-menu__actions { display: grid; gap: 12px; margin-top: 24px; }
.mobile-menu__address { margin-top: 20px; color: var(--on-dark-muted); font-size: 14.5px; }

@media (max-width: 1080px) {
  .nav, .header__phone { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1081px) { .mobile-menu { display: none !important; } }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  min-height: min(calc(100vh - var(--header-h)), 860px);
  background: var(--espresso);
  position: relative;
}
.hero__panel { display: flex; align-items: center; padding: clamp(48px, 6vw, 96px) clamp(28px, 4vw, 72px) clamp(56px, 6vw, 96px) max(var(--gutter), calc((100vw - 1360px) / 2 + 40px)); }
.hero__copy { max-width: 540px; }
.hero__title {
  color: var(--on-dark); font-size: clamp(38px, 3.9vw + 8px, 66px); line-height: 1.06; font-weight: 500;
  letter-spacing: -.015em;
}
.hero__title em { font-style: italic; color: var(--cherry-on-dark); font-weight: 400; }
.hero__lead { color: var(--on-dark-muted); font-size: clamp(17px, .45vw + 15px, 19.5px); margin: 26px 0 36px; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__notes { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--rule-dark); }
.hero__notes li { font-size: 14px; color: var(--on-dark-muted); letter-spacing: .04em; display: inline-flex; align-items: center; gap: 10px; }
.hero__notes li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--brass-on-dark); }

.hero__media { position: relative; overflow: hidden; background: #3A2A20; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 45%; }
.hero__media::after { /* inset brass frame */
  content: ""; position: absolute; inset: clamp(14px, 1.6vw, 24px);
  border: 1px solid rgba(212, 178, 122, .65); pointer-events: none;
}
.hero__caption {
  position: absolute; right: clamp(28px, 3vw, 44px); bottom: clamp(28px, 3vw, 44px);
  background: var(--espresso); color: var(--on-dark); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 14px; font-weight: 600;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: heroSettle 1.6s var(--ease) both; }
  @keyframes heroSettle { from { transform: scale(1.06); opacity: .6; } to { transform: scale(1); opacity: 1; } }
}

@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 4 / 3; }
  .hero__caption { display: none; }
  .hero__panel { padding: 40px var(--gutter) 56px; }
  .hero__copy { max-width: 620px; }
  .hero__actions .btn { flex: 1 1 220px; }
}
@media (max-width: 420px) {
  .hero__media { aspect-ratio: 5 / 4; }
  .hero__notes { gap: 10px 18px; margin-top: 32px; }
}

/* ---------- Intro ---------- */
.intro { background: var(--cream); padding: clamp(56px, 8vw, 104px) 0; border-bottom: 1px solid var(--rule); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.intro__title { font-size: clamp(28px, 2.6vw + 10px, 42px); font-style: italic; font-weight: 400; color: var(--ink); }
.intro__text { font-size: clamp(16.5px, .35vw + 15px, 18.5px); }
@media (max-width: 800px) { .intro__grid { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.service-card {
  background: var(--porcelain); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.service-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.service-card__body { padding: clamp(24px, 2.4vw, 32px); position: relative; flex: 1; }
.service-card__num {
  display: block; font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--brass-text);
  margin-bottom: 10px; letter-spacing: .06em;
}
.service-card h3 { font-size: clamp(21px, .7vw + 16px, 25px); margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 16px; }
.service-card:hover { box-shadow: var(--shadow-md); border-color: var(--taupe); }
@media (prefers-reduced-motion: no-preference) {
  .service-card:hover { transform: translateY(-6px); }
  .service-card:hover .service-card__media img { transform: scale(1.05); }
}
@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card__media { aspect-ratio: 16 / 10; }
}

/* ---------- Why ---------- */
.why { background: var(--espresso); color: var(--on-dark-muted); position: relative; }
.why .section-title, .why h3 { color: var(--on-dark); }
.why .section-lead { color: var(--on-dark-muted); }
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.why__media { position: sticky; top: calc(var(--header-h) + 32px); }
.why__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.why__media::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(212, 178, 122, .45); z-index: 0; pointer-events: none;
}
.why__media picture { position: relative; z-index: 1; }
.why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 44px); }
.why__list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 26px 0; border-top: 1px solid var(--rule-dark); }
.why__num { font-family: var(--font-display); font-style: italic; color: var(--brass-on-dark); font-size: 18px; line-height: 1.4; }
.why__list h3 { font-size: 20px; margin-bottom: 8px; }
.why__list p { font-size: 15.5px; color: var(--on-dark-muted); }
@media (max-width: 960px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__media { position: relative; top: 0; max-width: 520px; }
}
@media (max-width: 640px) {
  .why__list { grid-template-columns: 1fr; }
  .why__media img { aspect-ratio: 4 / 3; }
  .why__media::before { inset: -10px 10px 10px -10px; }
}

/* ---------- Process ---------- */
.process { background: var(--ivory); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); position: relative; counter-reset: step; }
.steps::before { /* timeline hairline */
  content: ""; position: absolute; top: 31px; left: 32px; right: 12%; height: 1px;
  background: linear-gradient(90deg, var(--brass) 0 60%, var(--taupe));
}
.step { position: relative; padding-right: 12px; }
.step__num {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--brass); color: var(--cherry);
  font-family: var(--font-display); font-size: 22px; font-weight: 500; margin-bottom: 26px; position: relative;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.step:hover .step__num { background: var(--cherry); color: #fff; border-color: var(--cherry); }
.step h3 { font-size: clamp(21px, .6vw + 17px, 24px); margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 10px; bottom: 40px; left: 27px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--brass), var(--taupe)); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding: 0 0 36px; }
  .step__num { width: 56px; height: 56px; font-size: 19px; margin: 0; grid-row: span 2; }
  .step h3 { align-self: end; padding-top: 12px; }
}

/* ---------- About ---------- */
.about { background: var(--cream); }
.about__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.about__text { font-size: clamp(16.5px, .3vw + 15.5px, 18px); }
.about__text strong { color: var(--ink); font-weight: 600; }
.about__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 36px 0 0; border-top: 1px solid var(--taupe); }
.about__facts div { padding: 18px 16px 0 0; }
.about__facts dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-text); font-weight: 600; margin-bottom: 6px; }
.about__facts dd { margin: 0; font-family: var(--font-display); font-size: 18px; color: var(--ink); line-height: 1.3; }
.about__media { position: relative; padding: 0 0 18px 18px; }
.about__media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; background: var(--cherry); opacity: .9; border-radius: 2px; }
.about__media picture { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; box-shadow: var(--shadow-md); }
@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; order: -1; }
}
@media (max-width: 520px) {
  .about__facts { grid-template-columns: 1fr; }
  .about__facts div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .about__media img { aspect-ratio: 1 / 1; }
}

/* ---------- Gallery (CSS-columns masonry — no cropping of patterns) ---------- */
.gallery { background: var(--ivory); }
.gallery__grid { columns: 3; column-gap: clamp(16px, 2vw, 28px); }
.gallery__item { break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; margin-bottom: clamp(20px, 2.4vw, 32px); display: block; }
.gallery__btn {
  display: block; width: 100%; padding: 0; border: 0; background: var(--cream); cursor: zoom-in;
  overflow: hidden; border-radius: 2px; position: relative;
}
.gallery__btn img { width: 100%; transition: transform .9s var(--ease), filter .6s var(--ease); }
.gallery__btn::after {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(248, 244, 236, .0); transition: border-color .4s var(--ease); pointer-events: none;
}
.gallery__btn:hover::after, .gallery__btn:focus-visible::after { border-color: rgba(248, 244, 236, .85); }
@media (prefers-reduced-motion: no-preference) { .gallery__btn:hover img { transform: scale(1.04); } }
.gallery__cap { margin: 12px 0 0; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.gallery__cap span { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-text); }
@media (max-width: 1000px) { .gallery__grid { columns: 2; } }
@media (max-width: 559px) { .gallery__grid { columns: 1; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--espresso-2); color: var(--on-dark); padding: clamp(88px, 12vw, 160px) 0; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(35, 24, 18, .95) 0%, rgba(35, 24, 18, .9) 50%, rgba(35, 24, 18, .8) 100%); }
.cta__inner { max-width: 820px; text-align: center; }
.cta .eyebrow { justify-content: center; }
.cta__title { color: var(--on-dark); font-size: clamp(34px, 4vw + 8px, 60px); font-weight: 500; }
.cta__text { color: var(--on-dark-muted); font-size: clamp(16.5px, .4vw + 15px, 19px); margin: 22px auto 36px; max-width: 54ch; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
@media (max-width: 520px) { .cta__actions .btn { flex: 1 1 100%; } }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.contact__card {
  background: var(--espresso); color: var(--on-dark-muted); border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 52px); position: relative; overflow: hidden;
}
.contact__card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border: 1px solid rgba(212, 178, 122, .28); border-radius: 50%; }
.contact__title { color: var(--on-dark); font-size: clamp(28px, 2vw + 16px, 38px); margin-bottom: 16px; }
.contact__intro { margin-bottom: 28px; }
.contact__list div { padding: 14px 0; border-top: 1px solid var(--rule-dark); display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.contact__list dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-on-dark); padding-top: 3px; }
.contact__list dd { margin: 0; color: var(--on-dark); overflow-wrap: anywhere; }
.contact__list a { color: var(--on-dark); text-decoration-color: rgba(212, 178, 122, .7); }
.contact__list a:hover { color: var(--brass-on-dark); }

.form-card { background: var(--porcelain); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow-sm); }
.form__note { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field { margin-bottom: 20px; position: relative; }
.field label { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: .02em; }
.req { color: var(--cherry); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; min-height: 50px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #8A7C6E; opacity: 1; }
.field input:hover, .field textarea:hover { border-color: var(--body); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cherry); box-shadow: 0 0 0 3px rgba(122, 53, 36, .18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error) !important; }
/* Error text created by the client script uses inline #ff6b6b (low contrast) — override for AA */
.error-message { color: var(--error) !important; font-size: 14px !important; font-weight: 600; margin-top: 6px !important; display: flex; gap: 6px; align-items: baseline; }
.error-message::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; flex: 0 0 16px; border-radius: 50%; background: var(--error); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; transform: translateY(2px); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { width: 100%; margin-top: 6px; }
.form__submit[disabled] { opacity: .7; cursor: progress; }
.form__status { margin: 14px 0 0; font-size: 15px; color: var(--error); font-weight: 600; min-height: 1px; }
.form__status:empty { display: none; }
.form-success { text-align: center; padding: clamp(24px, 4vw, 48px) 8px; color: var(--body); }
.form-success svg { width: 56px; height: 56px; margin: 0 auto 18px; color: var(--cherry); }
.form-success h3 { font-size: clamp(24px, 1.2vw + 18px, 30px); margin-bottom: 12px; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .contact__list div { grid-template-columns: 1fr; gap: 2px; }
  .form-card, .contact__card { border-radius: 6px; }
}

/* ---------- Location ---------- */
.location { background: var(--ivory); }
.location__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.location__address { font-family: var(--font-display); font-size: clamp(20px, .8vw + 16px, 24px); color: var(--ink); line-height: 1.5; margin: 24px 0 16px; padding-left: 18px; border-left: 2px solid var(--brass); }
.location__text { color: var(--muted); }
.location__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.location__map { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--rule); box-shadow: var(--shadow-md); background: var(--cream); aspect-ratio: 16 / 11; }
.location__map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.18) saturate(.85); }
.location__maplink {
  position: absolute; left: 14px; bottom: 14px; background: var(--espresso); color: var(--on-dark);
  font-size: 13.5px; font-weight: 600; letter-spacing: .04em; padding: 9px 14px; border-radius: var(--radius); text-decoration: none;
}
.location__maplink:hover { background: var(--cherry); color: #fff; }
@media (max-width: 900px) {
  .location__grid { grid-template-columns: 1fr; }
  .location__map { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .location__actions .btn { flex: 1 1 100%; }
  .location__map { aspect-ratio: 1 / 1; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso-2); color: var(--on-dark-muted); padding: clamp(56px, 7vw, 88px) 0 0; font-size: 15.5px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.brand--footer .brand__mark { --mark-bg: var(--espresso-2); }
.footer__tagline { margin-top: 18px; max-width: 32ch; }
.footer__heading { font-family: var(--font-body); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-on-dark); font-weight: 600; margin-bottom: 16px; }
.footer__nav li, .footer__contact li { margin-bottom: 10px; overflow-wrap: anywhere; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--brass-on-dark); text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--rule-dark); font-size: 14px; }
.footer__bottom p { margin: 0; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile quick bar ---------- */
.quickbar { display: none; }
@media (max-width: 720px) {
  .quickbar {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(35, 24, 18, .97);
    border-top: 1px solid var(--rule-dark); transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .quickbar.is-visible { transform: none; }
  .quickbar__btn { display: grid; place-items: center; min-height: 46px; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .04em; color: var(--on-dark); border: 1px solid rgba(243, 236, 224, .45); }
  .quickbar__btn--primary { background: var(--brass-on-dark); color: var(--espresso-2); border-color: var(--brass-on-dark); }
  .quickbar__btn:hover { color: var(--on-dark); }
  .quickbar__btn--primary:hover { color: var(--espresso-2); }
  body { padding-bottom: 72px; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(20, 14, 10, .94);
  display: flex; align-items: center; justify-content: center; padding: 64px 72px;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { max-width: 1200px; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox__figure figcaption { color: var(--on-dark); margin-top: 16px; font-size: 15px; letter-spacing: .04em; text-align: center; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(243, 236, 224, .1); color: var(--on-dark); border: 1px solid rgba(243, 236, 224, .35);
  width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center;
  transition: background-color .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(243, 236, 224, .22); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox { padding: 64px 12px 84px; }
  .lightbox__nav { top: auto; bottom: 18px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
}
body.no-scroll { overflow: hidden; }

/* ---------- Reveal (progressive enhancement) ---------- */
/* Visible by default. JS adds .js-reveal to <html> only when IntersectionObserver exists. */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js-reveal .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .quickbar, .lightbox, .cta__bg, .location__map, .hero__media::after { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .hero, .why, .cta, .contact__card, .site-footer { background: #fff !important; color: #000 !important; }
  .hero *, .why *, .cta *, .contact__card *, .site-footer * { color: #000 !important; }
}

/* ---------- Refinements ---------- */
.location__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.location__map iframe { position: relative; z-index: 1; }
.location__maplink { z-index: 2; }
.form-card { display: flex; flex-direction: column; }
.form-card .form { display: flex; flex-direction: column; flex: 1; }
.field--grow { flex: 1 0 auto; display: flex; flex-direction: column; }
.field--grow textarea { flex: 1 0 130px; }
.form__foot { margin-top: 0; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 14.5px; color: var(--muted); overflow-wrap: anywhere; }
.form__submit { margin-bottom: 28px; }
.form-card .form-success { margin: auto 0; }
.eyebrow span { display: block; }
