/* Sand Mandala — the website's one stylesheet. No third-party requests:
   the typefaces are served from this site (SIL Open Font License). */

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Variable.woff") format("woff");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/CormorantGaramond-Variable.woff") format("woff");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/CormorantGaramond-Italic-Variable.woff") format("woff");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* The app's night: dark warm ground, ivory, bronze. */
:root {
  --ground: #0d0b09;
  --surface: #17130f;
  --line: #2e2720;
  --text: #f2eadf;
  --muted: #b5a995;
  --bronze: #d9a45f;
  --bronze-strong: #e8b874;
  --focus: #e8b874;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --ground: #f7f2ea;
    --surface: #fffcf6;
    --line: #e2d7c6;
    --text: #231c14;
    --muted: #5f5446;
    --bronze: #8a5a1c;
    --bronze-strong: #6f4610;
    --focus: #8a5a1c;
    color-scheme: light;
  }
}

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  padding: 0 20px;
}

.page {
  max-width: 46rem;
  margin: 0 auto;
  padding: 28px 0 56px;
}

.page.wide { max-width: 64rem; }

/* Top bar: the name, the language. */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 8px;
}
.top .home {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
}
.lang { font-size: 0.875rem; letter-spacing: 0.08em; }
.lang a, .lang span { padding: 4px 6px; }
.lang span { color: var(--bronze); font-weight: 700; }

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); margin: 40px 0 8px; }
h2 { font-size: 1.85rem; margin: 48px 0 10px; }
h3 { font-size: 1.35rem; margin: 30px 0 6px; }

p, li { max-width: 65ch; }

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
}

.lede { font-size: 1.2rem; color: var(--text); }
.muted { color: var(--muted); }

a { color: var(--bronze); text-underline-offset: 3px; }
a:hover { color: var(--bronze-strong); }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* The home page. */
.hero { text-align: center; padding: 24px 0 8px; }
.hero h1 { font-size: clamp(3rem, 10vw, 5rem); margin-top: 32px; }
.hero p { margin-left: auto; margin-right: auto; }
.hero .lede { margin-bottom: 28px; }

.soon {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--bronze);
  border-radius: 999px;
  color: var(--bronze);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  margin: 40px 0 8px;
}
.shots figure { margin: 0; }
.shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.shots figcaption { font-size: 0.875rem; color: var(--muted); margin-top: 8px; }

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
  margin-top: 32px;
}
.pillars section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 4px 22px 18px;
}
.pillars h2 { font-size: 1.5rem; margin: 18px 0 6px; }
.pillars p { margin: 0; color: var(--muted); }

/* Questions and answers. */
details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style-position: outside;
}
summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
details p, details ul { margin-top: 0; }

.contact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 6px 24px 20px;
  margin-top: 28px;
}

.summary {
  background: var(--surface);
  border-left: 3px solid var(--bronze);
  border-radius: 6px;
  padding: 14px 20px;
  margin: 24px 0;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 20px;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

@media (prefers-reduced-motion: no-preference) {
  a { transition: color 0.15s ease; }
}
