/* National Philharmonic Orchestra of Great Britain — rebuilt from the Squarespace (Brine/Miller) site.
   Fonts: Sofia Pro → Jost, LTC Bodoni 175 → Bodoni Moda, Lavigne Text → Libre Bodoni. */

:root {
  --font-body: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --font-serif: "Libre Bodoni", "Bodoni 72", Georgia, serif;
  --ink: #222;
  --paper: #fff;
  --muted: #555;
  --footer: #3b647d;
  --accent: #3b647d;
  --content-width: 1180px;
  --pad: 6vw;
  --header-h: 150px;
}

*, *::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-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.01em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p a, li a { text-decoration: underline; text-decoration-color: rgba(34,34,34,.35); text-underline-offset: 3px; }
p a:hover, li a:hover { text-decoration-color: currentColor; }
p { margin: 0 0 1em; }
p:empty { min-height: 1.9em; margin: 0; }

h1, h2, h3, h4 { margin: 0 0 .6em; font-weight: 400; }
h1 { font-family: var(--font-display); font-size: clamp(38px, 5vw, 64px); line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
h3 { font-family: var(--font-serif); font-size: 15px; font-weight: 700; letter-spacing: 0.1em; line-height: 2; }
h3 strong { font-weight: 700; }
h3 em { font-weight: 400; font-style: italic; letter-spacing: 0.04em; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid rgba(0,0,0,.1); margin: 2em 0; }
blockquote { margin: 2em 0; padding-left: 1.5em; border-left: 2px solid rgba(0,0,0,.15); font-style: italic; }

/* ---------- Header ---------- */
.Header { position: relative; z-index: 20; background: var(--paper); color: var(--ink); }
.Header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 28px var(--pad); min-height: var(--header-h);
}
.Header-branding img { width: 110px; height: auto; }
.Header-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; }
.Header-nav-item {
  font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 2px; border-bottom: 1px solid transparent; transition: border-color .2s, opacity .2s; opacity: .95;
}
.Header-nav-item:hover, .Header-nav-item.is-active { border-bottom-color: currentColor; opacity: 1; }
.Header--overlay { position: absolute; top: 0; left: 0; right: 0; background: transparent; color: #fff; }
.Header--overlay .Header-branding img { filter: none; }

.Header-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.Header-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 900px) {
  :root { --header-h: 110px; }
  .Header-inner { padding: 18px 20px; }
  .Header-branding img { width: 80px; }
  .Header-toggle { display: block; }
  .Header-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    background: var(--paper); color: var(--ink); padding: 10px 20px 24px; gap: 0; box-shadow: 0 20px 40px rgba(0,0,0,.15);
  }
  .Header-nav-item { padding: 10px 0; font-size: 13px; }
  body.nav-open .Header-nav { display: flex; }
  body.nav-open .Header-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .Header-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .Header-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Sections (Brine "Index" pages) ---------- */
.Section { position: relative; }
.Section-inner { max-width: var(--content-width); margin: 0 auto; padding: 90px var(--pad); }
.Section--narrow .Section-inner { max-width: 880px; }
.Section--center { text-align: center; }

.Section--image {
  position: relative; min-height: 70vh; display: flex; align-items: center; color: #fff;
  background-color: #111; background-size: cover; background-position: center; background-attachment: scroll;
  isolation: isolate;
}
.Section--image::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); z-index: 0; }
.Section--image .Section-inner { position: relative; z-index: 1; width: 100%; }
.Section--image.Section--tall { min-height: 100vh; }
.Section--image.Section--first { padding-top: var(--header-h); }
.Section--image h1, .Section--image h2, .Section--image h3, .Section--image p { color: #fff; }
.Section--image p a { text-decoration-color: rgba(255,255,255,.5); }
.Section--image.Section--empty { min-height: 85vh; }
@media (min-width: 900px) { .Section--image.Section--empty { min-height: 90vh; } }

/* Homepage hero with Vimeo background */
.Hero { position: relative; min-height: 100vh; background: #000 center / cover no-repeat; overflow: hidden; display: flex; align-items: flex-end; }
.Hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.Hero-video { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.Hero-video iframe {
  position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100vh; min-width: 177.78vh;
  transform: translate(-50%, -50%); border: 0; filter: grayscale(.25) brightness(.85);
}
.Hero-scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); color: #fff; opacity: .8; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; text-align: center; }
.Hero-scroll::after { content: ""; display: block; width: 14px; height: 14px; margin: 8px auto 0; border-right: 1px solid #fff; border-bottom: 1px solid #fff; transform: rotate(45deg); }

/* Index gallery (three news panels under the hero) */
.IndexGallery { background: #000; color: #fff; }
.IndexGallery-item { position: relative; min-height: 70vh; display: flex; align-items: center; background-size: cover; background-position: center; isolation: isolate; }
.IndexGallery-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,.15)); }
.IndexGallery-item:nth-child(even)::before { background: linear-gradient(to left, rgba(0,0,0,.55), rgba(0,0,0,.15)); }
.IndexGallery-item-content { position: relative; z-index: 1; max-width: 420px; padding: 80px var(--pad); }
.IndexGallery-item:nth-child(even) .IndexGallery-item-content { margin-left: auto; }
.IndexGallery-item h2 { font-family: var(--font-display); font-weight: 400; font-size: 25px; letter-spacing: -0.03em; color: #fff; margin-bottom: .5em; }
.IndexGallery-item p { font-size: 14px; line-height: 1.6; margin-bottom: .6em; }
.IndexGallery-item .more { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.IndexGallery-item .more:hover { text-decoration: underline; }

/* ---------- Blocks ---------- */
.Rich > :first-child { margin-top: 0; }
.Button {
  display: inline-block; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 16px 30px; border: 1px solid currentColor; color: inherit; transition: background .2s, color .2s; margin: 10px 0 20px;
}
.Button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.Section--image .Button:hover { background: #fff; color: #111; border-color: #fff; }

.Video { position: relative; aspect-ratio: 16 / 9; background: #000; margin: 30px 0; }
.Video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.Video--narrow { max-width: 880px; margin-left: auto; margin-right: auto; }

figure { margin: 30px 0; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.6; }

.Collage { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; margin: 40px 0; }
.Collage img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.Collage-text { background: var(--paper); margin-left: -12%; padding: 40px; position: relative; z-index: 1; }
.Collage-text p { font-family: var(--font-body); font-weight: 300; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.35; color: #888; margin: 0 0 .5em; }
.Collage-text small { font-family: var(--font-serif); font-style: italic; font-size: 12px; color: #999; }
@media (max-width: 700px) { .Collage { grid-template-columns: 1fr; } .Collage-text { margin: 0; padding: 24px 0; } }

.Grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.Grid--3 { grid-template-columns: repeat(3, 1fr); }
.Grid--5 { grid-template-columns: repeat(5, 1fr); gap: 30px; }
.Grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.Grid--logos img { aspect-ratio: 3 / 2; object-fit: contain; padding: 10px; }
.Grid a { display: block; }
@media (max-width: 900px) { .Grid, .Grid--3, .Grid--5 { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (max-width: 560px) { .Grid, .Grid--3, .Grid--5 { grid-template-columns: repeat(2, 1fr); } }

.Audio { margin: 10px 0 30px; }
.Audio-title { font-size: 14px; font-weight: 600; letter-spacing: .04em; margin-bottom: 6px; }
.Audio audio { width: 100%; }
.Audio--missing { display: none; }

.Form { max-width: 720px; margin: 0 auto; }
.Form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.Form label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; margin: 18px 0 6px; }
.Form label small { font-weight: 400; color: var(--muted); }
.Form input, .Form textarea, .Form select {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #ccc; background: #fff; color: var(--ink); border-radius: 0;
}
.Form textarea { min-height: 160px; resize: vertical; }
.Form input:focus, .Form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.Form button { margin-top: 24px; cursor: pointer; background: var(--ink); color: #fff; border-color: var(--ink); }
.Form button:hover { background: #fff; color: var(--ink); }
.Form-note { font-size: 13px; color: var(--muted); }
.Form-honey { position: absolute; left: -9999px; }
@media (max-width: 560px) { .Form-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- News ---------- */
.NewsList { max-width: var(--content-width); margin: 0 auto; padding: 60px var(--pad); display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 40px; }
.NewsList-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.NewsList-item time { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.NewsList-item h2 { font-size: 24px; font-weight: 400; margin-bottom: .4em; }
.NewsList-item h2 a:hover { text-decoration: underline; }
.NewsList-item p { font-size: 15px; line-height: 1.7; color: #444; }
.NewsList-item .more { font-size: 13px; font-weight: 600; letter-spacing: .04em; }
@media (max-width: 900px) { .NewsList { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .NewsList { grid-template-columns: 1fr; } }

.Post { max-width: 880px; margin: 0 auto; padding: 60px var(--pad) 90px; }
.Post-header { text-align: center; margin-bottom: 50px; }
.Post-header time { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.Post-header h1 { font-size: clamp(32px, 4vw, 48px); }
.Post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 30px; border-top: 1px solid rgba(0,0,0,.1); font-size: 14px; }
.Post-nav a:hover { text-decoration: underline; }

/* ---------- Plain pages ---------- */
.Page { max-width: 880px; margin: 0 auto; padding: 70px var(--pad) 100px; }
.Page--wide { max-width: var(--content-width); }
.Page--legal h1 { font-size: 40px; }
.Page--legal h2 { font-size: 22px; margin-top: 2em; }
.Page--legal h3 { margin-top: 2em; }

/* ---------- Footer ---------- */
.Footer { background: var(--footer); color: #fff; }
.Footer-card { position: relative; }
.Footer-card img { width: 100%; height: clamp(320px, 45vw, 640px); object-fit: cover; }
.Footer-card-text { position: absolute; left: var(--pad); bottom: 40px; background: #fff; color: var(--ink); padding: 30px 40px; max-width: 520px; }
.Footer-card-text p { margin: 0; font-size: 15px; line-height: 1.7; }
.Footer-middle { max-width: var(--content-width); margin: 0 auto; padding: 60px var(--pad) 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; font-size: 15px; }
.Footer-middle p { margin: 0 0 .8em; line-height: 1.7; }
.Footer-nav, .Footer-social { display: flex; flex-direction: column; gap: 10px; }
.Footer-nav a, .Footer-social a { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.Footer a:hover { text-decoration: underline; }
.Footer-bottom { max-width: var(--content-width); margin: 0 auto; padding: 10px var(--pad) 40px; font-size: 13px; opacity: .8; }
.Footer-bottom p { margin: 0; }
@media (max-width: 800px) {
  .Footer-middle { grid-template-columns: 1fr; gap: 24px; }
  .Footer-card-text { position: static; max-width: none; }
}

/* Utility */
.u-center { text-align: center; }
.u-white { color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
