@import url("https://fonts.googleapis.com/css2?family=Mukta:wght@400;600;700&family=Rozha+One&family=Tiro+Devanagari+Marathi&display=swap");
.sg {
  --bg: #FBF7EF; --panel: #ffffff; --line: #e3d9c6; --ink: #26242a; --muted: #6b6770;
  --saffron: #a8741a; --saffron-deep: #7d560f; --gold: #a8741a; --river: #3b6fa0;
  background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 "Mukta", "Noto Sans Devanagari", system-ui, sans-serif;
  padding: 64px 24px 48px; border-radius: 4px;
}
.sg *, .sg *::before, .sg *::after { box-sizing: border-box; }
.sg .sg-in { max-width: 1040px; margin: 0 auto; display: grid; gap: 72px; }
.sg p { margin: 0; }
.sg a { color: var(--saffron); }
.sg .sg-eyebrow { font: 600 13px/1 "Mukta", system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0; }
.sg .sg-deva { font-family: "Tiro Devanagari Marathi", "Mukta", serif; }

/* Hero */
.sg .sg-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.sg .sg-hero-text { display: grid; gap: 20px; }
.sg .sg-h1 { margin: 0; font: 400 clamp(38px, 6vw, 64px)/1.05 "Rozha One", "Tiro Devanagari Marathi", Georgia, serif; color: var(--ink); text-wrap: balance; letter-spacing: -.01em; }
.sg .sg-h1 em { font-style: normal; color: var(--saffron); }
.sg .sg-lead-mr { font-size: 22px; line-height: 1.5; color: var(--gold); }
.sg .sg-lead { color: var(--muted); max-width: 34em; }
.sg .sg-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sg .sg-btn { display: inline-block; text-decoration: none; font: 600 16px/1 "Mukta", system-ui, sans-serif; color: #FBF7EF; background: var(--saffron); padding: 14px 22px 12px; border-radius: 2px; box-shadow: inset 0 -4px 0 var(--saffron-deep); }
.sg .sg-btn:hover, .sg .sg-btn:focus-visible { background: #be8a2b; outline: none; }
.sg .sg-btn-ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.sg .sg-btn-ghost:hover, .sg .sg-btn-ghost:focus-visible { background: var(--panel); }
.sg .sg-chip { font-size: 14px; color: var(--muted); border: 1px solid var(--line); padding: 8px 12px 6px; border-radius: 2px; }

/* Phones */
.sg .sg-phone { background: #26242a; border-color: #26242a; border: 2px solid var(--line); border-radius: 22px; padding: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.45); margin: 0; }
.sg .sg-phone img { display: block; width: 100%; height: auto; border-radius: 12px; }

/* Divider, as in the game */
.sg .sg-rule { display: flex; align-items: center; gap: 12px; color: var(--gold); }
.sg .sg-rule::before, .sg .sg-rule::after { content: ""; flex: 1; height: 2px; background: currentColor; opacity: .6; }
.sg .sg-rule span { width: 10px; height: 10px; background: currentColor; transform: rotate(45deg); }

/* Game */
.sg .sg-game { display: grid; gap: 36px; }
.sg .sg-game-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.sg .sg-icon { width: 88px; height: 88px; border-radius: 20px; border: 2px solid var(--line); }
.sg .sg-game-title { display: grid; gap: 2px; }
.sg .sg-h2 { margin: 0; font: 400 clamp(40px, 7vw, 60px)/1.1 "Tiro Devanagari Marathi", "Mukta", serif; color: var(--saffron); }
.sg .sg-h2-en { font: 400 26px/1.2 "Rozha One", Georgia, serif; color: var(--ink); margin: 0; }
.sg .sg-tag { color: var(--muted); }
.sg .sg-game-body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.sg .sg-intro { font-size: 19px; }
.sg .sg-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.sg .sg-features li { display: grid; gap: 2px; padding-left: 18px; border-left: 3px solid var(--saffron); }
.sg .sg-features strong { font-weight: 600; color: var(--ink); }
.sg .sg-features span { color: var(--muted); }
.sg .sg-units { color: var(--gold); }
.sg .sg-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sg .sg-shots figure { margin: 0; display: grid; gap: 10px; }
.sg .sg-shots figcaption { font-size: 14px; color: var(--muted); text-align: center; }
.sg .sg-status { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; background: var(--panel); border: 1px solid var(--line); padding: 18px 20px; border-radius: 2px; }
.sg .sg-status b { color: var(--saffron); font-weight: 600; }

/* Thipkyanchi Rangoli: haldi in place of saffron, and smooth (not pixel) pictures */
.sg .sg-rangoli { --saffron: #e8a93a; --saffron-deep: #b9822a; }
.sg .sg-rangoli .sg-phone img, .sg .sg-rangoli .sg-icon { image-rendering: auto; }
.sg .sg-short { max-width: 40em; }

/* Majhi Navuwari: rani pink in place of saffron, smooth pictures too */
.sg .sg-navuwari { --saffron: #e0609a; --saffron-deep: #a8336a; }
.sg .sg-navuwari .sg-phone img, .sg .sg-navuwari .sg-icon { image-rendering: auto; }

/* Studio and contact */
.sg .sg-about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.sg .sg-about h3 { margin: 0 0 8px; font: 400 26px/1.2 "Rozha One", Georgia, serif; color: var(--ink); }
.sg .sg-about p + p { margin-top: 10px; }
.sg .sg-mail { font-family: ui-monospace, Menlo, monospace; font-size: 16px; color: var(--ink); user-select: all; overflow-wrap: anywhere; }
.sg .sg-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }
.sg .sg-foot a { color: var(--muted); }
.sg .sg-foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.sg .sg-foot a.sg-fb { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.sg .sg-foot a.sg-fb svg { width: 22px; height: 22px; flex: none; }
.sg .sg-foot a.sg-fb:hover span, .sg .sg-foot a.sg-fb:focus-visible span { text-decoration: underline; }

/* Home: the mission, then the games as a list */
.sg .sg-hero-mission { grid-template-columns: 1.1fr .9fr; }
.sg .sg-fan { position: relative; height: 430px; max-width: 400px; width: 100%; justify-self: center; }
.sg .sg-fan .sg-phone { position: absolute; width: 46%; padding: 6px; border-radius: 16px; }
.sg .sg-fan .sg-phone img { border-radius: 10px; }
.sg .sg-fan .sg-phone:nth-child(1) { left: 0; top: 46px; transform: rotate(-7deg); }
.sg .sg-fan .sg-phone:nth-child(2) { right: 0; top: 46px; transform: rotate(7deg); }
.sg .sg-fan .sg-phone:nth-child(3) { left: 27%; top: 0; z-index: 1; }
.sg .sg-works { display: grid; gap: 0; }
.sg .sg-works-head { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; padding-bottom: 20px; }
.sg .sg-works-head h2 { margin: 0; font: 400 34px/1.2 "Rozha One", Georgia, serif; color: var(--ink); }
.sg .sg-works-head span { color: var(--gold); font-size: 22px; }
.sg a.sg-work { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: center; padding: 44px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.sg a.sg-work:nth-of-type(even) { grid-template-columns: 1fr 220px; }
.sg a.sg-work:nth-of-type(even) .sg-phone { order: 2; }
.sg a.sg-work .sg-phone { padding: 7px; border-radius: 18px; transition: transform .2s ease; }
.sg a.sg-work:hover .sg-phone, .sg a.sg-work:focus-visible .sg-phone { transform: translateY(-6px); }
.sg a.sg-work:focus-visible { outline: 2px solid var(--saffron); outline-offset: 6px; }
.sg .sg-work-text { display: grid; gap: 6px; justify-items: start; }
.sg .sg-work-kind { font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.sg .sg-work-text .sg-intro { color: var(--muted); max-width: 30em; margin-top: 8px; }
.sg .sg-work-more { margin-top: 12px; font-weight: 600; color: var(--saffron); border-bottom: 2px solid var(--saffron-deep); line-height: 1.4; }

/* Game pages */
.sg .sg-crumb { display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; font-size: 15px; }
.sg .sg-crumb a { text-decoration: none; }
.sg .sg-crumb a:hover { text-decoration: underline; }
.sg .sg-crumb span { color: var(--muted); }
.sg .sg-page { gap: 56px; }
.sg .sg-top { display: grid; grid-template-columns: 1fr 260px; gap: 48px; align-items: center; }
.sg .sg-top-text { display: grid; gap: 28px; }
.sg .sg-top .sg-phone { transform: rotate(2deg); }
.sg .sg-others { display: grid; gap: 14px; }
.sg .sg-others h3 { margin: 0; font: 400 26px/1.2 "Rozha One", Georgia, serif; color: var(--ink); }
.sg .sg-others ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.sg .sg-others a { font-size: 22px; text-decoration: none; }
.sg .sg-others a:hover { text-decoration: underline; }
.sg .sg-others small { display: block; font-size: 15px; color: var(--muted); }

@media (max-width: 760px) {
  .sg .sg-hero-mission, .sg .sg-top { grid-template-columns: 1fr; gap: 32px; }
  .sg .sg-fan { height: 340px; max-width: 320px; }
  .sg a.sg-work, .sg a.sg-work:nth-of-type(even) { grid-template-columns: 112px 1fr; gap: 18px; padding: 30px 0; align-items: start; }
  .sg a.sg-work:nth-of-type(even) .sg-phone { order: 0; }
  .sg a.sg-work .sg-phone { padding: 4px; border-radius: 12px; }
  .sg a.sg-work .sg-phone img { border-radius: 8px; }
  .sg .sg-work-text .sg-h2 { font-size: 32px; }
  .sg .sg-work-text .sg-h2-en { font-size: 20px; }
  .sg .sg-work-text .sg-intro { font-size: 16px; }
  .sg .sg-top .sg-phone { max-width: 220px; justify-self: center; }
  .sg .sg-page { gap: 44px; }
  .sg { padding: 44px 16px 36px; }
  .sg .sg-in { gap: 56px; }
  .sg .sg-hero, .sg .sg-game-body, .sg .sg-about { grid-template-columns: 1fr; gap: 32px; }
  .sg .sg-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .sg .sg-phone { border-radius: 14px; padding: 5px; }
  .sg .sg-phone img { border-radius: 9px; }
}
@media (prefers-reduced-motion: reduce) { .sg .sg-top .sg-phone, .sg .sg-fan .sg-phone { transform: none; } .sg a.sg-work .sg-phone { transition: none; } }
.sg .sg-gk-icon { image-rendering: pixelated; }

/* Each game keeps its own colour, darkened to read on the off-white page */
.sg .sg-gk { --saffron: #c8650c; --saffron-deep: #96490a; }
.sg .sg-rangoli { --saffron: #b0700f; --saffron-deep: #85540a; }
.sg .sg-navuwari { --saffron: #c2327a; --saffron-deep: #8f2259; }
.sg .sg-phone { box-shadow: 0 18px 40px rgba(60,40,20,.18); }

/* Studio logo */
.sg .sg-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.sg .sg-mark { width: 46px; height: 46px; flex: none; }
.sg .sg-brand-name { font: 600 14px/1 "Mukta", system-ui, sans-serif; letter-spacing: .26em; color: var(--ink); padding-top: 3px; }
.sg .sg-top-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.sg .sg-in.sg-home { gap: 56px; }
.sg .sg-foot .sg-mark { width: 28px; height: 28px; vertical-align: -8px; margin-right: 10px; }

/* Top bar links and the language switch */
.sg .sg-nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.sg .sg-nav a { text-decoration: none; }
.sg .sg-nav a:hover { text-decoration: underline; }
.sg .sg-nav a.sg-lang { color: var(--ink); border: 1.5px solid var(--ink); border-radius: 2px; padding: 7px 12px 5px; line-height: 1; font-weight: 600; }
.sg .sg-nav a.sg-lang:hover, .sg .sg-nav a.sg-lang:focus-visible { background: var(--ink); color: var(--bg); text-decoration: none; outline: none; }

/* Marathi pages: headings in Tiro Devanagari Marathi (in Rozha One the ध reads like घ), with a little more line height */
.sg:lang(mr) .sg-h1 { font-family: "Tiro Devanagari Marathi", "Mukta", serif; line-height: 1.3; letter-spacing: 0; }
.sg:lang(mr) .sg-works-head h2, .sg:lang(mr) .sg-about h3, .sg:lang(mr) .sg-others h3 { font-family: "Tiro Devanagari Marathi", "Mukta", serif; line-height: 1.4; }
.sg:lang(mr) .sg-work-kind { letter-spacing: 0; font-size: 15px; }
.sg:lang(mr) .sg-brand-name { letter-spacing: 0; font-size: 20px; padding-top: 2px; }
@media (max-width: 760px) { .sg .sg-top-bar { flex-wrap: nowrap; } .sg .sg-brand { gap: 9px; } .sg .sg-mark { width: 36px; height: 36px; } .sg .sg-brand-name { font-size: 10.5px; letter-spacing: .14em; white-space: nowrap; } .sg .sg-nav { gap: 10px; font-size: 14px; white-space: nowrap; } .sg .sg-nav a.sg-lang { padding: 6px 9px 4px; } .sg:lang(mr) .sg-brand-name { font-size: 17px; letter-spacing: 0; } }

/* Danka: landscape screenshots */
.sg .sg-dk { --saffron: #b8452a; --saffron-deep: #8a3020; }
.sg .sg-dk .sg-phone img { image-rendering: auto; }
.sg .sg-dk .sg-top { grid-template-columns: 1fr 1.3fr; }
.sg .sg-dk .sg-top .sg-phone { transform: rotate(1deg); }
.sg a.sg-work.sg-dk { grid-template-columns: 1fr 420px; }
.sg a.sg-work.sg-dk .sg-phone { order: 2; }
@media (max-width: 760px) {
  .sg .sg-dk .sg-top { grid-template-columns: 1fr; }
  .sg .sg-dk .sg-top .sg-phone { max-width: none; justify-self: stretch; }
  .sg .sg-dk .sg-shots { grid-template-columns: 1fr; gap: 18px; }
  .sg a.sg-work.sg-dk { grid-template-columns: 1fr; gap: 16px; }
  .sg a.sg-work.sg-dk .sg-phone { order: 0; }
}
@media (prefers-reduced-motion: reduce) { .sg .sg-dk .sg-top .sg-phone { transform: none; } }
/* Headline picture: Danka's landscape phone resting in front of the three portrait phones */
.sg .sg-fan { height: 500px; }
.sg .sg-fan .sg-phone.sg-fan-wide { width: 80%; left: 10%; top: 318px; z-index: 2; transform: rotate(-3deg); }
@media (max-width: 760px) {
  .sg .sg-fan { height: 400px; }
  .sg .sg-fan .sg-phone.sg-fan-wide { top: 252px; }
}
