/* =========================================================
   ISOTOKUHR — single-page site · black, gold & cream
   ========================================================= */

:root {
    --black: #0c0c0c;
    --gold: #d4a64a;
    --gold-light: #f1d48c;
    --gold-deep: #a07a2e;
    --gold-ink: #8a6418;          /* gold text on light backgrounds (4.5:1+) */
    --gold-metal: linear-gradient(135deg, #f6dd9c 0%, #e2b85f 32%, #c39338 58%, #f1d48c 78%, #a9802f 100%);
    --cream: #f7f3ea;
    --ink: #151515;

    /* Dark-tone sections (swapped by the light theme) */
    --d-bg: #121212;
    --d-bg-alt: #0b0b0b;
    --d-surface: #191919;
    --d-surface-2: #1f1f1f;
    --d-text: #f4efe4;
    --d-muted: #aaa49a;
    --d-line: rgba(212, 166, 74, .14);
    --d-accent: #e9c47a;

    /* Alternate sections: a deeper black, like the card face (light theme turns these white) */
    --c-bg: #0d0d0d;
    --c-surface: #161616;
    --c-surface-solid: #141414;
    --c-text: #f4efe4;
    --c-muted: #aaa49a;
    --c-line: rgba(212, 166, 74, .14);
    --c-accent: #e9c47a;

    --header-glass: rgba(12, 12, 12, .8);
    --shadow-soft: 0 20px 50px rgba(0, 0, 0, .08);
    --radius: 18px;
    --font-serif: 'Montserrat', system-ui, sans-serif; /* headings: the business card's lettering */
    --font-sans: 'Montserrat', system-ui, sans-serif;
    color-scheme: dark;
}

:root[data-theme="light"] {
    --d-bg: #fbf8f1;
    --d-bg-alt: #f3eee3;
    --d-surface: #ffffff;
    --d-surface-2: #f6f1e6;
    --d-text: #151b22;
    --d-muted: #5f666b;
    --d-line: #e5dfd2;
    --d-accent: #8a6418;
    --c-bg: #ffffff;
    --c-surface: #fbf8f1;
    --c-surface-solid: #fbf8f1;
    --c-text: #151515;
    --c-muted: #5f666b;
    --c-line: #e2dccf;
    --c-accent: #8a6418;
    --header-glass: rgba(255, 253, 248, .86);
    color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--font-sans); background: var(--d-bg); color: var(--d-text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }

.container { width: min(1200px, 100% - 64px); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tones ---------- */
.tone-dark { background: var(--d-bg); color: var(--d-text); --text: var(--d-text); --muted: var(--d-muted); --line: var(--d-line); --surface: var(--d-surface); --accent: var(--d-accent); }
.tone-cream { background: var(--c-bg); color: var(--c-text); --text: var(--c-text); --muted: var(--c-muted); --line: var(--c-line); --surface: var(--c-surface); --accent: var(--c-accent); }
.accent { font-style: normal; color: var(--accent, var(--d-accent)); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 700 13px/1 var(--font-sans);
    letter-spacing: .2px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
}
.btn svg { transition: transform .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { padding: 16px 28px; font-size: 14px; }
.btn-gold { background: var(--gold-metal); background-size: 200% 200%; background-position: 0% 50%; color: #1a1408; transition: transform .25s, box-shadow .25s, background-position .6s; }
.btn-gold:hover { background-position: 100% 50%; }
.btn-gold:hover { box-shadow: 0 12px 30px rgba(212, 166, 74, .3); }
.btn-outline { border-color: rgba(232, 185, 87, .65); color: var(--text, var(--d-text)); background: transparent; }
.btn-outline:hover { background: rgba(232, 185, 87, .1); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0; transition: background .3s, padding .3s, box-shadow .3s; }
.site-header.scrolled { padding: 10px 0; background: var(--header-glass); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--d-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--d-text); }
.brand-mark { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.brand-name { line-height: 1.1; }
.brand-name strong { display: block; color: var(--d-accent); font: 700 19px var(--font-sans); letter-spacing: 2.5px; }
.brand-name span { display: block; margin-top: 4px; color: var(--d-muted); font-size: 9.5px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { position: relative; padding: 6px 0; color: var(--d-text); font-size: 13.5px; font-weight: 500; text-decoration: none; opacity: .82; transition: opacity .2s, color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--d-accent); }
.nav-links a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
    position: relative;
    width: 40px; height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--d-line);
    border-radius: 50%;
    background: transparent;
    color: var(--d-text);
    cursor: pointer;
    overflow: hidden;
    transition: border-color .2s, transform .2s;
}
.theme-toggle:hover { border-color: var(--gold); transform: rotate(12deg); }
.theme-toggle svg { position: absolute; transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .3s; }
.theme-toggle .icon-moon { transform: translateY(24px) rotate(-60deg); opacity: 0; }
:root[data-theme="light"] .theme-toggle .icon-sun { transform: translateY(-24px) rotate(60deg); opacity: 0; }
:root[data-theme="light"] .theme-toggle .icon-moon { transform: none; opacity: 1; }

.menu-btn { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); cursor: pointer; }
.menu-btn span { width: 18px; height: 2px; border-radius: 2px; background: #17130b; }
.menu-btn span:nth-child(2) { width: 12px; margin-left: 6px; }

/* ---------- Drawer (mobile menu) ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.drawer.open { pointer-events: auto; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(380px, 100%);
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 22px 28px 28px;
    overflow-y: auto;
    background: radial-gradient(circle at 100% 0%, rgba(232, 185, 87, .14), transparent 45%), var(--d-bg);
    border-left: 1px solid var(--d-line);
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-close { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--d-line); border-radius: 50%; background: transparent; color: var(--d-text); cursor: pointer; }
.drawer-links { display: flex; flex-direction: column; }
.drawer-links a { padding: 14px 0; border-bottom: 1px solid var(--d-line); font: 500 24px var(--font-serif); text-decoration: none; transition: color .2s, padding .3s; }
.drawer-links a:hover { color: var(--d-accent); padding-left: 6px; }
.drawer-theme { display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.drawer-contact { display: flex; flex-direction: column; gap: 10px; margin-top: auto; color: var(--d-muted); font-size: 14px; }
.drawer-contact a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.drawer-contact a:hover { color: var(--d-accent); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: min(100vh, 920px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 18%, rgba(232, 185, 87, .14), transparent 36%),
        radial-gradient(circle at 12% 85%, rgba(232, 185, 87, .06), transparent 32%),
        linear-gradient(135deg, var(--d-bg-alt) 0%, var(--d-bg) 55%, var(--d-bg-alt) 100%);
    color: var(--d-text);
    --text: var(--d-text);
    --accent: var(--d-accent);
}
.hero-scene { position: absolute; inset: 0; opacity: .55; mask-image: radial-gradient(ellipse at 50% 50%, #000 25%, transparent 75%); pointer-events: none; }
.hero-scene canvas { width: 100% !important; height: 100% !important; }
.hero-rings span { position: absolute; border: 1px solid rgba(232, 185, 87, .13); border-radius: 50%; pointer-events: none; }
.hero-rings span:nth-child(1) { width: 640px; height: 640px; right: -200px; top: -200px; animation: drift 18s ease-in-out infinite; }
.hero-rings span:nth-child(2) { width: 380px; height: 380px; right: 60px; bottom: -220px; border-color: rgba(232, 185, 87, .08); animation: drift 22s ease-in-out infinite reverse; }
.hero-rings span:nth-child(3) { width: 260px; height: 260px; left: -120px; top: 30%; border-color: rgba(232, 185, 87, .07); animation: drift 26s ease-in-out infinite; }
@keyframes drift { 50% { transform: translate(18px, -14px) scale(1.03); } }

.hero-inner { position: relative; z-index: 2; padding: 150px 0 110px; }
.hero--centered .hero-copy { max-width: 900px; margin: 0 auto; text-align: center; }
.hero--split .hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }

.eyebrow { margin-bottom: 24px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; }
.hero h1 { margin-bottom: 26px; font-size: clamp(42px, 7.4vw, 88px); line-height: 1.04; letter-spacing: -.5px; }
.hero--split h1 { font-size: clamp(40px, 5.6vw, 72px); }
.hero h1 .accent { color: var(--d-accent); }
.hero-subtitle { margin-bottom: 18px; font-size: clamp(17px, 2.4vw, 23px); font-weight: 500; opacity: .92; }
.hero-text { max-width: 640px; margin-bottom: 38px; color: var(--d-muted); font-size: 16px; line-height: 1.8; }
.hero--centered .hero-text { margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero--centered .hero-buttons { justify-content: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 56px; padding: 10px 20px; border: 1px solid rgba(232, 185, 87, .3); border-radius: 999px; color: var(--d-muted); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(232, 185, 87, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(232, 185, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 185, 87, 0); } }

.hero-visual { position: relative; align-self: end; height: min(640px, 72vh); margin-bottom: -110px; }
.hero-arch { position: absolute; left: 8%; right: 0; bottom: 0; height: 82%; border-radius: 300px 300px 0 0; background: linear-gradient(180deg, rgba(232, 185, 87, .22), rgba(232, 185, 87, .04)); border: 1px solid rgba(232, 185, 87, .3); border-bottom: 0; }
.hero-person { position: absolute; bottom: 0; left: 50%; transform: translateX(-46%); height: 100%; width: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 2; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(232, 185, 87, .5); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.hero--split .scroll-cue { display: none; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 110px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; }
.section-label::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-title { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 18px; letter-spacing: -.3px; }
.section-intro { color: var(--muted); font-size: 16px; line-height: 1.75; }
.section-head--split .section-intro { margin-bottom: 18px; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 230px;
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s, transform .5s cubic-bezier(.22, 1, .36, 1);
}
.service-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold-light), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.service-card:hover { border-color: rgba(232, 185, 87, .7); box-shadow: var(--shadow-soft); }
.service-card:hover::after { transform: scaleX(1); }
.service-thumb { height: 130px; width: calc(100% + 48px); margin: -28px -24px 22px; object-fit: cover; }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.service-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(232, 185, 87, .14); color: var(--accent); transition: background .3s, color .3s; }
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #17130b; }
.service-num { font: 600 13px var(--font-sans); color: var(--muted); opacity: .7; }
.service-card h3 { margin-bottom: 10px; font-size: 21px; }
.service-card p { color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.service-card--cta { justify-content: flex-end; gap: 6px; background: linear-gradient(135deg, rgba(212, 166, 74, .16), rgba(212, 166, 74, .03)); border-color: rgba(212, 166, 74, .4); color: var(--text); text-decoration: none; }
:root[data-theme="light"] .service-card--cta { background: #121212; border-color: #121212; color: #fff; }
.service-card--cta .service-icon { margin-bottom: auto; background: rgba(232, 185, 87, .16); color: var(--gold-light); }
.service-card--cta p { color: var(--muted); }
:root[data-theme="light"] .service-card--cta p { color: #b9b4aa; }
.service-card--cta h3 { color: var(--gold-light); margin-top: 22px; }
.tone-dark .service-card--cta { background: linear-gradient(135deg, rgba(232, 185, 87, .16), rgba(232, 185, 87, .04)); border-color: rgba(232, 185, 87, .35); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--gold-light); font-size: 13px; font-weight: 700; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.about-text { max-width: 580px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.leader-card { display: flex; gap: 16px; align-items: center; margin-top: 34px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); max-width: 560px; }
.leader-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #17130b; }
.leader-role { display: block; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.leader-card strong { display: block; font: 600 20px var(--font-serif); }
.leader-card small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.about-image { width: 100%; max-width: 560px; height: 260px; margin-top: 24px; border-radius: var(--radius); object-fit: cover; }

.values { position: relative; padding-left: 40px; border-left: 1px solid rgba(232, 185, 87, .45); }
.values li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
.values li:last-child { border-bottom: 0; }
.value-mark { color: var(--gold); font-size: 18px; line-height: 1.4; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--line); }
.stats strong { display: block; color: var(--accent); font: 600 42px var(--font-serif); }
.stats span { color: var(--muted); font-size: 14px; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.industry-card { position: relative; padding: 30px 26px; background: var(--c-surface-solid); transition: background .3s; }
.tone-dark .industry-card { background: var(--d-bg); }
.industry-card:hover { background: rgba(232, 185, 87, .09); }
.tone-dark .industry-card:hover { background: var(--d-surface); }
.industry-thumb { height: 110px; width: calc(100% + 52px); margin: -30px -26px 20px; object-fit: cover; }
.industry-num { display: block; margin-bottom: 18px; color: var(--accent); font: 600 14px var(--font-serif); }
.industry-card h3 { margin-bottom: 10px; font-size: 19px; }
.industry-card p { color: var(--muted); font-size: 13.5px; line-height: 1.65; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-grid--single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.team-grid--single .team-card { display: grid; grid-template-columns: 300px 1fr; }
.team-grid--single .team-photo { height: 100%; min-height: 320px; }
.team-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .3s, transform .5s cubic-bezier(.22, 1, .36, 1); }
.team-card:hover { border-color: rgba(232, 185, 87, .6); }
.team-photo { position: relative; height: 320px; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(212, 166, 74, .3), transparent 55%), linear-gradient(160deg, #1f1f1f, #0b0b0b); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initials { color: var(--gold-light); font: 600 64px var(--font-serif); letter-spacing: 2px; }
.team-body { display: flex; flex-direction: column; gap: 6px; padding: 26px; justify-content: center; }
.team-role { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.team-body h3 { font-size: 26px; }
.team-body small { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.team-body p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.team-links { display: flex; gap: 8px; margin-top: 14px; }
.team-links a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); transition: background .2s, color .2s, border-color .2s; }
.team-links a:hover { background: var(--gold); border-color: var(--gold); color: #17130b; }

/* ---------- Testimonials ---------- */
.testimonials-inner { max-width: 880px; }
.quotes { position: relative; display: grid; text-align: center; }
.quote-mark { display: block; margin: 0 auto 18px; color: var(--gold); opacity: .8; }
.quote { grid-area: 2 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .5s, transform .5s, visibility .5s; }
.quote.active { opacity: 1; visibility: visible; transform: none; }
.quote blockquote { font: 500 clamp(22px, 3vw, 32px)/1.5 var(--font-serif); }
.quote blockquote strong { font-weight: 700; }
.quote figcaption { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.quote figcaption strong { display: block; color: var(--text); font-size: 16px; }
.quote-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; }
.round-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; transition: border-color .2s, background .2s; }
.round-btn:hover { border-color: var(--gold); background: rgba(232, 185, 87, .1); }
.dots { display: flex; gap: 8px; }
.dots button { width: 9px; height: 9px; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .3s, background .3s; }
.dots button.active { width: 28px; background: var(--gold); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: start; }
.contact-list { display: grid; gap: 4px; margin-top: 34px; }
.contact-list > div { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }
.contact-list dd { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.contact-list dd a { text-decoration: none; transition: color .2s; }
.contact-list dd a:hover { color: var(--accent); }

.contact-card { padding: 40px; border-radius: 22px; background: #0b0b0b; color: #f4efe4; border: 1px solid rgba(212, 166, 74, .3); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.tone-dark .contact-card { background: var(--d-surface); border: 1px solid rgba(232, 185, 87, .25); }
:root[data-theme="light"] .contact-card { background: #121212; color: #f4efe4; }
.contact-card h3 { color: var(--gold-light); font-size: 28px; margin-bottom: 10px; }
.contact-card > p { margin-bottom: 26px; color: #b9bec0; font-size: 14.5px; }

.consult-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consult-form .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { color: #e9e4d8; font-size: 12.5px; font-weight: 600; }
.field label span { color: #8f9598; font-weight: 400; }
.field input, .field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid rgba(212, 166, 74, .2);
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    color: #fff;
    font: 14px var(--font-sans);
    resize: vertical;
    transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .08); }
.field small { color: #ff9f9f; font-size: 12px; }
.form-done { display: grid; justify-items: start; gap: 8px; padding: 28px; border: 1px solid rgba(232, 185, 87, .35); border-radius: 16px; background: rgba(232, 185, 87, .08); }
.form-done-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #17130b; }
.form-done strong { color: var(--gold-light); font: 600 22px var(--font-serif); }
.form-done p { color: #c9cdcf; }

/* ---------- Footer ---------- */
.site-footer { padding: 70px 0 0; background: #080808; color: #c9c3b8; border-top: 1px solid rgba(212, 166, 74, .25); }
:root[data-theme="light"] .site-footer { background: #f3eee3; color: var(--c-muted); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 50px; padding-bottom: 50px; }
.site-footer .brand { color: #fff; }
:root[data-theme="light"] .site-footer .brand { color: var(--ink); }
.site-footer .brand-name strong { color: var(--gold-light); }
:root[data-theme="light"] .site-footer .brand-name strong { color: var(--gold-ink); }
.footer-brand p { max-width: 360px; margin-top: 18px; font-size: 14px; line-height: 1.7; color: #8d9396; }
:root[data-theme="light"] .footer-brand p { color: var(--c-muted); }
.site-footer h4 { margin-bottom: 18px; color: var(--gold-light); font: 700 11px var(--font-sans); letter-spacing: 3px; text-transform: uppercase; }
:root[data-theme="light"] .site-footer h4 { color: var(--gold-ink); }
.site-footer ul { display: grid; gap: 10px; font-size: 14px; }
.site-footer ul a { text-decoration: none; transition: color .2s; }
.site-footer ul a:hover { color: var(--gold-light); }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(232, 185, 87, .35); border-radius: 50%; color: var(--gold-light); font-size: 12px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
:root[data-theme="light"] .socials a { color: var(--gold-ink); }
.socials a:hover { background: var(--gold); color: #17130b; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0 28px; border-top: 1px solid rgba(255, 255, 255, .07); color: #6f7579; font-size: 12.5px; }
:root[data-theme="light"] .footer-bottom { border-top-color: var(--c-line); }
.footer-bottom strong { color: var(--gold-light); letter-spacing: 1px; }
:root[data-theme="light"] .footer-bottom strong { color: var(--gold-ink); }

/* ---------- Blog: list page ---------- */
.page-head { padding: 150px 0 60px; background: radial-gradient(circle at 80% 20%, rgba(232, 185, 87, .12), transparent 40%), var(--d-bg); color: var(--d-text); --accent: var(--d-accent); }
.page-head h1 { font-size: clamp(34px, 4.6vw, 56px); }
.page-head .lead { max-width: 640px; margin-top: 16px; color: var(--d-muted); font-size: 17px; line-height: 1.75; }
.container.narrow { width: min(820px, 100% - 64px); }
.flip { transform: rotate(180deg); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--d-muted); text-decoration: none; font-size: 14px; }
.back-link:hover { color: var(--d-accent); }
.blog-head { border-bottom: 1px solid rgba(212, 166, 74, .2); }
.tag-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.tag-filter a { padding: 9px 18px; border: 1px solid var(--d-line); border-radius: 999px; color: var(--d-text); font-size: 13px; font-weight: 600; text-decoration: none; transition: border-color .2s, background .2s, color .2s; }
.tag-filter a:hover { border-color: rgba(212, 166, 74, .6); }
.tag-filter a.active { border-color: transparent; background: var(--gold-metal); color: #1a1408; }
.blog { padding: 70px 0 100px; }
.blog-subhead { margin: 64px 0 26px; font-size: clamp(22px, 2.4vw, 28px); }
.pill-soft { display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(232, 185, 87, .16); color: var(--accent, var(--c-accent)); font-size: 12px; font-weight: 700; letter-spacing: .5px; text-decoration: none; }

.post-feature { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .3s, box-shadow .3s; }
.post-feature:hover { border-color: rgba(212, 166, 74, .6); box-shadow: 0 30px 60px rgba(0, 0, 0, .18); }
.post-feature-media { display: grid; place-items: center; min-height: 380px; overflow: hidden; background: radial-gradient(circle at 30% 20%, rgba(212, 166, 74, .28), transparent 60%), linear-gradient(160deg, #1f1f1f, #0b0b0b); }
.post-feature-media img:not(.logo-img) { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.post-feature:hover .post-feature-media img:not(.logo-img) { transform: scale(1.04); }
.post-feature-media .logo-img { width: 96px; height: 96px; object-fit: contain; }
.post-feature-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(28px, 4vw, 52px); }
.post-feature-badge { padding: 5px 12px; border: 1px solid rgba(212, 166, 74, .5); border-radius: 999px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.post-feature-body h2 { font-size: clamp(26px, 3vw, 38px); transition: color .2s; }
.post-feature:hover h2 { color: var(--accent); }
.post-feature-body p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.post-feature-body .btn { margin-top: 10px; }
.post-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; }
.post-byline svg { color: var(--accent); }
.post-byline svg + time, .post-byline svg + span { margin-right: 10px; }

.insight-media { position: relative; }
.insight-tag { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(12, 12, 12, .72); backdrop-filter: blur(6px); color: #f1d48c; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.insight-meta time { color: inherit; }
.insight-card:hover h3 { color: var(--accent); }
.insight-body h3 { transition: color .2s; }
.empty { color: var(--muted); }
.pager { margin-top: 48px; }
.pager nav ul { display: flex; justify-content: center; gap: 10px; }
.pager nav a, .pager nav span { display: inline-block; padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; }
.pager nav a:hover { border-color: rgba(212, 166, 74, .6); color: var(--accent); }
.pager nav span { opacity: .45; }

/* ---------- Blog: article page ---------- */
.read-progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--gold-metal); transform: scaleX(0); transform-origin: left; }
.article-hero { padding: 112px 0 36px; background: radial-gradient(circle at 85% 10%, rgba(212, 166, 74, .16), transparent 45%), var(--d-bg); color: var(--d-text); --accent: var(--d-accent); }
/* Same width as the share column + text below, so the title lines up with the article. */
.article-hero .container.narrow { width: min(1012px, 100% - 64px); }
.article-hero h1 { margin: 12px 0 10px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.18; }
.article-hero .lead { color: var(--d-muted); font-size: 15.5px; line-height: 1.65; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--d-muted); font-size: 12.5px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--d-accent); }
.crumbs svg { opacity: .6; }
.article-byline { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--d-line); }
.article-author-mark { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border: 1px solid rgba(212, 166, 74, .45); border-radius: 50%; background: #121212; }
.article-author-mark .logo-img { width: 26px; height: 26px; object-fit: contain; }
.article-byline strong { display: block; font-size: 14px; }
.article-byline div > span { display: flex; gap: 8px; color: var(--d-muted); font-size: 13px; }

.article { padding: 0 0 90px; }
.article-layout { display: grid; grid-template-columns: 64px minmax(0, 900px); justify-content: center; gap: 48px; width: min(1012px, 100% - 64px); padding-top: 48px; }
.article-share { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: center; gap: 10px; align-self: start; }
.article-share > span { margin-bottom: 4px; color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.article-share a, .article-share button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; transition: border-color .2s, color .2s, transform .2s; }
.article-share a:hover, .article-share button:hover { border-color: rgba(212, 166, 74, .6); color: var(--accent); transform: translateY(-2px); }
.article-share button.copied { border-color: var(--gold); color: var(--accent); }

.article-body { display: flow-root; color: var(--text); }
.article-body > :first-child { margin-top: 0; }
.article-body p, .article-body li { font-size: 17px; line-height: 1.75; }
.article-body p, .article-body ul, .article-body ol, .article-body blockquote, .article-body figure, .article-body > img { margin-bottom: 18px; }
/* Text pasted from Word/Google Docs wraps each bullet in a paragraph: no extra gap inside lists. */
.article-body li > p { margin: 0; }
.article-body h2 { margin: 40px 0 12px; font-size: clamp(24px, 3vw, 30px); line-height: 1.25; }
.article-body h3 { margin: 28px 0 10px; font-size: clamp(19px, 2.3vw, 22px); line-height: 1.3; }
.article-body h4 { margin: 22px 0 8px; font-size: 18px; }
.article-body span[style] { overflow-wrap: anywhere; }
/* Lists beside a floated image sit next to it instead of running their bullets underneath. */
.article-body ul, .article-body ol { display: flow-root; }
.article-body ul { padding-left: 0; }
.article-body ul li { position: relative; padding-left: 26px; }
.article-body ul li::before { content: ''; position: absolute; left: 4px; top: calc(.875em - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--gold-metal); }
.article-body ol { padding-left: 1.4em; }
.article-body ol li::marker { color: var(--accent); font-weight: 700; }
.article-body li + li { margin-top: 6px; }
.article-body a { color: var(--accent); text-underline-offset: 3px; }
.article-body strong { font-weight: 700; }
.article-body blockquote { position: relative; margin: 36px 0; padding: 26px 30px 26px 34px; border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; background: linear-gradient(90deg, rgba(212, 166, 74, .1), rgba(212, 166, 74, .02)); font-style: italic; }
.article-body blockquote p { font-size: 19px; line-height: 1.7; }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body hr { margin: 44px auto; width: 120px; border: 0; border-top: 1px solid rgba(212, 166, 74, .5); }
.article-body img { display: block; max-width: 100%; height: auto; margin-inline: auto; border-radius: var(--radius); }
/* Image beside text: the image floats, the paragraphs after it wrap alongside. */
.article-body figure.align-left, .article-body figure.align-right { width: min(45%, 340px); }
/* Only clear the same side, so a left and a right image can have text between them. */
.article-body figure.align-left { float: left; clear: left; margin: 6px 28px 18px 0; }
.article-body figure.align-right { float: right; clear: right; margin: 6px 0 18px 28px; }
/* Images on both sides of the same text share the width. */
.article-body figure.align-left:where(:has(+ figure.align-right), figure.align-right + *),
.article-body figure.align-right:where(:has(+ figure.align-left), figure.align-left + *) { width: min(30%, 240px); }
/* Image sizes picked in the editor. */
.article-body figure.size-25 { width: 25%; }
.article-body figure.size-33 { width: 33.333%; }
.article-body figure.size-50 { width: 50%; }
.article-body figure.size-75 { width: 75%; }
.article-body figure[class*="size-"]:not(.align-left):not(.align-right) { margin-inline: auto; }
.article-body figure[class*="size-"] img { width: 100%; }
.article-body h2, .article-body h3, .article-body hr { clear: both; }
.article-body figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; text-align: center; }
.article-body mark { padding: 1px 4px; border-radius: 4px; background: rgba(212, 166, 74, .28); color: inherit; }
/* Key point box */
.article-body aside { clear: both; margin: 32px 0; padding: 22px 26px; border: 1px solid rgba(212, 166, 74, .45); border-radius: var(--radius); background: var(--surface); }
.article-body aside::before { content: 'Key point'; display: block; margin-bottom: 10px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.article-body aside > :last-child { margin-bottom: 0; }
.article-body table { width: 100%; margin-bottom: 28px; border-collapse: collapse; font-size: 15.5px; line-height: 1.6; }
.article-body th, .article-body td { padding: 12px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { background: rgba(212, 166, 74, .12); color: var(--text); font-weight: 700; }
.article-body figure.video { clear: both; }
.article-body figure.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
/* Wide tables scroll sideways on phones instead of squeezing the page. */
@media (max-width: 640px) { .article-body table { display: block; overflow-x: auto; } }

.article-foot { clear: both; display: grid; gap: 34px; margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--line); }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 600; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(26px, 4vw, 40px); border: 1px solid rgba(212, 166, 74, .45); border-radius: calc(var(--radius) + 4px); background: radial-gradient(circle at 100% 0%, rgba(212, 166, 74, .18), transparent 55%), var(--surface); }
.article-cta .section-label { margin-bottom: 10px; }
.article-cta h2 { margin-bottom: 8px; font-size: clamp(22px, 2.4vw, 28px); }
.article-cta p:not(.section-label) { color: var(--muted); font-size: 15px; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.article-nav a { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .2s; }
.article-nav a:hover { border-color: rgba(212, 166, 74, .6); }
.article-nav a:hover strong { color: var(--accent); }
.article-nav span { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.article-nav strong { font-size: 16px; line-height: 1.4; transition: color .2s; }
.article-nav-next { grid-column: 2; text-align: right; align-items: flex-end; }
.related { border-top: 1px solid rgba(212, 166, 74, .2); }

@media (max-width: 960px) {
    .post-feature { grid-template-columns: 1fr; }
    .post-feature-media { min-height: 260px; }
    .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 44px; }
    .article-share { position: static; flex-direction: row; flex-wrap: wrap; order: 2; margin-top: 34px; }
    .article-share > span { margin: 0 6px 0 0; }
    .article-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .page-head { padding: 120px 0 48px; }
    .article-hero { padding: 100px 0 30px; }
    .container.narrow, .article-hero .container.narrow, .article-layout { width: calc(100% - 40px); }
    .article-body p, .article-body li { font-size: 16px; }
    .article-body figure.size-25, .article-body figure.size-33 { width: 60%; }
    .article-body figure.align-left, .article-body figure.align-right { float: none; width: auto; margin: 0 0 22px; }
    .article-nav { grid-template-columns: 1fr; }
    .article-nav-next { grid-column: auto; }
    .article-cta .btn { width: 100%; }
}

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1); }
.js .reveal.in { opacity: 1; transform: none; }
[data-tilt].tilting { transition: transform .12s ease-out, border-color .3s, box-shadow .3s; }

@view-transition { navigation: auto; }
html.theme-switching::view-transition-old(root) { animation: theme-fade-out .35s ease both; }
html.theme-switching::view-transition-new(root) { animation: theme-fade-in .35s ease both; }
@keyframes theme-fade-out { to { opacity: 0; } }
@keyframes theme-fade-in { from { opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .nav-links { gap: 22px; }
    .service-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
    .nav-links { display: none; }
    .menu-btn { display: flex; }
    .about-grid, .contact-grid, .section-head--split { grid-template-columns: 1fr; gap: 40px; }
    .values { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(232, 185, 87, .45); }
    .hero--split .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { height: 460px; margin-bottom: -110px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .team-grid--single .team-card { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .container { width: calc(100% - 40px); }
    .header-cta { display: none; }
    .brand-mark { width: 38px; height: 38px; }
    .brand-name strong { font-size: 16px; letter-spacing: 2px; }
    .brand-name span { font-size: 8px; }
    .hero-inner { padding: 130px 0 90px; }
    .hero-buttons .btn { width: 100%; }
    .section { padding: 76px 0; }
    .service-grid, .industry-grid, .team-grid { grid-template-columns: 1fr; }
    .contact-list > div { grid-template-columns: 1fr; gap: 6px; }
    .contact-card { padding: 28px 22px; }
    .consult-form { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-rings span, .pulse-dot, .scroll-cue span { animation: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .theme-toggle svg { transition: none; }
    html.theme-switching::view-transition-old(root), html.theme-switching::view-transition-new(root) { animation: none; }
}

/* ================= Card look: matte black + metallic gold ================= */

/* Metallic gold text (dark theme). Light theme keeps solid gold for contrast. */
:root:not([data-theme="light"]) .accent,
:root:not([data-theme="light"]) .hero h1 .accent,
:root:not([data-theme="light"]) .brand-name strong,
:root:not([data-theme="light"]) .stats strong,
:root:not([data-theme="light"]) .team-initials,
:root:not([data-theme="light"]) .contact-card h3,
:root:not([data-theme="light"]) .form-done strong {
    background: var(--gold-metal);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Subtle matte grain over dark sections, like the card stock. */
:root:not([data-theme="light"]) .hero::after,
:root:not([data-theme="light"]) .section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section > .container, .hero-inner { position: relative; z-index: 1; }

/* Thin gold rule between sections, like the line under the card's tagline. */
.section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    width: min(1200px, 100% - 64px);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(212, 166, 74, .45), transparent);
}

/* Icon tiles and the leader badge pick up the metallic finish. */
:root:not([data-theme="light"]) .service-card:hover .service-icon,
.leader-icon,
.form-done-icon,
.menu-btn { background: var(--gold-metal); }
:root:not([data-theme="light"]) .service-icon { background: rgba(212, 166, 74, .1); border: 1px solid rgba(212, 166, 74, .25); }
:root:not([data-theme="light"]) .industry-card:hover { background: #1a1a1a; }
:root:not([data-theme="light"]) .service-card:hover,
:root:not([data-theme="light"]) .team-card:hover { box-shadow: 0 24px 50px rgba(0, 0, 0, .45), 0 0 0 1px rgba(212, 166, 74, .35); }
.values { border-left-color: rgba(212, 166, 74, .5); }
.value-mark { color: var(--gold); }

/* ================= Hero: text + business card (single-owner firm) ================= */
.hero--card .hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero--card h1 { font-size: clamp(48px, 7vw, 96px); line-height: 1; }
.hero--card .hero-text { max-width: 560px; }

.hero-services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; max-width: 640px; }
.hero--centered .hero-services { justify-content: center; margin-left: auto; margin-right: auto; }
.hero-services li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border: 1px solid rgba(212, 166, 74, .28);
    border-radius: 999px;
    background: rgba(212, 166, 74, .05);
    color: var(--d-muted);
    font-size: 12px;
    font-weight: 500;
}
.hero-services li svg { color: var(--gold); }

.hero-card {
    position: relative;
    padding: 40px 40px 46px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 0%, rgba(212, 166, 74, .14), transparent 55%),
        linear-gradient(160deg, #1b1b1b, #0c0c0c);
    border: 1px solid rgba(212, 166, 74, .35);
    box-shadow: 0 40px 80px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .04);
    color: #f4efe4;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
:root[data-theme="light"] .hero-card { box-shadow: 0 40px 80px rgba(60, 40, 10, .25); }
.hero-card-corner { position: absolute; width: 34px; height: 34px; border-color: var(--gold); border-style: solid; opacity: .7; }
.hero-card-corner.tl { top: 14px; left: 14px; border-width: 1px 0 0 1px; border-top-left-radius: 10px; }
.hero-card-corner.br { bottom: 14px; right: 14px; border-width: 0 1px 1px 0; border-bottom-right-radius: 10px; }

.hero-card-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-card-logo { width: 72px; height: 72px; margin-bottom: 12px; object-fit: contain; }
.hero-card-brand strong { font: 700 24px var(--font-sans); letter-spacing: 3px; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-card-brand span { margin-top: 4px; color: #e9c47a; font: 600 15px var(--font-serif); }
.hero-card-brand small { margin-top: 2px; color: #aaa49a; font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; }
.hero-card hr { margin: 22px auto; width: 70%; height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.hero-card-person { text-align: center; }
.hero-card-person h2 { font-size: 26px; letter-spacing: .5px; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-card-person span { display: block; margin-top: 2px; color: #f4efe4; font-size: 14px; }
.hero-card-person small { display: block; margin-top: 6px; color: #aaa49a; font-size: 11.5px; line-height: 1.5; }

.hero-card-contact { display: grid; gap: 9px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(212, 166, 74, .18); font-size: 13px; }
.hero-card-contact li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: #d8d2c6; }
.hero-card-contact svg { margin-top: 2px; color: var(--gold); }
.hero-card-contact a { text-decoration: none; transition: color .2s; }
.hero-card-contact a:hover { color: var(--gold-light); }

/* ---------- About: founder profile ---------- */
.founder { display: grid; grid-template-columns: 150px 1fr; gap: 24px; margin-top: 34px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); max-width: 600px; }
.founder-photo { display: grid; place-items: center; height: 180px; border-radius: 14px; overflow: hidden; background: radial-gradient(circle at 30% 20%, rgba(212, 166, 74, .3), transparent 60%), linear-gradient(160deg, #1f1f1f, #0b0b0b); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo span { font: 600 46px var(--font-serif); background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.founder-body { display: flex; flex-direction: column; gap: 4px; }
.founder-body strong { font: 600 24px var(--font-serif); }
.founder-body small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.founder-body p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.founder .team-links { margin-top: 10px; }

@media (max-width: 960px) {
    .hero--card .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero--card .hero-card { max-width: 460px; }
}
@media (max-width: 640px) {
    .hero-card { padding: 32px 22px 26px; }
    .founder { grid-template-columns: 1fr; }
    .founder-photo { height: 200px; }
}

/* ================= Mockup design ================= */

/* ---------- Header brand: name, tagline, location ---------- */
.site-header { border-bottom: 1px solid rgba(212, 166, 74, .12); }
.brand-name strong { font-size: 18px; letter-spacing: 1.5px; }
.brand-name .brand-tagline { margin-top: 3px; color: var(--d-accent); font-size: 11px; font-weight: 600; letter-spacing: .3px; text-transform: none; }
.brand-name .brand-location { margin-top: 2px; color: var(--d-muted); font-size: 8.5px; letter-spacing: 2px; }
.nav-links a { font-size: 13px; }
.header-cta { padding: 11px 20px; font-size: 12.5px; }

/* ---------- Hero: text + skyline banner (always dark, like the brand) ---------- */
.hero--banner {
    min-height: 0;
    background: linear-gradient(90deg, #0b0b0b 0%, #0b0b0b 38%, #12100b 100%);
    color: #f4efe4;
    --d-text: #f4efe4; --d-muted: #aaa49a; --d-accent: #e9c47a; --text: #f4efe4; --accent: #e9c47a;
}
.hero--banner .hero-inner { padding: 150px 0 90px; min-height: 560px; display: flex; align-items: center; }
.hero--banner .hero-copy { max-width: 580px; }
.hero--banner .eyebrow { letter-spacing: 3px; color: #e9c47a; }
.hero--banner h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.08; }
.hero-banner { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; }
.hero-banner img, .hero-skyline { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0b0b0b 0%, rgba(11, 11, 11, .55) 28%, rgba(11, 11, 11, 0) 60%), linear-gradient(0deg, #0b0b0b 0%, rgba(11, 11, 11, 0) 25%); pointer-events: none; }
.hero-skyline .sk-arrow path:nth-child(2) { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw-arrow 2.4s .4s cubic-bezier(.22, 1, .36, 1) forwards; }
.hero-skyline .sk-arrow path:nth-child(3) { opacity: 0; animation: fade-in .6s 2.3s forwards; }
.hero-skyline .sk-hex { transform-origin: 58% 43%; animation: hex-glow 6s ease-in-out infinite; }
.hero-skyline .sk-windows rect { animation: twinkle 5s ease-in-out infinite; }
.hero-skyline .sk-windows rect:nth-child(3n) { animation-delay: 1.6s; }
.hero-skyline .sk-windows rect:nth-child(5n) { animation-delay: 3.1s; }
@keyframes draw-arrow { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes hex-glow { 50% { opacity: .75; transform: scale(1.015); } }
@keyframes twinkle { 50% { opacity: .2; } }

/* ---------- Highlight strip ---------- */
.highlights { position: relative; background: #101010; border-top: 1px solid rgba(212, 166, 74, .18); border-bottom: 1px solid rgba(212, 166, 74, .18); color: #f4efe4; }
.highlights-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.highlight { display: flex; align-items: center; gap: 16px; padding: 26px 24px; }
.highlight + .highlight { border-left: 1px solid rgba(212, 166, 74, .2); }
.highlight-icon { color: var(--gold); flex-shrink: 0; }
.highlight strong { display: block; font-size: 14.5px; font-weight: 600; }
.highlight span { display: block; color: #aaa49a; font-size: 12.5px; }

/* ---------- Centered gold section titles ---------- */
.section-label--center { justify-content: center; }
.section-label--center::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-title--gold { color: var(--accent); }
:root:not([data-theme="light"]) .section-title--gold { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head--center .section-intro { max-width: 600px; margin: 0 auto; }
.section-head-action { display: flex; justify-content: flex-end; align-items: flex-end; }

/* ---------- Service tiles (one row of seven) ---------- */
.service-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.service-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 12px 20px;
    border: 1px solid rgba(212, 166, 74, .35);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(212, 166, 74, .07), rgba(212, 166, 74, .01)), var(--surface);
    color: var(--text);
    font: inherit;
    text-align: center;
    cursor: pointer;
    transition: border-color .3s, box-shadow .3s, transform .5s cubic-bezier(.22, 1, .36, 1);
}
.service-tile:hover, .service-tile:focus-visible { border-color: var(--gold); box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 0 0 24px rgba(212, 166, 74, .15); outline: none; }
.service-tile-icon { color: var(--accent); }
.service-tile-title { font: 600 16px/1.25 var(--font-serif); min-height: 40px; display: flex; align-items: center; }
.service-tile-arrow { color: var(--accent); transition: transform .3s; }
.service-tile:hover .service-tile-arrow { transform: translateX(4px); }

/* ---------- Modals (service details, founder profile) ---------- */
.modal { margin: auto; padding: 0; border: 0; background: transparent; max-width: min(560px, calc(100% - 32px)); width: 100%; color: #f4efe4; }
.modal::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); }
.modal[open] .modal-box { animation: modal-in .35s cubic-bezier(.22, 1, .36, 1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal-box { position: relative; padding: 38px 34px 32px; border: 1px solid rgba(212, 166, 74, .4); border-radius: 20px; background: radial-gradient(circle at 50% 0%, rgba(212, 166, 74, .14), transparent 55%), #121212; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 1px solid rgba(212, 166, 74, .35); border-radius: 50%; background: transparent; color: #f4efe4; font-size: 22px; line-height: 1; cursor: pointer; }
.modal-close:hover { border-color: var(--gold); color: var(--gold-light); }
.modal-image { width: calc(100% + 68px); height: 180px; margin: -38px -34px 24px; border-radius: 20px 20px 0 0; object-fit: cover; }
.modal-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px; border-radius: 16px; background: var(--gold-metal); color: #1a1408; }
.modal .section-label { color: #e9c47a; margin-bottom: 8px; }
.modal h3 { font-size: 30px; margin-bottom: 12px; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.modal small { display: block; color: #aaa49a; font-size: 12.5px; }
.modal-text { margin-top: 12px; color: #cfc9bd; font-size: 15px; line-height: 1.75; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.modal .btn-outline { color: #f4efe4; }
.modal-box--founder { display: grid; grid-template-columns: 170px 1fr; gap: 26px; }
.modal-box--founder .founder-photo { height: 210px; }
@media (max-width: 560px) { .modal-box--founder { grid-template-columns: 1fr; } .modal-box { padding: 32px 22px 24px; } }

/* ---------- About band ---------- */
.about-band { padding: 0; overflow: hidden; }
.about-media { position: absolute; top: 0; bottom: 0; left: 0; width: 26%; }
.about-media img, .about-media svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 11, 0) 40%, var(--about-fade, #0d0d0d) 100%); }
.tone-dark.about-band { --about-fade: var(--d-bg); }
.tone-cream.about-band { --about-fade: var(--c-bg); }
.about-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; align-items: center; padding: 70px 0 70px 26%; }
.about-layout .about-copy { padding: 0 48px 0 40px; border-right: 1px solid rgba(212, 166, 74, .3); }
.about-layout .about-text { margin-bottom: 26px; font-size: 15px; }
.about-layout .values { padding-left: 48px; border-left: 0; }
.values li { align-items: center; padding: 11px 0; font-size: 14.5px; border-bottom: 0; }
.about-layout .about-text { text-align: justify; hyphens: auto; white-space: pre-line; --clamp-lines: 5; }
.about-layout .values li { align-items: flex-start; }
.value-text { flex: 1; min-width: 0; padding-top: 5px; text-align: justify; hyphens: auto; --clamp-lines: 3; }
/* Long text shows its first lines; "Read more" opens the rest. */
.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--clamp-lines, 5); line-clamp: var(--clamp-lines, 5); overflow: hidden; }
.clamp.expanded { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.about-text.clamp { margin-bottom: 0; }
.clamp-toggle { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--gold); font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .3px; cursor: pointer; }
.clamp-toggle:hover { text-decoration: underline; text-underline-offset: 3px; }
.about-copy .clamp-toggle { display: flex; width: fit-content; margin: 8px 0 0; }
.clamp-toggle[hidden] { display: none; }
.about-copy .btn { margin-top: 26px; }
.value-icon { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border: 1px solid rgba(212, 166, 74, .5); border-radius: 50%; color: var(--gold); }

/* ---------- Insights ---------- */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.insight-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .3s, transform .5s cubic-bezier(.22, 1, .36, 1); }
.insight-card:hover { border-color: rgba(212, 166, 74, .6); }
.insight-media { display: grid; place-items: center; height: 180px; background: radial-gradient(circle at 30% 20%, rgba(212, 166, 74, .25), transparent 60%), linear-gradient(160deg, #1f1f1f, #0b0b0b); }
.insight-media { overflow: hidden; }
.insight-media img:not(.logo-img) { width: 100%; height: 100%; object-fit: cover; }
.insight-media .logo-img { width: 64px; height: 64px; object-fit: contain; }
.insight-body { display: flex; flex-direction: column; gap: 8px; padding: 22px; flex: 1; }
.insight-meta { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.insight-body h3 { font-size: 20px; }
.insight-body p { color: var(--muted); font-size: 13.5px; flex: 1; }
.insight-body .link-arrow { color: var(--accent); }

/* ---------- Form select ---------- */
.field select { width: 100%; padding: 13px 15px; border: 1px solid rgba(212, 166, 74, .2); border-radius: 12px; background: #161616; color: #f4efe4; font: 14px var(--font-sans); }
.field select:focus { outline: none; border-color: var(--gold); }

/* ---------- Footer band ---------- */
.site-footer { padding-top: 0; }
.footer-band { position: relative; overflow: hidden; border-bottom: 1px solid rgba(212, 166, 74, .2); background: #0b0b0b; color: #f4efe4; }
.footer-skyline { position: absolute; right: 0; bottom: 0; width: 55%; height: 100%; opacity: .35; }
.footer-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0b0b0b 40%, rgba(11, 11, 11, .4)); pointer-events: none; }
.footer-band-inner { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding: 34px 0; }
.footer-band .brand { color: #f4efe4; padding-right: 40px; border-right: 1px solid rgba(212, 166, 74, .3); }
.footer-cta p { margin-bottom: 12px; color: #d8d2c6; font-size: 14px; }
.footer-location { display: flex; align-items: center; gap: 12px; color: #f4efe4; text-decoration: none; }
.footer-location svg { color: var(--gold); flex-shrink: 0; }
.footer-location strong { display: block; font-size: 14px; }
.footer-location span { color: #aaa49a; font-size: 12px; }
.footer-location:hover strong { color: var(--gold-light); }
.site-footer .footer-grid { padding-top: 50px; }
.footer-brand p { margin-top: 0; }

/* ---------- Responsive (mockup parts) ---------- */
@media (max-width: 1200px) {
    .service-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
    .hero-banner { width: 100%; opacity: .45; }
    .highlights-inner { grid-template-columns: repeat(2, 1fr); }
    .highlight:nth-child(3) { border-left: 0; }
    .highlight:nth-child(n + 3) { border-top: 1px solid rgba(212, 166, 74, .2); }
    .about-media { position: relative; width: 100%; height: 220px; }
    .about-media::after { background: linear-gradient(0deg, var(--about-fade, #0d0d0d) 0%, rgba(11, 11, 11, 0) 60%); }
    .about-layout { grid-template-columns: 1fr; gap: 36px; padding: 10px 0 70px; }
    .about-layout .about-copy { padding: 0; border-right: 0; }
    .about-layout .values { padding: 28px 0 0; border-top: 1px solid rgba(212, 166, 74, .3); }
    .insight-grid { grid-template-columns: 1fr 1fr; }
    .footer-band-inner { grid-template-columns: 1fr; gap: 24px; }
    .footer-band .brand { padding-right: 0; border-right: 0; }
}
@media (max-width: 640px) {
    .service-row { grid-template-columns: repeat(2, 1fr); }
    .highlights-inner, .insight-grid { grid-template-columns: 1fr; }
    .highlight + .highlight { border-left: 0; border-top: 1px solid rgba(212, 166, 74, .2); }
    .brand-name .brand-location { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-skyline .sk-arrow path, .hero-skyline .sk-hex, .hero-skyline .sk-windows rect { animation: none; stroke-dashoffset: 0; opacity: 1; }
}

/* Mockup proportions: one-line gold headings, About text starts right after the image. */
.section-head--center .section-title--gold { font-size: clamp(30px, 3.4vw, 44px); }
.about-band .section-title { font-size: clamp(26px, 2.7vw, 36px); }
.about-layout { padding-left: max(0px, calc(26vw - (100vw - min(1200px, 100vw - 64px)) / 2 + 8px)); }

/* First screen at home: hero, highlights and the service tiles fit together on laptops and desktops. */
@media (min-width: 1101px) and (min-height: 600px) {
    .hero--banner .hero-inner { min-height: 0; padding: calc(86px + clamp(10px, 4.5vh - 14px, 70px)) 0 clamp(18px, 3vh, 48px); }
    .hero--banner .eyebrow { margin-bottom: clamp(8px, 1.6vh, 20px); }
    .hero--banner h1 { font-size: clamp(34px, min(4.4vw, 5.4vh), 62px); margin-bottom: clamp(8px, 1.6vh, 20px); }
    .hero--banner .hero-subtitle { margin-bottom: clamp(8px, 1.6vh, 18px); }
    .hero--banner .hero-text { margin-bottom: clamp(14px, 2.6vh, 32px); font-size: 15px; line-height: 1.6; }
    .hero--banner .btn { padding-top: clamp(11px, 1.7vh, 16px); padding-bottom: clamp(11px, 1.7vh, 16px); }
    .highlight { padding: clamp(10px, 1.8vh, 22px) 24px; }
    .hero--banner + #services, .highlights + #services { padding-top: clamp(22px, 4.6vh - 8px, 64px); }
    #services .section-head { max-width: 900px; margin-bottom: clamp(14px, 2.8vh, 40px); }
    #services .section-label { margin-bottom: clamp(4px, 1vh, 14px); }
    #services .section-title { font-size: clamp(26px, min(3vw, 4.2vh), 42px); margin-bottom: clamp(4px, 1vh, 14px); }
    #services .section-intro { font-size: 15px; line-height: 1.5; }
    .service-tile { gap: clamp(6px, 1.2vh, 14px); padding: clamp(14px, 2.4vh, 28px) 10px clamp(10px, 1.8vh, 20px); }
    .service-tile-icon svg { width: clamp(26px, 4vh, 34px); height: clamp(26px, 4vh, 34px); }
}
@media (min-width: 1101px) and (min-height: 600px) and (max-height: 760px) {
    .hero--banner .hero-text { font-size: 14px; line-height: 1.55; max-width: 560px; }
    #services .section-label { display: none; }
    .service-tile-title { min-height: 36px; font-size: 15px; }
    .service-tile-arrow { display: none; }
}
@media (min-width: 1101px) and (min-height: 600px) and (max-height: 700px) {
    .hero--banner .eyebrow { display: none; }
    .hero--banner .hero-inner { padding-top: 120px; padding-bottom: 22px; }
    .highlight { padding-top: 9px; padding-bottom: 9px; }
    .hero--banner + #services, .highlights + #services { padding-top: 26px; }
    #services .section-head { margin-bottom: 18px; }
}

/* ---------- Hero director card (shown only when added in Site Settings) ---------- */
.hero-director { position: relative; z-index: 2; width: 240px; margin: 40px 0 0; padding: 8px; border: 1px solid rgba(212, 166, 74, .45); border-radius: 18px; background: rgba(12, 12, 12, .5); backdrop-filter: blur(8px); box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(212, 166, 74, .12); }
.hero-director-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: radial-gradient(circle at 50% 35%, rgba(212, 166, 74, .25), transparent 65%), #141210; }
.hero-director-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hero-director-initials { position: absolute; inset: 0; display: grid; place-items: center; font: 600 clamp(40px, 7vh, 76px)/1 var(--font-serif); background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-director { display: flex; flex-direction: column; }
.hero-director-info { padding: 12px 8px 6px; text-align: center; }
.hero-director--photo .hero-director-info { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 34px 12px 12px; border-radius: 0 0 12px 12px; background: linear-gradient(0deg, rgba(8, 8, 8, .95) 0%, rgba(8, 8, 8, .75) 55%, rgba(8, 8, 8, 0) 100%); }
.hero-director-info strong { display: block; color: #f4efe4; font: 600 clamp(15px, 2.2vh, 18px)/1.2 var(--font-serif); }
.hero-director-info span { display: block; margin-top: 4px; color: #e9c47a; font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.hero-director-info small { display: block; margin-top: 6px; color: #aaa49a; font-size: 11px; line-height: 1.45; }
@media (max-width: 1100px) {
    .hero--banner .hero-inner { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 1101px) {
    /* Sits over the skyline and takes its height from the hero, so it never pushes the services down.
       Its right edge is tied to the artwork (69vw), so it stays in front of the hexagon at every width. */
    .hero--banner .hero-inner:has(.hero-director) .hero-copy { max-width: min(580px, 44vw); }
    .hero-director { position: absolute; top: 104px; bottom: clamp(16px, 3vh, 40px); right: calc(min(600px, 50vw - 32px) - 19vw); width: auto; margin: 0; aspect-ratio: 4 / 5.2; }
    .hero-director-media { flex: 1; min-height: 0; aspect-ratio: auto; }
}

/* ---------- First screen: hero + highlights + services end exactly at the bottom of the screen ---------- */
@media (min-width: 1101px) and (min-height: 600px) {
    .first-screen { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
    .first-screen > #services { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: clamp(20px, 4vh, 56px); }
}
@media (min-width: 1101px) and (max-height: 760px) {
    .hero-director-info small { display: none; }
    .hero-director-info { padding-top: 8px; padding-bottom: 2px; }
    .hero-director-info span { font-size: 9.5px; letter-spacing: 1px; }
}

/* ---------- Service details page ---------- */
.service-hero { padding: 140px 0 70px; background: radial-gradient(circle at 85% 10%, rgba(212, 166, 74, .16), transparent 45%), var(--d-bg); color: var(--d-text); border-bottom: 1px solid rgba(212, 166, 74, .2); }
.service-hero-inner { display: flex; gap: 32px; align-items: flex-start; margin-top: 34px; }
.service-hero-icon { flex-shrink: 0; width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 20px 50px rgba(212, 166, 74, .2); }
.service-hero h1 { margin: 6px 0 14px; font-size: clamp(36px, 4.6vw, 58px); background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.service-hero .lead { max-width: 720px; margin-bottom: 32px; color: var(--d-muted); font-size: 17px; line-height: 1.75; }
.service-detail { padding: 80px 0; background: var(--c-bg); color: var(--c-text); }
.service-detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
.service-detail-image { width: 100%; max-height: 420px; margin-bottom: 36px; border-radius: 18px; object-fit: cover; border: 1px solid rgba(212, 166, 74, .3); }
.service-detail-body h2 { margin-bottom: 20px; font-size: clamp(26px, 3vw, 36px); }
.service-detail-body p { margin-bottom: 20px; color: var(--c-muted); font-size: 16.5px; line-height: 1.85; }
.service-detail-side { display: grid; gap: 22px; position: sticky; top: 110px; }
.service-side-card { padding: 30px 28px; border: 1px solid rgba(212, 166, 74, .3); border-radius: 18px; background: linear-gradient(180deg, rgba(212, 166, 74, .07), rgba(212, 166, 74, .01)), var(--surface); }
.service-side-card h3 { margin-bottom: 18px; font-size: 22px; }
.service-side-card p { margin-bottom: 20px; color: var(--c-muted); font-size: 15px; line-height: 1.7; }
.service-side-card--gold { border-color: rgba(212, 166, 74, .55); box-shadow: 0 0 40px rgba(212, 166, 74, .08); }
.service-points { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.service-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.service-points svg { flex-shrink: 0; margin-top: 2px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-metal); color: #1a1408; }
.service-side-contact { display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(212, 166, 74, .2); }
.service-side-contact a { display: inline-flex; gap: 10px; align-items: center; color: var(--c-text); font-size: 14px; text-decoration: none; }
.service-side-contact a:hover { color: var(--accent); }
.service-side-contact svg { color: var(--accent); }
.service-others { padding: 80px 0 100px; background: var(--d-bg); color: var(--d-text); border-top: 1px solid rgba(212, 166, 74, .2); }
.service-others .service-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.service-others .service-tile { text-decoration: none; }
@media (max-width: 960px) {
    .service-detail-grid { grid-template-columns: 1fr; gap: 36px; }
    .service-detail-side { position: static; }
}
@media (max-width: 640px) {
    .service-hero { padding: 120px 0 56px; }
    .service-hero-inner { flex-direction: column; gap: 20px; }
    .service-hero-icon { width: 68px; height: 68px; }
}
.service-approach-title { margin-top: 44px; }
.service-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.service-steps li { padding: 22px 22px 20px; border: 1px solid rgba(212, 166, 74, .25); border-radius: 16px; background: var(--surface); }
.service-step-no { display: block; margin-bottom: 10px; font: 600 26px/1 var(--font-serif); background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.service-steps strong { display: block; margin-bottom: 6px; font-size: 16px; }
.service-steps li > span:last-child { color: var(--c-muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 640px) { .service-steps { grid-template-columns: 1fr; } }

/* ---------- Service offerings (details page, "Title: description" lines) ---------- */
.service-offerings { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.service-offerings li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 1px solid rgba(212, 166, 74, .25); border-radius: 16px; background: var(--surface); }
.service-offering-icon { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; margin-top: 1px; border-radius: 50%; background: var(--gold-metal); color: #1a1408; }
.service-offerings strong { display: block; margin-bottom: 6px; font-size: 16px; line-height: 1.4; }
.service-offerings li span:not(.service-offering-icon) { display: block; color: var(--c-muted); font-size: 14.5px; line-height: 1.7; }
@media (max-width: 640px) { .service-offerings li { padding: 18px 16px; gap: 12px; } }

/* ---------- FAQ (home page accordion) ---------- */
.faq-inner { max-width: 900px; }
.faq-group + .faq-group { margin-top: 40px; }
.faq-category { margin-bottom: 14px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .25s; }
.faq-item + .faq-item { margin-top: 10px; }
.faq-item[open], .faq-item:hover { border-color: rgba(212, 166, 74, .45); }
.faq-item summary { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 18px 22px; font-size: 16px; font-weight: 600; line-height: 1.5; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 14px; }
.faq-toggle { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(212, 166, 74, .4); color: var(--accent); transition: transform .3s, background .3s, color .3s; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--gold-metal); color: #1a1408; border-color: transparent; }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15px; line-height: 1.8; white-space: pre-line; }
@media (max-width: 640px) {
    .faq-item summary { padding: 16px; font-size: 15px; }
    .faq-item p { padding: 0 16px 18px; }
}
@media (prefers-reduced-motion: reduce) { .faq-toggle { transition: none; } }

/* ---------- Services background art (charts, org chart, target) ---------- */
#services { overflow: hidden; }
.services-art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .3; pointer-events: none; }
[data-theme="light"] .tone-cream .services-art { opacity: .4; }
.services-art .ca-line { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw-arrow 3s .6s cubic-bezier(.22, 1, .36, 1) forwards; }
.services-art .ca-target { transform-origin: 1400px 440px; animation: hex-glow 7s ease-in-out infinite; }
@media (max-width: 1100px) { .services-art { opacity: .12; } }
@media (prefers-reduced-motion: reduce) { .services-art .ca-line, .services-art .ca-target { animation: none; stroke-dashoffset: 0; } }

/* ---------- Header shows the logo and name only; the location sits under the hero headline ---------- */
@media (min-width: 641px) { .site-header .brand-name strong { font-size: 22px; letter-spacing: 3px; } }
.hero--banner .hero-subtitle { display: flex; align-items: center; gap: 14px; color: #e9c47a; font-size: clamp(12px, 1.1vw, 15px); font-weight: 600; letter-spacing: 5px; text-transform: uppercase; opacity: 1; }
.hero--banner .hero-subtitle::before { content: ''; width: 34px; height: 1px; background: currentColor; }
@media (min-width: 1101px) and (min-height: 600px) and (max-height: 700px) {
    .hero--banner .hero-subtitle { margin-bottom: 8px; font-size: 11.5px; }
    .hero--banner h1 { margin-bottom: 6px; }
    .hero--banner .hero-inner { padding-top: 108px; padding-bottom: 16px; }
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover strong { text-decoration: underline; }

/* ---------- Service tiles: each icon plays a motion that fits its service on hover ---------- */
.service-tile-icon { position: relative; display: inline-flex; transition: color .3s; }
.service-tile-icon svg { overflow: visible; }
.service-tile-icon svg * { transform-box: fill-box; transform-origin: center; }
.service-tile-icon::before, .service-tile-icon::after { content: ''; position: absolute; opacity: 0; pointer-events: none; }
.service-tile:is(:hover, :focus-visible, .is-anim) .service-tile-icon { color: var(--gold-light, #f1d48c); }
/* Business: the briefcase is picked up; growth bars rise beside it. */
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="briefcase"] svg { animation: sv-carry .9s ease-in-out }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="briefcase"] .service-tile-icon::after { right: -17px; bottom: 3px; width: 3px; height: 8px; border-radius: 1px; background: currentColor; box-shadow: 5px -4px 0 currentColor, 10px -9px 0 currentColor; transform-origin: bottom; animation: sv-rise .6s .15s cubic-bezier(.22, 1, .36, 1) both }
/* HR: a second person joins the first. */
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="users"] svg > :nth-child(-n+2) { animation: sv-pop .6s ease-out }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="users"] svg > :nth-child(3) { animation: sv-join .7s .1s cubic-bezier(.22, 1, .36, 1) both }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="user"] svg { animation: sv-pop .6s ease-out }
/* Environmental: the leaf sways in the wind. */
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="leaf"] svg { transform-origin: 20% 90%; animation: sv-sway 1.6s ease-in-out infinite }
/* IoT: the chip powers up - pins carry current, the core glows, a signal radiates. */
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="chip"] svg > :nth-child(2) { fill: currentColor; animation: sv-core .9s ease-in-out infinite }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="chip"] svg > :nth-child(3) { stroke-dasharray: 2 2; animation: sv-march .5s linear infinite }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="chip"] .service-tile-icon::after { inset: -4px; border: 1px solid currentColor; border-radius: 9px; animation: sv-ping 1.2s ease-out infinite }
/* Payroll: a coin drops into the wallet / the payslip fills in. */
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="wallet"] svg { animation: sv-wiggle .5s .45s ease-in-out }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="wallet"] .service-tile-icon::before { left: 50%; top: -6px; width: 9px; height: 9px; margin-left: -5px; border-radius: 50%; background: currentColor; animation: sv-coin .9s ease-in infinite }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="payroll"] svg > :nth-child(2) { stroke-dasharray: 30; animation: sv-draw .8s ease-out both }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="payroll"] svg > :nth-child(3) { animation: sv-pop .6s .5s ease-out both }
/* Headhunting: the magnifier scans around. */
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="search"] svg { animation: sv-scan 1.5s ease-in-out infinite }
/* SaaS: the cloud floats while data uploads into it. */
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="cloud"] svg { animation: sv-float 1.8s ease-in-out infinite }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="cloud"] .service-tile-icon::after { left: 50%; bottom: -5px; width: 3px; height: 3px; margin-left: -2px; border-radius: 50%; background: currentColor; box-shadow: -7px 3px 0 currentColor, 7px 5px 0 currentColor; animation: sv-upload 1s ease-out infinite }
/* Other icons. */
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="chart"] svg > :nth-child(2) { stroke-dasharray: 30; animation: sv-draw .8s ease-out both }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="chart"] svg > :nth-child(3) { animation: sv-pop .5s .6s ease-out both }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="gear"] svg { animation: sv-turn 1s cubic-bezier(.22, 1, .36, 1) }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="globe"] svg { animation: sv-spin 1.2s ease-in-out }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="target"] svg > * { animation: sv-pulse .9s ease-out infinite }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="target"] svg > :nth-child(2) { animation-delay: .12s }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="target"] svg > :nth-child(1) { animation-delay: .24s }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="shield"] svg { animation: sv-pop .6s ease-out }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="shield"] svg > :nth-child(2) { stroke-dasharray: 12; animation: sv-draw .5s .3s ease-out both }
.service-tile:is(:hover, :focus-visible, .is-anim)[data-icon="handshake"] svg { animation: sv-shake .45s ease-in-out 2 }
@keyframes sv-carry { 25% { transform: translateY(-6px) rotate(-8deg); } 50% { transform: translateY(-6px) rotate(6deg); } 75% { transform: translateY(-3px) rotate(-3deg); } }
@keyframes sv-rise { from { opacity: 0; transform: scaleY(.1); } to { opacity: .9; transform: none; } }
@keyframes sv-pop { 40% { transform: scale(1.18); } 70% { transform: scale(.96); } }
@keyframes sv-join { from { opacity: 0; transform: translateX(9px); } to { opacity: 1; transform: none; } }
@keyframes sv-sway { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(9deg) scale(1.06); } }
@keyframes sv-core { 0%, 100% { fill-opacity: .15; } 50% { fill-opacity: .9; } }
@keyframes sv-march { to { stroke-dashoffset: -4; } }
@keyframes sv-ping { from { opacity: .7; transform: scale(.85); } to { opacity: 0; transform: scale(1.45); } }
@keyframes sv-wiggle { 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
@keyframes sv-coin { 0% { opacity: 0; transform: translateY(-12px); } 25% { opacity: 1; } 70% { opacity: 1; transform: translateY(12px); } 100% { opacity: 0; transform: translateY(16px) scale(.4); } }
@keyframes sv-draw { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 0; } }
@keyframes sv-scan { 25% { transform: translate(5px, -3px); } 50% { transform: translate(0, -6px) rotate(-8deg); } 75% { transform: translate(-5px, -3px); } }
@keyframes sv-float { 50% { transform: translate(3px, -4px); } }
@keyframes sv-upload { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes sv-turn { to { transform: rotate(180deg); } }
@keyframes sv-spin { 50% { transform: scaleX(-1); } }
@keyframes sv-pulse { 40% { transform: scale(1.12); opacity: .6; } }
@keyframes sv-shake { 25% { transform: translateY(-3px) rotate(-5deg); } 75% { transform: translateY(2px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) {
    .service-tile .service-tile-icon svg, .service-tile .service-tile-icon svg *, .service-tile .service-tile-icon::before, .service-tile .service-tile-icon::after { animation: none !important; }
}
