/* Alaa Al Refai — Finance & Systems */
:root {
    --ink: #0b0c0e;
    --ink-2: #111317;
    --ink-3: #1a1d22;
    --paper: #f4f1eb;
    --paper-2: #ece7df;
    --white: #ffffff;
    --text: #181a1f;
    --muted: #6d6b67;
    --muted-dark: #a6a5a3;
    --line: rgba(16, 17, 19, .12);
    --line-dark: rgba(255, 255, 255, .12);
    --accent: #d29b68;
    --accent-2: #e6bd91;
    --accent-deep: #8f5d34;
    --success: #316c4b;
    --danger: #9d403c;
    --radius-sm: 12px;
    --radius: 22px;
    --radius-lg: 34px;
    --shadow: 0 24px 70px rgba(15, 13, 10, .12);
    --shell: min(1240px, calc(100vw - 48px));
    --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { background: var(--accent); color: var(--ink); }

.site-shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 900px; }
.section { padding: 120px 0; position: relative; }
.section-dark { color: var(--white); background: var(--ink); }
.section-light { background: var(--paper); }

.skip-link {
    position: fixed; top: 10px; left: 10px; z-index: 9999; transform: translateY(-150%);
    background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { transform: none; }

.eyebrow {
    margin: 0 0 22px;
    color: var(--accent-2);
    font-size: .78rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.eyebrow.dark { color: var(--accent-deep); }

h1, h2, h3, h4 { margin: 0; line-height: 1.02; letter-spacing: -.045em; }
h1 { font-size: clamp(3.6rem, 7vw, 7.5rem); font-weight: 680; }
h2 { font-size: clamp(2.6rem, 5vw, 5.2rem); font-weight: 650; }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 680; }
h1 em, h2 em, .big-statement em { color: var(--accent-2); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.section-heading h2 em, .journey-intro h2 em { color: var(--accent-deep); }

.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px;
    font-weight: 750; font-size: .92rem; line-height: 1; cursor: pointer;
    transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: var(--accent-2); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
.button-ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--ink-3); }
.button-full { width: 100%; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: #d7d5d2; font-size: .93rem; font-weight: 650; }
.text-link:hover { color: var(--white); }

/* Header */
.site-header {
    position: fixed; z-index: 1000; inset: 0 0 auto; height: 88px;
    color: var(--white); transition: background .3s, border-color .3s, height .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
    height: 74px; background: rgba(11,12,14,.86); border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.2); background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.02));
    color: var(--accent-2); font-size: .78rem; font-weight: 850; letter-spacing: -.04em;
}
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: .92rem; letter-spacing: -.02em; }
.brand-copy small { margin-top: 5px; color: #a7a7a8; font-size: .62rem; letter-spacing: .05em; text-transform: uppercase; }
.brand-custom-logo img { max-height: 48px; width: auto; }
.brand-wordmark img { width: 230px; max-height: 48px; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { display: flex; list-style: none; align-items: center; gap: 26px; margin: 0; padding: 0; }
.primary-nav a { color: #ceced0; font-size: .83rem; font-weight: 650; transition: color .2s; }
.primary-nav a:hover { color: var(--white); }
.nav-contact { padding: 10px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: var(--white) !important; }
.nav-contact:hover { border-color: var(--accent); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.nav-toggle span { display: block; height: 1px; margin: 6px 0; background: var(--white); transition: transform .2s, opacity .2s; }

/* Hero */
.hero { position: relative; min-height: 100svh; padding: 150px 0 46px; overflow: hidden; }
.hero:before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .42;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 62px 62px; mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-orb-one { width: 520px; height: 520px; right: -150px; top: 50px; background: radial-gradient(circle, rgba(210,155,104,.18), transparent 67%); }
.hero-orb-two { width: 420px; height: 420px; left: -240px; bottom: -160px; background: radial-gradient(circle, rgba(255,255,255,.08), transparent 68%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(380px,.8fr); gap: 74px; align-items: center; }
.hero-copy { padding-top: 40px; }
.hero h1 { max-width: 850px; }
.hero h1 em { display: inline-block; }
.hero-intro { max-width: 720px; margin: 30px 0 0; color: #b8b8b9; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-rotator {
    display: flex; flex-wrap: wrap; gap: 7px 10px; align-items: baseline;
    min-height: 34px; margin-top: 24px; color: #9d9d9f; font-size: 1rem;
}
.hero-rotator strong { color: var(--accent-2); transition: opacity .22s, transform .22s; }
.hero-rotator strong.is-changing { opacity: 0; transform: translateY(5px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 34px; }
.hero-actions .text-link { margin-left: 8px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 54px; border-top: 1px solid var(--line-dark); }
.hero-proof div { padding: 22px 20px 0 0; }
.hero-proof div + div { padding-left: 22px; border-left: 1px solid var(--line-dark); }
.hero-proof strong { display: block; color: var(--white); font-size: .9rem; }
.hero-proof span { display: block; margin-top: 5px; color: #8f8f92; font-size: .75rem; line-height: 1.45; }
.hero-visual { position: relative; }
.portrait-frame {
    position: relative; width: min(100%, 480px); margin-left: auto; aspect-ratio: .8;
    overflow: hidden; border-radius: 220px 220px 32px 32px; background: #26221e;
    border: 1px solid rgba(255,255,255,.12); box-shadow: 0 50px 110px rgba(0,0,0,.42);
}
.portrait-frame:before { content: ""; position: absolute; inset: 14px; z-index: 3; border: 1px solid rgba(255,255,255,.13); border-radius: inherit; pointer-events: none; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; filter: saturate(.86) contrast(1.02); }
.portrait-gradient { position: absolute; inset: auto 0 0; height: 50%; background: linear-gradient(to top, rgba(7,7,8,.9), transparent); }
.portrait-card { position: absolute; z-index: 5; bottom: 32px; left: 32px; right: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.portrait-card small { display: block; color: #9e9da0; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.portrait-card strong { display: block; margin-top: 5px; font-size: .92rem; }
.hero-strip {
    position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px;
    margin-top: 62px; padding-top: 28px; border-top: 1px solid var(--line-dark); color: #77777a;
    font-size: .7rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase;
}
.hero-strip i { width: 3px; height: 3px; border-radius: 50%; background: #55565a; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr .85fr; gap: 120px; align-items: start; }
.section-heading { position: sticky; top: 120px; }
.section-heading h2 { font-size: clamp(2.9rem, 5vw, 5.25rem); }
.about-copy { padding-top: 44px; }
.about-copy p { color: #4f4e4b; font-size: 1.05rem; }
.about-copy .lead { margin-top: 0; color: var(--text); font-size: 1.32rem; line-height: 1.55; }
.about-copy strong { color: var(--ink); }
.about-quote { margin-top: 36px; padding: 26px 0 4px; border-top: 1px solid var(--line); color: var(--accent-deep); font-family: Georgia, serif; font-size: 1.35rem; font-style: italic; }

/* Shared section heading */
.section-kicker-row { display: grid; grid-template-columns: 1.1fr .7fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.section-kicker-row h2 { font-size: clamp(2.7rem, 4.6vw, 4.8rem); }
.section-kicker-row > p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.section-dark .section-kicker-row > p { color: #9d9da0; }

/* Approach */
.approach-section { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.approach-card { min-height: 310px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s, transform .25s; }
.approach-card:hover { background: rgba(255,255,255,.4); transform: translateY(-4px); }
.approach-card span { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent-deep); font-size: .72rem; font-weight: 850; }
.approach-card h3 { margin-top: 88px; font-size: 1.65rem; }
.approach-card p { margin: 14px 0 0; color: var(--muted); font-size: .9rem; }

/* Capabilities */
.capabilities { background: var(--ink-2); overflow: hidden; }
.capabilities:before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 8% 22%, rgba(210,155,104,.08), transparent 28%); }
.capability-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.capability-card { position: relative; min-height: 390px; padding: 42px; background: var(--ink-2); }
.capability-card:after { content: "↗"; position: absolute; top: 38px; right: 40px; color: #484a4f; font-size: 1.2rem; transition: color .25s, transform .25s; }
.capability-card:hover:after { color: var(--accent-2); transform: translate(3px,-3px); }
.cap-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--accent-2); font-size: .7rem; font-weight: 850; }
.capability-card h3 { margin-top: 72px; font-size: 2rem; }
.capability-card p { max-width: 520px; margin: 18px 0 0; color: #a9a9ab; }
.capability-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.capability-card li { padding: 7px 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: #b9b9bb; font-size: .7rem; }

/* Work */
.work-section { background: #f7f4ee; }
.project-grid { border-top: 1px solid var(--line); }
.project-card {
    position: relative; display: grid; grid-template-columns: 90px 1fr 56px; gap: 24px; align-items: start;
    padding: 42px 8px 42px 0; border-bottom: 1px solid var(--line); transition: padding-left .25s var(--ease), background .25s;
}
.project-card:hover { padding-left: 16px; background: rgba(255,255,255,.42); }
.project-number { padding-top: 8px; color: #aaa39a; font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.project-topline { display: flex; gap: 10px; margin-bottom: 14px; color: var(--accent-deep); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-topline span + span:before { content: "·"; margin-right: 10px; color: #b9b0a6; }
.project-card h3 { font-size: clamp(2rem, 3.2vw, 3.5rem); }
.project-card p { max-width: 760px; margin: 14px 0 0; color: var(--muted); font-size: .98rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.tag-row span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: #64615d; font-size: .66rem; font-weight: 650; }
.project-link { align-self: center; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: background .25s, color .25s, transform .25s; }
.project-card:hover .project-link { background: var(--ink); color: var(--white); transform: rotate(8deg); }

/* Journey */
.journey-section { background: var(--paper); }
.journey-layout { display: grid; grid-template-columns: .72fr 1.1fr; gap: 110px; align-items: start; }
.journey-intro { position: sticky; top: 120px; }
.journey-intro h2 { font-size: clamp(2.6rem, 4.2vw, 4.35rem); }
.journey-intro > p:not(.eyebrow) { margin: 28px 0; color: var(--muted); }
.timeline { border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 150px 1fr; gap: 34px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.timeline-year { color: var(--accent-deep); font-size: .75rem; font-weight: 820; letter-spacing: .05em; text-transform: uppercase; }
.timeline-item h3 { font-size: 1.5rem; line-height: 1.15; }
.timeline-item p { margin: 13px 0 0; color: var(--muted); }

/* Principles */
.principles-section { background: #0e0f11; }
.principles-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 120px; align-items: center; }
.big-statement { max-width: 680px; font-size: clamp(3rem, 6vw, 6.3rem); line-height: .98; letter-spacing: -.055em; font-weight: 650; }
.principles-list { border-top: 1px solid var(--line-dark); }
.principles-list > div { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
.principles-list span { color: var(--accent-2); font-size: .7rem; font-weight: 800; }
.principles-list p { margin: 0; color: #a9a9ab; }
.principles-list strong { color: var(--white); }

/* Contact */
.contact-section { background: var(--accent-2); }
.contact-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 100px; align-items: start; }
.contact-copy h2 { max-width: 690px; font-size: clamp(3rem, 5vw, 5.1rem); }
.contact-copy > p:not(.eyebrow) { max-width: 680px; margin: 28px 0 0; color: #5e4c3d; font-size: 1.02rem; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 48px; border-top: 1px solid rgba(71,47,27,.2); }
.contact-details > * { padding: 20px 20px 0 0; }
.contact-details small { display: block; color: #725944; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-details strong { display: block; margin-top: 6px; color: var(--ink); font-size: .88rem; }
.contact-form-card { padding: 38px; border-radius: var(--radius); background: rgba(255,255,255,.58); border: 1px solid rgba(255,255,255,.45); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; margin-bottom: 7px; color: #3d3127; font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.form-row input, .form-row textarea { width: 100%; border: 1px solid rgba(74,49,28,.18); border-radius: 12px; background: rgba(255,255,255,.68); padding: 13px 14px; color: var(--ink); outline: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--accent-deep); background: var(--white); box-shadow: 0 0 0 3px rgba(143,93,52,.09); }
.form-row textarea { resize: vertical; min-height: 145px; }
.honeypot { position: absolute; left: -99999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 12px 14px; margin-bottom: 18px; border-radius: 10px; font-size: .83rem; }
.form-notice.success { background: rgba(49,108,75,.1); color: #22523a; }
.form-notice.error { background: rgba(157,64,60,.09); color: #7c2f2c; }

/* Footer */
.site-footer { background: var(--ink); color: var(--white); padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .6fr .7fr; gap: 70px; align-items: start; }
.footer-brand { font-size: 1.4rem; font-weight: 750; letter-spacing: -.03em; }
.footer-wordmark { display:inline-block; }
.footer-wordmark img { width:260px; max-height:58px; object-fit:contain; object-position:left center; }
.footer-grid p { max-width: 430px; margin: 12px 0 0; color: #848588; font-size: .88rem; }
.footer-links, .footer-meta { display: grid; gap: 9px; }
.footer-links a, .footer-meta a, .footer-meta span { color: #a4a5a7; font-size: .82rem; }
.footer-links a:hover, .footer-meta a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 58px; padding-top: 20px; border-top: 1px solid var(--line-dark); color: #636468; font-size: .68rem; }

/* Inner pages and project case study */
.generic-page { min-height: 75vh; padding-top: 150px; background: var(--paper); }
.content-card { padding: 48px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.content-card + .content-card { margin-top: 26px; }
.content-card h1 { font-size: clamp(2.5rem, 5vw, 5rem); }
.entry-content { margin-top: 28px; color: #4c4b48; }
.entry-content > * + * { margin-top: 1.3em; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; color: var(--ink); }
.entry-content a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.project-hero { padding: 175px 0 95px; background: var(--ink); }
.project-hero-grid { display: grid; grid-template-columns: 1fr 340px; gap: 80px; align-items: end; }
.back-link { display: inline-block; margin-bottom: 52px; color: #8d8d90; font-size: .76rem; }
.project-hero h1 { max-width: 900px; }
.project-subtitle { max-width: 780px; margin: 28px 0 0; color: #b4b4b6; font-size: 1.2rem; }
.dark-tags span { color: #b7b8ba; border-color: var(--line-dark); }
.project-hero .button { margin-top: 30px; }
.project-monogram { display: grid; place-items: center; width: 320px; aspect-ratio: 1; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--accent-2); font-size: 5.5rem; font-weight: 850; letter-spacing: -.08em; background: radial-gradient(circle, rgba(210,155,104,.12), transparent 60%); }
.project-story { display: grid; grid-template-columns: 1fr .72fr; gap: 100px; }
.project-body .entry-content { margin-top: 0; font-size: 1.06rem; }
.project-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.project-facts div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.project-facts small { display: block; color: var(--accent-deep); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-facts p { margin: 8px 0 0; color: var(--muted); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.reveal-delay { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
    :root { --shell: min(100% - 40px, 1000px); }
    .primary-nav ul { gap: 18px; }
    .primary-nav { gap: 18px; }
    .hero-grid { gap: 40px; grid-template-columns: 1.1fr .7fr; }
    .hero-proof { grid-template-columns: 1fr; }
    .hero-proof div { padding: 14px 0; }
    .hero-proof div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
    .about-grid, .contact-grid { gap: 70px; }
    .journey-layout, .principles-grid { gap: 70px; }
    .approach-card { min-height: 280px; }
    .approach-card h3 { margin-top: 60px; }
}

@media (max-width: 900px) {
    .section { padding: 90px 0; }
    .nav-toggle { display: block; position: relative; z-index: 1002; }
    .primary-nav {
        position: fixed; z-index: 1001; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
        padding: 100px 10vw; background: rgba(11,12,14,.98); transform: translateX(100%); transition: transform .35s var(--ease);
    }
    .primary-nav.is-open { transform: none; }
    .primary-nav ul { display: grid; gap: 18px; }
    .primary-nav ul a { font-size: clamp(1.8rem, 7vw, 3.4rem); letter-spacing: -.04em; }
    .nav-contact { margin-top: 20px; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero { padding-top: 132px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { padding-top: 0; }
    .hero-visual { margin-top: 18px; }
    .portrait-frame { width: min(100%, 620px); margin: 0 auto; aspect-ratio: .95; border-radius: 260px 260px 28px 28px; }
    .portrait-frame img { object-position: 50% 29%; }
    .hero-proof { grid-template-columns: repeat(3,1fr); }
    .hero-proof div { padding: 18px 12px 0 0; }
    .hero-proof div + div { padding-left: 16px; border-left: 1px solid var(--line-dark); border-top: 0; }
    .about-grid, .section-kicker-row, .journey-layout, .principles-grid, .contact-grid, .project-story { grid-template-columns: 1fr; }
    .section-heading, .journey-intro { position: static; }
    .about-copy { padding-top: 0; }
    .approach-grid { grid-template-columns: 1fr 1fr; }
    .capability-grid { grid-template-columns: 1fr; }
    .section-kicker-row { gap: 26px; }
    .journey-layout, .principles-grid, .contact-grid, .project-story { gap: 55px; }
    .project-hero-grid { grid-template-columns: 1fr; }
    .project-monogram { width: 220px; }
}

@media (max-width: 640px) {
    :root { --shell: calc(100vw - 28px); }
    .section { padding: 72px 0; }
    .site-header { height: 72px; }
    .brand-copy small { display: none; }
    .brand-wordmark img { width: 180px; max-height: 42px; }
    .footer-wordmark img { width: 220px; }
    h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
    h2 { font-size: clamp(2.5rem, 11vw, 4rem); }
    .hero { padding-top: 110px; }
    .hero-intro { font-size: 1rem; }
    .hero-actions { align-items: stretch; }
    .hero-actions .button { flex: 1 1 auto; }
    .hero-actions .text-link { width: 100%; margin: 8px 0 0; }
    .hero-proof { grid-template-columns: 1fr; }
    .hero-proof div { padding: 14px 0; }
    .hero-proof div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
    .portrait-frame { aspect-ratio: .82; }
    .portrait-card { left: 24px; right: 24px; bottom: 24px; }
    .hero-strip { justify-content: flex-start; }
    .approach-grid { grid-template-columns: 1fr; }
    .approach-card { min-height: auto; padding: 24px; }
    .approach-card h3 { margin-top: 46px; }
    .capability-card { padding: 28px; min-height: 340px; }
    .capability-card h3 { margin-top: 60px; }
    .project-card { grid-template-columns: 38px 1fr; gap: 12px; padding: 32px 0; }
    .project-link { grid-column: 2; margin-top: 10px; }
    .timeline-item { grid-template-columns: 1fr; gap: 10px; }
    .contact-details { grid-template-columns: 1fr; }
    .contact-form-card { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; }
    .project-hero { padding-top: 130px; }
    .project-monogram { width: 160px; font-size: 4rem; }
    .content-card { padding: 28px; }
}

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