/* Lumeroza - Warm Architectural Precision
   Design tokens follow warm_architectural_precision/DESIGN.md and the original Stitch theme. */

:root {
  --ivory: #fff9ee;
  --surface-low: #f9f3e9;
  --surface: #f3ede3;
  --surface-high: #eee7dd;
  --sand: #e8e2d8;
  --white: #ffffff;
  --ink: #12150f;
  --charcoal: #272923;
  --text: #1d1b15;
  --muted: #464741;
  --outline: #777871;
  --outline-soft: #c7c7bf;
  --bronze: #795837;
  --bronze-light: #ac8662;
  --bronze-pale: #eabe97;
  --bronze-wash: #ffdcbe;
  --olive: #777d68;
  --line: rgba(39, 41, 35, 0.12);
  --line-soft: rgba(39, 41, 35, 0.08);

  --font-display: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --r-sm: 0.125rem;
  --r: 0.25rem;
  --r-lg: 0.5rem;

  --gutter: 1.5rem;
  --margin: 1.5rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --section: 4.5rem;

  --header-h: 4rem;
  --bottom-nav-h: 4rem;
  --shadow-ambient: 0 16px 40px -12px rgba(39, 41, 35, 0.08), 0 2px 6px 0 rgba(39, 41, 35, 0.03);
  --shadow-modal: 0 30px 80px -20px rgba(18, 21, 15, 0.35), 0 4px 14px rgba(18, 21, 15, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 768px) {
  :root { --margin: 3rem; --section: 6rem; }
}
@media (min-width: 1280px) {
  :root { --margin: 5rem; --gutter: 2.5rem; --section: 7.5rem; --header-h: 4.75rem; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--bronze-light); outline-offset: 3px; border-radius: var(--r-sm); }
::selection { background: var(--bronze-wash); color: var(--ink); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  padding: 0.75rem 1.25rem; background: var(--charcoal); color: var(--ivory);
  border-radius: var(--r); font-weight: 600; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
.t-display {
  font-family: var(--font-display); font-weight: 400;
  font-size: 2.75rem; line-height: 3.25rem; letter-spacing: -0.02em;
}
.t-h1 { font-size: 2rem; line-height: 2.5rem; letter-spacing: -0.015em; }
.t-h2 { font-size: 1.75rem; line-height: 2.25rem; letter-spacing: -0.015em; font-weight: 500; }
.t-h3 { font-size: 1.375rem; line-height: 1.875rem; letter-spacing: -0.01em; font-weight: 500; }
.t-body-lg { font-size: 1.0625rem; line-height: 1.8rem; letter-spacing: -0.01em; }
.t-small { font-size: 0.875rem; line-height: 1.375rem; letter-spacing: 0.005em; }
.t-label {
  font-family: var(--font-body); font-size: 0.6875rem; line-height: 0.875rem;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.t-muted { color: var(--muted); }
.t-bronze { color: var(--bronze); }
.t-accent { font-style: italic; color: var(--bronze-pale); }
@media (min-width: 768px) {
  .t-display { font-size: 3.75rem; line-height: 4.25rem; letter-spacing: -0.025em; }
  .t-h1 { font-size: 2.625rem; line-height: 3.125rem; letter-spacing: -0.02em; }
  .t-h2 { font-size: 2rem; line-height: 2.5rem; }
  .t-body-lg { font-size: 1.125rem; line-height: 1.875rem; }
}
@media (min-width: 1280px) {
  .t-display { font-size: 4.5rem; line-height: 5rem; letter-spacing: -0.03em; }
  .t-h1 { font-size: 3rem; line-height: 3.5rem; letter-spacing: -0.025em; }
}

.eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--bronze); }
.eyebrow::before { content: ''; width: 2rem; height: 1px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--bronze-pale); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--margin); }
.narrow { max-width: 48rem; margin-inline: auto; }
.section { padding-block: var(--section); }
.section--low { background: var(--surface-low); }
.section--surface { background: var(--surface); }
.section--high { background: var(--surface-high); }
.section--dark { background: var(--ink); color: var(--surface-high); }
.section-head { display: grid; gap: var(--space-md); max-width: 46rem; margin-bottom: var(--space-xl); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
@media (min-width: 1024px) {
  .section-head--split { max-width: none; grid-template-columns: 1fr 1fr; align-items: end; gap: var(--space-xl) 5rem; }
  .section-head--split > .eyebrow { grid-column: 1 / -1; }
}

/* ---------- Icons ---------- */
.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--lg { width: 1.5rem; height: 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem;
  min-height: 3rem; padding: 0.875rem 1.75rem;
  border: 1px solid transparent; border-radius: var(--r);
  font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn .icon { transition: transform 0.3s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--bronze); }
.btn-bronze { background: var(--bronze); color: var(--white); }
.btn-bronze:hover { background: #8a6844; box-shadow: 0 10px 24px -12px rgba(121, 88, 55, 0.7); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--surface); }
.btn-outline { border-color: rgba(39, 41, 35, 0.3); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--sand); border-color: var(--charcoal); }
.btn-outline--light { border-color: rgba(255, 249, 238, 0.4); color: var(--ivory); }
.btn-outline--light:hover { background: rgba(255, 249, 238, 0.1); border-color: var(--ivory); }
.btn-sm { min-height: 2.75rem; padding: 0.625rem 1.125rem; }
.btn .lc { text-transform: none; letter-spacing: 0.02em; }
.btn-block { width: 100%; }

.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--bronze); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.02em; text-decoration: none;
  padding-block: 0.25rem;
}
.link-arrow::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow .icon { transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 249, 238, 0.86);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transition: box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line-soft), 0 8px 24px -16px rgba(39, 41, 35, 0.18); background: rgba(255, 249, 238, 0.94); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); transition: height 0.35s var(--ease); }
@media (min-width: 1280px) {
  .site-header.is-scrolled .site-header__inner { height: 4rem; }
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.brand__mark { width: 2.25rem; height: 2.25rem; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; letter-spacing: 0.16em; }
.brand__sub { margin-top: 0.3rem; font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.28em; color: var(--bronze); text-transform: uppercase; }

.primary-nav { display: none; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 2rem; }
.primary-nav a {
  position: relative; display: inline-block; padding-block: 0.5rem;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em; text-decoration: none; color: var(--muted);
  transition: color 0.25s var(--ease);
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 1px; background: var(--bronze-light);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.primary-nav a:hover, .primary-nav a[aria-current='page'] { color: var(--ink); }
.primary-nav a:hover::after, .primary-nav a[aria-current='page']::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: var(--space-sm); }
.header-cta { display: none; }
.menu-toggle {
  width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--r); background: transparent; color: var(--ink);
  transition: background-color 0.25s var(--ease);
}
.menu-toggle:hover { background: var(--surface); }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .menu-toggle { display: none; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 0.75rem) var(--margin) calc(env(safe-area-inset-bottom, 0px) + 1.5rem);
  background: var(--ivory); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-0.75rem);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 3.25rem; }
.mobile-menu__nav { margin-top: var(--space-xl); }
.mobile-menu__nav ul { list-style: none; border-top: 1px solid var(--line); }
.mobile-menu__nav li { border-bottom: 1px solid var(--line); }
.mobile-menu__nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 3.75rem;
  font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none;
}
.mobile-menu__nav a[aria-current='page'] { color: var(--bronze); }
.mobile-menu__meta { margin-top: auto; padding-top: var(--space-xl); display: grid; gap: var(--space-md); }
.mobile-menu__legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.mobile-menu__legal a { font-size: 0.875rem; color: var(--muted); }

/* ---------- Bottom navigation (mobile) ---------- */
.bottom-nav {
  position: fixed; inset: auto 0 0 0; z-index: 55;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255, 249, 238, 0.94);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 -4px 24px rgba(39, 41, 35, 0.06);
}
.bottom-nav ul { list-style: none; height: var(--bottom-nav-h); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; max-width: 34rem; margin-inline: auto; padding-inline: 0.25rem; }
.bottom-nav a {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem;
  min-height: 3rem; font-size: 0.6875rem; letter-spacing: 0.02em; color: var(--muted); text-decoration: none;
}
.bottom-nav a[aria-current='page'] { color: var(--ink); font-weight: 600; }
.bottom-nav a[aria-current='page']::after { content: ''; position: absolute; bottom: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--bronze-light); }
.bottom-nav__cta span.bubble {
  width: 2.75rem; height: 2.75rem; margin-top: -1.1rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--white);
  box-shadow: 0 8px 18px -8px rgba(18, 21, 15, 0.5); transition: background-color 0.25s var(--ease);
}
.bottom-nav__cta:hover span.bubble { background: var(--bronze); }
.bottom-nav__cta { color: var(--bronze) !important; font-weight: 600; }
body { padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) {
  .bottom-nav { display: none; }
  body { padding-bottom: 0; }
}

main { display: block; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }

/* ---------- Home hero ---------- */
.hero { padding-top: var(--space-md); padding-bottom: var(--space-lg); }
.hero__frame { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); min-height: 30rem; height: min(78vh, 46rem); box-shadow: var(--shadow-ambient); }
.hero__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: hero-settle 2.4s var(--ease) forwards; }
.hero__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 21, 15, 0.88) 0%, rgba(18, 21, 15, 0.38) 45%, rgba(18, 21, 15, 0.05) 100%); }
.hero__content { position: absolute; inset: auto 0 0 0; z-index: 1; padding: var(--space-lg); color: var(--ivory); display: grid; gap: var(--space-md); max-width: 52rem; }
.hero__badge { justify-self: start; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.75rem; border-radius: 9999px; background: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ivory); }
.hero__badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze-pale); }
.hero__title { color: var(--ivory); }
.hero__lead { color: rgba(238, 231, 221, 0.92); max-width: 36rem; }
.hero__actions { display: flex; flex-direction: column; gap: var(--space-sm); padding-top: var(--space-xs); }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; margin: var(--space-lg) auto 0; width: max-content; color: var(--muted); text-decoration: none; transition: color 0.25s var(--ease); }
.scroll-cue:hover { color: var(--ink); }
.scroll-cue .icon { animation: cue 2.2s ease-in-out infinite; }
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }
@media (min-width: 1024px) {
  .hero__content { padding: 4rem; gap: var(--space-lg); }
}
@keyframes hero-settle { to { transform: scale(1); } }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- Introduction ---------- */
.intro__grid { display: grid; gap: var(--space-xl); }
.intro__media { margin: var(--space-md) 0 0; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 3; background: var(--surface-high); }
.intro__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.intro__media:hover img { transform: scale(1.03); }
.intro__copy { display: grid; gap: var(--space-lg); align-content: start; }
.focus-list { display: grid; gap: var(--space-md); }
.focus-card { padding: var(--space-lg); background: var(--ivory); border: 1px solid var(--line-soft); border-radius: var(--r-lg); display: grid; gap: 0.4rem; }
.focus-card__index { font-family: var(--font-display); font-size: 1.375rem; color: var(--bronze); }
@media (min-width: 768px) { .focus-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .intro__grid { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
}

/* ---------- Service cards ---------- */
.service-grid { display: grid; gap: var(--space-lg); }
@media (min-width: 768px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line-soft);
  color: inherit; text-decoration: none;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background-color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-ambient); background: var(--white); border-color: rgba(172, 134, 98, 0.45); }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-high); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__tag { position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.625rem; border-radius: 9999px; background: rgba(255, 249, 238, 0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--text); }
.service-card__body { flex: 1; display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-lg); }
.service-card__body p { flex: 1; }
.service-card__num { font-family: var(--font-display); font-size: 0.875rem; color: var(--bronze); letter-spacing: 0.08em; }
.service-card__btn { justify-content: space-between; width: 100%; pointer-events: none; }

/* Services page catalogue rows */
.catalogue { display: grid; gap: var(--space-2xl); }
.catalogue-item { position: relative; display: grid; gap: var(--space-lg); align-items: center; padding: var(--space-md); border: 1px solid transparent; border-radius: var(--r-lg); transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.catalogue-item:hover { background: var(--white); border-color: var(--line-soft); box-shadow: var(--shadow-ambient); }
.catalogue-item__hit { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.catalogue-item__hit:focus-visible { outline: 2px solid var(--bronze-light); outline-offset: 3px; }
.catalogue-item__actions .link-arrow { position: relative; z-index: 2; }
.catalogue-item__actions .btn { pointer-events: none; }
.catalogue-item__media { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 10; background: var(--surface-high); }
.catalogue-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.catalogue-item:hover .catalogue-item__media img { transform: scale(1.04); }
.catalogue-item__body { display: grid; gap: var(--space-md); align-content: center; }
.catalogue-item__num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: rgba(121, 88, 55, 0.4); }
.catalogue-item__points { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.catalogue-item__points li { padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }
.catalogue-item__actions { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; padding-top: var(--space-sm); }
@media (min-width: 1024px) {
  .catalogue-item { grid-template-columns: 7fr 5fr; gap: 5rem; }
  .catalogue-item:nth-child(even) .catalogue-item__media { order: 2; }
  .catalogue-item:nth-child(even) { grid-template-columns: 5fr 7fr; }
}

/* ---------- Approach ---------- */
.steps { list-style: none; display: grid; gap: var(--space-md); counter-reset: step; }
.step { position: relative; padding: var(--space-lg); background: var(--ivory); border-radius: var(--r-lg); border: 1px solid var(--line-soft); display: grid; gap: var(--space-sm); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease), background-color 0.45s var(--ease); }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-ambient); background: var(--white); border-color: rgba(172, 134, 98, 0.4); }
.step__num { font-family: var(--font-display); font-size: 2rem; line-height: 2.5rem; font-weight: 500; color: rgba(121, 88, 55, 0.55); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); } }
@media (min-width: 1280px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: var(--space-xl) var(--space-lg); }
  .step::before { content: ''; position: absolute; top: 3.75rem; left: calc(100% - 1px); width: var(--space-lg); height: 1px; background: var(--bronze-light); opacity: 0.5; }
  .step:last-child::before { display: none; }
}

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: var(--space-md); }
.gallery__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--surface-high); min-height: 16rem; }
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption { position: absolute; left: var(--space-md); bottom: var(--space-md); padding: 0.4rem 0.875rem; border-radius: var(--r); background: rgba(255, 249, 238, 0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink); }
.gallery__note { margin-top: var(--space-lg); font-size: 0.8125rem; color: var(--muted); }
@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: 1 / -1; min-height: 22rem; }
}
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 15rem; gap: var(--space-lg); }
  .gallery__item { min-height: 0; }
  .gallery__item--a { grid-column: 1 / 8; grid-row: span 2; }
  .gallery__item--b { grid-column: 8 / 13; grid-row: span 2; }
  .gallery__item--c { grid-column: 1 / 6; grid-row: span 2; }
  .gallery__item--d { grid-column: 6 / 13; grid-row: span 2; }
}

/* ---------- Values ---------- */
.values { display: grid; gap: var(--space-xl); }
.value { display: grid; gap: var(--space-sm); align-content: start; padding: var(--space-lg); border-radius: var(--r-lg); border: 1px solid transparent; border-top: 1px solid var(--line); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background-color 0.45s var(--ease), border-color 0.45s var(--ease); }
.value:hover { transform: translateY(-3px); background: var(--white); border-color: var(--line-soft); box-shadow: var(--shadow-ambient); }
.value__icon { width: 2.75rem; height: 2.75rem; border-radius: var(--r); background: var(--sand); color: var(--bronze); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-xs); }
@media (min-width: 768px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .values { grid-template-columns: repeat(4, 1fr); } }

/* ---------- FAQ / accordion ---------- */
.faq-layout { display: grid; gap: var(--space-xl); }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 4fr 7fr; gap: 5rem; align-items: start; } .faq-layout__head { position: sticky; top: calc(var(--header-h) + 2rem); } }
.accordion { display: grid; gap: var(--space-sm); }
.accordion details { background: var(--surface); border-radius: var(--r-lg); border: 1px solid transparent; transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.accordion details:hover { background: var(--surface-high); border-color: var(--line-soft); box-shadow: var(--shadow-ambient); }
.accordion details[open] { background: var(--white); border-color: var(--line-soft); }
.accordion details[open]:hover { transform: translateY(-2px); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  padding: 1.125rem var(--space-lg); min-height: 3.5rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.5rem; font-weight: 500; color: var(--ink);
  border-radius: var(--r-lg);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { color: var(--bronze); transition: transform 0.35s var(--ease); }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion__panel { padding: 0 var(--space-lg) var(--space-lg); color: var(--muted); font-size: 0.9375rem; line-height: 1.625rem; display: grid; gap: 0.75rem; overflow: hidden; }
.accordion__panel a { color: var(--bronze); }
@media (min-width: 768px) { .accordion summary { font-size: 1.1875rem; line-height: 1.75rem; } }
.faq-group + .faq-group { margin-top: var(--space-2xl); }
.faq-group__title { margin-bottom: var(--space-lg); display: flex; align-items: baseline; gap: var(--space-md); }
.faq-group__title span { font-family: var(--font-display); color: var(--bronze); font-size: 0.9375rem; letter-spacing: 0.08em; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band__inner { display: grid; justify-items: center; gap: var(--space-lg); max-width: 44rem; margin-inline: auto; }
.cta-band__mark { width: 3.5rem; height: 3.5rem; border-radius: 50%; border: 1px solid rgba(234, 190, 151, 0.4); display: flex; align-items: center; justify-content: center; color: var(--bronze-pale); }
.cta-band h2 { color: var(--ivory); }
.cta-band p { color: var(--surface-high); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--sand); color: var(--text); padding-top: var(--space-xl); padding-bottom: var(--space-lg); }
.footer-grid { display: grid; gap: var(--space-lg) var(--space-xl); }
.footer-brand { display: grid; gap: 0.85rem; max-width: 34rem; align-content: start; }
.footer-brand img { width: 168px; height: auto; }
.footer-brand__text { margin: 0; max-width: 32rem; font-size: 0.8125rem; line-height: 1.55; color: var(--muted); }
.footer-col { display: grid; gap: 0.6rem; align-content: start; }
.footer-col h2 { margin-bottom: 0.25rem; color: var(--bronze); }
.footer-col ul { list-style: none; display: grid; gap: 0.28rem; }
.footer-services ul { grid-template-columns: 1fr 1fr; gap: 0.28rem 1.25rem; }
.footer-col a, .footer-col button.linklike { font-size: 0.8125rem; line-height: 1.35; color: var(--muted); text-decoration: none; transition: color 0.2s var(--ease); }
.footer-col a:hover, .footer-col button.linklike:hover { color: var(--ink); text-decoration: underline; }
.footer-col address { font-style: normal; font-size: 0.875rem; line-height: 1.5rem; }
.footer-bottom { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid rgba(29, 27, 21, 0.1); display: flex; flex-direction: column; gap: var(--space-sm); font-size: 0.75rem; color: var(--muted); }
button.linklike { padding: 0; border: 0; background: none; text-align: left; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
@media (max-width: 767px) { .footer-services ul { grid-template-columns: 1fr; } }
@media (min-width: 1280px) { .footer-grid { grid-template-columns: 1.7fr 0.7fr 1.7fr 1fr 0.85fr; gap: var(--space-lg) 2rem; align-items: start; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding-top: var(--space-xl); padding-bottom: var(--space-2xl); }
.page-hero__grid { display: grid; gap: var(--space-xl); align-items: end; }
.page-hero__copy { display: grid; gap: var(--space-lg); align-content: end; }
.page-hero__media { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 3; background: var(--surface-high); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.06em; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 0.5rem; color: var(--outline-soft); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 1024px) {
  .page-hero__grid { grid-template-columns: 6fr 5fr; gap: 5rem; }
  .page-hero__media { aspect-ratio: 5 / 4; }
}
.page-hero--doc { border-bottom: 1px solid var(--line); padding-bottom: var(--space-xl); }

/* ---------- Editorial blocks (About) ---------- */
.split { display: grid; gap: var(--space-xl); align-items: center; }
.split__media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--surface-high); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__copy { display: grid; gap: var(--space-md); }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .split--reverse .split__media { order: 2; }
}
.statement { font-family: var(--font-display); font-size: 1.5rem; line-height: 2.125rem; letter-spacing: -0.015em; color: var(--ink); }
@media (min-width: 768px) { .statement { font-size: 2.125rem; line-height: 2.875rem; } }
.statement em { color: var(--bronze); font-style: italic; }
.principles { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.principles li { display: grid; gap: var(--space-sm); padding: var(--space-lg) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .principles li { grid-template-columns: 4rem 14rem 1fr; gap: var(--space-lg); align-items: baseline; } }
.principles__num { font-family: var(--font-display); color: var(--bronze); }
.scope-grid { display: grid; gap: var(--space-md); }
.scope-grid a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: 1.125rem var(--space-lg); background: var(--ivory); border: 1px solid var(--line-soft); border-radius: var(--r); text-decoration: none; font-family: var(--font-display); font-weight: 500; color: var(--ink); transition: background-color 0.3s var(--ease), transform 0.3s var(--ease); }
.scope-grid a:hover { background: var(--white); transform: translateX(3px); }
.scope-grid a .icon { color: var(--bronze); }
@media (min-width: 768px) { .scope-grid { grid-template-columns: repeat(2, 1fr); } }
.fact-strip { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fact-strip > div { padding: var(--space-lg) 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.35rem; }
.fact-strip dt { color: var(--muted); }
.fact-strip dd { margin: 0; font-family: var(--font-display); font-size: 1.125rem; color: var(--ink); }
.fact-strip a { color: var(--bronze); }
@media (min-width: 768px) {
  .fact-strip { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .fact-strip > div { padding: var(--space-lg); border: 0; border-left: 1px solid var(--line); }
  .fact-strip > div:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: var(--space-2xl); }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; } .contact-aside { position: sticky; top: calc(var(--header-h) + 2rem); } }
.contact-aside { display: grid; gap: var(--space-xl); }
.contact-card { padding: var(--space-xl) var(--space-lg); background: var(--surface); border-radius: var(--r-lg); display: grid; gap: var(--space-lg); }
.contact-card dl { margin: 0; display: grid; gap: var(--space-lg); }
.contact-card dt { color: var(--bronze); margin-bottom: 0.35rem; }
.contact-card dd { margin: 0; font-size: 1rem; line-height: 1.625rem; }
.contact-card dd a { color: var(--ink); }
.contact-card address { font-style: normal; }
.form-card { padding: var(--space-xl) var(--space-lg); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-ambient); }
@media (min-width: 768px) { .form-card { padding: var(--space-2xl) var(--space-xl); } }
.form { display: grid; gap: var(--space-lg); }
.form__row { display: grid; gap: var(--space-lg); }
@media (min-width: 768px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label, .field .field__label { color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: 0.75rem 0.875rem;
  background: rgba(232, 226, 216, 0.5); border: 0; border-bottom: 1px solid rgba(39, 41, 35, 0.25); border-radius: var(--r) var(--r) 0 0;
  color: var(--ink); font-size: 1rem; transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23795837' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 1.1rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: var(--surface-low); box-shadow: 0 0 0 1px var(--bronze-light); border-color: var(--bronze-light); }
.field input::placeholder, .field textarea::placeholder { color: #8b8a83; }
.field__hint { font-size: 0.8125rem; color: var(--muted); }
.field__error { display: none; font-size: 0.8125rem; color: #ba1a1a; }
.field.has-error input, .field.has-error textarea, .field.has-error select { box-shadow: 0 0 0 1px #ba1a1a; border-color: #ba1a1a; }
.field.has-error .field__error, .check-wrap.has-error .field__error { display: block; }
.check-wrap { display: grid; gap: 0.4rem; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: 0.875rem; line-height: 1.375rem; color: var(--muted); cursor: pointer; }
.check input { width: 1.125rem; height: 1.125rem; margin: 0.15rem 0 0; accent-color: var(--charcoal); }
.check a { color: var(--bronze); }
.form__note { font-size: 0.8125rem; line-height: 1.375rem; color: var(--muted); padding: var(--space-md); background: var(--surface-low); border-left: 2px solid var(--bronze-light); border-radius: 0 var(--r) var(--r) 0; }
.form-success { display: grid; justify-items: start; gap: var(--space-md); padding: var(--space-xl) 0 0; }
.form-success[hidden] { display: none; }
.form-success__mark { width: 3rem; height: 3rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--sand); color: var(--bronze); }
.form-card.is-sent > :not(#form-status) { display: none; }

/* ---------- Legal documents ---------- */
.doc-layout { display: grid; gap: var(--space-xl); }
.doc-layout > *, .faq-layout > *, .contact-layout > *, .intro__grid > *, .split > *, .sm-split > * { min-width: 0; }
@media (min-width: 1024px) { .doc-layout { grid-template-columns: 16rem 1fr; gap: 5rem; align-items: start; } .doc-toc { position: sticky; top: calc(var(--header-h) + 2rem); } }
.doc-toc { padding: var(--space-lg); background: var(--surface-low); border-radius: var(--r-lg); }
.doc-toc ol { list-style: none; display: grid; gap: 0.5rem; margin-top: var(--space-md); counter-reset: toc; }
.doc-toc a { font-size: 0.875rem; color: var(--muted); text-decoration: none; }
.doc-toc a:hover { color: var(--ink); text-decoration: underline; }
.prose { max-width: 46rem; color: var(--text); }
.prose > * + * { margin-top: var(--space-md); }
.prose h2 { margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--line); font-size: 1.5rem; line-height: 2rem; font-weight: 500; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--space-xl); font-size: 1.125rem; font-weight: 600; }
.prose p, .prose li { color: var(--muted); line-height: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.prose li::marker { color: var(--bronze-light); }
.prose a { color: var(--bronze); }
.prose strong { color: var(--ink); font-weight: 600; }
.doc-meta { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); color: var(--muted); }
.doc-card { padding: var(--space-lg); background: var(--surface); border-radius: var(--r-lg); }
.doc-card address { font-style: normal; color: var(--muted); line-height: 1.75rem; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.doc-table th, .doc-table td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table th { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze); font-weight: 600; }
.doc-table td { color: var(--muted); }
.table-wrap { overflow-x: auto; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; z-index: 70; left: 0.75rem; right: 0.75rem;
  bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 0.75rem);
  max-width: 30rem; margin-inline: auto; padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-modal);
  display: grid; gap: var(--space-md);
  opacity: 0; transform: translateY(1rem); visibility: hidden;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s;
}
.cookie-banner.is-visible { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.cookie-banner h2 { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.cookie-banner p { font-size: 0.8125rem; line-height: 1.3rem; color: var(--muted); }
.cookie-banner p a { color: var(--bronze); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }
.cookie-banner__actions .btn { flex: 1 1 7rem; min-height: 2.75rem; }
.cookie-banner__status { font-size: 0.75rem; color: var(--olive); }
@media (min-width: 1024px) { .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; margin: 0; } }

/* ---------- Service modals ---------- */
.smodal {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0; border-radius: 0;
  background: var(--ivory); color: var(--text); overflow: hidden;
  box-shadow: var(--shadow-modal);
}
.smodal[open] { display: flex; flex-direction: column; animation: smodal-in 0.5s var(--ease); }
.smodal.is-closing { animation: smodal-out 0.3s var(--ease) forwards; }
.smodal::backdrop { background: rgba(18, 21, 15, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: backdrop-in 0.45s var(--ease); }
.smodal.is-closing::backdrop { animation: backdrop-out 0.3s var(--ease) forwards; }
@media (min-width: 768px) {
  .smodal { width: 94vw; height: 94vh; height: 94dvh; max-width: 1400px; margin: auto; border-radius: var(--r-lg); }
}
@media (min-width: 1280px) { .smodal { width: 92vw; height: 92vh; height: 92dvh; } }
@keyframes smodal-in { from { opacity: 0; transform: translateY(2rem) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes smodal-out { to { opacity: 0; transform: translateY(1.25rem) scale(0.99); } }
@keyframes backdrop-in { from { opacity: 0; } }
@keyframes backdrop-out { to { opacity: 0; } }

.smodal__bar {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  min-height: 3.75rem; padding: calc(env(safe-area-inset-top, 0px) + 0.5rem) var(--space-md) 0.5rem var(--margin);
  background: rgba(255, 249, 238, 0.96); border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 768px) { .smodal__bar { padding-top: 0.5rem; padding-left: var(--space-xl); } }
.smodal__crumb { display: flex; align-items: center; gap: 0.75rem; min-width: 0; color: var(--bronze); }
.smodal__crumb span:first-child { white-space: nowrap; }
.smodal__crumb span:last-child { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 479px) { .smodal__crumb span:first-child { display: none; } }
.smodal:focus, .smodal:focus-visible { outline: none; }
.smodal__close {
  flex: none; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 0.875rem 0 1rem;
  border: 1px solid rgba(39, 41, 35, 0.2); border-radius: var(--r); background: var(--white); color: var(--ink);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.smodal__close:hover { background: var(--sand); border-color: var(--charcoal); }
.smodal__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.smodal__scroll:focus { outline: none; }

/* Modal editorial building blocks */
.sm { --pad: var(--margin); }
@media (min-width: 768px) { .sm { --pad: clamp(2.5rem, 5vw, 5rem); } }
.sm-wrap { padding-inline: var(--pad); }
.sm-section { padding: 2.25rem var(--pad); }
@media (min-width: 1024px) { .sm-section { padding-block: 3.25rem; } }
.sm-section--sand { background: var(--surface); }
.sm-section--low { background: var(--surface-low); }
.sm-section--dark { background: var(--ink); color: var(--surface-high); }
.sm-section--dark h2, .sm-section--dark h3, .sm-section--dark h4 { color: var(--ivory); }
.sm-kicker { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--bronze); margin-bottom: var(--space-md); }
.sm-kicker::before { content: ''; width: 2rem; height: 1px; background: currentColor; }
.sm-section--dark .sm-kicker { color: var(--bronze-pale); }
.sm-title { font-size: 2.125rem; line-height: 2.5rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .sm-title { font-size: 2.75rem; line-height: 3.15rem; } }
@media (min-width: 1280px) { .sm-title { font-size: 3.25rem; line-height: 3.7rem; letter-spacing: -0.03em; } }
.sm-h2 { font-size: 1.625rem; line-height: 2.125rem; letter-spacing: -0.015em; font-weight: 500; margin-bottom: var(--space-md); }
@media (min-width: 768px) { .sm-h2 { font-size: 2.125rem; line-height: 2.625rem; } }
.sm-h3 { font-size: 1.1875rem; line-height: 1.625rem; font-weight: 500; margin-bottom: 0.5rem; }
.sm p + p { margin-top: var(--space-md); }
.sm p { color: var(--muted); line-height: 1.75rem; }
.sm-section--dark p { color: rgba(238, 231, 221, 0.86); }
.sm-lead { font-size: 1.125rem; line-height: 1.875rem; color: var(--text) !important; }
.sm figure { margin: 0; }
.sm-img { position: relative; overflow: hidden; border-radius: var(--r); background: var(--surface-high); }
.sm-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.sm-img:hover img { transform: scale(1.03); }
.sm-img figcaption { position: absolute; left: 0.75rem; bottom: 0.75rem; padding: 0.3rem 0.7rem; border-radius: var(--r); background: rgba(255, 249, 238, 0.92); color: var(--ink); }
.sm-frame { padding: 0.75rem; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r); }

/* Hero variants */
.sm-hero-cover { position: relative; min-height: 56vh; display: flex; align-items: flex-end; overflow: hidden; color: var(--ivory); }
.sm-hero-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sm-hero-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 21, 15, 0.9), rgba(18, 21, 15, 0.35) 55%, rgba(18, 21, 15, 0.1)); }
.sm-hero-cover__copy { position: relative; z-index: 1; padding: var(--space-xl) var(--pad); max-width: 52rem; display: grid; gap: 0.85rem; }
.sm-hero-cover h2 { color: var(--ivory); }
.sm-hero-cover p { color: rgba(238, 231, 221, 0.92) !important; }
.sm-hero-cover .sm-kicker { color: var(--bronze-pale); margin: 0; }
.sm-hero-cover--center { align-items: center; justify-content: center; text-align: center; }
.sm-hero-cover--center .sm-hero-cover__copy { justify-items: center; }
.sm-hero-cover--center::after { background: linear-gradient(to top, rgba(18, 21, 15, 0.82), rgba(18, 21, 15, 0.5)); }

.sm-hero-split { display: grid; background: var(--surface); }
.sm-hero-split__copy { padding: var(--space-xl) var(--pad); display: grid; gap: 0.85rem; align-content: center; }
.sm-hero-split__copy .sm-kicker { margin: 0; }
.sm-hero-split__media { position: relative; min-height: 22rem; overflow: hidden; }
.sm-hero-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .sm-hero-split { grid-template-columns: 1fr 1fr; min-height: 58vh; }
  .sm-hero-split--reverse .sm-hero-split__media { order: -1; }
}

.sm-hero-framed { padding: var(--space-xl) var(--pad) 0; display: grid; gap: var(--space-lg); }
.sm-hero-framed__head { display: grid; gap: var(--space-md); }
@media (min-width: 1024px) { .sm-hero-framed__head { grid-template-columns: 7fr 5fr; gap: 5rem; align-items: end; } }
.sm-hero-framed__head .sm-kicker { grid-column: 1 / -1; margin: 0; }
.sm-hero-framed__img { aspect-ratio: 16 / 9; }
.sm-hero-framed__pair { display: grid; gap: var(--space-md); }
@media (min-width: 768px) { .sm-hero-framed__pair { grid-template-columns: 1.6fr 1fr; align-items: stretch; } .sm-hero-framed__pair .sm-img { aspect-ratio: auto; height: 24rem; min-height: 0; } }

.sm-hero-texture { position: relative; padding: 4.5rem var(--pad) 3.5rem; overflow: hidden; }
.sm-hero-texture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sm-hero-texture::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 249, 238, 0.92), rgba(255, 249, 238, 0.55)); }
.sm-hero-texture__copy { position: relative; z-index: 1; max-width: 50rem; display: grid; gap: var(--space-md); }
.sm-hero-texture__copy .sm-kicker { margin: 0; }
@media (min-width: 1024px) { .sm-hero-texture { padding-block: 6.5rem 5rem; } }

.sm-hero-overlap { position: relative; }
.sm-hero-overlap__img { height: 46vh; min-height: 16rem; border-radius: 0; }
.sm-hero-overlap__card { position: relative; margin: -4rem var(--margin) 0; padding: var(--space-lg); background: var(--ivory); border-radius: var(--r-lg); box-shadow: var(--shadow-ambient); display: grid; gap: 0.85rem; max-width: 42rem; }
.sm-hero-overlap__card .sm-kicker { margin: 0; }
@media (min-width: 1024px) { .sm-hero-overlap__card { margin: -6.5rem 0 0 var(--pad); padding: var(--space-xl); } }

/* Content patterns */
.sm-split { display: grid; gap: var(--space-xl); align-items: center; }
.sm-split .sm-img { aspect-ratio: 4 / 3; }
.sm-split .sm-img--tall { aspect-ratio: 3 / 4; }
@media (min-width: 1024px) {
  .sm-split { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .sm-split--wide-img { grid-template-columns: 7fr 5fr; }
  .sm-split--reverse > :first-child { order: 2; }
  .sm-split--reverse.sm-split--wide-img { grid-template-columns: 5fr 7fr; }
}
.sm-columns { display: grid; gap: var(--space-xl); }
@media (min-width: 768px) { .sm-columns--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sm-columns--3 { grid-template-columns: repeat(3, 1fr); } }
.sm-columns > div { padding-top: var(--space-md); border-top: 1px solid var(--line); }
.sm-section--dark .sm-columns > div { border-color: rgba(255, 249, 238, 0.16); }

.sm-steps { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.sm-steps li { display: grid; gap: var(--space-sm); padding: var(--space-xl) 0; border-bottom: 1px solid var(--line); }
.sm-steps__num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: rgba(121, 88, 55, 0.45); }
@media (min-width: 768px) { .sm-steps li { grid-template-columns: 7rem 1fr 1.4fr; gap: var(--space-xl); align-items: baseline; } }
.sm-section--dark .sm-steps, .sm-section--dark .sm-steps li { border-color: rgba(255, 249, 238, 0.16); }
.sm-section--dark .sm-steps__num { color: rgba(234, 190, 151, 0.55); }

.sm-strip { display: grid; gap: 0; border-block: 1px solid var(--line); }
.sm-strip > div { padding: var(--space-lg) 0; display: grid; gap: 0.35rem; border-bottom: 1px solid var(--line); }
.sm-strip > div:last-child { border-bottom: 0; }
.sm-strip dt { color: var(--bronze); }
.sm-strip dd { margin: 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.5rem; }
@media (min-width: 768px) {
  .sm-strip { grid-template-columns: repeat(var(--cols, 4), 1fr); }
  .sm-strip > div { padding: var(--space-lg); border-bottom: 0; border-left: 1px solid var(--line); }
  .sm-strip > div:first-child { border-left: 0; padding-left: 0; }
}

.sm-quote { margin: 0; padding: 2.5rem var(--pad); text-align: center; background: var(--surface-low); }
.sm-quote p { max-width: 48rem; margin-inline: auto; font-family: var(--font-display); font-size: 1.5rem; line-height: 2.125rem; letter-spacing: -0.015em; color: var(--ink) !important; }
.sm-quote p em { font-style: italic; color: var(--bronze); }
@media (min-width: 768px) { .sm-quote p { font-size: 2.125rem; line-height: 2.875rem; } }
.sm-quote::before { content: ''; display: block; width: 3rem; height: 1px; margin: 0 auto var(--space-lg); background: var(--bronze-light); }

.sm-band { position: relative; height: 36vh; min-height: 14rem; overflow: hidden; }
.sm-band img { width: 100%; height: 100%; object-fit: cover; }
.sm-band figcaption { position: absolute; right: var(--pad); bottom: var(--space-md); padding: 0.3rem 0.7rem; border-radius: var(--r); background: rgba(255, 249, 238, 0.92); color: var(--ink); }

.sm-gallery { display: grid; gap: var(--space-md); align-items: stretch; }
.sm-gallery .sm-img { aspect-ratio: auto; height: 16rem; }
@media (min-width: 768px) {
  .sm-gallery .sm-img { height: 22rem; }
  .sm-gallery--3 { grid-template-columns: repeat(3, 1fr); }
  .sm-gallery--3 .sm-img { height: 20rem; }
  .sm-gallery--2 { grid-template-columns: 1fr 1fr; }
  .sm-gallery--2 .sm-img { height: 22rem; }
  .sm-gallery--mosaic { grid-template-columns: 1.4fr 1fr; grid-template-rows: 11rem 11rem; }
  .sm-gallery--mosaic .sm-img { height: 100%; min-height: 0; }
  .sm-gallery--mosaic .sm-img:first-child { grid-row: span 2; height: 100%; }
}

.sm-list { list-style: none; display: grid; border-top: 1px solid var(--line); }
.sm-list li { display: grid; gap: 0.25rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .sm-list li { grid-template-columns: 14rem 1fr; gap: var(--space-lg); align-items: baseline; } }
.sm-list strong { font-family: var(--font-display); font-weight: 500; color: var(--ink); }
.sm-list span { color: var(--muted); font-size: 0.9375rem; line-height: 1.625rem; }

.sm-cards { display: grid; gap: var(--space-md); }
@media (min-width: 768px) { .sm-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .sm-cards--4 { grid-template-columns: repeat(4, 1fr); } .sm-cards--3 { grid-template-columns: repeat(3, 1fr); } }
.sm-card { padding: var(--space-lg); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); }
.sm-card__icon { width: 2.5rem; height: 2.5rem; margin-bottom: var(--space-md); border-radius: var(--r); display: flex; align-items: center; justify-content: center; background: var(--sand); color: var(--bronze); }
.sm-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.sm-chips li { padding: 0.35rem 0.875rem; border-radius: 9999px; background: var(--sand); font-size: 0.8125rem; color: var(--ink); }
.sm-note { padding: var(--space-lg); border-left: 2px solid var(--bronze-light); background: var(--surface-low); border-radius: 0 var(--r) var(--r) 0; }
.sm-note p { font-size: 0.9375rem; }

.sm-cta { padding: 2.5rem var(--pad); background: var(--ink); color: var(--surface-high); }
.sm-cta__inner { display: grid; gap: var(--space-lg); align-items: center; }
.sm-cta h2, .sm-cta h3 { color: var(--ivory); }
.sm-cta .sm-kicker { color: var(--bronze-pale); }
.sm-cta p { color: rgba(238, 231, 221, 0.86) !important; }
.sm-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
@media (min-width: 1024px) { .sm-cta { padding-block: 3.25rem; } .sm-cta__inner { grid-template-columns: 1.4fr 1fr; gap: 4rem; } .sm-cta__actions { justify-content: flex-end; } }
.sm-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-lg) var(--pad) calc(var(--space-lg) + env(safe-area-inset-bottom, 0px)); background: var(--surface); }
.sm-next a, .sm-next button { font-size: 0.875rem; }

/* No-JS fallback: service content renders inline on the Services page only. */
html:not(.js) .smodal { display: block; position: static; width: auto; height: auto; max-height: none; margin: var(--space-2xl) var(--margin); border-radius: var(--r-lg); overflow: visible; }
html:not(.js) .smodal__close { display: none; }
html:not(.js) .smodal__scroll { overflow: visible; }
html:not(.js) .page-home .smodal { display: none; }

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__frame img { transform: none; }
}

@media print {
  .site-header, .bottom-nav, .cookie-banner, .mobile-menu, .smodal { display: none !important; }
  main { padding-top: 0; }
  body { padding-bottom: 0; }
}
