/* Compact inner-page navigation and radio, October 2026.
   The radio is a child of the header rather than a floating overlay. */
body:not(.home-page) .site-header {
 position:fixed;top:0;left:0;right:0;width:100%;
 min-height:50px;height:auto;padding:9px var(--page-pad);
 display:flex;flex-direction:row;align-items:center;justify-content:space-between;
 gap:clamp(12px,2vw,32px);background:#fff;color:#111;z-index:90;
}
body:not(.home-page) .site-header .wordmark {flex:0 0 auto;white-space:nowrap}
body:not(.home-page) .site-header nav {
 margin-left:auto;display:flex;flex-flow:row nowrap;align-items:center;
 justify-content:flex-end;gap:clamp(12px,1.65vw,28px);white-space:nowrap;
}
body:not(.home-page) .radio-dock {
 position:static;inset:auto;flex:0 0 auto;width:auto;min-width:0;max-width:none;
 display:flex;flex-direction:row;align-items:center;gap:9px;
 padding:0;margin:0;background:transparent;border:0;box-shadow:none;color:#111;
 font:12px/1 "Times New Roman",Times,serif;text-shadow:none;
}
body:not(.home-page) .radio-dock-meta {
 display:block;margin:0;font-size:11px;letter-spacing:.02em;white-space:nowrap;
}
body:not(.home-page) .radio-dock-row {display:flex;align-items:center;gap:9px}
body:not(.home-page) .radio-dock-track {font-size:11px;white-space:nowrap}
body:not(.home-page) .radio-dock-controls {display:flex;align-items:center;gap:0}
body:not(.home-page) .radio-dock-button {
 display:grid;place-items:center;min-height:28px;min-width:28px;
 padding:4px 5px;font:11px "Times New Roman",Times,serif;color:#111;background:transparent;border:0;
}
body:not(.home-page) .radio-dock-play {min-width:36px}
body:not(.home-page) .radio-dock-bottom,
body:not(.home-page) .radio-dock-status {display:none}
body:not(.home-page) .radio-control-icon {display:block;width:14px;height:14px;stroke:currentColor;fill:none}
.atlas-page .atlas-main {padding-top:clamp(5.6rem,8vh,7.4rem)}
.atlas-page .atlas-heading {margin-bottom:1.15rem}
.atlas-page .atlas-heading p {margin-bottom:.25rem}
@media (min-width:851px) {
 body:not(.home-page).contact-page .site-header {padding-right:var(--page-pad)}
}
@media (max-width:850px) {
 body:not(.home-page) .site-header {
  display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;
  gap:0 10px!important;align-items:center!important;
  padding:8px 14px 6px!important;min-height:0!important;
 }
 body:not(.home-page) .site-header .wordmark {grid-column:1;grid-row:1}
 body:not(.home-page) .site-header nav {
  grid-column:2;grid-row:1;margin:0!important;min-width:0!important;
  display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
  justify-content:flex-end!important;gap:clamp(6px,2vw,13px)!important;
 }
 body:not(.home-page) .site-header nav a {font-size:clamp(10px,2.6vw,13px)!important}
 body:not(.home-page) .radio-dock {
  grid-column:1 / -1;grid-row:2;
  position:static!important;top:auto!important;right:auto!important;left:auto!important;
  width:100%!important;min-width:0!important;max-width:none!important;
  display:flex!important;justify-content:flex-end!important;gap:7px!important;
  margin-top:2px!important;padding:0!important;min-height:27px!important;
  z-index:auto!important;background:none!important;
 }
 body:not(.home-page) .radio-dock-meta {display:block!important;font-size:10px!important;margin:0 auto 0 0!important}
 body:not(.home-page) .radio-dock-row {gap:6px!important}
 body:not(.home-page) .radio-dock-track {font-size:10px!important}
 body:not(.home-page) .radio-dock-button {min-height:26px!important;min-width:28px!important;padding:2px 4px!important}
 .atlas-page .atlas-main {padding-top:100px!important}
 .atlas-page .atlas-heading {margin-bottom:1rem}
 .projects-page .project-content {padding-top:110px!important}
}
@media (max-width:365px) {
 body:not(.home-page) .site-header {padding-left:9px!important;padding-right:9px!important;gap:0 5px!important}
 body:not(.home-page) .site-header nav {gap:6px!important}
 body:not(.home-page) .radio-dock-meta {font-size:9px!important}
 body:not(.home-page) .radio-dock-track {font-size:9px!important}
}

/* Bracketed lowercase radio: text and controls form one compact unit. */
body:not(.home-page) .radio-dock{gap:6px}
body:not(.home-page) .radio-bracket{font:16px/1 "Times New Roman",Times,serif;display:inline-block;flex:0 0 auto}
body:not(.home-page) .radio-dock-meta,
body:not(.home-page) .radio-dock-track,
body:not(.home-page) .radio-dock-play{text-transform:lowercase}
@media(max-width:850px){
 body:not(.home-page) .radio-bracket{display:inline-block!important;font-size:15px!important}
 body:not(.home-page) .radio-dock-meta{display:block!important}
}

/* Radio header spacing: separated title, number, track and controls. */
body:not(.home-page) .site-header .radio-dock {
  gap:clamp(10px,1.2vw,18px);
  white-space:nowrap;
  font-family:"Times New Roman",Times,serif;
}
body:not(.home-page) .site-header .radio-dock-meta {
  display:flex!important;
  align-items:baseline;
  gap:8px;
  flex:0 0 auto;
  margin:0!important;
}
body:not(.home-page) .site-header .radio-dock-meta #radio-sequence {
  display:inline-block;
  min-width:2em;
  font-variant-numeric:tabular-nums;
}
body:not(.home-page) .site-header .radio-dock-row {
  display:flex;
  flex:0 0 auto;
  align-items:center;
  gap:clamp(13px,1.6vw,24px);
}
body:not(.home-page) .site-header .radio-dock-controls {gap:clamp(5px,.75vw,12px);}
body:not(.home-page) .site-header .radio-dock-track {display:block;flex:0 0 auto;}
body:not(.home-page) .site-header .radio-dock-button {flex:0 0 auto;}
@media(max-width:850px){
  body:not(.home-page) .site-header .radio-dock {gap:clamp(5px,1.5vw,10px)!important;}
  body:not(.home-page) .site-header .radio-dock-meta {
    display:flex!important;gap:5px!important;margin:0 auto 0 0!important;font-size:10px!important;
  }
  body:not(.home-page) .site-header .radio-dock-row {gap:clamp(5px,1.5vw,9px)!important;}
  body:not(.home-page) .site-header .radio-dock-controls {gap:2px!important;}
  body:not(.home-page) .site-header .radio-dock-button {min-width:25px!important;padding:2px!important;}
}
@media(max-width:390px){
  body:not(.home-page) .site-header .radio-dock-meta {font-size:9px!important;gap:3px!important;}
  body:not(.home-page) .site-header .radio-dock-track {font-size:9px!important;}
  body:not(.home-page) .site-header .radio-bracket {font-size:12px!important;}
  body:not(.home-page) .site-header .radio-dock-button {min-width:23px!important;}
}


/* October 2026: stable, single-baseline mobile radio layout.
   Keep the whole player in the header's second row without the
   legacy track margins or auto-spaced fragments. */
body:not(.home-page) .site-header .radio-dock-track {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  align-self: center !important;
  text-transform: lowercase;
}
body:not(.home-page) .site-header .radio-dock-meta #radio-sequence {
  margin: 0 !important;
  padding: 0 !important;
}
@media (max-width: 850px) {
  body:not(.home-page) .site-header {
    grid-template-rows: minmax(28px,auto) 32px !important;
    row-gap: 3px !important;
    padding: 8px 14px 7px !important;
  }
  body:not(.home-page) .site-header .radio-dock {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: grid !important;
    grid-template-columns: auto minmax(0,1fr) auto auto !important;
    align-items: center !important;
    justify-content: stretch !important;
    column-gap: clamp(4px,1.45vw,9px) !important;
    min-height: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  body:not(.home-page) .site-header .radio-bracket:first-child {
    grid-column: 1;
    justify-self: start;
  }
  body:not(.home-page) .site-header .radio-dock-meta {
    grid-column: 2;
    min-width: 0;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-self: start;
    justify-content: flex-start;
    gap: clamp(6px,2.2vw,13px) !important;
    margin: 0 !important;
    line-height: 1 !important;
    white-space: nowrap;
  }
  body:not(.home-page) .site-header .radio-dock-row {
    grid-column: 3;
    display: flex !important;
    align-items: center !important;
    justify-self: end;
    min-width: 0;
    flex-wrap: nowrap;
    gap: clamp(5px,1.4vw,10px) !important;
  }
  body:not(.home-page) .site-header .radio-dock-track {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font: 11px/1 "Times New Roman",Times,serif !important;
    white-space: nowrap;
  }
  body:not(.home-page) .site-header .radio-dock-controls {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
  }
  body:not(.home-page) .site-header .radio-dock-button {
    display: grid !important;
    place-items: center !important;
    min-width: 26px !important;
    min-height: 30px !important;
    padding: 2px !important;
    line-height: 1 !important;
  }
  body:not(.home-page) .site-header .radio-dock-play {
    min-width: 36px !important;
  }
  body:not(.home-page) .site-header .radio-bracket:last-child {
    grid-column: 4;
    justify-self: end;
  }
}
@media (max-width: 390px) {
  body:not(.home-page) .site-header .radio-dock-track { font-size: 10px !important; }
  body:not(.home-page) .site-header .radio-dock-meta { gap: 6px !important; }
  body:not(.home-page) .site-header .radio-dock-button { min-width: 23px !important; }
  body:not(.home-page) .site-header .radio-dock-play { min-width: 32px !important; }
}
@media (max-width: 350px) {
  body:not(.home-page) .site-header .radio-dock-track {
    max-width: 71px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Fixed track slot prevents title changes from moving transport controls. */
body:not(.home-page) .site-header .radio-dock-track{
  display:block!important;flex:0 0 112px!important;width:112px!important;
  min-width:0!important;max-width:112px!important;overflow:hidden!important;
  text-overflow:ellipsis!important;white-space:nowrap!important;
}
body:not(.home-page) .site-header .radio-dock-row{flex:0 0 auto!important}
body:not(.home-page) .site-header .radio-dock-controls{flex:0 0 auto!important}
@media(max-width:850px){
 body:not(.home-page) .site-header .radio-dock-track{
  flex:0 1 94px!important;width:94px!important;max-width:94px!important;
 }
}
@media(max-width:390px){
 body:not(.home-page) .site-header .radio-dock-track{
  flex-basis:72px!important;width:72px!important;max-width:72px!important;
 }
}
