/* MMTMM website. Tokens mirror the brand system; layout follows the Claude Design hero. */
@font-face { font-family: Inter; font-weight: 300; font-display: swap; src: url(/assets/fonts/Inter-300Light.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/assets/fonts/Inter-400Regular.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/assets/fonts/Inter-600SemiBold.woff2) format("woff2"); }
:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --ink: #1B1426;
  --ink-2: rgba(27, 20, 38, 0.74);
  --ink-3: rgba(27, 20, 38, 0.56);
  --line: #E8E1D6;
  --accent: #6F4EE6;
  --accent-ink: #6F4EE6;
  --accent-deep: #3B2A6E;
  --on-accent: #FAF7F2;
  --outline: #6F4EE6;
  --hover-fill: #E8E2FF;
  --soft: #E8E2FF;
  --lavender: #C6B3F6;
  --gold: #EFCB78;
  --grid: rgba(27, 20, 38, 0.07);
  --guide: #3B2A6E;
  --sun-guide: #C9A24E;
  --sun: #EFCB78;
  --mark-sun: #3B2A6E;
  --form-stroke: #6F4EE6;
  --blend: multiply;
  --pad: clamp(20px, 8.3vw, 120px);
  --max: 1440px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B1426;
    --surface: #261D35;
    --ink: #FAF7F2;
    --ink-2: rgba(250, 247, 242, 0.76);
    --ink-3: rgba(250, 247, 242, 0.58);
    --line: #352A48;
    --accent-ink: #C6B3F6;
    --outline: #C6B3F6;
    --hover-fill: rgba(198, 179, 246, 0.14);
    --soft: #2C2148;
    --grid: rgba(250, 247, 242, 0.06);
    --guide: #C6B3F6;
    --sun-guide: #EFCB78;
    --mark-sun: #EFCB78;
    --form-stroke: #E8E2FF;
    --blend: normal;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent-deep); }
@media (prefers-color-scheme: dark) { a:hover { color: var(--ink); } }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 14px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Header */
.site-header { position: relative; z-index: 3; }
.site-header .wrap { padding-top: 24px; padding-bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; }
.brand { display: flex; align-items: center; gap: 16px; color: var(--ink); min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand svg { width: 52px; height: auto; flex: none; }
.brand span { font-weight: 300; font-size: 26px; letter-spacing: 0.32em; }
.nav { display: flex; align-items: center; gap: 12px 36px; }
.nav-links { display: flex; gap: 4px 32px; font-size: 15px; }
.nav-links a { color: var(--ink); display: flex; align-items: center; min-height: 44px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent-ink); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.menu { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 12px;
  font: 600 17px/1 Inter, system-ui, sans-serif; cursor: pointer; border: 1.5px solid transparent; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-deep); color: var(--on-accent); }
.btn-outline { border-color: var(--outline); color: var(--accent-ink); background: transparent; }
.btn-outline:hover { background: var(--hover-fill); color: var(--accent-ink); }
.btn-sm { height: 44px; padding: 0 22px; font-size: 15px; }

/* Type */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-ink); margin: 0; }
.display { margin: 0; font-weight: 300; font-size: clamp(40px, 5.6vw, 84px); line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
.h2 { margin: 0; font-weight: 300; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.h3 { margin: 0; font-weight: 600; font-size: 20px; line-height: 1.3; }
.lead { margin: 0; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; color: var(--ink-2); max-width: 30em; text-wrap: pretty; }
.body { color: var(--ink-2); max-width: 68ch; }
.body p { margin: 0 0 1em; }
.small { font-size: 15px; color: var(--ink-3); }

/* Hero */
.hero { position: relative; min-height: min(84vh, 780px); display: flex; flex-direction: column; overflow: hidden; }
.hero-main { position: relative; flex: 1; padding-top: 32px; padding-bottom: 40px; display: flex; flex-wrap: wrap-reverse; align-items: center; gap: 40px 0; }
.hero-copy { flex: 45 1 420px; min-width: 0; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-right: clamp(0px, 3vw, 48px); }
.hero-copy .display { max-width: 11ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.hero-art { flex: 55 1 340px; min-width: 0; position: relative; display: flex; justify-content: center; align-items: center; }
.hero-grid {
  position: absolute; top: 50%; left: 50%; width: 2400px; height: 2400px; margin: -1200px 0 0 -1200px; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px; background-position: center;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 520px, transparent 1500px);
  mask-image: radial-gradient(circle at 50% 50%, #000 520px, transparent 1500px);
}
.hero-art svg { position: relative; width: 100%; max-width: 780px; height: auto; display: block; overflow: visible; font-family: Inter, system-ui, sans-serif; }
.replay {
  position: absolute; right: 0; bottom: -28px; height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer;
  font: 600 12px Inter, system-ui, sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2);
}
.replay:hover { color: var(--accent-ink); }

/* Screens strip */
.screens { padding-top: clamp(16px, 2.5vw, 40px); padding-bottom: clamp(72px, 8vw, 128px); display: flex; flex-direction: column; gap: 40px; }
.screens-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 64px); }
.shot { display: flex; flex-direction: column; gap: 16px; margin: 0; min-width: 0; }
.shot img { width: 100%; max-width: 440px; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: clamp(20px, 2.4vw, 36px); border: 1px solid var(--line); box-shadow: 0 24px 60px -30px rgba(27, 20, 38, 0.35); background: #FAF7F2; }
.shot figcaption { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.more { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 19px; }

/* Inner pages */
.page-head { position: relative; overflow: hidden; }
.page-head .wrap { position: relative; padding-top: clamp(48px, 7vw, 112px); padding-bottom: clamp(48px, 6vw, 96px); display: flex; flex-direction: column; gap: 24px; }
.page-head .display { max-width: 16ch; }
.page-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 85% 10%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 90% at 85% 10%, #000 20%, transparent 70%);
}
.section { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card p { margin: 0; color: var(--ink-2); font-size: 17px; }
.area-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 10px; display: inline-block; }

/* Team */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.person { display: flex; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.avatar { width: 112px; height: 112px; border-radius: 112px; flex: none; background: var(--soft); display: flex; align-items: center; justify-content: center; font-weight: 300; font-size: 40px; color: var(--accent-deep); overflow: hidden; }
@media (prefers-color-scheme: dark) { .avatar { color: var(--lavender); } }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.role { margin: 4px 0 0; font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-ink); }

/* Research */
.findings { display: grid; gap: 0; }
.finding { display: grid; grid-template-columns: minmax(160px, 3fr) minmax(0, 9fr); gap: 16px clamp(24px, 5vw, 80px); padding: 40px 0; border-top: 1px solid var(--line); }
.finding:first-child { border-top: 0; padding-top: 8px; }
.stat { font-weight: 300; font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -0.03em; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.stat-unit { margin-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.finding h3 { margin: 0 0 10px; }
.finding p { margin: 0 0 10px; color: var(--ink-2); max-width: 62ch; }
.source { font-size: 15px; color: var(--ink-3); }
.why { font-size: 16px; color: var(--ink); background: var(--soft); border-radius: 10px; padding: 10px 14px; display: inline-block; margin-top: 4px; }

/* Contact */
.contact-list { display: grid; gap: 28px; align-content: start; }
.contact-list .h3 { margin-bottom: 6px; }
.contact-list p { margin: 0; line-height: 1.8; }
.form { display: grid; gap: 20px; max-width: 640px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; min-height: 56px; padding: 14px 16px; font: 400 18px/1.4 Inter, system-ui, sans-serif; color: var(--ink);
  background: var(--surface); border: 1px solid #85799C; border-radius: 12px;
}
.field textarea { min-height: 180px; resize: vertical; }
.hidden { display: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.site-footer .brand svg { width: 36px; }
.site-footer .brand span { font-size: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; }
.foot-links a { color: var(--ink-2); min-height: 44px; display: flex; align-items: center; }
.foot-links a:hover { color: var(--accent-ink); }
.foot-note { width: 100%; font-size: 14px; color: var(--ink-3); margin: 0; }

/* Large monitors: let the layout breathe */
@media (min-width: 1800px) {
  :root { --max: 1680px; }
  .hero-art svg { max-width: 900px; }
}
/* Tablet */
@media (max-width: 900px) {
  .hero-main { flex-direction: column-reverse; flex-wrap: nowrap; align-items: stretch; }
  .hero-copy { flex: none; padding-right: 0; }
  .hero-art { flex: none; }
  .hero-art svg { max-width: 560px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-links { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 0 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu-panel { position: absolute; right: 0; top: 52px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px; min-width: 200px; box-shadow: 0 20px 50px -20px rgba(27, 20, 38, 0.35); display: grid; }
  .menu-panel a { color: var(--ink); padding: 12px 14px; border-radius: 10px; }
  .menu-panel a:hover { background: var(--hover-fill); }
  .brand { gap: 10px; }
  .brand svg { width: 34px; }
  .brand span { font-size: 18px; letter-spacing: 0.22em; }
  .nav { gap: 4px; }
  .site-header .btn-sm { padding: 0 16px; }
  .site-header .wrap { gap: 12px; }
  .site-header .wrap { padding-top: 16px; padding-bottom: 16px; }
  .hero { min-height: 0; }
  .hero-main { flex-wrap: wrap; flex-direction: column-reverse; padding-bottom: 48px; }
  .hero-art svg { max-width: 420px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .replay { bottom: -36px; }
  .split, .finding { grid-template-columns: 1fr; }
  .person { flex-direction: column; align-items: flex-start; }
  .screens-row { grid-template-columns: repeat(3, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-right: calc(var(--pad) * -1); padding-right: var(--pad); }
  .shot { scroll-snap-align: start; }
}
