/* ==========================================================================
   Adam Dince — site styles
   Mobile-first. Breakpoints: 640px (tablet), 960px (desktop nav).
   ========================================================================== */

:root {
  --night: #16131f;
  --ink: #221d31;
  --ink-2: #2e2742;
  --cream: #f8f4ee;
  --sand: #efe6da;
  --paper: #fffdf9;
  --text: #2a2533;
  --muted: #5f5870;
  --on-dark: #f3eee6;
  --on-dark-muted: #c6bdd3;
  --gold: #d2a765;
  --gold-deep: #8a5a24;
  --line: rgba(34, 29, 49, 0.12);
  --line-dark: rgba(243, 238, 230, 0.14);

  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --header-h: 68px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(22, 19, 31, 0.45);
  --gutter: clamp(20px, 5vw, 40px);
  --max: 1160px;
}

*,
*::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) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

body.nav-open { overflow: hidden; }

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

a { color: var(--gold-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: inherit;
}
h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); }
h2 { font-size: clamp(2rem, 5.5vw, 3rem); }
h3 { font-size: clamp(1.45rem, 3.6vw, 1.75rem); }
p { margin: 0 0 1.1em; }

.sr-only {
  position: absolute; 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; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--night); padding: 10px 16px;
  border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.9rem;
}
.on-dark .eyebrow, .eyebrow.on-dark, .hero .eyebrow { color: var(--gold); }

.lead { font-size: clamp(1.1rem, 2.6vw, 1.3rem); line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; padding: 0.8em 1.6em;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--night); box-shadow: 0 10px 24px -12px rgba(210, 167, 101, .8); }
.btn-gold:hover { background: #e0b877; }
.btn-ghost { border-color: currentColor; color: var(--on-dark); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--ink-2); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--on-dark); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) {
  .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
  padding-top: env(safe-area-inset-top, 0px);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile menu and clip it. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(22, 19, 31, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h);
}
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--on-dark); line-height: 1; padding: 6px 0; }
.brand-name { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.7rem; letter-spacing: 0.01em; }
.brand-tag { font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px; margin-right: -8px;
  border: 0; border-radius: 12px; background: transparent; color: var(--on-dark);
  cursor: pointer; position: relative;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  position: absolute; left: 50%; width: 24px; height: 2px; margin-left: -12px;
  background: currentColor; border-radius: 2px; content: "";
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle .bars { top: 50%; margin-top: -1px; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { top: 0; transform: rotate(45deg); background: var(--on-dark); }
.nav-open .nav-toggle .bars::after { top: 0; transform: rotate(-45deg); background: var(--on-dark); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.site-nav a:not(.btn) {
  display: block; padding: 10px 12px; border-radius: 10px;
  color: var(--on-dark); text-decoration: none; font-size: 0.95rem; font-weight: 500;
}
.site-nav a:not(.btn):hover { background: rgba(255, 255, 255, .07); }
.site-nav a[aria-current="page"] { color: var(--gold); }

/* Free Resources dropdown */
.site-nav .has-sub { position: relative; }
.sub-toggle {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border: 0; border-radius: 10px;
  background: transparent; color: var(--on-dark);
  font: 500 0.95rem/1.7 var(--font-body); cursor: pointer;
}
.sub-toggle .chev { width: 12px; height: 12px; transition: transform .2s ease; }
.sub-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.site-nav .sub-menu { flex-direction: column; flex-wrap: nowrap; gap: 0; }

/* Desktop */
@media (min-width: 1100px) {
  .brand { flex: none; }
  .site-nav { display: flex; align-items: center; gap: 14px; }
  .site-nav > ul { flex-wrap: nowrap; gap: 2px; }
  .site-nav > ul > li > a:not(.btn),
  .sub-toggle { padding: 10px 10px; font-size: 0.92rem; white-space: nowrap; }
  .sub-toggle:hover { background: rgba(255, 255, 255, .07); }
  .site-nav .sub-menu {
    display: none; position: absolute; top: 100%; right: 0; width: 320px;
    padding: 8px; background: var(--night);
    border: 1px solid var(--line-dark); border-radius: 14px;
    box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .7);
  }
  .site-nav .has-sub:hover .sub-menu,
  .site-nav .has-sub.open .sub-menu { display: flex; }
  .site-nav .sub-menu a:not(.btn) { line-height: 1.4; }
}

/* Mobile: collapsible panel (only when JS is available) */
@media (max-width: 1099px) {
  .js .nav-toggle { display: block; }
  .js .site-nav {
    position: fixed; left: 0; right: 0; bottom: 0;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    background: var(--night);
    padding: 20px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto; overscroll-behavior: contain;
    display: flex; flex-direction: column; gap: 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .js .nav-open .site-nav {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav li { border-bottom: 1px solid var(--line-dark); }
  .js .site-nav a:not(.btn) {
    font-family: var(--font-display); font-size: 1.65rem; font-weight: 500;
    padding: 14px 4px; border-radius: 0;
  }
  .js .sub-toggle {
    width: 100%; justify-content: space-between; padding: 14px 4px; border-radius: 0;
    font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; line-height: 1.7;
  }
  .js .sub-toggle .chev { width: 16px; height: 16px; }
  .js .site-nav .sub-menu { display: none; padding: 0 0 12px 12px; }
  .js .site-nav .has-sub.open .sub-menu { display: flex; }
  .js .site-nav .sub-menu li { border: 0; }
  .js .site-nav .sub-menu a:not(.btn) {
    font-family: var(--font-body); font-size: 1.05rem; line-height: 1.45;
    padding: 11px 4px 11px 14px; border-left: 1px solid var(--line-dark);
  }

  /* No-JS fallback: links simply wrap below the brand */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-bottom: 10px; }
  html:not(.js) .site-nav { width: 100%; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--night); color: var(--on-dark);
  padding-block: clamp(40px, 8vw, 96px) clamp(56px, 9vw, 112px);
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; z-index: -1;
  width: min(900px, 140vw); aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(210, 167, 101, .28), rgba(120, 92, 170, .16) 55%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -30% -20%; z-index: -1;
  width: min(700px, 120vw); aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(110, 84, 170, .25), transparent 70%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 0.25em; }
.hero h1 .sub {
  display: block; font-size: 0.42em; font-style: italic; font-weight: 500;
  color: var(--on-dark-muted); letter-spacing: 0; margin-top: 0.35em;
}
.hero .lead { color: var(--on-dark-muted); max-width: 34em; margin-bottom: 1.8em; }
.hero-note { margin-top: 1.4rem; font-size: 0.92rem; color: var(--on-dark-muted); display: flex; align-items: center; gap: 10px; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: #7fd1a8; box-shadow: 0 0 0 4px rgba(127, 209, 168, .18); flex: none; }

.portrait {
  position: relative; margin: 0 auto; width: min(100%, 420px);
}
.portrait img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.portrait::before {
  content: ""; position: absolute; inset: -14px -14px 24px 14px; z-index: -1;
  border: 1px solid rgba(210, 167, 101, .45);
  border-radius: 999px 999px var(--radius) var(--radius);
}

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--night); color: var(--on-dark);
  padding-block: clamp(48px, 9vw, 96px) clamp(40px, 7vw, 72px);
}
.page-hero::before {
  content: ""; position: absolute; right: -25%; top: -60%; z-index: -1;
  width: min(760px, 130vw); aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(210, 167, 101, .22), rgba(120, 92, 170, .12) 60%, transparent 75%);
}
.page-hero h1 { font-size: clamp(2.4rem, 7vw, 4rem); margin-bottom: 0.3em; }
.page-hero p { color: var(--on-dark-muted); max-width: 40em; margin: 0; }
.crumbs { font-size: 0.85rem; margin-bottom: 1rem; color: var(--on-dark-muted); }
.crumbs a { color: var(--on-dark-muted); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 10vw, 112px); }
.section-tight { padding-block: clamp(40px, 7vw, 72px); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark p { color: var(--on-dark-muted); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head p { color: var(--muted); }
.section-dark .section-head p { color: var(--on-dark-muted); }

.prose { max-width: 680px; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }

.creds { list-style: none; padding: 0 !important; margin: 1.8em 0 0 !important; display: grid; gap: 10px; }
.creds li {
  margin: 0 !important; padding: 14px 16px 14px 44px; position: relative;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 0.98rem; line-height: 1.5;
}
.creds li::before {
  content: ""; position: absolute; left: 17px; top: 21px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(210, 167, 101, .2);
}

.split { display: grid; gap: 32px; }
@media (min-width: 860px) {
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
}

.pull {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.6rem, 4.4vw, 2.3rem); line-height: 1.25; color: var(--ink);
  margin: 0; border-left: 2px solid var(--gold); padding-left: 0.8em;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 4vw, 30px);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card h3 { margin-bottom: 0.35em; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .card-link { margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--gold-deep); text-decoration: none; }
.card .card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:has(.card-link):hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(138, 90, 36, .35); }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--sand); color: var(--gold-deep);
}
.card-icon svg { width: 24px; height: 24px; }
.ext { font-size: 0.8em; opacity: .7; }

.section-dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.section-dark .card p { color: var(--on-dark-muted); }
.section-dark .card-icon { background: rgba(210, 167, 101, .14); color: var(--gold); }

/* Service list */
.services { display: grid; gap: 14px; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
.service {
  border-top: 1px solid var(--line-dark); padding-top: 20px;
}
.service h3 { color: var(--on-dark); }
.service p { margin: 0; }

/* ---------- Book feature ---------- */
.book { display: grid; gap: 36px; align-items: center; }
.book-cover { width: min(72%, 320px); margin: 0 auto; }
.book-cover img { border-radius: 6px; box-shadow: 0 40px 70px -30px rgba(22, 19, 31, .7), 0 0 0 1px rgba(0,0,0,.08); transform: rotate(-2deg); }
@media (min-width: 860px) {
  .book { grid-template-columns: 0.75fr 1.25fr; gap: 72px; }
  .book-cover { width: 100%; max-width: 340px; }
}
blockquote.endorse {
  margin: 0 0 1.6em; padding: 20px 22px; border-radius: var(--radius-sm);
  background: var(--paper); border: 1px solid var(--line);
}
blockquote.endorse p { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; line-height: 1.35; color: var(--ink); margin-bottom: 0.5em; }
blockquote.endorse cite { font-style: normal; font-size: 0.9rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, #33284a 100%);
  color: var(--on-dark); border-radius: calc(var(--radius) + 6px);
  padding: clamp(32px, 6vw, 64px);
  display: grid; gap: 24px; align-items: center;
  position: relative; overflow: hidden; isolation: isolate;
}
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; z-index: -1;
  background: radial-gradient(closest-side, rgba(210, 167, 101, .3), transparent);
}
.cta-band h2 { margin-bottom: 0.25em; }
.cta-band p { color: var(--on-dark-muted); margin: 0; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ---------- Media / video ---------- */
.media-list { display: grid; gap: clamp(28px, 5vw, 44px); }
.media-item {
  display: grid; gap: 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(14px, 3vw, 22px);
}
.media-item .body { padding: 4px 6px 8px; }
.media-item h2 { font-size: clamp(1.55rem, 4vw, 2rem); margin-bottom: 0.4em; }
.media-item p { color: var(--muted); }
.media-item p:last-child { margin-bottom: 0; }
.media-tag { font-size: 0.75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.6em; display: block; }
@media (min-width: 900px) {
  .media-item { grid-template-columns: 1.1fr 1fr; align-items: start; gap: 32px; }
  .media-item .body { padding: 10px 10px 10px 0; }
  .media-item.text-only { grid-template-columns: 1fr; }
  .media-item.text-only .body { padding: 10px; max-width: 760px; }
}

.yt {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm); overflow: hidden; background: #000;
  color: #fff;
}
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .3s ease; opacity: .9; }
.yt:hover img { transform: scale(1.03); opacity: 1; }
.yt .play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border-radius: 50%; background: rgba(22, 19, 31, .72); border: 1.5px solid rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background .2s ease, transform .2s ease;
}
.yt .play::after {
  content: ""; position: absolute; left: 50%; top: 50%; margin: -11px 0 0 -6px;
  border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff;
}
.yt:hover .play { background: var(--gold); transform: scale(1.06); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Meditations ---------- */
.widget-frame {
  width: 100%; height: 720px; border: 0; border-radius: var(--radius);
  background: var(--paper); box-shadow: 0 0 0 1px var(--line);
}
@media (max-width: 639px) { .widget-frame { height: 640px; } }

.track .duration { font-size: 0.8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }

/* ---------- Blog ---------- */
.post-card {
  display: grid; gap: 0; overflow: hidden; padding: 0;
}
.post-card img { width: 100%; aspect-ratio: 770 / 520; object-fit: cover; }
.post-card .post-body { padding: clamp(22px, 4vw, 30px); display: flex; flex-direction: column; flex: 1; }
@media (min-width: 860px) {
  .post-card { grid-template-columns: 1fr 1fr; }
  .post-card img { height: 100%; aspect-ratio: auto; }
}
.post-figure { margin: 0 0 2rem; }
.post-figure img { border-radius: var(--radius); width: 100%; }
.post-meta { font-size: 0.9rem; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input,
.field textarea,
.field select {
  width: 100%; min-height: 52px;
  font: inherit; font-size: 1rem; /* 16px+ prevents iOS zoom */
  color: var(--text); background: var(--paper);
  border: 1.5px solid rgba(34, 29, 49, .2); border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%238a5a24' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 14px;
}
.field select:invalid { color: var(--muted); }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(210, 167, 101, .25); }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hidden-field { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
@media (max-width: 479px) { .form .btn { justify-self: stretch; } }

.contact-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); }
.panel h2 { font-size: clamp(1.6rem, 4vw, 2rem); }
.map {
  width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius-sm); margin-top: 18px;
  background: var(--sand);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--night); color: var(--on-dark-muted);
  padding-block: clamp(48px, 8vw, 80px) calc(28px + env(safe-area-inset-bottom, 0px));
  font-size: 0.95rem;
}
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h3 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 6px 0; color: var(--on-dark); text-decoration: none; }
.site-footer li a:hover { color: var(--gold); }
.site-footer .brand { margin-bottom: 14px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--on-dark); transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.social a:hover { background: var(--gold); color: var(--night); border-color: var(--gold); }
.social svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.85rem;
}
.footer-bottom a { color: var(--on-dark-muted); }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: clamp(28px, 5vw, 44px); }
.muted { color: var(--muted); }
