/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #fafaf8;
    --color-bg-dark: #141417;
    --color-text: #2c2c2e;
    --color-text-light: #6b6b6f;
    --color-text-on-dark: #e8e8e6;
    --color-accent: #8b7355;
    --color-accent-light: #b09a7c;
    --color-border: #e6e3dc;
    --color-border-dark: rgba(232, 232, 230, 0.08);
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

/* Film grain overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 2rem 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-scrolled {
    background: rgba(20, 20, 23, 0.92);
    backdrop-filter: blur(16px);
    padding: 1rem 0;
    box-shadow: 0 1px 0 rgba(139, 115, 85, 0.1);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #fff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.75rem;
}

.nav-links a {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    transition: color 0.4s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
    color: rgba(255,255,255,0.9);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-active {
    color: rgba(255,255,255,0.9) !important;
}

.nav-active::after {
    width: 100% !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 20px;
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: #fff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.nav-toggle span:first-child { top: 4px; }
.nav-toggle span:last-child { bottom: 4px; }

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(139, 115, 85, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 115, 85, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(139, 115, 85, 0.03) 0%, transparent 40%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(176, 154, 124, 0.6);
    font-weight: 400;
    margin-bottom: 2.5rem;
}

.hero h1 {
    font-size: clamp(3.2rem, 8vw, 7rem);
    color: #fff;
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
    line-height: 1;
}

.hero-line {
    width: 40px;
    height: 1px;
    background: var(--color-accent);
    margin: 0 auto 2rem;
    opacity: 0.6;
}

.hero-tagline {
    max-width: 600px;
    margin: 0 auto;
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.6;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.01em;
}

.hero-tagline em {
    font-style: italic;
    color: var(--color-accent-light);
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-scroll span {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--color-accent));
    animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.2; transform: scaleY(0.6); }
    50% { opacity: 0.6; transform: scaleY(1); }
}

/* ===== Page Hero (subpages) ===== */
.page-hero {
    padding: 12rem 0 7rem;
    background: var(--color-bg-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 80%, rgba(139, 115, 85, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(139, 115, 85, 0.04) 0%, transparent 50%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .section-label {
    margin-bottom: 1.5rem;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 300;
    margin-bottom: 1.75rem;
    letter-spacing: 0.01em;
}

.page-hero-sub {
    max-width: 580px;
    color: rgba(255,255,255,0.45);
    font-size: 1rem;
    line-height: 1.85;
    font-weight: 300;
}

/* ===== Sections ===== */
.section {
    padding: 9rem 0;
    position: relative;
}

.section-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-on-dark);
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(80%, 900px);
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-accent), transparent);
    opacity: 0.2;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.section-label {
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 3rem;
    font-weight: 500;
}

.section-label[data-num]::before {
    content: attr(data-num) "\00a0\00a0—\00a0\00a0";
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--color-accent-light);
    letter-spacing: 0;
    font-weight: 300;
}

.section-heading {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 4rem;
    font-weight: 300;
}

/* ===== Two Column Layout ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
}

.col-left h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 300;
    line-height: 1.25;
    position: sticky;
    top: 6rem;
}

.col-right p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.9;
}

.section-dark .col-right p {
    color: rgba(232, 232, 230, 0.55);
}

/* ===== Principal ===== */
.principal {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 5rem;
    align-items: start;
}

.principal-name h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 300;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 0.5rem;
}

.principal-title {
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 500;
}

.principal-bio p {
    margin-bottom: 1.5rem;
    color: rgba(232, 232, 230, 0.6);
    font-size: 0.96rem;
    line-height: 1.9;
}

/* ===== Principles (Philosophy) ===== */
.principles {
    display: flex;
    flex-direction: column;
    gap: 0;
    counter-reset: principle;
}

.principle {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--color-border);
    counter-increment: principle;
    position: relative;
    padding-left: 4rem;
}

.principle::before {
    content: "0" counter(principle);
    position: absolute;
    left: 0;
    top: 2.6rem;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-accent-light);
    font-weight: 300;
    opacity: 0.7;
}

.principle:first-child {
    padding-top: 0;
}

.principle:first-child::before {
    top: 0.1rem;
}

.principle:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.principle h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 400;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.principle p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.9;
}

/* ===== Focus (Editorial Rows) ===== */
.focus-list {
    display: flex;
    flex-direction: column;
}

.focus-row {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 2.5rem;
    padding: 3rem 0;
    border-top: 1px solid var(--color-border-dark);
    align-items: start;
    transition: opacity 0.3s ease;
}

.focus-row:last-child {
    border-bottom: 1px solid var(--color-border-dark);
}

.focus-row-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-accent-light);
    opacity: 0.6;
    padding-top: 0.15rem;
}

.focus-row h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.focus-row p {
    color: rgba(232, 232, 230, 0.45);
    font-size: 0.93rem;
    line-height: 1.85;
    max-width: 560px;
}

/* ===== Inline Links ===== */
.inline-link {
    color: var(--color-accent);
    background-image: linear-gradient(var(--color-accent), var(--color-accent));
    background-size: 0% 1px;
    background-position: 0% 100%;
    background-repeat: no-repeat;
    transition: background-size 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.inline-link:hover {
    background-size: 100% 1px;
}

/* ===== Contact ===== */
.contact-info {
    margin-top: 1.5rem;
}

.contact-link {
    display: inline-block;
    font-size: 1.05rem;
    color: var(--color-accent) !important;
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.7;
}

/* ===== Portfolio ===== */
.portfolio-section-head {
    margin-bottom: 4rem;
    max-width: 720px;
}

.portfolio-section-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.portfolio-section-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--color-accent);
}

.portfolio-section-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.portfolio-section-desc {
    color: var(--color-text-light);
    font-size: 0.96rem;
    line-height: 1.85;
    max-width: 620px;
}

.section-dark .portfolio-section-desc {
    color: rgba(232, 232, 230, 0.5);
}

.pill {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 20px;
    font-family: var(--font-sans);
    white-space: nowrap;
}

.pill-active {
    background: rgba(139, 115, 85, 0.14);
    color: var(--color-accent);
}

.section-dark .pill-active {
    background: rgba(176, 154, 124, 0.15);
    color: var(--color-accent-light);
}

.pill-exit {
    background: rgba(120, 120, 130, 0.1);
    color: #8a8a90;
}

.section-dark .pill-exit {
    background: rgba(232, 232, 230, 0.06);
    color: rgba(232, 232, 230, 0.4);
}

.pill-re {
    background: rgba(139, 115, 85, 0.14);
    color: var(--color-accent);
}

.section-dark .pill-re {
    background: rgba(176, 154, 124, 0.15);
    color: var(--color-accent-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.p-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 3px;
    padding: 2.25rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    overflow: hidden;
}

.p-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.p-card:hover::before {
    transform: scaleX(1);
}

.p-card-exit::before {
    background: rgba(120, 120, 130, 0.3);
}

.section-dark .p-card {
    background: rgba(255,255,255,0.02);
    border-color: rgba(232, 232, 230, 0.06);
}

.section-dark .p-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.p-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
}

.p-card h3 {
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.p-tag {
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--color-text-light);
    font-family: var(--font-sans);
    text-align: right;
}

.section-dark .p-tag {
    color: rgba(232, 232, 230, 0.35);
}

.p-desc {
    font-size: 0.92rem;
    line-height: 1.85;
    color: var(--color-text-light);
    flex: 1;
}

.section-dark .p-desc {
    color: rgba(232, 232, 230, 0.5);
}

.p-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.1rem;
    margin-top: 0.4rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.78rem;
    color: var(--color-text-light);
    font-family: var(--font-sans);
}

.section-dark .p-meta {
    border-top-color: rgba(232, 232, 230, 0.06);
    color: rgba(232, 232, 230, 0.35);
}

.p-loc {
    letter-spacing: 0.04em;
}

.p-meta a {
    color: var(--color-accent);
    transition: opacity 0.2s ease;
    font-weight: 400;
}

.section-dark .p-meta a {
    color: var(--color-accent-light);
}

.p-meta a:hover {
    opacity: 0.7;
}

/* ===== LP List ===== */
.lp-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--color-border);
}

.lp-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--color-border);
    align-items: start;
}

.lp-name h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.lp-name .p-tag {
    text-align: left;
    color: var(--color-accent);
}

.lp-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.85;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 9rem 0;
    text-align: center;
}

.cta-inner {
    max-width: 580px;
    margin: 0 auto;
}

.cta-line {
    width: 40px;
    height: 1px;
    background: var(--color-accent);
    margin: 0 auto 2.5rem;
    opacity: 0.5;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(232, 232, 230, 0.5);
    font-size: 0.96rem;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.cta-section .contact-info {
    margin-top: 2.5rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg-dark);
    padding: 5rem 0;
    border-top: 1px solid rgba(232, 232, 230, 0.06);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 3rem;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.footer-legal p {
    font-size: 0.75rem;
    color: rgba(232, 232, 230, 0.25);
    line-height: 1.7;
}

.footer-disclaimer {
    margin-top: 0.75rem;
    max-width: 480px;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }

/* ===== Research Documents ===== */
.research-body {
    background: #f4f1ea;
    color: #2c2c2e;
}

.research-gate {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-dark);
    color: #fff;
    position: fixed;
    inset: 0;
    z-index: 200;
    overflow: hidden;
}

.research-gate::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(139, 115, 85, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 70%, rgba(139, 115, 85, 0.05) 0%, transparent 50%);
}

.research-gate-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 420px;
    padding: 2rem;
}

.research-gate-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 1.75rem;
}

.research-gate h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
    color: #fff;
}

.research-gate-desc {
    color: rgba(255,255,255,0.45);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    font-family: var(--font-sans);
}

.research-gate-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.research-gate-input {
    width: 100%;
    padding: 0.95rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-align: center;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.research-gate-input:focus {
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.06);
}

.research-gate-submit {
    padding: 0.85rem 1rem;
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent-light);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.research-gate-submit:hover {
    background: var(--color-accent);
    color: #fff;
}

.research-gate-error {
    display: none;
    margin-top: 1.25rem;
    color: #c97070;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
}

/* Research document */
.research-content {
    background: #f4f1ea;
}

.research-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
}

.research-header {
    background: var(--color-bg-dark);
    color: #fff;
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.research-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 60%, rgba(139, 115, 85, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 30%, rgba(139, 115, 85, 0.04) 0%, transparent 50%);
}

.research-header > * {
    position: relative;
    z-index: 1;
}

.research-header-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 2rem;
}

.research-title {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: 0.01em;
    margin-bottom: 1.5rem;
    color: #fff;
}

.research-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-style: italic;
    line-height: 1.55;
    color: rgba(255,255,255,0.55);
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 300;
}

.research-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

.research-meta-sep {
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0.6;
}

.research-article {
    padding: 5rem 0 3rem;
    color: #2c2c2e;
}

.research-article a {
    color: #7a6240;
    text-decoration: underline;
    text-decoration-color: rgba(139, 115, 85, 0.4);
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.research-article a:hover {
    color: #5c4a30;
    text-decoration-color: #5c4a30;
}

.research-section {
    margin-bottom: 5rem;
}

.research-summary {
    border-bottom: 1px solid rgba(139, 115, 85, 0.25);
    padding-bottom: 4rem;
    margin-bottom: 5rem;
}

.research-section-label {
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1.75rem;
    font-family: var(--font-sans);
}

.research-section-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-family: var(--font-sans);
}

.research-section-eyebrow[data-num]::before {
    content: attr(data-num) "\00a0\00a0—\00a0\00a0";
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: rgba(139, 115, 85, 0.7);
    letter-spacing: 0;
    font-weight: 300;
}

.research-section h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 300;
    line-height: 1.25;
    margin-bottom: 2rem;
    letter-spacing: -0.005em;
    color: #1f1f24;
}

.research-section h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #1f1f24;
    letter-spacing: -0.005em;
}

.research-section p {
    font-size: 1.04rem;
    line-height: 1.85;
    color: #3d3d44;
    margin-bottom: 1.4rem;
    font-weight: 300;
}

.research-section p strong {
    color: #1f1f24;
    font-weight: 500;
}

.research-section sup {
    color: var(--color-accent);
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 1px;
    vertical-align: super;
    line-height: 0;
}

.research-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
}

.research-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.85rem;
    font-size: 1.02rem;
    line-height: 1.8;
    color: #3d3d44;
    font-weight: 300;
}

.research-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 1px;
    background: var(--color-accent);
}

.research-list li strong {
    color: #1f1f24;
    font-weight: 500;
}

.research-quote {
    border-left: 2px solid var(--color-accent);
    margin: 2.5rem 0;
    padding: 0.5rem 0 0.5rem 2rem;
}

.research-quote p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.45;
    color: #1f1f24;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.research-quote cite {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-style: normal;
    font-weight: 500;
}

.research-callout {
    background: rgba(139, 115, 85, 0.08);
    border-left: 2px solid var(--color-accent);
    padding: 1.5rem 1.75rem !important;
    margin: 2rem 0 !important;
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: #1f1f24 !important;
}

.research-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.75rem 0 1rem;
    font-size: 0.96rem;
}

.research-table-label {
    font-size: 0.72rem !important;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600 !important;
    margin-top: 1.75rem !important;
    margin-bottom: 0.5rem !important;
    font-family: var(--font-sans);
}

.research-table th,
.research-table td {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(139, 115, 85, 0.2);
    text-align: left;
    font-weight: 300;
    color: #3d3d44;
    line-height: 1.5;
}

.research-table th {
    font-weight: 400;
    color: #1f1f24;
    width: 60%;
    padding-right: 1.5rem;
}

.research-table td {
    text-align: right;
    color: #1f1f24;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.research-table-total {
    border-top: 1px solid var(--color-accent);
}

.research-table-total th,
.research-table-total td {
    padding-top: 1.1rem;
    font-weight: 500 !important;
    color: #1a1a1f !important;
}

.research-table-total td {
    color: var(--color-accent) !important;
}

.research-table-note {
    font-size: 0.85rem !important;
    color: #6b6b6f !important;
    font-style: italic;
    margin-top: 0.5rem !important;
    margin-bottom: 2rem !important;
    line-height: 1.65 !important;
}

.research-signoff {
    margin-top: 3rem !important;
    font-family: var(--font-serif) !important;
    font-style: italic !important;
    font-size: 1.1rem !important;
    color: var(--color-accent) !important;
}

.research-references {
    border-top: 1px solid rgba(139, 115, 85, 0.25);
    padding-top: 4rem;
    margin-top: 6rem;
}

.research-refs {
    list-style: none;
    counter-reset: ref;
    padding: 0;
    margin: 0;
}

.research-refs li {
    counter-increment: ref;
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #6b6b6f;
    font-weight: 300;
}

.research-refs li::before {
    content: counter(ref);
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-accent);
    font-weight: 400;
    font-size: 0.95rem;
    width: 1.75rem;
    text-align: right;
    padding-right: 0.5rem;
}

.research-refs li a {
    color: var(--color-accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.research-refs li a:hover {
    border-bottom-color: var(--color-accent);
}

.research-footer {
    background: var(--color-bg-dark);
    color: rgba(255,255,255,0.35);
    padding: 3rem 0;
    margin-top: 4rem;
    font-size: 0.78rem;
    line-height: 1.7;
}

.research-footer p {
    margin-bottom: 0.5rem;
}

.research-footer a {
    color: var(--color-accent-light);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.research-footer a:hover {
    border-bottom-color: var(--color-accent-light);
}

@media (max-width: 768px) {
    .research-container {
        padding: 0 1.5rem;
    }
    .research-header {
        padding: 6rem 0 3.5rem;
    }
    .research-article {
        padding: 3.5rem 0 2rem;
    }
    .research-section {
        margin-bottom: 3.5rem;
    }
    .research-summary {
        padding-bottom: 3rem;
        margin-bottom: 3.5rem;
    }
    .research-quote p {
        font-size: 1.2rem;
    }
    .research-table th {
        width: 55%;
        padding-right: 1rem;
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(20, 20, 23, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .nav-open .nav-links {
        opacity: 1;
        pointer-events: all;
    }

    .nav-open .nav-toggle span:first-child {
        top: 50%;
        transform: rotate(45deg);
    }

    .nav-open .nav-toggle span:last-child {
        bottom: 50%;
        transform: rotate(-45deg);
    }

    .nav-links a {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }

    .section {
        padding: 6rem 0;
    }

    .container {
        padding: 0 1.75rem;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .col-left h2 {
        position: static;
    }

    .principal {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .principle {
        padding-left: 3.5rem;
    }

    .focus-row {
        grid-template-columns: 40px 1fr;
        gap: 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .p-card-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .p-tag {
        text-align: left;
    }

    .lp-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 0;
    }

    .page-hero {
        padding: 9rem 0 4.5rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 2rem;
    }
}
