/* dirkcaberweb.com: Composer's Manuscript. Paper, ink, one brown accent. */

:root {
  --paper: #efeade;
  --paper-2: #f6f2e8;
  --ink: #221f1a;
  --gray: #5f5a50;
  --brown: #6b4a2f;
  --staff: #cdc6b6;
  --pencil: #8a8478;
  --line: #d9d3c4;
  --display: 'IM Fell Great Primer', 'Iowan Old Style', Georgia, serif;
  --body: 'Finlandica Text', 'Helvetica Neue', Arial, sans-serif;
  --shell: 1224px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3 { margin: 0; font-weight: 400; }

p { margin: 0 0 1.1em; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------------------------------------------------------------- header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 19px;
  padding-bottom: 19px;
}

.wordmark {
  font-family: var(--display);
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: 0.015em;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 11.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.2;
}

.main-nav a {
  color: #221f1a;
  text-decoration: none;
  padding: 6px 0 5px;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover {
  color: #6b4a2f;
  border-bottom-color: #6b4a2f;
}

.main-nav a[aria-current="page"] {
  border-bottom-color: #221f1a;
}

.btn {
  display: inline-block;
  background: #6b4a2f;
  border: 1px solid #6b4a2f;
  color: #f6f2e8;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 22px;
  white-space: nowrap;
  transition: background 120ms linear, border-color 120ms linear;
}

.btn:hover {
  background: #573a24;
  border-color: #573a24;
  color: #f6f2e8;
}

.btn-sm {
  font-size: 10.5px;
  padding: 10px 15px;
}

.main-nav a.btn {
  color: #f6f2e8;
  background: #6b4a2f;
  border: 1px solid #6b4a2f;
  padding: 10px 15px;
}

.main-nav a.btn:hover {
  color: #f6f2e8;
  background: #573a24;
  border-color: #573a24;
}

/* ------------------------------------------------------------------ hero */
.hero { padding-top: 8px; }

.hero-staff {
  height: 73px;
  background-image: repeating-linear-gradient(to bottom, var(--staff) 0 1px, transparent 1px 18px);
}

.hero-staff.top { margin-bottom: 17px; }

.hero-staff.bottom { margin-top: 84px; }

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  align-items: start;
}

.hero-figure {
  grid-column: 1 / 7;
  margin: 0;
  border: 1px solid var(--ink);
  background: var(--paper-2);
  padding: 0;
}

.hero-figure img {
  width: 560px;
  max-width: 100%;
  height: auto;
}

.hero-copy {
  grid-column: 8 / 13;
  padding-top: 4px;
}

.rehearsal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1;
  margin-bottom: 20px;
}

.kicker {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 12px;
}

.hero h1 {
  font-family: var(--display);
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: 0.005em;
  margin: 0 0 22px;
  max-width: 16ch;
}

.lead {
  max-width: 34ch;
  color: var(--gray);
  font-size: 17px;
  line-height: 1.68;
  margin-bottom: 28px;
}

.tempo {
  margin: 11px 0 0;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gray);
  text-transform: uppercase;
}

/* -------------------------------------------------------------- sections */
.section { padding-top: 56px; }

#partners { padding-top: 8px; }

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.sec-no {
  font-family: var(--display);
  font-size: 21px;
  color: var(--brown);
  min-width: 1.6em;
}

.sec-head h2 {
  font-family: var(--display);
  font-size: 31px;
  line-height: 1.12;
}

.sec-sub {
  max-width: 56ch;
  color: var(--gray);
  font-size: 15.5px;
  margin: 0 0 22px;
}

/* ------------------------------------------------------------- partners 01 */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  row-gap: 34px;
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.p-staff {
  display: block;
  width: 100%;
  height: 24px;
  background-image: repeating-linear-gradient(to bottom, var(--staff) 0 1px, transparent 1px 5.75px);
  margin-bottom: 8px;
}

.p-num {
  font-family: var(--display);
  font-size: 15px;
  color: var(--brown);
  line-height: 1;
  margin-bottom: 9px;
}

.p-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 150px;
  max-width: 100%;
  background: #fbf7ee;
  border: 1px solid var(--line);
  padding: 10px;
}

.p-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-name {
  margin-top: 11px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.partner:hover .p-name { color: var(--brown); }

/* --------------------------------------------------------------- profile 02 */
.profile-card {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: var(--paper-2);
  padding: 22px 30px 26px;
  text-align: center;
}

.profile-card::before,
.profile-card::after {
  content: "";
  display: block;
  height: 7px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.profile-card::before { margin-bottom: 20px; }
.profile-card::after { margin-top: 20px; }

.profile-list { width: 100%; }

.profile-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-align: left;
  padding: 6px 0;
}

.pk {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

.dots {
  flex: 1 1 auto;
  border-bottom: 1px dotted var(--staff);
  transform: translateY(-3px);
}

.pv { font-size: 15.5px; }

/* ----------------------------------------------------------------- about 03 */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) 1px minmax(0, 1fr);
  column-gap: 40px;
  align-items: start;
}

.about-text { max-width: 56ch; }
.about-text p { color: var(--ink); }

.about-rule {
  background: var(--line);
  height: 100%;
  min-height: 240px;
}

.about-fig { margin: 0; justify-self: end; width: 340px; max-width: 100%; }

.fig-staff {
  height: 73px;
  background-image: repeating-linear-gradient(to bottom, var(--staff) 0 1px, transparent 1px 18px);
}

.about-fig img { width: 340px; max-width: 100%; height: auto; border: 1px solid var(--ink); }

/* -------------------------------------------------------------- career 04 */
.systems { border-top: 1px solid var(--line); }

.system {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  column-gap: 20px;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
}

.year {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
  padding-top: 2px;
}

.system-body { position: relative; }

.sys-staff {
  display: block;
  height: 24px;
  background-image: repeating-linear-gradient(to bottom, var(--staff) 0 1px, transparent 1px 5.75px);
}

.barline {
  position: absolute;
  top: 0;
  width: 1px;
  height: 24px;
  background: var(--brown);
}

.event {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 62ch;
}

/* -------------------------------------------------------------- gallery 05 */
.plates { display: flex; flex-direction: column; align-items: center; gap: 28px; }

.plate-row { display: flex; justify-content: center; align-items: flex-start; gap: 28px; }

.plate {
  margin: 0;
  border: 1px solid var(--ink);
  background: var(--paper-2);
  line-height: 0;
}

.plate img { height: auto; }

.plate.w300 { width: 300px; }
.plate.w300 img { width: 300px; height: 375px; }
.plate.w260 { width: 260px; }
.plate.w260 img { width: 260px; height: 260px; }
.plate.w200 { width: 200px; }
.plate.w200 img { width: 200px; height: 200px; }

/* --------------------------------------------------------------- social 06 */
.record { max-width: 640px; border-top: 1px solid var(--line); }

.record li { border-bottom: 1px solid var(--line); }

.record a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 2px;
  text-decoration: none;
}

.rp {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

.rh { font-size: 15.5px; }

.record a:hover .rh { color: var(--brown); }

/* ---------------------------------------------------------------- footer */
.site-footer { margin-top: 84px; }

.footer-staff {
  height: 17px;
  background-image: repeating-linear-gradient(to bottom, var(--ink) 0 1px, transparent 1px 4px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 26px 0 18px;
}

.footer-brand .brand-name {
  display: block;
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.brand-line { font-size: 12.5px; color: var(--gray); line-height: 1.5; }

.language-nav {
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  text-align: center;
}

.language-nav a {
  color: #221f1a;
  text-decoration: none;
  padding: 0 2px;
}

.language-nav a:hover { color: #6b4a2f; text-decoration: underline; }

.language-nav a[aria-current="page"] { color: #6b4a2f; }

.lang-sep { color: var(--gray); padding: 0 1px; }

.footer-legal {
  margin: 0;
  text-align: right;
  font-size: 11.5px;
  color: var(--gray);
  line-height: 1.7;
}

.credit {
  margin: 4px 0 34px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.65;
  color: var(--gray);
}

.credit a { color: var(--gray); }
.credit a:hover { color: var(--brown); }

/* ------------------------------------------------------------ subpages */
.mast { padding: 54px 0 34px; }

.mast-staff {
  height: 55px;
  margin-bottom: 24px;
  background-image: repeating-linear-gradient(to bottom, var(--staff) 0 1px, transparent 1px 13px);
}

.mast h1 {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1.06;
  max-width: 22ch;
  margin: 0 0 18px;
}

.standfirst {
  max-width: 56ch;
  color: var(--gray);
  font-size: 19px;
  line-height: 1.62;
  margin: 0;
}

.page { padding-top: 44px; }

.prose { max-width: 720px; }

.prose h2 {
  font-family: var(--display);
  font-size: 31px;
  line-height: 1.16;
  margin: 46px 0 14px;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 30px 0 10px;
}

.prose p { max-width: 68ch; }

.prose a { color: var(--brown); }

.note {
  margin: 34px 0;
  padding: 2px 0 2px 18px;
  border-left: 2px solid var(--pencil);
  max-width: 58ch;
}

.note-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 5px;
}

.note p { margin: 0; font-size: 14.5px; line-height: 1.62; color: var(--gray); }

/* tables */
.data {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 28px;
  font-size: 15px;
}

.data caption {
  caption-side: top;
  text-align: left;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  padding-bottom: 9px;
}

.data th {
  text-align: left;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gray);
  border-bottom: 1px solid var(--ink);
  padding: 0 0 8px;
}

.data td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}

.data .num { text-align: right; font-variant-numeric: tabular-nums; }

.data tr:last-child td { border-bottom: 1px solid var(--ink); }

.awards { margin: 16px 0 30px; border-top: 1px solid var(--line); }

.awards li {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
}

.awards .ay { font-family: var(--display); font-size: 19px; line-height: 1.2; color: var(--brown); }

/* FAQ */
.qa-list { border-top: 1px solid var(--line); }

.qa { padding: 26px 0 10px; border-bottom: 1px solid var(--line); }

.qa h2 {
  font-family: var(--display);
  font-size: 27px;
  line-height: 1.22;
  margin: 0 0 10px;
  max-width: 32ch;
}

.qa p { margin: 0 0 12px; max-width: 68ch; }

/* 404 */
.notfound { padding: 120px 32px 140px; max-width: 760px; }

.notfound h1 { font-family: var(--display); font-size: 62px; line-height: 1.06; margin: 0 0 20px; }

.notfound p { color: var(--gray); max-width: 46ch; margin-bottom: 30px; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 1120px) {
  .hero h1 { font-size: 46px; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); column-gap: 40px; align-items: start; }
  .hero-figure { grid-column: 1; }
  .hero-figure img { width: 480px; }
  .hero-copy { grid-column: 2; padding-top: 0; }
  .hero h1 { font-size: 44px; }
  .mast h1 { font-size: 48px; }
  .about-grid { grid-template-columns: minmax(0, 1.3fr) 1px minmax(0, 1fr); column-gap: 28px; }
  .about-fig { width: 300px; }
  .about-fig img { width: 300px; }
  .partner-grid { column-gap: 40px; }
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; row-gap: 34px; }
  .hero-figure { grid-column: 1 / -1; }
  .hero-copy { grid-column: 1 / -1; }
  .hero-figure img { width: 100%; max-width: 560px; }
  .hero h1 { max-width: 20ch; }
  .about-grid { grid-template-columns: 1fr; row-gap: 28px; }
  .about-rule { display: none; }
  .about-fig { justify-self: start; width: 340px; }
  .about-fig img { width: 340px; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .shell { padding: 0 22px; }
  .header-inner { flex-wrap: wrap; gap: 6px 16px; padding-top: 16px; padding-bottom: 13px; }
  .main-nav { width: 100%; gap: 4px 16px; font-size: 10.5px; }
  .main-nav a.btn { margin-top: 4px; }
  .hero { padding-top: 6px; }
  .hero-staff { height: 23px; background-image: repeating-linear-gradient(to bottom, var(--staff) 0 1px, transparent 1px 11px); }
  .hero-staff.top { margin-bottom: 14px; }
  .hero-staff.bottom { margin-top: 46px; }
  .hero-grid { row-gap: 28px; }
  .hero h1 { font-size: 39px; line-height: 1.1; }
  .lead { font-size: 16.5px; max-width: 40ch; }
  .section { padding-top: 46px; }
  .sec-head h2 { font-size: 26px; }
  .sec-no { font-size: 18px; }
  .partner-grid { column-gap: 18px; row-gap: 26px; }
  .p-logo { height: auto; aspect-ratio: 5 / 3; padding: 7px; }
  .p-name { font-size: 10px; letter-spacing: 0.1em; }
  .p-staff { height: 18px; background-image: repeating-linear-gradient(to bottom, var(--staff) 0 1px, transparent 1px 4.2px); }
  .profile-card { max-width: 100%; padding: 18px 20px 20px; }
  .about-fig { width: 100%; max-width: 340px; }
  .about-fig img { width: 100%; }
  .fig-staff { height: 23px; background-image: repeating-linear-gradient(to bottom, var(--staff) 0 1px, transparent 1px 11px); }
  .system { grid-template-columns: 1fr; row-gap: 8px; padding: 16px 0 18px; }
  .sys-staff { height: 6px; background-image: repeating-linear-gradient(to bottom, var(--staff) 0 1px, transparent 1px 5px); }
  .barline { height: 6px; }
  .year { font-size: 22px; }
  .plates { gap: 20px; }
  .plate-row { flex-direction: column; align-items: center; gap: 20px; width: 100%; }
  .plate.w300, .plate.w260, .plate.w200 { width: 100%; max-width: 300px; }
  .plate.w300 img, .plate.w260 img, .plate.w200 img { width: 100%; height: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 14px; }
  .language-nav { text-align: left; }
  .footer-legal { text-align: left; }
  .site-footer { margin-top: 60px; }
  .mast { padding: 38px 0 26px; }
  .mast-staff { height: 17px; margin-bottom: 18px; background-image: repeating-linear-gradient(to bottom, var(--staff) 0 1px, transparent 1px 8px); }
  .mast h1 { font-size: 38px; }
  .standfirst { font-size: 17px; }
  .page { padding-top: 32px; }
  .prose h2 { font-size: 26px; margin-top: 36px; }
  .awards li { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .qa h2 { font-size: 23px; }
  .data thead { display: none; }
  .data, .data tbody, .data tr, .data td { display: block; width: 100%; }
  .data tr { padding: 10px 0; border-bottom: 1px solid var(--ink); }
  .data td { border: 0; padding: 2px 0; display: flex; gap: 10px; }
  .data td::before {
    content: attr(data-label);
    flex: 0 0 7.6em;
    font-size: 9.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray);
    line-height: 2;
  }
  .data .num { text-align: left; }
  .notfound { padding: 80px 22px 100px; }
  .notfound h1 { font-size: 44px; }
}
