/* Diabella Eclair: Celestial Chart. Night ground, gold registration marks, one dial. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --night: #171a28;
  --ink: #f0ece1;
  --muted: #9aa0b5;
  --gold: #c9a227;
  --line: #343a52;
  --line-soft: #292f45;
  --nebula: #232842;
  --deep: #101321;
  --dial: #535b7c;
  --serif: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
  --sans: "Quantico", "Helvetica Neue", Arial, sans-serif;
  --shell: 1180px;
}

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

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* header */

.site-header {
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 54px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 4px 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
}

.main-nav a[aria-current="page"] {
  color: var(--gold);
}

.main-nav a.btn {
  color: var(--night);
  background: var(--gold);
  padding: 11px 18px;
  letter-spacing: 0.1em;
  font-size: 11.5px;
}

.main-nav a.btn:hover,
.main-nav a.btn:focus-visible {
  color: var(--night);
  background: var(--ink);
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--night);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 30px;
  line-height: 1;
  border: 0;
}

.btn:hover,
.btn:focus-visible {
  background: var(--ink);
  color: var(--night);
}

/* hero */

.hero {
  position: relative;
  background: radial-gradient(58% 46% at 50% 34%, rgba(35, 40, 66, 0) 0%, rgba(35, 40, 66, 0.85) 64%, rgba(23, 26, 40, 0) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
  padding: 10px 0 14px;
  text-align: center;
}

.hero-inner > * {
  grid-column: 1 / -1;
}

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

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 76px;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-top: 4px;
}

.hero-title span {
  display: block;
}

.hero-rule {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 10px auto 8px;
}

.plate {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 18px;
}

.plate img {
  display: block;
  height: min(62vh, 640px);
  width: calc(min(62vh, 640px) * 2 / 3);
  object-fit: cover;
}

.dial {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dial-mobile {
  display: none;
}

.hero-lead {
  max-width: 46ch;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.68;
}

.hero .btn {
  justify-self: center;
  width: fit-content;
  margin-top: 24px;
}

/* section frame */

.section {
  padding-top: 60px;
}

.section-first {
  padding-top: 20px;
}

.sec-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.sec-num {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.1;
  color: var(--gold);
  padding-top: 7px;
}

.eyebrow {
  margin: 0 0 5px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.sec-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.005em;
}

.section-sub {
  max-width: 58ch;
  color: var(--muted);
  font-size: 15px;
  margin: -8px 0 16px 40px;
}

.section-lead {
  max-width: 60ch;
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 18px;
}

/* 01 partners: catalogue entries, no frames */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.partner-entry {
  border-top: 1px solid var(--line);
  padding: 14px 24px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.partner-entry .sc {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.partner-entry img {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 250 / 150;
  object-fit: contain;
}

.partner-entry .pname {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

/* 02 quick profile */

.obs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.obs {
  border-top: 1px solid var(--line);
  padding-top: 13px;
}

.obs-k {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.obs-v {
  display: block;
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.18;
  margin-top: 5px;
}

.obs-s {
  display: block;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 3px;
}

.profile-foot {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-top: 32px;
}

.profile-note {
  max-width: 38ch;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.data-table {
  width: 420px;
  max-width: 100%;
  margin-left: auto;
}

.dt-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
}

.dt-row dt {
  color: var(--muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.dt-row dd {
  margin: 0;
  color: var(--ink);
  text-align: right;
}

.dt-row .leader {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-3px);
}

/* 03 about */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px 440px;
  gap: 44px;
  align-items: start;
}

.about-line {
  background: var(--line);
  width: 1px;
  align-self: stretch;
}

.about-text p {
  max-width: 56ch;
  margin-bottom: 17px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-figure {
  margin: 0;
}

.about-figure .square {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.about-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 44% 12%;
}

.mini-table {
  margin-top: 16px;
}

/* 04 right ascension band */

.ra-band {
  position: relative;
  height: 250px;
  margin-top: 26px;
}

.ra-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
}

.ra-tick {
  position: absolute;
  top: 50%;
  width: 1px;
  height: 4px;
  margin-top: -2px;
  background: var(--dial);
}

.ra-event {
  position: absolute;
  top: 50%;
  left: var(--pos);
  width: 190px;
  transform: translateX(-50%);
  text-align: center;
}

.ra-event .ra-star {
  display: block;
  width: 12px;
  height: 12px;
  margin: -6px auto 0;
  color: var(--gold);
}

.ra-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
}

.ra-event.up .ra-label {
  bottom: 20px;
}

.ra-event.down .ra-label {
  top: 20px;
}

.ra-when {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.ra-what {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  margin-top: 4px;
}

/* 05 gallery */

.gallery-wide {
  aspect-ratio: 21 / 9;
  overflow: hidden;
}

.gallery-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.gallery-grid .cell {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pos-g2 {
  object-position: 45% 14%;
}

.pos-g3 {
  object-position: 68% 10%;
}

.pos-g4 {
  object-position: 50% 0%;
}

.pos-g5 {
  object-position: 50% 26%;
}

/* 06 social */

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  text-decoration: none;
}

.social-item:last-child,
.social-item:nth-last-child(2) {
  border-bottom: 1px solid var(--line-soft);
}

.star {
  display: block;
}

.social-item .star {
  flex: none;
  width: 11px;
  height: 11px;
  color: var(--gold);
}

.social-item .plat {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.social-item .handle {
  margin-left: auto;
  font-size: 13.5px;
  color: var(--ink);
}

.social-item:hover .handle,
.social-item:focus-visible .handle {
  color: var(--gold);
}

.social-item:hover .plat,
.social-item:focus-visible .plat {
  color: var(--ink);
}

/* footer */

.site-footer {
  margin-top: 74px;
  background: var(--deep);
}

.footer-grid {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 30px 30px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: baseline;
}

.footer-brand .brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.2;
}

.footer-brand .brand-line {
  display: block;
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 3px;
}

.language-nav {
  font-size: 10px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.language-nav a {
  color: var(--muted);
  text-decoration: none;
}

.language-nav a:hover,
.language-nav a:focus-visible {
  color: var(--ink);
}

.language-nav a[aria-current="page"] {
  color: var(--gold);
}

.language-nav .sep {
  color: var(--line);
  padding: 0 6px;
}

.footer-legal {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}

/* subpages */

.page-top {
  padding: 54px 0 30px;
  border-bottom: 1px solid var(--line-soft);
}

.page-top .crumb {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-top h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 12px 0 16px;
  max-width: 20ch;
}

.page-top .lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.reading {
  max-width: 660px;
  padding: 40px 0 10px;
}

.story {
  margin-bottom: 40px;
}

.story h2 {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.story h2 .idx {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold);
  padding-top: 3px;
}

.story p {
  max-width: 62ch;
  margin-bottom: 15px;
}

.story p:last-child {
  margin-bottom: 0;
}

.note {
  max-width: 62ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin-top: 12px;
}

.record {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}

.record li {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.55;
}

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

.record .when {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 4px;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}

.studio-grid li {
  padding: 6px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
}

.award-box {
  border: 1px solid var(--line);
  padding: 18px 20px;
  margin-top: 6px;
}

.award-box ul {
  margin: 0;
  padding-left: 18px;
}

.award-box li {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 6px;
}

.award-box li:last-child {
  margin-bottom: 0;
}

.count-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 6px 0 30px;
}

.count {
  border-top: 1px solid var(--line);
  padding-top: 11px;
}

.count .n {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.1;
}

.count .k {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.film-group {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}

.film-group:last-of-type {
  border-bottom: 1px solid var(--line-soft);
}

.film-group h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.35;
}

.film-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.film-group li {
  font-size: 14px;
  line-height: 1.6;
  padding: 1px 0;
}

.faq-list .faq-item {
  border-top: 1px solid var(--line-soft);
  padding: 20px 0;
}

.faq-list .faq-item:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.faq-item h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.35;
  margin-bottom: 7px;
}

.faq-item p {
  max-width: 64ch;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.65;
}

/* 404 */

.notfound {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0 80px;
}

.notfound .star-lg {
  width: 46px;
  height: 46px;
  color: var(--gold);
  margin-bottom: 22px;
}

.notfound .code {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.notfound h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 52px;
  line-height: 1.08;
  margin: 12px 0 14px;
}

.notfound p {
  max-width: 42ch;
  color: var(--muted);
}

.notfound .back {
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}

/* responsive */

@media (max-width: 1100px) {
  .shell {
    padding: 0 24px;
  }

  .hero-title {
    font-size: 66px;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr) 1px 380px;
    gap: 32px;
  }

  .main-nav {
    gap: 20px;
  }
}

@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .about-line {
    display: none;
  }

  .about-figure {
    max-width: 460px;
  }

  .profile-foot {
    flex-direction: column;
    gap: 24px;
  }

  .data-table {
    margin-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-legal {
    grid-column: 1 / -1;
  }

  .ra-band {
    height: 280px;
  }

  .ra-event {
    width: 150px;
  }

  .ra-label {
    width: 150px;
  }
}

@media (max-width: 820px) {
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 58px;
  }

  .page-top h1 {
    font-size: 46px;
  }

  .count-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .social-item:nth-last-child(2) {
    border-bottom: 0;
  }

  .social-item:last-child {
    border-bottom: 1px solid var(--line-soft);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16.5px;
  }

  .shell {
    padding: 0 20px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 0 12px;
  }

  .main-nav {
    gap: 8px 18px;
    justify-content: flex-start;
  }

  .main-nav a {
    font-size: 11px;
  }

  .main-nav a.btn {
    padding: 9px 14px;
    font-size: 10.5px;
  }

  .hero-title {
    font-size: 46px;
  }

  .kicker {
    font-size: 9.5px;
    letter-spacing: 0.2em;
  }

  .plate img {
    height: auto;
    width: min(100%, calc(52vh * 2 / 3));
  }

  .dial-desktop {
    display: none;
  }

  .dial-mobile {
    display: block;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 15.5px;
  }

  .section {
    padding-top: 46px;
  }

  .section-first {
    padding-top: 28px;
  }

  .sec-head {
    gap: 14px;
    margin-bottom: 18px;
  }

  .sec-head h2 {
    font-size: 26px;
  }

  .section-sub {
    margin-left: 0;
  }

  .obs-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .obs-v {
    font-size: 24px;
  }

  .about-figure {
    max-width: 100%;
  }

  .ra-band {
    height: auto;
    padding-left: 26px;
    margin-top: 18px;
  }

  .ra-line {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--dial) 0 4px, transparent 4px 24px);
  }

  .ra-tick {
    display: none;
  }

  .ra-event {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: auto;
    text-align: left;
    padding: 12px 0 12px 4px;
  }

  .ra-event .ra-star {
    position: absolute;
    left: -32px;
    top: 15px;
    margin: 0;
  }

  .ra-label {
    position: static;
    transform: none;
    width: auto;
  }

  .gallery-wide {
    aspect-ratio: 16 / 9;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 20px 26px;
  }

  .footer-legal {
    grid-column: auto;
    white-space: normal;
  }

  .language-nav {
    white-space: normal;
  }

  .page-top {
    padding: 38px 0 24px;
  }

  .page-top h1 {
    font-size: 38px;
  }

  .reading {
    padding-top: 30px;
  }

  .record li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .studio-grid {
    grid-template-columns: 1fr;
  }

  .film-group {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 40px;
  }

  .partner-entry {
    padding-right: 12px;
  }

  .partner-entry .pname {
    font-size: 10.5px;
    letter-spacing: 0.08em;
  }

  .count-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
