/* Tesserra parent — landing-page styles.
 * Brand palette per BRAND_GUIDELINES.md §3:
 *   Deep ink  #1A2332  — primary text + headers
 *   Ivory     #F4EFE6  — backgrounds
 *   Brass     #C19A59  — accents, mark
 *   Soft gray #8A8A8A  — captions
 *   Cream     #FAF6F0  — alternate backgrounds
 * Typography: Playfair Display (display) + Inter (body).
 * Tone: restrained, premium, never loud.
 */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --deep-ink:  #1A2332;
  --ivory:     #F4EFE6;
  --brass:     #C19A59;
  --soft-gray: #8A8A8A;
  --cream:     #FAF6F0;

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--deep-ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* HERO ============================================================ */
.hero {
  background: var(--ivory);
  padding: 100px 24px 80px;
  text-align: center;
}

.hero__inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero__mark {
  display: block;
  margin: 0 auto 24px;
}

.hero__wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 88px);
  color: var(--deep-ink);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 12px;
}

.hero__tagline {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--brass);
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}

.hero__statement {
  font-family: var(--sans);
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--deep-ink);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* STUDIOS section ================================================== */
.studios {
  background: var(--cream);
  padding: 96px 24px;
}

.studios__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--deep-ink);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-lede {
  text-align: center;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--deep-ink);
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.65;
}

.section-lede em {
  font-style: italic;
  color: var(--brass);
}

.studios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.studio {
  background: var(--ivory);
  padding: 32px;
  border-radius: 4px;
  border-top: 3px solid transparent;
  transition: border-color 0.2s ease;
}

.studio--live {
  border-top-color: var(--brass);
}

.studio__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--soft-gray);
  margin-bottom: 16px;
}

.studio--live .studio__tag {
  color: var(--brass);
}

.studio__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 32px;
  color: var(--deep-ink);
  margin-bottom: 8px;
  line-height: 1;
}

.studio__domain {
  font-size: 13px;
  color: var(--soft-gray);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.studio__desc {
  font-size: 15px;
  color: var(--deep-ink);
  line-height: 1.6;
  margin-bottom: 24px;
}

.studio__link {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--deep-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px;
  transition: color 0.15s ease;
}

.studio__link:hover {
  color: var(--brass);
}

/* PHILOSOPHY ====================================================== */
.philosophy {
  background: var(--ivory);
  padding: 96px 24px;
}

.philosophy__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.philosophy .section-title {
  margin-bottom: 32px;
}

.philosophy__body {
  font-size: clamp(15px, 1.7vw, 18px);
  color: var(--deep-ink);
  line-height: 1.75;
  margin-bottom: 20px;
}

.philosophy__body:last-child {
  margin-bottom: 0;
  color: var(--soft-gray);
  font-style: italic;
}

/* FOOTER ========================================================== */
.footer {
  background: var(--deep-ink);
  color: var(--ivory);
  padding: 56px 24px 40px;
  text-align: center;
}

.footer__inner {
  max-width: 720px;
  margin: 0 auto;
}

.footer__line {
  font-size: 13px;
  color: var(--ivory);
  margin-bottom: 8px;
  opacity: 0.85;
}

.footer__line--small {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 16px;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile adjustments ============================================== */
@media (max-width: 640px) {
  .hero { padding: 64px 20px 48px; }
  .studios { padding: 72px 20px; }
  .philosophy { padding: 72px 20px; }
  .footer { padding: 40px 20px 32px; }
  .studio { padding: 24px; }
}
