@font-face {
  font-family: 'Playfair Display';
  src: url('assets/fonts/playfair-display-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0b0c0b;
  --surface: #141511;
  --text: #eceee8;
  --muted: #9ba096;
  --gold: #c9b27e;
  --gold-bright: #e2cd97;
  --gold-dim: rgba(201, 178, 126, .16);
  --line: #262824;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { min-width: 960px; }
body { margin: 0; background: var(--background); color: var(--text); font: 400 16px/1.75 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-bright); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--gold); color: #15130c; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.3; }
p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }
.icon { width: 16px; height: 16px; flex-shrink: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 8px 16px; background: var(--text); color: var(--background); z-index: 30; }
.skip-link:focus { top: 10px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(11, 12, 11, .84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1280px; width: calc(100% - 96px); height: 80px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.site-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: .01em; }
nav { display: flex; align-items: center; gap: 34px; font-size: 15px; }
nav > a { position: relative; padding: 28px 0; color: var(--muted); }
nav > a:hover { color: var(--text); }
nav a[aria-current="page"] { color: var(--gold); }
nav a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 20px; height: 1px; background: var(--gold); }

/* Shared page scaffold */
.page { max-width: 1180px; width: calc(100% - 128px); margin: 64px auto 100px; min-height: calc(100vh - 295px); }
.page-heading { margin-bottom: 48px; }
.page-heading h1 { font-family: var(--font-display); font-size: clamp(40px, 3.6vw, 54px); font-weight: 600; letter-spacing: -.01em; }
.page-heading > p { color: var(--muted); margin-top: 14px; max-width: 700px; font-size: 17px; }
.meta { color: var(--muted); font-size: 14px; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--gold); }
.text-link:hover { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--gold); color: #15130c; font-weight: 600; font-size: 15px; line-height: 1; padding: 17px 30px; border-radius: 999px; transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.btn:hover { background: var(--gold-bright); color: #15130c; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(201, 178, 126, .22); }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--text); border: 1px solid #3a3d35; font-weight: 500; font-size: 15px; line-height: 1; padding: 16px 28px; border-radius: 999px; transition: border-color .25s ease, color .25s ease; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

/* Home hero */
.home-page { max-width: none; width: 100%; margin: 0; min-height: 0; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 81px); border-bottom: 1px solid var(--line); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px 72px 100px; }
.hero-eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.hero-copy h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(46px, 4.4vw, 68px); line-height: 1.08; letter-spacing: -.01em; margin-bottom: 14px; }
.hero-sub { font-family: var(--font-display); font-size: 22px; color: var(--gold); margin-bottom: 30px; }
.hero-lede { font-size: 18px; line-height: 1.7; color: #c4c8bd; max-width: 540px; margin-bottom: 42px; }
.hero-actions { display: flex; align-items: center; gap: 16px; }
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 26% 50%; }
.hero-photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(-90deg, var(--background) 0%, rgba(11, 12, 11, .55) 16%, rgba(11, 12, 11, 0) 46%), linear-gradient(0deg, rgba(11, 12, 11, .5) 0%, rgba(11, 12, 11, 0) 28%); }

/* Home sections */
.home-section { max-width: 1280px; width: calc(100% - 96px); margin: 0 auto; padding: 100px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 44px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(30px, 2.6vw, 40px); font-weight: 600; }

/* Project panels */
.panel-stack { display: grid; gap: 44px; }
.panel { position: relative; display: block; height: 600px; border-radius: 20px; overflow: hidden; border: 1px solid var(--gold-dim); background: #080908; }
.panel:focus-visible { outline-offset: 7px; }
.panel-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: blur(38px) brightness(.42); transform: scale(1.3); }
.panel-img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: min(920px, calc(100% - 96px)); max-height: calc(100% - 96px); object-fit: contain; transition: transform .7s cubic-bezier(.2, .6, .2, 1); }
.panel-photo .panel-img { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; object-fit: cover; object-position: 50% 32%; }
.panel:hover .panel-img { transform: scale(1.025); }
.panel-badge { position: absolute; z-index: 2; top: 28px; left: 32px; font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #15130c; background: var(--gold); padding: 9px 17px; border-radius: 999px; }
.panel-content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: block; padding: 130px 48px 44px; background: linear-gradient(180deg, rgba(8, 9, 8, 0) 0%, rgba(8, 9, 8, .88) 46%, rgba(8, 9, 8, .97) 100%); }
.panel-meta { display: block; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 12px; }
.panel-title { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3vw, 42px); line-height: 1.15; color: #f4f5f0; margin-bottom: 10px; }
.panel-desc { display: block; color: #b9bdb2; font-size: 16px; line-height: 1.6; max-width: 620px; margin-bottom: 20px; }
.panel-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-bright); font-weight: 600; font-size: 15px; }
.panel:hover .panel-cta { text-decoration: underline; text-underline-offset: 4px; }

/* Home beyond strip + closing */
.home-beyond { display: grid; grid-template-columns: 1fr; gap: 44px; }
.beyond-card { position: relative; display: block; height: 460px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.beyond-card img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: brightness(.55); transition: transform .7s cubic-bezier(.2, .6, .2, 1); }
.beyond-music img { object-position: 50% 12%; }
.beyond-about img { object-position: 50% 20%; }
.beyond-card:hover img { transform: scale(1.04); }
.beyond-content { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: block; padding: 90px 38px 32px; background: linear-gradient(180deg, rgba(8, 9, 8, 0), rgba(8, 9, 8, .92) 55%); }
.beyond-meta { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 10px; }
.beyond-title { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 600; color: #f4f5f0; margin-bottom: 8px; }
.beyond-desc { display: block; color: #b9bdb2; font-size: 15px; line-height: 1.6; }
.home-cta { text-align: center; padding: 130px 32px 140px; }
.home-cta h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 3.4vw, 50px); letter-spacing: -.01em; margin-bottom: 36px; }

/* Video facade */
.video-facade { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; border: 1px solid var(--gold-dim); background: #000; }
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .7s cubic-bezier(.2, .6, .2, 1); }
.video-facade:hover img { transform: scale(1.03); }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 44px rgba(0, 0, 0, .5); transition: transform .25s ease, background .25s ease; }
.video-play svg { width: 34px; height: 34px; fill: #15130c; margin-left: 5px; }
.video-facade:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--gold-bright); }
.video-caption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: block; padding: 90px 40px 28px; background: linear-gradient(180deg, rgba(8, 9, 8, 0), rgba(8, 9, 8, .85) 60%); }
.video-title { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 600; color: #f4f5f0; margin-bottom: 6px; }
.video-meta { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright); }

/* Projects page */
.experience-section { margin-top: 110px; }
.earlier-project { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); align-items: center; }
.earlier-project img { width: 280px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.earlier-project h3 { font-size: 21px; margin-bottom: 10px; }
.earlier-project p { margin-bottom: 8px; color: #c4c8bd; }
.earlier-project .meta { color: var(--muted); }

/* Project detail pages */
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.back-link:hover { color: var(--gold-bright); }
.detail-head { max-width: 860px; margin-bottom: 48px; }
.detail-meta { font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.detail-head h1 { font-family: var(--font-display); font-size: clamp(44px, 4vw, 62px); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
.detail-sub { font-size: 20px; color: #c4c8bd; margin-top: 14px; }
.project-intro { max-width: 760px; margin: 26px 0 0; font-size: 17px; color: #c4c8bd; }
.project-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 30px 0 0; }
.reading-content + .project-actions { margin: 34px 0 0; }
.screenshot { margin: 0 0 52px; }
.screenshot .panel { height: 560px; }
.panel-static { cursor: default; }
.panel-static:hover .panel-img { transform: none; }
figcaption { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 850px; }
.reading-content { max-width: 760px; }
.reading-content section { margin-bottom: 36px; }
.reading-content h2 { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-bottom: 12px; }
.reading-content p { color: #c4c8bd; }
.source-note { color: var(--muted); font-size: 14px; max-width: 850px; margin: 28px 0; }
.source-note a { text-decoration: underline; text-underline-offset: 3px; }
.detail-gallery { margin: 8px 0 52px; }
.shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.shot-grid figure { margin: 0; }
.shot-frame { aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 14px; background: #0e100f; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.shot-frame img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.phone-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.phone-grid figure { margin: 0; }
.phone-grid img { width: 100%; border: 1px solid var(--line); border-radius: 18px; }
.phone-grid figcaption { text-align: center; }
.cert-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 22px; }
.cert-card { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; background: #101211; transition: border-color .25s ease; }
.cert-card:hover { border-color: var(--gold-dim); }
.cert-card > img { width: 62px; height: auto; border-radius: 6px; flex-shrink: 0; }
.cert-text { flex: 1; min-width: 0; }
.cert-title { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.cert-meta { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.cert-card .icon { width: 16px; height: 16px; flex-shrink: 0; }
.detail-next { margin-top: 72px; }
.detail-next .panel { height: 440px; }
.detail-nav-row { display: flex; justify-content: space-between; margin-top: 30px; }

/* Music page */
.accordion-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px; align-items: center; margin-bottom: 64px; }
.performance-image { display: block; }
.performance-image > img { width: 100%; aspect-ratio: 1.05; object-fit: cover; object-position: 40% 30%; border-radius: 20px; }
.performance-image > span { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 14px; margin-top: 14px; }
.accordion-section h2 { font-family: var(--font-display); font-size: 32px; margin-bottom: 18px; }
.accordion-section p { color: #c4c8bd; }
.composition-section > h2 { font-family: var(--font-display); font-size: 32px; margin-bottom: 24px; }
.performance-section { margin-bottom: 64px; }
.performance-section > h2 { font-family: var(--font-display); font-size: 32px; margin-bottom: 24px; }
.composition-list { border-top: 1px solid var(--line); }
.composition-list article { display: grid; grid-template-columns: 210px minmax(0, 1fr) 85px; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: center; }
.composition-list h3 { margin-bottom: 6px; font-size: 19px; }
.composition-desc { margin: 10px 0 0; color: #c4c8bd; }
.composition-list .text-link { justify-self: end; margin-top: 2px; }
.composition-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.composition-thumb img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .5s cubic-bezier(.2, .6, .2, 1); }
.composition-thumb:hover img { transform: scale(1.05); }
.thumb-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 22px rgba(0, 0, 0, .5); transition: transform .25s ease, background .25s ease; }
.thumb-play svg { width: 16px; height: 16px; fill: #15130c; margin-left: 2px; }
.composition-thumb:hover .thumb-play { transform: translate(-50%, -50%) scale(1.1); background: var(--gold-bright); }
.video-facade--compact { border-radius: 14px; margin-top: 28px; }
.video-facade--compact .video-play { width: 60px; height: 60px; }
.video-facade--compact .video-play svg { width: 23px; height: 23px; margin-left: 3px; }
.video-facade--compact .video-caption { padding: 56px 24px 18px; }
.video-facade--compact .video-title { font-size: 19px; }
.listening-note { margin-top: 16px; }

/* About page */
.about-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about-intro p { color: #c4c8bd; font-size: 16.5px; }
.about-intro .text-link { margin-top: 10px; }
.about-portrait { width: 100%; aspect-ratio: 1.02; object-fit: cover; object-position: 35% 50%; border-radius: 20px; }

/* Contact page */
.contact-page { min-height: calc(100vh - 295px); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 80px; margin-top: 72px; }
.contact-layout h2 { font-size: 20px; margin-bottom: 24px; }
.email-address { font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 32px); color: var(--gold); overflow-wrap: anywhere; user-select: all; margin-bottom: 12px; }
.platform-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); transition: padding-left .25s ease; }
.platform-link:hover { padding-left: 8px; }
.platform-link:last-child { border-bottom: 1px solid var(--line); }
.platform-link h3 { margin-bottom: 4px; }
.platform-link p { color: var(--muted); font-size: 15px; }
.platform-link .icon { width: 20px; height: 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); max-width: 1280px; width: calc(100% - 96px); margin: auto; padding: 26px 0 32px; display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
