:root {
      --navy:       #0d1b2e;
      --navy-mid:   #162843;
      --navy-light: #1f3a5f;
      --grey-dark:  #2c2c2c;
      --grey-mid:   #5a5f6b;
      --grey-light: #b8bcc8;
      --grey-pale:  #e8eaef;
      --bronze:     #8b5a2b;
      --copper:     #b87333;
      --gold-light: #d4956a;
      --cream:      #f5f0e8;
      --white:      #ffffff;
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Josefin Sans', sans-serif;
      background: var(--navy);
      color: var(--grey-pale);
      overflow-x: hidden;
    }

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

    /* ── NAVBAR ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.2rem 4rem;
      background: rgba(13, 27, 46, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(184, 115, 51, 0.25);
    }

    .nav-logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.35rem;
      font-weight: 300;
      letter-spacing: 0.12em;
      color: var(--gold-light);
    }
    .nav-logo span { color: var(--white); font-weight: 600; }

    .nav-links {
      display: flex;
      gap: 2.5rem;
      list-style: none;
    }
    .nav-links a {
      text-decoration: none;
      font-size: 0.72rem;
      font-weight: 300;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--grey-light);
      transition: color 0.3s;
    }
    .nav-links a:hover { color: var(--gold-light); }

    .nav-cta {
      font-size: 0.68rem;
      font-weight: 400;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--navy);
      background: linear-gradient(135deg, var(--copper), var(--bronze));
      padding: 0.6rem 1.5rem;
      text-decoration: none;
      transition: opacity 0.3s;
    }
    .nav-cta:hover { opacity: 0.85; }
    nav a.nav-portal,
    nav a.nav-portal:link,
    nav a.nav-portal:visited {
      font-family: 'Josefin Sans', sans-serif !important;
      font-size: 0.68rem !important;
      font-weight: 400 !important;
      letter-spacing: 0.2em !important;
      text-transform: uppercase !important;
      color: var(--gold-light) !important;
      background: transparent !important;
      border: 1px solid rgba(184,115,51,0.5) !important;
      padding: 0.6rem 1.5rem !important;
      text-decoration: none !important;
      transition: background 0.3s, color 0.3s !important;
      white-space: nowrap !important;
      display: inline-block !important;
    }
    nav a.nav-portal:hover {
      background: rgba(184,115,51,0.12) !important;
      color: var(--white) !important;
      text-decoration: none !important;
    }

    /* ── HERO ── */
    #hero {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      padding: 8rem 4rem 4rem;
      position: relative;
      overflow: hidden;
    }

    #hero::before {
      content: '';
      position: absolute;
      top: -20%;
      right: -5%;
      width: 65%;
      height: 130%;
      background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy-light) 60%, rgba(31,58,95,0) 100%);
      clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
    }

    /* Decorative scale of justice SVG */
    #hero::after {
      content: '';
      position: absolute;
      right: 6%;
      bottom: 8%;
      width: 280px;
      height: 280px;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23b87333' stroke-width='0.6' opacity='0.12'%3E%3Ccircle cx='50' cy='50' r='48'/%3E%3Ccircle cx='50' cy='50' r='38'/%3E%3Ccircle cx='50' cy='50' r='28'/%3E%3Ccircle cx='50' cy='50' r='18'/%3E%3Cline x1='50' y1='2' x2='50' y2='98'/%3E%3Cline x1='2' y1='50' x2='98' y2='50'/%3E%3Cline x1='15' y1='15' x2='85' y2='85'/%3E%3Cline x1='85' y1='15' x2='15' y2='85'/%3E%3C/svg%3E") center/contain no-repeat;
    }

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

    .hero-eyebrow {
      font-size: 0.68rem;
      font-weight: 300;
      letter-spacing: 0.35em;
      text-transform: uppercase;
      color: var(--copper);
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    .hero-eyebrow::before {
      content: '';
      display: block;
      width: 40px;
      height: 1px;
      background: var(--copper);
    }

    .hero-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(3rem, 5vw, 5.5rem);
      font-weight: 300;
      line-height: 1.05;
      color: var(--white);
      margin-bottom: 0.3rem;
    }
    .hero-title em {
      font-style: italic;
      color: var(--gold-light);
    }

    .hero-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.8rem, 2.5vw, 2.8rem);
      font-weight: 600;
      letter-spacing: 0.05em;
      color: var(--grey-pale);
      margin-bottom: 2rem;
    }

    .hero-sub {
      font-size: 0.8rem;
      font-weight: 200;
      letter-spacing: 0.15em;
      color: var(--grey-light);
      line-height: 2;
      max-width: 420px;
      margin-bottom: 3rem;
    }

    .hero-actions { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }

    .btn-primary {
      display: inline-block;
      background: linear-gradient(135deg, var(--copper), var(--bronze));
      color: var(--navy);
      text-decoration: none;
      padding: 1rem 2.4rem;
      font-size: 0.72rem;
      font-weight: 400;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      transition: transform 0.2s, opacity 0.2s;
    }
    .btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }

    .btn-secondary {
      font-size: 0.72rem;
      font-weight: 300;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--gold-light);
      text-decoration: none;
      border-bottom: 1px solid rgba(184,115,51,0.4);
      padding-bottom: 2px;
      transition: color 0.2s, border-color 0.2s;
    }
    .btn-secondary:hover { color: var(--white); border-color: var(--white); }

    /* ── STATS BAR ── */
    .stats-bar {
      background: linear-gradient(90deg, var(--bronze) 0%, var(--copper) 50%, var(--bronze) 100%);
      padding: 1.8rem 4rem;
      display: flex;
      justify-content: space-around;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }
    .stat { text-align: center; }
    .stat-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.4rem;
      font-weight: 600;
      color: var(--navy);
      line-height: 1;
    }
    .stat-label {
      font-size: 0.62rem;
      font-weight: 300;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--navy-mid);
      margin-top: 0.3rem;
    }
    .stat-divider { width: 1px; height: 40px; background: rgba(13,27,46,0.25); }

    /* ── SECTION COMMONS ── */
    section { padding: 6rem 4rem; }

    .section-eyebrow {
      font-size: 0.65rem;
      font-weight: 300;
      letter-spacing: 0.35em;
      text-transform: uppercase;
      color: var(--copper);
      margin-bottom: 1rem;
    }

    .section-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 3.5vw, 3.2rem);
      font-weight: 300;
      color: var(--white);
      line-height: 1.15;
      margin-bottom: 1.5rem;
    }
    .section-title em { font-style: italic; color: var(--gold-light); }

    .section-body {
      font-size: 0.8rem;
      font-weight: 200;
      letter-spacing: 0.1em;
      line-height: 2.2;
      color: var(--grey-light);
      max-width: 580px;
    }

    /* ── PRACTICE AREAS ── */
    #practice { background: var(--navy-mid); }

    .practice-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1.5px;
      margin-top: 3.5rem;
      background: rgba(184,115,51,0.18);
    }

    .practice-card {
      background: var(--navy);
      padding: 2.5rem 2rem;
      position: relative;
      overflow: hidden;
      transition: background 0.35s;
      cursor: default;
    }
    .practice-card::before {
      content: '';
      position: absolute;
      bottom: 0; left: 0;
      width: 0; height: 2px;
      background: linear-gradient(90deg, var(--copper), var(--gold-light));
      transition: width 0.4s ease;
    }
    .practice-card:hover { background: var(--navy-mid); }
    .practice-card:hover::before { width: 100%; }

    .practice-icon {
      font-size: 2rem;
      margin-bottom: 1.2rem;
      opacity: 0.75;
    }

    .practice-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem;
      font-weight: 400;
      color: var(--white);
      margin-bottom: 0.8rem;
    }

    .practice-desc {
      font-size: 0.74rem;
      font-weight: 200;
      letter-spacing: 0.08em;
      line-height: 2;
      color: var(--grey-light);
    }

    /* ── ABOUT ── */
    #about {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6rem;
      align-items: center;
    }

    .about-visual {
      position: relative;
    }

    .about-frame {
      width: 100%;
      aspect-ratio: 3/4;
      background: var(--navy-mid);
      border: 1px solid rgba(184,115,51,0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    .about-frame::after {
      content: '';
      position: absolute;
      inset: 0;
      background: 
        linear-gradient(135deg, transparent 60%, rgba(184,115,51,0.08)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 5 L55 20 L55 40 L30 55 L5 40 L5 20Z' fill='none' stroke='%23b87333' stroke-width='0.3' opacity='0.12'/%3E%3C/svg%3E");
    }

    .about-initials {
      font-family: 'Cormorant Garamond', serif;
      font-size: 8rem;
      font-weight: 300;
      color: rgba(184,115,51,0.2);
      letter-spacing: -0.05em;
      position: relative;
      z-index: 1;
    }

    .about-badge {
      position: absolute;
      bottom: -1.5rem;
      right: -1.5rem;
      width: 130px;
      height: 130px;
      background: linear-gradient(135deg, var(--bronze), var(--copper));
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .about-badge-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.8rem;
      font-weight: 600;
      color: var(--navy);
      line-height: 1;
    }
    .about-badge-text {
      font-size: 0.58rem;
      font-weight: 400;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--navy-mid);
      text-align: center;
    }

    .about-content { }

    .about-credentials {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 2rem;
      margin-bottom: 2.5rem;
    }
    .cred-pill {
      font-size: 0.62rem;
      font-weight: 300;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold-light);
      border: 1px solid rgba(184,115,51,0.35);
      padding: 0.45rem 1rem;
    }

    .about-divider {
      width: 60px;
      height: 1px;
      background: linear-gradient(90deg, var(--copper), transparent);
      margin: 2rem 0;
    }

    /* ── CONTACT ── */
    #contact {
      background: var(--navy-mid);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: start;
    }

    .contact-info { }

    .contact-item {
      display: flex;
      gap: 1.5rem;
      align-items: flex-start;
      margin-top: 2.5rem;
    }
    .contact-icon {
      width: 44px;
      height: 44px;
      flex-shrink: 0;
      background: rgba(184,115,51,0.12);
      border: 1px solid rgba(184,115,51,0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      margin-top: 0.1rem;
    }
    .contact-label {
      font-size: 0.62rem;
      font-weight: 300;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: var(--copper);
      margin-bottom: 0.4rem;
    }
    .contact-value {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.15rem;
      font-weight: 400;
      color: var(--white);
      line-height: 1.5;
    }
    .contact-value a { color: inherit; text-decoration: none; }
    .contact-value a:hover { color: var(--gold-light); }

    .contact-hours {
      margin-top: 0.3rem;
    }
    .hours-row {
      font-size: 0.72rem;
      font-weight: 200;
      letter-spacing: 0.1em;
      color: var(--grey-light);
      display: flex;
      gap: 1rem;
      margin-bottom: 0.3rem;
    }
    .hours-row span:first-child { width: 60px; }

    /* Contact Form */
    .contact-form-wrap { }
    .contact-form-wrap .section-title { font-size: 2rem; }

    .form-group { margin-top: 1.2rem; }
    .form-group label {
      display: block;
      font-size: 0.62rem;
      font-weight: 300;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: var(--copper);
      margin-bottom: 0.5rem;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(184,115,51,0.25);
      color: var(--white);
      font-family: 'Josefin Sans', sans-serif;
      font-size: 0.8rem;
      font-weight: 200;
      letter-spacing: 0.1em;
      padding: 0.85rem 1rem;
      outline: none;
      transition: border-color 0.3s;
      -webkit-appearance: none;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: var(--copper);
    }
    .form-group textarea { resize: vertical; min-height: 110px; }
    .form-group select option { background: var(--navy-mid); }

    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

    .form-submit {
      margin-top: 2rem;
      width: 100%;
      background: linear-gradient(135deg, var(--copper), var(--bronze));
      color: var(--navy);
      font-family: 'Josefin Sans', sans-serif;
      font-size: 0.72rem;
      font-weight: 400;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      padding: 1.1rem;
      border: none;
      cursor: pointer;
      transition: opacity 0.3s, transform 0.2s;
    }
    .form-submit:hover { opacity: 0.88; transform: translateY(-2px); }

    /* ── FOOTER ── */
    footer {
      background: var(--grey-dark);
      padding: 2.5rem 4rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
      border-top: 1px solid rgba(184,115,51,0.2);
    }
    .footer-brand {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.1rem;
      font-weight: 300;
      color: var(--gold-light);
      letter-spacing: 0.08em;
    }
    .footer-note {
      font-size: 0.65rem;
      font-weight: 200;
      letter-spacing: 0.15em;
      color: var(--grey-mid);
      text-align: center;
    }
    .footer-bar {
      font-size: 0.65rem;
      font-weight: 300;
      letter-spacing: 0.15em;
      color: var(--grey-mid);
    }
    .footer-bar span { color: var(--copper); }

    /* ── LADY JUSTICE PANEL ── */
    .hero-justice-wrap {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      padding-left: 1rem;
      transform: translateX(-8%);
      animation: fadeUp 1s 0.55s ease both;
    }

    .hero-justice-glow {
      position: absolute;
      bottom: 10%;
      left: 50%;
      transform: translateX(-50%);
      width: 70%;
      height: 55%;
      background: radial-gradient(ellipse at center, rgba(184,115,51,0.18) 0%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }

    .justice-img {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 480px;
      height: auto;
      object-fit: contain;
      object-position: bottom center;
      /* tint the white background away and blend into navy */
      mix-blend-mode: luminosity;
      filter:
        drop-shadow(0 10px 40px rgba(0,0,0,0.7))
        drop-shadow(0 0 80px rgba(184,115,51,0.2))
        sepia(0.25)
        brightness(0.88)
        contrast(1.08);
      transition: filter 0.4s;
    }
    .hero-justice-wrap:hover .justice-img {
      filter:
        drop-shadow(0 10px 40px rgba(0,0,0,0.7))
        drop-shadow(0 0 80px rgba(184,115,51,0.35))
        sepia(0.3)
        brightness(0.92)
        contrast(1.08);
    }

    .justice-caption {
      font-size: 0.6rem;
      font-weight: 200;
      letter-spacing: 0.45em;
      text-transform: uppercase;
      color: rgba(184, 115, 51, 0.5);
      margin-top: 0.5rem;
      text-align: center;
      position: relative;
      z-index: 1;
    }

    @media (max-width: 900px) {
      .hero-justice-wrap { display: none; }
    }

    /* ── ANIMATIONS ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .hero-text > * {
      animation: fadeUp 0.8s ease both;
    }
    .hero-eyebrow  { animation-delay: 0.1s; }
    .hero-title    { animation-delay: 0.25s; }
    .hero-name     { animation-delay: 0.4s; }
    .hero-sub      { animation-delay: 0.55s; }
    .hero-actions  { animation-delay: 0.7s; }

    /* portal mobile button — hidden on desktop */
    .portal-mobile-btn { display: none; }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      nav { padding: 1rem 2rem; }
      .nav-links { display: none; }
      /* hide portal button from nav on mobile */
      nav a[href*="portal"],
      .nav-portal { display: none !important; }
      /* show portal button in hero on mobile */
      .portal-mobile-btn {
        display: inline-block;
        font-family: 'Josefin Sans', sans-serif;
        font-size: 0.72rem;
        font-weight: 400;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        color: var(--gold-light);
        border: 1px solid rgba(184,115,51,0.45);
        padding: 0.85rem 2.4rem;
        text-decoration: none;
        text-align: center;
        transition: background 0.3s, color 0.3s;
        margin-bottom: 0.75rem;
        width: 100%;
      }
      .portal-mobile-btn:hover { background: rgba(184,115,51,0.12); color: var(--white); }
      .hero-actions { flex-direction: column; align-items: stretch; }
      .btn-primary { text-align: center; }
      #hero { grid-template-columns: 1fr; padding: 7rem 2rem 3rem; }
      #hero::before { display: none; }
      section { padding: 4rem 2rem; }
      #about { grid-template-columns: 1fr; gap: 3rem; }
      #contact { grid-template-columns: 1fr; gap: 3rem; }
      .stats-bar { padding: 1.5rem 2rem; }
      .stat-divider { display: none; }
      footer { padding: 2rem; flex-direction: column; text-align: center; }
      .form-row { grid-template-columns: 1fr; }
    }