/* ===================================================================
   Tired Toast — institutional site
   Palette derived from the studio logo (dusty blue-grey cat, blush pink ears/nose)
=================================================================== */

:root {
  --bg: #14161b;
  --bg-alt: #1b1e25;
  --bg-card: #20232b;
  --line: #2c303a;

  --grey-blue: #8892a1;
  --grey-blue-soft: #aeb6c2;
  --pink: #dd9aa2;
  --pink-soft: #f0c6cb;

  --text: #f2f1ee;
  --text-dim: #b7bac2;
  --text-faint: #7b7f8a;

  --radius: 14px;
  --container: 1120px;

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--text-dim); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 16px;
  font-weight: 500;
}

.accent { color: var(--pink); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 22, 27, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.92rem;
}

.site-nav a {
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.site-nav a:hover { color: var(--text); }

.nav-cta {
  padding: 8px 18px;
  border: 1px solid var(--grey-blue);
  border-radius: 999px;
  color: var(--text) !important;
}

.nav-cta:hover {
  background: var(--grey-blue);
  color: var(--bg) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 140px 0 120px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(600px 320px at 50% -10%, rgba(221, 154, 162, 0.16), transparent 65%),
    radial-gradient(700px 380px at 85% 10%, rgba(136, 146, 161, 0.18), transparent 60%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  border-radius: 18px;
  box-shadow: 0 0 0 1px var(--line), 0 20px 50px rgba(0,0,0,0.35);
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-blue-soft);
  margin-bottom: 20px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.quote-strip {
  padding: 48px 24px;
  text-align: center;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-strip p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--pink-soft);
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--pink);
  color: #201417;
}

.btn-primary:hover {
  background: var(--pink-soft);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--grey-blue);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 2px solid var(--line);
  border-radius: 20px;
  z-index: 1;
}

.scroll-hint span {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--pink);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  70% { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 6px; }
}

/* ---------- Mission ---------- */

.mission {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.mission-index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--grey-blue-soft);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.mission-card h2 { font-size: 1.5rem; }

.mission-card p { margin-bottom: 0; }

/* ---------- Who We Are ---------- */

.who-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.who-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(136,146,161,0.22), transparent 70%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
}

.who-logo-mark {
  width: 55%;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.who-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.who-copy strong {
  color: var(--text);
}

/* ---------- Focus ---------- */

.focus h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 48px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.focus-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.focus-card:hover {
  border-color: var(--grey-blue);
  transform: translateY(-4px);
}

.focus-card h3 {
  font-size: 1.2rem;
  color: var(--pink-soft);
  margin-bottom: 12px;
}

.focus-card p { margin-bottom: 0; }

/* ---------- Team ---------- */

.team {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.team h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
}

.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 2px solid var(--pink);
}

.team-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--grey-blue), var(--bg-card));
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.team-role {
  color: var(--grey-blue-soft);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.team-bio {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---------- Contact ---------- */

.contact-inner {
  text-align: center;
  max-width: 560px;
}

.contact h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 48px;
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
}

.brand-footer .brand-name { font-size: 1rem; }

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-links a:hover { color: var(--text); }

.footer-social {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-social a:hover { color: var(--pink); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 24px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-faint);
  text-align: center;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .who-grid { grid-template-columns: 1fr; }
  .who-media { max-width: 320px; margin: 0 auto; }
  .focus-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .nav-toggle { display: flex; }

  .section { padding: 72px 0; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}
