
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --cream: #FAF8F4;
    --cream-mid: #F2EDE4;
    --navy: #1A1E2C;
    --navy-mid: #2C3348;
    --terra: #C4714A;
    --terra-light: #E8C4B0;
    --gold: #B8935A;
    --warm-gray: #8B7D6B;
    --warm-gray-light: #C9BFB0;
    --white: #FFFFFF;
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --nav-h: 72px;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--navy);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* ─── NAV ─── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    background: rgba(250,248,244,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26,30,44,0.08);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
  }
  .nav-logo {
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 600;
    letter-spacing: 0.02em; color: var(--navy);
    text-decoration: none;
  }
  .nav-logo span { color: var(--terra); }
  .nav-links {
    display: flex; align-items: center; gap: 2rem;
    list-style: none;
  }
  .nav-links a {
    font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--navy); text-decoration: none;
    opacity: 0.7; transition: opacity 0.2s;
  }
  .nav-links a:hover { opacity: 1; color: var(--terra); }
  .nav-cta {
    font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    background: var(--navy); color: var(--cream);
    padding: 0.55rem 1.25rem; border-radius: 2px;
    text-decoration: none; transition: background 0.2s;
  }
  .nav-cta:hover { background: var(--terra); }

  /* ─── HERO ─── */
  #home {
    min-height: 100vh;
    padding: calc(var(--nav-h) + 5rem) clamp(1.5rem, 5vw, 4rem) 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1280px; margin: 0 auto;
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--terra);
    margin-bottom: 1.5rem;
  }
  .hero-eyebrow::before {
    content: ''; width: 24px; height: 1px; background: var(--terra);
  }
  .hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 500; line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--navy); margin-bottom: 1.5rem;
  }
  .hero-headline em { color: var(--terra); font-style: italic; }
  .hero-sub {
    font-size: 1rem; line-height: 1.75; color: var(--warm-gray);
    font-weight: 400; margin-bottom: 0.75rem; max-width: 520px;
  }
  .hero-body {
    font-size: 0.92rem; line-height: 1.8; color: var(--warm-gray);
    max-width: 520px; margin-bottom: 2.5rem;
  }
  .hero-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
  .btn-primary {
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; text-decoration: none;
    background: var(--navy); color: var(--cream);
    padding: 0.85rem 2rem; border-radius: 2px;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-primary:hover { background: var(--terra); transform: translateY(-1px); }
  .btn-ghost {
    font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em;
    text-decoration: none; color: var(--navy); opacity: 0.6;
    border-bottom: 1px solid transparent; transition: opacity 0.2s, border-color 0.2s;
  }
  .btn-ghost:hover { opacity: 1; border-color: var(--terra); color: var(--terra); }

  /* Hero photo side */
  .hero-photo-wrap {
    position: relative; display: flex; justify-content: center; align-items: flex-end;
  }
  .hero-photo-frame {
    position: relative; width: 420px; height: 540px;
  }
  .hero-photo-bg {
    position: absolute; top: 24px; left: 24px; right: -12px; bottom: -12px;
    background: var(--terra-light); border-radius: 4px; z-index: 0;
  }
  .hero-photo {
    position: relative; z-index: 1; width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
    border-radius: 4px; display: block;
  }
  .hero-photo-badge {
    position: absolute; bottom: 2rem; left: -1.5rem; z-index: 2;
    background: var(--white); border-radius: 4px;
    padding: 0.85rem 1.25rem;
    box-shadow: 0 8px 32px rgba(26,30,44,0.12);
    min-width: 200px;
  }
  .badge-label { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-gray); display: block; margin-bottom: 0.2rem; }
  .badge-value { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); font-weight: 600; display: block; }

  /* ─── CREDIBILITY STRIP ─── */
  .cred-strip {
    background: var(--navy); color: var(--cream);
    overflow: hidden; padding: 1.1rem 0;
  }
  .cred-ticker {
    display: flex; gap: 3rem; white-space: nowrap;
    animation: ticker 30s linear infinite;
    width: max-content;
  }
  .cred-ticker:hover { animation-play-state: paused; }
  @keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .cred-item {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.6rem;
    opacity: 0.85;
  }
  .cred-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--terra); flex-shrink: 0; }

  /* ─── SECTION SHARED ─── */
  section { padding: 6rem clamp(1.5rem, 5vw, 4rem); }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-eyebrow {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--terra);
    margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem;
  }
  .section-eyebrow::after { content: ''; flex: 1; height: 1px; background: var(--terra-light); }
  .section-headline {
    font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 500; letter-spacing: -0.02em; color: var(--navy);
    margin-bottom: 1rem; line-height: 1.15;
  }
  .section-sub {
    font-size: 0.95rem; line-height: 1.75; color: var(--warm-gray);
    max-width: 560px; margin-bottom: 3.5rem;
  }

  /* ─── VALUE CARDS ─── */
  .value-cards {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
    margin-top: 3rem;
  }
  .value-card {
    padding: 2rem; background: var(--white);
    border: 1px solid rgba(26,30,44,0.07);
    border-radius: 4px; transition: box-shadow 0.25s, transform 0.25s;
  }
  .value-card:hover { box-shadow: 0 12px 40px rgba(26,30,44,0.1); transform: translateY(-3px); }
  .value-num {
    font-family: var(--font-display); font-size: 3rem; font-weight: 400;
    color: var(--terra-light); line-height: 1; margin-bottom: 1rem;
  }
  .value-title {
    font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--navy); margin-bottom: 0.75rem;
  }
  .value-copy { font-size: 0.88rem; line-height: 1.75; color: var(--warm-gray); }

  /* ─── WORK ─── */
  #work { background: var(--navy); }
  #work .section-headline { color: var(--cream); }
  #work .section-sub { color: rgba(250,248,244,0.6); }
  #work .section-eyebrow { color: var(--terra-light); }
  #work .section-eyebrow::after { background: rgba(196,113,74,0.3); }

  .case-studies { display: flex; flex-direction: column; gap: 1.5px; }
  .case-card {
    background: rgba(250,248,244,0.04);
    border: 1px solid rgba(250,248,244,0.08);
    border-radius: 4px; padding: 2.5rem;
    display: grid; grid-template-columns: 2fr 1fr;
    gap: 2rem; align-items: start;
    transition: background 0.25s;
    cursor: pointer;
  }
  .case-card:hover { background: rgba(250,248,244,0.08); }
  .case-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
  .case-tag {
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; padding: 0.25rem 0.7rem;
    background: rgba(196,113,74,0.2); color: var(--terra-light);
    border-radius: 2px;
  }
  .case-title {
    font-family: var(--font-display); font-size: 1.4rem; font-weight: 500;
    color: var(--cream); margin-bottom: 0.6rem; line-height: 1.3;
  }
  .case-oneliner { font-size: 0.88rem; line-height: 1.7; color: rgba(250,248,244,0.55); }
  .case-metrics { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-end; }
  .case-metric-item { text-align: right; }
  .case-metric-num {
    font-family: var(--font-display); font-size: 1.8rem; font-weight: 500;
    color: var(--terra-light); display: block; line-height: 1;
  }
  .case-metric-label { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(250,248,244,0.4); }

  /* Case detail expand */
  .case-detail {
    display: none; margin-top: 1.5rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(250,248,244,0.1);
    grid-column: 1 / -1;
  }
  .case-detail.open { display: block; }
  .case-detail p { font-size: 0.88rem; line-height: 1.8; color: rgba(250,248,244,0.65); margin-bottom: 1rem; }
  .case-detail-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin-top: 1.25rem; }
  .case-detail-block h4 { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra-light); margin-bottom: 0.5rem; font-weight: 600; }
  .case-detail-block ul { list-style: none; }
  .case-detail-block li {
    font-size: 0.82rem; color: rgba(250,248,244,0.6); padding: 0.25rem 0;
    padding-left: 1rem; position: relative; line-height: 1.5;
  }
  .case-detail-block li::before { content: '→'; position: absolute; left: 0; color: var(--terra); font-size: 0.75rem; }
  .case-expand-btn {
    margin-top: 1rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--terra-light); background: none;
    border: none; cursor: pointer; padding: 0; display: flex; align-items: center; gap: 0.4rem;
    transition: gap 0.2s;
  }
  .case-expand-btn:hover { gap: 0.7rem; }
  .case-expand-btn .arrow { transition: transform 0.25s; }
  .case-expand-btn.expanded .arrow { transform: rotate(90deg); }

  /* Other exp table */
  .other-exp {
    margin-top: 3rem; padding-top: 2.5rem;
    border-top: 1px solid rgba(250,248,244,0.1);
  }
  .other-exp h3 {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; color: rgba(250,248,244,0.45); margin-bottom: 1.5rem;
  }
  .other-exp-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0; }
  .other-exp-row {
    display: contents;
  }
  .other-exp-row > * {
    padding: 0.85rem 0.5rem 0.85rem 0;
    border-bottom: 1px solid rgba(250,248,244,0.06);
    font-size: 0.85rem;
  }
  .other-exp-row > *:last-child { text-align: right; }
  .other-role { font-weight: 500; color: var(--cream); }
  .other-co { color: rgba(250,248,244,0.45); font-size: 0.8rem; }
  .other-result { color: var(--terra-light); font-weight: 500; font-size: 0.82rem; }

  /* ─── ABOUT ─── */
  #about .about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: start;
  }
  .about-story p {
    font-size: 0.93rem; line-height: 1.9; color: var(--warm-gray);
    margin-bottom: 1.25rem;
  }
  .about-story p strong { color: var(--navy); font-weight: 600; }

  .timeline { position: relative; }
  .timeline::before {
    content: ''; position: absolute; left: 0; top: 8px; bottom: 0;
    width: 1px; background: var(--cream-mid);
  }
  .timeline-item {
    display: grid; grid-template-columns: 1fr; padding-left: 2rem;
    position: relative; margin-bottom: 2.25rem;
  }
  .timeline-item::before {
    content: ''; position: absolute; left: -4px; top: 8px;
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--cream); border: 2px solid var(--terra);
  }
  .tl-period {
    font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--terra); font-weight: 600; margin-bottom: 0.25rem;
  }
  .tl-role { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 0.1rem; }
  .tl-org { font-size: 0.82rem; color: var(--warm-gray); margin-bottom: 0.35rem; }
  .tl-note { font-size: 0.8rem; color: var(--warm-gray-light); line-height: 1.5; font-style: italic; }

  /* Awards */
  .awards-row {
    display: flex; flex-direction: column; gap: 0.85rem; margin-top: 2.5rem;
  }
  .award-item {
    display: flex; align-items: flex-start; gap: 0.85rem;
    padding: 1rem 1.25rem; background: var(--white);
    border: 1px solid rgba(26,30,44,0.07); border-radius: 4px;
  }
  .award-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.05rem; }
  .award-title { font-size: 0.85rem; font-weight: 600; color: var(--navy); line-height: 1.4; }
  .award-detail { font-size: 0.75rem; color: var(--warm-gray); margin-top: 0.15rem; }

  /* ─── SKILLS ─── */
  #skills { background: var(--cream-mid); }
  .skills-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem;
  }
  .skill-col {
    background: var(--white); border: 1px solid rgba(26,30,44,0.07);
    border-radius: 4px; padding: 2rem;
  }
  .skill-col-icon {
    width: 36px; height: 36px; background: var(--terra-light);
    border-radius: 4px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
  }
  .skill-col-icon svg { width: 18px; height: 18px; stroke: var(--terra); fill: none; stroke-width: 2; }
  .skill-col-title { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.5rem; }
  .skill-col-copy { font-size: 0.83rem; line-height: 1.7; color: var(--warm-gray); margin-bottom: 1.5rem; }
  .skill-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .skill-tag {
    font-size: 0.7rem; font-weight: 500; padding: 0.3rem 0.7rem;
    background: var(--cream); border: 1px solid rgba(26,30,44,0.1);
    border-radius: 2px; color: var(--navy-mid);
  }

  .tools-strip {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
    padding: 1.5rem 2rem; background: var(--white);
    border: 1px solid rgba(26,30,44,0.07); border-radius: 4px;
  }
  .tools-label {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--warm-gray); margin-right: 0.5rem;
  }
  .tool-pill {
    font-size: 0.75rem; padding: 0.3rem 0.9rem;
    background: var(--cream-mid); border-radius: 20px; color: var(--navy);
    font-weight: 500; border: 1px solid rgba(26,30,44,0.08);
  }
  .tool-pill.learning {
    background: rgba(196,113,74,0.1); color: var(--terra); border-color: rgba(196,113,74,0.2);
  }

  /* ─── CONTACT ─── */
  #contact {
    background: var(--navy);
    text-align: center;
    padding: 7rem clamp(1.5rem, 5vw, 4rem);
  }
  #contact .section-eyebrow { color: var(--terra-light); justify-content: center; }
  #contact .section-eyebrow::after { display: none; }
  #contact .section-headline { color: var(--cream); margin-bottom: 1rem; }
  #contact .section-sub { color: rgba(250,248,244,0.55); margin: 0 auto 2.5rem; text-align: center; }
  .contact-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
  .btn-contact {
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    text-decoration: none; padding: 0.85rem 2rem; border-radius: 2px; transition: all 0.2s;
  }
  .btn-contact.primary { background: var(--terra); color: var(--cream); }
  .btn-contact.primary:hover { background: #d07d57; transform: translateY(-2px); }
  .btn-contact.secondary {
    background: transparent; color: var(--cream); opacity: 0.7;
    border: 1px solid rgba(250,248,244,0.25);
  }
  .btn-contact.secondary:hover { opacity: 1; border-color: rgba(250,248,244,0.5); }
  .open-to {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  }
  .open-to-tag {
    font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em;
    padding: 0.35rem 0.9rem; border-radius: 20px;
    border: 1px solid rgba(250,248,244,0.15); color: rgba(250,248,244,0.55);
  }

  /* ─── FOOTER ─── */
  footer {
    background: #141720; color: rgba(250,248,244,0.9);
    padding: 4rem clamp(1.5rem, 5vw, 4rem) 2rem;
  }
  .footer-inner { max-width: 1200px; margin: 0 auto; }
  .footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; padding-bottom: 3rem;
    border-bottom: 1px solid rgba(250,248,244,0.08);
    margin-bottom: 2rem;
  }
  .footer-brand-name {
    font-family: var(--font-display); font-size: 1.4rem; font-weight: 500;
    color: var(--cream); margin-bottom: 0.25rem;
  }
  .footer-brand-title {
    font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
    color: rgba(250,248,244,0.35); margin-bottom: 1.25rem;
  }
  .footer-brand-copy {
    font-size: 0.83rem; line-height: 1.75; color: rgba(250,248,244,0.45);
    max-width: 280px;
  }
  .footer-col-heading {
    font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(250,248,244,0.3); margin-bottom: 1rem;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
  .footer-col li a {
    font-size: 0.83rem; color: rgba(250,248,244,0.55); text-decoration: none;
    transition: color 0.2s; display: flex; align-items: center; gap: 0.35rem;
  }
  .footer-col li a:hover { color: var(--terra-light); }
  .footer-col li a .ext { font-size: 0.65rem; opacity: 0.5; }
  .footer-bottom {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  }
  .footer-copy { font-size: 0.75rem; color: rgba(250,248,244,0.25); }
  .footer-esade {
    font-size: 0.72rem; letter-spacing: 0.06em; color: rgba(250,248,244,0.25);
  }
  .footer-esade strong { color: var(--terra-light); font-weight: 500; }

  /* ─── ANIMATIONS ─── */
  .fade-in {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .fade-in.visible { opacity: 1; transform: none; }

  /* ─── MOBILE ─── */
  @media (max-width: 900px) {
    #home { grid-template-columns: 1fr; }
    .hero-photo-wrap { display: none; }
    .value-cards { grid-template-columns: 1fr; }
    .case-card { grid-template-columns: 1fr; }
    .case-metrics { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
    .case-detail-grid { grid-template-columns: 1fr; }
    #about .about-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .other-exp-grid { grid-template-columns: 1fr; }
    .other-exp-row > *:not(:first-child):not(:last-child) { display: none; }
    .other-exp-row > *:last-child { text-align: left; }
  }
