/* Shared styles for the inner pages (portfolio, released work, thanks, privacy, 404): fonts, colours, header, menu, buttons, footer. Cut from home.css. */
@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Rock Salt"; src: url("/assets/fonts/rock-salt-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
    
    --ink: #121315;        
    --surface: #22252A;    
    --text: #E5E7EB;       
    --muted: #9CA3AF;      
    --signal: #FF5500;     
    --signal-hover: #FF7A33;
    --echo: #8649BA;       
    --echo-bright: #B07DE6; 
    
    
    --page: #121315;
    --page-soft: #1A1C20;
    --night: #140E1E;      
    --night-mid: #1B1328;
    --night-lift: #2A1D3D; 
    --display: "Unbounded", "Instrument Sans", system-ui, sans-serif;
    --body: "Instrument Sans", system-ui, sans-serif;
    --gutter: clamp(1.25rem, 8vw, 10rem);
    color-scheme: dark;
  }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--page); color: var(--text); font-family: var(--body); font-size: 1.125rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 60; padding: 0.7rem 1rem; background: var(--signal); color: var(--ink); font-weight: 600; border-radius: 2px; transform: translateY(-220%); }
.skip-link:focus { transform: none; }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 30; transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1), background-color 240ms ease; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; background: rgb(18 19 21 / 0.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity 240ms ease; }
.site-header.is-solid::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header:focus-within, .site-header.is-menu-open { transform: none; }
.site-header .wrap.bar { width: calc(100% - 2 * var(--gutter)); }
.bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: clamp(0.9rem, 2.2vw, 1.6rem); }
.logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; }
.logo { grid-column: 2; display: grid; place-items: center; min-width: 8rem; }
.logo img { grid-area: 1 / 1; display: block; width: auto; transition: opacity 320ms ease, transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.logo-text { height: clamp(32px, 3.5vw, 46px); }
.logo-sphere { height: clamp(40px, 3.6vw, 48px); opacity: 0; transform: scale(0.6); }
.site-header.is-solid .logo-text { opacity: 0; transform: scale(0.9); }
.site-header.is-solid .logo-sphere { opacity: 1; transform: none; }
@media (max-width: 599.98px) {
.logo { min-width: 0; }
.logo-text { height: 22px; }
.logo-sphere { height: 38px; }
.bar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.site-header .button--menu { min-width: 0; padding: 0.45rem 0.8rem 0.45rem 0.95rem; gap: 0.45rem; font-size: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
.logo img { transition: none; }
}
button.button { font-family: inherit; cursor: pointer; }
.menu-panel {
    position: absolute; top: calc(100% + 0.25rem); right: 0;
    width: min(24rem, 100%);
    padding: 0.25rem 1.5rem 0.9rem;
    background: rgb(22 23 26 / 0.72);
    -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
    border: 1px solid rgb(229 231 235 / 0.16); border-radius: 24px;
    transform-origin: top right;
    visibility: hidden; opacity: 0; transform: translateY(-8px) scale(0.98);
    transition: opacity 200ms ease, transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 260ms;
  }
.menu-panel.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms ease, transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1); }
@media (max-width: 599.98px) {
.menu-panel { width: 100%; }
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li + li { border-top: 1px solid rgb(229 231 235 / 0.1); }
.menu-list a {
    display: block; padding: 0.85rem 0; color: var(--text); text-decoration: none;
    font-family: var(--display); font-weight: 300; letter-spacing: -0.03em; line-height: 1.2;
    font-size: clamp(1.3rem, 1.9vw, 1.55rem);
    transition: opacity 220ms ease;
  }
.menu-list:hover a { opacity: 0.4; }
.menu-list a:hover, .menu-list a:focus-visible { opacity: 1; }
.menu-list a[aria-current="page"] span { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 0.22em; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 0 1.5rem; padding-top: 0.35rem; border-top: 1px solid rgb(229 231 235 / 0.1); font-size: 0.9375rem; }
.menu-foot a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.menu-foot a:hover { color: var(--text); }
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
    min-height: 44px; padding: 0.55rem 1.3rem 0.55rem 1.5rem;
    background: rgb(229 231 235 / 0.1); color: var(--text);
    border: 1px solid rgb(229 231 235 / 0.28); border-radius: 999px;
    font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: lowercase; text-decoration: none;
    transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1), background-color 240ms ease, border-color 240ms ease, color 240ms ease;
  }
.button::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); transition: background-color 240ms ease; }
.button:hover, .button:focus-visible { transform: scale(1.07); background: var(--signal); border-color: var(--signal); color: var(--ink); }
.button:hover::after, .button:focus-visible::after { background: var(--ink); }
@media (prefers-reduced-motion: reduce) {
.button, .button::after { transition: none; }
.button:hover, .button:focus-visible { transform: none; }
.site-header, .site-header::before, .menu-panel, .menu-panel.is-open, .menu-list a { transition: none; }
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
}
:root {
    --night-rgb: 20 14 30; --deep-rgb: 8 5 14; --glow-rgb: 134 73 186; --glow-hi-rgb: 150 90 208; --glow-bright-rgb: 176 125 230; --veil-tint-rgb: 60 36 90;
    --ring-accent-rgb: 176 125 230; --ring-kick-rgb: 255 115 45; --ring-grey-rgb: 156 163 175;
    --accent: #D96548; --accent-hover: #E27A60;
    --page-bg: #F1ECE3; --ink-block: #29232D; --card-bg: #68506F; --track-bg: #91B7D8; --spec-color: #91B7D8;
    --title-color: #68506F; --sub-color: #29232D; --roll-text-c: #29232D; --roll-accent-c: #D96548;
  }
.theme-print .menu-panel { background: #29232D; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: rgb(207 198 187 / 0.25); border-radius: 6px; }
.theme-print .detail-title { color: #F1ECE3; text-shadow: none; }
.theme-print .detail-spec { color: #C4DCF0; }
.theme-print .detail-spec .sl { color: var(--spec-color); }
.theme-print .detail-text { color: #E3CDB0; border-top-color: rgb(241 236 227 / 0.3); }
.theme-print .track { border-radius: 6px; }
.theme-print .track-main { border-radius: 6px; }
.theme-print .track.is-active { background: var(--track-bg); }
.theme-print .track.is-active .track-title, .theme-print .track.is-active .track-duration, .theme-print .track.is-active .track-times { color: #29232D; }
.theme-print .track.is-active .pill { background: #29232D; border-color: #29232D; color: #F1ECE3; }
.theme-print .track.is-active .pill::after { background: var(--accent); }
.theme-print .track.is-active .wave-line { stroke: rgb(41 35 45 / 0.4); }
.theme-print .track.is-active .wave-line--played { stroke: #29232D; }
.theme-print .track.is-active .wave-head { background: #29232D; }
.site-footer { margin-top: -1px; background: #1D1822; color: #F1ECE3; padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.foot-wrap { width: min(1360px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; padding-top: 0; }
.foot-logo { display: inline-flex; align-items: center; min-height: 44px; }
.foot-logo img { display: block; height: clamp(46px, 5vw, 60px); width: auto; }
.foot-copy { margin: 0; font-size: 0.9375rem; color: rgb(241 236 227 / 0.78); }
.foot-nav { display: flex; gap: 0.4rem 1.6rem; flex-wrap: wrap; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #F1ECE3; font-size: 1rem; text-underline-offset: 0.2em; text-decoration-color: rgb(241 236 227 / 0.5); }
.foot-nav a:hover { color: #FFB39E; text-decoration-color: currentColor; }
.foot-logo:focus-visible, .foot-nav a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 700px) {
.foot-wrap { flex-direction: column; align-items: flex-start; }
}
.hdr-label { justify-self: start; font-family: var(--display); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.01em; color: #F1ECE3; opacity: 1; transition: opacity 160ms ease; white-space: nowrap; }
.hdr-label.is-out { opacity: 0; }
@media (max-width: 700px) {
.hdr-label { display: none; }
}

/* ---------- inner pages ---------- */
html { scroll-behavior: smooth; }
body.page { background: #29232D; color: #F1ECE3; min-height: 100vh; display: flex; flex-direction: column; }
.page-main { flex: 1 0 auto; padding: clamp(8rem, 16vw, 12rem) 0 clamp(4rem, 8vw, 7rem); }
.page-wrap { width: min(1100px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.page-main h1 { margin: 0 0 1.5rem; font-family: var(--display); font-weight: 700; font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: 1.04; letter-spacing: -0.035em; text-transform: lowercase; text-wrap: balance; color: #F1ECE3; }
.page-main h2 { margin: 2.6rem 0 0.6rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.02em; color: #FFB39E; }
.page-main p { margin: 0 0 1.1rem; max-width: 62ch; font-size: clamp(1.0625rem, 1.3vw, 1.2rem); line-height: 1.7; color: rgb(241 236 227 / 0.88); }
.page-main a:not(.button) { color: #FFB39E; text-underline-offset: 0.2em; }
.page-actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1.2rem; margin-top: 2rem; }
.page-actions .button--ghost { background: transparent; }
.page-note { font-family: var(--display); font-weight: 600; font-size: 0.9375rem; color: #FFB39E; margin: 0 0 1rem; display: flex; align-items: center; gap: 0.6rem; }
.page-note::before { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--accent); }
.button--menu { grid-column: 3; justify-self: end; min-width: 6.5rem; }
.hdr-label { display: none; }

html { scroll-padding-top: 6rem; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgb(217 101 72 / 0.25); }

.menu-foot { gap: 0.4rem; }
.menu-foot a { width: 44px; justify-content: center; color: #F1ECE3; transition: color 180ms ease; }
.menu-foot .ico { width: 26px; height: 26px; fill: currentColor; display: block; }
.menu-foot a:hover, .menu-foot a:focus-visible { color: #FFB39E; }
@media (prefers-reduced-motion: reduce) { .menu-foot a { transition: none; } }

.menu-foot a + a .ico { width: 20px; height: 20px; }   /* the LinkedIn file fills its whole box; the Instagram one has margins, so this evens them out */

/* touch and scrolling polish: no double-tap delay, a deliberate tap highlight, and menus/dialogs that do not scroll the page behind them */
a, button, input, select, textarea, summary, [role="button"] { touch-action: manipulation; -webkit-tap-highlight-color: rgb(255 155 122 / 0.18); }
.menu-panel { overscroll-behavior: contain; }
