/* The homepage, in the sign-in screen's language: black and cream, a Didone serif, the meander. No web fonts. */
:root {
  --ink: #0b0b0c;
  --cream: #f4f1ea;
  --muted: #f4f1eaa6;
  --hairline: #f4f1ea26;
  --serif: Didot, "Bodoni 72", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 400 17px/1.6 var(--sans); }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
img, svg { display: block; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--gutter); }
.wordmark { font: 400 24px/1 var(--serif); letter-spacing: .02em; text-decoration: none; }

.button { display: inline-block; padding: 12px 22px; border: 1px solid var(--cream); border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.button:hover { background: transparent; color: var(--cream); }
.button.quiet { padding: 8px 18px; background: transparent; color: var(--cream); border-color: var(--hairline); }
.button.quiet:hover { border-color: var(--cream); }

.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; padding: clamp(40px, 8vw, 112px) var(--gutter) clamp(40px, 6vw, 80px); }
h1 { font: 400 clamp(46px, 7.4vw, 112px)/1.02 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.hero-side > p:first-child { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; }
.note { color: var(--muted); font-size: 14px; }

.product { padding: 0 var(--gutter); }
.product img { width: 100%; height: auto; border: 1px solid var(--hairline); border-radius: 10px; }
.product figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; }

.meander { height: 28px; margin: clamp(56px, 8vw, 112px) 0; background: url(meander.svg) repeat-x; opacity: .28; }

.parts { padding: 0 var(--gutter); }
h2 { max-width: 16em; margin-bottom: clamp(28px, 4vw, 56px); font: 400 clamp(32px, 4.2vw, 60px)/1.08 var(--serif); }
dl > div { display: grid; grid-template-columns: minmax(96px, 1fr) minmax(0, 3fr); gap: 8px clamp(16px, 4vw, 64px); padding: clamp(22px, 3vw, 36px) 0; border-top: 1px solid var(--hairline); }
dl > div:last-child { border-bottom: 1px solid var(--hairline); }
dt { padding-top: 7px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
h3 { margin-bottom: 8px; font: 400 clamp(23px, 2.3vw, 31px)/1.2 var(--serif); }
dd p { max-width: 40em; color: var(--muted); }

.name { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: clamp(72px, 11vw, 160px) var(--gutter); text-align: center; }
.mark { width: 76px; height: auto; }
.greek { padding-left: .42em; font: 400 30px/1.2 var(--serif); letter-spacing: .42em; }
.meaning { max-width: 22em; margin-bottom: 14px; color: var(--muted); font: italic 400 19px/1.55 "Iowan Old Style", Georgia, serif; }

footer { padding: 28px var(--gutter) 40px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 13px; }
footer p { max-width: 62em; }
footer p + p { margin-top: 6px; }

.missing { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; min-height: 100dvh; padding: var(--gutter); }

@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); align-items: start; }
  dl > div { grid-template-columns: minmax(0, 1fr); }
  dt { padding-top: 0; }
}

@media (max-width: 600px) {
  /* A whole desktop is unreadable this small: the chart's part of it, cropped */
  .product { padding: 0 0 0 var(--gutter); overflow: hidden; }
  .product img { width: 170%; max-width: none; border-right: 0; border-radius: 10px 0 0 10px; }
  .product figcaption { padding-right: var(--gutter); }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
