/* =====================================================================
   An-Nikah — Homepage (2026 redesign)
   Scoped with the `ah-` prefix so it never leaks into other pages.
   ===================================================================== */

:root {
    --ah-emerald: #0f5c46;
    --ah-emerald-600: #137257;
    --ah-emerald-50: #e8f2ee;
    --ah-forest: #0b3b2e;
    --ah-forest-900: #062519;
    --ah-ivory: #fbf8f2;
    --ah-ivory-2: #f4eee3;
    --ah-paper: #ffffff;
    --ah-gold: #c6a465;
    --ah-gold-600: #a8864a;
    --ah-gold-soft: #efe3c8;
    --ah-ink: #1b2420;
    --ah-ink-2: #3f4a45;
    --ah-muted: #66706b;
    --ah-line: rgba(11, 59, 46, .10);
    --ah-line-strong: rgba(11, 59, 46, .16);

    --ah-font-display: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
    --ah-font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --ah-gutter: clamp(20px, 5vw, 120px);
    --ah-max: 2400px;
    --ah-section-y: clamp(64px, 8vw, 128px);
    --ah-header-h: 76px;

    --ah-r-sm: 10px;
    --ah-r-md: 16px;
    --ah-r-lg: 24px;
    --ah-r-xl: 32px;

    --ah-shadow-sm: 0 1px 2px rgba(6, 37, 25, .06), 0 2px 8px rgba(6, 37, 25, .04);
    --ah-shadow-md: 0 8px 24px -8px rgba(6, 37, 25, .14), 0 2px 6px rgba(6, 37, 25, .05);
    --ah-shadow-lg: 0 30px 60px -24px rgba(6, 37, 25, .28), 0 8px 20px -8px rgba(6, 37, 25, .10);

    --ah-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base (homepage only) ---------- */
body:has(.ah) { background: var(--ah-ivory); color: var(--ah-ink-2); }
.ah, .ah-header, .ah-drawer, .ah-footer {
    font-family: var(--ah-font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ah-ink-2);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-synthesis: none;
}
.ah { overflow-x: clip; background: var(--ah-ivory); }
.ah h1, .ah h2, .ah h3 { color: var(--ah-ink); font-weight: 600; text-wrap: balance; }
.ah p { text-wrap: pretty; }
.ah-wrap { width: min(100% - 2 * var(--ah-gutter), var(--ah-max)); margin-inline: auto; }
.ah :focus-visible, .ah-header :focus-visible, .ah-drawer :focus-visible, .ah-footer :focus-visible {
    outline: 2px solid var(--ah-gold);
    outline-offset: 3px;
    border-radius: 6px;
}
html:has(.ah) { scroll-padding-top: calc(var(--ah-header-h) + 16px); }

/* ---------- Buttons ---------- */
.ah-btn {
    --_bg: transparent; --_fg: var(--ah-ink); --_bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 44px; padding: .7em 1.25em;
    font: 600 .95rem/1.2 var(--ah-font-body); letter-spacing: .005em;
    color: var(--_fg); background: var(--_bg); border: 1.5px solid var(--_bd);
    border-radius: 999px; cursor: pointer; white-space: nowrap; text-decoration: none;
    transition: transform .25s var(--ah-ease), box-shadow .25s var(--ah-ease), background-color .2s, color .2s, border-color .2s;
}
.ah-btn svg { flex: none; transition: transform .25s var(--ah-ease); }
.ah-btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
.ah-btn--lg { min-height: 54px; padding: .9em 1.6em; font-size: 1rem; }
.ah-btn--block { width: 100%; }
.ah-btn--primary { --_bg: var(--ah-emerald); --_fg: #fff; box-shadow: 0 10px 24px -10px rgba(15, 92, 70, .55); }
.ah-btn--primary:hover { --_bg: var(--ah-forest); transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(15, 92, 70, .6); }
.ah-btn--outline { --_fg: var(--ah-emerald); --_bd: rgba(15, 92, 70, .35); --_bg: rgba(255,255,255,.6); }
.ah-btn--outline:hover { --_bd: var(--ah-emerald); --_bg: #fff; transform: translateY(-1px); }
.ah-btn--ghost { --_fg: var(--ah-ink); }
.ah-btn--ghost:hover { --_bg: var(--ah-emerald-50); --_fg: var(--ah-emerald); }
.ah-btn--gold { --_bg: var(--ah-gold); --_fg: var(--ah-forest-900); box-shadow: 0 12px 26px -12px rgba(166, 132, 72, .7); }
.ah-btn--gold:hover { --_bg: #d3b57a; transform: translateY(-1px); }
.ah-btn--light { --_fg: #fff; --_bd: rgba(255,255,255,.4); }
.ah-btn--light:hover { --_bg: rgba(255,255,255,.1); --_bd: #fff; }
.ah-btn:active { transform: translateY(0) scale(.98); }

.ah-link { display: inline-flex; align-items: center; gap: .4em; color: var(--ah-emerald); font-weight: 600; font-size: .92rem; text-decoration: none; }
.ah-link:hover { color: var(--ah-forest); }
.ah-link:hover svg { transform: translateX(3px); }
.ah-link svg { transition: transform .25s var(--ah-ease); }

/* ---------- Section scaffolding ---------- */
.ah-section { padding-block: var(--ah-section-y); }
.ah-section__head { max-width: 760px; margin: 0 auto clamp(36px, 4vw, 64px); text-align: center; }
.ah-section__head--left { margin-inline: 0; text-align: left; }
.ah-kicker {
    display: inline-flex; align-items: center; gap: .6em; margin-bottom: 14px;
    font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ah-gold-600);
}
.ah-kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.ah-section__title {
    font-family: var(--ah-font-display);
    font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem);
    line-height: 1.08; letter-spacing: -.01em;
}
.ah-section__title em { font-style: italic; color: var(--ah-emerald); }
.ah-section__lead { margin-top: 16px; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--ah-muted); max-width: 62ch; }
.ah-section__head:not(.ah-section__head--left) .ah-section__lead { margin-inline: auto; }

/* =====================================================================
   HEADER
   ===================================================================== */
.ah-header {
    position: sticky; top: 0; z-index: 900;
    background: rgba(251, 248, 242, .82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.ah-header.scrolled, .ah-header.is-scrolled { border-bottom-color: var(--ah-line); box-shadow: 0 6px 24px -18px rgba(6, 37, 25, .35); background: rgba(251, 248, 242, .94); }
.ah-header__bar { height: var(--ah-header-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.ah-header__logo { display: inline-flex; align-items: center; }
.ah-header__logo img { height: 46px; width: auto; max-width: none; display: block; }
.ah-header__nav { display: flex; justify-content: center; gap: clamp(4px, 1vw, 14px); }
.ah-header__nav a {
    position: relative; padding: 10px 14px; border-radius: 999px; white-space: nowrap;
    font-weight: 500; font-size: 1.08rem; letter-spacing: -.003em; color: var(--ah-ink-2); text-decoration: none; transition: color .2s, background-color .2s;
}
.ah-header__nav a:hover { color: var(--ah-emerald); background: var(--ah-emerald-50); }
.ah-header__nav a[aria-current="page"] { color: var(--ah-emerald); background: var(--ah-emerald-50); font-weight: 600; }
.ah-header__nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px;
    border-radius: 50%; background: var(--ah-gold);
}
.ah-header__actions { display: flex; align-items: center; gap: 10px; }
.ah-header__actions .ah-btn { font-size: 1rem; white-space: nowrap; }
@media (max-width: 1440px) { .ah-header__nav { gap: 2px; } .ah-header__nav a { padding: 10px 11px; } }

.ah-usermenu { position: relative; }
.ah-usermenu__trigger {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 14px 4px 4px;
    background: #fff; border: 1px solid var(--ah-line-strong); border-radius: 999px; color: var(--ah-ink); font: 600 .9rem var(--ah-font-body); cursor: pointer;
}
.ah-usermenu__trigger:hover { border-color: var(--ah-emerald); }
.ah-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ah-emerald); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.ah-usermenu__panel {
    position: absolute; right: 0; top: calc(100% + 10px); width: 250px; padding: 8px;
    background: #fff; border: 1px solid var(--ah-line); border-radius: var(--ah-r-md); box-shadow: var(--ah-shadow-lg);
}
.ah-usermenu__head { padding: 10px 12px 12px; border-bottom: 1px solid var(--ah-line); margin-bottom: 6px; }
.ah-usermenu__head strong { display: block; color: var(--ah-ink); font-size: .95rem; }
.ah-usermenu__head span { font-size: .78rem; color: var(--ah-muted); }
.ah-usermenu__panel a, .ah-usermenu__logout {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: var(--ah-r-sm);
    font: 500 .9rem var(--ah-font-body); color: var(--ah-ink-2); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left;
}
.ah-usermenu__panel a:hover { background: var(--ah-emerald-50); color: var(--ah-emerald); }
.ah-usermenu__logout { color: #b42318; margin-top: 4px; border-top: 1px solid var(--ah-line); border-radius: 0 0 var(--ah-r-sm) var(--ah-r-sm); }
.ah-usermenu__logout:hover { background: #fdf0ef; }

.ah-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ah-line-strong); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.ah-burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--ah-ink); }

/* Drawer */
.ah-drawer { position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
.ah-drawer.is-open { visibility: visible; }
.ah-drawer__scrim { position: absolute; inset: 0; background: rgba(6, 37, 25, .45); opacity: 0; transition: opacity .3s; }
.ah-drawer.is-open .ah-drawer__scrim { opacity: 1; }
.ah-drawer__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px);
    display: flex; flex-direction: column; background: var(--ah-ivory); padding: 18px 20px 24px;
    transform: translateX(100%); transition: transform .35s var(--ah-ease); overflow-y: auto;
}
.ah-drawer.is-open .ah-drawer__panel { transform: none; }
.ah-drawer__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--ah-line); }
.ah-drawer__top img { height: 38px; width: auto; }
.ah-drawer__close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--ah-line-strong); background: #fff; color: var(--ah-ink); cursor: pointer; }
.ah-drawer__nav { display: flex; flex-direction: column; padding: 12px 0; }
.ah-drawer__nav a { padding: 14px 6px; font: 500 1.08rem var(--ah-font-body); color: var(--ah-ink); text-decoration: none; border-bottom: 1px solid var(--ah-line); }
.ah-drawer__nav a:hover { color: var(--ah-emerald); }
.ah-drawer__nav a[aria-current="page"] { color: var(--ah-emerald); font-weight: 600; box-shadow: inset 3px 0 0 var(--ah-gold); padding-left: 14px; }
.ah-drawer__cta { margin-top: auto; display: grid; gap: 10px; padding-top: 16px; }
body.ah-lock { overflow: hidden; }

/* =====================================================================
   HERO — full-bleed textured banner with search, fits the first screen
   ===================================================================== */
.ah-hero > .ah-wrap { width: 100%; max-width: none; }
.ah-hero__frame {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column;
    min-height: calc(100vh - var(--ah-header-h));
    min-height: calc(100svh - var(--ah-header-h));
    padding: clamp(32px, 6vh, 88px) var(--ah-gutter) clamp(20px, 4vh, 44px);
    background:
        radial-gradient(120% 90% at 50% -10%, #1d7d60 0%, var(--ah-emerald) 26%, var(--ah-forest) 60%, var(--ah-forest-900) 100%);
    color: var(--ah-ivory);
}
.ah-hero__copy, .ah-search__card { width: 100%; max-width: var(--ah-max); margin-inline: auto; }
.ah-hero__art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ah-hero__glow {
    position: absolute; inset: 0;
    background:
        radial-gradient(42% 38% at 50% 22%, rgba(231, 211, 166, .22), transparent 70%),
        radial-gradient(60% 50% at 50% 115%, rgba(0, 0, 0, .38), transparent 70%);
}
.ah-hero__pattern {
    position: absolute; inset: -2px; opacity: .17;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23d9bd84' stroke-width='.7'%3E%3Cpath d='M40 8l9.4 22.6L72 40l-22.6 9.4L40 72l-9.4-22.6L8 40l22.6-9.4z'/%3E%3Cpath d='M40 19l14.8 6.2L61 40l-6.2 14.8L40 61l-14.8-6.2L19 40l6.2-14.8z'/%3E%3Ccircle cx='40' cy='40' r='5'/%3E%3Cpath d='M0 0l8 8M80 0l-8 8M0 80l8-8M80 80l-8-8'/%3E%3C/g%3E%3C/svg%3E");
    -webkit-mask-image: radial-gradient(75% 70% at 50% 40%, transparent 22%, #000 78%);
            mask-image: radial-gradient(75% 70% at 50% 40%, transparent 22%, #000 78%);
}
.ah-hero__grain { position: absolute; inset: 0; opacity: .22; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ah-hero__arches { position: absolute; bottom: 0; height: 94%; width: auto; fill: none; stroke: #d9bd84; stroke-width: 1.2; }
.ah-hero__arches path:nth-child(1) { opacity: .38; }
.ah-hero__arches path:nth-child(2) { opacity: .24; }
.ah-hero__arches path:nth-child(3) { opacity: .14; }
.ah-hero__arches .ah-hero__star { fill: #d9bd84; stroke: none; opacity: .55; }
.ah-hero__arches--l { left: -3%; }
.ah-hero__arches--r { right: -3%; }
.ah-hero__rosette {
    position: absolute; top: 40%; left: 50%; width: min(78vh, 720px); height: auto;
    transform: translate(-50%, -50%); color: #d9bd84; opacity: .12;
}

.ah-hero__copy {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
}
.ah-verse { margin: 0; max-width: 1040px; }
.ah-verse__ar {
    font-family: 'Scheherazade New', 'Noto Naskh Arabic', serif; font-weight: 500; line-height: 1.45;
    font-size: min(clamp(2.1rem, 1.3rem + 2.3vw, 3.7rem), 7vh); color: #e7d3a6;
    margin-bottom: clamp(4px, 1.2vh, 14px); text-shadow: 0 2px 24px rgba(0, 0, 0, .2);
}
.ah-hero .ah-eyebrow {
    background: rgba(255, 255, 255, .06); border-color: rgba(231, 211, 166, .3);
    color: rgba(251, 248, 242, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    margin-bottom: clamp(18px, 3.2vh, 30px);
}
.ah-eyebrow {
    display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 16px;
    background: rgba(255,255,255,.7); border: 1px solid var(--ah-line); border-radius: 999px;
    font-size: clamp(.95rem, .85rem + .35vw, 1.15rem); font-weight: 500; color: var(--ah-ink-2);
}
.ah-eyebrow__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ah-gold); box-shadow: 0 0 0 4px rgba(198, 164, 101, .25); }
.ah .ah-hero__title {
    font-family: var(--ah-font-display);
    font-size: min(clamp(2.1rem, 1.1rem + 3vw, 4.6rem), 8.2vh);
    font-size: max(2rem, min(clamp(2.1rem, 1.1rem + 3vw, 4.6rem), 8.2vh));
    line-height: 1.04; letter-spacing: -.015em; font-weight: 600; color: var(--ah-ivory);
    text-shadow: 0 2px 30px rgba(0, 0, 0, .18);
}
.ah-hero__title em { display: block; font-style: italic; font-weight: 500; color: #e7d3a6; }
.ah-ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: clamp(18px, 3vh, 28px) 0; color: #d9bd84; }
.ah-ornament span { width: clamp(40px, 6vw, 84px); height: 1px; background: linear-gradient(90deg, transparent, #d9bd84); }
.ah-ornament span:last-child { transform: scaleX(-1); }
.ah-ornament cite { font: 600 clamp(.8rem, .75rem + .2vw, .92rem)/1.2 var(--ah-font-body); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: rgba(231, 211, 166, .9); }
.ah-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Rotating thought */
.ah-verse [data-q], .ah-verse [data-s] { display: inline-block; transition: opacity .48s var(--ah-ease), transform .48s var(--ah-ease), filter .48s var(--ah-ease); }
.ah-verse .ah-hero__title { display: flex; align-items: center; justify-content: center; margin: 0; }
.ah-verse.is-out [data-q], .ah-verse.is-out [data-s] { opacity: 0; }
.ah-verse[data-t="rise"].is-out [data-q] { transform: translateY(14px); }
.ah-verse[data-t="blur"].is-out [data-q] { filter: blur(8px); }
.ah-tctl { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -6px 0 clamp(16px, 2.6vh, 24px); }
.ah-tctl__bar { width: 96px; height: 2px; border-radius: 2px; background: rgba(231, 211, 166, .22); overflow: hidden; }
.ah-tctl__bar i { display: block; height: 100%; background: #d9bd84; transform: scaleX(0); transform-origin: left; }
.ah-tctl__btn {
    width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
    border: 1px solid rgba(231, 211, 166, .35); background: rgba(255, 255, 255, .04); color: #e7d3a6;
    transition: background-color .2s, border-color .2s;
}
.ah-tctl__btn:hover { background: rgba(255, 255, 255, .1); border-color: #d9bd84; }
.ah-tctl__btn .ah-i-play, .ah-verse.is-paused .ah-tctl__btn .ah-i-pause { display: none; }
.ah-verse.is-paused .ah-tctl__btn .ah-i-play { display: block; }
.ah-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; }

/* Search card inside the banner */
.ah-search__card {
    position: relative; z-index: 1; margin-top: clamp(24px, 5vh, 56px);
    background: rgba(251, 248, 242, .97); border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 22px; padding: clamp(16px, 1.6vw, 24px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
    color: var(--ah-ink-2);
}
.ah-search__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 14px; }
.ah-search__title { font-family: var(--ah-font-display); font-size: clamp(1.35rem, 1.2rem + .5vw, 1.7rem); line-height: 1.1; color: var(--ah-ink); font-weight: 600; }
.ah-search__sub { font-size: clamp(.95rem, .9rem + .15vw, 1.02rem); color: var(--ah-ink-2); }
.ah-search__fields {
    display: grid; gap: 12px 14px; align-items: end;
    grid-template-columns: minmax(170px, 1.1fr) repeat(5, minmax(0, 1fr)) minmax(170px, 1fr);
}
.ah-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.ah-field__label { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ah-ink-2); padding: 0; }
.ah-select {
    width: 100%; height: 52px; padding: 0 40px 0 14px;
    font: 500 .95rem var(--ah-font-body); color: var(--ah-ink);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230f5c46' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
    border: 1.5px solid var(--ah-line-strong); border-radius: 14px;
    appearance: none; -webkit-appearance: none; cursor: pointer; text-overflow: ellipsis;
    transition: border-color .2s, box-shadow .2s;
}
.ah-select:hover { border-color: rgba(15, 92, 70, .45); }
.ah-select:focus { outline: none; border-color: var(--ah-emerald); box-shadow: 0 0 0 4px rgba(15, 92, 70, .12); }
.ah-seg { display: grid; grid-template-columns: 1fr 1fr; height: 52px; padding: 4px; background: #fff; border: 1.5px solid var(--ah-line-strong); border-radius: 14px; }
.ah-seg__opt { position: relative; display: grid; cursor: pointer; }
.ah-seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.ah-seg__opt span { display: grid; place-items: center; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--ah-ink-2); transition: background-color .2s, color .2s, box-shadow .2s; }
.ah-seg__opt input:checked + span { background: var(--ah-emerald); color: #fff; box-shadow: 0 6px 14px -6px rgba(15, 92, 70, .6); }
.ah-seg__opt input:focus-visible + span { outline: 2px solid var(--ah-gold); outline-offset: 2px; }
.ah-seg__opt:hover input:not(:checked) + span { color: var(--ah-emerald); }
.ah-field--submit .ah-btn { height: 52px; min-height: 52px; border-radius: 14px; }
.ah-search__error { margin-top: 10px; color: #b42318; font-size: .9rem; font-weight: 500; }

/* =====================================================================
   TRUST
   ===================================================================== */
/* One full screen: centred heading, then five promises in a single row. */
.ah-trust {
    position: relative; isolation: isolate;
    padding-block: clamp(40px, 6vh, 80px) clamp(40px, 6vh, 72px);
    background:
        radial-gradient(55% 60% at 50% 0%, rgba(198, 164, 101, .14), transparent 70%),
        linear-gradient(180deg, var(--ah-ivory) 0%, #f7f1e6 100%);
}
.ah-trust::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23a8864a' stroke-width='.7'%3E%3Cpath d='M40 8l9.4 22.6L72 40l-22.6 9.4L40 72l-9.4-22.6L8 40l22.6-9.4z'/%3E%3Ccircle cx='40' cy='40' r='5'/%3E%3C/g%3E%3C/svg%3E");
    -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%);
            mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%);
}
.ah-trust__inner { display: flex; flex-direction: column; gap: clamp(28px, 5vh, 60px); }
.ah-trust__head { text-align: center; max-width: 1280px; margin-inline: auto; }
.ah-trust__title { font-size: max(2.2rem, min(clamp(2.4rem, 1.4rem + 2.6vw, 4.4rem), 8vh)); line-height: 1.06; }

.ah-trust__row {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.5vw, 28px);
    counter-reset: none;
}
.ah-tcard {
    position: relative; display: flex; flex-direction: column; align-items: flex-start;
    padding: clamp(22px, 3.2vh, 38px) clamp(20px, 1.8vw, 34px) clamp(22px, 3vh, 34px);
    background: rgba(255, 255, 255, .78); border: 1px solid var(--ah-line); border-radius: var(--ah-r-xl);
    box-shadow: var(--ah-shadow-sm);
    transition: transform .45s var(--ah-ease), box-shadow .45s var(--ah-ease), border-color .45s, background-color .45s;
}
.ah-tcard::after {
    content: ""; position: absolute; left: clamp(20px, 1.8vw, 34px); right: clamp(20px, 1.8vw, 34px); top: 0; height: 3px;
    border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--ah-gold), #e7d3a6);
    transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ah-ease);
}
.ah-tcard:hover, .ah-tcard:focus-within {
    transform: translateY(-8px); background: #fff; border-color: rgba(198, 164, 101, .55);
    box-shadow: 0 30px 60px -30px rgba(6, 37, 25, .35), 0 8px 20px -10px rgba(6, 37, 25, .12);
}
.ah-tcard:hover::after, .ah-tcard:focus-within::after { transform: scaleX(1); }
.ah-tcard__num {
    position: absolute; top: clamp(18px, 3vh, 30px); right: clamp(18px, 1.6vw, 28px);
    font-family: var(--ah-font-display); font-size: clamp(1.8rem, 1.3rem + 1vw, 2.6rem); font-weight: 600; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(198, 164, 101, .6); transition: color .45s;
}
.ah-tcard:hover .ah-tcard__num { color: var(--ah-gold); -webkit-text-stroke: 0; }
.ah-tcard__icon {
    width: clamp(58px, 8vh, 72px); height: clamp(58px, 8vh, 72px); display: grid; place-items: center; border-radius: 50%;
    margin-bottom: clamp(12px, 2vh, 24px);
    color: var(--ah-emerald); background: var(--ah-emerald-50);
    box-shadow: 0 0 0 8px rgba(15, 92, 70, .04);
    transition: background .45s, color .45s, transform .45s var(--ah-ease);
}
.ah-tcard:hover .ah-tcard__icon { background: var(--ah-emerald); color: #e7d3a6; transform: rotate(-6deg) scale(1.04); }
.ah-tcard__title { font-family: var(--ah-font-body); font-size: clamp(1.15rem, 1rem + .45vw, 1.45rem); font-weight: 700; color: var(--ah-ink); letter-spacing: -.01em; line-height: 1.25; }
.ah-tcard__text { margin-top: 10px; font-size: clamp(1rem, .95rem + .2vw, 1.1rem); line-height: 1.6; color: var(--ah-muted); }
.ah-tcard__link { display: inline-flex; align-items: center; gap: .45em; margin-top: auto; padding-top: 16px; color: var(--ah-emerald); font-weight: 600; font-size: .98rem; text-decoration: none; }
.ah-tcard__link svg { transition: transform .25s var(--ah-ease); }
.ah-tcard__link:hover { color: var(--ah-forest); }
.ah-tcard__link:hover svg { transform: translateX(4px); }

/* The profiles section follows straight on, so it needs less top padding. */
.ah-trust + .ah-profiles { padding-top: clamp(40px, 5vw, 80px); }

/* Mid widths: keep the single row as a swipeable strip instead of squeezing five columns. */
@media (max-width: 1180px) {
    .ah-trust__row {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        margin-inline: calc(-1 * var(--ah-gutter)); padding: 12px var(--ah-gutter) 24px; scroll-padding-inline: var(--ah-gutter);
    }
    .ah-trust__row::-webkit-scrollbar { display: none; }
    .ah-tcard { flex: 0 0 min(320px, 78vw); scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
    .ah-tcard, .ah-tcard::after, .ah-tcard__icon { transition: none; }
}

/* =====================================================================
   FEATURED PROFILES
   ===================================================================== */
.ah-profiles { background: var(--ah-paper); border-block: 1px solid var(--ah-line); }
.ah-profiles__head { text-align: center; margin-bottom: clamp(20px, 3vh, 32px); }
.ah-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.ah-tab {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px;
    border: 1.5px solid var(--ah-line-strong); border-radius: 999px; background: #fff;
    font: 600 .92rem var(--ah-font-body); color: var(--ah-ink-2); cursor: pointer; transition: all .2s;
}
.ah-tab span { min-width: 24px; padding: 1px 8px; border-radius: 999px; background: var(--ah-ivory-2); font-size: .78rem; color: var(--ah-muted); }
.ah-tab:hover { border-color: var(--ah-emerald); color: var(--ah-emerald); }
.ah-tab.is-active { background: var(--ah-emerald); border-color: var(--ah-emerald); color: #fff; }
.ah-tab.is-active span { background: rgba(255,255,255,.18); color: #fff; }

.ah-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); gap: clamp(14px, 1.3vw, 24px); }
.ah-pcard {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: var(--ah-paper); border: 1px solid rgba(11, 59, 46, .22); border-radius: var(--ah-r-lg);
    box-shadow: 0 1px 2px rgba(6, 37, 25, .05), 0 10px 24px -16px rgba(6, 37, 25, .28);
    transition: transform .35s var(--ah-ease), box-shadow .35s var(--ah-ease), border-color .35s;
}
.ah-pcard:hover {
    transform: translateY(-6px); border-color: var(--ah-gold);
    box-shadow: 0 0 0 3px rgba(198, 164, 101, .18), 0 30px 60px -28px rgba(6, 37, 25, .42), 0 8px 20px -10px rgba(6, 37, 25, .12);
}
.ah-pcard[hidden] { display: none; }
.ah-pcard__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ah-ivory-2); }
.ah-pcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .6s var(--ah-ease); }
.ah-pcard:hover .ah-pcard__media img { transform: scale(1.04); }
.ah-pcard__media { border-bottom: 2px solid transparent; border-image: linear-gradient(90deg, transparent, var(--ah-gold) 20%, #e7d3a6 50%, var(--ah-gold) 80%, transparent) 1; }
.ah-pcard__media::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(to top, rgba(6, 37, 25, .25), transparent); pointer-events: none; }
.ah-pcard__mono {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--ah-font-display); font-size: clamp(3rem, 2rem + 2vw, 4.2rem); font-weight: 600; letter-spacing: .06em; color: rgba(239, 227, 200, .95);
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.12), transparent 60%),
        linear-gradient(160deg, var(--ah-emerald-600), var(--ah-forest-900));
}
.ah-pcard__mono--bride { background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.14), transparent 60%), linear-gradient(160deg, #8a6a3b, #4a3820); }
.ah-pcard__verified {
    position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 8px;
    border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ah-emerald); font-size: .75rem; font-weight: 700; box-shadow: var(--ah-shadow-sm);
}
.ah-pcard__save {
    position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; display: grid; place-items: center;
    border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--ah-ink-2); cursor: pointer; box-shadow: var(--ah-shadow-sm);
    transition: transform .2s var(--ah-ease), color .2s, background-color .2s;
}
.ah-pcard__save:hover { transform: scale(1.08); color: #c2410c; }
.ah-pcard__save.is-saved { color: #fff; background: #c2410c; }
.ah-pcard__save.is-saved svg { fill: currentColor; }
.ah-pcard__save.is-busy { opacity: .6; pointer-events: none; }
.ah-pcard__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; gap: 6px; }
.ah-pcard__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--ah-font-body) !important; font-size: 1.14rem; font-weight: 700; line-height: 1.3; }
.ah-pcard__name a { color: var(--ah-ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ah-pcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 0; } /* whole card clickable */
.ah-pcard__save, .ah-pcard__verified { z-index: 2; }
.ah-pcard__age { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--ah-emerald-50); font-size: .8rem; font-weight: 700; color: var(--ah-emerald); }
.ah-pcard__place { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--ah-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ah-pcard__place svg { flex: none; color: var(--ah-gold-600); }
.ah-pcard__facts { display: grid; gap: 7px; margin: 8px 0 16px; padding: 12px 0 0; list-style: none; border-top: 1px dashed var(--ah-line-strong); }
.ah-pcard__facts li { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ah-ink-2); min-width: 0; }
.ah-pcard__facts li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ah-pcard__facts svg { flex: none; box-sizing: content-box; padding: 5px; border-radius: 50%; background: var(--ah-emerald-50); color: var(--ah-emerald); }
.ah-pcard__muted { color: var(--ah-muted) !important; font-style: italic; }
.ah-pcard__cta {
    position: relative; z-index: 1; margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 44px; border-radius: 12px; background: var(--ah-ivory); border: 1px solid rgba(198, 164, 101, .35); color: var(--ah-emerald); font-weight: 600; font-size: .9rem; text-decoration: none;
    transition: background-color .2s, color .2s;
}
.ah-pcard:hover .ah-pcard__cta { background: var(--ah-emerald); border-color: var(--ah-emerald); color: #fff; }
.ah-empty { grid-column: 1 / -1; text-align: center; padding: 48px 20px; color: var(--ah-muted); display: grid; justify-items: center; gap: 16px; }
.ah-empty--tab { display: block; }
.ah-empty--tab[hidden] { display: none; }
.ah-empty a:not(.ah-btn) { color: var(--ah-emerald); font-weight: 600; }
.ah-profiles__more { display: flex; justify-content: center; margin-top: clamp(32px, 3vw, 48px); }

/* =====================================================================
   HOW IT WORKS
   ===================================================================== */
.ah-how { background: var(--ah-ivory-2); }
.ah-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); padding: 0; list-style: none; counter-reset: none; }
.ah-steps::before {
    content: ""; position: absolute; top: 44px; left: 12.5%; right: 12.5%; height: 1px;
    background: repeating-linear-gradient(90deg, var(--ah-gold) 0 8px, transparent 8px 16px); opacity: .7;
}
.ah-step { position: relative; text-align: center; padding: 0 clamp(4px, 1vw, 16px); }
.ah-step__icon {
    position: relative; width: 88px; height: 88px; margin: 0 auto 22px; display: grid; place-items: center;
    border-radius: 50%; background: var(--ah-paper); color: var(--ah-emerald);
    border: 1px solid var(--ah-line); box-shadow: 0 0 0 8px var(--ah-ivory-2), var(--ah-shadow-md);
    transition: transform .35s var(--ah-ease), background-color .3s, color .3s;
}
.ah-step:hover .ah-step__icon { transform: translateY(-4px); background: var(--ah-emerald); color: #fff; }
.ah-step__num {
    position: absolute; top: -2px; left: calc(50% + 22px); z-index: 1; min-width: 32px; height: 32px; padding: 0 6px;
    display: grid; place-items: center; border-radius: 999px; background: var(--ah-gold); color: var(--ah-forest-900);
    font: 700 .78rem/1 var(--ah-font-body); letter-spacing: .02em; box-shadow: 0 0 0 4px var(--ah-ivory-2);
}
.ah-step h3 { font-family: var(--ah-font-display); font-size: clamp(1.45rem, 1.2rem + .6vw, 1.85rem); line-height: 1.15; margin-bottom: 10px; }
.ah-step p { color: var(--ah-muted); max-width: 34ch; margin-inline: auto; }
.ah-how__cta { display: flex; justify-content: center; margin-top: clamp(40px, 4vw, 64px); }

/* =====================================================================
   SUCCESS STORIES
   ===================================================================== */
.ah-stories__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 96px); }
.ah-stories__copy .ah-section__lead { max-width: 52ch; }
.ah-stories__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ah-stories__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(28px, 3vw, 48px); }
.ah-stories__head .ah-stories__ctas { margin-top: 0; }
.ah-quote {
    position: relative; margin: 0; padding: clamp(32px, 4vw, 64px);
    background:
        radial-gradient(80% 60% at 100% 0%, rgba(198, 164, 101, .18), transparent 60%),
        var(--ah-paper);
    border: 1px solid var(--ah-line); border-radius: var(--ah-r-xl); box-shadow: var(--ah-shadow-md);
}
.ah-quote::after {
    content: ""; position: absolute; inset: 14px; border: 1px solid rgba(198, 164, 101, .35); border-radius: calc(var(--ah-r-xl) - 10px); pointer-events: none;
}
.ah-quote__mark { color: var(--ah-gold); opacity: .8; margin-bottom: 12px; }
.ah-quote blockquote { margin: 0; }
.ah-quote blockquote p { font-family: var(--ah-font-display); font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.3rem); line-height: 1.25; font-style: italic; color: var(--ah-ink); }
.ah-quote figcaption { display: flex; align-items: center; gap: 12px; margin: 22px 0 28px; font-size: .9rem; font-weight: 600; letter-spacing: .04em; color: var(--ah-muted); }
.ah-quote__rule { width: 36px; height: 1px; background: var(--ah-gold); }
.ah-quote .ah-btn { position: relative; z-index: 1; }

/* =====================================================================
   FINAL CTA
   ===================================================================== */
.ah-final { padding-bottom: var(--ah-section-y); }
.ah-final__card {
    position: relative; overflow: hidden; isolation: isolate; text-align: center;
    padding: clamp(56px, 7vw, 120px) clamp(20px, 4vw, 64px);
    border-radius: var(--ah-r-xl);
    background: radial-gradient(70% 90% at 50% 0%, var(--ah-emerald-600), var(--ah-forest) 60%, var(--ah-forest-900));
    color: rgba(255,255,255,.85);
}
.ah-final__pattern {
    position: absolute; inset: 0; z-index: -1; opacity: .14;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 30 30'%3E%3Cpath d='M15 1 19 11 29 15 19 19 15 29 11 19 1 15 11 11Z' fill='none' stroke='%23c6a465' stroke-width='.6'/%3E%3C/svg%3E");
    mask-image: radial-gradient(70% 80% at 50% 50%, #000 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000 30%, transparent 85%);
}
.ah-final__title { font-family: var(--ah-font-display); color: #fff !important; font-size: clamp(2.1rem, 1.3rem + 3vw, 4.2rem); line-height: 1.06; letter-spacing: -.01em; max-width: 18ch; margin-inline: auto; }
.ah-final__lead { margin: 20px auto 0; max-width: 58ch; font-size: clamp(1rem, .95rem + .35vw, 1.2rem); color: rgba(255,255,255,.82); }
.ah-final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.ah-footer {
    position: relative; isolation: isolate; overflow: hidden;
    color: rgba(251, 248, 242, .74);
    padding-top: clamp(84px, 8vw, 132px);
    background:
        radial-gradient(70% 60% at 50% 0%, rgba(29, 125, 96, .55), transparent 70%),
        linear-gradient(180deg, var(--ah-forest) 0%, var(--ah-forest-900) 70%);
}
.ah-footer__art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ah-footer__art .ah-hero__pattern {
    opacity: .1;
    -webkit-mask-image: radial-gradient(80% 70% at 50% 0%, #000 0%, transparent 75%);
            mask-image: radial-gradient(80% 70% at 50% 0%, #000 0%, transparent 75%);
}
.ah-footer__ornament {
    position: absolute; top: clamp(22px, 3vw, 40px); left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 14px; width: min(520px, 80vw); color: var(--ah-gold);
}
.ah-footer__ornament span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--ah-gold)); }
.ah-footer__ornament span:last-child { background: linear-gradient(270deg, transparent, var(--ah-gold)); }
.ah-footer__ornament svg { flex: none; }

.ah-footer__grid {
    display: grid; grid-template-columns: minmax(300px, 1.15fr) minmax(0, 2fr);
    gap: clamp(36px, 5vw, 110px); padding-bottom: clamp(28px, 3vw, 48px);
}
.ah-footer__logo { display: inline-flex; padding: 12px 18px; background: var(--ah-ivory); border-radius: 16px; box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .6); }
.ah-footer__logo img { height: 44px; width: auto; }
.ah-footer__about { margin-top: 22px; max-width: 46ch; font-size: 1rem; line-height: 1.75; color: rgba(251, 248, 242, .78); }

.ah-footer__contact { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; max-width: 420px; }
.ah-footer__contact a {
    display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 16px;
    border: 1px solid rgba(231, 211, 166, .14); background: rgba(255, 255, 255, .03);
    color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem;
    transition: background-color .25s, border-color .25s, transform .25s var(--ah-ease);
}
.ah-footer__contact a:hover { background: rgba(255, 255, 255, .07); border-color: rgba(231, 211, 166, .45); transform: translateX(4px); }
.ah-footer__contact a > span { min-width: 0; white-space: nowrap; }
.ah-footer__contact small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ah-gold); }
.ah-footer__ci {
    width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px;
    background: rgba(231, 211, 166, .1); color: #e7d3a6;
}

.ah-footer__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 44px); padding-top: 8px; }
.ah-footer__col h3 {
    position: relative; margin-bottom: 20px; padding-bottom: 12px;
    font: 700 .8rem var(--ah-font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ah-gold);
}
.ah-footer__col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.ah-footer__col ul { display: grid; gap: 2px; padding: 0; list-style: none; }
.ah-footer__col a {
    position: relative; display: inline-block; padding: 7px 0; font-size: 1rem; color: rgba(251, 248, 242, .78); text-decoration: none;
    transition: color .2s, transform .25s var(--ah-ease);
}
.ah-footer__col a::before {
    content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
    background: var(--ah-gold); opacity: 0; transform: scale(.4); transition: opacity .2s, transform .25s var(--ah-ease);
}
.ah-footer__col a:hover { color: #fff; transform: translateX(6px); }
.ah-footer__col a:hover::before { opacity: 1; transform: none; }
.ah-footer__col a[aria-current="page"] { color: #fff; font-weight: 600; transform: translateX(6px); }
.ah-footer__col a[aria-current="page"]::before { opacity: 1; transform: none; }

.ah-footer__wordmark {
    margin: clamp(8px, 2vw, 24px) 0 calc(-1 * clamp(14px, 2.2vw, 40px)); text-align: center; user-select: none;
    font-family: var(--ah-font-display); font-weight: 600; line-height: .9; letter-spacing: .02em;
    font-size: min(15rem, 2rem + 13vw, 20vw); white-space: nowrap;
    color: transparent; -webkit-text-stroke: 1px rgba(231, 211, 166, .11);
    background: linear-gradient(180deg, rgba(231, 211, 166, .07), transparent 80%); -webkit-background-clip: text; background-clip: text;
}

.ah-footer__bottom {
    position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    padding: 22px 0 28px; border-top: 1px solid rgba(231, 211, 166, .16); font-size: .92rem; color: rgba(251, 248, 242, .62);
}
.ah-footer__social { display: flex; gap: 10px; }
.ah-footer__social a {
    width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
    border: 1px solid rgba(231, 211, 166, .25); color: rgba(251, 248, 242, .85); transition: all .25s var(--ah-ease);
}
.ah-footer__social a:hover { background: var(--ah-gold); border-color: var(--ah-gold); color: var(--ah-forest-900); transform: translateY(-2px); }
.ah-footer__meta { display: flex; align-items: center; gap: 18px; }
.ah-footer__top {
    width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
    background: var(--ah-gold); color: var(--ah-forest-900); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6);
    transition: transform .25s var(--ah-ease), background-color .2s;
}
.ah-footer__top:hover { transform: translateY(-3px); background: #e7d3a6; }
.ah-footer__visits strong { color: rgba(255,255,255,.9); font-weight: 600; margin-left: 6px; }

/* Keep the shared WhatsApp button clear of the footer bottom bar */
body:has(.ah) .whatsapp-container { z-index: 950; }

/* =====================================================================
   REVEAL ON SCROLL
   ===================================================================== */
.ah-js .ah-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ah-ease), transform .7s var(--ah-ease); }
.ah-js .ah-reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (min-width: 2000px) {
    .ah-pgrid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (max-width: 1199px) {
    .ah-search__fields { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ah-field--seg { grid-column: span 1; }
    .ah-field--submit { grid-column: span 2; }
}

@media (max-width: 1200px) {
    .ah-header__nav a { padding: 10px 8px; font-size: .98rem; }
    .ah-hide-md { display: none; }
    .ah-footer__grid { grid-template-columns: 1fr; }
    .ah-footer__contact { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); max-width: none; }
}

/* Larger menu text needs a little more room, so the drawer takes over below 1180px. */
@media (max-width: 1180px) {
    .ah-header__nav { display: none; }
    .ah-burger { display: inline-flex; }
    .ah-header__bar { grid-template-columns: auto 1fr; }
    .ah-header__actions { justify-content: flex-end; }
}

@media (max-width: 1080px) {

    .ah-hero__arches { height: 70%; }
    .ah-hero__arches--l { left: -12%; }
    .ah-hero__arches--r { right: -12%; }

    .ah-search__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ah-field--submit { grid-column: 1 / -1; }

    .ah-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
    .ah-steps::before { display: none; }

    .ah-stories__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    :root { --ah-header-h: 66px; }
    .ah-header__logo img { height: 38px; }
    .ah-hide-sm { display: none; }
    .ah-usermenu__name { display: none; }
    .ah-usermenu__trigger { padding-right: 10px; }

    .ah-hero__frame { min-height: 0; padding: 40px var(--ah-gutter) 20px; }
    .ah-hero__arches { height: 46%; opacity: .7; }
    .ah-hero__arches--l { left: -30%; }
    .ah-hero__arches--r { right: -30%; }
    .ah-hero__rosette { width: 120vw; top: 30%; }
    .ah-eyebrow { gap: 8px; padding: 8px 14px 8px 12px; font-size: .9rem; white-space: nowrap; }
    .ah-hero__ctas { width: 100%; }
    .ah-hero__ctas .ah-btn { flex: 1 1 100%; }
    .ah-search__card { margin-top: 32px; padding: 16px 14px; }
    .ah-ornament { gap: 10px; }
    .ah-ornament span { width: 24px; }
    .ah-ornament cite { white-space: nowrap; font-size: .74rem; letter-spacing: .1em; }
    .ah-search__fields { gap: 12px 10px; }
    .ah-select { padding: 0 28px 0 12px; background-position: right 10px center; font-size: .9rem; }

    .ah-search__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ah-field--seg, .ah-field--submit { grid-column: 1 / -1; }

    .ah-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--ah-gutter)); padding-inline: var(--ah-gutter); scrollbar-width: none; }
    .ah-tabs::-webkit-scrollbar { display: none; }
    .ah-tab { flex: none; }
    .ah-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .ah-pcard__body { padding: 12px 12px 14px; }
    .ah-pcard__name { flex-direction: column; align-items: flex-start; gap: 0; font-size: 1rem; }
    .ah-pcard__facts li:nth-child(3) { display: none; }
    .ah-pcard__save { width: 38px; height: 38px; }

    /* Vertical timeline */
    .ah-steps { grid-template-columns: 1fr; row-gap: 28px; }
    .ah-steps::before { display: block; top: 0; bottom: 0; left: 35px; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--ah-gold) 0 8px, transparent 8px 16px); }
    .ah-step { display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; text-align: left; padding: 0; }
    .ah-step__icon { grid-row: 1 / span 3; width: 72px; height: 72px; margin: 0; }
    .ah-step__num { left: 46px; top: -6px; min-width: 28px; height: 28px; }
    .ah-step h3 { margin-top: 6px; }
    .ah-step p { margin: 0; }

    .ah-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
    .ah-footer__contact { grid-template-columns: 1fr; }
    .ah-footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 400px) {
    .ah-footer__col h3 { font-size: .72rem; letter-spacing: .1em; white-space: nowrap; }
    .ah-pgrid { grid-template-columns: 1fr; }
    .ah-pcard { display: grid; grid-template-columns: 116px 1fr; }
    .ah-pcard__media { aspect-ratio: auto; min-height: 100%; }
    .ah-pcard__verified { top: 8px; left: 8px; font-size: .68rem; padding: 3px 7px; }
    .ah-pcard__save { top: auto; right: auto; bottom: 8px; left: 78px; width: 32px; height: 32px; }
    .ah-pcard__save svg { width: 15px; height: 15px; }
    .ah-pcard__facts li:nth-child(3) { display: flex; }
    .ah-eyebrow { font-size: .82rem; padding: 7px 12px 7px 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .ah *, .ah *::before, .ah *::after, .ah-header, .ah-drawer * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .ah-js .ah-reveal { opacity: 1; transform: none; }
}
