@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0b0b0b;
  --ink: #f3efe6;
  --muted: #b8b3a8;
  --faint: #8a857c;
  --line: rgba(243, 239, 230, 0.14);
  --line-strong: rgba(243, 239, 230, 0.26);
  --card: #111111;
  --serif: "Playfair Display", "Times New Roman", Times, serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(1.25rem, 4vw, 2.75rem);
  --max: 68rem;
}

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(180, 150, 100, 0.08), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.011em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(243, 239, 230, 0.18);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 20;
  padding: 0.5rem 0.85rem;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.875rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

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

/* Brand logo */
.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.brand-logo,
.footer-logo {
  display: block;
  width: auto;
  height: 4.5rem;
}

.footer-logo {
  height: 2.5rem;
}

@media (max-width: 719px) {
  .brand-logo { height: 3.5rem; }
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
}

/* Hero */
.hero {
  padding: clamp(3.25rem, 10vw, 7.5rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1.5rem;
  max-width: 14ch;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3rem, 8.4vw, 6.15rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.lead {
  margin: 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  text-wrap: pretty;
  font-weight: 400;
  line-height: 1.55;
}

/* Platforms */
.platforms {
  border-top: 1px solid var(--line);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform {
  height: 100%;
  padding: 1.45rem 1.5rem 1.35rem;
  border: 1px solid var(--line);
  background: transparent;
}

.platform h3 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.platform p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.platform .soon {
  margin-top: 1.15rem;
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Studio */
.studio {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3.5rem, 9vw, 6.5rem);
}

.studio h2 {
  margin: 0 0 1.6rem;
  max-width: 18ch;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.studio-copy {
  max-width: 38rem;
}

.studio-copy p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
}

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

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom));
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-brand {
  margin: 0;
}

.copyright {
  margin: 0;
  color: var(--faint);
  font-size: 0.88rem;
}

@media (min-width: 720px) {
  .platform-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
