/* ==========================================================================
   ADDAM Properties — Contact page
   File: public/css/contact.css
   Everything is scoped to .ad-contact so it can't clash with the rest of the site.
   ========================================================================== */

.ad-contact {
    /* ── 1. BRAND TOKENS ─────────────────────────────────────────────────
       addam-contact.sh fills these in with the colors found in your
       site's own CSS. You can also edit them by hand.
       Keep each "-rgb" token in sync with its hex (same color, as R, G, B). */
    --ad-ink: #0a050e;              /* dark brand color — hero & dark bands */
    --ad-ink-rgb: 10, 5, 14;
    --ad-ink-2: #19141c;            /* slightly lighter dark                */
    --ad-ink-3: #07040a;            /* slightly deeper dark                 */
    --ad-gold: #cb39ff;             /* accent — buttons, highlights         */
    --ad-gold-rgb: 203, 57, 255;
    --ad-gold-2: #dc78ff;           /* lighter accent, used on dark areas   */
    --ad-gold-2-rgb: 220, 120, 255;
    --ad-on-gold: #ffffff;          /* text color on accent buttons         */
    --ad-ivory: #f6f5f9;            /* page background                      */
    --ad-stone: #f3e8f9;            /* alternate section background         */
    --ad-text: #0a050e;             /* body text on light backgrounds       */
    --ad-white: #FFFFFF;
    --ad-muted: #5F6878;
    --ad-line: rgba(var(--ad-ink-rgb), .12);
    --ad-danger: #B4232C;

    /* ── 2. SHAPE & MOTION ─────────────────────────────────────────────── */
    --ad-btn-radius: 999px;     /* set to 0 or 4px if your site uses square buttons */
    --ad-radius: 20px;
    --ad-radius-sm: 12px;
    --ad-ease: cubic-bezier(.22, 1, .36, 1);
    --ad-shadow: 0 40px 80px -40px rgba(var(--ad-ink-rgb), .38);

    /* ── 3. FONTS ───────────────────────────────────────────────────────
       Not set on purpose: the page inherits your site's body and heading
       fonts from the layout. If headings don't pick up your display font,
       uncomment the block at the very bottom of this file.             */

    /* ── 4. HERO IMAGE ──────────────────────────────────────────────────
       Upload your photo to /images/contact-hero.jpg in your public folder
       (or change the path below). If the file is missing, the hero simply
       shows the brand gradient instead.                                 */
    --ad-hero-image: url("/images/contact-hero.jpg");

    color: var(--ad-text);
    background: var(--ad-ivory);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

.ad-contact *,
.ad-contact *::before,
.ad-contact *::after { box-sizing: border-box; }

/* :where() keeps these resets at low priority so the component rules below win */
.ad-contact :where(h1, h2, h3, p, ul) { margin: 0; }
.ad-contact :where(em) { font-style: italic; color: var(--ad-gold); }
.ad-contact :where(svg) { display: block; }
.ad-contact :where(a) { color: inherit; }

.ad-c-wrap {
    width: min(1240px, calc(100% - 32px));
    margin-inline: auto;
}

.ad-c-section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }

/* ── Eyebrow ───────────────────────────────────────────────────────────── */
.ad-c-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ad-gold-2);
    margin-bottom: 22px;
}
.ad-c-eyebrow--dark { color: var(--ad-gold); }
.ad-c-eyebrow--sm { font-size: .72rem; margin-bottom: 16px; }
.ad-c-eyebrow__line {
    width: 40px;
    height: 1px;
    background: currentColor;
    transform-origin: left center;
}

/* ── Headings ──────────────────────────────────────────────────────────── */
.ad-c-h2 {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -.015em;
    font-weight: 500;
    color: var(--ad-ink);
}
.ad-c-h2--light { color: var(--ad-white); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.ad-c-btn {
    --fill: var(--ad-white);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65em;
    padding: 1em 1.7em;
    border: 1px solid transparent;
    border-radius: var(--ad-btn-radius);
    font: inherit;
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: color .45s var(--ad-ease), border-color .45s var(--ad-ease), transform .45s var(--ad-ease);
}
.ad-c-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--fill);
    border-radius: inherit;
    transform: translateY(101%);
    transition: transform .55s var(--ad-ease);
}
.ad-c-btn:hover::before,
.ad-c-btn:focus-visible::before { transform: translateY(0); }
.ad-c-btn:focus-visible { outline: 2px solid var(--ad-gold); outline-offset: 3px; }
.ad-c-btn:active { transform: scale(.98); }

.ad-c-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ad-c-btn__icon { transition: transform .45s var(--ad-ease); }
.ad-c-btn:hover .ad-c-btn__icon { transform: translateX(4px); }

.ad-c-btn--gold { background: var(--ad-gold); color: var(--ad-on-gold); --fill: var(--ad-white); }
.ad-c-btn--gold:hover, .ad-c-btn--gold:focus-visible { color: var(--ad-ink); }
.ad-c-btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--ad-white); --fill: var(--ad-white); }
.ad-c-btn--ghost:hover, .ad-c-btn--ghost:focus-visible { color: var(--ad-ink); border-color: var(--ad-white); }
.ad-c-btn--ink { background: var(--ad-ink); color: var(--ad-white); --fill: var(--ad-gold); }
.ad-c-btn--ink:hover, .ad-c-btn--ink:focus-visible { color: var(--ad-on-gold); }
.ad-c-btn--outline { border-color: var(--ad-line); color: var(--ad-ink); background: var(--ad-white); --fill: var(--ad-ink); }
.ad-c-btn--outline:hover, .ad-c-btn--outline:focus-visible { color: var(--ad-white); border-color: var(--ad-ink); }
.ad-c-btn--lg { padding: 1.15em 2.2em; font-size: 1rem; }

/* ==========================================================================
   HERO
   ========================================================================== */
.ad-c-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--ad-ink);
    color: var(--ad-white);
    padding: clamp(140px, 17vw, 210px) 0 clamp(110px, 13vw, 170px);
}
.ad-c-hero__bg { /* the photo (falls back to the brand gradient) */
    position: absolute;
    inset: -8% -4%;
    z-index: -3;
    background:
        var(--ad-hero-image) center 45% / cover no-repeat,
        linear-gradient(160deg, var(--ad-ink) 0%, var(--ad-ink-2) 55%, var(--ad-ink-3) 100%);
    transform: translate3d(0, var(--ad-par-bg, 0px), 0);
    animation: adDrift 26s ease-in-out infinite alternate;
}
.ad-c-hero::before { /* brand overlay on the photo keeps the text readable */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(55% 60% at 82% 18%, rgba(var(--ad-gold-rgb), .26), transparent 62%),
        linear-gradient(0deg, rgba(var(--ad-ink-rgb), .96) 0%, rgba(var(--ad-ink-rgb), 0) 42%),
        linear-gradient(90deg, rgba(var(--ad-ink-rgb), .94) 0%, rgba(var(--ad-ink-rgb), .78) 48%, rgba(var(--ad-ink-rgb), .40) 100%);
}
.ad-c-hero__grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 84px 84px;
    -webkit-mask-image: radial-gradient(70% 65% at 72% 30%, #000 0%, transparent 78%);
            mask-image: radial-gradient(70% 65% at 72% 30%, #000 0%, transparent 78%);
}
.ad-c-skyline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: -1;
    width: 100%;
    height: clamp(120px, 18vw, 230px);
    transform: translate3d(0, var(--ad-par-sky, 0px), 0);
}
.ad-c-skyline path {
    fill: rgba(255, 255, 255, .025);
    stroke: var(--ad-gold-2);
    stroke-opacity: .25;
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
}

.ad-c-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: end;
}

.ad-c-crumbs {
    display: flex;
    gap: 10px;
    font-size: .82rem;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 34px;
}
.ad-c-crumbs a { text-decoration: none; transition: color .3s; }
.ad-c-crumbs a:hover { color: var(--ad-gold-2); }
.ad-c-crumbs [aria-current] { color: rgba(255, 255, 255, .85); }

.ad-c-hero__title {
    font-size: clamp(2.3rem, 5.4vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -.025em;
    font-weight: 500;
    color: var(--ad-white);
    margin-bottom: 30px;
}
.ad-c-hero__title em { color: var(--ad-gold-2); }
.ad-c-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ad-c-line > span { display: inline-block; }

.ad-c-hero__lead {
    max-width: 600px;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, .82);
    margin-bottom: 14px;
}
.ad-c-hero__sub {
    max-width: 560px;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .6);
}
.ad-c-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* Get in Touch glass card */
.ad-c-touch {
    position: relative;
    padding: clamp(26px, 3vw, 38px);
    border-radius: var(--ad-radius);
    background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.ad-c-touch__name { font-size: 1.6rem; font-weight: 500; color: var(--ad-white); line-height: 1.2; }
.ad-c-touch__place {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: rgba(255, 255, 255, .7);
    font-size: .95rem;
}
.ad-c-touch__place svg { width: 18px; height: 18px; fill: none; stroke: var(--ad-gold-2); stroke-width: 1.6; }
.ad-c-touch__block { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.ad-c-touch__label {
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 12px;
}
.ad-c-touch__phones { list-style: none; padding: 0; display: grid; gap: 12px; }
.ad-c-touch__phones li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ad-c-touch__num {
    font-size: 1.15rem;
    letter-spacing: .02em;
    text-decoration: none;
    color: var(--ad-white);
    white-space: nowrap;
    transition: color .3s;
}
.ad-c-touch__num:hover { color: var(--ad-gold-2); }
.ad-c-touch__acts { display: flex; gap: 8px; }
.ad-c-icon-btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--ad-white);
    transition: background .35s var(--ad-ease), border-color .35s, color .35s, transform .35s var(--ad-ease);
}
.ad-c-icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ad-c-icon-btn:hover,
.ad-c-icon-btn:focus-visible { background: var(--ad-gold); border-color: var(--ad-gold); color: var(--ad-on-gold); transform: translateY(-2px); }
.ad-c-touch__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ad-gold-2);
    text-decoration: none;
    font-weight: 500;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    padding-bottom: 3px;
    transition: background-size .5s var(--ad-ease);
}
.ad-c-touch__link:hover { background-size: 100% 1px; }
.ad-c-touch__link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ad-ease); }
.ad-c-touch__link:hover svg { transform: translate(2px, -2px); }

/* ==========================================================================
   WHY ADDAM
   ========================================================================== */
.ad-c-why__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 80px);
    align-items: end;
    margin-bottom: clamp(40px, 6vw, 72px);
}
.ad-c-why__text {
    font-size: clamp(1.02rem, 1.3vw, 1.15rem);
    line-height: 1.75;
    color: var(--ad-muted);
    max-width: 560px;
}

.ad-c-pillars {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.ad-c-pillar {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    padding: 30px 28px 34px;
    background: var(--ad-white);
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-radius);
    transition: transform .6s var(--ad-ease), box-shadow .6s var(--ad-ease), border-color .6s;
}
.ad-c-pillar::before { /* pointer spotlight */
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--ad-gold-rgb), .12), transparent 70%);
    opacity: 0;
    transition: opacity .5s;
    pointer-events: none;
}
.ad-c-pillar::after { /* gold top bar */
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: var(--ad-gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .8s var(--ad-ease);
}
.ad-c-pillar:hover { transform: translateY(-6px); box-shadow: var(--ad-shadow); border-color: transparent; }
.ad-c-pillar:hover::before { opacity: 1; }
.ad-c-pillar:hover::after { transform: scaleX(1); }
.ad-c-pillar__top { display: flex; align-items: flex-start; justify-content: space-between; }
.ad-c-pillar__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--ad-stone);
    color: var(--ad-ink);
    transition: background .5s var(--ad-ease), color .5s;
}
.ad-c-pillar__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ad-c-pillar:hover .ad-c-pillar__icon { background: var(--ad-ink); color: var(--ad-gold-2); }
.ad-c-pillar__num { font-size: .8rem; letter-spacing: .2em; color: var(--ad-gold); font-weight: 500; }
.ad-c-pillar__title {
    position: relative;
    margin-top: 48px;
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 500;
    color: var(--ad-ink);
}

/* ==========================================================================
   ENQUIRY
   ========================================================================== */
.ad-c-enquiry { background: var(--ad-stone); }
.ad-c-enquiry__inner {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
.ad-c-enquiry__intro { position: sticky; top: 120px; }
.ad-c-enquiry__lead {
    margin-top: 26px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--ad-ink);
}
.ad-c-enquiry__text { margin-top: 10px; font-size: 1.02rem; line-height: 1.75; color: var(--ad-muted); }
.ad-c-quick { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--ad-line); }
.ad-c-quick__label { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ad-muted); margin-bottom: 14px; }
.ad-c-quick__row { display: flex; flex-wrap: wrap; gap: 12px; }
.ad-c-quick__row .ad-c-btn { padding-inline: 1.3em; }

.ad-c-form-card {
    position: relative;
    background: var(--ad-white);
    border: 1px solid var(--ad-line);
    border-radius: calc(var(--ad-radius) + 6px);
    padding: clamp(24px, 4vw, 52px);
    box-shadow: var(--ad-shadow);
}
.ad-c-form__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
}
.ad-c-form__title { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.25; font-weight: 500; color: var(--ad-ink); }
.ad-c-form__req { font-size: .8rem; color: var(--ad-muted); white-space: nowrap; }
.ad-c-form__req span, .ad-c-req { color: var(--ad-gold); }

.ad-c-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Pills */
.ad-c-group { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.ad-c-group--inline { margin: 26px 0 0; }
.ad-c-group__label {
    padding: 0;
    margin-bottom: 12px;
    font-size: .74rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ad-muted);
}
.ad-c-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ad-c-pill { position: relative; }
.ad-c-pill input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.ad-c-pill span {
    display: inline-flex;
    align-items: center;
    padding: .72em 1.25em;
    border: 1px solid var(--ad-line);
    border-radius: 999px;
    background: var(--ad-white);
    font-size: .92rem;
    color: var(--ad-text);
    cursor: pointer;
    transition: background .35s var(--ad-ease), color .35s, border-color .35s, transform .35s var(--ad-ease);
}
.ad-c-pill:hover span { border-color: var(--ad-gold); }
.ad-c-pill input:checked + span { background: var(--ad-ink); border-color: var(--ad-ink); color: var(--ad-white); }
.ad-c-pill input:active + span { transform: scale(.96); }
.ad-c-pill input:focus-visible + span { outline: 2px solid var(--ad-gold); outline-offset: 2px; }

/* Floating-label fields */
.ad-c-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.ad-c-field { position: relative; }
.ad-c-field--full { grid-column: 1 / -1; }
.ad-c-field input,
.ad-c-field select,
.ad-c-field textarea {
    display: block;
    width: 100%;
    min-height: 62px;
    padding: 27px 18px 9px;
    font: inherit;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--ad-text);
    background: var(--ad-ivory);
    border: 1px solid transparent;
    border-radius: var(--ad-radius-sm);
    outline: none;
    -webkit-appearance: none;
            appearance: none;
    transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.ad-c-field textarea { min-height: 150px; resize: vertical; padding-top: 30px; }
.ad-c-field select { padding-right: 44px; cursor: pointer; }
.ad-c-field label {
    position: absolute;
    left: 19px;
    top: 20px;
    font-size: 1rem;
    color: var(--ad-muted);
    pointer-events: none;
    transform-origin: left top;
    transition: transform .35s var(--ad-ease), color .3s;
    white-space: nowrap;
}
.ad-c-field input:hover,
.ad-c-field select:hover,
.ad-c-field textarea:hover { border-color: var(--ad-line); }
.ad-c-field input:focus,
.ad-c-field select:focus,
.ad-c-field textarea:focus {
    background: var(--ad-white);
    border-color: var(--ad-gold);
    box-shadow: 0 0 0 4px rgba(var(--ad-gold-rgb), .14);
}
.ad-c-field input:focus + label,
.ad-c-field input:not(:placeholder-shown) + label,
.ad-c-field textarea:focus + label,
.ad-c-field textarea:not(:placeholder-shown) + label,
.ad-c-field--select label { transform: translateY(-11px) scale(.76); }
.ad-c-field input:focus + label,
.ad-c-field textarea:focus + label,
.ad-c-field select:focus + label { color: var(--ad-gold); }
.ad-c-caret {
    position: absolute;
    right: 16px;
    top: 21px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--ad-muted);
    stroke-width: 1.6;
    pointer-events: none;
    transition: transform .35s var(--ad-ease);
}
.ad-c-field select:focus ~ .ad-c-caret { transform: rotate(180deg); stroke: var(--ad-gold); }
.ad-c-hint { margin-top: 7px; font-size: .8rem; color: var(--ad-muted); }

/* Errors */
.ad-c-error { margin-top: 7px; font-size: .82rem; color: var(--ad-danger); animation: adShake .4s var(--ad-ease); }
.ad-c-field.has-error input,
.ad-c-field.has-error select,
.ad-c-field.has-error textarea { border-color: var(--ad-danger); background: #FDF6F6; }
.ad-c-field.has-error label { color: var(--ad-danger); }
.ad-c-form-error {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: var(--ad-radius-sm);
    background: #FDF1F1;
    color: var(--ad-danger);
    font-size: .92rem;
}

/* Submit */
.ad-c-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 32px; }
.ad-c-note { flex: 1 1 220px; font-size: .82rem; line-height: 1.6; color: var(--ad-muted); }
.ad-c-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    opacity: 0;
}
.ad-c-btn.is-loading { pointer-events: none; }
.ad-c-btn.is-loading .ad-c-btn__text,
.ad-c-btn.is-loading .ad-c-btn__icon { opacity: 0; }
.ad-c-btn.is-loading .ad-c-spinner { opacity: 1; animation: adSpin .8s linear infinite; }

/* Success */
.ad-c-success { text-align: center; padding: clamp(20px, 5vw, 60px) 0; }
.ad-c-success[hidden], .ad-c-form[hidden] { display: none; }
.ad-c-success__check { width: 76px; height: 76px; margin: 0 auto 26px; fill: none; stroke: var(--ad-gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ad-c-success__check circle,
.ad-c-success__check path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: adDraw 1s var(--ad-ease) forwards; }
.ad-c-success__check path { animation-delay: .45s; }
.ad-c-success__title { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; color: var(--ad-ink); }
.ad-c-success__msg { max-width: 440px; margin: 12px auto 30px; line-height: 1.7; color: var(--ad-muted); }

/* ==========================================================================
   REACH US
   ========================================================================== */
.ad-c-visit { background: var(--ad-white); color: var(--ad-text); overflow: hidden; }
.ad-c-visit .ad-c-eyebrow { color: var(--ad-gold); }
.ad-c-visit .ad-c-h2 { color: var(--ad-ink); }
.ad-c-visit .ad-c-btn--ghost { border-color: var(--ad-line); color: var(--ad-ink); --fill: var(--ad-ink); }
.ad-c-visit .ad-c-btn--ghost:hover,
.ad-c-visit .ad-c-btn--ghost:focus-visible { color: var(--ad-white); border-color: var(--ad-ink); }
.ad-c-visit__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
.ad-c-visit__tag { margin-top: 14px; font-size: 1.15rem; color: var(--ad-gold); }
.ad-c-visit__place { margin-top: 6px; color: var(--ad-muted); }
.ad-c-visit__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.ad-c-map {
    position: relative;
    display: block;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: var(--ad-radius);
    background: var(--ad-stone);
    border: 1px solid var(--ad-line);
    text-decoration: none;
    box-shadow: var(--ad-shadow);
}
.ad-c-map__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.04);
    transition: transform 1.4s var(--ad-ease);
}
.ad-c-map:hover .ad-c-map__art { transform: scale(1.1); }
.ad-c-map__water { fill: rgba(var(--ad-gold-rgb), .10); }
.ad-c-map__roads path { fill: none; stroke: rgba(var(--ad-ink-rgb), .14); stroke-width: 2; }
.ad-c-map__minor path { fill: none; stroke: rgba(var(--ad-ink-rgb), .06); stroke-width: 1; }
.ad-c-pin {
    position: absolute;
    left: 46%;
    top: 42%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border-radius: 50%;
    background: var(--ad-gold);
    box-shadow: 0 0 0 6px rgba(var(--ad-gold-rgb), .25);
}
.ad-c-pin::before,
.ad-c-pin span {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--ad-gold);
    animation: adPulse 2.6s var(--ad-ease) infinite;
}
.ad-c-pin span { animation-delay: 1.3s; }
.ad-c-map__label {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--ad-radius-sm);
    background: rgba(255, 255, 255, .86);
    border: 1px solid var(--ad-line);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    color: var(--ad-ink);
    box-shadow: 0 16px 40px -24px rgba(var(--ad-ink-rgb), .45);
}
.ad-c-map__label strong { font-weight: 500; }
.ad-c-map__label span { color: var(--ad-gold); font-size: .9rem; white-space: nowrap; transition: transform .4s var(--ad-ease); }
.ad-c-map:hover .ad-c-map__label span { transform: translateX(-4px); }

/* ==========================================================================
   MOTION  (only when contact.js is running — without JS everything shows)
   ========================================================================== */
.ad-contact.js-motion [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition: opacity 1s var(--ad-ease) var(--d, 0ms), transform 1.1s var(--ad-ease) var(--d, 0ms);
}
.ad-contact.js-motion [data-reveal].is-in { opacity: 1; transform: none; }

.ad-contact.js-motion .ad-c-eyebrow__line { transform: scaleX(0); transition: transform 1.1s var(--ad-ease) calc(var(--d, 0ms) + 250ms); }
.ad-contact.js-motion .is-in .ad-c-eyebrow__line,
.ad-contact.js-motion .is-in.ad-c-eyebrow .ad-c-eyebrow__line { transform: scaleX(1); }

.ad-contact.js-motion .ad-c-line > span { transform: translate3d(0, 108%, 0); }
.ad-contact.js-motion.is-ready .ad-c-line > span {
    transform: none;
    transition: transform 1.2s var(--ad-ease) calc(var(--i, 0) * 130ms + 200ms);
}

.ad-contact.js-motion .ad-c-skyline path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ad-contact.js-motion.is-ready .ad-c-skyline path { stroke-dashoffset: 0; transition: stroke-dashoffset 3.2s cubic-bezier(.65, 0, .35, 1) .5s; }

@keyframes adDrift { from { transform: translate3d(-2%, var(--ad-par-bg, 0px), 0) scale(1); } to { transform: translate3d(2%, var(--ad-par-bg, 0px), 0) scale(1.06); } }
@keyframes adPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes adSpin { to { transform: rotate(360deg); } }
@keyframes adDraw { to { stroke-dashoffset: 0; } }
@keyframes adShake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

@media (prefers-reduced-motion: reduce) {
    .ad-contact *,
    .ad-contact *::before,
    .ad-contact *::after { animation: none !important; transition: none !important; }
    .ad-contact.js-motion [data-reveal],
    .ad-contact.js-motion .ad-c-line > span,
    .ad-contact.js-motion .ad-c-eyebrow__line { opacity: 1; transform: none; }
    .ad-contact.js-motion .ad-c-skyline path,
    .ad-c-success__check circle,
    .ad-c-success__check path { stroke-dashoffset: 0; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
    .ad-c-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .ad-c-hero::before {
        background:
            radial-gradient(70% 45% at 85% 10%, rgba(var(--ad-gold-rgb), .24), transparent 65%),
            linear-gradient(180deg, rgba(var(--ad-ink-rgb), .80) 0%, rgba(var(--ad-ink-rgb), .88) 60%, rgba(var(--ad-ink-rgb), .97) 100%);
    }
    .ad-c-hero__inner,
    .ad-c-why__head,
    .ad-c-enquiry__inner,
    .ad-c-visit__inner { grid-template-columns: minmax(0, 1fr); }
    .ad-c-hero__inner { align-items: start; }
    .ad-c-enquiry__intro { position: static; }
    .ad-c-touch { max-width: 560px; }
}
@media (max-width: 600px) {
    .ad-c-grid { grid-template-columns: minmax(0, 1fr); }
    .ad-c-pillars { grid-template-columns: minmax(0, 1fr); }
    .ad-c-pillar { min-height: 0; }
    .ad-c-pillar__title { margin-top: 28px; }
    .ad-c-form__head { flex-direction: column; gap: 6px; }
    .ad-c-hero__actions .ad-c-btn,
    .ad-c-visit__actions .ad-c-btn,
    .ad-c-submit .ad-c-btn { flex: 1 1 100%; }
    .ad-c-touch__num { font-size: 1.05rem; }
    .ad-c-map { aspect-ratio: 4 / 3.4; }
    .ad-c-map__label { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   OPTIONAL — force your site's display font on this page's headings.
   Uncomment and put your heading font name in.
   ========================================================================== */
/*
.ad-contact .ad-c-hero__title,
.ad-contact .ad-c-h2,
.ad-contact .ad-c-touch__name,
.ad-contact .ad-c-pillar__title,
.ad-contact .ad-c-form__title,
.ad-contact .ad-c-success__title { font-family: "Your Display Font", serif; }
*/

/* Use addam.ae's own heading font */
.ad-contact :is(.ad-c-hero__title, .ad-c-h2, .ad-c-touch__name, .ad-c-pillar__title, .ad-c-form__title, .ad-c-success__title) { font-family: var(--f-display); }
