/* =================================================================
   EMFIMBA TECH SOLUTIONS
   Editorial luxury design system — navy + gold
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT@0,9..144,200..900,0..100;1,9..144,200..900,0..100&family=DM+Sans:opsz,wght@9..40,300..700&family=IBM+Plex+Mono:wght@300;400;500;600&display=swap');

/* -----------------------------------------------------------------
   1. Tokens
   ----------------------------------------------------------------- */
:root {
    /* Surfaces */
    --ink:          #08132A;
    --navy:         #0F1F3D;
    --navy-2:       #16284A;
    --navy-3:       #1D335E;

    /* Precious metal */
    --gold:         #C9A961;
    --gold-bright:  #E5C77E;
    --gold-dim:     #8A7437;
    --gold-deep:    #5C4D24;

    /* Paper */
    --cream:        #F4EEDC;
    --ivory:        #FAF6EB;
    --paper:        #EFE7D2;

    /* Text */
    --text-on-dark:    #E8DFC9;
    --text-on-dark-2:  rgba(232, 223, 201, 0.65);
    --text-on-dark-3:  rgba(232, 223, 201, 0.40);
    --text-on-light:   #08132A;
    --text-on-light-2: rgba(8, 19, 42, 0.65);
    --text-on-light-3: rgba(8, 19, 42, 0.40);

    /* Lines */
    --rule-on-dark:    rgba(232, 223, 201, 0.18);
    --rule-on-light:   rgba(8, 19, 42, 0.14);

    /* Type */
    --f-serif:  'Fraunces', 'Cormorant Garamond', Georgia, serif;
    --f-sans:   'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --f-mono:   'IBM Plex Mono', ui-monospace, monospace;

    /* Sizes (fluid) */
    --t-mega:    clamp(4.5rem, 14vw, 18rem);
    --t-display: clamp(3rem, 8.5vw, 9.5rem);
    --t-h1:      clamp(2.5rem, 6vw, 5.5rem);
    --t-h2:      clamp(2rem, 4.2vw, 3.75rem);
    --t-h3:      clamp(1.25rem, 2vw, 1.75rem);
    --t-lead:    clamp(1.15rem, 1.4vw, 1.5rem);
    --t-body:    1rem;
    --t-small:   0.875rem;
    --t-eyebrow: 0.72rem;

    /* Spacing */
    --gap-xs:  0.75rem;
    --gap-s:   1.25rem;
    --gap-m:   2.5rem;
    --gap-l:   5rem;
    --gap-xl:  8rem;
    --gap-xxl: 12rem;

    /* Layout */
    --shell:   min(92vw, 1440px);
    --gutter:  clamp(1.5rem, 4vw, 4rem);

    /* Motion */
    --ease:        cubic-bezier(0.2, 0.7, 0.2, 1);
    --ease-soft:   cubic-bezier(0.4, 0, 0.2, 1);
}

/* -----------------------------------------------------------------
   2. Reset
   ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
    background: var(--ink);
    color: var(--text-on-dark);
    font-family: var(--f-sans);
    font-size: var(--t-body);
    line-height: 1.55;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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

/* -----------------------------------------------------------------
   3. Atmosphere & Background
   ----------------------------------------------------------------- */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 200;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.79 0 0 0 0 0.66 0 0 0 0 0.38 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.5;
    mix-blend-mode: overlay;
}

.atmosphere {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.atmosphere::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -10%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle at 30% 30%, rgba(201, 169, 97, 0.10), transparent 60%);
    filter: blur(60px);
}
.atmosphere::after {
    content: "";
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 90vw;
    height: 90vw;
    background: radial-gradient(circle at 70% 70%, rgba(29, 51, 94, 0.65), transparent 65%);
    filter: blur(80px);
}

/* -----------------------------------------------------------------
   4. Typography utilities
   ----------------------------------------------------------------- */
.serif    { font-family: var(--f-serif); font-variation-settings: "opsz" 144, "SOFT" 30; }
.serif-it { font-family: var(--f-serif); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 30; }
.mono     { font-family: var(--f-mono); font-feature-settings: "ss01"; }

.eyebrow {
    font-family: var(--f-mono);
    font-size: var(--t-eyebrow);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.eyebrow::before {
    content: "";
    width: 1.5rem;
    height: 1px;
    background: var(--gold);
}

.eyebrow.no-line::before { display: none; }

.t-mega {
    font-family: var(--f-serif);
    font-size: var(--t-mega);
    line-height: 0.88;
    letter-spacing: -0.04em;
    font-weight: 350;
    font-variation-settings: "opsz" 144, "SOFT" 50;
}

.t-display {
    font-family: var(--f-serif);
    font-size: var(--t-display);
    line-height: 0.92;
    letter-spacing: -0.025em;
    font-weight: 350;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}

.t-h1 {
    font-family: var(--f-serif);
    font-size: var(--t-h1);
    line-height: 1.0;
    letter-spacing: -0.02em;
    font-weight: 350;
    font-variation-settings: "opsz" 96, "SOFT" 25;
}

.t-h2 {
    font-family: var(--f-serif);
    font-size: var(--t-h2);
    line-height: 1.02;
    letter-spacing: -0.018em;
    font-weight: 350;
    font-variation-settings: "opsz" 72, "SOFT" 20;
}

.t-h3 {
    font-family: var(--f-serif);
    font-size: var(--t-h3);
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-weight: 400;
}

.t-lead {
    font-size: var(--t-lead);
    line-height: 1.4;
    color: var(--text-on-dark-2);
    font-weight: 300;
    max-width: 60ch;
}

.gold      { color: var(--gold); }
.italic    { font-style: italic; }
.uppercase { text-transform: uppercase; letter-spacing: 0.06em; }

/* -----------------------------------------------------------------
   5. Layout primitives
   ----------------------------------------------------------------- */
.shell {
    width: var(--shell);
    margin-inline: auto;
    position: relative;
    z-index: 2;
}

.section {
    padding-block: var(--gap-xl);
    position: relative;
}
.section.tight  { padding-block: var(--gap-l); }
.section.huge   { padding-block: var(--gap-xxl); }

.section--cream {
    background: var(--cream);
    color: var(--text-on-light);
}
.section--cream .eyebrow { color: var(--gold-dim); }
.section--cream .eyebrow::before { background: var(--gold-dim); }
.section--cream .t-lead { color: var(--text-on-light-2); }

.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gutter);
}

.rule {
    height: 1px;
    background: var(--rule-on-dark);
    width: 100%;
}
.section--cream .rule { background: var(--rule-on-light); }

/* -----------------------------------------------------------------
   6. Top edition bar (editorial detail)
   ----------------------------------------------------------------- */
.topbar {
    border-bottom: 1px solid var(--rule-on-dark);
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-on-dark-3);
    position: relative;
    z-index: 60;
}
.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
    width: var(--shell);
    margin-inline: auto;
}
.topbar__dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
    margin-right: 0.55rem;
    vertical-align: 0.1em;
    box-shadow: 0 0 8px rgba(229, 199, 126, 0.7);
}

/* -----------------------------------------------------------------
   7. Navigation
   ----------------------------------------------------------------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 19, 42, 0.82);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    border-bottom: 1px solid var(--rule-on-dark);
}
.nav__inner {
    width: var(--shell);
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 84px;
    gap: var(--gap-m);
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.brand__logo {
    height: 72px;
    width: auto;
    display: block;
    flex-shrink: 0;
    /* Tints the entire logo to the brand gold (~#C9A961) so it reads on the dark nav. */
    filter: brightness(0) saturate(100%) invert(72%) sepia(34%) saturate(615%) hue-rotate(2deg) brightness(92%) contrast(88%) drop-shadow(0 0 10px rgba(229, 199, 126, 0.25));
}
.brand__logo--footer {
    height: 110px;
}

.nav__links {
    display: flex;
    justify-content: center;
    gap: var(--gap-m);
    font-family: var(--f-mono);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.nav__links a {
    color: var(--text-on-dark-2);
    transition: color 0.4s var(--ease);
    position: relative;
    padding-block: 0.25rem;
}
.nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-current {
    color: var(--gold-bright);
}
.nav__links a:hover::after,
.nav__links a.is-current::after { transform: scaleX(1); }

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--f-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink);
    background: var(--gold);
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    transition: background 0.4s var(--ease), transform 0.4s var(--ease);
    white-space: nowrap;
}
.nav__cta:hover { background: var(--gold-bright); transform: translateY(-2px); }
.nav__cta .arrow {
    width: 14px;
    height: 14px;
}

.nav__toggle { display: none; }

/* -----------------------------------------------------------------
   8. HERO — editorial display
   ----------------------------------------------------------------- */
.hero {
    position: relative;
    padding-top: clamp(3rem, 7vw, 7rem);
    padding-bottom: var(--gap-xl);
    overflow: hidden;
}

.hero__meta {
    width: var(--shell);
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: clamp(2rem, 5vw, 4rem);
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-on-dark-3);
}
.hero__meta span:last-child { color: var(--gold); }

.hero__headline {
    width: var(--shell);
    margin-inline: auto;
    position: relative;
}
.hero__headline h1 {
    font-family: var(--f-serif);
    font-size: var(--t-mega);
    line-height: 0.86;
    letter-spacing: -0.045em;
    font-weight: 300;
    font-variation-settings: "opsz" 144, "SOFT" 60;
}
.hero__headline .word {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: hero-rise 1.1s var(--ease) forwards;
}
.hero__headline .word:nth-child(1) { animation-delay: 0.1s; }
.hero__headline .word:nth-child(2) { animation-delay: 0.25s; }
.hero__headline .word:nth-child(3) { animation-delay: 0.40s; }
.hero__headline .word:nth-child(4) { animation-delay: 0.55s; }
.hero__headline .word--indent { padding-left: 12%; }
.hero__headline .word--shift  { padding-left: 25%; }
.hero__headline em {
    font-style: italic;
    color: var(--gold);
    font-variation-settings: "opsz" 144, "SOFT" 80;
}

@keyframes hero-rise {
    to { opacity: 1; transform: translateY(0); }
}

.hero__sub {
    width: var(--shell);
    margin-inline: auto;
    margin-top: clamp(2.5rem, 5vw, 5rem);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--gap-m);
    align-items: end;
    border-top: 1px solid var(--rule-on-dark);
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
}
.hero__lead {
    max-width: 38ch;
    font-size: var(--t-lead);
    color: var(--text-on-dark-2);
    line-height: 1.45;
    font-weight: 300;
}
.hero__lead em { color: var(--gold); font-style: italic; font-family: var(--f-serif); }

.hero__cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.hero__decorations {
    position: absolute;
    pointer-events: none;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.hero__deco-line {
    position: absolute;
    background: var(--gold);
    height: 1px;
    transform-origin: left;
    animation: line-draw 1.4s var(--ease) 1s both;
}
.hero__deco-line--1 { top: 28%; right: 4%; width: 14%; opacity: 0.5; }
.hero__deco-line--2 { bottom: 38%; left: 2%; width: 8%; opacity: 0.35; }
@keyframes line-draw {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.hero__marquee {
    position: absolute;
    bottom: -3vw;
    left: -10%;
    right: -10%;
    z-index: 0;
    overflow: hidden;
    opacity: 0.045;
    pointer-events: none;
}
.hero__marquee span {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 22vw;
    line-height: 1;
    white-space: nowrap;
    display: inline-block;
    color: var(--gold);
    animation: drift 40s linear infinite;
}
@keyframes drift {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* -----------------------------------------------------------------
   9. Buttons
   ----------------------------------------------------------------- */
.btn {
    --bg: var(--gold);
    --fg: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--f-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 1.15rem 1.65rem;
    background: var(--bg);
    color: var(--fg);
    border-radius: 999px;
    transition: transform 0.45s var(--ease), background 0.45s var(--ease), box-shadow 0.45s var(--ease);
    box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 12px 30px -10px rgba(201, 169, 97, 0.5);
}
.btn:hover {
    background: var(--gold-bright);
    transform: translateY(-3px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 18px 40px -10px rgba(201, 169, 97, 0.7);
}
.btn .arrow { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-2deg); }

.btn--ghost {
    --bg: transparent;
    --fg: var(--text-on-dark);
    border: 1px solid var(--rule-on-dark);
    box-shadow: none;
}
.btn--ghost:hover {
    background: rgba(201, 169, 97, 0.08);
    color: var(--gold-bright);
    border-color: var(--gold);
    box-shadow: none;
}
.btn--inline {
    padding: 0.5rem 0;
    background: none;
    color: var(--gold);
    box-shadow: none;
    border-bottom: 1px solid var(--gold);
    border-radius: 0;
}
.btn--inline:hover { background: none; transform: translateX(4px); box-shadow: none; }

.link-card {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--f-mono);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--rule-on-dark);
    transition: color 0.35s var(--ease), border-color 0.35s var(--ease), gap 0.35s var(--ease);
}
.link-card:hover { color: var(--gold-bright); border-color: var(--gold); gap: 0.9rem; }

/* -----------------------------------------------------------------
   10. Mission pull-quote
   ----------------------------------------------------------------- */
.mission {
    padding-block: var(--gap-l);
    position: relative;
}
.mission__inner {
    width: var(--shell);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 9fr;
    gap: var(--gutter);
    align-items: start;
    border-top: 1px solid var(--rule-on-dark);
    padding-top: var(--gap-m);
}
.mission__label {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-on-dark-3);
}
.mission__body {
    font-family: var(--f-serif);
    font-size: clamp(1.4rem, 2.9vw, 2.6rem);
    line-height: 1.18;
    font-weight: 300;
    letter-spacing: -0.015em;
    color: var(--ivory);
    font-variation-settings: "opsz" 72, "SOFT" 30;
    max-width: 30ch;
}
.mission__body em {
    font-style: italic;
    color: var(--gold);
    font-variation-settings: "opsz" 72, "SOFT" 90;
}
.mission__body .open-q {
    color: var(--gold);
    font-style: italic;
    margin-right: 0.05em;
    font-size: 1.4em;
    line-height: 0;
    vertical-align: -0.18em;
}

/* -----------------------------------------------------------------
   11. Services index — editorial list
   ----------------------------------------------------------------- */
.services-idx {
    padding-block: var(--gap-xl);
    background: var(--cream);
    color: var(--text-on-light);
    position: relative;
    overflow: hidden;
}
.services-idx__inner {
    width: var(--shell);
    margin-inline: auto;
}
.services-idx__head {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: var(--gutter);
    align-items: end;
    padding-bottom: var(--gap-m);
    border-bottom: 1px solid var(--rule-on-light);
}
.services-idx__title {
    font-family: var(--f-serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.025em;
    font-weight: 300;
    font-variation-settings: "opsz" 144, "SOFT" 45;
    color: var(--ink);
}
.services-idx__title em {
    font-style: italic;
    color: var(--gold-dim);
    font-variation-settings: "opsz" 144, "SOFT" 90;
}
.services-idx__intro {
    font-size: var(--t-lead);
    color: var(--text-on-light-2);
    max-width: 38ch;
    line-height: 1.45;
}

.svc-row {
    display: grid;
    grid-template-columns: 80px 1fr auto 60px;
    align-items: center;
    gap: var(--gutter);
    padding: clamp(1.8rem, 3.4vw, 2.6rem) 0;
    border-bottom: 1px solid var(--rule-on-light);
    position: relative;
    cursor: pointer;
    transition: padding 0.45s var(--ease);
}
.svc-row::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.10), transparent);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}
.svc-row:hover::before { opacity: 1; }
.svc-row:hover { padding-left: 1rem; }

.svc-row__num {
    font-family: var(--f-mono);
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    color: var(--gold-dim);
    font-weight: 500;
}
.svc-row__title {
    font-family: var(--f-serif);
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    line-height: 1;
    letter-spacing: -0.018em;
    font-weight: 350;
    font-variation-settings: "opsz" 96, "SOFT" 35;
    color: var(--ink);
    transition: color 0.45s var(--ease), transform 0.45s var(--ease);
}
.svc-row:hover .svc-row__title {
    font-style: italic;
    color: var(--gold-dim);
    font-variation-settings: "opsz" 96, "SOFT" 100;
}
.svc-row__desc {
    font-size: 0.92rem;
    line-height: 1.5;
    max-width: 32ch;
    color: var(--text-on-light-2);
    font-weight: 300;
}
.svc-row__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--rule-on-light);
    display: grid;
    place-items: center;
    transition: background 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease);
    color: var(--gold-dim);
}
.svc-row:hover .svc-row__arrow {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--gold);
    transform: rotate(-45deg);
}
.svc-row__arrow svg { width: 16px; height: 16px; }

.services-idx__foot {
    margin-top: var(--gap-m);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.services-idx__foot .note {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-on-light-3);
}

.services-idx::after {
    content: "EMFIMBA";
    position: absolute;
    right: -2vw;
    bottom: -3vw;
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 22vw;
    line-height: 1;
    color: var(--ink);
    opacity: 0.04;
    letter-spacing: -0.03em;
    pointer-events: none;
    font-variation-settings: "opsz" 144, "SOFT" 100;
}

/* -----------------------------------------------------------------
   12. Why us — pillars
   ----------------------------------------------------------------- */
.pillars {
    padding-block: var(--gap-xl);
}
.pillars__inner {
    width: var(--shell);
    margin-inline: auto;
}
.pillars__head {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: var(--gutter);
    margin-bottom: var(--gap-l);
    align-items: end;
}
.pillars__head h2 em {
    font-style: italic;
    color: var(--gold);
}

.pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule-on-dark);
    border-left: 1px solid var(--rule-on-dark);
}
.pillar {
    border-right: 1px solid var(--rule-on-dark);
    border-bottom: 1px solid var(--rule-on-dark);
    padding: var(--gap-m);
    position: relative;
    transition: background 0.5s var(--ease);
}
.pillar:nth-child(3n) { border-right: 0; }
.pillar:hover { background: rgba(201, 169, 97, 0.04); }
.pillar__num {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: var(--gold);
    margin-bottom: clamp(2.5rem, 6vw, 5rem);
    display: block;
}
.pillar__title {
    font-family: var(--f-serif);
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
    font-weight: 350;
    font-variation-settings: "opsz" 72, "SOFT" 30;
    margin-bottom: 1rem;
}
.pillar__title em { font-style: italic; color: var(--gold); }
.pillar__body {
    color: var(--text-on-dark-2);
    line-height: 1.5;
    font-size: 0.96rem;
    font-weight: 300;
    max-width: 36ch;
}

/* -----------------------------------------------------------------
   13. Process — vertical timeline
   ----------------------------------------------------------------- */
.process {
    padding-block: var(--gap-xl);
    background: linear-gradient(180deg, var(--ink) 0%, var(--navy) 100%);
    position: relative;
    overflow: hidden;
}
.process__inner {
    width: var(--shell);
    margin-inline: auto;
}
.process__head {
    margin-bottom: var(--gap-l);
    max-width: 700px;
}

.process__list {
    display: grid;
    gap: 0;
    counter-reset: step;
}
.step {
    display: grid;
    grid-template-columns: 100px 1fr 5fr;
    gap: var(--gutter);
    padding: clamp(2rem, 3.5vw, 2.75rem) 0;
    border-top: 1px solid var(--rule-on-dark);
    align-items: start;
    position: relative;
}
.step:last-child { border-bottom: 1px solid var(--rule-on-dark); }
.step__num {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: var(--gold);
    line-height: 1;
    font-variation-settings: "opsz" 72, "SOFT" 90;
}
.step__title {
    font-family: var(--f-serif);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    line-height: 1.05;
    font-weight: 350;
    letter-spacing: -0.015em;
    font-variation-settings: "opsz" 72, "SOFT" 25;
}
.step__body {
    color: var(--text-on-dark-2);
    line-height: 1.55;
    font-weight: 300;
    max-width: 56ch;
}

/* -----------------------------------------------------------------
   14. Testimonial / pull-quote
   ----------------------------------------------------------------- */
.testimonial {
    padding-block: var(--gap-xl);
    position: relative;
}
.testimonial__inner {
    width: var(--shell);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 11fr;
    gap: var(--gutter);
    align-items: start;
}
.testimonial__quote-mark {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: clamp(6rem, 12vw, 14rem);
    color: var(--gold);
    line-height: 0.6;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    opacity: 0.6;
}
.testimonial__body p {
    font-family: var(--f-serif);
    font-size: clamp(1.7rem, 3.2vw, 3rem);
    line-height: 1.18;
    font-weight: 300;
    letter-spacing: -0.018em;
    font-variation-settings: "opsz" 144, "SOFT" 35;
    color: var(--ivory);
    max-width: 22ch;
}
.testimonial__body em { font-style: italic; color: var(--gold); }

.testimonial__attrib {
    margin-top: var(--gap-m);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--f-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-on-dark-2);
}
.testimonial__attrib .dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

/* -----------------------------------------------------------------
   15. CTA — closer
   ----------------------------------------------------------------- */
.cta {
    padding-block: var(--gap-xl);
    background: var(--ink);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--rule-on-dark);
}
.cta::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90vw;
    height: 90vw;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(201, 169, 97, 0.10), transparent 55%);
    pointer-events: none;
}
.cta__inner {
    width: var(--shell);
    margin-inline: auto;
    text-align: center;
    position: relative;
    z-index: 2;
}
.cta__eyebrow {
    margin-inline: auto;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.cta__title {
    font-family: var(--f-serif);
    font-size: clamp(3rem, 8vw, 8rem);
    line-height: 0.94;
    letter-spacing: -0.03em;
    font-weight: 300;
    font-variation-settings: "opsz" 144, "SOFT" 50;
    margin: 1.5rem 0;
}
.cta__title em {
    font-style: italic;
    color: var(--gold);
    font-variation-settings: "opsz" 144, "SOFT" 90;
}
.cta__sub {
    font-size: var(--t-lead);
    color: var(--text-on-dark-2);
    max-width: 52ch;
    margin: 0 auto var(--gap-m);
    line-height: 1.45;
    font-weight: 300;
}
.cta__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* -----------------------------------------------------------------
   16. Footer
   ----------------------------------------------------------------- */
.footer {
    background: #050C1C;
    color: var(--text-on-dark);
    padding-top: var(--gap-l);
    padding-bottom: var(--gap-s);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--rule-on-dark);
}
.footer__inner { width: var(--shell); margin-inline: auto; position: relative; z-index: 2; }
.footer__top {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: var(--gutter);
    padding-bottom: var(--gap-m);
    border-bottom: 1px solid var(--rule-on-dark);
}
.footer__tag {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-on-dark-2);
    font-weight: 300;
    max-width: 36ch;
}
.footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gutter);
}
.footer__col h4 {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
    font-weight: 500;
}
.footer__col ul { display: grid; gap: 0.6rem; }
.footer__col a {
    color: var(--text-on-dark-2);
    font-size: 0.92rem;
    transition: color 0.35s var(--ease);
}
.footer__col a:hover { color: var(--gold-bright); }

.footer__big {
    padding-block: var(--gap-m);
    text-align: center;
    border-bottom: 1px solid var(--rule-on-dark);
}
.footer__big-word {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: clamp(4rem, 16vw, 16rem);
    color: transparent;
    -webkit-text-stroke: 1px var(--gold);
    text-stroke: 1px var(--gold);
    letter-spacing: -0.04em;
    line-height: 0.85;
    font-variation-settings: "opsz" 144, "SOFT" 100;
}

.footer__legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--gap-s);
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-on-dark-3);
    flex-wrap: wrap;
    gap: 1rem;
}
.footer__legal a:hover { color: var(--gold); }

/* -----------------------------------------------------------------
   17. PAGE HEADERS (interior pages)
   ----------------------------------------------------------------- */
.page-head {
    padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
    border-bottom: 1px solid var(--rule-on-dark);
    position: relative;
}
.page-head__inner {
    width: var(--shell);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 6fr 6fr;
    gap: var(--gutter);
    align-items: end;
}
.page-head__crumbs {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-on-dark-3);
    margin-bottom: 1.5rem;
}
.page-head__crumbs a:hover { color: var(--gold); }
.page-head__title {
    font-family: var(--f-serif);
    font-size: clamp(3rem, 7.5vw, 7rem);
    line-height: 0.92;
    letter-spacing: -0.035em;
    font-weight: 300;
    font-variation-settings: "opsz" 144, "SOFT" 50;
}
.page-head__title em {
    font-style: italic;
    color: var(--gold);
    font-variation-settings: "opsz" 144, "SOFT" 100;
}
.page-head__sub {
    font-size: var(--t-lead);
    color: var(--text-on-dark-2);
    max-width: 44ch;
    line-height: 1.45;
    font-weight: 300;
}

/* -----------------------------------------------------------------
   18. SERVICES DETAIL (services.html)
   ----------------------------------------------------------------- */
.svc-detail {
    padding-block: clamp(3rem, 7vw, 6rem);
    border-bottom: 1px solid var(--rule-on-dark);
    position: relative;
}
.svc-detail:nth-child(even) { background: rgba(15, 31, 61, 0.4); }
.svc-detail__inner {
    width: var(--shell);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 11fr;
    gap: var(--gutter);
    align-items: start;
}
.svc-detail__num {
    font-family: var(--f-mono);
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    color: var(--gold);
    padding-top: 0.5rem;
}
.svc-detail__grid {
    display: grid;
    grid-template-columns: 6fr 6fr;
    gap: var(--gutter);
}
.svc-detail__title {
    font-family: var(--f-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 0.96;
    letter-spacing: -0.025em;
    font-weight: 300;
    font-variation-settings: "opsz" 144, "SOFT" 40;
    margin-bottom: 1.5rem;
}
.svc-detail__title em {
    font-style: italic;
    color: var(--gold);
    font-variation-settings: "opsz" 144, "SOFT" 100;
}
.svc-detail__tag {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 1rem;
    display: block;
}
.svc-detail__lead {
    font-size: var(--t-lead);
    color: var(--text-on-dark);
    line-height: 1.5;
    font-weight: 300;
    margin-bottom: 1.5rem;
}
.svc-detail__list {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}
.svc-detail__list li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 0.75rem;
    align-items: baseline;
    color: var(--text-on-dark-2);
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
}
.svc-detail__list li::before {
    content: "";
    width: 8px;
    height: 8px;
    border: 1px solid var(--gold);
    transform: rotate(45deg) translateY(0.35em);
    margin-left: 6px;
}

/* -----------------------------------------------------------------
   19. ABOUT page
   ----------------------------------------------------------------- */
.about-story {
    padding-block: clamp(4rem, 8vw, 7rem);
}
.about-story__inner {
    width: var(--shell);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: var(--gutter);
}
.about-story__label {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    position: sticky;
    top: 110px;
    align-self: start;
}
.about-story__body {
    font-family: var(--f-serif);
    font-size: clamp(1.4rem, 2.5vw, 2.1rem);
    line-height: 1.3;
    font-weight: 300;
    color: var(--ivory);
    letter-spacing: -0.012em;
    font-variation-settings: "opsz" 96, "SOFT" 35;
    max-width: 36ch;
}
.about-story__body p + p { margin-top: 1.4rem; }
.about-story__body em {
    font-style: italic;
    color: var(--gold);
    font-variation-settings: "opsz" 96, "SOFT" 90;
}

.values {
    padding-block: clamp(4rem, 8vw, 7rem);
    background: var(--cream);
    color: var(--text-on-light);
    position: relative;
    overflow: hidden;
}
.values__inner {
    width: var(--shell);
    margin-inline: auto;
}
.values__head { max-width: 800px; margin-bottom: var(--gap-l); }
.values__head h2 em { font-style: italic; color: var(--gold-dim); }
.values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule-on-light);
}
.value {
    padding: var(--gap-m) 1.5rem;
    border-right: 1px solid var(--rule-on-light);
    border-bottom: 1px solid var(--rule-on-light);
    position: relative;
}
.value:nth-child(4n) { border-right: 0; }
.value__icon {
    width: 36px;
    height: 36px;
    color: var(--gold-dim);
    margin-bottom: 2rem;
}
.value__title {
    font-family: var(--f-serif);
    font-size: 1.5rem;
    line-height: 1.1;
    font-weight: 400;
    font-variation-settings: "opsz" 72, "SOFT" 35;
    color: var(--ink);
    margin-bottom: 0.8rem;
}
.value__title em { font-style: italic; color: var(--gold-dim); }
.value__body {
    font-size: 0.92rem;
    color: var(--text-on-light-2);
    line-height: 1.5;
    font-weight: 300;
}

.stats {
    padding-block: var(--gap-l);
    border-top: 1px solid var(--rule-on-dark);
    border-bottom: 1px solid var(--rule-on-dark);
}
.stats__inner {
    width: var(--shell);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gutter);
}
.stat__num {
    font-family: var(--f-serif);
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--gold);
    font-variation-settings: "opsz" 144, "SOFT" 50;
    font-weight: 300;
    margin-bottom: 0.6rem;
}
.stat__num sup {
    font-size: 0.35em;
    color: var(--gold-dim);
    vertical-align: 0.9em;
    font-family: var(--f-mono);
    letter-spacing: 0.1em;
    margin-left: 0.1em;
}
.stat__label {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-on-dark-2);
}

/* -----------------------------------------------------------------
   20. CONTACT page
   ----------------------------------------------------------------- */
.contact-grid {
    padding-block: clamp(4rem, 8vw, 7rem);
}
.contact-grid__inner {
    width: var(--shell);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: var(--gutter);
    align-items: start;
}

.contact-info {
    display: grid;
    gap: var(--gap-m);
    position: sticky;
    top: 110px;
}
.contact-info__block label {
    display: block;
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.7rem;
}
.contact-info__block .val {
    font-family: var(--f-serif);
    font-size: 1.4rem;
    color: var(--ivory);
    line-height: 1.25;
    font-weight: 350;
    font-variation-settings: "opsz" 72, "SOFT" 25;
}
.contact-info__block .val em { font-style: italic; color: var(--gold); }
.contact-info__block a:hover { color: var(--gold); }

.contact-form {
    padding: clamp(2rem, 4vw, 3rem);
    background: rgba(15, 31, 61, 0.4);
    border: 1px solid var(--rule-on-dark);
    position: relative;
}
.contact-form::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 40px;
    height: 40px;
    border-top: 1px solid var(--gold);
    border-left: 1px solid var(--gold);
    pointer-events: none;
}
.contact-form::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 40px;
    height: 40px;
    border-bottom: 1px solid var(--gold);
    border-right: 1px solid var(--gold);
    pointer-events: none;
}
.contact-form__title {
    font-family: var(--f-serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.05;
    font-weight: 350;
    font-variation-settings: "opsz" 96, "SOFT" 30;
    margin-bottom: 0.5rem;
}
.contact-form__title em { font-style: italic; color: var(--gold); }
.contact-form__sub {
    color: var(--text-on-dark-2);
    margin-bottom: var(--gap-m);
    font-weight: 300;
    line-height: 1.5;
}

.field {
    margin-bottom: 1.5rem;
    position: relative;
}
.field label {
    font-family: var(--f-mono);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-on-dark-2);
    display: block;
    margin-bottom: 0.55rem;
}
.field input,
.field textarea,
.field select {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--rule-on-dark);
    padding: 0.85rem 0;
    color: var(--ivory);
    font-family: var(--f-serif);
    font-size: 1.15rem;
    font-weight: 350;
    font-variation-settings: "opsz" 36, "SOFT" 20;
    transition: border-color 0.4s var(--ease);
}
.field textarea {
    resize: vertical;
    min-height: 110px;
    font-family: var(--f-sans);
    font-size: 1rem;
}
.field select { appearance: none; }
.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: 0;
    border-color: var(--gold);
}
.field input::placeholder,
.field textarea::placeholder {
    color: var(--text-on-dark-3);
    font-style: italic;
}

.fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gutter);
}

.contact-form .btn { margin-top: 1rem; width: 100%; justify-content: center; }

/* -----------------------------------------------------------------
   21. ANIMATIONS / SCROLL REVEALS
   ----------------------------------------------------------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* Cursor trail */
.cursor-dot {
    position: fixed;
    pointer-events: none;
    z-index: 999;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.15s var(--ease), opacity 0.4s var(--ease), background 0.4s var(--ease);
    mix-blend-mode: difference;
    opacity: 0;
}
.cursor-ring {
    position: fixed;
    pointer-events: none;
    z-index: 998;
    width: 36px;
    height: 36px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.35s var(--ease), opacity 0.4s var(--ease), width 0.35s var(--ease), height 0.35s var(--ease);
    mix-blend-mode: difference;
    opacity: 0;
}
@media (hover: hover) {
    body:hover .cursor-dot,
    body:hover .cursor-ring { opacity: 1; }
    body.cursor-hover .cursor-ring { width: 64px; height: 64px; border-color: var(--gold-bright); }
}

/* -----------------------------------------------------------------
   22. Responsive
   ----------------------------------------------------------------- */
@media (max-width: 1024px) {
    .nav__inner { grid-template-columns: auto 1fr auto; }
    .nav__cta { padding: 0.8rem 1.1rem; font-size: 0.7rem; }
    .pillars__head,
    .services-idx__head,
    .footer__top,
    .testimonial__inner,
    .about-story__inner,
    .contact-grid__inner,
    .page-head__inner,
    .svc-detail__inner,
    .svc-detail__grid,
    .mission__inner,
    .pillars__head {
        grid-template-columns: 1fr;
    }
    .pillars__grid { grid-template-columns: 1fr 1fr; }
    .pillar:nth-child(3n) { border-right: 1px solid var(--rule-on-dark); }
    .pillar:nth-child(2n) { border-right: 0; }
    .values__grid { grid-template-columns: 1fr 1fr; }
    .value:nth-child(4n) { border-right: 1px solid var(--rule-on-light); }
    .value:nth-child(2n) { border-right: 0; }
    .step { grid-template-columns: 60px 2fr 5fr; gap: 1.5rem; }
    .stats__inner { grid-template-columns: 1fr 1fr; gap: var(--gap-m); }
    .footer__nav { grid-template-columns: 1fr 1fr; }
    .about-story__label { position: static; }
    .contact-info { position: static; }
    .svc-row { grid-template-columns: 60px 1fr 44px; }
    .svc-row__desc { grid-column: 2; max-width: 50ch; margin-top: 0.5rem; }
}

@media (max-width: 720px) {
    .topbar__inner { font-size: 0.6rem; }
    .topbar__inner span:nth-child(2) { display: none; }
    .nav__links {
        position: fixed;
        inset: 84px 0 0 0;
        flex-direction: column;
        background: var(--ink);
        padding: 3rem var(--gutter);
        gap: 1.5rem;
        align-items: flex-start;
        transform: translateY(-100%);
        transition: transform 0.5s var(--ease);
        font-size: 1rem;
        border-top: 1px solid var(--rule-on-dark);
    }
    .nav__links a { font-size: 1.1rem; }
    .nav.is-open .nav__links { transform: translateY(0); }
    .nav__toggle {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        border: 1px solid var(--rule-on-dark);
        border-radius: 50%;
        color: var(--gold);
        margin-left: 0.5rem;
    }
    .nav__cta { display: none; }

    .hero__sub { grid-template-columns: 1fr; }
    .hero__cta-group { align-items: flex-start; }
    .hero__headline .word--indent { padding-left: 6%; }
    .hero__headline .word--shift  { padding-left: 14%; }

    .svc-row { grid-template-columns: 50px 1fr 36px; gap: 1rem; padding: 1.5rem 0; }
    .svc-row__desc { display: none; }
    .svc-row__arrow { width: 36px; height: 36px; }
    .pillars__grid { grid-template-columns: 1fr; }
    .pillar, .value { border-right: 0 !important; padding: 1.75rem 1.5rem; }
    .step { grid-template-columns: 40px 1fr; padding-left: 0; }
    .step__num { grid-row: 1; }
    .step__title { grid-column: 2; }
    .step__body { grid-column: 1 / -1; }

    .values__grid { grid-template-columns: 1fr; }
    .stats__inner { grid-template-columns: 1fr; }
    .footer__nav { grid-template-columns: 1fr; gap: 2rem; }
    .footer__legal { flex-direction: column; align-items: flex-start; }
    .fields-row { grid-template-columns: 1fr; }
    .svc-detail__grid { grid-template-columns: 1fr; }
    .svc-detail__inner { grid-template-columns: 1fr; }
    .svc-detail__num { padding-top: 0; }
    .testimonial__inner { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------------
   23. Print
   ----------------------------------------------------------------- */
@media print {
    .nav, .topbar, .footer, .cta, .atmosphere, .hero__marquee, body::before { display: none !important; }
    body { background: white; color: black; }
}
