
  :root{
    --navy:#0c1c30;
    --navy-2:#132a45;
    --gold:#a9822f;
    --gold-light:#c9a24b;
    --paper:#f5f1e7;
    --bg:#faf8f3;
    --ink:#20242c;
    --ink-soft:#565f6b;
    --line: rgba(12,28,48,0.14);
    --card-bg:#ffffff;
    --surface: var(--paper);
  }
  :root:not([data-theme="light"]) {}
  @media (prefers-color-scheme: dark){
    :root:not([data-theme="light"]){
      --bg:#0b1420;
      --paper:#101c2c;
      --ink:#eef1f5;
      --ink-soft:#a9b2c0;
      --line: rgba(255,255,255,0.12);
      --card-bg:#122132;
      --surface:#101c2c;
      --navy:#070f1a;
      --navy-2:#0e1c30;
    }
  }
  :root[data-theme="dark"]{
    --bg:#0b1420;
    --paper:#101c2c;
    --ink:#eef1f5;
    --ink-soft:#a9b2c0;
    --line: rgba(255,255,255,0.12);
    --card-bg:#122132;
    --surface:#101c2c;
    --navy:#070f1a;
    --navy-2:#0e1c30;
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--bg);
    color:var(--ink);
    font-family:'IBM Plex Sans', -apple-system, Segoe UI, Arial, sans-serif;
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  img{max-width:100%;display:block;}
  a{color:inherit;text-decoration:none;}
  h1,h2,h3,h4{
    font-family:'Source Serif 4', Georgia, 'Times New Roman', serif;
    font-weight:600;
    margin:0;
    color:var(--ink);
    letter-spacing:-0.01em;
  }
  .wrap{
    max-width:1180px;
    margin:0 auto;
    padding:0 28px;
  }
  section{ overflow-x:clip; }
  .eyebrow{
    font-size:13px;
    color:var(--gold);
    font-weight:600;
    letter-spacing:.02em;
    margin-bottom:10px;
    display:block;
  }
  .rule{
    width:52px;height:2px;background:var(--gold);border:0;margin:18px 0 0;
  }

  /* ---------- Header ---------- */
  .progress-bar{
    position:fixed; top:0; left:0; height:3px; width:0%; z-index:200;
    background:linear-gradient(90deg, var(--gold), var(--gold-light));
    transition:width .1s linear;
  }
  header{
    position:fixed; top:0; left:0; right:0; z-index:100;
    padding:22px 0;
    transition:background .4s ease, padding .35s ease, box-shadow .4s ease, border-color .4s ease;
    border-bottom:1px solid transparent;
  }
  header.scrolled{
    background:var(--navy);
    padding:13px 0;
    box-shadow:0 6px 24px rgba(0,0,0,.18);
    border-color:rgba(255,255,255,.08);
  }
  header .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;}
  .brand{display:flex;align-items:center;gap:12px;color:#fff;}
  .brand svg{width:34px;height:34px;flex:none;}
  .brand-text{line-height:1.15;}
  .brand-text .name{
    font-family:'Source Serif 4', serif; font-size:21px; font-weight:600; color:#fff; letter-spacing:.01em;
  }
  .brand-text .tag{
    font-size:10.5px; color:var(--gold-light); letter-spacing:.06em; font-weight:500;
  }
  nav.primary-nav{display:flex;align-items:center;gap:34px;}
  nav.primary-nav a{
    color:#e8ebef; font-size:14.5px; font-weight:500; position:relative; padding:4px 0;
    transition:opacity .3s ease;
  }
  nav.primary-nav a::after{
    content:""; position:absolute; left:0; bottom:-2px; width:0; height:1.5px; background:var(--gold-light);
    transition:width .3s ease;
  }
  nav.primary-nav a:hover::after{width:100%;}
  .nav-cta{
    background:var(--gold); color:#161005 !important; padding:9px 18px; border-radius:2px;
    font-weight:600; font-size:13.5px; transition:background .25s ease, transform .25s ease;
  }
  .nav-cta:hover{background:var(--gold-light); transform:translateY(-1px);}
  .nav-cta::after{display:none;}
  .menu-btn{
    display:none; width:38px; height:38px; border:1px solid rgba(255,255,255,.35); border-radius:3px;
    background:transparent; cursor:pointer; position:relative;
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after{
    content:""; position:absolute; left:9px; right:9px; height:1.5px; background:#fff; transition:transform .3s ease, opacity .3s ease;
  }
  .menu-btn span{top:18px;}
  .menu-btn span::before{content:"";top:-6px;}
  .menu-btn span::after{content:"";top:6px;}
  .menu-btn span::before, .menu-btn span::after{position:absolute;left:0;right:0;}

  @media (max-width:880px){
    nav.primary-nav{
      position:fixed; inset:0 0 0 auto; width:min(78vw,320px); height:100vh;
      background:var(--navy); flex-direction:column; align-items:flex-start; justify-content:center;
      gap:26px; padding:40px; transform:translateX(100%); transition:transform .4s ease;
    }
    nav.primary-nav.open{transform:translateX(0);}
    nav.primary-nav a{font-size:18px;}
    .menu-btn{display:block;}
  }

  /* ---------- Hero ---------- */
  .hero{
    position:relative;
    min-height:100vh;
    display:flex; align-items:center;
    background:var(--navy);
    color:#fff;
    padding-top:110px;
    overflow:hidden;
  }
  .hero .wrap{
    display:grid; grid-template-columns:1.08fr .92fr; gap:56px; align-items:center; width:100%;
  }
  .hero-eyebrow{
    color:var(--gold-light); font-size:13.5px; font-weight:600; letter-spacing:.03em; margin-bottom:18px; display:block;
  }
  .hero h1{
    color:#fdfcfa; font-size:clamp(34px,4.6vw,54px); line-height:1.1; font-weight:600; letter-spacing:-0.015em;
  }
  .hero-line{display:block; overflow:hidden;}
  .hero-line span{display:block; transform:translateY(110%); animation:riseUp .8s cubic-bezier(.2,.8,.2,1) forwards;}
  .hero-line:nth-child(1) span{animation-delay:.05s;}
  .hero-line:nth-child(2) span{animation-delay:.18s;}
  .hero-line:nth-child(3) span{animation-delay:.31s;}
  @keyframes riseUp{to{transform:translateY(0);}}
  .hero p.lede{
    margin-top:22px; max-width:46ch; color:#c7cedb; font-size:17px; line-height:1.7;
    opacity:0; animation:fadeIn .8s ease forwards; animation-delay:.55s;
  }
  .hero-ctas{display:flex; gap:14px; margin-top:34px; flex-wrap:wrap; opacity:0; animation:fadeIn .8s ease forwards; animation-delay:.72s;}
  @keyframes fadeIn{to{opacity:1;}}
  .btn{
    display:inline-flex; align-items:center; gap:9px; padding:13px 24px; font-size:14.5px; font-weight:600;
    border-radius:2px; transition:transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
    border:1px solid transparent; white-space:nowrap;
    position:relative; overflow:hidden;
  }
  .btn .ripple{
    position:absolute; border-radius:50%; transform:scale(0); pointer-events:none;
    background:rgba(255,255,255,.45); animation:rippleAnim .6s ease-out forwards;
  }
  @keyframes rippleAnim{ to{ transform:scale(1); opacity:0; } }
  .btn-gold{background:var(--gold); color:#171106;}
  .btn-gold:hover{background:var(--gold-light); transform:translateY(-2px);}
  .btn-outline{border-color:rgba(255,255,255,.4); color:#fff;}
  .btn-outline:hover{border-color:#fff; background:rgba(255,255,255,.08); transform:translateY(-2px);}

  .hero-credentials{
    display:flex; gap:28px; margin-top:52px; flex-wrap:wrap;
    opacity:0; animation:fadeIn .8s ease forwards; animation-delay:.9s;
  }
  .hero-credentials div{border-left:2px solid var(--gold); padding-left:14px;}
  .hero-credentials .num{font-family:'Source Serif 4',serif; font-size:26px; color:#fff; font-weight:600;}
  .hero-credentials .lbl{font-size:12.5px; color:#a8b1c0; margin-top:3px;}

  .hero-figure{
    position:relative; opacity:0; animation:fadeIn 1s ease forwards; animation-delay:.35s;
    will-change:transform;
  }
  .hero-figure .frame{
    border:1px solid rgba(201,162,75,.55); padding:16px; position:relative;
  }
  .hero-figure img{width:100%; height:420px; object-fit:cover; filter:saturate(.92) contrast(1.03); transition:opacity .55s ease, filter .55s ease;}
  .hero-caption{
    margin-top:18px; font-size:12.5px; color:#93a0b3; text-align:right; font-style:italic;
    font-family:'Source Serif 4',serif; transition:opacity .4s ease; min-height:1.4em;
  }
  .hero-figure .frame::before{
    content:""; position:absolute; top:-10px; left:-10px; width:46px; height:46px;
    border-top:2px solid var(--gold-light); border-left:2px solid var(--gold-light);
  }
  .hero-figure .frame::after{
    content:""; position:absolute; bottom:-10px; right:-10px; width:46px; height:46px;
    border-bottom:2px solid var(--gold-light); border-right:2px solid var(--gold-light);
  }

  @media (max-width:880px){
    .hero .wrap{grid-template-columns:1fr; text-align:left;}
    .hero-figure{order:-1;}
    .hero-figure img{height:280px;}
    .hero{padding-top:96px;}
  }

  /* ---------- Section basics ---------- */
  .section{padding:104px 0;}
  .section-alt{background:var(--surface);}
  .section-head{max-width:680px; margin-bottom:52px;}
  .section-head h2{font-size:clamp(28px,3.4vw,38px); line-height:1.15;}
  .section-head p{margin-top:16px; color:var(--ink-soft); font-size:16.5px; max-width:60ch;}

  .reveal{opacity:0; transform:translateY(26px); transition:opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1);}
  .reveal.in{opacity:1; transform:translateY(0);}

  .reveal-item{opacity:0; transform:translateY(20px); transition:opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);}
  .reveal-item.in{opacity:1; transform:translateY(0);}

  .eyebrow{position:relative;}
  .section-head .eyebrow::after{
    content:""; display:block; width:0; height:1.5px; background:var(--gold); margin-top:8px;
    transition:width .6s ease .15s;
  }
  .section-head.in .eyebrow::after{width:44px;}

  /* ---------- About ---------- */
  .about-grid{display:grid; grid-template-columns:.9fr 1.1fr; gap:64px; align-items:start;}
  .about-grid p.intro{font-size:19px; line-height:1.75; color:var(--ink);}
  .focus-list{margin-top:28px; display:flex; flex-wrap:wrap; gap:0; border-top:1px solid var(--line);}
  .focus-list span{
    font-size:14px; color:var(--ink-soft); padding:13px 18px 13px 0; border-bottom:1px solid var(--line);
    flex:1 1 auto; position:relative;
  }
  .focus-list span:not(:last-child)::after{content:"·"; color:var(--gold); margin-left:18px;}
  .about-side{border-left:2px solid var(--gold); padding-left:28px;}
  .about-side h3{font-size:20px; margin-bottom:10px;}
  .about-side p{color:var(--ink-soft); font-size:15px;}
  .about-stats{display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:30px;}
  .about-stats .stat b{
    display:block; font-family:'Source Serif 4',serif; font-size:30px; color:var(--gold); font-weight:600;
  }
  .about-stats .stat span{font-size:13px; color:var(--ink-soft);}

  @media (max-width:820px){
    .about-grid{grid-template-columns:1fr; gap:38px;}
    .about-side{border-left:none; border-top:2px solid var(--gold); padding-left:0; padding-top:22px;}
  }

  /* ---------- Services ---------- */
  .services-list{border-top:1px solid var(--line);}
  .service-row{
    display:grid; grid-template-columns:56px 1fr; gap:22px; padding:30px 0; border-bottom:1px solid var(--line);
    transition:padding-left .35s cubic-bezier(.2,.7,.2,1), background-color .35s ease;
  }
  .service-row:hover{padding-left:10px; background:rgba(169,130,47,.05);}
  .service-row .icon{
    width:44px; height:44px; border:1px solid var(--gold); border-radius:50%;
    display:flex; align-items:center; justify-content:center; color:var(--gold);
    transition:background-color .35s ease, color .35s ease, transform .45s cubic-bezier(.2,.7,.2,1);
  }
  .service-row:hover .icon{background:var(--gold); color:#171106; transform:rotate(-8deg) scale(1.08);}
  .service-row .icon svg{width:22px;height:22px; transition:transform .4s ease;}
  .service-row h3{transition:color .3s ease;}
  .service-row:hover h3{color:var(--gold);}
  .service-row h3{font-size:19px; margin-bottom:6px;}
  .service-row p{color:var(--ink-soft); font-size:14.5px; max-width:62ch; margin:0;}

  /* ---------- Team ---------- */
  .lead-member{
    display:grid; grid-template-columns:220px 1fr; gap:40px; align-items:center;
    padding:34px; background:var(--card-bg); border:1px solid var(--line); margin-bottom:52px;
    transition:box-shadow .4s ease, border-color .4s ease, transform .4s cubic-bezier(.2,.7,.2,1);
  }
  .lead-member:hover{box-shadow:0 18px 46px rgba(12,28,48,.14); border-color:var(--gold); transform:translateY(-3px);}
  .lead-member .photo{width:100%; aspect-ratio:1/1; overflow:hidden; border:1px solid var(--line);}
  .lead-member img{width:100%;height:100%;object-fit:cover; filter:grayscale(1) contrast(1.05); transition:filter .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);}
  .lead-member:hover img{filter:grayscale(0) contrast(1.02); transform:scale(1.05);}
  .lead-member .role{color:var(--gold); font-size:13.5px; font-weight:600; letter-spacing:.01em; margin-bottom:6px;}
  .lead-member h3{font-size:26px; margin-bottom:6px;}
  .lead-member .quals{color:var(--ink-soft); font-size:14px; margin-bottom:14px;}
  .lead-member p.bio{color:var(--ink); font-size:15.5px; max-width:64ch;}

  .team-grid{
    display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line);
  }
  .team-card{
    background:var(--card-bg); padding:26px; display:flex; gap:16px; position:relative; z-index:1;
    transition:transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, z-index 0s;
  }
  .team-card:hover{transform:translateY(-4px); box-shadow:0 16px 34px rgba(12,28,48,.12); z-index:2;}
  .team-card .photo{
    width:76px; height:76px; flex:none; border-radius:50%; overflow:hidden; border:1px solid var(--line);
  }
  .team-card img{width:100%;height:100%;object-fit:cover; filter:grayscale(1); transition:filter .5s ease, transform .5s cubic-bezier(.2,.7,.2,1);}
  .team-card:hover img{filter:grayscale(0); transform:scale(1.08);}
  .team-card h4{font-size:16.5px; margin-bottom:4px; transition:color .3s ease;}
  .team-card:hover h4{color:var(--gold);}
  .team-card .quals{font-size:12.5px; color:var(--gold); font-weight:600; margin-bottom:6px; line-height:1.4;}
  .team-card p{font-size:13.5px; color:var(--ink-soft); margin:0;}

  @media (max-width:920px){
    .team-grid{grid-template-columns:repeat(2,1fr);}
    .lead-member{grid-template-columns:150px 1fr; padding:24px; gap:24px;}
  }
  @media (max-width:600px){
    .team-grid{grid-template-columns:1fr;}
    .lead-member{grid-template-columns:1fr; text-align:left;}
    .lead-member .photo{max-width:150px;}
  }

  /* ---------- Contact ---------- */
  .contact-grid{display:grid; grid-template-columns:.85fr 1.15fr; gap:64px;}
  .contact-card{background:var(--navy); color:#fff; padding:44px; position:relative;}
  .contact-card h3{color:#fff; font-size:22px; margin-bottom:22px;}
  .contact-line{display:flex; gap:14px; margin-bottom:20px; align-items:flex-start;}
  .contact-line svg{width:19px;height:19px; flex:none; margin-top:3px; color:var(--gold-light);}
  .contact-line a, .contact-line span{color:#dbe0e8; font-size:14.5px; line-height:1.6;}
  .contact-line a:hover{color:var(--gold-light);}
  .directions{margin-top:26px; display:inline-flex; gap:8px; align-items:center; color:var(--gold-light); font-size:13.5px; font-weight:600; border-bottom:1px solid var(--gold-light); padding-bottom:3px;}

  .form-card{background:var(--card-bg); border:1px solid var(--line); padding:44px;}
  .form-card h3{font-size:22px; margin-bottom:8px;}
  .form-card > p{color:var(--ink-soft); font-size:14px; margin-bottom:26px;}
  .form-row{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px;}
  .field{display:flex; flex-direction:column; gap:7px;}
  .field label{font-size:12.5px; color:var(--ink-soft); font-weight:500;}
  .field input, .field textarea{
    border:none; border-bottom:1.5px solid var(--line); background:transparent; padding:9px 2px;
    font-family:inherit; font-size:15px; color:var(--ink); transition:border-color .25s ease;
  }
  .field input:focus, .field textarea:focus{outline:none; border-color:var(--gold);}
  .field textarea{resize:vertical; min-height:96px;}
  .form-card button{
    margin-top:8px; border:none; cursor:pointer; font-family:inherit;
  }
  .form-note{font-size:12px; color:var(--ink-soft); margin-top:12px;}

  @media (max-width:880px){
    .contact-grid{grid-template-columns:1fr; gap:28px;}
    .form-row{grid-template-columns:1fr;}
    .contact-card, .form-card{padding:30px;}
  }

  /* ---------- Footer ---------- */
  footer{background:var(--navy); color:#9aa4b3; padding:44px 0 28px;}
  footer .wrap{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:18px;}
  footer .f-brand{color:#e8ebef; font-family:'Source Serif 4',serif; font-size:17px;}
  footer .f-links{display:flex; gap:24px; font-size:13.5px;}
  footer .f-links a:hover{color:var(--gold-light);}
  footer .copyright{font-size:12.5px; color:#6d7789; margin-top:18px;}
  .back-top{
    position:fixed; right:24px; bottom:24px; width:44px; height:44px; border-radius:50%;
    background:var(--gold); color:#171106; display:flex; align-items:center; justify-content:center;
    opacity:0; pointer-events:none; transition:opacity .3s ease, transform .3s ease; z-index:90; border:none; cursor:pointer;
  }
  .back-top.show{opacity:1; pointer-events:auto;}
  .back-top:hover{transform:translateY(-3px);}

  @media (prefers-reduced-motion: reduce){
    *{animation-duration:.001ms !important; animation-delay:0s !important; transition-duration:.001ms !important;}
    .hero-line span{transform:none;}
  }
