/* Alex Petcu: a calm, clean layout. White page, navy accents, plain fonts,
   big photos. Colours and fonts are set here at the top. */

:root {
  --text: #1b1b1f;
  --muted: #5d5d68;
  --navy: #1f2c6b;
  --navy-dark: #141d4a;
  --line: #e4e4ea;
  --tint: #f5f6fa;
  /* Brass, taken from the gongs: small accents only. */
  --gold: #b8892e;        /* thin lines and borders */
  --gold-deep: #8a6a1c;   /* text and play buttons (readable on white) */
  --gold-light: #e3c27a;  /* on the navy banner */
  --white: #fff;
  --radius: 10px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 17px/1.6 var(--font);
}

img { max-width: 100%; height: auto; display: block; }

/* Anything marked hidden stays hidden, whatever display style it has. */
[hidden] { display: none !important; }

a { color: var(--navy); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-dark); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 44rem; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 0.5rem 1rem; z-index: 20; }
.skip:focus { left: 0.5rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: bold;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.25rem 0 0; padding: 0; list-style: none; }

.more-link { font-weight: bold; text-decoration: none; }
.more-link::after { content: " →"; }
.more-link:hover { text-decoration: underline; }

/* ---------- Banner, header, menu ---------- */

.banner { background: var(--navy); color: var(--white); font-size: 0.85rem; }
.banner a {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0; color: var(--white); text-decoration: none;
  white-space: nowrap; overflow: hidden;
}
.banner a:hover .banner__title { text-decoration: underline; }
.banner__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; }
.banner__date { font-weight: bold; color: var(--gold-light); }
.banner__title { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 500px) { .banner__long { display: none; } }

.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }

.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__name { font-size: 1.45rem; font-weight: bold; letter-spacing: -0.01em; line-height: 1.1; }
.brand__tag { font-size: 0.85rem; color: var(--muted); font-style: italic; }

.site-nav ul { display: flex; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 6px;
  color: var(--text); text-decoration: none; font-size: 0.98rem;
}
.site-nav a:hover { color: var(--navy); background: var(--tint); }
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: bold; }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  padding: 8px 4px; border: 0; background: none;
  color: var(--navy); font: inherit; font-weight: bold; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 1px;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

/* ---------- Page structure ---------- */

.page-head { padding: 48px 20px 8px; }
.page-head h1 { margin-bottom: 0.3em; }
.page-head h1::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 14px; background: var(--gold); border-radius: 2px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }
.page-body { padding-top: 16px; padding-bottom: 72px; }

.section { padding: 56px 0; }
.section--tint { background: var(--tint); }
.section:not(.section--tint) + .section:not(.section--tint) { padding-top: 0; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.section__head h2 { margin: 0; }

.prose { max-width: 44rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.25rem; }

/* Two columns that stack on small screens. */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
.split--reverse { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }

.photo-frame img { border-radius: var(--radius); width: 100%; }
.photo-frame figcaption, .credit { margin-top: 6px; font-size: 0.8rem; color: var(--muted); }
figure { margin: 0; }

/* ---------- Home ---------- */

.hero { position: relative; background: #111; }
.hero img { width: 100%; height: min(68vh, 600px); object-fit: cover; object-position: var(--pos, 50% 35%); }
@media (min-width: 1300px) {
  .hero img { object-position: var(--pos-wide, var(--pos, 50% 35%)); }
}
.hero__credit {
  position: absolute; right: 12px; bottom: 8px; margin: 0;
  font-size: 0.72rem; color: rgba(255, 255, 255, 0.85); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.intro { padding: 48px 0 8px; }
.intro__line { font-size: clamp(1.35rem, 3vw, 1.85rem); line-height: 1.35; max-width: 46rem; margin: 0; font-weight: normal; letter-spacing: 0; }

.quote { margin: 0 auto; max-width: 46rem; text-align: center; }
.quote p { font-size: clamp(1.2rem, 2.6vw, 1.5rem); line-height: 1.45; font-style: italic; margin-bottom: 0.75rem; }
.quote p::before { content: "“"; color: var(--gold); }
.quote p::after { content: "”"; color: var(--gold); }
.quote footer { color: var(--muted); font-size: 0.9rem; }

.feature { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; }
.feature img { border-radius: 6px; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15); }

/* ---------- Concerts ---------- */

.gigs { list-style: none; margin: 0; padding: 0; }
.gig { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.gig:first-child { padding-top: 4px; }
.gig:last-child { border-bottom: 0; }
.gig__date { display: flex; flex-direction: column; align-items: center; padding-top: 2px; line-height: 1.1; color: var(--gold-deep); }
.gig__day { font-size: 1.6rem; font-weight: bold; }
.gig__month { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: bold; }
.gig__year { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.gig__title { margin: 0 0 0.2rem; font-size: 1.1rem; }
.gig__title a { color: var(--text); text-decoration: none; }
.gig__title a:hover { color: var(--navy); text-decoration: underline; }
.gig__meta { margin: 0; color: var(--muted); font-size: 0.95rem; }
.gig__more { margin-top: 0.4rem; font-size: 0.95rem; }
.gig__more p { margin: 0; }
.gig__actions { margin: 0.5rem 0 0; font-size: 0.9rem; font-weight: bold; }

.gig-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; list-style: none; margin: 0; padding: 0; }
.gig-cards .gig { border-bottom: 0; border-top: 1px solid var(--line); padding: 16px 0; }

.empty-note { padding: 18px 20px; background: var(--tint); border-radius: var(--radius); color: var(--muted); }

details.year { border-top: 1px solid var(--line); }
details.year:last-of-type { border-bottom: 1px solid var(--line); }
details.year > summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; cursor: pointer; list-style: none;
  font-size: 1.15rem; font-weight: bold;
}
details.year > summary::-webkit-details-marker { display: none; }
details.year > summary::after { content: "+"; font-size: 1.4rem; font-weight: normal; color: var(--navy); }
details.year[open] > summary::after { content: "−"; }
details.year > summary:hover { color: var(--navy); }
.year__count { margin-left: auto; margin-right: 1rem; font-weight: normal; font-size: 0.9rem; color: var(--muted); }

.archive h3 { margin: 1.25rem 0 0.25rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.archive ul { list-style: none; margin: 0 0 0.5rem; padding: 0; }
.archive .gig { display: block; }
.archive li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.archive li:last-child { border-bottom: 0; }
.archive .gig__title { font-weight: bold; font-size: 1rem; margin: 0; }
.archive .gig__title a { color: var(--navy); }
.archive .gig__details { margin: 0.1rem 0 0; font-size: 0.9rem; color: var(--muted); }

/* ---------- Cards (albums, ensembles) ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.card { display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--tint); }
.card__body { padding-top: 12px; }
.card__title { display: block; font-weight: bold; font-size: 1.05rem; color: var(--text); }
.card__text { display: block; margin-top: 4px; font-size: 0.92rem; color: var(--muted); }
a.card:hover .card__title { color: var(--navy); text-decoration: underline; }
.card--wide img { aspect-ratio: 4 / 3; }
.cards--five { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; }

/* ---------- Video and audio ---------- */

.video__frame {
  position: relative; display: block; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; background: #000;
}
.video__frame img { width: 100%; height: 100%; object-fit: cover; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; left: 50%; top: 50%;
  width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-radius: 50%; background: rgba(138, 106, 28, 0.92);
}
.video__play::after {
  content: ""; position: absolute; left: 27px; top: 21px;
  border: 13px solid transparent; border-left: 20px solid var(--white); border-right: 0;
}
.video__frame:hover .video__play { background: var(--navy); }
.video figcaption { margin-top: 10px; font-size: 0.95rem; }
.video figcaption strong, .video figcaption span { display: block; }
.video figcaption span { color: var(--muted); font-size: 0.88rem; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 28px; }
.video-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 1.5rem 0; }

.bandcamp { display: block; width: 100%; height: 120px; border: 0; }

.player-load__button {
  display: flex; align-items: center; gap: 14px;
  min-height: 120px; padding: 16px 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--text); text-decoration: none;
}
.player-load--spotify .player-load__button { min-height: 120px; }
.player-load__button:hover { border-color: var(--navy); color: var(--text); }
.player-load__button strong, .player-load__button small { display: block; }
.player-load__button small { color: var(--muted); font-size: 0.82rem; }
.player-load__icon {
  position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--gold-deep);
}
.player-load__icon::after {
  content: ""; position: absolute; left: 19px; top: 15px;
  border: 9px solid transparent; border-left: 14px solid var(--white); border-right: 0;
}
.player-load__button:hover .player-load__icon { background: var(--navy); }

.press-quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 36px; }
.press-quotes blockquote { margin: 0; padding-left: 16px; border-left: 3px solid var(--gold); }
.press-quotes p { margin: 0 0 0.5rem; font-style: italic; }
.press-quotes footer { color: var(--muted); font-size: 0.88rem; }
.spotify { display: block; width: 100%; height: 352px; border: 0; border-radius: 12px; }
.players { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.player h3 { margin-bottom: 0.4rem; font-size: 1rem; }

/* ---------- Music ---------- */

.album { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: start; }
.album__cover img { border-radius: 6px; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15); }
.tracks { padding-left: 1.5rem; columns: 2 18rem; column-gap: 2.5rem; }
.tracks li { margin-bottom: 0.3rem; break-inside: avoid; }

.work { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; padding: 36px 0; border-top: 1px solid var(--line); }
.work h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.work__meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.9rem; }
.work__facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.2rem 1rem; margin: 0.9rem 0 0; font-size: 0.9rem; }
.work__facts dt { color: var(--muted); }
.work__facts dd { margin: 0; }
.work__score { display: inline-block; margin-top: 1rem; font-weight: bold; }

details.more > summary { cursor: pointer; color: var(--navy); font-weight: bold; margin: 0.25rem 0 0.5rem; }
details.more > summary:hover { text-decoration: underline; }

/* ---------- About ---------- */

.subnav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 8px; padding: 0; }
.subnav a { display: block; padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; text-decoration: none; }
.subnav a:hover { border-color: var(--navy); }

.list-columns { columns: 2 16rem; column-gap: 2.5rem; padding-left: 1.2rem; }
.list-columns li { break-inside: avoid; margin-bottom: 0.3rem; }

.callout { padding: 22px 24px; border-radius: var(--radius); background: var(--tint); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Press ---------- */

.bio { padding: 24px 0; border-top: 1px solid var(--line); }
.bio__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.bio__head h3 { margin: 0; }
.copy-btn { padding: 0.4rem 0.9rem; font-size: 0.85rem; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.photo-grid figcaption { margin-top: 8px; font-size: 0.88rem; }
.photo-grid figcaption span { display: block; color: var(--muted); }

/* ---------- Contact ---------- */

.contact-email { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: bold; word-break: break-word; }
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.reasons li { padding-top: 14px; border-top: 2px solid var(--gold); }
.reasons h3 { margin-bottom: 0.3rem; font-size: 1.05rem; }
.reasons p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--tint); border-top: 1px solid var(--line); padding: 40px 0 16px; font-size: 0.95rem; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.site-footer__name { font-weight: bold; font-size: 1.1rem; margin-bottom: 0.25rem; }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: 0.4rem; }
.site-footer__small { margin: 24px 0 0; font-size: 0.8rem; color: var(--muted); }

.social { display: flex; gap: 4px; list-style: none; margin: 0.5rem 0 0; padding: 0; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--text); }
.social a:hover { color: var(--navy); background: var(--white); }
.icon { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Small screens ---------- */

@media (max-width: 820px) {
  .split, .split--reverse, .album, .work, .feature { grid-template-columns: 1fr; gap: 24px; }
  .album__cover { max-width: 320px; }
  .feature img { max-width: 220px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-header__inner { flex-wrap: wrap; min-height: 64px; }
  .site-nav { flex-basis: 100%; padding-bottom: 10px; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 12px 4px; border-top: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .brand__name { font-size: 1.3rem; }
  .page-head { padding-top: 32px; }
  .section { padding: 40px 0; }
  .hero img { height: 52vh; min-height: 280px; object-position: var(--pos-phone, var(--pos, 50% 35%)); }
  .intro { padding-top: 32px; }
  .gig { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .gig__day { font-size: 1.35rem; }
}

@media print {
  .site-header, .banner, .site-footer, .video, .bandcamp, .spotify { display: none; }
}

/* Very narrow phones: show the menu icon without the word, so it stays beside the name. */
@media (max-width: 380px) {
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand { min-width: 0; }
}
@media (max-width: 340px) {
  .brand__tag { font-size: 0.75rem; }
  .site-header__inner { gap: 0.5rem; }
}
