﻿*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --ink:    #1e1e1e;
    --mid:    #3d3d3d;
    --muted:  #7a7a7a;
    --rule:   #d4c9b0;
    --gold:   #b8963e;
    --gold2:  #d4af6a;
    --cream:  #f8f5f0;
    --white:  #ffffff;
    --navy:   #22242a;
    --blue:   #3d3d3d;
    --blue2:  #9a9a9a;
  }
  html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; scroll-padding-top: 52px; }
  body { font-family: 'Jost', sans-serif; color: var(--ink); background: var(--white); overflow-x: hidden; line-height: 1.6; }

  /* ── COMING SOON BANNER ── */
  
  #hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 3fr 2fr;
    position: relative;
    overflow: hidden;
  }

  /* Left: dark panel with text */
  .hero-left {
    background:
      linear-gradient(rgba(208,203,195,0.90), rgba(208,203,195,0.90)),
      url('assets/images/torres.jpg') center 20% / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 48px 72px 80px 80px;
    position: relative;
    z-index: 2;
  }
  .hero-left::after {
    content: '';
    position: absolute;
    top: 0; right: -1px; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold) 40%, var(--gold) 60%, transparent);
  }

  /* Grid texture on left */
  .hero-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(184,150,62,0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(184,150,62,0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
  }

  .hero-tag {
    font-size: 0.82rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #122a50;
    font-weight: 500;
    padding-left: 32px;
    margin-bottom: 36px;
    opacity: 0;
    animation: up 0.9s 0.2s ease both;
  }

  .hero-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 4.5vw, 5rem);
    font-weight: 300;
    font-style: italic;
    color: #22242a;
    line-height: 1.05;
    letter-spacing: -0.5px;
    text-align: left;
    padding-left: 32px;
    margin-bottom: 36px;
    opacity: 0;
    animation: up 0.9s 0.35s ease both;
  }
  .hero-name em {
    display: block;
    font-style: italic;
    color: var(--gold);
    font-weight: 300;
    font-size: 0.72em;
    letter-spacing: 2px;
    margin-top: 4px;
  }

  .hero-rule {
    width: 48px;
    height: 1.5px;
    background: var(--gold);
    margin: 28px 0;
    opacity: 0;
    animation: up 0.9s 0.5s ease both;
  }

  .hero-desc {
    color: #122a50;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.38rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.85;
    width: 100%;
    text-align: left;
    padding-left: 32px;
    padding-right: 48px;
    margin-bottom: 96px;
    opacity: 0;
    animation: up 0.9s 0.65s ease both;
  }
  .hero-desc p + p {
    margin-top: 18px;
  }

  .hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0;
    animation: up 0.9s 0.8s ease both;
  }
  .btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--gold);
    color: var(--navy);
    font-family: 'Jost', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
  }
  .btn-primary:hover { background: var(--gold2); transform: translateY(-2px); }
  .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border: 1px solid rgba(184,150,62,0.55);
    color: var(--mid);
    font-family: 'Jost', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.25s;
  }
  .btn-outline svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }
  .btn-outline:hover { border-color: var(--gold); color: var(--gold2); }

  .hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(184,150,62,0.15);
    opacity: 0;
    animation: up 0.9s 1s ease both;
  }
  .hstat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--gold);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
  }
  .hstat-label {
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
  }

  /* Right: Photo panel */
  .hero-right {
    position: relative;
    overflow: hidden;
    background: #d8d4cc;
  }
  .hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    display: block;
    image-rendering: high-quality;
    animation: imgReveal 1.4s 0.3s ease both;
  }
  .hero-right::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #d0cbc3 0%, transparent 20%),
                linear-gradient(to top, rgba(208,203,195,0.12) 0%, transparent 30%);
  }
  @keyframes up {
    from { opacity:0; transform: translateY(22px); }
    to   { opacity:1; transform: translateY(0); }
  }
  @keyframes imgReveal {
    from { opacity:0; transform: scale(1.04); }
    to   { opacity:1; transform: scale(1); }
  }

  /* ── PROFILE STRIP ── */
  #profile {
    background: var(--cream);
    padding: 96px 80px;
  }
  .profile-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
  }
  .profile-photo {
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
  }
  .profile-photo::before {
    content: '';
    position: absolute;
    inset: -6px -6px auto auto;
    width: 40%;
    height: 40%;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    z-index: 1;
  }
  .profile-photo::after {
    content: '';
    position: absolute;
    inset: auto auto -6px -6px;
    width: 40%;
    height: 40%;
    border-bottom: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    z-index: 1;
  }
  .profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 25% center;
    display: block;
    transition: transform 0.8s ease;
  }
  .profile-photo:hover img { transform: scale(1.03); }

  .profile-text { }
  .section-tag {
    font-size: 0.66rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
  }
  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 300;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 20px;
  }
  .section-title em { font-style: italic; color: var(--gold); }
  .gold-rule { width: 40px; height: 1.5px; background: var(--gold); margin-bottom: 32px; }
  .profile-text p {
    color: var(--mid);
    font-size: 0.97rem;
    font-weight: 300;
    line-height: 1.85;
    margin-bottom: 16px;
  }
  .cred-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
  }
  .cred-item {
    border-left: 2px solid var(--gold);
    padding: 10px 16px;
  }
  .cred-item .ci-label {
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 5px;
  }
  .cred-item .ci-value {
    font-size: 0.86rem;
    color: var(--mid);
    font-weight: 300;
    line-height: 1.5;
  }

  /* ── PRACTICE AREAS ── */
  #practice {
    background: var(--navy);
    padding: 96px 80px;
    position: relative;
    overflow: hidden;
  }
  #practice::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(184,150,62,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(184,150,62,0.03) 1px, transparent 1px);
    background-size: 72px 72px;
  }
  .practice-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  #practice .section-tag { color: var(--gold); }
  #practice .section-title { color: var(--white); }
  .practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(184,150,62,0.12);
    margin-top: 8px;
    border: 1px solid rgba(184,150,62,0.12);
  }
  .pc {
    background: rgba(15,30,54,0.9);
    padding: 36px 30px;
    position: relative;
    transition: background 0.3s;
    overflow: hidden;
  }
  .pc::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 0.4s ease;
  }
  .pc:hover { background: rgba(255,255,255,0.04); }
  .pc:hover::before { width: 100%; }
  .pc-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: rgba(184,150,62,0.18);
    line-height: 1;
    margin-bottom: 16px;
    display: block;
  }
  .pc h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 10px;
  }
  .pc p {
    font-size: 0.84rem;
    font-weight: 300;
    color: rgba(210,205,195,0.55);
    line-height: 1.7;
  }

  /* ── RECOGNITION ── */
  #recognition {
    background: var(--cream);
    padding: 80px;
  }
  .rec-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2px;
    background: var(--rule);
    border: 1px solid var(--rule);
  }
  .rec-item {
    background: var(--cream);
    padding: 40px 28px;
    text-align: center;
    transition: background 0.3s;
  }
  .rec-item:hover { background: var(--white); }
  .rec-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
  }
  .rec-label {
    font-size: 0.68rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 400;
  }

  /* ── CONTACT ── */
  #contact {
    background: var(--ink);
    padding: 96px 80px;
    position: relative;
    overflow: hidden;
  }
  #contact::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,150,62,0.06) 0%, transparent 65%);
    pointer-events: none;
  }
  .contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  #contact .section-tag { color: var(--gold); }
  #contact .section-title { color: var(--white); }
  #contact .gold-rule { }
  .contact-intro {
    font-size: 0.97rem;
    color: rgba(210,205,195,0.6);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 40px;
  }
  .contact-detail {
    margin-bottom: 20px;
  }
  .cd-label {
    font-size: 0.62rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 5px;
  }
  .cd-value {
    font-size: 0.95rem;
    color: rgba(220,215,208,0.8);
    font-weight: 300;
  }
  .cd-value a {
    color: rgba(220,215,208,0.8);
    text-decoration: none;
    transition: color 0.2s;
  }
  .cd-value a:hover { color: var(--gold); }

  /* CTA box */
  .contact-cta {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(184,150,62,0.2);
    padding: 48px;
    backdrop-filter: blur(20px);
  }
  .contact-cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 300;
    font-style: italic;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 24px;
  }
  .contact-cta p {
    font-size: 0.88rem;
    color: rgba(210,205,195,0.55);
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 32px;
  }
  .contact-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .cta-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border: 1px solid rgba(184,150,62,0.25);
    color: rgba(220,215,208,0.7);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    font-weight: 400;
    transition: all 0.25s;
  }
  .cta-link svg { width: 16px; height: 16px; fill: var(--gold); flex-shrink: 0; }
  .cta-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(184,150,62,0.05); }

  /* ── FOOTER ── */
  footer {
    background: #22242a;
    padding: 36px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid rgba(184,150,62,0.1);
  }
  .footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
  }
  .footer-links {
    display: flex;
    gap: 24px;
  }
  .footer-links a {
    color: rgba(255,255,255,0.25);
    text-decoration: none;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 400;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--gold); }
  .footer-copy {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.2);
    width: 100%;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.04);
  }

  
  

  /* ── PUBLICATIONS ── */
  .pub-list { display:flex;flex-direction:column;gap:0; }
  .pub-card {
    display:flex;gap:20px;
    padding:16px 0;
    border-bottom:1px solid var(--rule);
    transition:padding-left 0.2s,background 0.2s;
  }
  .pub-card:hover { padding-left:6px; }
  .pub-card.pub-hidden { display:none!important; }
  .pub-year {
    font-family:'Arial',sans-serif;font-size:0.75rem;
    color:var(--gold);min-width:36px;padding-top:2px;
    font-weight:400;opacity:0.8;
  }
  .pub-title {
    font-size:0.96rem;color:var(--ink);margin-bottom:5px;line-height:1.4;
  }
  .pub-meta {
    font-family:'Arial',sans-serif;font-size:0.8rem;color:var(--muted);
    font-style:italic;line-height:1.6;
  }
  .pub-yr-btn {
    padding:7px 16px;
    border:1px solid rgba(184,150,62,0.3);
    background:transparent;
    color:var(--muted);
    font-family:'Arial',sans-serif;font-size:0.68rem;
    letter-spacing:2px;text-transform:uppercase;
    cursor:pointer;transition:all 0.2s;
  }
  .pub-yr-btn:hover { border-color:var(--gold);color:var(--gold); }
  .pub-yr-btn.pub-yr-active { background:var(--gold);border-color:var(--gold);color:var(--navy);font-weight:bold; }
  

  /* ── CONFERENCES ── */
  .conf-yr-btn {
    padding: 7px 16px;
    border: 1px solid rgba(184,150,62,.3);
    background: transparent;
    color: rgba(180,200,220,.55);
    font-family: 'Arial', sans-serif;
    font-size: .65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s;
  }
  .conf-yr-btn:hover { border-color: var(--gold); color: var(--gold); }
  .conf-yr-btn.conf-yr-active { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }
  .conf-yr-group { display: flex; flex-direction: column; gap: 0; }
  .conf-entry {
    display: flex;
    gap: 22px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(184,150,62,.08);
    transition: padding-left .2s, background .2s;
  }
  .conf-entry:hover { background: rgba(184,150,62,.04); padding-left: 8px; }
  .conf-year-tag {
    font-family: 'Arial', sans-serif;
    font-size: .7rem;
    color: var(--gold);
    min-width: 38px;
    padding-top: 3px;
    opacity: .65;
    flex-shrink: 0;
  }
  .conf-title {
    color: var(--white);
    font-size: .9rem;
    margin-bottom: 4px;
    line-height: 1.4;
  }
  .conf-meta {
    font-family: 'Arial', sans-serif;
    font-size: .76rem;
    color: #7a7a7a;
    line-height: 1.5;
  }

  /* ── TOP NAV BAR ── */
  .top-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 400;
    padding-left: max(40px, env(safe-area-inset-left));
    padding-right: max(40px, env(safe-area-inset-right));
    background: rgba(18,42,80,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 2px solid rgba(184,150,62,.5);
    box-shadow: 0 1px 0 rgba(184,150,62,0.18), 0 6px 32px rgba(0,0,0,0.5);
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    justify-content: space-between;
    transition: background .4s;
  }
  .top-nav-brand {
    text-decoration: none;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: white;
  }
  .top-nav-brand em {
    color: var(--gold);
    font-style: italic;
    letter-spacing: 1px;
  }
  .top-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
  }
  .top-nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: .68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    padding: 6px 12px;
    border-radius: 2px;
    transition: all .2s;
    position: relative;
  }
  .top-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 1.5px;
    background: var(--gold);
    transition: all .28s;
  }
  .top-nav-links a:hover {
    color: var(--gold);
  }
  .top-nav-links a:hover::after {
    width: 70%; left: 15%;
  }
  .top-nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .tnav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border: 1px solid rgba(184,150,62,.5);
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: all .22s;
  }
  .tnav-icon svg { width: 12px; height: 12px; fill: currentColor; }
  .tnav-icon:hover { border-color: var(--gold); color: var(--gold); }
  /* Nav is fixed/overlays hero; scroll-padding-top on html handles anchor offsets */
  /* Mobile */
  
  

  /* ── SECTION BACKGROUND OVERRIDES ── */
  #practice { background: #f2eee6 !important; }
  #recognition { background: #f8f5f0 !important; }
  #publications { background: #f2eee6 !important; }
  #conferences { background: #f8f5f0 !important; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
═══════════════════════════════════════════════════════════════ */
  .tnav-icon { width: 26px; height: 26px; }
  .top-nav-right { gap: 5px; }

  /* ── Hero ── */
  .hero-left { padding: 44px 20px 48px !important; }
  #hero h1 {
    font-size: clamp(2rem, 10vw, 3rem) !important;
    line-height: 1.05 !important;
  }
  .hero-desc { font-size: .95rem !important; margin-bottom: 32px !important; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions a { text-align: center; justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 0; margin-top: 40px; padding-top: 32px; }
  .hs { width: 50%; padding: 0 0 20px 0 !important; border-right: none !important; }
  .hs:nth-child(odd) { padding-right: 12px !important; }
  .hs:nth-child(even) { padding-left: 12px !important; border-left: 1px solid rgba(255,255,255,.07); }
  .hs-num { font-size: 2rem !important; }
  .hs-label { font-size: .58rem !important; }

  /* ── Section padding ── */
  section,
  #about, #practice, #recognition, #publications,
  #conferences, #contact { padding: 52px 20px !important; }
  #publications { padding: 52px 20px !important; }

  /* ── Section headings ── */
  .section-title { font-size: 1.8rem !important; }
  h2.section-title { font-size: 1.8rem !important; }

  /* ── Profile ── */
  .profile-inner { gap: 32px !important; }
  .about-photo { aspect-ratio: 3/2 !important; }
  .cred-grid { grid-template-columns: 1fr !important; gap: 12px; }
  .profile-text p { font-size: .96rem !important; }

  /* ── Practice ── */
  .practice-grid { grid-template-columns: 1fr !important; }
  .practice-card, .pc { padding: 28px 22px !important; }
  .pc h3 { font-size: 1rem !important; }

  /* ── Stats strip ── */
  .rec-inner { grid-template-columns: 1fr 1fr !important; }
  .rec-item, .ss { padding: 36px 16px !important; }
  .rec-num, .ss-num { font-size: 2.4rem !important; }

  /* ── Publications ── */
  .pub-grid-2col { grid-template-columns: 1fr !important; gap: 32px !important; }
  .pub-card { flex-direction: column; gap: 4px; padding: 14px 0; }
  .pub-year { min-width: auto; }
  #pubFilters { gap: 6px; }
  .pub-yr-btn { padding: 6px 12px !important; font-size: .62rem !important; }

  /* ── Conferences ── */
  .conf-entry { flex-direction: column; gap: 3px; padding: 14px 0; }
  .conf-year-tag { min-width: auto; font-size: .68rem; }
  .conf-title { font-size: .88rem !important; }
  .conf-meta { font-size: .74rem !important; }
  #confFilters { gap: 6px; }
  .conf-yr-btn { padding: 6px 12px !important; font-size: .62rem !important; }

  /* ── Contact ── */
  .contact-panel { padding: 28px 20px !important; }
  .contact-cta-actions { gap: 10px; }
  .cta-link { padding: 14px 16px; font-size: .84rem; }
  .cd-val { font-size: .9rem; }

  /* ── Footer ── */
  footer {
    padding: 28px 20px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  .footer-links { flex-wrap: wrap; gap: 10px; }
  .footer-links a { font-size: .66rem; letter-spacing: 1px; }
  .footer-copy { font-size: .66rem; text-align: left; }

  /* ── Credential grid ── */
  .about-creds { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤380px)
═══════════════════════════════════════════════════════════════ */
  .hamburger span {
    display: block;
    width: 100%; height: 2px;
    background: #3d3d3d;
    border-radius: 1px;
    transition: all .28s ease;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* ── LIGHT SECTION TEXT OVERRIDES ── */
  #practice .s-tag,
  #practice .section-tag { color: var(--gold) !important; }

  #practice .section-title,
  #practice h2 { color: #22242a !important; }

  #practice .gold-rule { background: var(--gold); }

  #practice .pc { background: #ffffff !important; }
  #practice .pc h3 { color: #22242a !important; }
  #practice .pc p { color: #5a5a5a !important; }
  #practice .pc::before { background: var(--gold); }
  #practice .practice-grid {
    background: rgba(184,150,62,0.12) !important;
    border-color: rgba(184,150,62,0.15) !important;
  }

  #publications .s-tag,
  #publications .section-tag { color: var(--gold) !important; }
  #publications .section-title,
  #publications h2 { color: #22242a !important; }
  #publications p,
  #publications .pub-title { color: #22242a !important; }
  #publications .pub-meta { color: #5a5a5a !important; font-style: italic; }
  #publications .pub-yr-btn {
    border-color: rgba(184,150,62,0.35) !important;
    color: #5a5a5a !important;
    background: transparent !important;
  }
  #publications .pub-yr-btn.pub-yr-active {
    background: var(--gold) !important;
    color: #22242a !important;
    border-color: var(--gold) !important;
  }
  #publications .pub-year { color: var(--gold) !important; }
  #publications .pub-card { border-bottom-color: rgba(184,150,62,0.2) !important; }
  #publications a { color: var(--gold) !important; }

  #conferences .s-tag,
  #conferences .section-tag { color: var(--gold) !important; }
  #conferences .section-title,
  #conferences h2 { color: #22242a !important; }
  #conferences p { color: #5a5a5a !important; }
  #conferences .conf-yr-btn {
    border-color: rgba(184,150,62,0.35) !important;
    color: #5a5a5a !important;
    background: transparent !important;
  }
  #conferences .conf-yr-btn.conf-yr-active {
    background: var(--gold) !important;
    color: #22242a !important;
    border-color: var(--gold) !important;
  }
  #conferences .conf-title { color: #22242a !important; }
  #conferences .conf-meta { color: #7a7a7a !important; }
  #conferences .conf-year-tag { color: var(--gold) !important; }
  #conferences .conf-entry {
    border-bottom-color: rgba(184,150,62,0.15) !important;
  }
  #conferences .conf-entry:hover {
    background: rgba(184,150,62,0.06) !important;
  }

  /* Stats strip on ivory bg */
  .rec-inner .rec-item { background: #f8f5f0 !important; }
  .rec-num { color: var(--gold) !important; }
  .rec-label { color: #5a5a5a !important; }
  .rec-item { border-right-color: rgba(184,150,62,0.2) !important; }

  /* Grid lines in practice — on white cards */
  #practice::before { display: none; }

  /* Inline desc text in practice header */
  #practice .practice-intro p { color: #5a5a5a !important; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE SYSTEM
   Breakpoints:
     1100px — tablet landscape
      768px — tablet portrait / large mobile
      480px — mobile
      360px — small mobile
   Philosophy: mobile-first overrides, no conflicts, no !important wars
══════════════════════════════════════════════════════════════ */

/* ── 1100px: tablet landscape ──────────────────────────────── */
@media (max-width: 1100px) {

  /* Hero: collapse two-column, hide photo */
  #hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 80px 48px 64px; }
  .hero-stats { gap: 0; }
  .hs { padding-right: 20px; border-right: 1px solid rgba(50,45,35,.1); }
  .hs:last-child { border-right: none; padding-right: 0; }
  .hs:not(:first-child) { padding-left: 20px; }

  /* Profile */
  .profile-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { aspect-ratio: 3/2; object-position: 25% 20%; }

  /* Practice: 2 cols */
  .practice-grid { grid-template-columns: 1fr 1fr; }

  /* Stats: 2x2 */
  .rec-inner { grid-template-columns: 1fr 1fr; }

  /* Publications */
  .pub-grid-2col { grid-template-columns: 1fr; gap: 36px; }

  /* Contact: stack */
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }

  /* Credential grid: 1 col */
  .cred-grid { grid-template-columns: 1fr; }

  /* Section padding */
  #profile, #practice, #recognition,
  #publications, #conferences, #contact { padding: 80px 48px; }
  footer { padding: 36px 48px; }
}

/* ── 768px: tablet portrait ─────────────────────────────────── */
@media (max-width: 768px) {

  html { font-size: 15px; }

  /* Nav */
  .top-nav { padding: 0 20px; }
  .top-nav-links a { padding: 5px 9px; font-size: .63rem; letter-spacing: 1.5px; }
  .tnav-icon { width: 27px; height: 27px; }

  /* Hero */
  .hero-left { padding: 64px 32px 52px; }
  .hero-name { font-size: clamp(2.6rem, 7vw, 3.8rem); }
  .hero-desc { font-size: .97rem; margin-bottom: 28px; }
  .hero-stats { margin-top: 36px; padding-top: 28px; flex-wrap: wrap; gap: 0; }
  .hs { width: 50%; border-right: none; padding: 0 0 18px; }
  .hs:nth-child(odd) { padding-right: 16px; }
  .hs:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid rgba(255,255,255,.07);
  }
  .hs-num { font-size: 2rem; }
  .hs-label { font-size: .6rem; }

  /* Section padding */
  #profile, #practice, #recognition,
  #publications, #conferences, #contact { padding: 64px 32px; }
  footer { padding: 32px; }

  /* Practice: 2 cols still fine */
  .pc { padding: 30px 24px; }

  /* Section titles */
  .section-title, h2.section-title { font-size: clamp(1.7rem, 4vw, 2.2rem); }

  /* Profile photo */
  .about-photo { aspect-ratio: 4/3; }

  /* Publications grid */
  .pub-grid-2col { gap: 28px; }

  /* Contact panel */
  .contact-panel, .contact-cta { padding: 32px 28px; }
}

/* ── 480px: mobile ───────────────────────────────────────────── */
@media (max-width: 480px) {

  html { font-size: 15px; }

  /* ── Nav ── */
  .top-nav { padding: 0 16px; height: 52px; }
  .top-nav-brand svg { height: 26px; }
  .hamburger { display: flex; }
  .top-nav-links {
    display: none;
    position: fixed;
    top: 52px; left: 0; right: 0;
    background: rgba(30,77,140,0.99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(184,150,62,.2);
    z-index: 399;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
  }
  .top-nav-links.open { display: flex; }
  .top-nav-links li { border-bottom: 1px solid rgba(184,150,62,.12); }
  .top-nav-links a {
    display: block;
    padding: 16px 20px;
    font-size: .72rem;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,0.85);
    width: 100%;
  }
  .top-nav-links a:hover,
  .top-nav-links a:active { background: rgba(184,150,62,.08); color: var(--gold); }
  .top-nav-links a::after { display: none; }
  .top-nav-right { gap: 6px; }
  .tnav-icon { width: 32px; height: 32px; }
  .tnav-icon svg { width: 13px; height: 13px; }
  .hamburger span { background: #3d3d3d; }

  /* ── Hero ── */
  .hero-left { padding: 48px 20px 44px; }
  .hero-tag { font-size: .6rem; letter-spacing: 3px; margin-bottom: 16px; }
  .hero-name { font-size: clamp(2.4rem, 9vw, 3.2rem); line-height: 1; margin-bottom: 6px; }
  .hero-name em { font-size: .48em; letter-spacing: 2px; margin-top: 8px; }
  .hero-rule { margin: 22px 0; width: 36px; }
  .hero-desc { font-size: .96rem; line-height: 1.8; margin-bottom: 28px; }
  .hero-desc p { margin-bottom: 12px; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta a { width: 100%; justify-content: center; text-align: center; min-height: 48px; }
  .btn-primary { padding: 14px 24px; font-size: .7rem; }
  .btn-outline { padding: 13px 20px; font-size: .7rem; }
  .hero-stats { margin-top: 32px; padding-top: 24px; flex-wrap: wrap; gap: 0; }
  .hs { width: 50%; padding: 0 0 16px; border-right: none; }
  .hs:nth-child(odd) { padding-right: 14px; }
  .hs:nth-child(even) { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.07); }
  .hs-num { font-size: 1.9rem; }
  .hs-label { font-size: .58rem; line-height: 1.5; }

  /* ── Section common ── */
  #profile, #practice, #recognition,
  #publications, #conferences, #contact { padding: 52px 20px; }
  footer { padding: 32px 20px; }
  .section-title, h2.section-title { font-size: 1.75rem; }
  .s-tag, .section-tag { font-size: .62rem; letter-spacing: 3px; }
  .gold-bar, .s-rule { margin-bottom: 24px; }

  /* ── Profile ── */
  .profile-inner { gap: 28px; }
  .about-photo { aspect-ratio: 4/3; object-position: 25% 15%; }
  .profile-text p { font-size: .97rem; margin-bottom: 14px; }
  .cred-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .cred-item { padding: 10px 14px; }
  .cred-lbl { font-size: .58rem; }
  .cred-val { font-size: .86rem; }
  .about-btns { flex-direction: column; gap: 10px; margin-top: 24px; }
  .about-btns a { width: 100%; justify-content: center; min-height: 48px; }

  /* ── Practice ── */
  .practice-grid { grid-template-columns: 1fr; gap: 1px; }
  .pc { padding: 28px 20px; }
  .pc h3 { font-size: 1rem; margin-bottom: 8px; }
  .pc p { font-size: .86rem; line-height: 1.7; }
  .practice-header { flex-direction: column; gap: 12px; margin-bottom: 32px; }
  .practice-desc { font-size: .9rem; }

  /* ── Stats strip ── */
  .rec-inner { grid-template-columns: 1fr 1fr; }
  .rec-item, .ss { padding: 32px 16px; }
  .rec-num, .ss-num { font-size: 2.2rem; }
  .rec-label, .ss-lbl { font-size: .6rem; letter-spacing: 1.5px; }

  /* ── Publications ── */
  .pub-grid-2col { grid-template-columns: 1fr; gap: 24px; }
  #pubFilters { gap: 6px; margin-bottom: 24px; }
  .pub-yr-btn { padding: 8px 12px; font-size: .62rem; letter-spacing: 1.5px; min-height: 36px; }
  .pub-card { flex-direction: column; gap: 3px; padding: 14px 0; }
  .pub-year { min-width: auto; font-size: .72rem; }
  .pub-title { font-size: .92rem; }
  .pub-meta { font-size: .78rem; }
  .pub-group-title { font-size: .62rem; letter-spacing: 2.5px; }

  /* ── Conferences ── */
  #confFilters { gap: 6px; margin-bottom: 24px; }
  .conf-yr-btn { padding: 8px 12px; font-size: .62rem; letter-spacing: 1.5px; min-height: 36px; }
  .conf-entry { flex-direction: column; gap: 4px; padding: 14px 0; }
  .conf-year-tag { min-width: auto; font-size: .7rem; opacity: .7; }
  .conf-title { font-size: .88rem; line-height: 1.45; }
  .conf-meta { font-size: .75rem; line-height: 1.55; }

  /* ── Contact ── */
  .contact-big-title { font-size: clamp(2rem, 8vw, 3rem); }
  .contact-intro, .ct-intro { font-size: .95rem; margin-bottom: 28px; }
  .cd { margin-bottom: 18px; }
  .cd-lbl { font-size: .6rem; }
  .cd-val { font-size: .92rem; }
  .contact-panel, .contact-cta { padding: 28px 20px; }
  .cp-title, .cp-quote { font-size: 1.45rem; }
  .cp-body { font-size: .88rem; }
  .clinks { gap: 10px; }
  .clink { padding: 14px 16px; font-size: .84rem; min-height: 48px; }

  /* ── Footer ── */
  footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { flex-wrap: wrap; gap: 8px 16px; }
  .footer-links a { font-size: .66rem; letter-spacing: 1px; }
  .footer-copy { font-size: .66rem; text-align: left; }
}

/* ── 360px: small mobile ─────────────────────────────────────── */
@media (max-width: 360px) {
  .top-nav-links a { padding: 14px 16px; font-size: .68rem; letter-spacing: 2px; }
  .top-nav-right { gap: 4px; }
  .tnav-icon { width: 28px; height: 28px; }
  .hero-name { font-size: 2.2rem; }
  .hs { width: 50%; }
  .rec-inner { grid-template-columns: 1fr; }
  .rec-item { padding: 24px 16px; }
  .conf-yr-btn, .pub-yr-btn { padding: 7px 10px; font-size: .6rem; }
}

/* ── Touch device improvements ─────────────────────────────── */
@media (hover: none) and (pointer: coarse) {
  /* Minimum 44px tap targets everywhere */
  .top-nav-links a { min-height: 44px; display: flex; align-items: center; }
  .pub-yr-btn, .conf-yr-btn { min-height: 44px; }
  .clink, .btn-primary, .btn-outline,
  .btn-dark, .btn-navy, .btn-line,
  .btn-gold-solid, .btn-white,
  .btn-cv { min-height: 48px; }
  .tnav-icon { min-width: 36px; min-height: 36px; }

  /* Remove hover visual effects that feel wrong on touch */
  .pc:hover { transform: none; background: #ffffff; }
  .pub-card:hover { padding-left: 0; }
  .conf-entry:hover { padding-left: 0; background: transparent; }
  .practice-card:hover { transform: none; }
}
