/* Portfolio refresh: resume-backed editorial design system */
:root {
    --primary: #111827;
    --primary-light: #1a2335;
    --accent: #d8bd7b;
    --accent-light: #ead9ae;
    --background: #f5f2ea;
    --foreground: #111827;
    --muted: #e7ebe8;
    --muted-foreground: #62717c;
    --border: #d6ddd9;
    --card: #fffefb;
    --secondary: #ecefea;
    --home-navy: #111827;
    --home-navy-2: #1a2335;
    --home-orange: #d8bd7b;
    --home-orange-light: #ead9ae;
    --home-ink: #132535;
    --home-muted: #62717c;
    --home-soft: #f4f2ec;
    --home-line: #d6ddd9;
    --site-navy: #111827;
    --site-orange: #8a6c31;
    --site-ink: #132535;
    --site-muted: #62717c;
    --site-soft: #f1f3ef;
    --site-line: #d6ddd9;
    --refresh-ink: #111827;
    --refresh-paper: #f5f2ea;
    --refresh-card: #fffefb;
    --refresh-mint: #d8bd7b;
    --refresh-mint-dark: #80652f;
    --refresh-blue: #d8bd7b;
    --refresh-coral: #d8bd7b;
    --refresh-line: rgba(8, 27, 45, .14);
    --refresh-shadow: 0 24px 70px rgba(8, 27, 45, .1);
    --gradient-primary: linear-gradient(135deg, #0b1020, #1c2044);
    --gradient-accent: linear-gradient(135deg, #c9ff66, #e8ffbd);
}

html {
    scroll-padding-top: 92px;
    overflow-x: clip;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--refresh-ink);
    background: var(--refresh-paper);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6,
.logo, .btn, button {
    font-family: 'Bricolage Grotesque', sans-serif;
    letter-spacing: -.035em;
}

a { text-underline-offset: .2em; }

::selection {
    color: #0b1020;
    background: var(--refresh-mint);
}

.container {
    width: min(100% - 40px, 1240px);
    max-width: 1240px;
    padding: 0;
}

.btn {
    min-height: 48px;
    padding: .82rem 1.25rem;
    border-radius: 999px;
    font-size: .84rem;
    letter-spacing: -.01em;
}

.btn-primary,
.site-contact-form button {
    color: #0b1020;
    background: var(--refresh-mint);
    box-shadow: none;
}

.btn-primary:hover,
.site-contact-form button:hover {
    color: #0b1020;
    background: #99ebd4;
    box-shadow: 0 12px 34px rgba(116, 224, 193, .2);
    transform: translateY(-2px);
}

/* Navigation */
.navbar,
.navbar.navbar-solid,
.navbar.scrolled {
    position: fixed;
    background: rgba(8, 27, 45, .92);
    border-bottom: 1px solid rgba(255, 255, 255, .11);
    box-shadow: none;
    backdrop-filter: blur(18px);
}

.nav-content { height: 82px; }

.logo {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: .3rem;
    align-items: baseline;
    color: #fff;
    font-size: 1.12rem;
    text-decoration: none;
    transform: none !important;
}

.logo-text,
.navbar.scrolled .logo-text,
.navbar:not(.scrolled) .logo-text { color: #fff; }

.logo-accent { color: var(--refresh-mint); margin: 0; }

.logo small {
    grid-column: 1 / -1;
    margin-top: 3px;
    color: rgba(255, 255, 255, .52);
    font: 600 .58rem/1.2 'Inter', sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.logo-underline { display: none; }

.nav-links { gap: 0; }

.nav-link,
.navbar.scrolled .nav-link {
    padding: .55rem .72rem;
    border-radius: 5px;
    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
    font-weight: 600;
}

.nav-link:hover,
.navbar.scrolled .nav-link:hover,
.nav-link[aria-current='page'] {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.nav-link[aria-current='page']::after {
    transform: scaleX(1);
    background: var(--refresh-mint);
}

.nav-link::after { background: var(--refresh-mint); }

.nav-cta .btn { min-height: 42px; padding: .65rem 1rem; }

.mobile-menu-btn .hamburger-line { background: #fff; }

.mobile-nav {
    background: rgba(8, 27, 45, .98);
    border-top: 1px solid rgba(255,255,255,.1);
}

.mobile-nav-link { color: rgba(255,255,255,.84); }

/* Global heroes */
.home-hero,
.site-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 12%, rgba(116, 224, 193, .14), transparent 31%),
        radial-gradient(circle at 9% 86%, rgba(110, 168, 255, .1), transparent 30%),
        #0b1020;
    border: 0;
}

.home-hero::before,
.site-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, transparent 4%, #000 72%, transparent 100%);
}

.home-hero::after { display: none; }

.site-hero {
    padding: 166px 0 104px;
}

.site-hero-compact { padding: 150px 0 88px; }

.site-hero .container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin-left: max(20px, calc((100vw - 1240px) / 2));
}

.site-eyebrow,
.site-kicker,
.home-eyebrow,
.home-kicker {
    color: var(--refresh-mint);
    font: 700 .72rem/1.5 'Inter', sans-serif;
    letter-spacing: .16em;
}

.site-hero h1 {
    max-width: 1020px;
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(2.65rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: .99;
    letter-spacing: -.065em;
}

.site-hero-compact h1 { max-width: 900px; font-size: clamp(2.5rem, 5vw, 4.7rem); }

.site-hero p {
    max-width: 800px;
    margin: 0 0 32px;
    color: rgba(255,255,255,.68);
    font-size: clamp(1.03rem, 1.6vw, 1.25rem);
    line-height: 1.75;
}

.site-hero small { color: rgba(255,255,255,.55); }

.breadcrumbs { color: rgba(255,255,255,.5); }
.breadcrumbs a { color: rgba(255,255,255,.7); }

.hero-action,
.site-cta a {
    min-height: 48px;
    align-items: center;
    padding: 13px 20px;
    border-radius: 8px;
    color: #0b1020;
    background: var(--refresh-mint);
    box-shadow: none;
}

/* Resume-backed outcome band */
.impact-band {
    position: relative;
    z-index: 3;
    color: #fff;
    background: #151a32;
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.impact-band-inner {
    display: grid;
    grid-template-columns: .78fr 2.22fr;
    align-items: stretch;
}

.impact-band-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 32px 30px 0;
    border-right: 1px solid rgba(255,255,255,.12);
    text-align: center;
}

.impact-band-intro span {
    display: block;
    margin-bottom: 7px;
    color: var(--refresh-mint);
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.impact-band-intro p {
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: .82rem;
    line-height: 1.55;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.impact-grid article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 28px 25px;
    border-right: 1px solid rgba(255,255,255,.1);
    text-align: center;
}

.impact-grid article:last-child { border-right: 0; }

.impact-grid strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font: 700 clamp(1.15rem, 2vw, 1.65rem)/1.15 'Bricolage Grotesque', sans-serif;
    letter-spacing: -.045em;
}

.impact-grid span {
    display: block;
    color: rgba(255,255,255,.57);
    font-size: .76rem;
    line-height: 1.45;
}

.impact-grid .impact-value-visual,
.impact-grid .impact-counter {
    display: inline;
    color: inherit;
    font: inherit;
    line-height: inherit;
}

.impact-band-intro p,
.impact-description {
    position: relative;
    width: fit-content;
}

.impact-band.impact-ready .impact-band-intro,
.impact-band.impact-ready .impact-description {
    opacity: 0;
    transform: translateY(-36px) scale(.98);
    transform-origin: 50% 100%;
    will-change: transform, opacity;
}

.impact-band.impact-ready .impact-metric {
    opacity: 0;
    transform: translateY(14px) scale(.82);
    transform-origin: 50% 100%;
    will-change: transform, opacity;
}

.impact-band.impact-ready .impact-band-intro.impact-landed,
.impact-band.impact-ready [data-impact-item].impact-landed .impact-description {
    animation: impact-drop-punch 460ms cubic-bezier(.2,.82,.24,1) both;
}

.impact-band.impact-ready [data-impact-item].impact-counting .impact-metric,
.impact-band.impact-ready [data-impact-item].impact-landed .impact-metric {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.impact-band.impact-ready [data-impact-item].impact-counting .impact-metric {
    animation: impact-number-arrive 240ms cubic-bezier(.2,.8,.2,1) both;
}

.impact-band.impact-ready .impact-band-intro.impact-landed p::after,
.impact-band.impact-ready [data-impact-item].impact-landed .impact-description::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: rgba(216,189,123,.52);
    transform-origin: center;
    animation: impact-ground-strike 420ms ease-out both;
}

.impact-band.impact-complete .impact-band-intro,
.impact-band.impact-complete .impact-metric,
.impact-band.impact-complete .impact-description {
    opacity: 1;
    transform: none;
}

@keyframes impact-drop-punch {
    0% { opacity: 0; transform: translateY(-36px) scale(.98); }
    58% { opacity: 1; transform: translateY(4px) scaleY(.91) scaleX(1.025); }
    78% { transform: translateY(-3px) scaleY(1.025) scaleX(.99); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes impact-number-arrive {
    0% { opacity: 0; transform: translateY(10px) scale(.9); }
    72% { opacity: 1; transform: translateY(-1px) scale(1.025); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes impact-ground-strike {
    0%, 48% { opacity: 0; transform: scaleX(.08); }
    66% { opacity: .58; transform: scaleX(.92); }
    100% { opacity: 0; transform: scaleX(1.12); }
}

/* Homepage */
.home-page { background: var(--refresh-paper); color: var(--refresh-ink); }

.home-hero { padding: 162px 0 104px; }

.home-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: clamp(54px, 7vw, 104px);
}

.home-hero-copy { max-width: 760px; }

.home-hero h1 {
    max-width: 760px;
    margin-bottom: 24px;
    color: #fff;
    font-size: clamp(3.35rem, 6.35vw, 6.35rem);
    font-weight: 700;
    line-height: .94;
    letter-spacing: -.072em;
}

.home-role {
    color: var(--refresh-mint);
    font: 600 clamp(1rem, 1.7vw, 1.28rem)/1.45 'Bricolage Grotesque', sans-serif;
}

.home-lead {
    max-width: 690px;
    color: rgba(255,255,255,.67);
    font-size: 1.04rem;
    line-height: 1.78;
}

.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.site-hero .home-actions { gap: 28px; }

.home-text-link { color: #fff; }
.home-text-link:hover { color: var(--refresh-mint); }

.home-trust-list {
    margin-top: 36px;
    color: rgba(255,255,255,.63);
    border-top: 1px solid rgba(255,255,255,.12);
}

.home-trust-list li::before { background: var(--refresh-mint); }

.solution-map {
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: rgba(255,255,255,.055);
    box-shadow: 0 34px 100px rgba(0,0,0,.2);
    backdrop-filter: blur(12px);
}

.solution-map-heading strong,
.solution-map li > span { color: var(--refresh-mint); }

.solution-map li > span { background: rgba(116,224,193,.09); }

.solution-tags span {
    color: rgba(255,255,255,.72);
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.14);
}

.home-intro,
.home-section { background: var(--refresh-paper); }

.home-intro {
    padding: 106px 0;
    border-bottom: 1px solid var(--refresh-line);
}

.home-intro h2,
.home-section h2,
.home-contact h2 {
    color: var(--refresh-ink);
    font-weight: 700;
    letter-spacing: -.055em;
}

.home-intro h2 { font-size: clamp(2.4rem, 4.5vw, 4.5rem); line-height: 1.02; }

.home-intro p,
.home-section-heading > p,
.home-skills-copy > p { color: var(--site-muted); }

.home-arrow-link,
.home-all-link,
.service-summary-card a,
.work-card-body a,
.insight-card a {
    color: var(--refresh-mint-dark);
}

.home-section { padding: 112px 0; }

.home-section-heading { margin-bottom: 54px; }

.home-section-heading h2 { font-size: clamp(2.45rem, 4.7vw, 4.65rem); line-height: 1; }

.home-services { background: #fffefb; }

.service-summary-grid {
    border-color: var(--refresh-line);
    grid-template-columns: repeat(3, minmax(0,1fr));
}

.service-summary-card {
    min-height: 330px;
    padding: 34px;
    background: transparent;
    border-color: var(--refresh-line);
}

.service-summary-card:hover {
    color: #fff;
    background: var(--refresh-ink);
    transform: none;
}

.service-summary-card:hover p { color: rgba(255,255,255,.64); }
.service-summary-card:hover a,
.service-summary-card:hover .service-number { color: var(--refresh-mint); }

.service-number { color: var(--refresh-mint-dark); }

.service-summary-card h3 {
    color: inherit;
    font-size: 1.35rem;
    line-height: 1.28;
}

.service-summary-card p { color: var(--site-muted); }

.home-skills { background: #e9efea; }

.product-capabilities span,
.skill-group li {
    border-radius: 5px;
    color: #245546;
    background: rgba(116, 224, 193, .18);
    border: 1px solid rgba(13,121,101,.15);
}

.skill-group { border-color: rgba(8,27,45,.12); }

.home-work { background: #fffefb; }

.work-card,
.insight-card,
.proof-card {
    border-radius: 10px;
    border: 1px solid var(--refresh-line);
    box-shadow: none;
}

.work-card:hover { transform: translateY(-4px); box-shadow: var(--refresh-shadow); }

.work-image {
    width: 100%;
    height: 260px;
}

.work-image img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    object-position: center top;
}

.work-card-featured .work-image {
    height: 370px;
    min-height: 370px;
}

.work-card-featured .work-image img {
    height: 100%;
    min-height: 0;
}

.work-card-body > span,
.insight-card > span { color: var(--refresh-mint-dark); }

.home-proof {
    color: #fff;
    background: var(--refresh-ink);
}

.home-proof::before { opacity: .12; }
.home-proof .home-kicker { color: var(--refresh-mint); }
.home-proof .home-section-heading h2 { color: #fff; }

.proof-card {
    background: rgba(255,255,255,.055);
    border-color: rgba(255,255,255,.12);
}

.proof-stars { color: var(--refresh-mint); }

.testimonial-carousel-btn { color: #0b1020; background: var(--refresh-mint); }

.home-insights { background: #e9efea; }

.insight-card { background: #fffefb; }

.home-contact {
    padding: 110px 0;
    color: #fff;
    background: #151a32;
}

.home-contact h2 { color: #fff; }
.home-contact p { color: rgba(255,255,255,.65); }

.home-connect a {
    border-radius: 8px;
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
}

/* Shared content pages */
.site-section {
    padding: 104px 0;
    background: var(--refresh-paper);
}

.site-section-soft { background: #e9efea; }

.site-section h2,
.site-card h2,
.site-page-footer h2 {
    color: var(--refresh-ink);
    font-weight: 700;
    letter-spacing: -.045em;
}

.site-section h2 { font-size: clamp(2.15rem, 4vw, 3.8rem); line-height: 1.05; }

.site-two-columns {
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
    gap: clamp(42px, 7vw, 96px);
}

.site-prose p,
.legal-content p,
.site-contact-intro { color: var(--site-muted); }

.site-panel {
    border-radius: 10px;
    border-color: var(--refresh-line);
    background: var(--refresh-card);
    box-shadow: var(--refresh-shadow);
}

.site-check-list li { padding: 14px 0 14px 33px; border-bottom: 1px solid var(--refresh-line); }
.site-check-list li:last-child { border-bottom: 0; }
.site-check-list li::before { content: '↗'; color: var(--refresh-mint-dark); }

.site-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }

.site-card {
    position: relative;
    min-height: 300px;
    padding: 34px;
    overflow: hidden;
    border-radius: 10px;
    border-color: var(--refresh-line);
    background: var(--refresh-card);
    box-shadow: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.site-card:hover {
    z-index: 1;
    border-color: rgba(13,121,101,.34);
    box-shadow: var(--refresh-shadow);
    transform: translateY(-4px);
}

.site-card > span,
.site-card a { color: var(--refresh-mint-dark); }

.site-card h2 { margin: 18px 0 15px; font-size: 1.6rem; line-height: 1.22; }
.site-card p { color: var(--site-muted); }

.site-project-card { min-height: 0; padding: 0; }
.site-project-card > span,
.site-project-card > h2,
.site-project-card > p { margin-left: 30px; margin-right: 30px; }
.site-project-card img { height: 270px; margin: 0 0 26px; border-radius: 0; }

.project-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
}

.site-project-card > .project-actions { margin: 0 30px 30px; }

.project-actions a { display: inline-flex; align-items: center; gap: 6px; }

.project-actions .project-live-link,
.site-live-project-link {
    width: fit-content;
    padding: 9px 14px;
    border: 1px solid rgba(128,101,47,.3);
    border-radius: 999px;
    color: #5e4a24;
    background: rgba(216,189,123,.14);
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.project-actions .project-live-link:hover,
.site-live-project-link:hover {
    color: var(--refresh-ink);
    border-color: #d8bd7b;
    background: #d8bd7b;
    transform: translateY(-2px);
}

.site-live-project-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-weight: 750;
    text-decoration: none;
}

.project-brief {
    position: sticky;
    top: 104px;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(17,24,39,.1);
}

.project-brief-header {
    position: relative;
    padding: 30px;
    color: #fff;
    background: var(--refresh-ink);
    overflow: hidden;
}

.project-brief-header::after {
    content: '';
    position: absolute;
    right: -32px;
    bottom: -52px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(216,189,123,.3);
    border-radius: 50%;
    box-shadow: 0 0 0 26px rgba(216,189,123,.05);
}

.project-brief-header .site-kicker {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

.project-brief-header h2 {
    position: relative;
    z-index: 1;
    max-width: 280px;
    margin: 0;
    color: #fff;
    font-size: clamp(1.55rem,2.2vw,2.1rem);
    line-height: 1.1;
    letter-spacing: -.035em;
}

.project-brief-body { padding: 28px 30px 30px; }

.project-facts {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1px;
    margin: 0 0 22px;
    overflow: hidden;
    border: 1px solid var(--refresh-line);
    border-radius: 10px;
    background: var(--refresh-line);
}

.project-facts > div { min-width: 0; padding: 15px 16px; background: #fff; }

.project-facts dt {
    margin-bottom: 5px;
    color: var(--site-muted);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.project-facts dd {
    margin: 0;
    color: var(--refresh-ink);
    font-size: .95rem;
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.project-brief .site-live-project-link {
    justify-content: space-between;
    width: 100%;
    padding: 13px 16px;
    margin-bottom: 27px;
    border: 0;
    border-radius: 8px;
    color: var(--refresh-ink);
    background: #d8bd7b;
}

.project-brief .site-live-project-link:hover { background: #e2c984; }

.project-brief-group + .project-brief-group {
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--refresh-line);
}

.project-brief-group-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.project-brief-group-heading h3 {
    margin: 0;
    color: var(--refresh-ink);
    font-size: .95rem;
    line-height: 1.3;
}

.project-brief-group-heading > span {
    flex: 0 0 auto;
    color: var(--site-muted);
    font-size: .72rem;
    font-weight: 650;
}

.project-stack-tags { gap: 7px; }

.project-stack-tags span {
    padding: 7px 10px;
    border: 0;
    border-radius: 6px;
    color: #5e4a24;
    background: #f2eddf;
    font-size: .75rem;
    font-weight: 650;
    line-height: 1.35;
}

.project-stack-more { margin-top: 14px; }

.project-stack-more summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0 0;
    color: #80652f;
    font-size: .78rem;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}

.project-stack-more summary::-webkit-details-marker { display: none; }

.project-stack-more summary > span {
    position: relative;
    width: 16px;
    height: 16px;
}

.project-stack-more summary > span::before,
.project-stack-more summary > span::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 2px;
    width: 12px;
    height: 1.5px;
    background: currentColor;
    transition: transform .2s ease;
}

.project-stack-more summary > span::after { transform: rotate(90deg); }
.project-stack-more[open] summary > span::after { transform: rotate(0); }
.project-stack-more[open] summary { margin-bottom: 13px; }

.site-project-masonry {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-items: start;
    gap: clamp(20px,2.2vw,30px);
}

.site-project-masonry .site-project-card {
    width: 100%;
    margin: 0;
    box-shadow: 0 18px 45px rgba(17,24,39,.08);
}

.site-project-masonry .site-project-card img {
    display: block;
    width: 100%;
    height: 280px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center top;
}

.case-study-featured-image {
    display: block;
    width: 100%;
    height: 420px;
    margin: 0 0 34px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center top;
}

.site-project-masonry .site-project-card > p {
    margin-bottom: 18px;
}

.site-project-masonry .site-empty-state {
    grid-column: 1 / -1;
}

.site-outcomes { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }

.site-outcomes article {
    min-height: 120px;
    padding: 25px;
    border-radius: 8px;
    border-color: var(--refresh-line);
    background: var(--refresh-card);
}

.site-outcomes article > span { color: var(--refresh-mint-dark); }

.site-tags span,
.tag {
    padding: 8px 12px;
    border-radius: 5px;
    color: #245546;
    background: rgba(116,224,193,.15);
    border: 1px solid rgba(13,121,101,.15);
}

.site-process li::before { border-radius: 6px; color: #0b1020; background: var(--refresh-mint); }

.site-faqs details {
    border-radius: 7px;
    border-color: var(--refresh-line);
    background: var(--refresh-card);
}

.site-faqs summary { color: var(--refresh-ink); }

.site-cta {
    position: relative;
    overflow: hidden;
    padding: 94px 0;
    color: #fff;
    background: #0b1020;
}

.site-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
    background-size: 72px 72px;
}

.site-cta .container { position: relative; z-index: 1; }
.site-cta h2 { max-width: 900px; margin: 0 auto 18px; font-size: clamp(2.4rem,5vw,4.5rem); line-height: 1; letter-spacing: -.055em; }
.site-cta p { color: rgba(255,255,255,.64); }

/* About and experience */
.experience-layout {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: clamp(44px, 8vw, 110px);
}

.experience-intro { position: sticky; top: 120px; align-self: start; }

.experience-intro p { color: var(--site-muted); font-size: 1.05rem; }

.experience-list { border-top: 1px solid var(--refresh-line); }

.experience-item {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 26px;
    padding: 30px 0;
    border-bottom: 1px solid var(--refresh-line);
}

.experience-item time {
    color: var(--refresh-mint-dark);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.experience-item h3 { margin: 0 0 5px; font-size: 1.15rem; }
.experience-item strong { display: block; color: var(--site-muted); font-size: .9rem; }
.experience-item p { margin: 12px 0 0; color: var(--site-muted); line-height: 1.68; }

.education-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.education-card { padding: 28px; border: 1px solid var(--refresh-line); background: var(--refresh-card); }
.education-card span { color: var(--refresh-mint-dark); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.education-card h3 { margin: 14px 0 7px; font-size: 1.2rem; }
.education-card p { margin: 0; color: var(--site-muted); }

/* Capability, proof and contact pages */
.site-capability-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }

.site-capability-card {
    border-radius: 9px;
    border-color: var(--refresh-line);
    background: var(--refresh-card);
    box-shadow: none;
}

.site-capability-heading > span { color: var(--site-muted); }

.site-proof-gallery a,
.site-proof-text-grid article {
    border-radius: 9px;
    border-color: var(--refresh-line);
    background: var(--refresh-card);
    box-shadow: none;
}

.site-proof-text-grid article > div { color: var(--refresh-mint-dark); }

.site-contact-links a {
    border-radius: 7px;
    border-color: var(--refresh-line);
    background: var(--refresh-card);
}

.site-contact-links a:hover { border-color: rgba(13,121,101,.35); transform: translateX(4px); }

.site-contact-form-wrap {
    border-radius: 10px;
    border-color: var(--refresh-line);
    background: var(--refresh-card);
    box-shadow: var(--refresh-shadow);
}

.site-contact-form input,
.site-contact-form select,
.site-contact-form textarea {
    min-height: 46px;
    border-radius: 6px;
    border-color: #c8d1cd;
    background: #fff;
}

.site-contact-form textarea { min-height: 150px; }
.site-contact-form input:focus,
.site-contact-form select:focus,
.site-contact-form textarea:focus { outline: 3px solid rgba(116,224,193,.25); border-color: var(--refresh-mint-dark); }

.contact-brief {
    margin-top: 30px;
    padding: 24px;
    border-left: 3px solid var(--refresh-mint);
    background: #e9efea;
}

.contact-brief h3 { margin: 0 0 10px; font-size: 1rem; }
.contact-brief ul { margin: 0; padding-left: 18px; color: var(--site-muted); }

.legal-content section {
    padding: 30px 0;
    margin: 0;
    border-bottom: 1px solid var(--refresh-line);
}

/* Blog article */
.article-hero { padding-bottom: 88px; }

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-bottom: 24px;
    color: rgba(255,255,255,.58);
    font-size: .82rem;
}

.article-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 76px;
    align-items: start;
}

.article-main { min-width: 0; }

.article-featured-image {
    display: block;
    width: 100%;
    max-height: 520px;
    margin-bottom: 42px;
    object-fit: cover;
    border: 1px solid var(--refresh-line);
}

.article-content {
    color: #344653;
    font-size: 1.06rem;
    line-height: 1.86;
}

.article-content h2,
.article-content h3 {
    margin: 2.3em 0 .75em;
    color: var(--refresh-ink);
}

.article-content h2 { font-size: clamp(1.8rem,3vw,2.6rem); }
.article-content h3 { font-size: 1.4rem; }
.article-content p,
.article-content ul,
.article-content ol { margin-bottom: 1.35em; }
.article-content a { color: var(--refresh-mint-dark); }
.article-content blockquote { margin: 2em 0; padding: 22px 26px; border-left: 3px solid var(--refresh-mint); background: #e9efea; }

.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--refresh-line); }
.article-tags strong { margin-right: 6px; color: var(--refresh-ink); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.article-tags span { padding: 7px 11px; border: 1px solid var(--refresh-line); color: var(--refresh-muted); font-size: .78rem; line-height: 1; }

.article-aside { position: sticky; top: 116px; }
.article-aside-card { padding: 24px; border: 1px solid var(--refresh-line); background: var(--refresh-card); }
.article-aside-card + .article-aside-card { margin-top: 16px; }
.article-aside-card span { display: block; color: var(--refresh-mint-dark); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.article-aside-card h2 { margin: 10px 0; font-size: 1.1rem; }
.article-aside-card p { margin: 0; color: var(--site-muted); font-size: .88rem; }
.article-aside-card a { display: inline-flex; margin-top: 14px; color: var(--refresh-mint-dark); font-weight: 700; text-decoration: none; }

.related-articles-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }

/* Footer */
.home-footer,
.site-page-footer {
    padding: 78px 0 0;
    color: rgba(255,255,255,.62);
    background: #061521;
}

.site-page-footer-grid {
    grid-template-columns: 1.7fr 1fr 1fr .9fr;
    gap: 54px;
}

.site-page-brand,
.site-page-brand span { color: #fff; }
.site-page-brand strong { color: var(--refresh-mint); }
.site-page-footer h2 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.site-page-footer a:not(.site-page-brand) { color: rgba(255,255,255,.62); }
.site-page-footer a:hover { color: var(--refresh-mint); }
.site-page-footer-bottom { color: rgba(255,255,255,.45); border-color: rgba(255,255,255,.1); }

.footer-availability {
    padding: 18px;
    border: 1px solid rgba(255,255,255,.11);
    color: rgba(255,255,255,.64);
    font-size: .85rem;
}

.footer-availability::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--refresh-mint);
    box-shadow: 0 0 0 5px rgba(116,224,193,.1);
}

.footer-availability > span { display: block; margin-bottom: 8px; color: var(--refresh-mint); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-availability strong { display: block; color: #fff; line-height: 1.5; }
.footer-availability a { display: inline-flex; margin-top: 14px; font-weight: 700; text-decoration: none; }

/* Responsive navigation */
.nav-links,
.nav-cta { display: none; }
.mobile-menu-btn { display: flex; }

@media (min-width: 1180px) {
    .nav-links { display: flex; }
    .nav-cta { display: block; }
    .mobile-menu-btn { display: none; }
}

@media (max-width: 1050px) {
    .home-hero-grid,
    .home-skills-grid,
    .site-two-columns,
    .experience-layout,
    .article-shell { grid-template-columns: 1fr; }

    .solution-map { max-width: 680px; }
    .experience-intro,
    .article-aside { position: static; }
    .article-aside { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
    .article-aside-card + .article-aside-card { margin-top: 0; }
    .site-page-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-availability { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
    .container { width: min(100% - 32px, 1240px); }
    .home-hero,
    .site-hero,
    .site-hero-compact { padding: 132px 0 76px; }
    .home-hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
    .site-hero h1,
    .site-hero-compact h1 { font-size: clamp(2.45rem, 12vw, 4.2rem); }
    .site-hero .container { margin: 0 auto; }
    .impact-band-inner { grid-template-columns: 1fr; }
    .impact-band-intro { padding: 24px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
    .impact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .impact-grid article:nth-child(2) { border-right: 0; }
    .impact-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
    .home-intro,
    .home-section,
    .site-section { padding: 74px 0; }
    .home-intro-grid,
    .home-section-heading { grid-template-columns: 1fr; gap: 24px; }
    .service-summary-grid,
    .site-card-grid,
    .site-capability-grid,
    .site-outcomes,
    .site-proof-gallery,
    .site-proof-text-grid,
    .site-contact-layout,
    .education-grid,
    .related-articles-grid,
    .site-page-footer-grid { grid-template-columns: 1fr; }
    .service-summary-card { min-height: 0; }
    .work-card-featured { grid-template-columns: 1fr; }
    .work-card-featured .work-image {
        height: 300px;
        min-height: 300px;
    }
    .experience-item { grid-template-columns: 1fr; gap: 8px; }
    .article-aside { grid-template-columns: 1fr; }
    .site-page-footer-grid { gap: 28px; }
    .site-project-masonry { grid-template-columns: 1fr; }
    .project-brief { position: static; }
}

@media (max-width: 520px) {
    .container { width: min(100% - 24px, 1240px); }
    .nav-content { height: 72px; }
    .logo { font-size: 1rem; }
    .home-hero,
    .site-hero,
    .site-hero-compact { padding-top: 116px; }
    .home-hero h1 { font-size: 3rem; }
    .home-actions { align-items: stretch; flex-direction: column; }
    .home-actions .btn { justify-content: center; }
    .impact-grid { grid-template-columns: 1fr; }
    .impact-grid article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
    .impact-grid article:last-child { border-bottom: 0; }
    .site-card,
    .site-panel,
    .site-contact-form-wrap { padding: 24px; }
    .site-project-card { padding: 0; }
    .work-image,
    .work-card-featured .work-image {
        height: 220px;
        min-height: 220px;
    }
    .site-project-masonry .site-project-card img { height: 220px; }
    .case-study-featured-image { height: 240px; }
    .project-brief { padding: 0; }
    .project-brief-header,
    .project-brief-body { padding: 24px; }
    .project-facts { grid-template-columns: 1fr; }
}

/* Expressive motion and interaction layer */
.home-hero,
.site-hero {
    background:
        radial-gradient(circle at 84% 18%, rgba(140,124,255,.28), transparent 27%),
        radial-gradient(circle at 12% 84%, rgba(255,138,112,.16), transparent 26%),
        linear-gradient(125deg, #090e1d 0%, #11172d 52%, #1b1740 100%);
}

.home-hero::after,
.site-hero::after {
    content: '';
    display: block;
    position: absolute;
    width: 360px;
    height: 360px;
    right: -110px;
    bottom: -180px;
    border-radius: 50%;
    background: var(--refresh-mint);
    opacity: .13;
    filter: blur(22px);
    animation: hero-orbit 9s ease-in-out infinite alternate;
}

.home-hero h1,
.site-hero h1,
.site-cta h2 {
    text-wrap: balance;
}

.home-hero h1 {
    background: linear-gradient(110deg, #fff 15%, #fff 56%, #dfff9f 76%, #fff 92%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: headline-glow 8s ease-in-out infinite;
}

.btn,
.hero-action,
.site-cta a,
.site-contact-form button,
.booking-button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 999px;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn::before,
.hero-action::before,
.site-cta a::before,
.site-contact-form button::before,
.booking-button::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.75) 48%, transparent 72%);
    transform: translateX(-130%);
    transition: transform .65s ease;
}

.btn:hover::before,
.hero-action:hover::before,
.site-cta a:hover::before,
.site-contact-form button:hover::before,
.booking-button:hover::before { transform: translateX(130%); }

.btn:hover,
.hero-action:hover,
.site-cta a:hover,
.booking-button:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 14px 40px rgba(201,255,102,.22); }

.solution-map { animation: card-float 6s ease-in-out infinite; }
.solution-map li { transition: transform .25s ease, background .25s ease; }
.solution-map li:hover { transform: translateX(7px); background: rgba(255,255,255,.04); }

.impact-grid strong { color: var(--refresh-mint); }
.impact-grid article { transition: background .25s ease; }
.impact-grid article:hover { background: rgba(255,255,255,.045); }

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.2,.75,.2,1), transform .7s cubic-bezier(.2,.75,.2,1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

.motion-story {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    color: #fff;
    background: #0b1020;
}

.motion-story::before {
    content: '';
    position: absolute;
    width: 540px;
    height: 540px;
    left: -230px;
    top: -260px;
    border-radius: 50%;
    background: rgba(140,124,255,.22);
    filter: blur(60px);
}

.motion-story-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.motion-story-copy h2 { max-width: 520px; margin: 10px 0 18px; color: #fff; font-size: clamp(2.8rem,5vw,5rem); line-height: .96; }
.motion-story-copy p { max-width: 500px; color: rgba(255,255,255,.64); }
.motion-path { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding-top: 28px; }
.motion-path::before { content: ''; position: absolute; left: 8%; right: 8%; top: 53px; height: 2px; background: linear-gradient(90deg, var(--refresh-coral), var(--refresh-mint), var(--refresh-blue), var(--refresh-coral)); background-size: 220% 100%; animation: path-flow 4s linear infinite; }
.motion-node { position: relative; z-index: 1; min-height: 150px; padding: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.055); backdrop-filter: blur(12px); }
.motion-node::before { content: ''; display: block; width: 18px; height: 18px; margin: -1px 0 38px; border: 5px solid #0b1020; border-radius: 50%; background: var(--refresh-mint); box-shadow: 0 0 0 1px var(--refresh-mint), 0 0 26px rgba(201,255,102,.6); animation: node-pulse 2.4s ease-in-out infinite; }
.motion-node:nth-child(2)::before { animation-delay: .4s; background: var(--refresh-coral); box-shadow: 0 0 0 1px var(--refresh-coral), 0 0 26px rgba(255,138,112,.55); }
.motion-node:nth-child(3)::before { animation-delay: .8s; background: var(--refresh-blue); box-shadow: 0 0 0 1px var(--refresh-blue), 0 0 26px rgba(140,124,255,.55); }
.motion-node:nth-child(4)::before { animation-delay: 1.2s; }
.motion-node span { display: block; color: rgba(255,255,255,.46); font-size: .68rem; font-weight: 700; letter-spacing: .12em; }
.motion-node strong { display: block; margin-top: 5px; color: #fff; font: 700 1.15rem/1.2 'Bricolage Grotesque',sans-serif; }

.social-icon-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.social-icon-links a { position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin: 0 !important; padding: 0 !important; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #fff !important; background: rgba(255,255,255,.06); transition: transform .25s ease, color .25s ease, background .25s ease, border-color .25s ease; }
.social-icon-links a::after { content: attr(data-label); position: absolute; left: 50%; bottom: calc(100% + 9px); padding: 5px 8px; border-radius: 5px; color: #fff; background: #0b1020; font-size: .65rem; white-space: nowrap; opacity: 0; transform: translate(-50%,5px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.social-icon-links a:hover { color: #0b1020 !important; background: var(--refresh-mint); border-color: var(--refresh-mint); transform: translateY(-4px) rotate(-3deg); }
.social-icon-links a:hover::after { opacity: 1; transform: translate(-50%,0); }
.social-icon-links svg { width: 21px; height: 21px; }
.site-contact-links { display: none; }
.site-section .social-icon-links a { color: var(--refresh-ink) !important; border-color: var(--refresh-line); background: var(--refresh-card); }
.site-section .social-icon-links a:hover { color: #0b1020 !important; border-color: var(--refresh-mint); background: var(--refresh-mint); }
.contact-social-kicker { margin-top: 34px; }
.home-connect { display: block; }
.home-connect > span { color: rgba(255,255,255,.58); font-size: .78rem; }
.home-connect .social-icon-links { margin-top: 14px; }

.booking-card { margin: 0 0 22px; padding: 24px; border: 1px solid rgba(91,77,232,.2); border-radius: 18px; background: linear-gradient(135deg, rgba(140,124,255,.1), rgba(201,255,102,.11)); }
.site-contact-form > .booking-card,
.site-contact-form > .form-section-label { grid-column: 1 / -1; }
.booking-card-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.booking-card-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; color: #0b1020; background: var(--refresh-mint); }
.booking-card-icon svg { width: 20px; height: 20px; }
.booking-card h2 { margin: 0 0 4px; font-size: 1.35rem; }
.booking-card p { margin: 0; color: var(--site-muted); font-size: .88rem; }
.booking-fields { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px; }
.booking-fields label { display: grid; gap: 6px; color: var(--refresh-ink); font-size: .78rem; font-weight: 700; }
.booking-fields input,
.booking-fields select { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid var(--refresh-line); border-radius: 10px; color: var(--refresh-ink); background: #fff; font: inherit; }
.field-wide { grid-column: 1 / -1; }
.form-section-label { padding-top: 6px; color: var(--refresh-mint-dark); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.booking-button { display: inline-flex; margin-top: 16px; padding: 10px 16px; color: #0b1020; background: var(--refresh-mint); font-size: .82rem; font-weight: 700; text-decoration: none; }

.site-contact-form button { border-radius: 999px; }
.site-card,
.service-summary-card,
.site-capability-card,
.proof-card,
.insight-card { border-radius: 18px; }
.site-card:hover,
.service-summary-card:hover,
.site-capability-card:hover { transform: translateY(-7px) rotate(-.25deg); }

@keyframes hero-orbit { to { transform: translate(-70px,-46px) scale(1.08); } }
@keyframes headline-glow { 0%,100% { background-position: 0 50%; } 50% { background-position: 100% 50%; } }
@keyframes card-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes path-flow { to { background-position: 220% 0; } }
@keyframes node-pulse { 0%,100% { transform: scale(.82); } 50% { transform: scale(1.15); } }

@media (max-width: 900px) {
    .motion-story-grid { grid-template-columns: 1fr; gap: 40px; }
    .motion-path { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .motion-path::before { display: none; }
    .motion-node::before { margin-bottom: 22px; }
}

@media (max-width: 520px) {
    .motion-story { padding: 78px 0; }
    .motion-path { grid-template-columns: 1fr; }
    .motion-node { min-height: 0; }
    .booking-fields { grid-template-columns: 1fr; }
    .booking-fields > * { grid-column: 1; }
}

/* Premium two-color refinement: ink and champagne */
body { background: #f5f2ea; }

.navbar,
.navbar.navbar-solid,
.navbar.scrolled { background: rgba(17,24,39,.96); }

.home-hero,
.site-hero {
    background:
        radial-gradient(circle at 88% 18%, rgba(216,189,123,.12), transparent 27%),
        linear-gradient(118deg, #0e1523 0%, #111827 58%, #182235 100%);
}

.home-hero::after,
.site-hero::after { background: #d8bd7b; opacity: .08; }
.home-hero h1 { color: #fff; background: none; animation: none; }
.home-role,
.site-eyebrow,
.site-kicker,
.home-eyebrow,
.home-kicker,
.logo-accent { color: #d8bd7b; }

.btn-primary,
.hero-action,
.site-cta a,
.site-contact-form button,
.booking-button,
.testimonial-carousel-btn { color: #111827; background: #d8bd7b; }

.btn-primary:hover,
.hero-action:hover,
.site-cta a:hover,
.site-contact-form button:hover,
.booking-button:hover,
.testimonial-carousel-btn:hover { color: #111827; background: #ead9ae; }

.btn:hover,
.hero-action:hover,
.site-cta a:hover,
.booking-button:hover { box-shadow: 0 14px 38px rgba(216,189,123,.2); }

.home-hero { padding: 144px 0 82px; }
.home-hero-grid { grid-template-columns: minmax(0,1.05fr) minmax(340px,.72fr); gap: clamp(48px,7vw,92px); align-items: center; }
.home-hero h1 { max-width: 680px; font-size: clamp(3.7rem,6.4vw,6.5rem); }
.home-lead { max-width: 620px; }

.portrait-card { position: relative; width: min(100%,430px); margin: 0; justify-self: end; perspective: 1200px; }
.portrait-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid rgba(216,189,123,.44); border-radius: 180px 180px 28px 28px; background: #f5f2ea; box-shadow: 22px 24px 0 rgba(216,189,123,.11), 0 34px 90px rgba(0,0,0,.28); transform: rotateY(-3deg); transition: transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .55s ease; }
.portrait-frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 10px rgba(255,255,255,.06); }
.portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.78) contrast(1.04); }
.portrait-card:hover .portrait-frame { transform: rotateY(3deg) translateY(-6px); box-shadow: -14px 28px 0 rgba(216,189,123,.1), 0 40px 100px rgba(0,0,0,.3); }
.portrait-card figcaption { display: grid; gap: 2px; margin: 18px 70px 0 14px; color: rgba(255,255,255,.62); }
.portrait-card figcaption strong { color: #fff; font-size: .95rem; }
.portrait-card figcaption span { font-size: .72rem; }
.portrait-seal { position: absolute; right: -18px; bottom: 44px; display: grid; place-items: center; width: 88px; height: 88px; border: 7px solid #111827; border-radius: 50%; color: #111827; background: #d8bd7b; box-shadow: 0 14px 35px rgba(0,0,0,.24); }
.portrait-seal strong { font: 800 1.45rem/1 'Bricolage Grotesque',sans-serif; }
.portrait-seal span { margin-top: -14px; font-size: .6rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.portrait-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: #111827; background: #d8bd7b; font: 800 5rem/1 'Bricolage Grotesque',sans-serif; }

.profile-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 76px; align-items: center; }
.profile-hero .portrait-card { width: 290px; }
.profile-hero .portrait-seal { width: 72px; height: 72px; right: -14px; bottom: 38px; }
.profile-hero .portrait-card figcaption { margin-top: 13px; }

.impact-band { background: #151e30; }
.impact-grid strong { color: #d8bd7b; }
.motion-story { padding: 84px 0; background: #111827; }
.motion-story::before { background: rgba(216,189,123,.1); }
.motion-story-grid { gap: 60px; }
.motion-path::before { background: linear-gradient(90deg,transparent,#d8bd7b,transparent); background-size: 220% 100%; }
.motion-node::before,
.motion-node:nth-child(2)::before,
.motion-node:nth-child(3)::before,
.motion-node:nth-child(4)::before { background: #d8bd7b; box-shadow: 0 0 0 1px #d8bd7b,0 0 20px rgba(216,189,123,.35); }

.home-intro,
.home-section,
.site-section { padding-top: clamp(72px,7vw,96px); padding-bottom: clamp(72px,7vw,96px); }
.home-section-heading { margin-bottom: 42px; }
.home-section-heading h2 { font-size: clamp(2.25rem,4vw,4.1rem); }
.site-section h2 { font-size: clamp(2rem,3.6vw,3.45rem); }
.service-summary-card { min-height: 285px; }

.home-contact { padding: 70px 0; background: #111827; }
.home-contact-grid { width: min(100%,1080px); grid-template-columns: minmax(0,1fr) auto; gap: 70px; align-items: center; }
.home-contact h2 { max-width: 600px; margin-bottom: 16px; font-size: clamp(2.65rem,4.5vw,4.7rem); line-height: .98; }
.home-contact p { margin-bottom: 24px; }
.home-connect { min-width: 300px; padding: 8px 0 8px 46px; border-left: 1px solid rgba(216,189,123,.25); }
.home-connect .social-icon-links { flex-wrap: nowrap; }
.social-icon-links > a {
    display: inline-grid !important;
    place-items: center !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-color: rgba(216,189,123,.28);
    border-radius: 50% !important;
    line-height: 1 !important;
}
.social-icon-links > a > svg { display: block; width: 19px; height: 19px; margin: auto; }
.social-icon-links a:hover { color: #111827 !important; background: #d8bd7b; border-color: #d8bd7b; }

.site-page-footer-grid { display: grid; grid-template-columns: 1.65fr .8fr 1fr 1fr; gap: 48px; padding-bottom: 52px; }
.site-page-footer nav { display: grid; align-content: start; gap: 10px; }
.site-page-footer nav a:not(.site-page-brand) { display: block; margin: 0; }
.site-page-footer-brand-block p { max-width: 480px; }
.site-page-footer-bottom { display: flex; justify-content: space-between; gap: 24px; }
.site-page-footer .footer-legal-links { display: inline-flex; align-items: center; gap: 10px; }
.site-page-footer .footer-legal-links a { display: inline; margin: 0; }

.site-cta { padding: 76px 0; background: #111827; }
.site-cta h2 { font-size: clamp(2.3rem,4.4vw,4rem); }
.site-section-soft,
.home-skills,
.home-insights { background: #ece7dc; }
.home-services,
.home-work { background: #f8f6f0; }

/* Focused homepage */
.home-page-compact .home-section { padding-top: clamp(64px,6vw,82px); padding-bottom: clamp(64px,6vw,82px); }
.home-page-compact .home-section-heading { margin-bottom: 34px; }
.home-page-compact .home-section-heading h2 { max-width: 700px; font-size: clamp(2.35rem,4vw,3.8rem); }
.home-page-compact .service-summary-card { min-height: 250px; padding: 28px; }
.home-page-compact .service-summary-card h3 { margin-top: 30px; font-size: 1.45rem; }
.home-page-compact .service-summary-card p { max-width: 34ch; }
.home-page-compact .home-proof .proof-grid { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 980px; }
.home-page-compact .proof-card { min-height: 235px; }
.home-page-compact .home-contact { padding-top: 62px; padding-bottom: 62px; }
.home-page-compact .work-card-body p { -webkit-line-clamp: 2; }

.booking-card { border-color: rgba(128,101,47,.22); background: #eee8da; }
.booking-card-icon { background: #d8bd7b; }
.product-capabilities span,
.skill-group li,
.site-tags span,
.tag { color: #5e4a24; background: rgba(216,189,123,.16); border-color: rgba(128,101,47,.2); }
.site-card:hover,
.service-summary-card:hover,
.site-capability-card:hover { border-color: rgba(128,101,47,.42); }
.site-check-list li::before,
.site-outcomes article > span,
.proof-stars,
.site-proof-text-grid article > div { color: #80652f; }
.site-contact-form input:focus,
.site-contact-form select:focus,
.site-contact-form textarea:focus { outline-color: rgba(216,189,123,.3); border-color: #80652f; }
.footer-availability::before { background: #d8bd7b; box-shadow: 0 0 0 5px rgba(216,189,123,.1); }
.form-section-label,
.home-arrow-link,
.home-all-link,
.service-summary-card a,
.work-card-body a,
.insight-card a,
.site-card > span,
.site-card a { color: #80652f; }

.flip-on-scroll { opacity: 0; transform: perspective(1100px) rotateY(14deg) translateY(20px); transform-origin: left center; transition: opacity .62s ease, transform .72s cubic-bezier(.2,.78,.2,1); transition-delay: var(--reveal-delay,0ms); backface-visibility: hidden; }
.flip-on-scroll.flip-from-right { transform: perspective(1100px) rotateY(-14deg) translateY(20px); transform-origin: right center; }
.flip-on-scroll.is-visible { opacity: 1; transform: perspective(1100px) rotateY(0) translateY(0); }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .18s ease both page-out; }
::view-transition-new(root) { animation: .26s ease both page-in; }
@keyframes page-out { to { opacity: 0; transform: perspective(900px) rotateY(-2deg) scale(.99); } }
@keyframes page-in { from { opacity: 0; transform: perspective(900px) rotateY(2deg) scale(.99); } }

@media (max-width: 1050px) {
    .home-hero-grid { grid-template-columns: minmax(0,1fr); }
    .portrait-card { justify-self: start; width: min(100%,390px); }
    .profile-hero-grid { grid-template-columns: 1fr; }
    .profile-hero .portrait-card { width: min(100%,280px); }
    .home-contact-grid { width: min(100% - 32px,1080px); grid-template-columns: 1fr; gap: 36px; }
    .home-connect { min-width: 0; padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(216,189,123,.25); }
    .site-page-footer-grid { grid-template-columns: 1.25fr 1fr; }
    .footer-availability { grid-column: auto; }
}

@media (max-width: 760px) {
    .home-page-compact .home-proof .proof-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .home-hero { padding-top: 118px; }
    .home-hero h1 { font-size: clamp(3rem,15vw,4.2rem); }
    .portrait-card { justify-self: center; width: min(100%,320px); }
    .home-page-compact .impact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .home-page-compact .impact-grid article { padding: 22px 14px; border-right: 1px solid rgba(255,255,255,.1); }
    .home-page-compact .impact-grid article:nth-child(2n) { border-right: 0; }
    .home-page-compact .impact-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
    .home-page-compact .impact-grid article:nth-child(n+3) { border-bottom: 0; }
    .home-contact-grid { width: min(100% - 24px,1080px); }
    .portrait-frame { border-radius: 120px 120px 22px 22px; }
    .portrait-seal { right: -4px; }
    .home-connect .social-icon-links { flex-wrap: wrap; }
    .site-page-footer-grid { grid-template-columns: 1fr; }
    .site-page-footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
