/* ============================================================
   Future Is Great — site styles (v2, 2026-11)
   Cool studio grey (Tixie's backdrop) turning to warm dawn light.
   Display: Archivo, expanded italic (echoes the logo).
   Text: Figtree.
   ============================================================ */

:root {
  color-scheme: light;

  /* Palette */
  --bg: #e3e5e8;          /* the studio backdrop of Tixie's portraits */
  --bg-warm: #f3eadb;     /* dawn */
  --ink: #14161a;
  --ink-2: #4b5059;
  --rule: rgb(20 22 26 / 0.16);
  --red: #d90000;         /* logo red */
  --pink: #dfa39f;        /* her hair */
  --on-dark: #f1f2f4;
  --on-dark-2: #a9aeb7;

  /* Type */
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --wrap: 74rem;
  --section: clamp(4.5rem, 11vw, 9rem);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd, ul, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }

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

.skip {
  position: absolute; left: -999rem; top: 0.5rem; z-index: 20;
  background: var(--ink); color: #fff; padding: 0.5rem 0.9rem;
}
.skip:focus { left: 0.5rem; }

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

/* ───────────── Type ───────────── */

.display {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.display em { font-style: inherit; color: var(--red); }

h1.display { font-size: clamp(2.5rem, 6.2vw, 5.5rem); }
h2.display { font-size: clamp(1.9rem, 4.2vw, 3.5rem); }
h3.display { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.05; }

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.lede {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.5;
  max-width: 34rem;
  text-wrap: pretty;
}
.lede strong { font-weight: 700; }

.prose { max-width: 38rem; color: var(--ink-2); text-wrap: pretty; }
.prose + .prose { margin-top: 1rem; }
.prose strong { color: var(--ink); font-weight: 600; }

/* The "(...)" mark: Tixie's tattoo, used as the brand's punctuation. */
.mark {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: var(--ink); color: #fff;
  font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.btn:hover { background: var(--red); }
.btn span { transition: transform 0.2s ease; }
.btn:hover span { transform: translateX(4px); }

/* ───────────── Nav ───────────── */

.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem var(--gutter);
}
.nav-logo img { height: clamp(2.25rem, 4vw, 3rem); width: auto; }
.nav-links {
  display: flex; gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: 0.3rem 1.25rem;
  border-radius: 999px;
  background: rgb(227 229 232 / 0.72);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.nav-links a {
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { border-color: var(--red); }

/* ───────────── Hero (portrait on the right) ───────────── */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  min-height: 100svh;
  overflow: hidden;
}

.hero-text {
  position: relative; z-index: 1;
  align-self: center;
  padding: 7rem var(--gutter) 4rem;
  padding-left: max(var(--gutter), (100vw - var(--wrap)) / 2);
  display: grid; gap: 1.5rem; justify-items: start;
}

.hero-portrait { position: relative; min-height: 100%; }
.hero-portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 18%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 26%);
          mask-image: linear-gradient(to right, transparent, #000 26%);
}

/* Giant name on the Tixie page */
.hero-name { font-size: clamp(4.5rem, 15vw, 13rem) !important; line-height: 0.82; }

/* Page header without a portrait (Values) */
.page-head {
  padding: clamp(9rem, 18vw, 13rem) 0 clamp(3rem, 7vw, 5rem);
}
.page-head .wrap { display: grid; gap: 1.5rem; }

/* ───────────── Socials ───────────── */

.socials { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.socials-label {
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-right: 0.5rem;
}
.socials a {
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border: 1.5px solid currentColor; border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.socials svg { width: 1.25rem; height: 1.25rem; }

/* ───────────── Sections ───────────── */

.section { padding-block: var(--section); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Three things that meet */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.pillar { border-top: 3px solid var(--ink); padding-top: 1.25rem; display: grid; gap: 0.75rem; align-content: start; }
.pillar p { color: var(--ink-2); }

.outcome {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  font-size: clamp(1.5rem, 3.4vw, 2.75rem);
  font-weight: 300; line-height: 1.25;
  max-width: 24em; text-wrap: balance;
}
.outcome strong { font-weight: 700; }

/* The cast: the light turns warm */
.cast { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 38%); }
.cast-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}
.cast-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 88%; }
.cast-text { display: grid; gap: 1.5rem; justify-items: start; }
.cast-note { font-size: 0.9375rem; color: var(--ink-2); }

/* Values teaser */
.teaser { background: var(--bg-warm); }
.teaser-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-bottom: 2.5rem;
}
.teaser-list li { border-top: 1.5px solid var(--rule); padding-top: 1rem; }

/* Follow + footer: night before the dawn */
.follow { background: var(--ink); color: var(--on-dark); }
.follow .eyebrow { color: var(--pink); }
.follow-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: rgb(255 255 255 / 0.16); border: 1px solid rgb(255 255 255 / 0.16); }
.follow-links a {
  display: grid; gap: 1.75rem; align-content: space-between;
  padding: clamp(1.25rem, 3vw, 2rem) 1.25rem;
  background: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.follow-links a:hover { background: var(--red); }
.follow-links svg { width: 1.75rem; height: 1.75rem; }
.follow-links b { display: block; font-weight: 700; }
.follow-links small { color: var(--on-dark-2); font-size: 0.875rem; overflow-wrap: anywhere; }
.follow-links a:hover small { color: #fff; }
/* Five links: one row when wide, three then two in between, a single column on phones */
@media (min-width: 52.01rem) and (max-width: 78rem) {
  .follow-links { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .follow-links a { grid-column: span 2; padding-inline: clamp(1.25rem, 3vw, 2rem); }
  .follow-links a:nth-child(n+4) { grid-column: span 3; }
}

.footer { background: var(--ink); color: var(--on-dark-2); border-top: 1px solid rgb(255 255 255 / 0.12); padding-block: 2rem; font-size: 0.875rem; }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer img { height: 2rem; width: auto; }
.footer nav { display: flex; gap: 1.5rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }

/* ───────────── Tixie page ───────────── */

.facts .wide { grid-column: span 2; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem); }
.facts div { border-top: 3px solid var(--ink); padding-top: 1rem; }
.facts dt { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 0.4rem; }
.facts dd { font-size: 1.125rem; font-weight: 600; }

.bio { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.bio-part { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 1rem clamp(1.5rem, 5vw, 4rem); align-items: start; }

.bio-text { max-width: 36rem; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; text-wrap: pretty; }
.bio-text p + p { margin-top: 0.9rem; }

/* Placeholder for copy that is not written yet */
.todo {
  border: 1.5px dashed rgb(20 22 26 / 0.34);
  padding: 1.25rem 1.5rem;
  display: grid; gap: 0.35rem;
  color: var(--ink-2); font-size: 0.9375rem;
}
.todo .mark { font-size: 1.5rem; }

.quote { background: var(--bg-warm); text-align: center; }
.quote blockquote { display: grid; gap: 1.25rem; justify-items: center; }
.quote p { font-size: clamp(2.2rem, 7vw, 5.5rem); }
.quote cite { font-style: normal; font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }

/* ───────────── Values page ───────────── */

.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 7vw, 6rem); }
.value { border-top: 3px solid var(--ink); padding-top: 1.25rem; display: grid; gap: 0.9rem; align-content: start; }
.value h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
.value p { color: var(--ink-2); max-width: 30rem; }

.closing { background: var(--bg-warm); }
.closing .wrap { display: grid; gap: 2rem; justify-items: start; }

/* ───────────── Small screens ───────────── */

@media (max-width: 52rem) {
  /* Her 9:16 portrait fills the phone; the text rises out of it. */
  .hero { display: block; min-height: 0; }
  .hero-portrait { position: absolute; inset: 0 0 auto 0; height: 100svh; min-height: 0; }
  .hero-portrait img {
    object-position: 50% 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 86%);
            mask-image: linear-gradient(to bottom, #000 50%, transparent 86%);
  }
  .hero-text { padding: 68svh var(--gutter) 3.5rem; }

  .pillars,
  .teaser-list,
  .follow-links,
  .cast-grid,
  .values,
  .bio-part { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cast-photo img { aspect-ratio: 1 / 1; }
  .follow-links a { grid-template-columns: auto 1fr; align-items: center; gap: 1.25rem; }
  .socials-label { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
