/* ==========================================================================
   Morganite — main stylesheet
   Mobile-first · design tokens · logical properties (RTL-ready)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Colour */
  --c-canvas: #FBF7F4;          /* warm ivory page background */
  --c-surface: #FFFFFF;         /* cards, forms, drawer */
  --c-mist: #F6E6E0;            /* alternating bands */
  --c-morganite: #E8B4A6;       /* decorative accent only (never text on light) */
  --c-primary: #9C4F48;         /* CTAs + links (5.4:1 on ivory) */
  --c-primary-hover: #7F3E39;
  --c-ink: #3D3236;             /* headings + body */
  --c-muted: #6B5E60;           /* secondary text, input borders */
  --c-gold: #A47E48;            /* hairlines, icons, large numerals only */
  --c-border: #EADBD5;          /* decorative separators */
  --c-dark: #2B2326;            /* inverse band */
  --c-on-dark: #F6EDE9;
  --c-on-dark-muted: #D9CBC6;
  --c-link-on-dark: #E8B4A6;
  --c-gold-on-dark: #C9A46A;
  --c-error: #A8261B;
  --c-error-bg: #FBEAE8;
  --c-success: #1F5A3F;
  --c-success-bg: #E8F3ED;

  /* Type */
  --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lead: clamp(1.0625rem, 0.6vw + 0.9rem, 1.25rem);
  --fs-h1: clamp(2.25rem, 4vw + 1rem, 4rem);
  --fs-h2: clamp(1.75rem, 2.5vw + 1rem, 2.75rem);
  --fs-h3: clamp(1.25rem, 0.8vw + 1rem, 1.5rem);

  /* Space, radius, shadow, motion */
  --space-section: clamp(3.5rem, 8vw, 7rem);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --gap: clamp(1rem, 2.5vw, 1.5rem);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(61, 50, 54, 0.05), 0 4px 14px rgba(61, 50, 54, 0.06);
  --sh-2: 0 2px 6px rgba(61, 50, 54, 0.06), 0 16px 36px rgba(61, 50, 54, 0.12);
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 350ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --header-h: 64px;
}

@media (min-width: 64em) {
  :root { --header-h: 76px; }
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-ink);
  background-color: var(--c-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video, picture { display: block; max-width: 100%; }
img, video { height: auto; }

h1, h2, h3 {
  margin: 0 0 0.5em;
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--c-ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--c-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--t-fast) var(--ease);
}
a:hover { color: var(--c-primary-hover); }

ul, ol { margin: 0; padding: 0; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--c-morganite); color: var(--c-ink); }

.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-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--c-dark);
  color: var(--c-on-dark);
  border-radius: var(--r-pill);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; color: var(--c-on-dark); }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding-block: var(--space-section); }
.section--mist { background-color: var(--c-mist); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

.grid { display: grid; gap: var(--gap); }
@media (min-width: 40em) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 75em) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 56em) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--top { align-items: start; }
  .split--top .photo { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-family: var(--f-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-primary);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--c-gold);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--c-muted);
}

.prose { max-width: 70ch; }
.prose h3 { margin-top: 2rem; }
.prose h3:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.25em; list-style: none; }
.prose li {
  position: relative;
  padding-inline-start: 1.5rem;
  margin-bottom: 0.5em;
}
.prose li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0.25rem;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-morganite);
  box-shadow: 0 0 0 2px var(--c-surface), 0 0 0 3px var(--c-gold);
}

.hairline {
  width: 64px;
  height: 1px;
  border: 0;
  margin: 1.5rem 0;
  background: var(--c-gold);
}

/* ---------- 5. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-hover); color: #fff; box-shadow: var(--sh-1); }

.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-muted); }
.btn--ghost:hover { background: var(--c-surface); color: var(--c-ink); border-color: var(--c-ink); }

.btn--light { background: var(--c-on-dark); color: var(--c-dark); }
.btn--light:hover { background: #fff; color: var(--c-dark); }

.btn--sm { min-height: 44px; padding: 0.6rem 1.15rem; font-size: 0.9375rem; }

.btn[aria-disabled="true"], .btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 6. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(251, 247, 244, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background-color: rgba(251, 247, 244, 0.94);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    backdrop-filter: saturate(140%) blur(12px);
  }
}
.site-header.is-scrolled { border-bottom-color: var(--c-border); box-shadow: 0 6px 24px rgba(61, 50, 54, 0.06); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand-logo { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.brand-logo img { height: 38px; width: auto; }
@media (min-width: 64em) { .brand-logo img { height: 46px; } }

.site-nav { display: none; }
.site-nav ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.site-nav a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
  border-radius: var(--r-pill);
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  inset-inline: 0.85rem;
  bottom: 6px;
  height: 1px;
  background: var(--c-gold);
  transform: scaleX(0);
  transition: transform var(--t-base) var(--ease);
}
.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a:not(.btn)[aria-current="page"] { color: var(--c-primary); }
.site-nav .btn[aria-current="page"] { box-shadow: 0 0 0 2px var(--c-canvas), 0 0 0 3px var(--c-primary); }
.site-nav li:last-child { margin-inline-start: 0.5rem; }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-inline-end: -8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--c-ink);
}
.nav-toggle:hover { background: var(--c-mist); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (min-width: 64em) {
  .site-nav { display: block; }
  .nav-toggle { display: none; }
}

/* Without JavaScript: show the primary nav as a wrapped row on small screens */
@media (max-width: 63.99em) {
  html:not(.js) .site-header { position: static; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-nav { display: block; width: 100%; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: 0.5rem; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
}
html:not(.js) .copy-btn { display: none; }

/* Drawer (mobile) */
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(43, 35, 38, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-slow) var(--ease), visibility 0s linear var(--t-slow);
}
.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: min(88vw, 380px);
  background: var(--c-surface);
  box-shadow: var(--sh-2);
  transform: translateX(100%);
  visibility: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transition: transform var(--t-slow) var(--ease), visibility 0s linear var(--t-slow);
}

.nav-open .drawer-scrim { opacity: 1; visibility: visible; transition: opacity var(--t-slow) var(--ease); }
.nav-open .drawer { transform: none; visibility: visible; transition: transform var(--t-slow) var(--ease); }
.nav-open body { overflow: hidden; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding-inline: 1.25rem 0.75rem;
  border-bottom: 1px solid var(--c-border);
}
.drawer__head img { height: 32px; width: auto; }
.drawer__close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--c-ink);
}
.drawer__close:hover { background: var(--c-mist); }
.drawer__close svg { width: 24px; height: 24px; }

.drawer__nav { padding: 0.5rem 1.25rem; }
.drawer__nav ul { list-style: none; }
.drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  font-family: var(--f-display);
  font-size: 1.3125rem;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--c-border);
}
.drawer__nav a svg { width: 18px; height: 18px; color: var(--c-gold); }
.drawer__nav a[aria-current="page"] { color: var(--c-primary); }

.drawer__foot {
  margin-top: auto;
  padding: 1.5rem 1.25rem 2rem;
  display: grid;
  gap: 1rem;
  background: var(--c-canvas);
}
.drawer__foot .small { font-size: var(--fs-sm); color: var(--c-muted); margin: 0; }
.drawer__foot .small a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- 7. Decorative rosette (from the logo's petals) ---------- */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.rosette { width: 100%; height: auto; overflow: visible; }
.rosette__spin { transform-box: view-box; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .rosette__spin { animation: rosette-in 1.6s var(--ease) both; }
}
@keyframes rosette-in {
  from { transform: rotate(-40deg) scale(0.9); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* ---------- 8. Hero (home) ---------- */
.hero {
  overflow: hidden;
  padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(55% 60% at 88% 18%, rgba(232, 180, 166, 0.38), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, rgba(246, 230, 224, 0.95), transparent 72%),
    var(--c-canvas);
}
.hero__inner { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__art { position: relative; width: min(46vw, 180px); margin-inline: auto; order: -1; }
.hero__art::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0) 70%);
}
.hero__art .rosette { position: relative; }
@media (min-width: 40em) and (max-width: 63.99em) { .hero__art { width: 220px; } }
.hero h1 { max-width: 15ch; margin-bottom: 1.25rem; }
.hero .lead { max-width: 38rem; margin-bottom: 2rem; }

@media (min-width: 64em) {
  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    min-height: calc(86vh - var(--header-h));
    min-height: calc(86svh - var(--header-h));
  }
  .hero__art { order: 0; width: min(100%, 470px); }
}

/* Trust strip */
.trust {
  background: var(--c-surface);
  border-block: 1px solid var(--c-border);
}
.trust__list {
  display: grid;
  gap: 1.5rem;
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
  list-style: none;
}
@media (min-width: 64em) {
  .trust__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}
.trust__item { display: flex; gap: 1rem; align-items: flex-start; }
.trust__item strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
}
.trust__item div > span { font-size: 0.9375rem; color: var(--c-muted); }

/* ---------- 9. Cards ---------- */
.icon-badge {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--c-mist);
  color: var(--c-primary);
}
.icon-badge svg { width: 24px; height: 24px; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--c-surface);
  border: 1px solid rgba(234, 219, 213, 0.8);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
}
.card h3 { margin: 0.25rem 0 0; }
.card p { color: var(--c-muted); margin: 0; }
.brand-card__body .eyebrow { color: var(--c-primary); }
.card .link-arrow { margin-top: auto; }

.card--interactive { transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.card--interactive:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Brand cards */
.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid rgba(234, 219, 213, 0.8);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.brand-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.brand-card__body { display: flex; flex-direction: column; gap: 0.75rem; padding: clamp(1.5rem, 3.5vw, 2.25rem); flex: 1; }
.brand-card__body h3 { font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem); margin: 0; }
.brand-card__body p { color: var(--c-muted); margin: 0; }
.brand-card__body .link-arrow { margin-top: auto; }

.brand-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
}
.brand-art--rose { background: linear-gradient(135deg, #FBEEE9 0%, #F3D3C9 55%, #E8B4A6 100%); }
.brand-art--sage { background: linear-gradient(135deg, #F1F5F2 0%, #DCE8E3 55%, #B8CFC6 100%); }
.brand-art__name {
  padding-inline: 1.5rem;
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.05;
  text-align: center;
  color: var(--c-ink);
}
.brand-art .rosette {
  position: absolute;
  z-index: -1;
  width: 46%;
  inset-inline-end: -12%;
  bottom: -30%;
  opacity: 0.5;
}

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0.25rem 0 0.5rem; }
.tags li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-ink);
  background: var(--c-canvas);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
}

/* Channel tiles */
.tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.5rem;
  background: var(--c-surface);
  border-radius: var(--r-md);
  border: 1px solid rgba(234, 219, 213, 0.8);
}
.tile h3 { font-size: 1.1875rem; margin: 0; }

/* Photo frame */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  aspect-ratio: 4 / 3;
  background: var(--c-mist);
}
.photo picture { display: block; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: calc(var(--r-lg) - 8px);
  pointer-events: none;
}

/* ---------- 10. Inner-page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(232, 180, 166, 0.35), transparent 70%),
    var(--c-mist);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 42rem; margin: 0; }
.page-hero__art {
  position: absolute;
  inset-inline-end: -60px;
  top: -40px;
  width: clamp(180px, 30vw, 380px);
  opacity: 0.45;
  pointer-events: none;
}
@media (max-width: 47.99em) {
  .page-hero__art { width: 150px; top: auto; bottom: -56px; inset-inline-end: -56px; opacity: 0.3; }
}

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin-top: 1.75rem; }
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.chips a:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* ---------- 11. Content blocks ---------- */
.detail { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 64em) {
  .detail { grid-template-columns: 5fr 7fr; align-items: start; }
  .detail__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.detail + .detail,
.service-block + .service-block {
  margin-top: var(--space-section);
  padding-top: var(--space-section);
  border-top: 1px solid var(--c-border);
}

.detail__aside .brand-art { border-radius: var(--r-lg); box-shadow: var(--sh-1); aspect-ratio: 4 / 3; }
@media (max-width: 63.99em) {
  .detail__aside .brand-art { aspect-ratio: 21 / 9; max-height: 260px; }
}
@media (max-width: 24.99em) {
  .brand-card__body .eyebrow { letter-spacing: 0.06em; }
  .brand-card__body .eyebrow::before { display: none; }
}

.service-block__head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.25rem; }
.service-block__head h2 { margin: 0; }

.panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}
.panel h3 { font-size: 1.1875rem; }
.section--mist .panel { border-color: transparent; }
.prose + .panel { margin-top: 1.5rem; max-width: 70ch; }

.org-list { display: grid; gap: 0.5rem 1.5rem; list-style: none; }
@media (min-width: 40em) { .org-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.org-list li {
  position: relative;
  padding-inline-start: 1.25rem;
  font-size: 0.9375rem;
}
.org-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
}

.quote {
  margin: 1.5rem 0 0;
  padding-inline-start: 1.25rem;
  border-inline-start: 2px solid var(--c-gold);
  font-family: var(--f-display);
  font-size: clamp(1.375rem, 1vw + 1rem, 1.75rem);
  font-style: italic;
  line-height: 1.35;
}

.value-card { gap: 0.5rem; }
.value-card__num {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--c-gold);
}

.video-frame {
  margin: 1.5rem 0 0;
  border-radius: var(--r-md);
  background: var(--c-dark);
  box-shadow: var(--sh-1);
}
.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--c-dark);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.video-frame video:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 3px; }
.video-frame figcaption {
  padding: 0.75rem 1rem;
  font-size: var(--fs-sm);
  color: var(--c-on-dark-muted);
}
.video-details { margin-top: 0.75rem; }
.video-details summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--c-primary);
  cursor: pointer;
}

/* ---------- 12. Dark CTA band ---------- */
.band-dark {
  position: relative;
  overflow: hidden;
  background: var(--c-dark);
  color: var(--c-on-dark);
}
.band-dark h2 { color: var(--c-on-dark); }
.band-dark p { color: var(--c-on-dark-muted); }
.band-dark :focus-visible { outline-color: var(--c-link-on-dark); }
.band-dark .eyebrow { color: var(--c-link-on-dark); }
.band-dark .eyebrow::before { background: var(--c-gold-on-dark); }
.band-dark .btn--ghost { color: var(--c-on-dark); background: rgba(43, 35, 38, 0.6); border-color: rgba(246, 237, 233, 0.55); }
.band-dark .btn--ghost:hover { background: rgba(246, 237, 233, 0.08); color: #fff; border-color: #fff; }
.band-dark__art {
  position: absolute;
  inset-inline-end: -120px;
  bottom: -160px;
  width: 460px;
  opacity: 0.14;
  pointer-events: none;
}
.cta-band { position: relative; z-index: 1; max-width: 44rem; }
@media (max-width: 47.99em) {
  .band-dark__art { width: 260px; inset-inline-end: -100px; bottom: -130px; opacity: 0.1; }
}

/* ---------- 13. Contact ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 64em) { .contact-grid { grid-template-columns: 7fr 5fr; align-items: start; } }

.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 40em) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.9375rem; font-weight: 600; }
.field .optional { font-weight: 400; color: var(--c-muted); }
.input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--c-ink);
  background: var(--c-surface);
  border: 1px solid var(--c-muted);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.input:hover { border-color: var(--c-ink); }
.input:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 1px; border-color: var(--c-primary); }
.input[aria-invalid="true"] { border-color: var(--c-error); box-shadow: 0 0 0 1px var(--c-error); }
textarea.input { min-height: 160px; resize: vertical; }
select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D3236' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 18px;
}

.field .field__error {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-error);
}
.field .field__error::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--c-error);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}
.field .field__error[hidden] { display: none; }
.field__hint { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }

.hp-field { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  padding: 0.9rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  border: 1px solid transparent;
}
.form-status:empty { padding: 0; border: 0; }
.form-status.form-status--success { background: var(--c-success-bg); color: var(--c-success); border-color: rgba(31, 90, 63, 0.25); }
.form-status.form-status--error { background: var(--c-error-bg); color: var(--c-error); border-color: rgba(168, 38, 27, 0.25); }
.form-notice { display: none; }
.form-notice:target { display: block; }
.form-notice:focus { outline: none; }

.contact-list { display: grid; gap: 1.25rem; list-style: none; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list strong { display: block; font-size: 0.9375rem; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; word-break: break-word; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  margin-top: 0.35rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-ink);
  background: var(--c-canvas);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
}
.copy-btn:hover { border-color: var(--c-muted); }
.copy-btn svg { width: 16px; height: 16px; }

/* ---------- 14. Social icons ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.socials a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--c-ink);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.socials a:hover { color: var(--c-primary); border-color: var(--c-primary); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }

/* ---------- 15. Footer ---------- */
.site-footer {
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  font-size: 0.9375rem;
}
/* Phone: brand block on top, then "Explore" and "Get in touch" side by side.
   Tablet/desktop: brand block on the left, the two link groups beside it. */
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.25rem;
}
.site-footer__brand { grid-column: 1 / -1; }
@media (min-width: 48em) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: clamp(2.5rem, 6vw, 5rem); }
  .site-footer__brand { grid-column: auto; }
}
.site-footer img { height: 44px; width: auto; margin-bottom: 1rem; }
.site-footer p { color: var(--c-muted); max-width: 34ch; }
.site-footer h2 {
  margin: 0 0 0.75rem;
  font-family: var(--f-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.footer-links { list-style: none; display: grid; gap: 0.1rem; }
.footer-links--cols { grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: 1rem; justify-content: start; }
.footer-links span { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-muted); }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-ink);
  text-decoration: none;
}
.footer-links a:hover { color: var(--c-primary); text-decoration: underline; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-border);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.site-footer__bottom p { margin: 0; }

/* ---------- 16. 404 ---------- */
.not-found { text-align: center; }
.not-found .eyebrow { justify-content: center; }
.not-found .eyebrow::after { content: ""; flex: none; width: 28px; }
.not-found .rosette { width: min(50vw, 200px); margin: 0 auto 2rem; }
.not-found .lead { margin-inline: auto; max-width: 34rem; }
.not-found .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- 17. Reveal on scroll (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on [data-reveal] {
    opacity: 0;
    translate: 0 14px;
    transition: opacity 600ms var(--ease), translate 600ms var(--ease),
                transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  }
  .reveal-on [data-reveal].is-visible { opacity: 1; translate: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 18. Print ---------- */
@media print {
  .site-header, .drawer, .drawer-scrim, .band-dark, .nav-toggle, .hero__art, .page-hero__art { display: none !important; }
  body { background: #fff; }
  a { color: inherit; }
  .reveal-on [data-reveal] { opacity: 1 !important; translate: none !important; }
}

/* ---------- 19. Small utilities ---------- */
.list-reset { list-style: none; }
.btn-row--spaced { margin-top: 2rem; }
