:root{--bg:#000;--line:#2a2a2a;--text:#f4f4f2;--text-dim:#8a8a8a;--white:#fff;--top-nav-h:65px;
  --font-display:"Unbounded","Archivo","Helvetica Neue",Arial,sans-serif;}
*{box-sizing:border-box;margin:0;padding:0;}
html{background:#000;scrollbar-gutter:stable;}
body{background:var(--bg);color:var(--text);font-family:"Archivo","Helvetica Neue",Arial,sans-serif;
  font-size:15px;line-height:1.7;-webkit-font-smoothing:antialiased;padding-top:var(--top-nav-h);overflow-x:hidden;}
::selection{background:#fff;color:#000;}
a{color:inherit;}

.topbar{position:fixed;top:0;left:0;right:0;height:var(--top-nav-h);z-index:40;
  background:rgba(0,0,0,.88);backdrop-filter:blur(6px);border-bottom:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;}

main{max-width:720px;margin:0 auto;padding:72px 24px 96px;}
h1{font-family:var(--font-display);font-size:clamp(24px,3.8vw,36px);font-weight:600;letter-spacing:-.01em;
  text-align:center;text-transform:uppercase;margin-bottom:56px;}
h2{font-family:var(--font-display);font-size:15px;font-weight:600;letter-spacing:.02em;margin:44px 0 12px;}
p,li{margin-bottom:12px;}
ul{padding-left:20px;margin-bottom:12px;}
.dim{color:var(--text-dim);}
main a{text-decoration:underline;text-underline-offset:3px;transition:color .2s;}

/* highlights in the About text */
.hl{color:var(--white);font-weight:700;}
a.hl{white-space:nowrap;}

/* ===== About page (and 404): centered, all caps ===== */
.about-page{text-transform:uppercase;line-height:1.5;}
/* Same vertical grid as the start page, so nothing jumps between the tabs: the title sits where NØIRE sits and the
   Samples / Biography / Contact row (25px high) stays exactly where it is. Keep in sync with header.hero, .wordmark,
   .hero-player, .hp-tabs and --panel-h in index.html. No header bar. */
.about-page{padding-top:0;background:transparent;--title-h:calc(clamp(48px,7vw,104px) * .9);--panel-h:clamp(340px, calc(100vh - 380px), 416px);
  --content-h:calc(var(--title-h) + 30px + 25px + var(--panel-h));}
.about-page main{max-width:760px;text-align:center;min-height:calc(100vh - 1px);
  padding:max(40px, calc(40px + (100vh - 121px - var(--content-h)) / 2)) 24px 32px;}
.about-page h1{height:var(--title-h);display:flex;align-items:center;justify-content:center;line-height:1.2;margin-bottom:30px;}
/* the same name as on the start page (.wordmark in index.html); the 404 page keeps the smaller heading */
.about-page h1.wordmark{font-size:clamp(48px,7vw,104px);font-weight:700;line-height:.9;color:var(--white);}
.hp-tabs{display:flex;justify-content:center;gap:clamp(16px, calc(50vw - 139px), 40px);max-width:520px;margin:0 auto 26px;border-bottom:1px solid var(--line);}
.about-page main a.hp-tab{padding:0 0 12px;margin-bottom:-1px;border-bottom:1px solid transparent;color:var(--text-dim);
  font-size:11px;font-weight:500;line-height:normal;letter-spacing:.2em;text-decoration:none;}
.about-page main a.hp-tab.active{color:var(--white);border-bottom-color:var(--white);}
/* text (owner's choice): as wide as the tab row, four paragraphs with a short line between them */
.about-page .bio{max-width:520px;margin:0 auto;}
.about-page .bio p{font-size:12px;line-height:1.9;letter-spacing:.08em;color:#cfcfcd;margin:0;text-wrap:balance;}
.about-page .bio hr{width:32px;height:1px;border:0;background:#4a4a4a;margin:clamp(12px,2.6vh,24px) auto;}
/* the start page photo, same size and position (keep in sync with header.hero .hero-photo in index.html) */
.about-hero{position:absolute;left:0;right:0;top:0;height:calc(100vh - 1px);overflow:hidden;z-index:-1;}
.about-photo{position:absolute;left:0;top:0;height:100vh;width:max(38%, 46vh);filter:grayscale(1);clip-path:inset(0 2px 0 0);
  background-image:linear-gradient(90deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.9) 90%, #000 98%),
    linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.05) 25%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.9) 100%), url("img/prodbynxire-hero.jpg");
  background-repeat:no-repeat;background-size:100% 100%, 100% 100%, cover;background-position:center center, center center, center 12%;}
/* film grain, as on the start page */
.grain{
  position:fixed;inset:0;z-index:200;pointer-events:none;
  opacity:.045;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode:overlay;
}

/* footer: identical to the start page (its two 1px lines = hero bottom + footer top, hence 2px / 108px) */
.page-foot{height:108px;display:flex;flex-direction:column;justify-content:center;padding:0 24px;background:#000;border-top:2px solid var(--line);}
.footer-icons{display:flex;gap:16px;justify-content:center;align-items:center;}
.footer-icons a{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--text-dim);transition:color .2s;}
.footer-icons svg{width:18px;height:18px;fill:currentColor;}
.footer-row{position:relative;margin-top:10px;}
.footer-legal{display:flex;justify-content:center;gap:22px;line-height:1.5;}
.footer-legal a{font-size:10px;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;color:var(--text-dim);transition:color .2s;}
.footer-copy{position:absolute;left:8px;top:0;white-space:nowrap;font-size:10px;line-height:1.5;letter-spacing:.14em;text-transform:uppercase;color:#666;}
@media (max-width:860px){
  .footer-copy{position:static;margin-top:8px;text-align:center;}
}

/* back to the start page (legal pages) */
.back-arrow{position:absolute;left:22px;top:12px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:var(--text-dim);transition:color .2s;}
.back-arrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}

/* small desktop windows / landscape tablets: narrower column so the text stays off the face */
@media (min-width:861px){
  .about-page .bio{max-width:min(520px, calc(60vw - 48px));} /* the text only: the tabs keep their start page width */
}
/* tablets and phones */
@media (max-width:860px){
  main{padding:48px 24px 72px;}
  h1{margin-bottom:40px;}
  .about-page{--panel-h:clamp(264px, calc(100svh - 520px), 468px);}
  .about-page main{min-height:calc(100svh - 1px);padding-top:max(16px, calc(100svh - 33px - var(--content-h)));}
  .about-hero{height:calc(100svh - 1px);}
  .back-arrow{left:14px;}
  /* bigger invisible tap areas */
  .hp-tab,.footer-legal a{position:relative;}
  .hp-tab::before{content:"";position:absolute;inset:-14px -14px -4px;}
  .footer-legal a::before{content:"";position:absolute;inset:-8px -8px -16px;}
}

/* upright phones and tablets: photo across the top (as on the start page); sideways it stays on the left */
@media (max-width:860px) and (max-aspect-ratio:4/3){
  .about-photo{width:100%;height:48%;clip-path:none;
    background-image:linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.1) 40%, rgba(0,0,0,.85) 85%, #000 100%), url("img/prodbynxire-hero.jpg");
    background-size:cover;background-position:center 12%;}
}

/* upright tablets: a full-width band would cut mouth and chin, so the photo is narrower, centred, with soft sides */
@media (min-width:601px) and (max-width:860px) and (max-aspect-ratio:4/3){
  .about-photo{width:auto;aspect-ratio:.85;left:50%;transform:translateX(-50%);clip-path:inset(0 2px);
    background-image:linear-gradient(90deg, #000 1%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 68%, #000 98%),
      linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.1) 55%, rgba(0,0,0,.8) 83%, #000 98%), url("img/prodbynxire-hero.jpg");
    background-size:100% 100%, 100% 100%, cover;background-position:center, center, center top;}
}
@media (max-width:860px) and (min-aspect-ratio:4/3){
  .about-page main{max-width:none;padding-left:30%;} /* beside the photo, as header.hero in index.html */
}

/* mouse hover: everything clickable turns purple, as on the start page (mouse only, so it never sticks after a tap) */
@media (hover:hover){
  main a:hover,.about-page main a:hover,.about-page main a.hp-tab:hover,.footer-icons a:hover,.footer-legal a:hover,.back-arrow:hover{color:#9B5DE5;}
}

/* sideways phones: soft fade at the bottom of the screen while the About text goes on; subpages.js sets its strength */
.about-fade{display:none;}
@media (max-width:860px){
  .about-fade{display:block;position:fixed;left:0;right:0;bottom:0;height:110px;z-index:5;pointer-events:none;
    background:linear-gradient(180deg,transparent,#000);}
}

/* phones: the text fills at least the screen below the tabs; spare height goes evenly around the lines (upright
   phones only keep the line spacing, the block further down replaces the rest; tiny sideways phones use it all) */
@media (max-width:600px){
  .about-page main.bio-main{display:flex;flex-direction:column;padding-bottom:clamp(8px, calc((100svh - 784px) * .2), 28px);}
  .about-page .hp-tabs{width:100%;margin-bottom:14px;}
  .about-page .bio{width:100%;flex:1 0 auto;display:flex;flex-direction:column;justify-content:space-between;gap:6px;}
  .about-page .bio p{line-height:1.55;}
  .about-page .bio hr{flex:none;margin:0 auto;}
}

/* ===== UPRIGHT PHONES AND TABLETS, as on the start page (same block at the end of index.html's styles): the page scrolls
   normally, the first screen is one block with the footer below; About text scrolls in its box. The 404 button stays
   where the tabs are. Heights come from --screen (script in the head). Keep last ===== */
@media (max-width:860px) and (max-aspect-ratio:4/3){
  .about-page{--panel-h:calc(clamp(264px, calc(var(--screen,100svh) - 520px), 468px) + 31px);}
  .about-hero{height:var(--screen,100svh);}
  .about-photo{height:calc(var(--screen,100svh) * .48);}
  .about-page main{min-height:var(--screen,100svh);padding:calc(var(--screen,100svh) - 1px - var(--content-h)) 24px 0;}
  .about-page main.bio-main{display:flex;flex-direction:column;justify-content:flex-end;padding:16px 24px 1px;}
  .about-page .hp-tabs{width:100%;margin-bottom:0;}
  .about-page .bio{display:block;width:100%;flex:none;height:var(--panel-h);padding-top:14px;overflow-y:auto;
    overscroll-behavior:contain;scrollbar-width:none;}
  .about-page .bio::-webkit-scrollbar{display:none;}
  .about-page .bio.more{-webkit-mask-image:linear-gradient(180deg,#000 75%,transparent);mask-image:linear-gradient(180deg,#000 75%,transparent);}
  .about-page .bio hr{margin:12px auto;}
  .about-fade{display:none;}
  .page-foot{height:75px;}
  .grain{position:absolute;bottom:auto;height:calc(var(--screen,100svh) + 75px);} /* moves with the page, as in index.html */
  .footer-icons a{height:32px;}
  .footer-row{margin-top:2px;}
  .footer-copy{margin-top:3px;}
}
