#063 style light mobile: native-first Museum & Cultural Institution

Guggenheim Rotunda Museum

Plaster-white modernist museum interface with Wright terracotta accents, spiral rotunda motifs, and an interactive exhibition calendar.

Inspired by Solomon R. Guggenheim Museum ↗

Download .html
Fullscreen ↗

WHY THIS AESTHETIC IS UNIQUE

Translates Frank Lloyd Wright's geometric rotunda and museum wall-label typography into an unmistakably institutional cultural guide with high scannability.

BEST FOR

Art museums and cultural foundationsBiennale and festival schedulesPermanent collection digital archivesArchitectural landmark visitor guides

TAGS

COLOR PALETTE (CLICK TO COPY HEX)

TYPOGRAPHY

Display
Space Grotesk
Body
DM Sans
Mono
IBM Plex Mono
Scale
Geometric modernist display headings inspired by museum wayfinding, paired with tabular exhibition dates and clear gallery-level badges.

Google Fonts Stylesheet ↗

ARCHITECTURE & MOBILE NOTES

LAYOUT

Structured museum program grid with a prominent 'Now On View' banner, rotunda ramp level indicator, and filterable exhibitions/events timetable.

INTERACTION

Interactive exhibition status tabs (On View, Upcoming, Collection), clickable audio-guide stop player, and timed-ticket slot selector.

MOBILE

Visitor-first mobile layout at 390px with quick Today's Hours strip, large >=44px exhibition filter tabs, and thumb-friendly audio-guide drawer.

AI AGENT GUARDRAILS

DO

  • Lead with clear visitor utility: hours, exhibition dates, and gallery level numbers
  • Use Cherokee Terracotta purposefully for live exhibition markers and primary CTAs
  • Echo circular/spiral architectural geometry in subtle SVG wayfinding motifs

DON'T

  • Do not bury exhibition dates or museum hours beneath decorative hero animations
  • Do not clutter artwork frames with heavy borders or shadows
STANDALONE SOURCE · demos/guggenheim-rotunda-museum.html (27.3 KB)
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Solomon R. Guggenheim Museum — Exhibitions &amp; Rotunda Guide</title>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=IBM+Plex+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
  <style>
    :root {
      --canvas: #F7F5F0;
      --surface: #FFFFFF;
      --ink: #111111;
      --accent: #C94E28;
      --muted: #66635E;
      --line: #DCD7CE;
      --font-display: 'Space Grotesk', -apple-system, sans-serif;
      --font-body: 'DM Sans', -apple-system, sans-serif;
      --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
    }

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

    html, body {
      margin: 0;
      padding: 0;
      background: var(--canvas);
      color: var(--ink);
      font-family: var(--font-body);
      font-size: 15px;
      line-height: 1.55;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    a { color: inherit; text-decoration: none; }
    button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

    /* Visitor Utility Strip */
    .utility-strip {
      background: var(--ink);
      color: var(--canvas);
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.06em;
      padding: 10px clamp(16px, 4vw, 44px);
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 8px 20px;
    }

    .live-dot {
      display: inline-block;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--accent);
      margin-right: 8px;
      vertical-align: middle;
    }

    /* Main Museum Header */
    .museum-header {
      background: var(--surface);
      border-bottom: 1px solid var(--line);
      position: sticky;
      top: 0;
      z-index: 40;
    }

    .header-inner {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 clamp(16px, 4vw, 44px);
      height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .logo {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 20px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .nav-desk {
      display: none;
      align-items: center;
      gap: 28px;
      font-weight: 500;
      font-size: 14px;
    }

    .nav-desk a:hover { color: var(--accent); }

    @media (min-width: 820px) {
      .nav-desk { display: flex; }
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .cta-tickets {
      min-height: 44px;
      padding: 0 18px;
      background: var(--accent);
      color: #FFFFFF;
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 13px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      display: inline-flex;
      align-items: center;
    }

    .mobile-menu-btn {
      min-width: 44px;
      min-height: 44px;
      border: 1px solid var(--line);
      padding: 0 12px;
      font-family: var(--font-mono);
      font-size: 11px;
      text-transform: uppercase;
    }

    @media (min-width: 820px) {
      .mobile-menu-btn { display: none; }
    }

    .mobile-nav {
      display: none;
      background: var(--surface);
      border-bottom: 1px solid var(--line);
      padding: 12px clamp(16px, 4vw, 44px) 20px;
    }

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

    .mobile-nav a {
      display: flex;
      align-items: center;
      min-height: 46px;
      border-bottom: 1px solid var(--line);
      font-weight: 500;
    }

    /* Layout Container */
    .wrap {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 clamp(16px, 4vw, 44px);
    }

    /* Rotunda Hero */
    .rotunda-hero {
      padding: clamp(32px, 5vw, 68px) 0;
      display: grid;
      grid-template-columns: 1fr;
      gap: 32px;
      border-bottom: 1px solid var(--line);
    }

    @media (min-width: 960px) {
      .rotunda-hero {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: center;
        gap: 48px;
      }
    }

    .badge-now {
      display: inline-block;
      background: var(--accent);
      color: #FFFFFF;
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 5px 10px;
      margin-bottom: 16px;
    }

    h1 {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: clamp(34px, 5vw, 60px);
      line-height: 1.05;
      letter-spacing: -0.025em;
      margin: 0 0 18px;
    }

    .hero-lead {
      font-size: 16px;
      color: var(--muted);
      max-width: 52ch;
      margin: 0 0 24px;
    }

    .rotunda-card {
      background: var(--surface);
      border: 1px solid var(--line);
      padding: 24px;
    }

    .rotunda-card-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
      font-family: var(--font-mono);
      font-size: 11px;
      text-transform: uppercase;
      color: var(--muted);
    }

    .rotunda-svg {
      width: 100%;
      max-height: 280px;
      display: block;
    }

    .ramp-selector {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      margin-top: 16px;
    }

    .ramp-btn {
      min-height: 44px;
      border: 1px solid var(--line);
      font-family: var(--font-mono);
      font-size: 11px;
      text-transform: uppercase;
      color: var(--muted);
      transition: all 0.2s;
    }

    .ramp-btn.active {
      background: var(--ink);
      color: var(--surface);
      border-color: var(--ink);
    }

    .ramp-info {
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1px solid var(--line);
      font-size: 13px;
    }

    .ramp-info strong {
      display: block;
      font-family: var(--font-display);
      font-size: 16px;
      margin-bottom: 2px;
    }

    /* Exhibitions Program */
    .section {
      padding: clamp(36px, 5vw, 68px) 0;
      border-bottom: 1px solid var(--line);
    }

    .section-top {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: flex-end;
      gap: 16px;
      margin-bottom: 28px;
    }

    h2 {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: clamp(26px, 3.6vw, 40px);
      letter-spacing: -0.02em;
      margin: 0;
    }

    .tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .tab-btn {
      min-height: 44px;
      padding: 0 18px;
      border: 1px solid var(--line);
      background: var(--surface);
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 500;
      color: var(--muted);
    }

    .tab-btn.active {
      background: var(--accent);
      border-color: var(--accent);
      color: #FFFFFF;
    }

    .ex-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
    }

    @media (min-width: 768px) {
      .ex-grid { grid-template-columns: repeat(3, 1fr); }
    }

    .ex-card {
      background: var(--surface);
      border: 1px solid var(--line);
      display: flex;
      flex-direction: column;
    }

    .ex-plate {
      aspect-ratio: 16 / 10;
      border-bottom: 1px solid var(--line);
      overflow: hidden;
    }

    .ex-plate svg { width: 100%; height: 100%; display: block; }

    .ex-content {
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      flex: 1;
    }

    .ex-level {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .ex-title {
      font-family: var(--font-display);
      font-size: 21px;
      font-weight: 600;
      margin: 0;
      line-height: 1.2;
    }

    .ex-dates {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--muted);
    }

    .ex-desc {
      font-size: 14px;
      color: var(--muted);
      margin: 4px 0 0;
    }

    /* Interactive Audio Guide & Timed Entry */
    .visit-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
    }

    @media (min-width: 860px) {
      .visit-grid { grid-template-columns: 1fr 1fr; }
    }

    .panel {
      background: var(--surface);
      border: 1px solid var(--line);
      padding: clamp(20px, 3vw, 32px);
    }

    .panel-kicker {
      font-family: var(--font-mono);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--accent);
      margin-bottom: 8px;
    }

    .panel h3 {
      font-family: var(--font-display);
      font-size: 24px;
      margin: 0 0 12px;
    }

    .audio-controls {
      display: flex;
      align-items: center;
      gap: 14px;
      margin: 18px 0;
    }

    .play-btn {
      min-width: 48px;
      min-height: 48px;
      background: var(--ink);
      color: #FFFFFF;
      font-family: var(--font-mono);
      font-size: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .progress-wrap {
      flex: 1;
    }

    .progress-bar {
      height: 6px;
      background: var(--canvas);
      border: 1px solid var(--line);
      overflow: hidden;
      margin-bottom: 6px;
    }

    .progress-fill {
      height: 100%;
      width: 24%;
      background: var(--accent);
      transition: width 0.25s linear;
    }

    .audio-meta {
      display: flex;
      justify-content: space-between;
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--muted);
    }

    .stop-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 14px;
    }

    .stop-pill {
      min-height: 44px;
      padding: 0 14px;
      border: 1px solid var(--line);
      font-family: var(--font-mono);
      font-size: 11px;
    }

    .stop-pill.active {
      border-color: var(--accent);
      color: var(--accent);
      font-weight: 500;
    }

    .slot-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin: 16px 0 20px;
    }

    @media (min-width: 520px) {
      .slot-grid { grid-template-columns: repeat(3, 1fr); }
    }

    .slot-btn {
      min-height: 46px;
      border: 1px solid var(--line);
      font-family: var(--font-mono);
      font-size: 12px;
      transition: all 0.2s;
    }

    .slot-btn.active {
      background: var(--accent);
      border-color: var(--accent);
      color: #FFFFFF;
    }

    .ticket-status {
      padding: 12px 14px;
      background: var(--canvas);
      border-left: 3px solid var(--accent);
      font-size: 13px;
      color: var(--ink);
    }

    footer {
      padding: 32px 0 48px;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 16px;
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--muted);
    }
  </style>
</head>
<body>
  <div class="utility-strip">
    <div><span class="live-dot"></span>OPEN TODAY · 10:30 AM – 5:30 PM · 1071 FIFTH AVENUE, NEW YORK</div>
    <div>PAY-WHAT-YOU-WISH SATURDAYS 5–7 PM</div>
  </div>

  <header class="museum-header">
    <div class="header-inner">
      <a href="#" class="logo">
        <svg width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true">
          <circle cx="12" cy="12" r="10.5" stroke="#111111" stroke-width="1.5"/>
          <path d="M5 10.5C7 8 17 8 19 10.5M6.5 14.5C8.5 12.5 15.5 12.5 17.5 14.5" stroke="#C94E28" stroke-width="1.6"/>
        </svg>
        GUGGENHEIM
      </a>
      <nav class="nav-desk" aria-label="Museum Navigation">
        <a href="#exhibitions">Exhibitions</a>
        <a href="#audio">Audio Guide</a>
        <a href="#tickets">Plan Your Visit</a>
      </nav>
      <div class="header-actions">
        <a href="#tickets" class="cta-tickets">Tickets</a>
        <button class="mobile-menu-btn" id="menuBtn" aria-expanded="false" aria-controls="mobileNav">Menu</button>
      </div>
    </div>
    <nav class="mobile-nav" id="mobileNav" aria-label="Mobile Navigation">
      <a href="#exhibitions">Exhibitions &amp; Calendar</a>
      <a href="#audio">Rotunda Audio Guide</a>
      <a href="#tickets">Timed-Entry Tickets</a>
    </nav>
  </header>

  <main class="wrap">
    <section class="rotunda-hero">
      <div>
        <span class="badge-now">Now On View · Rotunda Levels 1–6</span>
        <h1>Spiral of Light: Modernism in Motion</h1>
        <p class="hero-lead">
          Ascending Frank Lloyd Wright's quarter-mile continuous ramp, this landmark exhibition pairs kinetic sculpture, postwar geometric abstraction, and archival architectural models under the oculus skylight.
        </p>
        <div class="ex-dates">THROUGH OCTOBER 18 · FRANK LLOYD WRIGHT BUILDING</div>
      </div>

      <div class="rotunda-card">
        <div class="rotunda-card-head">
          <span>Rotunda Wayfinding</span>
          <span id="rampLabel">LEVEL 01 · FLOOR</span>
        </div>
        <svg class="rotunda-svg" viewBox="0 0 420 240" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Spiral rotunda architectural diagram">
          <!-- Concentric Oculus & Ramp Rings -->
          <ellipse cx="210" cy="40" rx="146" ry="26" stroke="#DCD7CE" stroke-width="1.5" id="ring-6"/>
          <ellipse cx="210" cy="76" rx="134" ry="24" stroke="#DCD7CE" stroke-width="1.5" id="ring-5"/>
          <ellipse cx="210" cy="112" rx="122" ry="22" stroke="#DCD7CE" stroke-width="1.5" id="ring-4"/>
          <ellipse cx="210" cy="148" rx="110" ry="20" stroke="#DCD7CE" stroke-width="1.5" id="ring-3"/>
          <ellipse cx="210" cy="184" rx="98" ry="18" stroke="#DCD7CE" stroke-width="1.5" id="ring-2"/>
          <ellipse cx="210" cy="216" rx="86" ry="16" stroke="#C94E28" stroke-width="2.5" id="ring-1"/>
          <line x1="64" y1="40" x2="124" y2="216" stroke="#111111" stroke-width="1"/>
          <line x1="356" y1="40" x2="296" y2="216" stroke="#111111" stroke-width="1"/>
          <text x="166" y="44" fill="#66635E" font-family="IBM Plex Mono, monospace" font-size="10">OCULUS SKYLIGHT</text>
        </svg>
        <div class="ramp-selector" role="group" aria-label="Select Rotunda Level">
          <button class="ramp-btn active" data-level="1">Ramp 1</button>
          <button class="ramp-btn" data-level="3">Ramp 3</button>
          <button class="ramp-btn" data-level="6">Ramp 6</button>
        </div>
        <div class="ramp-info" id="rampInfo">
          <strong>Rotunda Floor &amp; Bay 1</strong>
          <span>Monumental kinetic installations by Alexander Calder and Moholy-Nagy.</span>
        </div>
      </div>
    </section>

    <section class="section" id="exhibitions">
      <div class="section-top">
        <h2>Exhibitions &amp; Collection</h2>
        <div class="tabs" role="tablist" aria-label="Exhibition categories">
          <button class="tab-btn active" data-tab="onview" role="tab" aria-selected="true">On View</button>
          <button class="tab-btn" data-tab="upcoming" role="tab" aria-selected="false">Upcoming</button>
          <button class="tab-btn" data-tab="collection" role="tab" aria-selected="false">Collection</button>
        </div>
      </div>
      <div class="ex-grid" id="exGrid"></div>
    </section>

    <section class="section">
      <div class="visit-grid">
        <div class="panel" id="audio">
          <div class="panel-kicker">Digital Audio Guide</div>
          <h3>Listen Along the Ramp</h3>
          <p style="color:var(--muted); margin:0;">Select a gallery stop to preview curator commentary on Frank Lloyd Wright's geometry and featured works.</p>
          <div class="audio-controls">
            <button class="play-btn" id="playBtn" aria-label="Play audio stop">PLAY</button>
            <div class="progress-wrap">
              <div class="progress-bar"><div class="progress-fill" id="progressFill"></div></div>
              <div class="audio-meta">
                <span id="trackName">Stop 101 · The Oculus &amp; Spiral</span>
                <span id="trackTime">00:42 / 02:55</span>
              </div>
            </div>
          </div>
          <div class="stop-pills">
            <button class="stop-pill active" data-stop="101">101 · Oculus</button>
            <button class="stop-pill" data-stop="204">204 · Kandinsky</button>
            <button class="stop-pill" data-stop="312">312 · Calder Mobile</button>
          </div>
        </div>

        <div class="panel" id="tickets">
          <div class="panel-kicker">Timed Admission</div>
          <h3>Reserve Today's Entry</h3>
          <p style="color:var(--muted); margin:0;">General admission ($30) includes all Rotunda exhibitions, Thannhauser Collection, and digital audio guide.</p>
          <div class="slot-grid" role="group" aria-label="Select entry time">
            <button class="slot-btn" data-slot="11:00 AM">11:00 AM</button>
            <button class="slot-btn active" data-slot="12:30 PM">12:30 PM</button>
            <button class="slot-btn" data-slot="2:00 PM">2:00 PM</button>
            <button class="slot-btn" data-slot="3:15 PM">3:15 PM</button>
            <button class="slot-btn" data-slot="4:00 PM">4:00 PM</button>
            <button class="slot-btn" data-slot="4:30 PM">4:30 PM</button>
          </div>
          <div class="ticket-status" id="ticketStatus">
            Selected entry: <strong>Today at 12:30 PM</strong> — High availability at Fifth Avenue entrance.
          </div>
        </div>
      </div>
    </section>

    <footer>
      <span>SOLOMON R. GUGGENHEIM FOUNDATION · NEW YORK · BILBAO · VENICE</span>
      <span>1071 FIFTH AVENUE, NEW YORK, NY 10128</span>
    </footer>
  </main>

  <script>
    const exhibitions = {
      onview: [
        {
          level: "Rotunda Levels 1–6",
          title: "Spiral of Light: Modernism in Motion",
          dates: "Through October 18",
          desc: "Sixty-five kinetic works and architectural studies tracing movement and luminous space across the twentieth century.",
          art: `<svg viewBox="0 0 400 250" fill="none"><rect width="400" height="250" fill="#F7F5F0"/><circle cx="200" cy="125" r="78" stroke="#111111" stroke-width="1.5"/><circle cx="200" cy="125" r="52" stroke="#C94E28" stroke-width="2"/><circle cx="200" cy="125" r="24" fill="#111111"/></svg>`
        },
        {
          level: "Tower Gallery 4",
          title: "Hilma af Klint: Diagrams of the Unseen",
          dates: "Through September 6",
          desc: "Rarely exhibited botanical notebooks and large-format temple canvases examining spiritual geometry.",
          art: `<svg viewBox="0 0 400 250" fill="none"><rect width="400" height="250" fill="#EFECE4"/><path d="M200 35 A90 90 0 0 1 200 215 Z" fill="#C94E28"/><path d="M200 35 A90 90 0 0 0 200 215 Z" fill="#111111"/><circle cx="200" cy="125" r="32" fill="#F7F5F0"/></svg>`
        },
        {
          level: "Thannhauser Level 2",
          title: "Impressionist & Early Modernist Works",
          dates: "Ongoing",
          desc: "Intimate canvases by Cézanne, Degas, Manet, Picasso, and Van Gogh anchored in the museum's historic wing.",
          art: `<svg viewBox="0 0 400 250" fill="none"><rect width="400" height="250" fill="#F4F0E8"/><rect x="75" y="45" width="250" height="160" stroke="#111111" stroke-width="1.5"/><rect x="110" y="75" width="85" height="100" fill="#C94E28" opacity="0.85"/><rect x="210" y="75" width="80" height="100" fill="#111111" opacity="0.85"/></svg>`
        }
      ],
      upcoming: [
        {
          level: "Rotunda Levels 1–5",
          title: "Concrete & Sky: Brutalist Civic Forms",
          dates: "Opens November 14",
          desc: "Large-scale photographs, timber formwork studies, and sculptural reliefs celebrating global postwar civic concrete.",
          art: `<svg viewBox="0 0 400 250" fill="none"><rect width="400" height="250" fill="#ECEAE4"/><polygon points="70,210 140,60 260,60 330,210" fill="#111111"/><rect x="160" y="105" width="80" height="105" fill="#F7F5F0"/><line x1="0" y1="60" x2="400" y2="60" stroke="#C94E28" stroke-width="2"/></svg>`
        },
        {
          level: "Tower Gallery 7",
          title: "Soundings: Acoustic Architecture",
          dates: "Opens December 4",
          desc: "Site-specific multi-channel sound sculptures calibrated to the reverberation of Wright's concrete dome.",
          art: `<svg viewBox="0 0 400 250" fill="none"><rect width="400" height="250" fill="#F7F5F0"/><path d="M40 125 Q120 40 200 125 T360 125" stroke="#111111" stroke-width="2"/><path d="M40 125 Q120 210 200 125 T360 125" stroke="#C94E28" stroke-width="2"/></svg>`
        },
        {
          level: "Annex Level 3",
          title: "New Acquisitions in Ceramic Sculpture",
          dates: "Opens January 22",
          desc: "Contemporary stoneware and glazed architectural vessels entering the permanent collection.",
          art: `<svg viewBox="0 0 400 250" fill="none"><rect width="400" height="250" fill="#F2EFE8"/><ellipse cx="150" cy="145" rx="46" ry="58" fill="#C94E28"/><ellipse cx="255" cy="130" rx="52" ry="68" fill="#111111"/></svg>`
        }
      ],
      collection: [
        {
          level: "Permanent Archive",
          title: "Vasily Kandinsky — Composition 8 (1923)",
          dates: "Solomon R. Guggenheim Founding Collection",
          desc: "Over 150 works by Kandinsky form the core of the museum's non-objective painting archive.",
          art: `<svg viewBox="0 0 400 250" fill="none"><rect width="400" height="250" fill="#F7F5F0"/><circle cx="135" cy="95" r="34" fill="#111111"/><circle cx="135" cy="95" r="20" fill="#C94E28"/><polygon points="210,195 280,65 330,195" stroke="#111111" stroke-width="2"/><line x1="70" y1="190" x2="340" y2="90" stroke="#C94E28" stroke-width="2.5"/></svg>`
        },
        {
          level: "Permanent Archive",
          title: "Constantin Brancusi — Muse (1912)",
          dates: "Sculpture Holdings",
          desc: "Pared-down marble and bronze silhouettes exemplifying distilled modernist form.",
          art: `<svg viewBox="0 0 400 250" fill="none"><rect width="400" height="250" fill="#F2EFE8"/><ellipse cx="200" cy="125" rx="48" ry="82" fill="#111111"/><ellipse cx="188" cy="115" rx="18" ry="34" fill="#F7F5F0" opacity="0.2"/></svg>`
        },
        {
          level: "Permanent Archive",
          title: "Louise Bourgeois — Architectural Studies",
          dates: "Works on Paper & Bronze",
          desc: "Poetic explorations of domestic space, memory, and bodily proportion.",
          art: `<svg viewBox="0 0 400 250" fill="none"><rect width="400" height="250" fill="#F7F5F0"/><rect x="115" y="50" width="170" height="150" stroke="#111111" stroke-width="1.5"/><line x1="115" y1="100" x2="285" y2="100" stroke="#111111"/><line x1="115" y1="150" x2="285" y2="150" stroke="#C94E28" stroke-width="2"/></svg>`
        }
      ]
    };

    function renderExhibitions(tab) {
      const grid = document.getElementById("exGrid");
      grid.innerHTML = exhibitions[tab].map(e => `
        <article class="ex-card">
          <div class="ex-plate">${e.art}</div>
          <div class="ex-content">
            <div class="ex-level">${e.level}</div>
            <h3 class="ex-title">${e.title}</h3>
            <div class="ex-dates">${e.dates}</div>
            <p class="ex-desc">${e.desc}</p>
          </div>
        </article>
      `).join("");
    }

    document.querySelectorAll(".tab-btn").forEach(btn => {
      btn.addEventListener("click", () => {
        document.querySelectorAll(".tab-btn").forEach(b => {
          b.classList.toggle("active", b === btn);
          b.setAttribute("aria-selected", b === btn ? "true" : "false");
        });
        renderExhibitions(btn.dataset.tab);
      });
    });

    // Rotunda Ramp Switcher
    const rampDetails = {
      1: ["LEVEL 01 · FLOOR", "Rotunda Floor & Bay 1", "Monumental kinetic installations by Alexander Calder and Moholy-Nagy."],
      3: ["LEVEL 03 · MID-RAMP", "Thannhauser & Mid-Spiral", "Geometric abstraction, Bauhaus light modulators, and architectural maquettes."],
      6: ["LEVEL 06 · OCULUS", "High Gallery Under the Skylight", "Contemporary commissions bathed in natural Fifth Avenue daylight."]
    };

    document.querySelectorAll(".ramp-btn").forEach(btn => {
      btn.addEventListener("click", () => {
        const lvl = Number(btn.dataset.level);
        document.querySelectorAll(".ramp-btn").forEach(b => b.classList.toggle("active", b === btn));
        [1, 2, 3, 4, 5, 6].forEach(n => {
          const el = document.getElementById(`ring-${n}`);
          el.setAttribute("stroke", n === lvl ? "#C94E28" : "#DCD7CE");
          el.setAttribute("stroke-width", n === lvl ? "2.8" : "1.5");
        });
        document.getElementById("rampLabel").textContent = rampDetails[lvl][0];
        document.getElementById("rampInfo").innerHTML = `<strong>${rampDetails[lvl][1]}</strong><span>${rampDetails[lvl][2]}</span>`;
      });
    });

    // Audio Guide Interactive Player
    const stops = {
      101: { title: "Stop 101 · The Oculus & Spiral", dur: "02:55" },
      204: { title: "Stop 204 · Kandinsky's Composition 8", dur: "03:20" },
      312: { title: "Stop 312 · Calder's Red Lily Pads", dur: "02:18" }
    };
    let playing = false;
    let pct = 24;
    let timer = null;
    const playBtn = document.getElementById("playBtn");
    const fill = document.getElementById("progressFill");
    const trackTime = document.getElementById("trackTime");

    function updateAudioUI(stopId) {
      document.getElementById("trackName").textContent = stops[stopId].title;
      trackTime.textContent = `00:${String(Math.floor(pct * 1.6)).padStart(2, "0")} / ${stops[stopId].dur}`;
      fill.style.width = pct + "%";
    }

    let currentStop = 101;
    playBtn.addEventListener("click", () => {
      playing = !playing;
      playBtn.textContent = playing ? "PAUSE" : "PLAY";
      if (playing) {
        timer = setInterval(() => {
          pct = pct >= 100 ? 0 : pct + 2;
          updateAudioUI(currentStop);
        }, 400);
      } else {
        clearInterval(timer);
      }
    });

    document.querySelectorAll(".stop-pill").forEach(pill => {
      pill.addEventListener("click", () => {
        document.querySelectorAll(".stop-pill").forEach(p => p.classList.remove("active"));
        pill.classList.add("active");
        currentStop = Number(pill.dataset.stop);
        pct = 12;
        updateAudioUI(currentStop);
      });
    });

    // Timed Entry Slot Selector
    document.querySelectorAll(".slot-btn").forEach(btn => {
      btn.addEventListener("click", () => {
        document.querySelectorAll(".slot-btn").forEach(b => b.classList.remove("active"));
        btn.classList.add("active");
        document.getElementById("ticketStatus").innerHTML = `Selected entry: <strong>Today at ${btn.dataset.slot}</strong> — Confirmed timed admission at Fifth Avenue entrance.`;
      });
    });

    // Mobile Menu
    const menuBtn = document.getElementById("menuBtn");
    const mobileNav = document.getElementById("mobileNav");
    menuBtn.addEventListener("click", () => {
      const open = mobileNav.classList.toggle("open");
      menuBtn.setAttribute("aria-expanded", open ? "true" : "false");
      menuBtn.textContent = open ? "Close" : "Menu";
    });

    renderExhibitions("onview");
  </script>
</body>
</html>