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

    :root {
      --black: #000000;
      --white: #ffffff;
      --muted: #666666;
      --border: rgba(0,0,0,0.1);
      --hover-bg: #f5f5f5;
      --ease: cubic-bezier(0.4, 0, 0.2, 1);
      --font: 'Miranda Sans', Arial, sans-serif;
      --gold: #ffd11a;
      --gold-dark: #b98500;
      --brown: #5b2f00;
      --ink: #17120a;
      --paper: #fffaf0;
      --teal: #0aa68f;
      --rose: #e0196a;
    }

    body {
      font-family: var(--font);
      background: var(--paper);
      color: var(--ink);
      -webkit-font-smoothing: antialiased;
    }

    header {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .header-inner {
      width: 100%;
      padding: 0 4%;
      height: 68px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      flex-shrink: 0;
      margin-right: 3%;
    }

    .logo-mark {
      width: clamp(44px, 4vw, 52px);
      height: clamp(44px, 4vw, 52px);
      flex-shrink: 0;
      display: block;
    }

    .logo-name {
      font-size: clamp(14px, 1.2vw, 17px);
      font-weight: 600;
      color: var(--black);
      display: block;
    }

    .logo-sub {
      font-size: clamp(9px, 0.7vw, 10px);
      font-weight: 500;
      color: var(--muted);
      letter-spacing: 1.4px;
      text-transform: uppercase;
      margin-top: 3px;
      display: block;
    }

    nav {
      display: flex;
      align-items: stretch;
      height: 100%;
      flex: 1;
    }

    .nav-item {
      position: relative;
      display: flex;
      align-items: center;
    }

    .nav-link {
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 0 clamp(8px, 1.2vw, 16px);
      font-size: clamp(12px, 1vw, 13.5px);
      font-weight: 500;
      color: var(--muted) !important;
      text-decoration: none !important;
      cursor: pointer;
      height: 100%;
      border-bottom: 2px solid transparent;
      transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
      white-space: nowrap;
      user-select: none;
    }

    .nav-item:hover > .nav-link {
      color: var(--black) !important;
      border-bottom-color: var(--black);
    }

    .chevron {
      width: 13px;
      height: 13px;
      opacity: 0.4;
      transition: transform 0.2s var(--ease);
      flex-shrink: 0;
    }

    .nav-item:hover > .nav-link .chevron {
      transform: rotate(180deg);
      opacity: 0.7;
    }

    .dropdown {
      position: absolute;
      top: calc(100% + 1px);
      left: 0;
      background: var(--white);
      border: 1px solid var(--border);
      border-top: 2px solid var(--black);
      border-radius: 0 0 10px 10px;
      min-width: 200px;
      padding: 6px 0;
      box-shadow: 0 12px 32px rgba(0,0,0,0.1);
      z-index: 9999;
      opacity: 0;
      pointer-events: none;
      transform: translateY(-6px);
      transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    }

    .nav-item:last-child .dropdown,
    .nav-item:nth-last-child(2) .dropdown {
      left: auto;
      right: 0;
    }

    .nav-item::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      height: 12px;
    }

    .nav-item:hover .dropdown {
      opacity: 1;
      pointer-events: all;
      transform: translateY(0);
      z-index: 2;
    }

    .dropdown-link {
      display: block;
      padding: 10px 20px;
      font-size: 13.5px;
      color: #333 !important;
      text-decoration: none !important;
      transition: background 0.15s;
    }

    .dropdown-link:hover {
      background: var(--hover-bg);
      color: var(--black) !important;
    }

    .dropdown-divider {
      height: 1px;
      background: var(--border);
      margin: 4px 0;
    }

    .dropdown.languages {
      min-width: 240px;
      padding: 10px;
    }

    .dd-section-label {
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      color: var(--muted);
      padding: 2px 8px 8px;
    }

    .lang-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
    }

    .lang-chip {
      display: block;
      padding: 8px 10px;
      border-radius: 6px;
      font-size: 13px;
      color: #333 !important;
      text-decoration: none !important;
      transition: background 0.15s;
    }

    .lang-chip:hover {
      background: var(--hover-bg);
      color: var(--black) !important;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 36px;
      height: 36px;
      cursor: pointer;
      margin-left: auto;
      background: none;
      border: none;
      padding: 4px;
    }

    .hamburger span {
      display: block;
      height: 2px;
      background: var(--black);
      border-radius: 2px;
      transition: transform 0.25s var(--ease), opacity 0.2s;
    }

    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .mobile-menu {
      display: none;
      position: absolute;
      top: 68px;
      left: 0;
      width: 100%;
      background: #ffffff;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      overflow-y: auto;
      max-height: calc(100vh - 68px);
    }

    .mobile-menu.open { display: block; }

    .mobile-link,
    .mobile-group summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 6%;
      min-height: 44px;
      font-size: 15px;
      font-weight: 500;
      color: var(--black) !important;
      text-decoration: none !important;
      border-bottom: 1px solid var(--border);
      cursor: pointer;
      user-select: none;
      list-style: none;
    }

    .mobile-group summary::-webkit-details-marker { display: none; }

    .mobile-group summary svg {
      width: 14px;
      height: 14px;
      opacity: 0.4;
      transition: transform 0.2s var(--ease);
    }

    .mobile-group[open] summary svg { transform: rotate(180deg); opacity: 0.7; }

    .mobile-sub {
      background: #ffffff;
      border-bottom: 1px solid var(--border);
    }

    .mobile-sub a {
      display: block;
      padding: 11px 8%;
      min-height: 44px;
      font-size: 14px;
      color: #333 !important;
      text-decoration: none !important;
      border-bottom: 1px solid var(--border);
    }

    main {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      padding: clamp(26px, 4vw, 52px) 0 64px;
    }

    .intro {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 28px;
      align-items: end;
      margin-bottom: 28px;
    }

    .eyebrow {
      color: var(--gold-dark);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    h1 {
      font-size: clamp(38px, 7vw, 86px);
      line-height: 0.92;
      letter-spacing: 0;
      max-width: 850px;
    }

    .lead {
      max-width: 710px;
      margin-top: 18px;
      color: #3c321e;
      font-size: clamp(16px, 2vw, 20px);
      line-height: 1.55;
    }

    .meta-panel {
      min-width: 250px;
      padding: 18px 20px;
      border-left: 5px solid var(--gold);
      background: rgba(255,255,255,0.78);
      box-shadow: 0 14px 36px rgba(80, 52, 6, 0.08);
    }

    .meta-panel p {
      font-size: 13px;
      line-height: 1.45;
      color: #372c18;
    }

    .meta-panel strong {
      display: block;
      margin-top: 10px;
      color: var(--black);
      font-size: 12px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin: 26px 0;
      padding: 14px 0;
      border-top: 1px solid rgba(91,47,0,0.16);
      border-bottom: 1px solid rgba(91,47,0,0.16);
    }

    .count {
      font-size: 14px;
      font-weight: 700;
      color: var(--brown);
    }

    .search {
      width: min(420px, 100%);
      border: 1px solid rgba(91,47,0,0.22);
      background: var(--white);
      border-radius: 999px;
      padding: 12px 18px;
      font: inherit;
      color: var(--ink);
      outline: none;
    }

    .search:focus {
      border-color: var(--gold-dark);
      box-shadow: 0 0 0 4px rgba(255, 209, 26, 0.25);
    }

    .gallery {
      display: grid;
      gap: clamp(18px, 2.8vw, 34px);
    }

    .art-card {
      display: grid;
      grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
      gap: clamp(18px, 3vw, 42px);
      align-items: center;
      min-height: 310px;
      padding: clamp(18px, 3vw, 34px);
      border-radius: clamp(35px, 5vw, 70px);
      background: rgb(226, 179, 58);
      box-shadow: 0 18px 44px rgba(91,47,0,0.16);
      border: 1px solid rgba(91,47,0,0.09);
    }

    .art-card:nth-child(even) {
      grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
      background: rgb(226, 179, 58);
    }

    .art-card:nth-child(even) .art-media { order: 2; }

    .art-media {
      aspect-ratio: 1 / 1;
      width: 100%;
      max-height: 285px;
      border-radius: 50%;
      overflow: hidden;
      background: #fff8cf;
      box-shadow: 0 10px 26px rgba(54, 28, 0, 0.22);
      border: 8px solid rgba(255,255,255,0.58);
    }

    .art-media img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .art-image-button {
      display: block;
      width: 100%;
      height: 100%;
      padding: 0;
      border: 0;
      background: transparent;
      cursor: zoom-in;
    }

    .art-image-button img {
      transition: transform 0.25s var(--ease);
    }

    .art-image-button:hover img {
      transform: scale(1.035);
    }

    .art-lightbox {
      width: min(94vw, 1100px);
      max-width: none;
      height: min(92vh, 900px);
      max-height: none;
      margin: auto;
      padding: 0;
      border: 0;
      border-radius: 20px;
      background: transparent;
      overflow: visible;
    }

    .art-lightbox::backdrop {
      background: rgba(12, 8, 2, 0.9);
      backdrop-filter: blur(4px);
    }

    .lightbox-content {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
      padding: 52px 22px 18px;
      border-radius: 20px;
      background: rgba(20, 15, 7, 0.96);
    }

    .lightbox-content img {
      display: block;
      max-width: 100%;
      max-height: calc(100% - 48px);
      object-fit: contain;
      border-radius: 6px;
    }

    .lightbox-title {
      color: var(--white);
      font-size: 16px;
      font-weight: 700;
      text-align: center;
    }

    .lightbox-close {
      position: absolute;
      top: 10px;
      right: 12px;
      width: 42px;
      height: 42px;
      border: 0;
      border-radius: 50%;
      background: var(--white);
      color: var(--black);
      font: 32px/1 Arial, sans-serif;
      cursor: pointer;
      transition: transform 0.18s var(--ease), background 0.18s var(--ease);
    }

    .lightbox-close:hover {
      transform: scale(1.06);
      background: var(--gold);
    }

    .art-copy {
      min-width: 0;
      display: grid;
      gap: 12px;
    }

    .art-title {
      font-size: clamp(22px, 3vw, 34px);
      line-height: 1.02;
      letter-spacing: 0;
      color: var(--black);
    }

    .class-chip {
      width: fit-content;
      padding: 7px 12px;
      border-radius: 999px;
      background: rgba(255,255,255,0.62);
      color: #3b2500;
      font-size: 13px;
      font-weight: 800;
    }

    .description {
      max-width: 760px;
      color: #2f260f;
      font-size: clamp(14px, 1.5vw, 17px);
      line-height: 1.54;
    }

    .audio-button {
      width: fit-content;
      min-height: 46px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      border: 0;
      border-radius: 999px;
      padding: 11px 18px 11px 14px;
      background: var(--ink);
      color: var(--white);
      font: inherit;
      font-weight: 800;
      cursor: pointer;
      transition: transform 0.18s var(--ease), background 0.18s var(--ease);
    }

    .audio-button:hover {
      transform: translateY(-1px);
      background: #000;
    }

    .audio-button svg {
      width: 21px;
      height: 21px;
      flex: 0 0 auto;
    }

    .audio-button[data-empty="true"] {
      background: rgba(23,18,10,0.76);
    }

    .empty-state {
      display: none;
      padding: 32px;
      text-align: center;
      color: var(--brown);
      font-weight: 700;
    }

    .empty-state.show { display: block; }

    @media (max-width: 1024px) {
      header .header-inner nav { display: none !important; }
      header .hamburger { display: flex !important; }
      header { position: relative; }
      .header-inner { height: 64px; }
      .mobile-menu {
        top: 64px;
        max-height: calc(100vh - 64px);
      }

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

      .meta-panel {
        min-width: 0;
      }
    }

    @media (max-width: 740px) {
      main {
        width: min(100% - 22px, 1180px);
        padding-top: 28px;
      }

      .toolbar {
        align-items: stretch;
        flex-direction: column;
      }

      .art-card,
      .art-card:nth-child(even) {
        grid-template-columns: 1fr;
        border-radius: 34px;
        min-height: 0;
      }

      .art-card:nth-child(even) .art-media { order: 0; }

      .art-media {
        width: min(100%, 330px);
        justify-self: center;
        border-radius: 28px;
        max-height: none;
      }
    }

    @media (max-width: 480px) {
      .header-inner { padding: 0 5%; }
      .logo { gap: 10px; margin-right: 0; }
      .logo-mark {
        width: 36px;
        height: 36px;
      }
      .logo-sub { display: none; }
      .logo-name { font-size: 13px; }
      .hamburger {
        width: 40px;
        height: 40px;
      }

      h1 {
        font-size: 42px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
      }
    }

    .nav-link:focus-visible,
    .dropdown-link:focus-visible,
    .mobile-link:focus-visible,
    .mobile-sub a:focus-visible,
    .mobile-group summary:focus-visible,
    .hamburger:focus-visible,
    .audio-button:focus-visible,
    .art-image-button:focus-visible,
    .lightbox-close:focus-visible,
    .search:focus-visible {
      outline: 2px solid var(--black);
      outline-offset: 2px;
    }
