/* Eldert van Oosten — saxofoonles & jazzworkshops Amsterdam */

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --paper: #f5f0e6;
  --paper-2: #ece4d4;
  --ink: #17161b;
  --ink-soft: #4a4650;
  --brass: #b0791f;
  --brass-deep: #8a5c12;
  --plum: #4a2c5e;
  --line: rgba(23, 22, 27, .14);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
/* subtle paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--brass); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--brass-deep); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 8vw, 5.75rem); }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 3vw, 1.85rem); line-height: 1.15; }
h1 em, h2 em, h3 em { color: var(--brass); }
p { margin: 0 0 1.1em; max-width: 62ch; }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }

/* "track" labels, as on a record sleeve */
.track {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 .75rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass-deep); margin-bottom: 1.1rem;
}
.track::before { content: attr(data-n); font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0; font-style: italic; color: var(--ink); }
.track::after { content: ""; width: 2.5rem; height: 1px; background: currentColor; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.brand { text-decoration: none; display: flex; align-items: center; gap: .7rem; line-height: 1.1; }
.brand .mark { width: 2.25rem; height: 2.25rem; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand strong { font: 400 1.5rem/1 var(--serif); }
.brand-text > span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-top: .2rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; align-items: center; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a[aria-current="page"] { color: var(--brass-deep); box-shadow: inset 0 -1px var(--brass); }
.nav .lang { font-size: .8rem; letter-spacing: .1em; border: 1px solid var(--line); padding: .25rem .5rem; border-radius: var(--radius); }
.nav-toggle { display: none; }

@media (max-width: 52rem) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem; background: none; border: 1px solid var(--line);
    border-radius: var(--radius); padding: .5rem .75rem; font: 600 .85rem var(--sans); color: var(--ink); cursor: pointer;
  }
  .nav-toggle span { display: block; width: 16px; height: 1px; background: currentColor; box-shadow: 0 5px currentColor, 0 -5px currentColor; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.25rem; }
  .nav li a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav li:last-child a { border: 1px solid var(--line); display: inline-block; margin-top: 1rem; padding: .35rem .7rem; }
}

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.4rem; border-radius: var(--radius); text-decoration: none;
  font-weight: 600; font-size: .98rem; border: 1px solid var(--ink); transition: background .2s, color .2s, transform .2s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--brass-deep); border-color: var(--brass-deep); color: var(--paper); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- hero ---------- */
.hero { padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .small { display: block; font-size: .42em; font-style: italic; color: var(--ink-soft); margin-top: .35em; letter-spacing: 0; }
.hero-figure { position: relative; margin: 0; }
.hero-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); position: relative; z-index: 1; }
.hero-figure::before { content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; border: 1px solid var(--brass); border-radius: var(--radius); }
.hero-figure figcaption { position: relative; z-index: 2; margin: -2.4rem 0 0 -1.25rem; display: inline-block; background: var(--ink); color: var(--paper); padding: .7rem 1rem; font-size: .82rem; letter-spacing: .04em; max-width: 85%; }
.hero-figure figcaption b { color: #e2b765; font-weight: 600; }

.facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin: 2.25rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.facts li { display: flex; flex-direction: column; }
.facts b { font: 400 2.1rem/1 var(--serif); }
.facts span { font-size: .82rem; color: var(--ink-soft); margin-top: .3rem; }

@media (max-width: 52rem) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { margin: .5rem 1.1rem 0 0; }
  .hero-figure img { aspect-ratio: 5/4; object-position: 50% 25%; }
}

/* studio gear, shown up front */
.gear { margin: .25rem 0 1.5rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gear-label { display: block; font: 600 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: .6rem; }
.gear ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem 0; font: 400 clamp(1.45rem, 3.4vw, 2rem)/1.2 var(--serif); }
.gear li:not(:last-child)::after { content: "·"; color: var(--brass); margin: 0 .55rem; }

/* ---------- sections ---------- */
[id] { scroll-margin-top: 4.5rem; }
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .lead, .section-dark p, .section-dark .feature p { color: #cfc8bb; }
.section-dark .feature .num { color: #e2b765; }
.section-dark .track { color: #e2b765; }
.section-dark .track::before { color: var(--paper); }
.section-dark a:hover { color: #e2b765; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split.media-left > :first-child { order: 0; }
@media (max-width: 52rem) { .split { grid-template-columns: 1fr; } }

/* service "side A / side B" cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(23,22,27,.45); color: inherit; }
.card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.card-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--ink-soft); }
.card .more { margin-top: auto; font-weight: 600; display: inline-flex; gap: .4rem; align-items: center; }
.card .more::after { content: "→"; transition: transform .2s; }
.card:hover .more::after { transform: translateX(4px); }
.side { position: absolute; top: 1rem; left: 1rem; background: var(--paper); font: italic 400 1rem/1 var(--serif); padding: .45rem .7rem; border-radius: var(--radius); }
@media (max-width: 44rem) { .cards { grid-template-columns: 1fr; } }

/* lists with brass dashes */
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ticks li { position: relative; padding: .55rem 0 .55rem 1.75rem; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: 1rem; height: 1px; background: var(--brass); }
.section-dark .ticks li { border-color: rgba(245,240,230,.15); }

/* feature blocks */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 1px solid var(--line); }
.feature h3 { margin-bottom: .4rem; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.feature .num { font: italic 400 1rem var(--serif); color: var(--brass-deep); display: block; margin-bottom: .6rem; }

/* quote */
.pull { font: italic 400 clamp(1.7rem, 4vw, 2.6rem)/1.2 var(--serif); margin: 0; max-width: 32ch; text-wrap: balance; }
.pull::before { content: "“"; color: var(--brass); }
.pull::after { content: "”"; color: var(--brass); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: auto; }
@media (max-width: 44rem) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* portrait framed */
.portrait { margin: 0; position: relative; max-width: 24rem; }
.portrait img[width="240"] { max-width: 18rem; }
.portrait img { width: 100%; border-radius: var(--radius); filter: grayscale(1) contrast(1.05); }
.portrait figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .75rem; }

/* tracks (music) */
.tracks { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(245,240,230,.2); }
.tracks li { border-bottom: 1px solid rgba(245,240,230,.2); }
.tracks button {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid;
  grid-template-columns: 2.5rem 1fr auto; align-items: center; gap: 1rem; padding: 1.1rem 0;
}
.tracks button:focus-visible { outline: 2px solid #e2b765; }
.tracks .no { font: italic 400 1.1rem var(--serif); color: #e2b765; }
.tracks .title { font: 400 1.6rem/1.1 var(--serif); }
.tracks .play { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(245,240,230,.4); display: grid; place-items: center; transition: background .2s; }
.tracks button:hover .play { background: #e2b765; color: var(--ink); border-color: #e2b765; }
.tracks iframe { width: 100%; height: 120px; border: 0; display: block; margin-bottom: 1rem; }

/* bands */
.bands { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; }
.band { margin: 0; }
.band img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius); margin-bottom: .9rem; }
.band h3 { margin-bottom: .25rem; }
.band p { color: var(--ink-soft); font-size: .98rem; }

.namelist { font: 400 clamp(1.4rem, 3vw, 2rem)/1.35 var(--serif); margin: 0; }
.namelist span { white-space: nowrap; }
.namelist span:not(:last-child)::after { content: " · "; color: var(--brass); }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; position: relative; font: 400 1.4rem/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1.1rem; font: 300 1.6rem/1 var(--sans); color: var(--brass); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: .5rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.contact-tile {
  display: flex; flex-direction: column; gap: .3rem; padding: 1.5rem; border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; background: var(--paper); transition: border-color .2s, transform .2s;
}
a.contact-tile:hover { border-color: var(--brass); transform: translateY(-2px); color: inherit; }
.contact-tile small { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); font-weight: 600; }
.contact-tile b { font: 400 1.55rem/1.2 var(--serif); word-break: break-word; }
.contact-tile span { color: var(--ink-soft); font-size: .95rem; }

.cta-band { text-align: left; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2rem; }
.cta-band h2 { margin: 0; max-width: 18ch; }
.cta-band .btn-ghost { border-color: var(--paper); color: var(--paper); }
.cta-band .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.cta-band .btn-primary { background: #e2b765; border-color: #e2b765; color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--paper); border-color: var(--paper); }

.note { font-size: .92rem; color: var(--ink-soft); border-left: 2px solid var(--brass); padding-left: 1rem; }

/* page header (subpages) */
.page-head { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(1.5rem, 4vw, 2.5rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.5rem, 7vw, 4.75rem); max-width: 16ch; }
.crumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cfc8bb; padding: 3.5rem 0 6rem; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer strong { font: 400 1.6rem/1.1 var(--serif); color: var(--paper); display: block; margin-bottom: .5rem; }
.site-footer h2 { font: 600 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #e2b765; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.site-footer address { font-style: normal; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(245,240,230,.15); padding-top: 1.5rem; margin-top: 1rem; font-size: .82rem; }
@media (max-width: 44rem) { .site-footer .wrap { grid-template-columns: 1fr; } }
@media (min-width: 52.01rem) { .site-footer { padding-bottom: 3rem; } }

/* ---------- mobile action bar ---------- */
.actionbar { display: none; }
@media (max-width: 52rem) {
  .actionbar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--ink); padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -8px 24px -12px rgba(0,0,0,.4);
  }
  .actionbar a { color: var(--paper); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .65rem 0 .6rem; font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
  .actionbar a + a { border-left: 1px solid rgba(245,240,230,.12); }
  .actionbar svg { width: 1.3rem; height: 1.3rem; color: #e2b765; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
