:root {
      --bg: #f7f8f7;
      --ink: #171918;
      --soft-ink: #4e514f;
      --muted: #777b78;
      --rule: #d9dcda;
      --paper: #fff;
      --width: 1320px;
      font-family: Arial, Helvetica, sans-serif;
      color: var(--ink);
      background: var(--bg);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); }
    a { color: inherit; }
    a:focus-visible, button:focus-visible { outline: 2px solid #526f65; outline-offset: 4px; }
    .site-header { position: relative; z-index: 5; background: rgba(247,248,247,.96); border-bottom: 1px solid var(--rule); }
    .header-inner { max-width: var(--width); min-height: 82px; padding: 0 42px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
    .wordmark { flex: 0 0 auto; text-decoration: none; font-size: 20px; letter-spacing: .12em; font-weight: 600; white-space: nowrap; }
    .main-nav { display: flex; align-items: center; gap: clamp(15px, 2.25vw, 33px); }
    .main-nav > a, .tools-toggle { padding: 8px 0; border: 0; background: none; color: #3e4240; text-decoration: none; font: 13px/1.2 Arial, Helvetica, sans-serif; cursor: pointer; white-space: nowrap; }
    .main-nav > a:hover, .tools-toggle:hover, .main-nav a[aria-current="page"] { color: #000; text-decoration: underline; text-underline-offset: 5px; }
    .tools-wrap { position: relative; }
    .tools-toggle::after { content: "⌄"; margin-left: 5px; font-size: 12px; color: var(--muted); }
    .tools-menu { display: none; position: absolute; top: 100%; left: -14px; min-width: 180px; padding: 8px 0; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 8px 20px rgba(0,0,0,.07); }
    .tools-wrap.open .tools-menu { display: block; }
    @media (hover: hover) and (pointer: fine) {
      .tools-wrap:hover .tools-menu, .tools-wrap:focus-within .tools-menu { display: block; }
    }
    .tools-menu a { display: block; padding: 9px 14px; font-size: 13px; text-decoration: none; }
    .tools-menu a:hover { background: #f0f2f0; }
    .social-toolbar { display: flex; align-items: center; gap: 13px; margin-left: 4px; padding-left: 17px; border-left: 1px solid var(--rule); }
    .social-toolbar a, .social-placeholder { display: inline-flex; width: 16px; height: 18px; align-items: center; justify-content: center; color: #565b58; }
    .social-toolbar a:hover { color: #000; }
    .social-toolbar svg { display: block; width: 16px; height: 16px; fill: currentColor; }
    .social-placeholder { color: #8a8e8b; }
    .mobile-toggle { display: none; border: 0; padding: 8px 0; color: var(--ink); background: none; font: 13px Arial, sans-serif; }

    main { min-height: calc(100vh - 83px); }
    .page { display: block; }
    .home-frame { max-width: var(--width); height: calc(100vh - 83px); min-height: 500px; max-height: 900px; padding: 22px 42px 36px; margin: auto; }
    .photo-placeholder { position: relative; width: 100%; height: 100%; overflow: hidden; background: #dadcd9; }
    .hero-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }

    .content { width: min(1060px, calc(100% - 84px)); margin: 0 auto; padding: 70px 0 100px; }
    .page-heading { padding-bottom: 18px; margin: 0 0 34px; border-bottom: 1px solid var(--rule); font-size: clamp(27px, 3vw, 38px); line-height: 1.15; font-weight: 500; letter-spacing: -.025em; }
    .lead { max-width: 850px; margin: 0 0 35px; color: var(--soft-ink); font-size: 18px; line-height: 1.7; }
    .bio-layout { display: block; }
    .body-copy { max-width: 760px; color: #343836; font-size: 16px; line-height: 1.8; }
    .body-copy p { margin: 0 0 18px; }
    .aside-title, .section-label { margin: 0 0 14px; color: var(--muted); font-size: 11px; line-height: 1.3; letter-spacing: .11em; text-transform: uppercase; font-weight: 500; }
    .simple-list { list-style: none; padding: 0; margin: 0; }
    .simple-list li { padding: 11px 0; border-bottom: 1px solid var(--rule); color: #303432; font-size: 14px; line-height: 1.5; }
    .simple-list a { text-decoration: none; }
    .simple-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
    .music-strip, .photo-strip { display: grid; grid-auto-columns: minmax(190px, 24%); grid-auto-flow: column; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 18px 8px 22px; margin: 0 -8px; }
    .music-card, .photo-card { min-width: 0; margin: 0; scroll-snap-align: start; }
    .music-card a, .photo-card a { display: block; color: inherit; text-decoration: none; }
    .music-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #e5e7e5; transition: transform 220ms ease; transform-origin: center; }
    .music-card a:hover img, .music-card a:focus-visible img, .photo-card a:hover img, .photo-card a:focus-visible img { position: relative; z-index: 1; transform: scale(1.045); }
    .music-card figcaption, .photo-card figcaption { padding-top: 9px; font-size: 13px; line-height: 1.4; }
    .music-artist, .photo-date { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
    .subsection { margin-top: 48px; }
    .subsection h3 { margin: 0 0 10px; font-size: 17px; font-weight: 500; }
    .studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; }
    .studio-grid .body-copy { margin: 0; }
    .gear-trigger { display: inline-block; margin-top: 2px; padding: 9px 12px; border: 1px solid #aeb3af; background: transparent; color: var(--ink); font: 13px Arial, sans-serif; cursor: pointer; }
    .gear-trigger:hover { background: #edf0ed; }
    .gear-dialog { width: min(760px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 40px); padding: 25px 28px 28px; border: 1px solid var(--rule); color: var(--ink); background: var(--bg); }
    .gear-dialog::backdrop { background: rgba(15, 18, 16, .56); }
    .gear-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 15px; margin-bottom: 18px; border-bottom: 1px solid var(--rule); }
    .gear-dialog h2 { margin: 0; font-size: 22px; font-weight: 500; }
    .gear-close { border: 0; padding: 4px; color: var(--soft-ink); background: transparent; font: 24px/1 Arial, sans-serif; cursor: pointer; }
    .gear-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
    .gear-group h3 { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
    .gear-group ul { margin: 0; padding: 0; list-style: none; color: var(--soft-ink); font-size: 13px; line-height: 1.55; }
    .gear-group li { margin: 0 0 5px; }
    .gear-footnote { margin: 22px 0 0; padding-top: 13px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 12px; line-height: 1.55; }
    .engineering-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 12px; margin-top: 20px; }
    .engineering-card { min-width: 0; margin: 0; }
    .engineering-card a { display: block; color: inherit; text-decoration: none; }
    .engineering-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #e5e7e5; transition: transform 220ms ease; transform-origin: center; }
    .engineering-card a:hover img, .engineering-card a:focus-visible img { position: relative; z-index: 1; transform: scale(1.045); }
    .engineering-card figcaption { padding-top: 6px; font-size: 11px; line-height: 1.35; }
    .engineering-role { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
    .media-tabs { display: flex; gap: 22px; margin: -6px 0 28px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
    .media-tabs a { color: var(--soft-ink); font-size: 13px; text-decoration: none; }
    .media-tabs a:hover { text-decoration: underline; text-underline-offset: 4px; }
    .media-heading-row { display: flex; align-items: baseline; gap: clamp(14px, 2vw, 24px); padding-bottom: 18px; margin: 0 0 34px; border-bottom: 1px solid var(--rule); }
    .media-heading-row .page-heading { flex: 0 0 auto; padding: 0; margin: 0; border: 0; }
    .media-heading-row .media-tabs { flex-wrap: wrap; gap: 16px; padding: 0; margin: 0; border: 0; }
    .media-heading-row .media-tabs a { font-size: 14px; }
    .media-section { margin: 34px 0 0; }
    .media-section h3 { margin: 0 0 12px; font-size: 16px; font-weight: 500; }
    .media-note { color: var(--muted); font-size: 13px; line-height: 1.6; }
    .photo-strip { grid-auto-columns: minmax(280px, 42%); }
    .photo-card img { display: block; width: 100%; aspect-ratio: 1.45; object-fit: cover; background: #e5e7e5; transition: transform 220ms ease; transform-origin: center; }
    .video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
    .video-card { min-width: 0; margin: 0; }
    .video-card iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #e5e7e5; }
    .video-card figcaption { padding-top: 9px; color: var(--soft-ink); font-size: 13px; line-height: 1.45; }
    .show-note { max-width: 650px; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--soft-ink); font-size: 14px; line-height: 1.7; }
    .shows-content { padding-top: 20px; padding-bottom: 20px; }
    .shows-content .page-heading { padding-bottom: 12px; margin-bottom: 18px; }
    .calendar-frame { display: block; width: 100%; height: min(500px, calc(100vh - 240px)); min-height: 360px; border: 0; }
    .post-row { display: grid; grid-template-columns: 145px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
    .post-date { color: var(--muted); font-size: 12px; }
    .post-title { font-size: 15px; font-weight: 500; }
    .post-preview { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.55; }
    .contact-email { display: inline-block; margin: 3px 0 28px; font-size: 19px; text-underline-offset: 4px; }
    .social-links { display: flex; gap: 19px; font-size: 13px; }
    .social-links a { color: var(--soft-ink); text-underline-offset: 4px; }
    .contact-form { max-width: 650px; margin: 8px 0 36px; }
    .contact-form label { display: block; margin: 0 0 7px; color: #4e514f; font-size: 13px; }
    .contact-form input, .contact-form textarea { width: 100%; margin: 0 0 19px; padding: 10px 11px; border: 1px solid #cfd3d0; border-radius: 0; color: var(--ink); background: rgba(255,255,255,.55); font: 15px/1.45 Arial, Helvetica, sans-serif; }
    .contact-form textarea { min-height: 145px; resize: vertical; }
    .contact-form button { padding: 9px 13px; border: 1px solid #aeb3af; border-radius: 0; background: transparent; color: var(--ink); font: 13px Arial, sans-serif; cursor: pointer; }
    .contact-form button:hover { background: #edf0ed; }
    .contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
    .form-status { min-height: 20px; margin: 11px 0 0; color: var(--muted); font-size: 12px; }
    .site-footer { display: none; max-width: var(--width); margin: auto; padding: 18px 42px 25px; color: var(--muted); font-size: 11px; }
    body.inner-page .site-footer { display: block; }
    .site-footer-inner { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--rule); padding-top: 15px; }

    @media (max-width: 1050px) {
      .header-inner { padding: 0 26px; }
      .main-nav { gap: 12px; }
      .main-nav > a, .tools-toggle { font-size: 12px; }
      .home-frame { padding-inline: 26px; }
    }
    @media (max-width: 820px) {
      .header-inner { min-height: 72px; }
      .mobile-toggle { display: block; cursor: pointer; }
      .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 12px 26px 22px; background: var(--bg); border-bottom: 1px solid var(--rule); align-items: flex-start; flex-direction: column; gap: 0; }
      .main-nav.open { display: flex; }
      .main-nav > a, .tools-toggle { padding: 11px 0; font-size: 14px; }
      .tools-menu { position: static; margin: 0 0 8px 12px; box-shadow: none; }
      .tools-wrap.open .tools-menu { display: block; }
      .social-toolbar { margin: 10px 0 0; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--rule); gap: 17px; }
      .home-frame { height: calc(100svh - 73px); min-height: 420px; padding: 14px 15px 20px; }
      .content { width: calc(100% - 42px); padding: 48px 0 70px; }
      .studio-grid { grid-template-columns: 1fr; gap: 34px; }
      .gear-groups { gap: 20px; }
      .engineering-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      .site-footer { padding-inline: 21px; }
    }
    @media (max-width: 520px) {
      .wordmark { font-size: 17px; }
      .post-row { grid-template-columns: 1fr; gap: 6px; }
      .media-tabs { gap: 17px; flex-wrap: wrap; }
      .media-heading-row { gap: 14px; }
      .media-heading-row .media-tabs { gap: 10px; }
      .music-strip { grid-auto-columns: 58%; gap: 12px; }
      .photo-strip { grid-auto-columns: 82%; gap: 10px; }
      .engineering-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
      .video-grid { grid-template-columns: 1fr; gap: 22px; }
      .gear-dialog { padding: 20px; }
      .gear-groups { grid-template-columns: 1fr; gap: 18px; }
      .site-footer-inner { flex-direction: column; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .music-card img, .photo-card img, .engineering-card img { transition: none; }
      .music-card a:hover img, .music-card a:focus-visible img, .photo-card a:hover img, .photo-card a:focus-visible img, .engineering-card a:hover img, .engineering-card a:focus-visible img { transform: none; }
    }
