/* ═══════════════════════════════════════════════════════
   CS Commercial Advisory — V3 Editorial
   Concept: North Sea atlas × luxury print journal
   Reference: Monocle, Kinfolk, FT Weekend, Swiss typography
   ═══════════════════════════════════════════════════════ */

/* ── Custom Properties ── */
:root {
    /* Colour — warm white dominates; navy and gold used sparingly */
    --white:     #faf9f5;      /* primary background — almost everything */
    --off:       #f0ebe0;      /* used only as subtle tint, sparingly */
    --navy:      #18243e;      /* dark surfaces: heroes, footer, CTA */
    --navy-d:    #0f1825;      /* deeper navy for footer */
    --gold:      #a8874a;      /* jewellery, not paint — max 3 uses */
    --ink:       #27211c;      /* body text */
    --ink-mid:   #6b6055;      /* secondary text */
    --ink-lt:    #a09080;      /* tertiary, labels */
    --rule:      rgba(39,33,28,0.08);  /* horizontal rules */

    /* Type */
    --ff-d: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --ff-b: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;

    /* Layout */
    --g:   clamp(1.5rem, 5vw, 4.5rem);
    --mw:  1280px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { background: var(--white); color: var(--ink); font-family: var(--ff-b); font-weight: 300; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; color: inherit; }
p { line-height: 1.88; text-wrap: pretty; }
p + p { margin-top: 1.4em; }

/* ── Layout utilities ── */
.wrap { max-width: var(--mw); margin: 0 auto; padding: 0 var(--g); }
.page-spacer { height: 6.5rem; }

/* ── Typography utilities ── */
.label {
    font-family: var(--ff-b);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-lt);
}
.label-gold { color: var(--gold); }

/* ── Arrow micro-interaction ──
   Wrap the → character in <span class="arr"> inside any link.
   The arrow slides 4px right on hover — a refinement, not an effect. */
.arr { display: inline-block; transition: transform 0.32s cubic-bezier(0.25, 0, 0.1, 1); }
a:hover .arr, .form-submit:hover .arr { transform: translateX(4px); }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.95s ease, transform 0.95s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.22s; }
.d3 { transition-delay: 0.36s; }

/* ── Contour background (North Sea visual signature) ── */
.contour {
    position: absolute; inset: 0;
    pointer-events: none; overflow: hidden;
    opacity: 0.038;
}
.contour svg { width: 100%; height: 100%; }
.contour-lt { opacity: 0.055; }
.hero .contour-lt { animation: contour-drift 26s ease-in-out infinite; will-change: transform; }


/* ═══════════════════════════════
   NAV
   ═══════════════════════════════ */
#nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.85rem var(--g);
    transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
    border-bottom: 1px solid transparent;
}
#nav.on-dark {
    background: linear-gradient(to bottom, rgba(10,15,28,0.32) 0%, transparent 100%);
    border-bottom-color: rgba(250,249,245,0.08);
}
#nav.on-dark .nav-monogram,
#nav.on-dark .nav-wordmark-cs,
#nav.on-dark .nav-wordmark-sub,
#nav.on-dark .nav-links a,
#nav.on-dark .nav-contact { color: rgba(250,249,245,0.92); opacity: 1; }
#nav.pinned {
    background: rgba(250,249,245,0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1.1rem var(--g);
    border-bottom-color: var(--rule);
}
#nav.pinned .nav-monogram,
#nav.pinned .nav-wordmark-cs,
#nav.pinned .nav-wordmark-sub,
#nav.pinned .nav-links a,
#nav.pinned .nav-contact { color: var(--ink); }

/* Height + overflow crop the ~31% transparent padding at top/bottom of the 2000×2000 logo canvas */
.nav-logo-wrap { display: flex; align-items: flex-start; gap: 0.9rem; height: 78px; overflow: hidden; position: relative; }
.nav-monogram { width: 26px; height: 28px; color: var(--ink); transition: color 0.4s; flex-shrink: 0; }
.nav-wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav-wordmark-cs {
    font-family: var(--ff-d); font-size: 0.95rem; font-weight: 400;
    letter-spacing: 0.14em; color: var(--ink); transition: color 0.4s;
}
.nav-wordmark-sub {
    font-family: var(--ff-b); font-size: 0.5rem; font-weight: 300;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ink-lt); margin-top: 0.15rem; transition: color 0.4s;
}

/* ── Logo image swap (replaces SVG monogram + wordmark) ── */
/* Image is 2000×2000px; content occupies centre 36% vertically.
   height:160px × 0.362 ≈ 58px of visible logo marks.
   margin-top:-50px clips the top transparent band (31.4% × 160 ≈ 50px). */
.nav-logo-img   { height: 212px; width: auto; display: block; flex-shrink: 0; margin-top: -67px; transition: opacity 0.4s ease; }
.nav-logo-light { position: absolute; top: -67px; left: 0; margin-top: 0; opacity: 0; pointer-events: none; }
.nav-logo-dark  { opacity: 1; }
#nav.on-dark .nav-logo-light { opacity: 1; pointer-events: auto; }
#nav.on-dark .nav-logo-dark  { opacity: 0; }
/* Footer logo — crop technique matches nav: removes the transparent canvas padding
   so the mark sits flush with the top of its container, correctly spaced above the tagline. */
.footer-logo-wrap { height: 29px; overflow: hidden; margin-bottom: 1.5rem; }
.footer-logo-img  { height: 80px; width: auto; opacity: 0.4; display: block; margin-top: -25px; }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
    font-size: 0.68rem; font-weight: 400; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--ink); opacity: 0.6;
    transition: opacity 0.2s, color 0.4s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-contact {
    font-size: 0.68rem; font-weight: 400; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--ink); opacity: 0.6;
    transition: opacity 0.2s, color 0.4s;
}
.nav-contact:hover,
.nav-contact.active { opacity: 1; }
.nav-mobile-btn {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 4px; color: inherit;
}
.nav-mobile-btn span { display: block; width: 22px; height: 1px; background: currentColor; transition: transform 0.25s ease; }
#nav-mobile-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
#nav-mobile-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* Mobile menu — navy panel */
.mobile-menu {
    display: flex; position: fixed; inset: 0; z-index: 90;
    background: var(--navy);
    flex-direction: column; overflow: hidden;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu-contour {
    position: absolute; inset: 0; pointer-events: none;
    opacity: 0.07; overflow: hidden;
}
.mobile-menu-contour svg { width: 100%; height: 100%; }
.mobile-menu-inner {
    display: flex; flex-direction: column; height: 100%;
    padding: 0 var(--g) 3rem; position: relative; z-index: 1;
}
.mobile-menu-nav {
    display: flex; flex-direction: column;
    flex: 1; justify-content: center;
}
.mobile-menu-nav ul { list-style: none; }
.mobile-menu-nav li:first-child a { border-top: 1px solid rgba(250,249,245,0.08); }
.mobile-menu-nav a {
    display: block;
    font-family: var(--ff-b); font-size: 0.68rem; font-weight: 400;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(250,249,245,0.65);
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(250,249,245,0.08);
    opacity: 0; transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s;
}
.mobile-menu-nav a:hover { color: var(--white); }
.mobile-menu.open .mobile-menu-nav li:nth-child(1) a { opacity: 1; transform: none; transition-delay: 0.10s; }
.mobile-menu.open .mobile-menu-nav li:nth-child(2) a { opacity: 1; transform: none; transition-delay: 0.16s; }
.mobile-menu.open .mobile-menu-nav li:nth-child(3) a { opacity: 1; transform: none; transition-delay: 0.22s; }
.mobile-menu-contact {
    font-family: var(--ff-b); font-size: 0.68rem; font-weight: 400;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(250,249,245,0.65);
    border-top: 1px solid rgba(250,249,245,0.08);
    padding-top: 1.25rem;
    opacity: 0; transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s;
}
.mobile-menu.open .mobile-menu-contact { opacity: 1; transform: none; transition-delay: 0.30s; }
.mobile-menu-contact:hover { color: var(--white); }


/* ═══════════════════════════════
   HERO (homepage)
   ═══════════════════════════════ */
.hero {
    position: relative; min-height: 100svh; min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    background: var(--navy); overflow: hidden;
}
.hero-bg-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 40%;
}
.hero-bg-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-veil {
    position: absolute; inset: 0;
    background: linear-gradient(
        105deg,
        rgba(20,44,88,0.35) 0%,
        rgba(20,44,88,0.15) 48%,
        rgba(20,44,88,0.03) 70%,
        transparent 85%
    );
}

/* ── Hero artwork: cinematic overlays ── */
/* Thin dark blue tint — dark-background heroes only (Services, About) */
.hero-overlay {
    position: absolute; inset: 0;
    background: rgba(10,15,28,0.07);
    pointer-events: none;
}
/* Soft radial vignette: darkens outer edges, preserves focal centre */
.hero-vignette {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 45%, transparent 38%, rgba(8,12,22,0.30) 100%);
    pointer-events: none;
}
/* Homepage: lighter edge vignette — artwork breathes, gold accents stay bright */
.hero-vignette--home {
    background: radial-gradient(ellipse at 50% 50%, transparent 52%, rgba(8,12,22,0.17) 100%);
}
/* Film grain: SVG feTurbulence tiled at very low opacity */
.hero-grain {
    position: absolute; inset: 0;
    pointer-events: none; overflow: hidden;
}
.hero-grain svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-content {
    position: relative; z-index: 2;
    padding-left: var(--g);
    max-width: 67vw;
}
.hero-overline {
    font-family: var(--ff-b); font-size: 0.57rem; font-weight: 400;
    letter-spacing: 0.26em; text-transform: uppercase;
    color: rgba(250,249,245,0.35); margin-bottom: 2.25rem;
    text-shadow: 0 1px 12px rgba(0,0,0,0.40);
}
.hero-headline {
    font-family: var(--ff-d);
    font-size: clamp(2rem, 4.5vw, 5.8rem);
    font-weight: 400; font-style: normal;
    color: var(--white); line-height: 1.0;
    letter-spacing: -0.032em;
    text-shadow: 0 2px 40px rgba(0,0,0,0.52), 0 0 100px rgba(0,0,0,0.28);
    text-wrap: balance;
}
.hero-sub {
    font-size: clamp(0.9rem, 1.25vw, 1.05rem);
    font-weight: 300; color: rgba(250,249,245,0.94);
    line-height: 1.82; max-width: 560px; margin-top: 2.75rem;
    text-shadow: 0 1px 24px rgba(0,0,0,0.70), 0 0 70px rgba(0,0,0,0.40);
}
.hero-cta {
    display: inline-flex; align-items: center; gap: 0.45rem;
    margin-top: 2.25rem;
    font-family: var(--ff-b); font-size: 0.62rem; font-weight: 400;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(250,249,245,0.65);
    border-bottom: 1px solid rgba(250,249,245,0.22);
    padding-bottom: 0.12rem;
    transition: color 0.25s ease, border-color 0.25s ease;
    text-shadow: 0 1px 12px rgba(0,0,0,0.48), 0 0 32px rgba(0,0,0,0.26);
}
.hero-cta:hover { color: rgba(250,249,245,0.95); border-color: rgba(250,249,245,0.55); }
.hero-coord {
    position: absolute; bottom: clamp(4rem, 8vh, 7rem); right: var(--g);
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: 0.5rem; letter-spacing: 0.24em;
    text-transform: uppercase; color: rgba(250,249,245,0.2); z-index: 2;
}
.hero-scroll { display: none; }
.hero-scroll svg { animation: scroll-hint-pulse 2.4s ease-in-out 3s infinite; }
@keyframes scroll-hint-in { to { opacity: 1; } }
@keyframes scroll-hint-pulse {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%       { transform: translateY(6px); opacity: 0.45; }
}


/* ═══════════════════════════════
   OPENER (homepage)
   ═══════════════════════════════ */
.opener {
    padding: clamp(7rem, 14vh, 14rem) var(--g) clamp(5rem, 10vh, 10rem);
}
.opener-inner { max-width: var(--mw); margin: 0 auto; }
.opener-display {
    font-family: var(--ff-d);
    font-size: clamp(2.2rem, 4.5vw, 5rem);
    font-weight: 400; font-style: italic;
    color: var(--ink); line-height: 1.12;
    letter-spacing: -0.02em; max-width: 860px;
    text-wrap: balance;
}
.opener-body {
    margin-top: 3.5rem; max-width: var(--mw);
    display: grid; grid-template-columns: 2fr 3fr; gap: 4rem;
}
.opener-body p {
    font-size: 0.94rem; font-weight: 300;
    color: var(--ink-mid); line-height: 1.88;
    max-width: 52ch; grid-column: 2;
}


/* ═══════════════════════════════
   SERVICES — homepage editorial list
   ═══════════════════════════════ */
.home-services { padding: 0 var(--g) clamp(8rem, 15vh, 15rem); }
.home-services-inner { max-width: var(--mw); margin: 0 auto; }
.home-services-head {
    display: flex; align-items: baseline; justify-content: space-between;
    padding-bottom: 2.5rem; border-bottom: 1px solid var(--rule);
}
.svc-item {
    display: grid; grid-template-columns: 80px 1fr 1fr;
    gap: 2rem 4rem; padding: 3.75rem 0;
    border-bottom: 1px solid var(--rule); align-items: start;
}
.svc-num {
    font-family: var(--ff-d);
    font-size: clamp(3rem, 5.5vw, 6rem);
    font-weight: 300; font-style: italic;
    color: var(--ink); opacity: 0.12;
    line-height: 0.9; letter-spacing: -0.04em; padding-top: 0.1em;
}
.svc-name {
    font-family: var(--ff-d);
    font-size: clamp(1.15rem, 2.2vw, 1.85rem);
    font-weight: 300; font-style: italic;
    color: var(--ink); line-height: 1.2; align-self: center;
}
.svc-desc {
    font-size: 0.85rem; font-weight: 300;
    color: var(--ink-mid); line-height: 1.85; align-self: center;
}
.svc-link {
    display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.1rem;
    font-size: 0.65rem; font-weight: 400; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--ink-lt);
    border-bottom: 1px solid rgba(160,144,128,0.3); padding-bottom: 0.12rem;
    transition: color 0.2s, border-color 0.2s;
}
.svc-link:hover { color: var(--ink); border-color: var(--ink); }


/* ═══════════════════════════════
   APPROACH — prose manifesto
   ═══════════════════════════════ */
.approach {
    padding: clamp(8rem, 15vh, 15rem) var(--g);
    position: relative; overflow: hidden;
}
.approach-bg-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 40%;
}
.approach-overlay {
    position: absolute; inset: 0;
    background: rgba(250,249,245,0.06);
    pointer-events: none;
}
.approach-inner {
    max-width: var(--mw); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.5fr;
    gap: clamp(4rem, 8vw, 10rem); align-items: start;
    position: relative; z-index: 2;
}
.approach-left { position: sticky; top: 9rem; }
.approach-label { margin-bottom: 3rem; }
.approach-prose { padding-top: clamp(3rem, 6vh, 6rem); }
.approach-pullout {
    font-family: var(--ff-d);
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 300; font-style: italic; color: var(--ink); line-height: 1.38;
    padding-left: 1.5rem; border-left: none; position: relative;
}
.approach-pullout::before,
.about-pullquote::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 1px;
    height: 0;
    background: var(--gold);
    transition: height 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.approach-pullout.line-in::before,
.about-pullquote.line-in::before {
    height: 100%;
}
.approach-prose p {
    font-size: 0.95rem; font-weight: 300; color: var(--ink-mid); line-height: 1.88;
}
.approach-prose p + p { margin-top: 1.6em; }
.approach-prose .accent {
    font-family: var(--ff-d);
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 300; font-style: italic; color: var(--ink); line-height: 1.45;
}


/* ═══════════════════════════════
   ABOUT — homepage snippet
   ═══════════════════════════════ */
.home-about {
    padding: 0 var(--g) clamp(9rem, 16vh, 16rem);
    border-top: 1px solid var(--rule);
}
.home-about-inner {
    max-width: var(--mw); margin: 0 auto;
    display: grid; grid-template-columns: 280px 1fr;
    gap: clamp(4rem, 7vw, 8rem); align-items: start;
    padding-top: clamp(5rem, 9vh, 9rem);
}
.home-about-portrait { aspect-ratio: 3/4; overflow: hidden; background: var(--off); }
.home-about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.home-about-label { margin-bottom: 2rem; }
.home-about-name {
    font-family: var(--ff-b);
    font-size: 0.6rem; font-weight: 400;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ink-lt); line-height: 1; margin-bottom: 1.5rem;
}
.home-about-body {
    font-size: 0.9rem; font-weight: 300; color: var(--ink-mid); line-height: 1.9; max-width: 52ch;
}
.home-about-attribution {
    margin-top: 2rem;
    font-size: 0.62rem; font-weight: 400; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--ink-lt);
}
.home-about-cta {
    display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 3rem;
    font-size: 0.68rem; font-weight: 400; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--ink-lt);
    border-bottom: 1px solid rgba(160,144,128,0.3); padding-bottom: 0.12rem;
    transition: color 0.2s, border-color 0.2s;
}
.home-about-cta:hover { color: var(--ink); border-color: var(--ink); }


/* Section header link (services "All services →") */
.head-link {
    font-size: 0.62rem; font-weight: 400; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--ink-lt); transition: color 0.2s;
}
.head-link:hover { color: var(--ink); }


/* ═══════════════════════════════
   CTA STRIP
   ═══════════════════════════════ */
.cta-strip {
    background-color: var(--navy);
    background-image: image-set(
        url('assets/blue-orbit.avif') type('image/avif'),
        url('assets/blue-orbit.webp') type('image/webp'),
        url('assets/blue-orbit.png') type('image/png')
    );
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: clamp(6rem, 11vh, 11rem) var(--g) clamp(8rem, 15vh, 15rem);
    position: relative; overflow: hidden;
}
.cta-strip::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(12,18,30,0.22); pointer-events: none;
}
.cta-strip-inner {
    max-width: var(--mw); margin: 0 auto;
    display: grid; grid-template-columns: 1fr auto; gap: 6rem; align-items: center;
    position: relative;
}
.cta-headline {
    font-family: var(--ff-d);
    font-size: clamp(1.6rem, 3.0vw, 3.6rem);
    font-weight: 400; font-style: normal; color: var(--white);
    line-height: 1.0; letter-spacing: -0.032em;
    text-wrap: balance;
}
.cta-action { flex-shrink: 0; padding-bottom: 0.4rem; }
.cta-email {
    display: block; font-family: var(--ff-d); font-size: 1.05rem; font-style: italic;
    color: rgba(250,249,245,0.42); margin-bottom: 2.5rem; transition: color 0.2s;
}
.cta-email:hover { color: rgba(250,249,245,0.75); }
.btn-ghost-cream {
    display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.95rem 2rem;
    border: 1px solid rgba(250,249,245,0.2); font-size: 0.68rem; font-weight: 400;
    letter-spacing: 0.18em; text-transform: uppercase; color: rgba(250,249,245,0.55);
    transition: border-color 0.25s, color 0.25s;
}
.btn-ghost-cream:hover { border-color: rgba(250,249,245,0.5); color: var(--white); }


/* ═══════════════════════════════
   FOOTER
   ═══════════════════════════════ */
footer {
    background: var(--navy-d); border-top: 1px solid rgba(250,249,245,0.05);
    padding: 5rem var(--g) 3rem;
}
.footer-inner { max-width: var(--mw); margin: 0 auto; }
.footer-top {
    display: grid; grid-template-columns: 1.2fr 1fr 1.4fr;
    gap: 4rem 3rem; padding-bottom: 4rem;
    border-bottom: 1px solid rgba(250,249,245,0.05); margin-bottom: 2.5rem;
}
.footer-tagline { font-size: 0.75rem; font-weight: 300; color: rgba(250,249,245,0.28); line-height: 1.7; max-width: 22ch; }
.footer-col-head { font-size: 0.54rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(250,249,245,0.22); margin-bottom: 1.5rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-nav a { font-size: 0.82rem; font-weight: 300; color: rgba(250,249,245,0.42); transition: color 0.2s; }
.footer-nav a:hover { color: rgba(250,249,245,0.75); }
.footer-addr { margin-bottom: 2rem; }
.footer-addr:last-child { margin-bottom: 0; }
.footer-addr-name { font-size: 0.54rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(250,249,245,0.22); margin-bottom: 0.85rem; }
.footer-addr-detail { font-size: 0.78rem; font-weight: 300; color: rgba(250,249,245,0.38); line-height: 1.7; }
.footer-addr-detail a { color: inherit; transition: color 0.2s; }
.footer-addr-detail a:hover { color: rgba(250,249,245,0.65); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.64rem; font-weight: 300; color: rgba(250,249,245,0.18); letter-spacing: 0.04em; }
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { color: inherit; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(250,249,245,0.4); }


/* ═══════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════ */
.page-hero {
    background: var(--navy);
    padding: clamp(9rem, 17vh, 17rem) var(--g) clamp(6rem, 11vh, 11rem);
    position: relative; overflow: hidden;
}
.page-hero-glow {
    position: absolute; top: 0; right: 0; width: 60%; height: 100%;
    background: radial-gradient(ellipse at 75% 30%, rgba(168,135,74,0.09) 0%, transparent 58%);
    pointer-events: none;
}
/* About page: glow from the left — where the human element lives */
.page-hero-glow--left {
    left: 0; right: auto; width: 55%;
    background: radial-gradient(ellipse at 18% 52%, rgba(168,135,74,0.08) 0%, transparent 56%);
}
.page-hero-inner { max-width: var(--mw); margin: 0 auto; position: relative; z-index: 2; }
.page-hero-tag { font-size: 0.57rem; font-weight: 400; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 2rem; }
.page-hero h1 {
    font-family: var(--ff-d); font-size: clamp(2.8rem, 6.5vw, 7.5rem);
    font-weight: 400; font-style: normal; color: var(--white);
    line-height: 1.0; letter-spacing: -0.032em; max-width: 820px;
    text-wrap: balance;
}
/* About hero: longer headline — reduce scale so artwork remains a visual partner */
.page-hero--about h1 {
    font-size: clamp(2.2rem, 4.2vw, 5.2rem);
    max-width: 720px;
}
.page-hero-sub { margin-top: 2.25rem; font-size: clamp(0.8rem, 1.15vw, 0.92rem); font-weight: 300; color: rgba(250,249,245,0.72); line-height: 1.78; max-width: 460px; }


/* ═══════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════ */
.about-bio { padding: clamp(7rem, 13vh, 13rem) var(--g); border-top: 1px solid var(--rule); }
.about-bio-inner {
    max-width: var(--mw); margin: 0 auto;
    display: grid; grid-template-columns: 300px 1fr;
    gap: clamp(4rem, 7vw, 9rem); align-items: start;
}
.about-sidebar { position: sticky; top: 8.5rem; }
.about-portrait { width: 100%; aspect-ratio: 3/4; overflow: hidden; background: var(--off); margin-bottom: 1.75rem; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about-portrait-name { font-family: var(--ff-d); font-size: 1.05rem; font-weight: 400; font-style: normal; color: var(--ink); }
.about-portrait-role { margin-top: 0.3rem; font-size: 0.6rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-lt); }
.about-sidebar-link {
    display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 2.25rem;
    font-size: 0.65rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--ink-lt); border-bottom: 1px solid rgba(160,144,128,0.3); padding-bottom: 0.12rem;
    transition: color 0.2s, border-color 0.2s;
}
.about-sidebar-link:hover { color: var(--ink); border-color: var(--ink); }
.about-lead { font-family: var(--ff-d); font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 300; font-style: italic; color: var(--ink); line-height: 1.3; margin-bottom: 2.5rem; }
.about-body { font-size: 0.95rem; font-weight: 300; color: var(--ink-mid); line-height: 1.88; max-width: 60ch; }
.about-body p + p { margin-top: 1.5em; }
.about-pullquote { font-family: var(--ff-d); font-size: clamp(1.15rem, 1.9vw, 1.55rem); font-weight: 300; font-style: italic; color: var(--ink); line-height: 1.42; margin: 3.5rem 0; padding-left: 1.5rem; border-left: none; position: relative; }
.about-mpea { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.about-mpea-tag { font-size: 0.57rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-lt); margin-bottom: 0.85rem; }
.about-mpea-text { font-size: 0.85rem; font-weight: 300; font-style: italic; color: var(--ink-mid); line-height: 1.7; }
.about-credentials { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.credentials-tag { font-size: 0.57rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-lt); margin-bottom: 1.5rem; }
.cred-item { font-size: 0.84rem; font-weight: 300; color: var(--ink-mid); line-height: 1.5; padding: 0.65rem 0; border-bottom: 1px solid var(--rule); }
.cred-item:first-of-type { border-top: 1px solid var(--rule); }

/* Philosophy */
.philosophy {
    background-color: var(--navy);
    background-image: image-set(
        url('assets/blue-orbit.avif') type('image/avif'),
        url('assets/blue-orbit.webp') type('image/webp'),
        url('assets/blue-orbit.png') type('image/png')
    );
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: clamp(7rem, 13vh, 13rem) var(--g);
    position: relative; overflow: hidden;
}
.philosophy::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(15,24,37,0.10); pointer-events: none;
}
.philosophy-inner { max-width: var(--mw); margin: 0 auto; position: relative; }
.philosophy-header { margin-bottom: 5rem; }
.philosophy-header h2 { font-family: var(--ff-d); font-size: clamp(2rem, 4vw, 4.2rem); font-weight: 400; font-style: normal; color: var(--white); line-height: 1.0; letter-spacing: -0.032em; text-wrap: balance; }
.philosophy-item { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; padding: 3.5rem 0; border-bottom: 1px solid rgba(250,249,245,0.06); }
.philosophy-item:first-child { border-top: 1px solid rgba(250,249,245,0.06); }
.philosophy-name { font-family: var(--ff-d); font-size: 1.25rem; font-weight: 300; font-style: italic; color: var(--white); }
.philosophy-body { font-size: 0.87rem; font-weight: 300; color: rgba(250,249,245,0.58); line-height: 1.85; }
.philosophy-cta {
    margin-top: clamp(5rem, 10vh, 8rem);
    padding-top: clamp(5rem, 10vh, 8rem);
    border-top: 1px solid rgba(250,249,245,0.07);
    display: grid; grid-template-columns: 1fr auto; gap: 6rem; align-items: center;
}


/* ═══════════════════════════════
   SERVICES PAGE
   ═══════════════════════════════ */
.services-intro { padding: clamp(6rem, 11vh, 11rem) var(--g) clamp(4rem, 8vh, 8rem); border-top: 1px solid var(--rule); }
.services-intro-inner { max-width: var(--mw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem; }
.services-intro-text { font-size: 0.95rem; font-weight: 300; color: var(--ink-mid); line-height: 1.88; max-width: 52ch; grid-column: 2; }
.services-detail { padding: 0 var(--g) clamp(8rem, 15vh, 15rem); }
.services-detail-inner { max-width: var(--mw); margin: 0 auto; }
.svc-block { display: grid; grid-template-columns: 1fr 1.8fr; gap: 6rem; padding: 7rem 0; border-bottom: 1px solid var(--rule); }
.svc-block:first-child { padding-top: 0; border-top: 1px solid var(--rule); }
.svc-block-left { position: sticky; top: 8rem; align-self: start; }
.svc-block-num { font-family: var(--ff-d); font-size: clamp(5rem, 9vw, 10rem); font-weight: 300; font-style: italic; color: var(--ink); opacity: 0.12; line-height: 0.9; letter-spacing: -0.04em; margin-bottom: 0.1em; }
.svc-block-name { font-family: var(--ff-d); font-size: clamp(1.4rem, 2.5vw, 2.1rem); font-weight: 300; font-style: italic; color: var(--ink); line-height: 1.15; margin-bottom: 2.5rem; }
.svc-block-cta { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.65rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-lt); border-bottom: 1px solid rgba(160,144,128,0.3); padding-bottom: 0.12rem; transition: color 0.2s, border-color 0.2s; }
.svc-block-cta:hover { color: var(--ink); border-color: var(--ink); }
.svc-block-lead { font-family: var(--ff-d); font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 300; font-style: italic; color: var(--ink); line-height: 1.38; margin-bottom: 2rem; }
.svc-block-body { font-size: 0.94rem; font-weight: 300; color: var(--ink-mid); line-height: 1.88; max-width: 56ch; }
.svc-block-body p + p { margin-top: 1.4em; }
.svc-caps { margin-top: 2.5rem; }
.svc-cap { display: flex; align-items: baseline; gap: 1.25rem; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); font-size: 0.83rem; font-weight: 300; color: var(--ink-mid); line-height: 1.58; }
.svc-cap::before { content: '—'; color: var(--ink-lt); font-weight: 300; flex-shrink: 0; }


/* ═══════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════ */
.contact-section { padding: clamp(7rem, 13vh, 13rem) var(--g); }
.contact-inner { max-width: var(--mw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 8rem; align-items: start; }
.contact-left { position: sticky; top: 8rem; }
.contact-headline { font-family: var(--ff-d); font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 400; font-style: normal; color: var(--ink); line-height: 1.0; letter-spacing: -0.032em; margin-bottom: 1.75rem; }
.contact-note { font-size: 0.93rem; font-weight: 300; color: var(--ink-mid); line-height: 1.88; max-width: 42ch; margin-bottom: 3.5rem; }
.contact-note:has(+ .contact-note) { margin-bottom: 0.75rem; }
.contact-addr-group { margin-bottom: 3rem; }
.contact-addr-group:last-of-type { margin-bottom: 0; }
.addr-tag { font-size: 0.55rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-lt); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--rule); }
.addr-detail { font-size: 0.85rem; font-weight: 300; color: var(--ink-mid); line-height: 1.7; }
.addr-detail a { transition: color 0.2s; }
.addr-detail a:hover { color: var(--ink); }
.contact-exclusive { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--rule); font-size: 0.8rem; font-weight: 300; font-style: italic; color: var(--ink-lt); line-height: 1.7; }
.form-group { margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-label { display: block; font-size: 0.55rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-lt); margin-bottom: 0.7rem; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; background: none; border: none; outline: none; border-bottom: 1px solid var(--rule); padding: 0.7rem 0; color: var(--ink); font-family: var(--ff-b); font-size: 0.88rem; font-weight: 300; transition: border-color 0.2s; border-radius: 0; -webkit-appearance: none; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--ink-mid); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--ink-lt); }
.contact-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a09080' stroke-width='1.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 center; padding-right: 1.25rem; cursor: pointer; color: var(--ink-lt); }
.contact-form select.has-value { color: var(--ink); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.73rem; font-weight: 300; color: var(--ink-lt); line-height: 1.65; margin-top: -0.5rem; margin-bottom: 1.75rem; }
.form-submit { display: inline-flex; align-items: center; gap: 0.75rem; background: var(--ink); color: var(--white); border: none; cursor: pointer; padding: 1rem 2.25rem; font-family: var(--ff-b); font-size: 0.68rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; transition: background 0.2s; }
.form-submit:hover { background: var(--navy); }
.form-send-error { font-size: 0.78rem; color: #a0382a; margin-bottom: 1rem; line-height: 1.5; }


/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */
@media (max-width: 1080px) {
    .hero-bg-img { object-position: 65% center; }
    .hero { justify-content: flex-end; }
    .hero-content { max-width: 100%; padding: 0 var(--g) 3.5rem; }
    .opener-body { grid-template-columns: 1fr; }
    .opener-body p { grid-column: 1; }
    .home-about-inner { grid-template-columns: 220px 1fr; gap: 3rem; }
    .svc-item { grid-template-columns: 65px 1fr; }
    .svc-desc { grid-column: 2; }
    .about-bio-inner { grid-template-columns: 240px 1fr; gap: 4rem; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .services-intro-inner { grid-template-columns: 1fr; }
    .services-intro-text { grid-column: 1; }
}
@media (max-width: 900px) {
    .approach-inner { grid-template-columns: 1fr; gap: 3rem; }
    .approach-left  { position: static; }
    .approach-prose { padding-top: 0; }
    .svc-block      { grid-template-columns: 1fr; gap: 2rem; }
    .svc-block-left { position: static; }
    .svc-block-num  { display: none; }
    .philosophy-item { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 768px) {
    .hero-br { display: none; }
    .hero { justify-content: flex-end; }
    .hero-content { max-width: 100%; padding: 0 var(--g) 3.5rem; }
    #nav { padding-top: 0.5rem; padding-bottom: 0.5rem; }
    .nav-links, .nav-contact { display: none; }
    .nav-mobile-btn { display: flex; }
    #nav.on-dark .nav-mobile-btn { color: var(--white); }
    #nav.menu-open {
        background: var(--navy);
        border-bottom-color: rgba(250,249,245,0.10);
    }
    #nav.menu-open .nav-logo-light { opacity: 1; pointer-events: auto; }
    #nav.menu-open .nav-logo-dark  { opacity: 0; }
    #nav.menu-open .nav-mobile-btn { color: var(--white); }
    /* Section padding — reduced from desktop-scale clamp() values */
    .page-hero { padding: 7rem var(--g) 3.5rem; }
    .page-hero-sub { font-size: 0.9rem; }
    .about-bio { padding: 4.5rem var(--g); }
    .services-intro { padding: 3.5rem var(--g) 3rem; }
    .cta-strip { padding: 4.5rem var(--g) 5.5rem; }
    /* Portrait — full-width on mobile, not thumbnail */
    .home-about-inner { grid-template-columns: 1fr; }
    .home-about-portrait { max-width: 100%; }
    /* Ghost numbers — hide on mobile (stacked layout wastes space) */
    .svc-num { display: none; }
    .svc-block-num { display: none; }
    .svc-item { grid-template-columns: 1fr; gap: 0.75rem; }
    .svc-desc { grid-column: 1; }
    .approach-inner { grid-template-columns: 1fr; }
    .approach-left { position: static; }
    .about-bio-inner { grid-template-columns: 1fr; }
    .about-sidebar { position: static; }
    .philosophy-item { grid-template-columns: 1fr; gap: 1.25rem; }
    .svc-block { grid-template-columns: 1fr; gap: 3rem; }
    .svc-block-left { position: static; }
    .contact-section { padding-top: 2.5rem; }
    .contact-inner { grid-template-columns: 1fr; gap: 4.5rem; }
    .contact-left { position: static; }
    .form-row { grid-template-columns: 1fr; }
    .cta-strip-inner { grid-template-columns: 1fr; gap: 3rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .svc-block { scroll-margin-top: 8rem; }
    .hero-bg-img { object-position: center center; }
    .hero-coord { display: none; }
    .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
    /* Touch targets — extend tap area on small text-link CTAs */
    .btn-ghost-cream { min-height: 44px; }
    .svc-link, .svc-block-cta,
    .home-about-cta, .about-sidebar-link { padding-top: 0.65rem; padding-bottom: 0.65rem; }
}


/* ═══════════════════════════════
   PAGE TRANSITION
   ═══════════════════════════════ */
@keyframes page-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes contour-drift {
    0%, 100% { transform: translate(0, 0); }
    30%       { transform: translate(-8px, 1.5px); }
    60%       { transform: translate(-12px, -1px); }
    80%       { transform: translate(-5px, 1px); }
}
/* ═══════════════════════════════
   HERO ENTRANCE ANIMATION
   ═══════════════════════════════ */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}
.hero .hero-overline {
    animation: heroFadeUp 0.9s ease 0.25s both;
}
.hero .hero-headline {
    animation: none;
    opacity: 1;
    transform: none;
}
.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(22px);
    animation: wordReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes wordReveal {
    to { opacity: 1; transform: none; }
}
.hero .hero-sub {
    animation: heroFadeUp 0.9s ease 0.78s both;
}
.hero .hero-cta {
    animation: heroFadeUp 0.85s ease 0.95s both;
}
.hero .hero-coord {
    animation: heroFadeUp 0.9s ease 1.15s both;
}


/* ═══════════════════════════════
   TYPOGRAPHY QUALITY
   text-wrap: balance distributes display headings across lines evenly,
   preventing isolated final words. text-wrap: pretty does the same for
   body text without the full rebalancing that would feel unnatural at
   paragraph length. Both are progressive enhancements ignored by older
   browsers.
   ═══════════════════════════════ */
.opener-display,
.approach-pullout,
.cta-headline,
.contact-headline,
.philosophy-header h2,
.about-lead,
.about-pullquote,
.svc-block-lead,
.page-hero h1 { text-wrap: balance; }

.approach-prose p,
.about-body p,
.philosophy-body,
.svc-block-body p,
.contact-note,
.page-hero-sub,
.home-about-body { text-wrap: pretty; }


/* ═══════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    /* Kill all scroll reveals instantly */
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    /* Kill hero entrance and contour drift */
    .hero .contour-lt { animation: none; }
    .hero .hero-overline,
    .hero .hero-headline,
    .hero .hero-accent-line,
    .hero .hero-sub,
    .hero .hero-cta,
    .hero .hero-coord {
        animation: none;
        opacity: 1;
        transform: none;
    }
    /* Kill mobile menu stagger */
    .mobile-menu-nav a,
    .mobile-menu-contact {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .nav-mobile-btn span { transition: none; }
    /* Allow nav and button hover transitions but instant */
    #nav,
    .nav-links a,
    .svc-link,
    .btn-ghost-cream,
    .head-link,
    .home-about-cta,
    .about-sidebar-link,
    .svc-block-cta {
        transition-duration: 0.01ms !important;
    }
    /* Freeze arrow micro-interaction */
    .arr { transform: none !important; transition-duration: 0.01ms !important; }
    /* Freeze logo crossfade */
    .nav-logo-img { transition-duration: 0.01ms !important; }
    /* Show hero words and gold lines instantly */
    .hero-word { animation: none; opacity: 1; transform: none; }
    .approach-pullout::before,
    .about-pullquote::before { height: 100%; transition: none; }
}

