/* ==========================================================================
   Castle Design & Modular Studio — core stylesheet
   Palette taken from the logo: navy ink, brass gold, bone.
   Layout/breakpoint overrides live in responsive.css.
   ========================================================================== */

:root {
    --ink: #0F1F3D;
    --ink-2: #0A1529;
    --ink-3: #16294C;
    --gold: #B98A3C;
    --gold-lt: #D9B978;
    --bone: #F7F4EF;
    --sand: #EFE8DD;
    --white: #FFFFFF;
    --muted: #6E7686;
    --line: rgba(15, 31, 61, .12);
    --line-lt: rgba(255, 255, 255, .16);

    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans: "Jost", -apple-system, "Segoe UI", Roboto, sans-serif;

    --gut: 24px;
    --max: 1280px;
    --hdr: 88px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --shadow: 0 24px 60px -30px rgba(15, 31, 61, .35);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bone);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16.5px;
    font-weight: 300;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.is-locked {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection {
    background: var(--gold);
    color: #fff;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gut);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--ink);
    color: #fff;
    padding: 12px 20px;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

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

.ico {
    width: 1.1em;
    height: 1.1em;
    flex: none;
}

/* ---------- Type ---------------------------------------------------------- */
h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.012em;
    margin: 0;
}

h1 {
    font-size: clamp(2.9rem, 6vw, 5.1rem);
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.2;
}

p {
    margin: 0 0 1.1em;
}

em {
    font-style: italic;
    color: var(--gold);
}

.eyebrow {
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
    opacity: .8;
}

.eyebrow--center {
    justify-content: center;
}

.eyebrow--light {
    color: var(--gold-lt);
}

.lead {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 62ch;
}

/* ---------- Sections ------------------------------------------------------ */
.sec {
    padding: 120px 0;
    position: relative;
    /* A Bootstrap .row pulls itself out by half its gutter, expecting the
       container's padding to absorb it. Our gutters (up to 88px) are wider than
       --gut, so the row's box — not its content, which the column padding puts
       back in the right place — spills past the viewport and raises a scrollbar.
       `clip` swallows that overhang without creating a scroll container the way
       `hidden` would. */
    overflow-x: clip;
}

.sec--tight {
    padding: 88px 0;
}

.sec--bone {
    background: var(--bone);
}

.sec--sand {
    background: var(--sand);
}

.sec--white {
    background: var(--white);
}

.sec--ink {
    background: var(--ink);
    color: #fff;
}

.sec--ink .lead,
.sec--ink p {
    color: rgba(255, 255, 255, .74);
}

.sec-head {
    max-width: 720px;
    margin-bottom: 64px;
}

.sec-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sec-head--split {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
}

.sec-head p {
    margin-top: 22px;
}

/* ---------- Buttons ------------------------------------------------------- */
.btn {
    --btn-bg: var(--ink);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 34px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    border: 1px solid var(--btn-bg);
    border-radius: 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color .4s var(--ease), border-color .4s var(--ease);
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateY(101%);
    transition: transform .45s var(--ease);
    z-index: -1;
}

.btn:hover::after {
    transform: translateY(0);
}

.btn:hover {
    color: #fff;
    border-color: var(--gold);
}

.btn--gold {
    --btn-bg: var(--gold);
    --btn-fg: #fff;
}

.btn--gold::after {
    background: var(--ink);
}

.btn--gold:hover {
    border-color: var(--ink);
}

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    border-color: var(--line);
}

.btn--ghost:hover {
    color: #fff;
}

.btn--ghost-light {
    --btn-bg: transparent;
    --btn-fg: #fff;
    border-color: var(--line-lt);
}

.btn--sm {
    padding: 13px 24px;
    font-size: .68rem;
}

.btn--block {
    width: 100%;
}

/* Text link with an arrow */
.tlink {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line);
    transition: color .3s, border-color .3s;
}

.tlink .ico {
    transition: transform .35s var(--ease);
}

.tlink:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.tlink:hover .ico {
    transform: translateX(5px);
}

.tlink--light {
    color: #fff;
    border-color: var(--line-lt);
}

/* ---------- Header -------------------------------------------------------- */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    height: var(--hdr);
    display: flex;
    align-items: center;
    background: transparent;
    transition: background .4s var(--ease), height .4s var(--ease), box-shadow .4s var(--ease);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    width: 100%;
    height: 100%;
    /* Full height so the nav items reach the header's bottom edge and the mega
       panel is directly adjacent to its trigger (no dead gap to hover across). */
}

.brand {
    margin-right: auto;
    display: grid;
}

.brand__logo {
    grid-area: 1 / 1;
    width: auto;
    height: 70px;
    transition: height .4s var(--ease), opacity .35s var(--ease);
}

/* Only one of the two marks is visible at a time. */
.brand__logo--light {
    opacity: 0;
}

.is-home .header:not(.is-stuck) .brand__logo--light {
    opacity: 1;
}

.is-home .header:not(.is-stuck) .brand__logo--dark {
    opacity: 0;
}

/* Home hero is dark → header starts transparent with white text. */
.is-home .header:not(.is-stuck) .nav__link,
.is-home .header:not(.is-stuck) .header__tel {
    color: #fff;
}

.is-home .header:not(.is-stuck) .nav-toggle span {
    background: #fff;
}

.header.is-stuck {
    height: 74px;
    background: rgba(247, 244, 239, .92);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--line);
}

.header.is-stuck .brand__logo {
    height: 65px;
}

.is-inner .brand__logo {
    height: 48px;
}

.is-inner .header {
    background: rgba(247, 244, 239, .96);
    box-shadow: 0 1px 0 var(--line);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav__link {
    position: relative;
    font-size: .76rem;
    font-weight: 400;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 6px 0;
    color: var(--ink);
    transition: color .3s;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--ease);
}

.nav__link:hover::after,
.nav__link.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav__link.is-active {
    color: var(--gold);
}

/* ---------- Services mega menu (desktop) ---------------------------------- */
/* The panel spans the full header width, so the nav item must NOT be the
   positioning context — .header (position:fixed) is. */
.nav__item.has-drop {
    position: static;
}

/* The nav item must fill the header's full height, otherwise the pointer
   leaves it in the gap between the link text and the top of the panel. */
.nav,
.nav__list {
    align-self: stretch;
}

.nav__list {
    height: 100%;
}

.nav__item {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.nav__caret {
    width: 5px;
    height: 5px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform .35s var(--ease);
    opacity: .7;
}

.has-drop:hover .nav__caret {
    transform: rotate(225deg) translateY(-2px);
}

.mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 30px 60px -35px rgba(15, 31, 61, .45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    /* Closing is delayed so a quick diagonal flick towards the panel
       (or over a neighbouring nav link) doesn't dismiss it. */
    transition: opacity .3s var(--ease) .25s, transform .35s var(--ease) .25s, visibility .3s .25s;
}

.nav__item.has-drop:hover .mega,
.nav__item.has-drop:focus-within .mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: .05s;
}

/* While the mega panel is open the header must not stay transparent over the
   hero — the white panel would hang off a see-through bar. */
.is-home .header:has(.nav__item.has-drop:hover) {
    background: rgba(247, 244, 239, .96);
    backdrop-filter: blur(14px);
}

.is-home .header:has(.nav__item.has-drop:hover) .nav__link,
.is-home .header:has(.nav__item.has-drop:hover) .header__tel {
    color: var(--ink);
}

.is-home .header:has(.nav__item.has-drop:hover) .nav__link.is-active {
    color: var(--gold);
}

.is-home .header:has(.nav__item.has-drop:hover) .brand__logo--light {
    opacity: 0;
}

.is-home .header:has(.nav__item.has-drop:hover) .brand__logo--dark {
    opacity: 1;
}

.mega__inner {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 48px;
    padding: 44px var(--gut);
    align-items: stretch;
}

/* --- Tab rail --- */
.mega__tabs {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-right: 1px solid var(--line);
    padding-right: 28px;
}

.mega__tabs .eyebrow {
    margin-bottom: 16px;
}

.mega__tab {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 13px 14px;
    background: none;
    border: 0;
    text-align: left;
    color: var(--ink);
    transition: background .28s, color .28s;
}

.mega__tab-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    color: var(--gold);
    border: 1px solid var(--line);
    transition: background .28s, border-color .28s, color .28s;
}

.mega__tab-icon .ico {
    width: 17px;
    height: 17px;
}

.mega__tab-label {
    flex: 1;
    font-family: var(--serif);
    font-size: 1.18rem;
    line-height: 1.25;
}

.mega__tab-arrow {
    display: grid;
    place-items: center;
    opacity: 0;
    color: var(--gold);
    transform: translateX(-6px);
    transition: opacity .28s, transform .28s var(--ease);
}

.mega__tab-arrow .ico {
    width: 16px;
    height: 16px;
}

.mega__tab:hover,
.mega__tab.is-active {
    background: var(--bone);
}

.mega__tab.is-active .mega__tab-icon {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.mega__tab.is-active .mega__tab-arrow {
    opacity: 1;
    transform: translateX(0);
}

.mega__all {
    margin-top: 20px;
    align-self: flex-start;
}

/* --- Panels --- */
.mega__panel {
    display: none;
}

.mega__panel.is-active {
    display: block;
    animation: megaIn .35s var(--ease) both;
}

@keyframes megaIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.mega__panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.mega__panel-head h3 {
    font-size: 1.7rem;
}

.mega__items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
}

.mega__items a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: .92rem;
    color: var(--muted);
    transition: color .25s, padding-left .25s;
}

.mega__items .ico {
    width: 15px;
    height: 15px;
    color: var(--gold);
    flex: none;
}

.mega__items a:hover {
    color: var(--ink);
    padding-left: 5px;
}

.mega__promo {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--ink);
}

.mega__promo img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 1s var(--ease), opacity .4s;
}

.mega__promo:hover img {
    transform: scale(1.05);
    opacity: .78;
}

.mega__promo-body {
    position: absolute;
    inset: auto 0 0 0;
    padding: 60px 22px 22px;
    color: #fff;
    background: linear-gradient(to top, rgba(10, 21, 41, .95) 25%, rgba(10, 21, 41, .55) 65%, transparent);
}

.mega__promo-body small {
    display: block;
    font-size: .6rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-lt);
    margin-bottom: 4px;
}

.mega__promo-body strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 400;
}

.mega__promo-body em {
    font-style: normal;
    font-size: .78rem;
    color: rgba(255, 255, 255, .66);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.header__tel {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .82rem;
    letter-spacing: .04em;
    color: var(--ink);
    white-space: nowrap;
}

.header__tel:hover {
    color: var(--gold);
}

.header__tel .ico {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: 0;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    align-items: flex-end;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--ink);
    transition: width .3s, background .3s;
}

.nav-toggle span:last-child {
    width: 16px;
}

/* ---------- Mobile drawer ------------------------------------------------- */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 90;
    visibility: hidden;
    pointer-events: none;
}

.drawer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 21, 41, .55);
    opacity: 0;
    transition: opacity .45s var(--ease);
    backdrop-filter: blur(2px);
}

.drawer__panel {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(390px, 86vw);
    background: var(--ink);
    color: #fff;
    /* No horizontal padding here — it lives on .drawer__view, otherwise the
       off-screen view shows through the panel's right padding gutter. */
    padding: 88px 0 32px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .55s var(--ease);
    overflow-y: auto;
    overflow-x: hidden;
}

.drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.drawer.is-open::before {
    opacity: 1;
}

.drawer.is-open .drawer__panel {
    transform: translateX(0);
}

.drawer__close {
    position: absolute;
    top: 26px;
    right: 30px;
    background: none;
    border: 0;
    font-size: 2.2rem;
    line-height: 1;
    color: #fff;
    opacity: .8;
}

/* Two views side by side; opening Services slides the rail across. */
.drawer__views {
    display: flex;
    width: 200%;
    flex: 1;
    transform: translateX(0);
    transition: transform .45s var(--ease);
}

.drawer.is-sub .drawer__views {
    transform: translateX(-50%);
}

.drawer__view {
    width: 50%;
    flex: none;
    display: flex;
    flex-direction: column;
    padding: 0 30px;
}

.drawer__list {
    margin-bottom: auto;
}

.drawer__list li {
    position: relative;
    border-bottom: 1px solid var(--line-lt);
}

.drawer__list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 0;
    font-family: var(--serif);
    font-size: 1.45rem;
    transition: color .3s, padding-left .3s;
}

.drawer__list a:hover,
.drawer__list a.is-active {
    color: var(--gold-lt);
    padding-left: 6px;
}

.drawer__num {
    font-family: var(--sans);
    font-size: .58rem;
    letter-spacing: .2em;
    color: var(--gold);
    opacity: .8;
}

/* Chevron that slides across to the Services view. */
.drawer__next {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: none;
    border: 1px solid var(--line-lt);
    color: var(--gold-lt);
    transition: background .3s;
}

.drawer__next:hover {
    background: rgba(255, 255, 255, .07);
}

.drawer__next .ico {
    width: 15px;
    height: 15px;
}

/* Sub-view */
.drawer__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    margin-bottom: 20px;
    padding: 9px 14px 9px 10px;
    background: none;
    border: 1px solid var(--line-lt);
    color: rgba(255, 255, 255, .8);
    font-size: .66rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition: color .3s, border-color .3s;
}

.drawer__back .ico {
    width: 15px;
    height: 15px;
    transform: rotate(180deg);
    color: var(--gold-lt);
}

.drawer__back:hover {
    color: #fff;
    border-color: var(--gold);
}

.drawer__list--sub a {
    font-size: 1.15rem;
    padding: 13px 0;
}

.drawer__ico {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    color: var(--gold);
    border: 1px solid var(--line-lt);
}

.drawer__ico .ico {
    width: 16px;
    height: 16px;
}

.drawer__foot {
    padding-top: 34px;
    display: grid;
    gap: 16px;
}

.drawer__contact {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .9rem;
    color: rgba(255, 255, 255, .78);
}

.drawer__contact .ico {
    color: var(--gold);
}

/* ---------- Hero ---------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: var(--ink-2);
    color: #fff;
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s var(--ease);
}

.hero__slide.is-active {
    opacity: 1;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
}

.hero__slide.is-active img {
    animation: kenburns 9s linear forwards;
}

@keyframes kenburns {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1.14);
    }
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(10, 21, 41, .88) 0%, rgba(10, 21, 41, .62) 45%, rgba(10, 21, 41, .3) 100%),
        linear-gradient(to top, rgba(10, 21, 41, .8), transparent 45%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    /* Keep .container's side gutters — a `0` here would let the copy touch the
       screen edge on phones. */
    padding: calc(var(--hdr) + 40px) var(--gut) 32px;
    width: 100%;
}

.hero__body {
    max-width: 760px;
}

.hero h1 {
    margin-bottom: 26px;
}

.hero h1 em {
    display: block;
}

.hero__lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .78);
    max-width: 54ch;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero__meta {
    margin-top: 72px;
    border-top: 1px solid var(--line-lt);
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    gap: 56px;
}

.hero__stat b {
    display: block;
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--gold-lt);
    line-height: 1;
}

.hero__stat span {
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}

.hero__dots {
    display: flex;
    gap: 10px;
}

.hero__dots button {
    width: 32px;
    height: 2px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .28);
    transition: background .3s;
}

.hero__dots button.is-active {
    background: var(--gold);
}

.hero__scroll {
    position: absolute;
    right: var(--gut);
    bottom: 40px;
    z-index: 2;
    writing-mode: vertical-rl;
    font-size: .62rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero__scroll::after {
    content: "";
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollcue 2.2s ease-in-out infinite;
}

@keyframes scrollcue {

    0%,
    100% {
        transform: scaleY(.4);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
}

/* ---------- Page hero (inner pages) --------------------------------------- */
.phero {
    position: relative;
    background: var(--ink);
    color: #fff;
    padding: calc(var(--hdr) + 96px) 0 96px;
    overflow: hidden;
}

.phero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 78% 20%, rgba(185, 138, 60, .22), transparent 55%);
}

.phero__inner {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.phero h1 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    margin-bottom: 20px;
}

.phero p {
    color: rgba(255, 255, 255, .74);
    max-width: 60ch;
    margin: 0;
}

.crumbs {
    display: flex;
    gap: 10px;
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 22px;
}

.crumbs a:hover {
    color: var(--gold-lt);
}

.crumbs span[aria-current] {
    color: var(--gold-lt);
}

/* ---------- Intro / split ------------------------------------------------- */
/* ==========================================================================
   Layout classes below sit on a Bootstrap `.row`. Bootstrap owns the columns;
   these only carry the studio's gutters, alignment and divider lines.
   Column widths live in the markup as .col-* classes.
   ========================================================================== */

.split {
    --bs-gutter-x: 88px;
    --bs-gutter-y: 56px;
    align-items: center;
}

/* Centring is right for an image + text pair, wrong when both columns are copy —
   the shorter one drifts down the page. Top-align those instead. */
.split--top {
    align-items: start;
}

.figure {
    position: relative;
}

.figure__a {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.figure__b {
    position: absolute;
    right: -40px;
    bottom: -48px;
    width: 46%;
    aspect-ratio: 1/1;
    border: 8px solid var(--bone);
    object-fit: cover;
    box-shadow: var(--shadow);
}

.figure__badge {
    position: absolute;
    left: -28px;
    top: 40px;
    background: var(--gold);
    color: #fff;
    padding: 22px 26px;
    text-align: center;
    z-index: 2;
}

.figure__badge b {
    display: block;
    font-family: var(--serif);
    font-size: 2.4rem;
    line-height: 1;
}

.figure__badge span {
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.sig {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--ink);
    border-left: 2px solid var(--gold);
    padding-left: 22px;
    margin: 32px 0;
}

/* ---------- Stat band ----------------------------------------------------- */
/* .row — the cells carry their own 1px rules, so no gutter. */
.stats {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.stats__item {
    padding: 54px 32px;
    border-right: 1px solid var(--line-lt);
    height: 100%;
    text-align: center;
}

.stats__item:last-child {
    border-right: 0;
}

.stats__num {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    font-weight: 500;
    color: var(--gold-lt);
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}

.stats__label {
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .68);
}

/* ---------- Brand slider -------------------------------------------------- */
/* Two identical tracks sit side by side and both slide left by exactly their own
   width. The moment the first has fully left, the second is standing where it
   started — so the reset is invisible and the loop needs no JavaScript. */
.brands__viewport {
    display: flex;
    width: 100%;
    overflow: hidden;
    margin-top: 46px;
    /* Fade the logos into the section rather than cutting them at the edge. */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.brands__track {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: clamp(38px, 5vw, 74px);
    padding-right: clamp(38px, 5vw, 74px);
    animation: brands-scroll 46s linear infinite;
}

.brands__viewport:hover .brands__track {
    animation-play-state: paused;
}

.brands__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 76px;
}

.brands__item img {
    max-height: 52px;
    /* Wordmarks like Royale Touché are ~9x wider than they are tall; without a
       width cap they dwarf stacked marks like Greenlam in the same strip. */
    max-width: 164px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .55;
    transition: filter .4s var(--ease), opacity .4s var(--ease);
}

/* Only the logo under the cursor lights up — the rest of the strip stays quiet. */
.brands__item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Shown until a logo file lands in assets/img/brands/. */
.brands__word {
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 500;
    letter-spacing: .01em;
    line-height: 1;
    white-space: nowrap;
    color: var(--ink);
    opacity: .42;
    transition: opacity .4s var(--ease), color .4s var(--ease);
}

.brands__item:hover .brands__word {
    opacity: 1;
    color: var(--gold);
}

@keyframes brands-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@media (prefers-reduced-motion: reduce) {

    /* No crawl — the strip becomes a plain scrollable row instead. */
    .brands__viewport {
        overflow-x: auto;
    }

    .brands__track {
        animation: none;
    }

    .brands__track[aria-hidden="true"] {
        display: none;
    }
}

/* ---------- Service cards ------------------------------------------------- */
/* .row — the 2px gutter is the divider: Bootstrap puts the gutter on the column
   as padding, so this row's background shows through between the cards. */
.svc-grid {
    --bs-gutter-x: 2px;
    --bs-gutter-y: 2px;
    background: var(--line);
}

.svc {
    position: relative;
    background: var(--bone);
    padding: 54px 46px 46px;
    height: 100%;
    overflow: hidden;
    transition: color .5s var(--ease);
}

.svc__bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .6s var(--ease), transform 1.2s var(--ease);
    transform: scale(1.08);
}

.svc__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.svc__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 21, 41, .86);
}

.svc:hover {
    color: #fff;
}

.svc:hover .svc__bg {
    opacity: 1;
    transform: scale(1);
}

.svc>*:not(.svc__bg) {
    position: relative;
    z-index: 2;
}

.svc__num {
    font-size: .7rem;
    letter-spacing: .22em;
    color: var(--gold);
    display: block;
    margin-bottom: 26px;
}

.svc__icon {
    width: 34px;
    height: 34px;
    color: var(--gold);
    margin-bottom: 22px;
}

.svc h3 {
    margin-bottom: 14px;
}

.svc__lead {
    color: var(--muted);
    transition: color .5s;
    margin-bottom: 24px;
}

.svc:hover .svc__lead {
    color: rgba(255, 255, 255, .72);
}

.svc__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.svc__tags li {
    font-size: .68rem;
    letter-spacing: .06em;
    padding: 6px 12px;
    border: 1px solid var(--line);
    color: var(--muted);
    transition: border-color .5s, color .5s;
}

.svc:hover .svc__tags li {
    border-color: var(--line-lt);
    color: rgba(255, 255, 255, .78);
}

.svc .tlink {
    color: inherit;
}

.svc:hover .tlink {
    border-color: var(--line-lt);
}

/* Service detail rows (services page) */
/* .row — media column is .col-lg-5, copy column .col-lg-7 (see the markup).
   .srow--flip flips them by ordering the media second; the flex `order` still
   applies because a Bootstrap row is a flex container. */
.srow {
    --bs-gutter-x: 80px;
    --bs-gutter-y: 40px;
    align-items: center;
    padding: 104px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 110px;
}

.srow:last-child {
    border-bottom: 0;
}

.srow--flip .srow__media {
    order: 2;
}

.srow__media img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

/* <ul class="srow__list row"> with <li class="col-sm-6"> */
.srow__list {
    --bs-gutter-x: 28px;
    --bs-gutter-y: 0;
    margin-top: 30px;
}

.srow__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
}

.srow__list .ico {
    color: var(--gold);
    width: 16px;
    margin-top: 7px;
}

/* On /services each item is a link through to its own detail page. */
.srow__list a {
    transition: color .3s var(--ease);
}

.srow__list a:hover {
    color: var(--gold);
}

/* ---------- Process ------------------------------------------------------- */
/* .row — 1px gutter acts as the hairline between steps (see .svc-grid). */
.proc {
    --bs-gutter-x: 1px;
    --bs-gutter-y: 1px;
    background: var(--line-lt);
}

/* The column stretches to the row, but the card inside it does not — so the
   divider lines would break up. Fill the column. (Same for .svc, .pmeta__cell,
   .stats__item below.) */
.proc__step {
    background: var(--ink);
    padding: 42px 32px 46px;
    height: 100%;
    transition: background .45s var(--ease);
}

.proc__step:hover {
    background: var(--ink-3);
}

.proc__num {
    font-family: var(--serif);
    font-size: 3.2rem;
    line-height: 1;
    color: rgba(255, 255, 255, .12);
    display: block;
    margin-bottom: 18px;
    transition: color .45s;
}

.proc__step:hover .proc__num {
    color: var(--gold);
}

.proc__step h3 {
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 10px;
}

.proc__step p {
    font-size: .92rem;
    color: rgba(255, 255, 255, .6);
    margin: 0;
}

/* ---------- Reasons ------------------------------------------------------- */
/* <ul class="reasons row"> with <li class="col-md-6"> */
.reasons {
    --bs-gutter-x: 48px;
    --bs-gutter-y: 0;
}

.reasons li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
}

.reasons .ico {
    color: var(--gold);
    width: 18px;
}

.sec--ink .reasons li {
    border-color: var(--line-lt);
}

/* ---------- Project cards / gallery --------------------------------------- */
.pcard {
    position: relative;
    overflow: hidden;
    display: block;
    background: var(--ink);
}

.pcard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease), opacity .5s;
}

.pcard:hover img {
    transform: scale(1.05);
    opacity: .72;
}

.pcard__body {
    position: absolute;
    inset: auto 0 0 0;
    padding: 34px;
    color: #fff;
    background: linear-gradient(to top, rgba(10, 21, 41, .9), transparent);
    transform: translateY(10px);
    transition: transform .5s var(--ease);
}

.pcard:hover .pcard__body {
    transform: translateY(0);
}

.pcard__type {
    font-size: .66rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-lt);
    display: block;
    margin-bottom: 8px;
}

.pcard h3 {
    font-size: 1.8rem;
}

.pcard__meta {
    font-size: .82rem;
    color: rgba(255, 255, 255, .66);
    margin: 6px 0 0;
}

/* .row — the old 6-column spans are now Bootstrap columns in the markup:
   w6 -> .col-12, w3 -> .col-md-6, w2 -> .col-md-4. */
.gal {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 20px;
}

/* The <button> sits inside a .col-*; fill it so every tile in a row matches. */
.gal__item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--sand);
    padding: 0;
    border: 0;
}

.gal__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.gal__item:hover img {
    transform: scale(1.06);
}

/* .gal__item--w2 / --w3 / --w6 are gone: tile widths are Bootstrap columns now
   (.col-12, .col-md-6, .col-md-4) and live in the markup. */

/* ---------- Gallery tabs -------------------------------------------------- */
/* Sticks under the header (74px once stuck) and stays below it: z-index 40 < 60. */
.gtabs-bar {
    position: sticky;
    top: 74px;
    z-index: 40;
    background: rgba(247, 244, 239, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.gtabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.gtabs::-webkit-scrollbar {
    display: none;
}

.gtab {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 20px 4px 18px;
    margin-right: 26px;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: var(--serif);
    font-size: 1.05rem;
    line-height: 1;
    color: var(--muted);
    white-space: nowrap;
    transition: color .35s var(--ease);
}

.gtab::after {
    content: "";
    position: absolute;
    inset: auto 4px 0 4px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--ease);
}

.gtab__n {
    font-family: var(--sans);
    font-size: .68rem;
    letter-spacing: .12em;
    color: var(--gold);
    opacity: .75;
}

.gtab:hover,
.gtab.is-active {
    color: var(--ink);
}

.gtab.is-active::after {
    transform: scaleX(1);
}

/* Hidden by the tab filter — display-only; the photographs stay in the DOM. */
.gsec[hidden] {
    display: none;
}

/* Lightbox */
.lb {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(10, 21, 41, .96);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lb.is-open {
    display: flex;
}

.lb img {
    max-width: 92vw;
    max-height: 84vh;
    object-fit: contain;
}

.lb__close,
.lb__nav {
    position: absolute;
    background: none;
    border: 1px solid var(--line-lt);
    color: #fff;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    transition: background .3s, border-color .3s;
}

.lb__close:hover,
.lb__nav:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.lb__close {
    top: 28px;
    right: 28px;
}

.lb__nav--prev {
    left: 28px;
    top: 50%;
}

.lb__nav--next {
    right: 28px;
    top: 50%;
}

.lb__count {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .78rem;
    letter-spacing: .2em;
    color: rgba(255, 255, 255, .6);
}

/* Project detail meta */
/* .row — 1px gutter is the hairline between cells. */
.pmeta {
    --bs-gutter-x: 1px;
    --bs-gutter-y: 1px;
    background: var(--line);
}

.pmeta__cell {
    background: var(--bone);
    padding: 30px 26px;
    height: 100%;
}

.pmeta__k {
    font-size: .66rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}

.pmeta__v {
    font-family: var(--serif);
    font-size: 1.35rem;
}

/* Project narrative: the copy caps at 68ch, which left the right half of the
   section empty on desktop. The photo rail fills it and sticks while the long
   copy scrolls past. */
/* .split--top sets align-items:start, which shrinks this column to its content
   and leaves the sticky rail nothing to travel inside. Stretch it back. */
.pnarr__col {
    align-self: stretch;
}

.pnarr__media {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 16px;
}

.pnarr__fig {
    margin: 0;
}

/* Cropped to a fixed frame: project shots are a mix of portrait and landscape,
   and the rail has to stay shorter than the viewport for the sticky to work. */
.pnarr__fig img {
    display: block;
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    background: var(--sand);
}

.pnarr__cap {
    margin: 10px 0 0;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

/* A stuck rail taller than the window would lose its bottom photo, so on short
   screens the pair drops to one. */
@media (min-width: 992px) and (max-height: 760px) {
    .pnarr__fig:last-child {
        display: none;
    }
}

/* Below the split the rail is a plain pair of tiles, not a sticky column. */
@media (max-width: 991.98px) {
    .pnarr__media {
        position: static;
        grid-template-columns: 1fr 1fr;
    }
}

.rich h3 {
    margin: 44px 0 14px;
}

.rich p {
    color: var(--muted);
    max-width: 68ch;
}

/* ---------- FAQ ----------------------------------------------------------- */
.faq {
    border-top: 1px solid var(--line);
}

.faq__item {
    border-bottom: 1px solid var(--line);
}

.faq__q {
    width: 100%;
    background: none;
    border: 0;
    padding: 30px 44px 30px 0;
    text-align: left;
    font-family: var(--serif);
    font-size: 1.35rem;
    line-height: 1.35;
    position: relative;
    transition: color .3s;
}

.faq__q:hover {
    color: var(--gold);
}

.faq__q::after {
    content: "+";
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--sans);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gold);
    transition: transform .35s var(--ease);
}

.faq__item.is-open .faq__q::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s var(--ease);
}

.faq__a p {
    padding: 0 60px 30px 0;
    color: var(--muted);
    margin: 0;
}

/* ---------- Form ---------------------------------------------------------- */
.form {
    display: grid;
    gap: 22px;
}

/* .row — each field is a .col-md-6. */
.form__row {
    --bs-gutter-x: 22px;
    --bs-gutter-y: 22px;
}

.field {
    position: relative;
}

.field label {
    display: block;
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 300;
    color: var(--ink);
    border-radius: 0;
    transition: border-color .3s;
}

.field textarea {
    resize: vertical;
    min-height: 110px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 0;
    border-color: var(--gold);
}

.field--hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* intl-tel-input (loaded in component/meta.php + footer.php) wraps each
   type="tel" field in .iti, which the library makes inline-block — that would
   shrink the phone field to its content instead of spanning its column. */
.field .iti {
    display: block;
    width: 100%;
}

.iti__country-list {
    font-size: .92rem;
    color: var(--ink);
    border-color: var(--line);
    box-shadow: var(--shadow);
}

/* The country names are nowrap by default; on a phone the list would run past
   the screen edge and give the page a horizontal scrollbar. */
@media (max-width: 560px) {
    .iti__country-list {
        white-space: normal;
        max-width: calc(100vw - 2 * var(--gut));
    }
}

.form__note {
    font-size: .82rem;
    color: var(--muted);
    margin: 0;
}

.alert {
    padding: 16px 20px;
    border-left: 3px solid var(--gold);
    background: var(--sand);
    font-size: .95rem;
}

.alert--err {
    border-color: #b3413b;
}

.info-list li {
    display: flex;
    gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.info-list .ico {
    width: 20px;
    height: 20px;
    color: var(--gold);
    margin-top: 4px;
}

.info-list b {
    display: block;
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.info-list a:hover {
    color: var(--gold);
}

.map-frame {
    width: 100%;
    height: 420px;
    border: 0;
    filter: grayscale(1) contrast(1.05);
}

/* ---------- Status pages (404, thank-you) --------------------------------- */
/* A full-bleed photograph under the same navy wash as the home hero, with the
   message set large. Shared by 404.php and thankyou.php. */
.status {
    position: relative;
    min-height: 88svh;
    display: flex;
    align-items: center;
    background: var(--ink-2);
    color: #fff;
    overflow: hidden;
}

.status__media {
    position: absolute;
    inset: 0;
}

.status__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.status__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(10, 21, 41, .93) 0%, rgba(10, 21, 41, .76) 50%, rgba(10, 21, 41, .45) 100%),
        linear-gradient(to top, rgba(10, 21, 41, .85), transparent 50%);
}

.status__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    /* Keep .container's side gutters, as .hero__inner does. */
    padding: calc(var(--hdr) + 72px) var(--gut) 88px;
}

.status__body {
    max-width: 760px;
}

.status h1 {
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
    margin-bottom: 24px;
}

.status h1 em {
    display: block;
}

.status__lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .78);
    max-width: 56ch;
    margin-bottom: 40px;
}

.status__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* The "404" — drawn as an outline so it reads as a mark, not a shout. */
.status__code {
    display: block;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(6.5rem, 17vw, 12.5rem);
    line-height: .82;
    letter-spacing: -.03em;
    color: rgba(217, 185, 120, .22);
    margin-bottom: 28px;
    user-select: none;
}

@supports (-webkit-text-stroke: 1px) {
    .status__code {
        color: transparent;
        -webkit-text-stroke: 1px rgba(217, 185, 120, .6);
    }
}

/* Thank-you seal — a gold double ring around a check. */
.status__seal {
    position: relative;
    width: 84px;
    height: 84px;
    border: 1px solid rgba(217, 185, 120, .6);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold-lt);
    margin: 0 0 34px 10px;
}

.status__seal::after {
    content: "";
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(217, 185, 120, .18);
    border-radius: 50%;
}

.status__seal .ico {
    width: 34px;
    height: 34px;
}

.status__meta {
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid var(--line-lt);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 34px;
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.status__meta a {
    color: rgba(255, 255, 255, .85);
    transition: color .3s;
}

.status__meta a:hover {
    color: var(--gold-lt);
}

@keyframes seal-in {
    from {
        opacity: 0;
        transform: scale(.6);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .status__media img {
        animation: kenburns 14s linear forwards;
    }

    .status__seal {
        animation: seal-in .9s var(--ease) both;
    }
}

/* ---------- Next steps (thank-you page) ----------------------------------- */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    --bs-gutter-x: 48px;
    --bs-gutter-y: 40px;
}

.steps__step {
    height: 100%;
    border-top: 1px solid var(--line);
    padding-top: 30px;
}

.steps__num {
    display: block;
    font-family: var(--serif);
    font-size: 3.2rem;
    line-height: 1;
    color: var(--gold);
    margin-bottom: 20px;
}

.steps__step h3 {
    margin-bottom: 12px;
}

.steps__step p {
    color: var(--muted);
    margin: 0;
    max-width: 36ch;
}

/* ---------- CTA band ------------------------------------------------------ */
.cta {
    background: var(--ink);
    color: #fff;
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(185, 138, 60, .3), transparent 60%);
}

.cta__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.cta .eyebrow {
    justify-content: center;
}

.cta__title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 22px;
}

.cta__lead {
    color: rgba(255, 255, 255, .72);
    margin-bottom: 38px;
}

.cta__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ---------- Footer -------------------------------------------------------- */
.footer {
    background: var(--ink-2);
    color: rgba(255, 255, 255, .66);
    padding: 90px 0 0;
    font-size: .94rem;
    overflow-x: clip;
    /* holds a .row too — see the note on .sec */
}

/* .row — brand col is wider (.col-lg-4), the three link cols share the rest. */
.footer__grid {
    --bs-gutter-x: 56px;
    --bs-gutter-y: 56px;
    padding-bottom: 64px;
}

.footer__wordmark {
    display: block;
    color: #fff;
    margin-bottom: 18px;
}

.footer__wordmark-top,
.footer__wordmark-bot {
    display: block;
    font-family: var(--serif);
    text-transform: uppercase;
}

.footer__wordmark-top {
    font-size: 1.75rem;
    letter-spacing: .14em;
}

.footer__wordmark-bot {
    font-size: .92rem;
    letter-spacing: .3em;
    color: var(--gold);
}

.footer__rule {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    color: var(--gold);
}

.footer__rule::before,
.footer__rule::after {
    content: "";
    height: 1px;
    background: currentColor;
    flex: 1;
    opacity: .5;
}

.footer__rule i {
    font-family: var(--serif);
    font-style: normal;
}

.footer__tagline {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gold-lt);
    margin-bottom: 18px;
}

.footer__about {
    max-width: 42ch;
    margin-bottom: 26px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-lt);
    color: #fff;
    transition: background .3s, border-color .3s, transform .3s;
}

.footer__social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.footer__head {
    font-family: var(--sans);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 24px;
}

.footer__links li,
.footer__contact li {
    margin-bottom: 13px;
}

.footer__links a {
    transition: color .3s, padding-left .3s;
}

.footer__links a:hover {
    color: var(--gold-lt);
    padding-left: 5px;
}

.footer__contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer__contact .ico {
    width: 17px;
    height: 17px;
    color: var(--gold);
    margin-top: 5px;
}

.footer__contact a:hover {
    color: var(--gold-lt);
}

.footer__bar {
    border-top: 1px solid var(--line-lt);
    padding: 26px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: .82rem;
}

.footer__bar p {
    margin: 0;
}

.footer__bar-note {
    color: rgba(255, 255, 255, .4);
}

/* ---------- Floating actions ---------------------------------------------- */
/* The WhatsApp / callback buttons live in assets/css/quick-connect.css (.qc-fabs). */
.to-top {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 70;
    width: 46px;
    height: 46px;
    background: var(--ink);
    color: #fff;
    border: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s, background .3s;
}

.to-top.is-on {
    opacity: 1;
    pointer-events: auto;
}

.to-top:hover {
    background: var(--gold);
}

/* ---------- reCAPTCHA v3 --------------------------------------------------- */
/* The badge is fixed bottom-right, exactly where .qc-fabs already sit, so it is
   hidden. Google permits that only if the attribution is shown instead —
   component/recaptcha-note.php renders it beneath every protected form. */
.grecaptcha-badge {
    visibility: hidden;
}

.form__legal {
    margin: 16px 0 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--muted);
}

.form__legal a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form__legal a:hover {
    color: var(--gold);
}

/* ---------- Reveal animation ---------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

.reveal[data-d="1"] {
    transition-delay: .1s;
}

.reveal[data-d="2"] {
    transition-delay: .2s;
}

.reveal[data-d="3"] {
    transition-delay: .3s;
}

.reveal[data-d="4"] {
    transition-delay: .4s;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}