/* ==========================================================================
   Adormo — Boutique Advisory & Development
   Aesthetic: Clean light theme — white, blue, gray
   ========================================================================== */

/* --- Custom Properties --- */
:root {
    --gold: #2563a8;
    --gold-dim: #1e5290;
    --gold-glow: rgba(37, 99, 168, 0.1);
    --gold-subtle: rgba(37, 99, 168, 0.04);
    --bg-deep: #ffffff;
    --bg-card: #f2f4f7;
    --bg-elevated: #f0f2f5;
    --text-primary: #1a1f2e;
    --text-secondary: #555d6e;
    --text-dim: #8a919e;
    --border: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(37, 99, 168, 0.25);
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    color: var(--gold);
    text-decoration: none;
    transition: opacity 0.3s ease;
}
a:hover { opacity: 0.8; }

img { max-width: 100%; display: block; }

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2.5rem;
    transition: all 0.5s var(--ease-out-expo);
    background: transparent;
}

.nav--scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 2.5rem;
    border-bottom: 1px solid var(--border);
}

.nav__logo {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
.nav__logo:hover { opacity: 1; color: var(--gold); }

.nav__links {
    display: flex;
    gap: 2.5rem;
}

.nav__link {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease-out-expo);
}
.nav__link:hover { color: var(--text-primary); opacity: 1; }
.nav__link:hover::after { width: 100%; }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}
.nav__toggle span {
    display: block;
    width: 28px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.4s var(--ease-out-expo);
    transform-origin: center;
}
.nav__toggle--active span:first-child {
    transform: rotate(45deg) translate(2.5px, 2.5px);
}
.nav__toggle--active span:last-child {
    transform: rotate(-45deg) translate(2.5px, -2.5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out-expo);
}
.mobile-menu--active {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.mobile-menu__link {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}
.mobile-menu__link:hover { color: var(--gold); opacity: 1; }

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 2rem 4rem;
}

.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.15;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 10%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 10%, transparent 60%);
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.04;
    animation: orbFloat 20s ease-in-out infinite;
}
.hero__orb--1 {
    width: 500px;
    height: 500px;
    background: #2563a8;
    top: 10%;
    right: 15%;
}
.hero__orb--2 {
    width: 350px;
    height: 350px;
    background: #94a3b8;
    bottom: 15%;
    left: 10%;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -20px); }
    66% { transform: translate(-20px, 15px); }
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
}

.hero__label {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero__name {
    margin-bottom: 1.5rem;
}
.hero__name-line {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(3.5rem, 10vw, 6rem);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #1a1f2e;
}
.hero__name-line--accent {
    color: #1a1f2e;
}

.hero__tagline {
    font-size: 1.15rem;
    color: #3a4050;
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    font-weight: 400;
}

.hero__credentials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.hero__credential {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: #555d6e;
    font-weight: 500;
}
.hero__credential-sep {
    color: #2563a8;
    font-size: 0.6rem;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* scroll indicator removed */

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gold);
    color: #ffffff;
}
.btn--primary:hover {
    background: #1e5290;
    color: #ffffff;
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(37, 99, 168, 0.2);
}

.btn--ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}
.btn--ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    opacity: 1;
}

.btn--full { width: 100%; }

/* --- Sections --- */
.section {
    padding: 8rem 0;
    position: relative;
}
.section:nth-child(even) {
    background: var(--bg-card);
}

.section__header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.section__number {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--gold);
    font-style: italic;
    min-width: 2rem;
}
.section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.section__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--border-strong), transparent);
}

/* --- About --- */
.about__photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-strong);
    margin-bottom: 2rem;
    position: relative;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about__photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about__photo-placeholder {
    position: absolute;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.about__photo-img[src]:not([src=""]) + .about__photo-placeholder {
    display: none;
}

.about__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about__lead {
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.about__text p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-weight: 400;
    font-size: 1.02rem;
}

.about__sidebar {
    padding: 2.5rem;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    position: relative;
}
.about__sidebar::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: var(--gold);
}

.about__stat {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.about__stat:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}
.about__stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--gold);
    line-height: 1;
    display: inline;
}
.about__stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
}
.about__stat-label {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.about__credentials-box {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.about__credentials-box h4 {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1rem;
    font-weight: 500;
}
.about__credential-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.about__credential-item {
    display: flex;
    flex-direction: column;
}
.about__credential-role {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dim);
}
.about__credential-org {
    font-size: 0.92rem;
    color: var(--text-primary);
    font-weight: 400;
}

.about__languages h4 {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1rem;
    font-weight: 500;
}
.about__lang-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.about__lang-grid span {
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 400;
}

/* --- Expertise --- */
.expertise__intro {
    margin-bottom: 3rem;
}
.expertise__thesis {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-primary);
    max-width: 750px;
}

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

.expertise__card {
    position: relative;
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid var(--border);
    transition: all 0.5s var(--ease-out-expo);
    overflow: hidden;
}
.expertise__card:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
}
.expertise__card:hover .expertise__card-accent {
    opacity: 1;
}

.expertise__card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.expertise__card-icon {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.expertise__card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.expertise__card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.expertise__card-tag {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dim);
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--gold-glow);
    display: inline-block;
}

/* --- Track Record / Timeline --- */
.track-record__intro {
    margin-bottom: 3rem;
}
.track-record__lead {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-primary);
    max-width: 700px;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold), var(--border), transparent);
}

.timeline__item {
    position: relative;
    padding: 0 0 3.5rem 3rem;
}
.timeline__item:last-child {
    padding-bottom: 0;
}
.timeline__item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 9px;
    height: 9px;
    background: #ffffff;
    border: 2px solid var(--gold-dim);
    border-radius: 50%;
    transform: translateX(-50%);
    margin-left: 0.5px;
}
.timeline__item--current::before {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(37, 99, 168, 0.3);
}

.timeline__year {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gold);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.timeline__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.timeline__text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.7;
    max-width: 600px;
}

.timeline__experiments {
    margin-top: 1rem;
}
.timeline__experiments-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    display: block;
    margin-bottom: 0.5rem;
}
.timeline__experiments-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.timeline__experiments-links a {
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid var(--border-strong);
    color: var(--gold);
    transition: all 0.3s var(--ease-out-expo);
}
.timeline__experiments-links a:hover {
    background: var(--gold);
    color: #ffffff;
    opacity: 1;
}

/* --- Ventures --- */
.venture__logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.venture__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.ventures__list {
    display: flex;
    flex-direction: column;
}

.venture {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    gap: 2.5rem;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.4s var(--ease-out-expo);
}
.venture:first-child {
    border-top: 1px solid var(--border);
}
.venture:hover {
    padding-left: 1rem;
}
.venture:hover .venture__number {
    color: var(--gold);
}

.venture__number {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dim);
    min-width: 2.5rem;
    transition: color 0.4s ease;
}

.venture__title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.venture__type {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 0.75rem;
}

.venture__text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
    max-width: 550px;
}

.venture__link {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
    transition: all 0.3s ease;
}
.venture__link:hover {
    opacity: 1;
    letter-spacing: 0.15em;
}

/* --- Speaking --- */
.speaking__photo {
    width: 100%;
    max-width: 800px;
    height: 300px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 2.5rem;
    position: relative;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}
.speaking__photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.speaking__photo-placeholder {
    display: none;
}

.speaking__content {
    max-width: 800px;
}

.speaking__lead {
    font-family: var(--font-display);
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.speaking__events {
    margin-bottom: 3rem;
}

.speaking__event {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease-out-expo);
}
.speaking__event:first-child {
    border-top: 1px solid var(--border);
}
.speaking__event:hover {
    padding-left: 1rem;
}

.speaking__event-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
}

.speaking__event-detail {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 400;
}

.speaking__topics {
    margin-top: 3rem;
}
.speaking__topics h4 {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1rem;
    font-weight: 500;
}
.speaking__topics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.speaking__topics-grid span {
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 400;
}

/* --- Publications --- */
.publications__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.publication {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    transition: all 0.5s var(--ease-out-expo);
}
.publication:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.publication__cover {
    flex-shrink: 0;
    width: 140px;
    height: 190px;
    background: linear-gradient(135deg, var(--bg-elevated), #e2e5ea);
    border: 1px solid var(--border-strong);
    position: relative;
    overflow: hidden;
}
.publication__cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
}

.publication__cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.publication__cover-img[src]:not([src=""]) ~ .publication__cover-inner {
    display: none;
}

.publication__cover-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 1.2rem 1rem;
}

.publication__cover-label {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}
.publication__cover-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    line-height: 1.3;
    color: var(--text-primary);
}
.publication__cover-year {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.publication__info {
    display: flex;
    flex-direction: column;
}
.publication__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 400;
}
.publication__desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.7;
    flex: 1;
}
.publication__link {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 1rem;
}

/* --- Contact --- */
.contact__grid {
    max-width: 700px;
}

.contact__lead {
    font-family: var(--font-display);
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.contact__text {
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 2rem;
    font-size: 1.02rem;
}

.contact__partnership-types {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.contact__partnership-types span {
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    border: 1px solid var(--border-strong);
    color: var(--gold-dim);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.contact__email {
    margin-bottom: 1.5rem;
}
.contact__email a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.02em;
}

.contact__socials {
    display: flex;
    gap: 1rem;
}

.contact__social {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out-expo);
}
.contact__social svg {
    width: 18px;
    height: 18px;
}
.contact__social:hover {
    border-color: var(--gold);
    color: var(--gold);
    opacity: 1;
    transform: translateY(-2px);
}

.contact__input,
.contact__textarea {
    width: 100%;
    padding: 1rem 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    outline: none;
    transition: border-color 0.3s ease;
    resize: none;
}
.contact__input::placeholder,
.contact__textarea::placeholder {
    color: var(--text-dim);
}
.contact__input:focus,
.contact__textarea:focus {
    border-color: var(--gold);
}

.contact__form-group {
    margin-bottom: 1.5rem;
}

.contact__textarea {
    min-height: 120px;
}

/* --- Footer --- */
.footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
}
.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.footer__left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.footer__logo {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-secondary);
}
.footer__copy {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-weight: 400;
}
.footer__company {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    text-align: right;
}
.footer__company-name {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.footer__company-address,
.footer__company-vat {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 400;
}

/* --- Leadership --- */
.leadership__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.leadership__founder {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.leadership__photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-strong);
    flex-shrink: 0;
    position: relative;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}
.leadership__photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.leadership__photo-placeholder {
    display: none;
}

.leadership__name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    font-weight: 400;
}
.leadership__role {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 1rem;
}
.leadership__bio {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.leadership__socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}
.leadership__socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out-expo);
}
.leadership__socials a svg {
    width: 16px;
    height: 16px;
}
.leadership__socials a:hover {
    border-color: var(--gold);
    color: var(--gold);
    opacity: 1;
}

.leadership__team-card {
    padding: 2.5rem;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    position: relative;
}
.leadership__team-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: var(--gold);
}
.leadership__team-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 400;
}
.leadership__team-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.leadership__team-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.leadership__team-capabilities span {
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 400;
}

/* --- Speaking gallery & toggle --- */
.speaking__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.speaking__gallery-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.speaking__events--extra {
    display: none;
}
.speaking__events--extra.speaking__events--visible {
    display: block;
}

.speaking__toggle {
    margin-top: 1.5rem;
    background: none;
    border: 1px solid var(--border-strong);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.7rem 2rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}
.speaking__toggle:hover {
    background: var(--gold);
    color: #ffffff;
}

@media (max-width: 768px) {
    .speaking__gallery {
        grid-template-columns: 1fr;
    }
    .speaking__gallery-img {
        height: 180px;
    }
}

/* --- Insights --- */
.insights__block {
    margin-bottom: 2rem;
}
.insights__block-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}
.insights__block-lead {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
    max-width: 600px;
}

/* --- Timeline section header --- */
.timeline-section {
    margin-top: 5rem;
    margin-bottom: 2.5rem;
}
.timeline-section__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}
.timeline-section__subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .leadership__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .leadership__founder {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .leadership__socials {
        justify-content: center;
    }
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for cards */
.expertise__card[data-delay="1"] { transition-delay: 0.1s; }
.expertise__card[data-delay="2"] { transition-delay: 0.2s; }
.expertise__card[data-delay="3"] { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .publications__grid {
        grid-template-columns: 1fr;
    }
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav__links { display: none; }
    .nav__toggle { display: flex; }
    .nav { padding: 1.2rem 1.5rem; }

    .section { padding: 5rem 0; }
    .section__header { margin-bottom: 2.5rem; }

    .hero { padding: 5rem 1.5rem 3rem; }
    .hero__name-line { font-size: clamp(2.8rem, 12vw, 5rem); }

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

    .venture {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .venture__number { display: none; }
    .venture__link-wrap { justify-self: start; }

    .speaking__event {
        flex-direction: column;
        gap: 0.25rem;
    }

    .publication {
        flex-direction: column;
    }
    .publication__cover {
        width: 100%;
        height: 120px;
    }
    .publication__cover-inner {
        flex-direction: row;
        align-items: center;
    }

    .container { padding: 0 1.5rem; }

    .footer__inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .footer__company {
        align-items: center;
        text-align: center;
    }

    .venture {
        grid-template-columns: auto 1fr;
    }
    .venture__logo {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .hero__tagline { font-size: 1rem; }
    .hero__cta { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; }
    .about__lead { font-size: 1.3rem; }
}

/* grain overlay removed for light theme */

/* --- ITB Berlin featured talks --- */
.itb-feature {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
}
.itb-feature__head { margin-bottom: 1.5rem; }
.itb-feature__badge {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.6rem;
}
.itb-feature__lead {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 720px;
}
.itb-feature__lead strong { color: var(--text-primary); font-weight: 600; }
.itb-feature__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.itb-card {
    display: block;
    background: var(--bg-deep);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.itb-card:hover {
    opacity: 1;
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(37, 99, 168, 0.12);
}
.itb-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a0e1a;
}
.itb-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out-expo);
}
.itb-card:hover .itb-card__thumb img { transform: scale(1.04); }
.itb-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(37, 99, 168, 0.92);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.3s var(--ease-out-expo);
}
.itb-card__play::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent #fff;
}
.itb-card:hover .itb-card__play {
    background: var(--gold);
    transform: translate(-50%, -50%) scale(1.08);
}
.itb-card__meta {
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.itb-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}
.itb-card__detail {
    font-size: 0.82rem;
    color: var(--text-dim);
}
@media (max-width: 600px) {
    .itb-feature__grid { grid-template-columns: 1fr; }
    .itb-feature { padding: 1.5rem; }
}

/* ==========================================================================
   CHINA / EUROPE CAMPAIGN — removable as one block
   (banner + #europe section). To remove: delete this block, the two
   "CHINA CAMPAIGN" HTML blocks in index.html, and the banner offset in
   script.js.
   ========================================================================== */
:root { --china-banner-h: 2.75rem; }

/* Push the fixed nav below the campaign banner */
.nav { top: var(--china-banner-h); }

/* --- Announcement banner --- */
.china-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--china-banner-h);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 0 1.25rem;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold));
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
}
.china-banner:hover { opacity: 1; }
.china-banner__text { color: #fff; text-overflow: ellipsis; overflow: hidden; }
.china-banner__text strong { font-weight: 600; }
.china-banner__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: chinaPulse 2.4s ease-out infinite;
}
@keyframes chinaPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
    70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.china-banner__cta {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
    padding: 0.2rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    flex-shrink: 0;
}

/* --- Section shell --- */
.china {
    position: relative;
    padding: 7rem 0 8rem;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, var(--gold-glow), transparent 70%),
        var(--bg-deep);
    border-bottom: 1px solid var(--border);
}
.china__anchor {
    position: absolute;
    top: calc(-1 * (var(--china-banner-h) + 4.5rem));
}

/* Preserve the original alternating section backgrounds despite the
   inserted section shifting nth-child parity. */
#what-we-do, #leadership, #contact { background: var(--bg-card); }
#track-record, #thought-leadership { background: var(--bg-deep); }

/* --- Language toggle --- */
.china__langbar {
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
    margin-bottom: 2rem;
}
.china-lang {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 999px;
    transition: all 0.3s var(--ease-out-expo);
}
.china-lang:hover { color: var(--gold); }
.china-lang--active {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

/* Default = EN. Hide ZH until toggled. */
.china [data-lang="zh"] { display: none; }
.china--zh [data-lang="en"] { display: none; }
.china--zh [data-lang="zh"] { display: revert; }

/* --- Campaign hero --- */
.china__hero {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}
.china__eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1.4rem;
}
.china__headline {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 1.4rem;
}
.china__subhead {
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 2.2rem;
}
.china__cta-row {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.china__trust {
    font-size: 0.86rem;
    color: var(--text-dim);
    letter-spacing: 0.02em;
}

/* --- Proof strip --- */
.china__proof {
    max-width: 880px;
    margin: 3.5rem auto 0;
    padding: 1.6rem 2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    text-align: center;
}
.china__proof p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-secondary);
}
.china__proof strong { color: var(--text-primary); font-weight: 600; }

/* --- Pillars --- */
.china__pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}
.china__pillar {
    padding: 2.2rem 1.9rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    position: relative;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.china__pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(37, 99, 168, 0.1);
}
.china__pillar-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gold);
}
.china__pillar-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0.8rem 0 0.7rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.china__pillar-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* --- Detail (who / how) --- */
.china__detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3.5rem;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}
.china__detail-title {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.9rem;
}
.china__detail-text {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--text-secondary);
}
.china__detail-text strong { color: var(--text-primary); font-weight: 600; }

/* --- Close --- */
.china__close {
    text-align: center;
    max-width: 680px;
    margin: 4.5rem auto 0;
    padding-top: 3.5rem;
    border-top: 1px solid var(--border);
}
.china__close-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 400;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}
.china__close-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* --- Connect (WeChat + page QR) --- */
.china__connect {
    margin-top: 2.5rem;
}
.china__connect-or {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1.4rem;
}
.china__connect-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}
.china__qr {
    margin: 0;
    width: 168px;
}
.china__qr img {
    width: 168px;
    height: 168px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 8px;
    border-radius: 8px;
}
.china__qr figcaption {
    margin-top: 0.7rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .china__pillars { grid-template-columns: 1fr; }
    .china__detail { grid-template-columns: 1fr; gap: 2.2rem; }
    .china { padding: 5rem 0 6rem; }
}
@media (max-width: 600px) {
    .china-banner { font-size: 0.76rem; gap: 0.6rem; }
    .china-banner__extra { display: none; }
    .china-banner__cta { display: none; }
}
