/* Global design tokens: colors, fonts, and the light-mode defaults used throughout the site. */
:root {
  color-scheme: light;
  --ink: #4F4D46;
  --paper: #EDE8D0;
  --muted: #787569;
  --line: #C9C5B1;
  --lime: #C9C5B1;
  --orange: #D0D5ED;
  --name-accent: #7A5D11;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
}
/* Use border-box sizing so dimensions include padding and borders. */
* {
  box-sizing: border-box;
}
/* Keep native wheel scrolling responsive and smooth only anchor navigation. */
html {
  scroll-behavior: smooth;
}
/* Crossfade the existing palette directly during theme changes. */
:root.theme-is-transitioning body,
:root.theme-is-transitioning body *:not(.sunlit-field):not(.sunlit-field *) {
  transition-property: color, background-color, border-color, box-shadow, text-decoration-color;
  transition-duration: .48s;
  transition-timing-function: cubic-bezier(.455, .19, 0, .985);
}
/* Establish the page's base typography, colors, spacing, and stacking context. */
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  isolation: isolate;
}
a {
  color: inherit;
}
.site-header, .music-banner, main, .site-footer {
  position: relative;
  z-index: 2;
}
/* Fixed, CSS-only window light adapted from jackyzha0/sunlit. */
.sunlit-field { position: fixed; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; transition: background-color .7s ease; }
.sunlit-field::before, .sunlit-field::after, .sunlit-glow, .sunlit-bounce { position: absolute; inset: 0; content: ''; transition: opacity .7s ease, background .7s ease; }
.sunlit-field::before { background: radial-gradient(ellipse 68% 44% at 100% 6%, var(--sunlit-source), transparent 73%); opacity: var(--sunlit-source-opacity); animation: sunlit-source-drift 24s ease-in-out infinite alternate; }
.sunlit-field::after { background: linear-gradient(150deg, transparent 35%, var(--sunlit-haze) 100%); opacity: var(--sunlit-haze-opacity); animation: sunlit-haze-drift 31s ease-in-out infinite alternate; }
.sunlit-glow { background: linear-gradient(309deg, var(--sunlit-bounce) 0%, transparent 32%); opacity: var(--sunlit-glow-opacity); animation: sunlit-glow-sway 27s ease-in-out infinite alternate; }
.sunlit-bounce { background: linear-gradient(355deg, var(--sunlit-bounce) 0%, transparent 27%, transparent 100%); opacity: var(--sunlit-bounce-opacity); animation: sunlit-bounce-sway 35s ease-in-out infinite alternate; }
.sunlit-perspective { position: absolute; top: -30vh; right: -18vw; width: min(112vw, 1720px); height: 136vh; transform-origin: top right; transform-style: preserve-3d; transform: matrix3d(.8333, .0833, 0, .0003, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transition: transform .9s cubic-bezier(.455, .19, 0, .985); animation: sunlit-blinds-sway-dark 29s ease-in-out infinite alternate; }
.sunlit-blur { animation: sunlit-blur-drift 33s ease-in-out infinite alternate; }
@keyframes sunlit-source-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-2.5vw, 1.5vh, 0) scale(1.06); } }
@keyframes sunlit-haze-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(1.8vw, -1.2vh, 0) scale(1.04); } }
@keyframes sunlit-glow-sway { from { transform: translate3d(-1vw, .8vh, 0) rotate(-.35deg) scale(1.02); } to { transform: translate3d(1.4vw, -1vh, 0) rotate(.45deg) scale(1.06); } }
@keyframes sunlit-bounce-sway { from { transform: translate3d(1vw, 1vh, 0) rotate(.25deg) scale(1.02); } to { transform: translate3d(-1.5vw, -.8vh, 0) rotate(-.3deg) scale(1.05); } }
@keyframes sunlit-blur-drift { from { transform: translate3d(-.6vw, .4vh, 0) scale(1.01); } to { transform: translate3d(.8vw, -.6vh, 0) scale(1.03); } }
@keyframes sunlit-blinds-sway-light { from { transform: matrix3d(.75, -.0625, 0, .0008, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) translate3d(-.7vw, .6vh, 0) rotate(-.4deg); } to { transform: matrix3d(.75, -.0625, 0, .0008, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) translate3d(.9vw, -.8vh, 0) rotate(.5deg); } }
@keyframes sunlit-blinds-sway-dark { from { transform: matrix3d(.8333, .0833, 0, .0003, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) translate3d(-.7vw, .6vh, 0) rotate(-.4deg); } to { transform: matrix3d(.8333, .0833, 0, .0003, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) translate3d(.9vw, -.8vh, 0) rotate(.5deg); } }
/* Move the divider group as one composited layer rather than animating every blurred line. */
.sunlit-blinds { position: relative; width: 100%; height: 100%; transform-origin: 76% 8%; animation: sunlit-divider-sway 19s ease-in-out infinite alternate; }
@keyframes sunlit-divider-sway { from { transform: translate3d(-.35vw, .3vh, 0) rotate(-.18deg) skewY(-.08deg); } to { transform: translate3d(.45vw, -.4vh, 0) rotate(.22deg) skewY(.08deg); } }
.sunlit-shutters { display: flex; height: 100%; flex-direction: column; align-items: end; gap: var(--sunlit-shutter-gap); transition: gap .9s cubic-bezier(.455, .19, 0, .985); }
/* Composite opaque silhouettes first, then blur and fade the shared shadow once. */
.sunlit-shadows { position: absolute; inset: 0; color: var(--sunlit-shadow); opacity: var(--sunlit-blinds-opacity); filter: blur(7px); transition: color .7s ease, opacity .7s ease; }
.sunlit-shutter, .sunlit-bar { background: currentColor; }
.sunlit-shutter { width: 100%; height: var(--sunlit-shutter-height); flex: 0 0 auto; transition: height .9s cubic-bezier(.455, .19, 0, .985); }
.sunlit-bars { position: absolute; inset: 0; display: flex; justify-content: space-around; }
.sunlit-bar { width: 5px; height: 100%; }
.sunlit-blur { position: absolute; z-index: 2; inset: -12vh -12vw; }
.sunlit-blur span { position: absolute; inset: 0; backdrop-filter: blur(var(--sunlit-blur)); -webkit-backdrop-filter: blur(var(--sunlit-blur)); -webkit-mask-image: linear-gradient(252deg, transparent, transparent var(--sunlit-stop-1), #000 var(--sunlit-stop-2), #000); mask-image: linear-gradient(252deg, transparent, transparent var(--sunlit-stop-1), #000 var(--sunlit-stop-2), #000); }
.sunlit-blur span:nth-child(1) { --sunlit-blur: 10px; --sunlit-stop-1: 0%; --sunlit-stop-2: 0%; }
.sunlit-blur span:nth-child(2) { --sunlit-blur: 32px; --sunlit-stop-1: 40%; --sunlit-stop-2: 78%; }
.sunlit-blur span:nth-child(3) { --sunlit-blur: 80px; --sunlit-stop-1: 52%; --sunlit-stop-2: 82%; }
/* A softly focused silhouette hangs beside the window light, behind the UI. */
.windchime-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  color: inherit;
}
.windchime {
  position: absolute;
  top: -12px;
  right: clamp(32px, 12vw, 230px);
  height: min(84vh, 820px);
  width: auto;
  overflow: visible;
}
.windchime-body {
  transform-origin: 120px 0;
  animation: windchime-sway 11s ease-in-out -3s infinite;
}
.windchime-tube {
  animation: windchime-tube-sway var(--chime-duration) ease-in-out var(--chime-delay) infinite;
}
.windchime-sail {
  transform-origin: 120px 137px;
  animation: windchime-sail-sway 8.7s ease-in-out -5s infinite;
}
@keyframes windchime-sway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2.5deg); }
}
@keyframes windchime-tube-sway {
  0%, 100% { transform: rotate(-1.8deg); }
  50% { transform: rotate(2.2deg); }
}
@keyframes windchime-sail-sway {
  0%, 100% { transform: rotate(3deg); }
  50% { transform: rotate(-4deg); }
}
@media (max-width: 720px) {
  .windchime { right: -12px; height: min(68svh, 540px); }
}
/* Reduced-motion override temporarily disabled.
@media (prefers-reduced-motion: reduce) {
  .sunlit-shadows { transition: none; }
  .windchime-body, .windchime-tube, .windchime-sail { animation: none; }
}
*/
/* Decorative fixed analog background: dotted grid, grain, marks, ripple state, and motion. */
.analog-field {
  position: fixed;
  inset: -72px 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  color: var(--muted);
  transition: color .7s ease;
}
.analog-grain {
  position: absolute;
  inset: -8%;
  color: var(--ink);
  background-image: radial-gradient(circle at 12% 18%, currentColor 0 .45px, transparent .7px), radial-gradient(circle at 76% 44%, currentColor 0 .35px, transparent .6px), radial-gradient(circle at 38% 82%, currentColor 0 .5px, transparent .75px), radial-gradient(circle at 63% 11%, currentColor 0 .3px, transparent .55px);
  background-size: 7px 9px, 13px 17px, 19px 23px, 29px 31px;
  opacity: var(--analog-grain-opacity, .12);
  mix-blend-mode: soft-light;
  filter: contrast(145%);
  translate: 0 var(--analog-scroll, 0px);
  /* Static texture avoids continuously repainting the full viewport. */
}
/* A full-page film texture: fixed above the UI, but never intercepts input. */
.film-grain {
  position: fixed;
  inset: 0;
  z-index: 900;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: var(--film-grain-opacity, .065);
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E") 0 0 / 180px 180px repeat;
  mix-blend-mode: soft-light;
}
.analog-mark {
  position: absolute;
  left: var(--analog-x);
  top: var(--analog-y);
  color: currentColor;
  font: 10px/1 var(--mono);
  letter-spacing: .34em;
  white-space: nowrap;
  opacity: .075;
  translate: 0 var(--analog-scroll, 0px);
  transform: translate3d(0, 0, 0);
  animation: analog-mark-pulse var(--analog-duration) var(--analog-delay) steps(5, end) infinite;
}
.analog-mark:nth-of-type(3n) {
  color: var(--orange);
  opacity: .09;
}
@keyframes analog-grain-shift {
  0% {
    transform: translate3d(-3px, 1px, 0);
  }
  33% {
    transform: translate3d(2px, -2px, 0);
  }
  66% {
    transform: translate3d(1px, 3px, 0);
  }
  100% {
    transform: translate3d(-2px, -1px, 0);
  }
}
@keyframes film-grain-shift {
  0% { transform: translate3d(-2px, 1px, 0) scale(1.02); }
  25% { transform: translate3d(1px, -2px, 0) scale(1.02); }
  50% { transform: translate3d(2px, 2px, 0) scale(1.02); }
  75% { transform: translate3d(-1px, 2px, 0) scale(1.02); }
  100% { transform: translate3d(2px, -1px, 0) scale(1.02); }
}
@keyframes analog-mark-pulse {
  0%, 100% {
    transform: translate3d(0, 0, 0);
    opacity: .04;
  }
  35% {
    transform: translate3d(3px, -2px, 0);
    opacity: .1;
  }
  68% {
    transform: translate3d(-2px, 2px, 0);
    opacity: .06;
  }
}
/* Reduce the analog background density and number of marks on small screens. */
@media (max-width: 720px) {
  .analog-mark:nth-of-type(n+11) {
    display: none;
  }
}
/* Constrain the main page regions to a shared centered content width. */
.site-header, .site-footer, main {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
/* Define the default horizontal header, wordmark, navigation, and menu button. */
.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: 500 18px var(--mono);
  letter-spacing: -.06em;
  cursor: pointer;
}
.wordmark span {
  color: var(--orange);
}
.site-nav {
  display: flex;
  gap: 28px;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.site-nav a:hover, .site-nav a[aria-current='page'] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.menu-button {
  display: none;
  border: 0;
  background: none;
  font: 500 14px var(--mono);
  color: var(--ink);
}
/* Style the music announcement strip and its embedded Spotify player. */
.music-banner {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.music-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 32px;
  display: grid;
  grid-template-columns: minmax(210px, .75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 28px;
}
.music-banner p {
  margin: 0;
  color: var(--line);
  font-size: 14px;
}
.music-banner p span {
  display: block;
  margin-bottom: 5px;
  color: var(--lime);
  font: 500 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.spotify-player {
  display: block;
  width: min(100%, 620px);
  justify-self: end;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
}
/* Reserve the upper-right control area so the floating language and menu
   buttons never sit over the playlist controls. */
@media (min-width: 721px) {
  .music-banner-inner {
    padding-right: 210px;
  }
}
/* Build the hero introduction, headline entrance, image panel, and tile animation. */
.hero {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
}
.eyebrow {
  font: 500 12px/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin: 0 0 20px;
}
.hero h1[data-reveal-heading] {
  white-space: pre-wrap;
}
[data-reveal-heading].is-materialising {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .8, .2, 1);
}
[data-reveal-heading].is-materialising.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-photo-panel, .latest-post-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}
.hero-tiles-ready .hero-photo-panel, .hero-tiles-ready .latest-post-card {
  opacity: 1;
  transform: translateY(0);
}
.hero-tiles-ready .latest-post-card {
  transition-delay: .12s;
}
h1, h2 {
  letter-spacing: -.055em;
  line-height: .98;
  margin: 0;
}
h1 {
  font-size: clamp(48px, 7.2vw, 96px);
  max-width: 900px;
}
h2 {
  font-size: clamp(32px, 4.2vw, 54px);
}
.hero-copy {
  max-width: 535px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 19px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero-photo-panel {
  min-height: 430px;
  margin-top: 28px;
  padding: 24px;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0) 42%), url('/assets/hero-hands.webp');
  background-size: cover;
  background-position: center 62%;
  color: #EDE8D0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-photo-panel .hero-copy {
  margin-top: 0;
  color: #EDE8D0;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .75);
}
.hero-photo-panel .hero-actions {
  margin-top: 28px;
}
.hero-photo-panel .button-primary, .hero-photo-panel .button-quiet {
  border-color: rgba(237, 232, 208, .7);
  color: #EDE8D0;
  background: rgba(0, 0, 0, .16);
  backdrop-filter: blur(4px);
}
.project-grid .project-card:hover {
  background: #C9C5B1;
  color: #4F4D46;
}
.hero-photo-panel .button-primary {
  background: rgba(0, 0, 0, .16);
  border-color: rgba(237, 232, 208, .7);
  color: #EDE8D0;
}
/* Shared button styles, variants, hover motion, and section-level text links. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 150px;
  min-height: 48px;
  padding: 13px 18px;
  box-sizing: border-box;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid var(--ink);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.button-primary {
  background: var(--ink);
  color: var(--paper);
}
.button:hover {
  background: var(--orange);
  border-color: var(--ink);
  color: #4F4D46;
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(-2px, -2px) scale(1.04);
}
.button-quiet {
  border-color: var(--line);
}
/* Shared section spacing followed by about, projects, feature cards, and the future callout. */
.section {
  padding: 110px 0;
  border-top: 1px solid var(--line);
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}
.text-link {
  display: inline-flex;
  color: var(--muted);
  text-decoration: none;
  font: 14px var(--mono);
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.text-link:hover, .feature-link:hover .text-link {
  background: var(--orange);
  color: #4F4D46;
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px) scale(1.04);
}
.about-section {
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr);
  gap: 70px;
}
.about-copy {
  max-width: 720px;
}
.about-copy h2 {
  margin-bottom: 28px;
}
.about-copy h2 span {
  color: var(--name-accent);
}
.about-copy > p:not(.about-contact) {
  max-width: 620px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 19px;
}
.about-copy strong {
  color: var(--ink);
  font-weight: 600;
}
.about-contact {
  margin: 34px 0 0;
  font: 14px var(--mono);
}
.about-contact a {
  display: inline-block;
  padding: 5px 8px;
  margin: -5px -8px;
  color: var(--ink);
  text-decoration-color: var(--orange);
  text-underline-offset: 5px;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.about-contact a:hover {
  background: var(--orange);
  color: #4F4D46;
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px) scale(1.03);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.project-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s ease;
}
.project-card:hover {
  background: #C9C5B1;
  color: #4F4D46;
  transform: translateY(-4px) scale(1.015);
  border-color: var(--ink);
}
.project-card:hover p, .project-card:hover .project-meta {
  color: #4F4D46;
}
.project-card:nth-child(3n+2) {
  background: var(--line);
}
.project-card:nth-child(3n+3) {
  background: var(--paper);
}
.project-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -.04em;
}
.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.project-card .project-meta {
  margin-top: auto;
  padding-top: 24px;
  font: 12px var(--mono);
  color: var(--muted);
}
.loading {
  color: var(--muted);
}
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature-card {
  min-height: 370px;
  padding: 34px;
  background: var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-link {
  color: inherit;
  text-decoration: none;
  transition: box-shadow .25s ease, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.feature-link:hover {
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(-3px, -3px);
}
.feature-link:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
.feature-card h2 {
  max-width: 420px;
}
.feature-card > p:not(.eyebrow) {
  max-width: 380px;
  color: var(--muted);
  margin: 20px 0;
}
.feature-card .text-link {
  margin-top: auto;
}
.accent-card {
  background: var(--lime);
}
.future-section {
  width: 100%;
  max-width: none;
  padding-left: 32px;
  padding-right: 32px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
}
.future-section .eyebrow {
  color: var(--line);
}
.future-section h2 {
  max-width: 650px;
}
.future-section > p:last-child {
  max-width: 510px;
  color: var(--line);
  margin: 24px 0 0;
}
/* Shared inner-page structure for introductions, writing lists, guestbook callouts, and back links. */
.page-main {
  min-height: calc(100vh - 230px);
}
.page-intro {
  padding: 105px 0 70px;
  border-bottom: 1px solid var(--line);
}
.page-intro h1 {
  max-width: 800px;
}
.page-intro > p:last-child {
  max-width: 540px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.post-list {
  padding: 34px 0 100px;
}
.post-card {
  max-width: 760px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.post-card h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 18px;
}
.post-card p:not(.post-meta) {
  color: var(--muted);
}
.post-meta {
  font: 12px var(--mono);
  color: var(--muted);
  margin: 0 0 14px;
}
.guestbook-callout {
  max-width: 730px;
  padding: 50px;
  margin: 46px 0 100px;
  background: var(--line);
}
.guestbook-callout h2 {
  font-size: clamp(30px, 4vw, 48px);
}
.guestbook-callout > p:not(.eyebrow) {
  color: var(--muted);
  margin: 20px 0 30px;
}
.guestbook-main {
  min-height: calc(100vh - 80px);
  padding-top: 1px;
  padding-bottom: 1px;
  background-image: linear-gradient(90deg, rgba(79, 77, 70, .58), rgba(79, 77, 70, .16)), url('/assets/guestbook-background.jpg');
  background-size: cover;
  background-position: center;
}
.guestbook-main .page-back {
  margin-left: 34px;
  color: #F7F3E3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}
.guestbook-main .page-intro {
  width: min(720px, calc(100% - 68px));
  margin: 30px 34px 0;
  padding: 48px;
  border: 0;
  background: rgba(237, 232, 208, .88);
  color: #4F4D46;
  backdrop-filter: blur(7px);
}
.guestbook-main .page-intro .eyebrow, .guestbook-main .page-intro > p:last-child {
  color: #787569;
}
.guestbook-main .guestbook-callout {
  margin: 18px 34px 70px;
  background: rgba(201, 197, 177, .92);
  color: #4F4D46;
  backdrop-filter: blur(7px);
}
.guestbook-main .guestbook-callout .eyebrow, .guestbook-main .guestbook-callout > p:not(.eyebrow) {
  color: #787569;
}
.page-back {
  display: inline-block;
  margin-top: 34px;
  color: var(--muted);
  text-decoration: none;
  font: 13px var(--mono);
}
.page-back {
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.page-back:hover, .page-back:focus-visible {
  background: var(--orange);
  color: #4F4D46;
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px) scale(1.04);
  text-decoration: none;
}
.page-back + .page-intro {
  padding-top: 70px;
}
/* Lay out the footer and its interactive return-to-top link. */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 110px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  content-visibility: auto;
  contain-intrinsic-size: auto 110px;
}
.site-footer p {
  margin: 0;
}
.site-footer > a:last-child {
  display: inline-flex;
  padding: 6px 8px;
  margin: -6px -8px;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.site-footer > a:last-child:hover {
  background: var(--orange);
  color: #4F4D46;
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px) scale(1.04);
}
/* Collapse navigation, grids, hero spacing, page sections, and footer layout on mobile. */
@media (max-width: 720px) {
  .site-header, .site-footer, main {
    padding-left: 20px;
    padding-right: 20px;
  }
  .music-banner-inner {
    padding: 10px 20px;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .spotify-player {
    width: 100%;
    justify-self: stretch;
  }
  .site-header {
    min-height: 72px;
    position: relative;
  }
  .menu-button {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    padding: 22px 20px;
    flex-direction: column;
    gap: 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    z-index: 2;
  }
  .site-nav.is-open {
    display: flex;
  }
  .hero {
    min-height: 550px;
    padding: 72px 0;
  }
  .hero-copy {
    font-size: 17px;
  }
  .section {
    padding: 72px 0;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
  }
  .about-section, .project-grid, .split-section {
    grid-template-columns: 1fr;
  }
  .about-section {
    gap: 28px;
  }
  .about-copy > p:not(.about-contact) {
    font-size: 17px;
  }
  .about-photo {
    width: min(72vw, 260px);
  }
  .project-card {
    min-height: 200px;
  }
  .feature-card {
    min-height: 310px;
  }
  .future-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-intro {
    padding: 72px 0 52px;
  }
  .guestbook-callout {
    padding: 30px 24px;
    margin-bottom: 70px;
  }
  .site-footer {
    padding-top: 26px;
    padding-bottom: 26px;
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
/* Provide language and theme controls, including their keyboard-focus states. */
.header-controls {
  display: flex;
  align-items: center;
  gap: 22px;
}
.language-switch {
  color: var(--muted);
  text-decoration: none;
  font: 500 13px var(--mono);
}
.language-switch:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.theme-toggle {
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: 500 12px var(--mono);
  cursor: pointer;
}
.theme-toggle:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
@media (max-width: 720px) {
  .header-controls {
    gap: 16px;
  }
  .language-switch {
    font-size: 12px;
  }
}
/* Supply automatic and explicit light/dark theme variable palettes. */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #EDE8D0;
    --paper: #4F4D46;
    --muted: #C9C5B1;
    --line: #787569;
    --lime: #787569;
    --orange: #D0D5ED;
    --name-accent: #D0D5ED;
    --analog-grain-opacity: .09;
    --film-grain-opacity: .05;
  }
}
:root[data-theme='light'] {
  color-scheme: light;
  --ink: #4F4D46;
  --paper: #EDE8D0;
  --muted: #787569;
  --line: #C9C5B1;
  --lime: #C9C5B1;
  --orange: #D0D5ED;
  --name-accent: #7A5D11;
  --analog-grain-opacity: .12;
  --film-grain-opacity: .065;
  --sunlit-source: #fff2a8; --sunlit-source-opacity: .82; --sunlit-haze: #ed9a36; --sunlit-haze-opacity: .28;
  --sunlit-shadow: #80572c; --sunlit-bounce: #ffc86d; --sunlit-glow-opacity: .38; --sunlit-bounce-opacity: .27;
  --sunlit-blinds-opacity: .16; --sunlit-shutter-gap: 64px; --sunlit-shutter-height: 25px;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --ink: #EDE8D0;
  --paper: #4F4D46;
  --muted: #C9C5B1;
  --line: #787569;
  --lime: #787569;
  --orange: #D0D5ED;
  --name-accent: #D0D5ED;
  --analog-grain-opacity: .09;
  --film-grain-opacity: .05;
  --sunlit-source: #e7792f; --sunlit-source-opacity: .18; --sunlit-haze: #c75d24; --sunlit-haze-opacity: .12;
  --sunlit-shadow: #020613; --sunlit-bounce: #4F4D46; --sunlit-glow-opacity: .48; --sunlit-bounce-opacity: .36;
  --sunlit-blinds-opacity: .52; --sunlit-shutter-gap: 11px; --sunlit-shutter-height: 88px;
}
:root[data-theme='dark'] .sunlit-field::before {
  background: radial-gradient(ellipse 54% 58% at -10% 44%, var(--sunlit-source) 0%, transparent 72%);
}
:root[data-theme='dark'] .sunlit-field::after {
  background: radial-gradient(ellipse 48% 72% at -8% 58%, var(--sunlit-haze) 0%, transparent 74%);
}
/* Desktop navigation rail, editorial hero layout, latest-post card, and related desktop sizing. */
.brand-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, .75fr);
  align-items: center;
  gap: clamp(42px, 6vw, 90px);
}
.hero-intro {
  min-width: 0;
}
.hero h1 {
  font-size: clamp(48px, 5.7vw, 88px);
}
.latest-post-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--line);
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.latest-post-card:hover {
  background: var(--orange);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(-3px, -3px);
}
.latest-post-card h2 {
  font-size: clamp(30px, 3vw, 46px);
}
.latest-post-card > p:not(.eyebrow) {
  margin: 20px 0;
  color: var(--muted);
}
.latest-post-card .text-link {
  margin-top: auto;
}
.split-section.single-card {
  grid-template-columns: 1fr;
}
.split-section.single-card .feature-card {
  min-height: 300px;
}
@media (min-width: 721px) {
  body {
    padding-left: 220px;
  }
  .hero {
    margin-bottom: 270px;
  }
  .site-header {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 20;
    width: 220px;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: 30px 24px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    background: var(--paper);
  }
  .brand-controls {
    width: 100%;
    justify-content: space-between;
  }
  .site-header .header-controls {
    width: 100%;
    margin-top: 54px;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .site-header .site-nav {
    width: 100%;
    flex-direction: column;
    gap: 18px;
  }
  .site-header .site-nav a {
    display: block;
  }
  .latest-post-card {
    left: -36px;
    top: 346px;
  }
}
/* Loading interstitial for Writing and Guestbook */
/* Cover the page during navigation and animate the loader's sweep, reveal, and pulse states. */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: var(--paper);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  isolation: isolate;
  transition: opacity .2s ease, visibility 0s linear .2s;
}
.page-loader::before, .page-loader::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.page-loader::before {
  background: var(--orange);
  transform: translateX(-101%);
}
.page-loader::after {
  inset: -6%;
  z-index: -2;
  background-image: radial-gradient(circle, var(--muted) 0 1px, transparent 1.35px);
  background-size: 19px 19px;
  opacity: .18;
  -webkit-mask-image: radial-gradient(ellipse 52% 42% at 16% 18%, #000 0 22%, transparent 76%), radial-gradient(ellipse 44% 36% at 86% 82%, #000 0 18%, transparent 78%);
  mask-image: radial-gradient(ellipse 52% 42% at 16% 18%, #000 0 22%, transparent 76%), radial-gradient(ellipse 44% 36% at 86% 82%, #000 0 18%, transparent 78%);
}
.page-loader.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.page-loader.is-active::before {
  animation: loader-sweep .65s cubic-bezier(.65, 0, .35, 1) forwards;
}
.page-loader.is-arrival {
  opacity: 1;
  visibility: visible;
  background-color: var(--orange);
  transition: none;
}
.page-loader.is-arrival::before {
  display: none;
}
.page-loader.is-arrival.is-revealing {
  animation: loader-reveal .75s .55s cubic-bezier(.65, 0, .35, 1) forwards;
}
.page-loader-indicator {
  position: relative;
  z-index: 1;
  display: block;
  min-width: min(320px, calc(100vw - 48px));
  height: 4px;
  overflow: hidden;
  background: var(--line);
}
.page-loader-indicator::after {
  content: '';
  display: block;
  width: 32%;
  height: 100%;
  background: var(--orange);
  transform-origin: left;
  animation: loader-pulse .55s ease-in-out infinite alternate;
}
@keyframes loader-sweep {
  to {
    transform: translateX(0);
  }
}
@keyframes loader-reveal {
  to {
    transform: translateX(101%);
    visibility: hidden;
  }
}
@keyframes loader-pulse {
  from {
    transform: scaleX(.15);
    opacity: .45;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}
@media (max-width: 720px) {
  body {
    padding-left: 0;
  }
  .site-header {
    width: auto;
    max-width: 1200px;
    min-height: 72px;
    margin: 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand-controls {
    gap: 10px;
  }
  .theme-toggle {
    padding: 6px 8px;
  }
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .hero-photo-panel {
    min-height: 360px;
    margin-top: 24px;
    padding: 20px;
    background-position: center 68%;
  }
  .latest-post-card {
    left: 0;
    top: 0;
    min-height: 280px;
  }
  .guestbook-main {
    padding-left: 20px;
    padding-right: 20px;
    background-position: 52% center;
  }
  .guestbook-main .page-back {
    margin-left: 0;
  }
  .guestbook-main .page-intro {
    width: 100%;
    margin: 24px 0 0;
    padding: 32px 24px;
  }
  .guestbook-main .guestbook-callout {
    margin: 14px 0 52px;
  }
}
/* The scrolled header stays a square tile; expand it only through the menu button. */
.site-header.is-scrolled:not(.is-open):hover, .site-header.is-scrolled:not(.is-open):focus-within {
  width: 190px;
  height: 124px;
}
.site-header.is-scrolled:not(.is-open):hover .brand-controls, .site-header.is-scrolled:not(.is-open):focus-within .brand-controls {
  width: 54px;
}
.site-header.is-scrolled:not(.is-open):hover .header-controls, .site-header.is-scrolled:not(.is-open):focus-within .header-controls {
  left: 0;
  top: 0;
  width: 54px;
  grid-template-columns: 1fr;
  gap: 0;
}
.site-header.is-scrolled:not(.is-open):hover .brand-controls .wordmark, .site-header.is-scrolled:not(.is-open):focus-within .brand-controls .wordmark, .site-header.is-scrolled:not(.is-open):hover .language-switch, .site-header.is-scrolled:not(.is-open):focus-within .language-switch {
  opacity: 0;
  pointer-events: none;
}
.site-header.is-scrolled:not(.is-open):hover .language-switch, .site-header.is-scrolled:not(.is-open):focus-within .language-switch {
  display: none;
}
.site-header.is-scrolled:not(.is-open):hover .menu-button, .site-header.is-scrolled:not(.is-open):focus-within .menu-button {
  width: 54px;
  height: 54px;
  padding: 0;
  font-size: 0;
}
.site-header.is-scrolled:not(.is-open):hover .menu-button::after, .site-header.is-scrolled:not(.is-open):focus-within .menu-button::after {
  display: block;
}
/* Respect reduced-motion preferences by removing nonessential transitions and animations. */
/* Reduced-motion override temporarily disabled.
@media (prefers-reduced-motion: reduce) {
  .analog-field, .analog-grain, .analog-mark, .film-grain {
    transform: none;
  }
  .sunlit-field, .sunlit-field::before, .sunlit-field::after, .sunlit-glow, .sunlit-bounce, .sunlit-perspective, .sunlit-shutters, .sunlit-shutter, .sunlit-bar { transition: none; }
  .sunlit-field::before, .sunlit-field::after, .sunlit-glow, .sunlit-bounce, .sunlit-perspective, .sunlit-blinds, .sunlit-blur { animation: none; }
  .analog-grain, .analog-mark, .film-grain, .page-loader::before, .page-loader-indicator::after {
    animation: none;
  }
  .analog-grain, .analog-mark {
    translate: none;
    transition: none;
  }
  .button, .text-link, .about-contact a, .project-card, .feature-link, .site-footer > a:last-child, .page-loader {
    transition: none;
  }
  .button:hover, .text-link:hover, .about-contact a:hover, .project-card:hover, .feature-link:hover, .site-footer > a:last-child:hover {
    transform: none;
  }
  [data-reveal-heading].is-materialising {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
*/
/* Floating navigation panel and full-screen editorial sections */
:root {
  --page-gutter: clamp(22px, 5vw, 84px);
  --content-width: 1520px;
  --menu-panel-width: min(430px, 100vw);
}
body {
  padding-left: 0;
}
body.menu-open {
  overflow: hidden;
}
.music-banner-inner {
  max-width: var(--content-width);
  padding-left: max(var(--page-gutter), 230px);
  padding-right: var(--page-gutter);
}
.site-footer, .page-main {
  max-width: var(--content-width);
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}
.site-header {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  border: 0;
  background: transparent;
  pointer-events: none;
}
.site-header::before, .site-header::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .38s ease, visibility 0s linear .38s, transform .55s cubic-bezier(.22, 1, .36, 1);
}
.site-header::before {
  z-index: 0;
  background: color-mix(in srgb, var(--ink) 34%, transparent);
  backdrop-filter: blur(3px);
}
.site-header::after {
  z-index: 1;
  left: auto;
  width: var(--menu-panel-width);
  background: var(--paper);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
}
.site-header.is-open {
  pointer-events: auto;
}
.site-header.is-open::before, .site-header.is-open::after {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.site-header.is-open::after {
  transform: translateX(0);
}
.site-header .brand-controls {
  position: relative;
  z-index: 3;
  inset: auto;
  display: flex;
  width: auto;
  padding: 10px 12px;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  box-shadow: 4px 4px 0 var(--ink);
  backdrop-filter: blur(8px);
  pointer-events: auto;
}
.site-header .header-controls {
  position: relative;
  z-index: 3;
  display: block;
  width: auto;
  margin: 0;
  pointer-events: auto;
}
.site-header .site-nav {
  position: fixed;
  z-index: 2;
  top: 154px;
  right: 38px;
  left: auto;
  display: flex;
  width: min(354px, calc(100vw - 76px));
  padding: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border: 0;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(calc(100% + 80px));
  transition: opacity .3s ease, visibility 0s linear .55s, transform .55s .04s cubic-bezier(.22, 1, .36, 1);
}
.site-header .site-nav a {
  display: inline-block;
  color: var(--ink);
  font-size: clamp(34px, 4.3vw, 54px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.site-header .site-nav a:hover, .site-header .site-nav a[aria-current='page'] {
  color: var(--orange);
  text-decoration: none;
  transform: translateX(-8px);
}
.site-header .site-nav a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 7px;
}
.site-header .language-switch {
  position: fixed;
  z-index: 2;
  right: 38px;
  bottom: 104px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(calc(100% + 80px));
  transition: opacity .28s ease, visibility 0s linear .55s, transform .55s .08s cubic-bezier(.22, 1, .36, 1);
}
.site-header.is-open .site-nav, .site-header.is-open .language-switch {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: .08s, 0s, .08s;
}
.menu-button {
  position: relative;
  z-index: 3;
  inset: auto;
  display: inline-flex;
  min-width: 110px;
  min-height: 48px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 0px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font: 500 13px var(--mono);
  letter-spacing: .04em;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.menu-button:hover, .site-header.is-open .menu-button:hover {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}
.site-header.is-open .menu-button {
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  color: var(--ink);
}
.menu-button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
main:not(.page-main) {
  width: 100%;
  max-width: none;
  padding: 0;
}
main:not(.page-main) > .hero, main:not(.page-main) > .section:not(.future-section) {
  width: min(calc(100% - var(--page-gutter) - var(--page-gutter)), var(--content-width));
  margin-left: auto;
  margin-right: auto;
}
main:not(.page-main) > .hero, main:not(.page-main) > .section {
  min-height: 100svh;
}
.hero {
  margin-bottom: 0;
  padding-top: clamp(64px, 8svh, 112px);
  padding-bottom: clamp(64px, 8svh, 112px);
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, .8fr);
  gap: clamp(56px, 7vw, 120px);
}
.hero h1 {
  max-width: 1100px;
  font-size: clamp(58px, min(7.2vw, 9.8svh), 124px);
}
.hero-copy {
  max-width: 700px;
  font-size: clamp(20px, 1.7vw, 25px);
}
.hero-photo-panel {
  min-height: clamp(340px, 42svh, 540px);
  padding: clamp(28px, 4vw, 58px);
}
.hero-photo-panel .hero-actions {
  margin-top: 36px;
}
.latest-post-card {
  left: 0;
  top: 0;
  min-height: clamp(360px, 52svh, 560px);
  padding: clamp(32px, 4vw, 56px);
}
.latest-post-card h2 {
  font-size: clamp(44px, 4.4vw, 72px);
}
.latest-post-card > p:not(.eyebrow) {
  font-size: clamp(17px, 1.4vw, 21px);
}
.eyebrow {
  font-size: 13px;
  letter-spacing: .1em;
}
.section {
  padding-top: clamp(100px, 12vh, 180px);
  padding-bottom: clamp(100px, 12vh, 180px);
}
.section:not(.about-section):not(.split-section) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section-heading {
  margin-bottom: clamp(50px, 7vh, 88px);
}
.section-heading h2 {
  max-width: 1180px;
  font-size: clamp(48px, 5.4vw, 86px);
}
.about-section {
  align-items: center;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  gap: clamp(64px, 9vw, 150px);
}
.about-label, .about-copy {
  min-width: 0;
}
.about-photo, .about-section .about-photo {
  width: min(100%, 570px);
}
.about-photo figcaption {
  margin-top: 12px;
  font-size: 13px;
}
.about-copy {
  max-width: 860px;
}
.about-copy h2 {
  font-size: clamp(56px, 6.2vw, 96px);
}
.about-copy > p:not(.about-contact) {
  max-width: 780px;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.55;
}
.about-contact {
  font-size: 16px;
}
.about-contact a {
  overflow-wrap: anywhere;
}
.project-grid {
  gap: clamp(18px, 2vw, 30px);
}
.project-card {
  min-height: clamp(290px, 38vh, 430px);
  padding: clamp(28px, 3vw, 44px);
}
.project-card h3 {
  font-size: clamp(26px, 2.3vw, 36px);
}
.project-card p {
  font-size: 16px;
}
.project-card .project-meta {
  font-size: 13px;
}
.split-section.single-card {
  grid-template-columns: 1fr;
  align-content: center;
}
.split-section.single-card .feature-card {
  min-height: min(72svh, 760px);
  padding: clamp(44px, 8vw, 120px);
}
.feature-card h2 {
  max-width: 900px;
  font-size: clamp(58px, 7vw, 108px);
}
.feature-card > p:not(.eyebrow) {
  max-width: 680px;
  font-size: clamp(20px, 1.8vw, 26px);
}
main:not(.page-main) > .future-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(var(--page-gutter), calc((100vw - var(--content-width)) / 2 + var(--page-gutter)));
  padding-right: max(var(--page-gutter), calc((100vw - var(--content-width)) / 2 + var(--page-gutter)));
}
.future-section h2 {
  max-width: 1100px;
  font-size: clamp(64px, 8vw, 126px);
}
.future-section > p:last-child {
  max-width: 760px;
  font-size: clamp(20px, 1.8vw, 26px);
}
.page-main:not(.guestbook-main) .page-intro {
  min-height: 76svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-main:not(.guestbook-main) .page-intro h1 {
  max-width: 1100px;
  font-size: clamp(58px, 7.4vw, 112px);
}
.page-main:not(.guestbook-main) .page-intro > p:last-child {
  max-width: 760px;
  font-size: clamp(20px, 1.8vw, 25px);
}
.post-card {
  max-width: 980px;
  padding: 46px 0;
}
.post-list {
  min-height: 100svh;
}
.post-card h2 {
  font-size: clamp(38px, 4.5vw, 66px);
}
.guestbook-main .page-intro h1 {
  font-size: clamp(48px, 6vw, 82px);
}
.guestbook-callout h2 {
  font-size: clamp(42px, 5vw, 72px);
}
@media (max-width: 900px) {
  :root {
    --page-gutter: clamp(20px, 5vw, 42px);
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero h1 {
    font-size: clamp(62px, 12vw, 108px);
  }
  .latest-post-card {
    min-height: 56svh;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .about-photo, .about-section .about-photo {
    width: min(100%, 560px);
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    min-height: 280px;
  }
}
@media (max-width: 720px) {
  .music-banner-inner {
    padding: 148px 20px 12px;
  }
  .site-header {
    padding: 16px;
    gap: 10px;
  }
  .site-header .brand-controls {
    inset: auto;
    max-width: calc(100vw - 32px);
    gap: 10px;
  }
  .site-header .site-nav {
    top: 142px;
    right: 24px;
    width: calc(100vw - 48px);
    gap: 18px;
  }
  .site-header .site-nav a {
    font-size: clamp(38px, 12vw, 58px);
  }
  .site-header .language-switch {
    right: 24px;
    bottom: 94px;
  }
  .menu-button {
    inset: auto;
    min-width: 58px;
    min-height: 50px;
  }
  .hero {
    min-height: 100svh;
    padding-top: 96px;
    padding-bottom: 96px;
  }
  .hero h1 {
    font-size: clamp(54px, 16vw, 82px);
  }
  .hero-photo-panel {
    min-height: 72svh;
    margin-top: 24px;
    padding: 28px 24px;
  }
  .latest-post-card {
    min-height: 68svh;
    padding: 30px 24px;
  }
  .section {
    min-height: 100svh;
    padding-top: 88px;
    padding-bottom: 88px;
  }
  .section-heading h2 {
    font-size: clamp(42px, 12vw, 64px);
  }
  .about-copy h2 {
    font-size: clamp(48px, 13vw, 68px);
  }
  .about-copy > p:not(.about-contact) {
    font-size: 19px;
  }
  .split-section.single-card .feature-card {
    min-height: 76svh;
    padding: 44px 26px;
  }
  .feature-card h2 {
    font-size: clamp(48px, 14vw, 76px);
  }
  .future-section h2 {
    font-size: clamp(54px, 15vw, 84px);
  }
  .page-main:not(.guestbook-main) .page-intro {
    min-height: 72svh;
  }
  html[lang='ko'] h1, html[lang='ko'] h2 {
    word-break: keep-all;
  }
}
/* Reduced-motion override temporarily disabled.
@media (prefers-reduced-motion: reduce) {
  .site-header::before, .site-header::after, .site-header .brand-controls, .site-header .site-nav, .site-header .language-switch, .menu-button {
    transition: none;
  }
}
*/
/* Writing page: larger, tactile entry tiles and a lifted intro. */
.page-main:not(.guestbook-main) .page-intro {
  min-height: auto;
  padding-top: clamp(112px, 15svh, 210px);
  padding-bottom: clamp(72px, 9svh, 130px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  align-items: end;
  gap: clamp(40px, 7vw, 120px);
}
/* Style the blog introduction and image-backed post cards, including hover overlays. */
.blog-intro-copy {
  min-width: 0;
}
.blog-intro-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.04);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), filter .35s ease, box-shadow .35s ease;
}
.blog-intro-image:hover {
  transform: translate(-4px, -4px);
  filter: grayscale(0) contrast(1);
  box-shadow: 6px 6px 0 var(--ink);
}
.post-list {
  padding-top: 0;
}
.post-card {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: clamp(300px, 38svh, 470px);
  margin-bottom: 18px;
  padding: clamp(30px, 4vw, 58px);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, var(--line));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.post-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .35s ease;
}
.post-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: inherit;
  flex-direction: column;
  align-items: flex-start;
}
.post-card-title {
  display: block;
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1.05;
  font-weight: 600;
}
.post-card-excerpt {
  display: block;
  max-width: 680px;
  font-size: clamp(17px, 1.4vw, 22px);
}
.post-card:not(.has-image) .post-card-excerpt {
  color: var(--muted);
}
.post-card .text-link {
  color: inherit;
}
.post-card.has-image {
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: #EDE8D0;
}
.post-card.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, .08) 8%, rgba(10, 10, 10, .84) 90%);
  pointer-events: none;
}
.post-card.has-image .post-card-content {
  width: min(100%, 780px);
  min-height: 0;
  padding: clamp(20px, 2.5vw, 34px);
  background: rgba(20, 20, 18, .72);
  border: 1px solid rgba(237, 232, 208, .28);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.post-card.has-image .post-meta, .post-card.has-image .post-card-excerpt, .post-card.has-image .text-link {
  color: inherit;
}
.post-card.has-image:hover .post-card-image, .post-card.has-image:focus-within .post-card-image {
  transform: scale(1.045);
  filter: saturate(1.06);
}
.post-card:hover, .post-card:focus-within {
  background: var(--orange);
  border-color: var(--ink);
  color: inherit;
  box-shadow: 7px 7px 0 var(--ink);
  transform: translate(-4px, -4px);
}
.post-card:hover .post-card-excerpt, .post-card:focus-within .post-card-excerpt, .post-card:hover .post-meta, .post-card:focus-within .post-meta, .post-card:hover .text-link, .post-card:focus-within .text-link {
  color: inherit;
}
.post-card .text-link {
  margin-top: auto;
}
@media (max-width: 720px) {
  .page-main:not(.guestbook-main) .page-intro {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 104px;
  }
  .blog-intro-image {
    max-width: none;
  }
  .post-card {
    min-height: 330px;
    margin-bottom: 14px;
    padding: 28px 22px;
  }
}
/* Keep the language switch beside the floating menu control. */
/* Fine-tune the desktop header controls and their responsive behavior. */
.site-header .header-controls {
  display: flex;
  flex-direction: row;
  width: auto;
  margin: 0;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}
.site-header .language-switch {
  position: relative;
  inset: auto;
  z-index: 3;
  display: inline-flex;
  min-height: 48px;
  padding: 0 16px;
  align-items: center;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.site-header .language-switch:hover {
  background: var(--orange);
  color: #4F4D46;
  text-decoration: none;
  transform: translate(-2px, -2px) scale(1.04);
}
.site-header.is-open .language-switch {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}
@media (max-width: 720px) {
  .site-header .header-controls {
    gap: 10px;
  }
  .site-header .language-switch {
    min-height: 50px;
    padding: 0 12px;
  }
}
/* Portrait hover caption */
/* Add portrait framing, caption positioning, and cursor-following hover behavior. */
.about-photo {
  position: relative;
}
.about-photo figcaption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  margin: 0;
  padding: 8px 12px;
  background: var(--lime);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 12px 12px 12px 3px;
  box-shadow: 3px 3px 0 var(--ink);
  font: 11px var(--mono);
  white-space: nowrap;
  opacity: 0;
  transform: translate(8px, 8px) scale(.96);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.about-photo figcaption::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  background: var(--lime);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: skewY(-30deg) rotate(20deg);
}
.about-photo:hover figcaption, .about-photo:focus-within figcaption {
  opacity: 1;
  transform: translate(8px, 0) scale(1);
}
.about-photo img {
  cursor: help;
}
/* Cursor-following portrait bubble */
.about-photo {
  --bubble-x: 50%;
  --bubble-y: 50%;
}
.about-photo figcaption {
  left: var(--bubble-x);
  top: var(--bubble-y);
  bottom: auto;
  transform-origin: left bottom;
  transform: translate(14px, calc(-100% - 14px)) scale(.86) rotate(-3deg);
  opacity: 0;
}
.about-photo:hover figcaption, .about-photo:focus-within figcaption {
  opacity: 1;
  transform: translate(14px, calc(-100% - 14px)) scale(1) rotate(0);
  animation: portrait-bubble-pop .34s cubic-bezier(.2, .9, .25, 1.35) both;
}
@keyframes portrait-bubble-pop {
  0% {
    opacity: 0;
    transform: translate(10px, calc(-100% - 6px)) scale(.72) rotate(-5deg);
  }
  65% {
    opacity: 1;
    transform: translate(16px, calc(-100% - 16px)) scale(1.06) rotate(1deg);
  }
  100% {
    opacity: 1;
    transform: translate(14px, calc(-100% - 14px)) scale(1) rotate(0);
  }
}
/* Reduced-motion override temporarily disabled.
@media (prefers-reduced-motion: reduce) {
  .about-photo figcaption {
    animation: none !important;
    transition: opacity .01ms;
  }
}
*/
/* Cleaner portrait bubble */
.about-photo figcaption {
  box-shadow: none;
}
/* Use the normal cursor over the portrait */
.about-photo, .about-photo img {
  cursor: default;
}
/* Hide the cursor over the portrait */
.about-photo, .about-photo img {
  cursor: none;
}
/* Keep back links clear of the menu */
.page-back {
  display: block;
  width: fit-content;
  margin: 34px 0 0 auto;
}
.guestbook-main .page-back {
  margin-right: 34px;
}
@media (max-width: 720px) {
  .page-back, .guestbook-main .page-back {
    margin-right: 20px;
  }
}
/* Align the floating header controls as one compact stack. */
.site-header {
  --floating-control-width: 190px;
  --floating-control-height: 50px;
}
.site-header .brand-controls, .site-header .header-controls {
  width: var(--floating-control-width);
}
.site-header .brand-controls {
  height: var(--floating-control-height);
  min-height: var(--floating-control-height);
  padding-top: 0;
  padding-bottom: 0;
  background: color-mix(in srgb, var(--paper) 62%, transparent);
}
.site-header .header-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.site-header.controls-open .header-controls, .site-header.is-open .header-controls {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}
.site-header .language-switch, .site-header .menu-button {
  width: 100%;
  min-width: 0;
  min-height: var(--floating-control-height);
  padding-left: 10px;
  padding-right: 10px;
  border-color: var(--ink);
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 72%, transparent);
}
/* Navigation stays expanded at every scroll position. */
.site-header .site-nav {
  position: static;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  max-height: none;
  overflow: visible;
}
.site-header.is-scrolled,
.site-header.is-scrolled:hover,
.site-header.is-scrolled:focus-within {
  width: var(--header-width, 100%);
  height: auto;
  padding: var(--header-padding, 18px 24px);
}
.site-header.is-scrolled .brand-controls,
.site-header.is-scrolled .header-controls {
  position: static;
  width: auto;
}
.site-header.is-scrolled .brand-controls .wordmark,
.site-header.is-scrolled .brand-controls .theme-toggle,
.site-header.is-scrolled .language-switch {
  display: inline-flex;
  opacity: 1;
  pointer-events: auto;
}
.menu-button {
  display: inline-flex !important;
  cursor: default;
}

/* Header control reset: keep the public controls in one stable, compact row. */
.site-header, .site-header.is-scrolled, .site-header.is-scrolled:hover, .site-header.is-scrolled:focus-within {
  position: fixed; inset: 0 auto auto 0; box-sizing: border-box; display: flex;
  width: 100%; height: auto; min-height: 0; margin: 0; padding: 16px 24px;
  flex-direction: row; align-items: center; justify-content: space-between; gap: 12px;
  background: transparent; pointer-events: none;
}
.site-header .brand-controls, .site-header.is-scrolled .brand-controls, .site-header.is-scrolled:hover .brand-controls, .site-header.is-scrolled:focus-within .brand-controls {
  display: flex; width: auto; padding: 10px 12px; align-items: center; gap: 14px; pointer-events: auto;
}
.site-header .header-controls, .site-header.is-scrolled .header-controls, .site-header.is-scrolled:hover .header-controls, .site-header.is-scrolled:focus-within .header-controls {
  position: relative; display: flex; width: auto; align-items: center; gap: 10px; pointer-events: auto;
}
.site-header .brand-controls .wordmark, .site-header .brand-controls .theme-toggle, .site-header .language-switch, .site-header.is-scrolled .brand-controls .wordmark, .site-header.is-scrolled .brand-controls .theme-toggle, .site-header.is-scrolled .language-switch {
  display: inline-flex; opacity: 1; pointer-events: auto;
}
.site-header .site-nav, .site-header.is-open .site-nav {
  position: fixed; z-index: 45; top: 84px; right: 24px; left: auto; display: flex;
  width: min(330px, calc(100vw - 48px)); max-height: calc(100svh - 108px); padding: 12px;
  flex-direction: column; gap: 2px; overflow-y: auto; border: 1px solid var(--ink);
  background: var(--paper); box-shadow: 6px 6px 0 var(--ink); opacity: 0; visibility: hidden;
  pointer-events: none; transform: translateY(-8px);
}
.site-header.is-open .site-nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.site-header .site-nav a {
  display: block; width: 100%; box-sizing: border-box; padding: 10px; color: var(--ink);
  font-size: clamp(22px, 4vw, 32px); line-height: 1.1;
}
.site-header .menu-button { display: inline-flex !important; min-width: 76px; min-height: 48px; padding: 0 14px; cursor: pointer; }
@media (max-width: 480px) {
  .site-header, .site-header.is-scrolled, .site-header.is-scrolled:hover, .site-header.is-scrolled:focus-within { padding: 12px; gap: 8px; }
  .site-header .brand-controls { gap: 10px; padding: 9px 10px; }
  .site-header .wordmark { font-size: 15px; }
  .site-header .theme-toggle { min-width: 54px; padding-inline: 10px; }
  .site-header .language-switch { display: none; }
  .site-header .menu-button { min-width: 66px; min-height: 44px; padding-inline: 10px; }
  .site-header .site-nav, .site-header.is-open .site-nav { top: 72px; right: 12px; width: calc(100vw - 24px); max-height: calc(100svh - 88px); }
}

/* Keep every header button visible in every header state. */
.site-header .brand-controls,
.site-header .header-controls,
.site-header .language-switch,
.site-header .menu-button,
.site-header.is-scrolled .brand-controls,
.site-header.is-scrolled .header-controls,
.site-header.is-scrolled .language-switch,
.site-header.is-scrolled .menu-button {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-header .brand-controls,
.site-header .header-controls {
  transform: none;
}

.site-header.is-scrolled .brand-controls,
.site-header.is-scrolled .header-controls {
  position: static;
  width: auto;
}

.site-header.is-scrolled .brand-controls .wordmark,
.site-header.is-scrolled .brand-controls .theme-toggle,
.site-header.is-scrolled .language-switch,
.site-header.is-scrolled .menu-button {
  display: inline-flex;
  opacity: 1;
  pointer-events: auto;
}

.site-header.is-scrolled .menu-button {
  width: auto;
  height: auto;
  padding: 10px 14px;
  font-size: 14px;
}

.site-header.is-scrolled .menu-button::after {
  display: none;
}
.site-header .language-switch {
  position: static;
  display: inline-flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.site-header .header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-header .site-nav,
.site-header.is-open .site-nav {
  position: static;
  width: auto;
  max-height: none;
  padding: 0;
  overflow: visible;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
/* On longer pages, keep the navigation out of the way until it is needed. */
.site-header.is-scrolled {
  /* Keep a stable hover target while the controls unfold. The header is
     pointer-transparent between controls, so this does not block the page. */
  width: 190px;
  height: 124px;
  padding: 0;
  gap: 0;
  transition: width .35s cubic-bezier(.22, 1, .36, 1), height .35s cubic-bezier(.22, 1, .36, 1);
}
.site-header.is-scrolled:hover, .site-header.is-scrolled:focus-within {
  width: 190px;
  height: 124px;
}
.site-header.is-scrolled .brand-controls, .site-header.is-scrolled .header-controls {
  position: absolute;
  top: 0;
  left: 0;
  transition: width .35s cubic-bezier(.22, 1, .36, 1), opacity .2s ease;
}
.site-header.is-scrolled .brand-controls {
  width: 54px;
  overflow: hidden;
}
.site-header.is-scrolled .brand-controls .theme-toggle {
  display: none;
}
.site-header.is-scrolled .brand-controls .wordmark {
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.site-header.is-scrolled .header-controls {
  width: 54px;
  grid-template-columns: 1fr;
  gap: 0;
}
.site-header.is-scrolled .language-switch {
  display: none;
}
.site-header.is-scrolled .menu-button {
  width: 54px;
  height: 54px;
  padding: 0;
  border-color: color-mix(in srgb, var(--ink) 48%, transparent);
  background: color-mix(in srgb, var(--paper) 58%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 4px 4px 0 color-mix(in srgb, var(--ink) 42%, transparent);
  font-size: 0;
}
.site-header.is-scrolled .menu-button::after {
  content: 'â°';
  font-size: 16px;
}
.site-header.is-scrolled:hover .brand-controls, .site-header.is-scrolled:focus-within .brand-controls {
  width: 190px;
}
.site-header.is-scrolled:hover .header-controls, .site-header.is-scrolled:focus-within .header-controls {
  left: 0;
  top: 60px;
  width: 190px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.site-header.is-scrolled:hover .brand-controls .wordmark, .site-header.is-scrolled:focus-within .brand-controls .wordmark, .site-header.is-scrolled:hover .language-switch, .site-header.is-scrolled:focus-within .language-switch {
  opacity: 1;
  pointer-events: auto;
}
.site-header.is-scrolled:hover .language-switch, .site-header.is-scrolled:focus-within .language-switch {
  display: inline-flex;
}
.site-header.is-scrolled:hover .menu-button, .site-header.is-scrolled:focus-within .menu-button {
  width: 100%;
  height: auto;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 13px;
}
.site-header.is-scrolled:hover .menu-button::after, .site-header.is-scrolled:focus-within .menu-button::after {
  display: none;
}
/* Keep the overlay and language tile stable when the compact header is opened. */
.site-header.is-open.is-scrolled {
  width: 190px;
  height: 124px;
}
.site-header.is-open.is-scrolled .brand-controls {
  width: 190px;
}
.site-header.is-open.is-scrolled .brand-controls .theme-toggle, .site-header.is-open.is-scrolled .brand-controls .wordmark {
  opacity: 1;
  pointer-events: auto;
}
.site-header.is-open.is-scrolled .brand-controls .theme-toggle {
  display: inline-flex;
}
.site-header.is-open.is-scrolled .header-controls {
  left: 0;
  top: 60px;
  width: 190px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.site-header.is-open.is-scrolled .language-switch {
  display: inline-flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.site-header.is-open.is-scrolled .menu-button {
  width: 100%;
  height: auto;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 13px;
}
.site-header.is-open.is-scrolled .menu-button::after {
  display: none;
}
/* Keep the compact control's hover state visible after the header expands. */
.site-header .menu-button:hover {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}
@media (max-width: 720px) {
  .site-header.is-scrolled:hover, .site-header.is-scrolled:focus-within {
    width: calc(100vw - 32px);
    height: 116px;
  }
  .site-header.is-scrolled:hover .header-controls, .site-header.is-scrolled:focus-within .header-controls {
    left: 0;
    top: 62px;
    width: 100%;
  }
  .site-header.is-scrolled:hover .brand-controls, .site-header.is-scrolled:focus-within .brand-controls {
    width: 100%;
  }
  .site-header.is-open.is-scrolled {
    width: calc(100vw - 32px);
    height: 116px;
  }
  .site-header.is-open.is-scrolled .brand-controls {
    width: 100%;
  }
  .site-header.is-open.is-scrolled .header-controls {
    left: 0;
    top: 62px;
    width: 100%;
  }
}
/* Set the portrait caption's default editorial presentation. */
.about-photo figcaption {
  position: static;
  display: block;
  margin-top: 14px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: 400 18px/1.15 var(--sans);
  letter-spacing: 0;
  white-space: normal;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: color .2s ease;
}
.about-photo figcaption::after {
  display: none;
}
.about-photo:hover figcaption, .about-photo:focus-within figcaption {
  opacity: 1;
  transform: none;
  animation: none;
}
.about-photo, .about-photo img {
  cursor: default;
}
/* On precise pointers, turn the portrait caption into a cursor-following tooltip. */
@media (hover: hover) and (pointer: fine) {
  .about-photo figcaption {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 50;
    margin: 0;
    padding: .2rem .45rem .25rem;
    background: color-mix(in srgb, var(--ink) 60%, transparent);
    color: #EDE8D0;
    border: 0;
    border-radius: 0;
    backdrop-filter: blur(8px);
    font: 400 18px/1 var(--sans);
    white-space: nowrap;
    pointer-events: none;
    transform-origin: left top;
    opacity: 0;
    scale: .87;
    rotate: 0deg;
    will-change: left, top, rotate, opacity, scale;
  }
  .about-photo figcaption.is-entering {
    animation: portrait-tooltip-in .4s cubic-bezier(.34, 1.56, .64, 1) forwards;
  }
  .about-photo figcaption.is-exiting {
    animation: portrait-tooltip-out .1s ease forwards;
  }
}
@keyframes portrait-tooltip-in {
  from {
    opacity: 0;
    scale: .87;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}
@keyframes portrait-tooltip-out {
  from {
    opacity: 1;
    scale: 1;
  }
  to {
    opacity: 0;
    scale: .95;
  }
}
/* Reduced-motion override temporarily disabled.
@media (prefers-reduced-motion: reduce) and (hover: hover) and (pointer: fine) {
  .about-photo figcaption.is-entering {
    animation: none;
    opacity: 1;
    scale: 1;
  }
  .about-photo figcaption.is-exiting {
    animation: none;
    opacity: 0;
  }
}
*/
/* Layer the latest-post image, gradient, content, and hover zoom treatment. */
.latest-post-card.has-image {
  overflow: hidden;
  padding: 0;
  isolation: isolate;
  background: var(--ink);
  color: #EDE8D0;
}
.latest-post-card.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 10, .12) 10%, rgba(10, 10, 10, .82) 88%);
  pointer-events: none;
}
.latest-post-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .35s ease;
}
.latest-post-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  width: 100%;
  padding: clamp(30px, 4vw, 56px);
  flex-direction: column;
  justify-content: flex-end;
}
.latest-post-card.has-image .eyebrow, .latest-post-card.has-image h2, .latest-post-card.has-image > .latest-post-content > p:not(.eyebrow), .latest-post-card.has-image .text-link {
  color: #EDE8D0;
}
.latest-post-card.has-image h2 {
  text-shadow: 0 2px 24px rgba(0, 0, 0, .55);
}
/* Reserve space for the whole panel so revealing it never shifts the text. */
.latest-post-card.has-image .latest-post-panel {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: clamp(24px, 3vw, 40px);
  color: #EDE8D0;
}
.latest-post-card.has-image .latest-post-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.latest-post-card.has-image .latest-post-panel .eyebrow,
.latest-post-card.has-image .latest-post-panel h2,
.latest-post-card.has-image .latest-post-panel .text-link {
  color: inherit;
  text-shadow: none;
}
.latest-post-panel h2 {
  margin: 0;
  overflow-wrap: anywhere;
}
.latest-post-panel > p:not(.eyebrow) {
  margin: 20px 0 24px;
}
.latest-post-card.has-image:hover .latest-post-panel,
.latest-post-card.has-image:focus-visible .latest-post-panel {
  color: var(--ink);
}
.latest-post-card.has-image:hover .latest-post-panel::before,
.latest-post-card.has-image:focus-visible .latest-post-panel::before {
  opacity: 1;
}
@media (hover: none) {
  .latest-post-card.has-image .latest-post-panel { color: var(--ink); }
  .latest-post-card.has-image .latest-post-panel::before { opacity: 1; }
}
/* Reduced-motion override temporarily disabled.
@media (prefers-reduced-motion: reduce) {
  .latest-post-card.has-image .latest-post-panel::before { transition: none; }
}
*/
.latest-post-card.has-image:hover {
  background: var(--ink);
}
.latest-post-card.has-image:hover .latest-post-image {
  transform: scale(1.045);
  filter: saturate(1.06);
}
/* Style Spotify embeds attached to individual writing posts. */
.post-spotify {
  max-width: 760px;
  margin: 0 0 44px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}
.post-spotify .eyebrow {
  margin-bottom: 12px;
}
.post-spotify-player {
  display: block;
  width: 100%;
  min-height: 152px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
}
@media (max-width: 720px) {
  .post-spotify {
    margin-bottom: 34px;
    padding-top: 20px;
  }
  .post-spotify-player {
    border-radius: 9px;
  }
}
/* Keep long-form writing centered while preserving readable line lengths and media spacing. */
.post-page {
  width: min(100%, 760px);
  margin: 0 auto;
  padding-bottom: 100px;
}
.post-page .post-header {
  padding: 92px 0 54px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.post-page .post-header h1 {
  max-width: 760px;
  margin: 0 auto;
}
.post-page .post-description {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 18px;
}
.post-page .post-spotify {
  width: min(100%, 680px);
  max-width: none;
  margin: 42px auto 0;
}
.post-page .post-content {
  width: min(100%, 680px);
  margin: 52px auto 0;
}
.post-page .post-content h2 {
  margin: 56px 0 18px;
  font-size: clamp(30px, 3.5vw, 46px);
}
.post-page .post-content p {
  margin: 0 0 22px;
}
.post-page .post-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 34px auto;
  border: 1px solid var(--line);
}
.post-page .post-content .post-figure {
  margin: 34px 0;
}
.post-page .post-content .post-figure img {
  margin: 0 auto;
}
.post-page .post-content .post-figure figcaption {
  margin-top: 14px;
  color: var(--ink);
  font: 400 18px/1.15 var(--sans);
}

.post-caption-tooltip {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .post-page .post-content .post-figure.has-pointer-caption {
    cursor: none;
  }
  .post-page .post-content .post-figure.has-pointer-caption figcaption {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .post-caption-tooltip {
    position: fixed;
    display: block;
    left: 0;
    top: 0;
    z-index: 1000;
    margin: 0;
    padding: .4rem .6rem .45rem;
    background: color-mix(in srgb, var(--ink) 68%, transparent);
    color: #EDE8D0;
    border: 1px solid currentColor;
    backdrop-filter: blur(8px);
    font: 500 12px/1 var(--mono);
    letter-spacing: .02em;
    white-space: nowrap;
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    scale: .94;
    pointer-events: none;
    transform-origin: left top;
    max-width: calc(100vw - 16px);
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .post-caption-tooltip.is-entering {
    animation: portrait-tag-reveal .45s cubic-bezier(.2, .8, .2, 1) forwards;
  }
  .post-caption-tooltip.is-exiting {
    animation: portrait-tag-hide .16s ease forwards;
  }
}

/* Reduced-motion override temporarily disabled.
@media (prefers-reduced-motion: reduce) and (hover: hover) and (pointer: fine) {
  .post-caption-tooltip.is-entering {
    animation: none;
    clip-path: inset(0);
    opacity: 1;
    scale: 1;
  }
  .post-caption-tooltip.is-exiting {
    animation: none;
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    scale: 1;
  }
}
*/
.post-page .post-back {
  width: min(100%, 680px);
  margin: 68px auto 0;
  padding-top: 24px;
  text-align: center;
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) {
  .post-page {
    padding-bottom: 72px;
  }
  .post-page .post-header {
    padding: 68px 0 40px;
  }
  .post-page .post-description {
    font-size: 16px;
  }
  .post-page .post-spotify {
    margin-top: 30px;
  }
  .post-page .post-content {
    margin-top: 36px;
  }
  .post-page .post-content h2 {
    margin-top: 44px;
  }
  .post-page .post-back {
    margin-top: 52px;
  }
}
/* Override the guestbook page to use the paper palette without a photo background. */
.guestbook-main {
  background-color: var(--paper);
  background-image: none;
  color: var(--ink);
}
.guestbook-main .page-back {
  color: var(--muted);
  text-shadow: none;
}
.guestbook-main .page-intro {
  background: var(--line);
  color: var(--ink);
  backdrop-filter: none;
}
.guestbook-main .page-intro .eyebrow, .guestbook-main .page-intro > p:last-child, .guestbook-main .guestbook-callout .eyebrow, .guestbook-main .guestbook-callout > p:not(.eyebrow) {
  color: var(--ink);
}
.guestbook-main .guestbook-callout {
  background: var(--lime);
  color: var(--ink);
  backdrop-filter: none;
}
.guestbook-main .page-back {
  margin-left: auto;
  margin-right: 34px;
}
/* Add subtle portrait depth and an animated editorial tag on hover-capable devices. */
@media (hover: hover) and (pointer: fine) {
  .about-photo {
    position: relative;
    overflow: hidden;
  }
  .about-photo img {
    transform: translate3d(var(--portrait-shift-x, 0px), var(--portrait-shift-y, 0px), 0) scale(1);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), filter .35s ease;
    will-change: transform;
  }
  .about-photo.is-hovering img {
    transform: translate3d(var(--portrait-shift-x, 0px), var(--portrait-shift-y, 0px), 0) scale(1.045);
    filter: saturate(1.06) contrast(1.02);
  }
  .about-photo figcaption {
    padding: .58rem .82rem .62rem;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 999px;
    box-shadow: 4px 4px 0 var(--orange);
    font: 500 12px/1 var(--mono);
    letter-spacing: .02em;
    clip-path: inset(0 100% 0 0 round 999px);
    scale: .94;
    will-change: left, top, opacity, scale, clip-path;
  }
  .about-photo figcaption::before {
    content: '01 /';
    margin-right: .6rem;
    color: var(--muted);
  }
  .about-photo figcaption.is-entering {
    animation: portrait-tag-reveal .45s cubic-bezier(.2, .8, .2, 1) forwards;
  }
  .about-photo figcaption.is-exiting {
    animation: portrait-tag-hide .16s ease forwards;
  }
}
@keyframes portrait-tag-reveal {
  from {
    opacity: 0;
    scale: .94;
    clip-path: inset(0 100% 0 0 round 999px);
  }
  to {
    opacity: 1;
    scale: 1;
    clip-path: inset(0 0 0 0 round 999px);
  }
}
@keyframes portrait-tag-hide {
  from {
    opacity: 1;
    scale: 1;
    clip-path: inset(0 0 0 0 round 999px);
  }
  to {
    opacity: 0;
    scale: .97;
    clip-path: inset(0 100% 0 0 round 999px);
  }
}
/* Reduced-motion override temporarily disabled.
@media (prefers-reduced-motion: reduce) and (hover: hover) and (pointer: fine) {
  .about-photo img {
    transition: none;
  }
  .about-photo figcaption.is-entering {
    animation: none;
    opacity: 1;
    scale: 1;
    clip-path: inset(0);
  }
  .about-photo figcaption.is-exiting {
    animation: none;
    opacity: 0;
    clip-path: inset(0 100% 0 0 round 999px);
  }
}
*/
/* Finalize the portrait hover tag as a square outlined caption. */
@media (hover: hover) and (pointer: fine) {
  .about-photo figcaption {
    padding: .4rem .6rem .45rem;
    background: transparent;
    color: #EDE8D0;
    border: 1px solid currentColor;
    border-radius: 0;
    box-shadow: none;
    clip-path: inset(0 100% 0 0);
  }
  .about-photo figcaption::before {
    content: none;
    margin-right: 0;
  }
}
@keyframes portrait-tag-reveal {
  from {
    opacity: 0;
    scale: .94;
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    scale: 1;
    clip-path: inset(0);
  }
}
@keyframes portrait-tag-hide {
  from {
    opacity: 1;
    scale: 1;
    clip-path: inset(0);
  }
  to {
    opacity: 0;
    scale: .97;
    clip-path: inset(0 100% 0 0);
  }
}
/* Reduced-motion override temporarily disabled.
@media (prefers-reduced-motion: reduce) and (hover: hover) and (pointer: fine) {
  .about-photo figcaption.is-entering {
    clip-path: inset(0);
  }
  .about-photo figcaption.is-exiting {
    clip-path: inset(0 100% 0 0);
  }
}
*/
/* Keep writing-page introductions compact after the earlier responsive defaults. */
.page-main:not(.guestbook-main) .page-intro {
  min-height: auto;
}
@media (max-width: 720px) {
  .page-main:not(.guestbook-main) .page-intro {
    min-height: auto;
  }
}
/* Current mobile-safe header layout. */
.site-header, .site-header.is-scrolled, .site-header.is-scrolled:hover, .site-header.is-scrolled:focus-within { position: fixed; inset: 0 auto auto 0; display: flex; box-sizing: border-box; width: 100%; height: auto; min-height: 0; margin: 0; padding: 16px 24px; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.site-header .brand-controls, .site-header.is-scrolled .brand-controls, .site-header .header-controls, .site-header.is-scrolled .header-controls { position: relative; display: flex; width: auto; padding: 10px 12px; align-items: center; gap: 12px; pointer-events: auto; }
.site-header .header-controls, .site-header.is-scrolled .header-controls { padding: 0; gap: 10px; }
.site-header .brand-controls .wordmark, .site-header .brand-controls .theme-toggle, .site-header .language-switch, .site-header.is-scrolled .brand-controls .wordmark, .site-header.is-scrolled .brand-controls .theme-toggle, .site-header.is-scrolled .language-switch { display: inline-flex; opacity: 1; pointer-events: auto; }
.site-header .site-nav, .site-header.is-open .site-nav { position: fixed; z-index: 45; top: 84px; right: 24px; left: auto; display: flex; width: min(330px, calc(100vw - 48px)); max-height: calc(100svh - 108px); padding: 12px; flex-direction: column; gap: 2px; overflow-y: auto; border: 1px solid var(--ink); background: var(--paper); box-shadow: 6px 6px 0 var(--ink); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); }
.site-header.is-open .site-nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.site-header .site-nav a { display: block; width: 100%; box-sizing: border-box; padding: 10px; color: var(--ink); font-size: clamp(22px, 4vw, 32px); line-height: 1.1; }
.site-header .menu-button, .site-header.is-scrolled .menu-button { display: inline-flex !important; width: auto; min-width: 76px; min-height: 48px; padding: 0 14px; font-size: 13px; cursor: pointer; }
@media (max-width: 480px) { .site-header, .site-header.is-scrolled, .site-header.is-scrolled:hover, .site-header.is-scrolled:focus-within { padding: 12px; gap: 6px; } .site-header .brand-controls { gap: 6px; padding: 7px; } .site-header .wordmark { font-size: 13px; } .site-header .theme-toggle { min-width: 44px; padding-inline: 6px; } .site-header .language-switch { display: none; } .site-header .menu-button, .site-header.is-scrolled .menu-button { min-width: 48px; min-height: 40px; padding-inline: 6px; font-size: 12px; } .site-header .site-nav, .site-header.is-open .site-nav { top: 68px; right: 12px; width: calc(100vw - 24px); max-height: calc(100svh - 84px); } }

/* Keep the wordmark as the compact header control. Its hover and keyboard
   focus reveal the language and navigation actions; they remain available
   while the pointer is anywhere over the header so they can be selected. */
.site-header .header-controls {
  position: absolute;
  top: 76px;
  left: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.site-header.controls-open .header-controls,
.site-header:focus-within .header-controls,
.site-header.is-open .header-controls {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  /* A transformed ancestor turns the fixed navigation panel into a
     header-controls-relative panel, placing its page links off-screen. */
  transform: none;
  transition-delay: 0s;
}
@media (max-width: 480px) {
  .site-header .header-controls {
    top: 60px;
    left: 12px;
  }
  .site-header .language-switch {
    display: inline-flex;
  }
}

/* The navigation panel belongs to the Menu button: align its right edge to
   that button and open it immediately below the Korean/Menu control row. */
.site-header .site-nav,
.site-header.is-open .site-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: auto;
  left: calc(100% - 76px);
  width: min(260px, calc(100vw - 96px));
}
@media (max-width: 480px) {
  .site-header .site-nav,
  .site-header.is-open .site-nav {
    left: calc(100% - 48px);
  }
}

/* The current menu is a compact dropdown. Disable the obsolete full-height
   backdrop and right-side drawer left behind by the earlier header design. */
.site-header::before,
.site-header::after {
  display: none;
}

/* Keep the portrait caption semantic and readable without hover. */
.about-photo figcaption,
.about-photo:hover figcaption,
.about-photo:focus-within figcaption {
  position: static;
  display: block;
  margin-top: 14px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  border: 0;
  box-shadow: none;
  clip-path: none;
  opacity: 1;
  scale: 1;
  animation: none;
  pointer-events: auto;
}

/* The visual pointer tag lives at body level so section containment cannot
   offset or clip it. The original figcaption remains as the semantic source. */
.portrait-caption-tooltip {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .about-photo,
  .about-photo img {
    cursor: none;
  }

  .about-photo.has-pointer-caption figcaption,
  .about-photo.has-pointer-caption:hover figcaption,
  .about-photo.has-pointer-caption:focus-within figcaption {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    opacity: 1;
    animation: none;
    pointer-events: none;
  }

  .portrait-caption-tooltip {
    position: fixed;
    display: block;
    left: 0;
    top: 0;
    z-index: 1000;
    margin: 0;
    padding: .4rem .6rem .45rem;
    background: color-mix(in srgb, var(--ink) 68%, transparent);
    color: #EDE8D0;
    border: 1px solid currentColor;
    border-radius: 0;
    backdrop-filter: blur(8px);
    font: 500 12px/1 var(--mono);
    letter-spacing: .02em;
    white-space: nowrap;
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    scale: .94;
    rotate: 0deg;
    animation: none;
    pointer-events: none;
    transform-origin: left top;
    will-change: left, top, opacity, scale, rotate, clip-path;
  }

  .portrait-caption-tooltip.is-entering {
    animation: portrait-tag-reveal .45s cubic-bezier(.2, .8, .2, 1) forwards;
  }

  .portrait-caption-tooltip.is-exiting {
    animation: portrait-tag-hide .16s ease forwards;
  }
}

/* Reduced-motion override temporarily disabled.
@media (prefers-reduced-motion: reduce) and (hover: hover) and (pointer: fine) {
  .portrait-caption-tooltip.is-entering {
    animation: none;
    clip-path: inset(0);
    opacity: 1;
    scale: 1;
  }

  .portrait-caption-tooltip.is-exiting {
    animation: none;
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    scale: 1;
  }
}
*/

/* Mobile controls are always available: touchscreens must not depend on a
   hover state before theme, language, or navigation actions can be tapped. */
@media (max-width: 900px) {
  .site-header,
  .site-header.is-scrolled,
  .site-header.is-scrolled:hover,
  .site-header.is-scrolled:focus-within {
    min-height: 68px;
    padding: 10px 12px;
    gap: 6px;
  }

  .site-header .brand-controls,
  .site-header.is-scrolled .brand-controls {
    min-width: 0;
    min-height: 48px;
    padding: 2px 5px;
    gap: 4px;
  }

  .site-header .header-controls,
  .site-header.is-scrolled .header-controls {
    position: static;
    inset: auto;
    display: flex;
    width: auto;
    padding: 0;
    gap: 6px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .site-header .wordmark,
  .site-header .theme-toggle,
  .site-header .language-switch,
  .site-header .menu-button,
  .site-header.is-scrolled .wordmark,
  .site-header.is-scrolled .theme-toggle,
  .site-header.is-scrolled .language-switch,
  .site-header.is-scrolled .menu-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header .wordmark {
    padding: 0 4px;
  }

  .site-header .theme-toggle {
    min-width: 48px;
    padding-inline: 6px;
  }

  .site-header .language-switch {
    min-width: 52px;
    padding-inline: 6px;
  }

  .site-header .menu-button,
  .site-header.is-scrolled .menu-button {
    min-width: 54px;
    min-height: 44px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .site-header .site-nav,
  .site-header.is-open .site-nav {
    position: fixed;
    top: 76px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100svh - 92px);
  }

  .music-banner-inner {
    padding-top: 88px;
  }

  .analog-grain,
  .film-grain {
    animation-duration: .6s;
  }
}

@media (max-width: 360px) {
  .site-header,
  .site-header.is-scrolled,
  .site-header.is-scrolled:hover,
  .site-header.is-scrolled:focus-within {
    padding-inline: 8px;
    gap: 4px;
  }

  .site-header .brand-controls {
    padding-inline: 4px;
    gap: 2px;
  }

  .site-header .header-controls {
    gap: 4px;
  }

  .site-header .language-switch,
  .site-header .menu-button,
  .site-header.is-scrolled .menu-button {
    min-width: 48px;
    padding-inline: 5px;
  }

  .site-header .site-nav,
  .site-header.is-open .site-nav {
    right: 8px;
    left: 8px;
    width: auto;
  }

  .music-banner-inner {
    padding-right: 12px;
    padding-left: 12px;
  }

  .spotify-player {
    width: calc(100% + 24px);
    max-width: none;
    margin-left: -12px;
    border-radius: 0;
  }
}
