/* Mehta Bros Studios — one small stylesheet, system fonts only (nothing loaded from other sites). */
:root {
  --paper: #f5f0e6;
  --paper-2: #ebe3d3;
  --ink: #141210;
  --ink-2: #4a443c;
  --line: rgba(20, 18, 16, .14);
  --red: #b6242a;
  --red-2: #d8342f;
  --green: #0f9d58;
  --gold: #e9b949;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 600 19px/1 var(--serif); letter-spacing: .01em; white-space: nowrap; }
.mark { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 700 15px/1 var(--serif); letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 34px); font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; background: var(--ink); color: var(--paper) !important; text-decoration: none; font: 600 15px/1 var(--sans); letter-spacing: .02em; border: 0; cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); background: #000; }
.btn.red { background: var(--red); }
.btn.red:hover { background: var(--red-2); }
.btn.ghost { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.nav .btn { padding: 11px 20px; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { min-height: calc(100svh - 72px); display: grid; align-items: center; padding: clamp(40px, 8vh, 96px) 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero h1 { font: 400 clamp(46px, 7.4vw, 108px)/.98 var(--serif); letter-spacing: -.025em; margin: 22px 0 28px; }
.hero h1 em { font-style: italic; color: var(--red); }
.hero p.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 34ch; margin: 0 0 36px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.fan { position: relative; height: clamp(360px, 46vw, 560px); }
.fan img { position: absolute; width: 52%; height: auto; border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(20, 18, 16, .35), 0 0 0 1px rgba(20, 18, 16, .06); background: #fff; }
.fan .c1 { left: 2%; top: 14%; transform: rotate(-11deg); animation: f1 7s ease-in-out infinite; }
.fan .c2 { right: 2%; top: 10%; transform: rotate(10deg); animation: f2 8s ease-in-out infinite; }
.fan .c3 { left: 24%; top: 0; transform: rotate(-1deg); z-index: 2; animation: f3 6s ease-in-out infinite; }
@keyframes f1 { 50% { transform: rotate(-9deg) translateY(-10px); } }
@keyframes f2 { 50% { transform: rotate(12deg) translateY(-14px); } }
@keyframes f3 { 50% { transform: rotate(0deg) translateY(-8px); } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .fan { height: 92vw; max-height: 520px; }
}

/* Ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; white-space: nowrap; padding: 18px 0; font: 500 15px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.ticker .run { display: inline-flex; gap: 48px; padding-right: 48px; animation: run 38s linear infinite; }
.ticker span b { font-weight: 700; }
.up { color: var(--green); }
.dn { color: var(--red); }
@keyframes run { to { transform: translateX(-100%); } }

/* Sections */
section { padding: clamp(80px, 12vw, 160px) 0; }
.h2 { font: 400 clamp(36px, 5vw, 68px)/1.04 var(--serif); letter-spacing: -.02em; margin: 18px 0 0; max-width: 18ch; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.intro p { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); margin: 0; max-width: 46ch; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* Game feature (dark) */
.game { background: var(--ink); color: var(--paper); border-radius: clamp(0px, 3vw, 36px); margin: 0 clamp(0px, 1.5vw, 24px); position: relative; overflow: hidden; }
.game .eyebrow { color: rgba(245, 240, 230, .6); }
.game .grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.game .logo { width: clamp(150px, 18vw, 220px); border-radius: 50%; box-shadow: 0 0 0 10px rgba(255, 255, 255, .04), 0 0 80px rgba(216, 52, 47, .45); margin-bottom: 36px; }
.game h2 { font: 400 clamp(40px, 5.6vw, 76px)/1 var(--serif); letter-spacing: -.02em; margin: 14px 0 22px; }
.game h2 sup { font-size: .32em; vertical-align: top; position: relative; top: .5em; margin-left: 2px; }
.game p { color: rgba(245, 240, 230, .78); font-size: clamp(17px, 1.4vw, 19px); max-width: 44ch; }
.game .btn { background: var(--paper); color: var(--ink) !important; }
.game .btn:hover { background: #fff; }
.game .btn.red { background: var(--red); color: #fff !important; }
.game .btn.red:hover { background: var(--red-2); }
.game .note { font-size: 14px; color: rgba(245, 240, 230, .55); margin-top: 22px; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(245, 240, 230, .14); border-radius: 20px; overflow: hidden; }
.feats li { background: var(--ink); padding: clamp(22px, 2.6vw, 34px); }
.feats li .n { font: 400 15px/1 var(--serif); font-style: italic; color: var(--gold); }
.feats li h3 { font: 600 19px/1.25 var(--sans); margin: 14px 0 8px; }
.feats li p { font-size: 15px; margin: 0; color: rgba(245, 240, 230, .66); }
@media (max-width: 860px) { .game .grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .feats { grid-template-columns: 1fr; } }

/* Principles */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.cols div { padding-top: 28px; }
.cols .k { font: 400 clamp(44px, 5vw, 64px)/1 var(--serif); color: var(--red); }
.cols h3 { font: 600 20px/1.3 var(--sans); margin: 18px 0 10px; }
.cols p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }

/* Contact */
.contact { background: var(--paper-2); }
.contact .big { font: 400 clamp(30px, 5.4vw, 76px)/1.05 var(--serif); letter-spacing: -.02em; text-decoration: none; display: inline-block; margin-top: 26px; border-bottom: 2px solid var(--ink); padding-bottom: 6px; word-break: break-word; transition: color .2s, border-color .2s; }
.contact .big:hover { color: var(--red); border-color: var(--red); }

/* Footer */
footer { padding: 48px 0 56px; font-size: 14px; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }
.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .fan img, .ticker .run { animation: none; }
}

/* Long-form pages (privacy) */
.doc { padding: clamp(56px, 9vw, 120px) 0; }
.doc .wrap { max-width: 820px; }
.doc h1 { font: 400 clamp(40px, 6vw, 72px)/1.02 var(--serif); letter-spacing: -.02em; margin: 16px 0 12px; }
.doc .meta { color: var(--ink-2); font-size: 15px; margin-bottom: 48px; }
.doc h2 { font: 600 21px/1.3 var(--sans); margin: 44px 0 10px; }
.doc p, .doc li { color: #2c2823; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .box { background: var(--paper-2); border-radius: 16px; padding: 22px 26px; margin: 28px 0; }
.btn { white-space: nowrap; }
@media (max-width: 420px) { .nav .long { display: none; } .brand { font-size: 17px; } }

/* Footer v2 */
footer.ft { border-top: 1px solid var(--line); padding: 44px 0 48px; }
footer.ft .wrap { display: block; }
.ft-row { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: center; }
.ft .brand { font-size: 17px; color: var(--ink); }
.ft .mark { width: 28px; height: 28px; font-size: 13px; border-radius: 7px; }
.ft-main { display: flex; flex-wrap: wrap; gap: 10px 28px; font: 600 15px/1.4 var(--sans); }
.ft-main a { color: var(--ink); }
.ft-note { max-width: 78ch; margin: 26px 0 22px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.ft-note a { text-decoration: underline; }
.ft-small { font-size: 13px; padding-top: 18px; border-top: 1px solid var(--line); }
.ft-small nav { gap: 22px; }
.doc ol { padding-left: 22px; }
.doc .big-mail { font: 400 clamp(26px, 4.4vw, 52px)/1.1 var(--serif); text-decoration: none; border-bottom: 2px solid var(--ink); word-break: break-word; }
.doc .big-mail:hover { color: var(--red); border-color: var(--red); }
.doc .log h2 { font: 400 26px/1.2 var(--serif); margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc .log h2:first-child { border-top: 0; padding-top: 0; }
.doc a.btn { margin-top: 18px; }
@media (max-width: 640px) { .ft-main { gap: 10px 20px; } .ft-row { align-items: flex-start; } }
