/* =========================================================
   Shri Govardhan Group — Apple-style, scroll-driven theme
   ========================================================= */

:root {
	--bg: #000;
	--bg-2: #0b0b0d;
	--card: #141417;
	--card-2: #1c1c21;
	--line: rgba(255, 255, 255, .1);
	--line-2: rgba(255, 255, 255, .16);
	--text: #f5f5f7;
	--text-2: #c7c7cc;
	--muted: #a1a1a6;
	--light: #f5f5f7;
	--light-2: #fff;
	--ink: #1d1d1f;
	--ink-2: #424245;
	--ink-3: #6e6e73;
	--gold: #d4a84b;
	--gold-hi: #f0cf83;
	--gold-ink: #1a1206;
	--accent: #d4a84b;
	--accent-ink: #1a1206;
	--sand: #c99a6b;
	--sand-line: #b5875a;
	--wood: #5b2a1a;
	--wood-line: #8a4a2b;
	--wood-dark: #3a170c;
	--cream: #f4e9d2;
	--cream-ink: #2a1a10;
	--pad-x: max(22px, 5vw);
	--max: 1200px;
	--nav-h: 52px;
	--ease: cubic-bezier(.25, .1, .25, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--serif: "Cormorant Garamond", Georgia, serif;
	--display: "Space Grotesk", Inter, system-ui, sans-serif;
	--sans: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}

.sgg-accent-gbit { --accent: #6fb7ff; --accent-ink: #04121f; }
.sgg-accent-nextand { --accent: #e8b04b; --accent-ink: #1f1505; }
.sgg-accent-technical { --accent: #8fe0b4; --accent-ink: #062014; }
.sgg-accent-growth { --accent: #a9b4ff; --accent-ink: #0d1340; }
.sgg-accent-vedansh { --accent: #d4a84b; --accent-ink: #1a1206; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font-family: var(--sans); font-size: 17px; line-height: 1.47; letter-spacing: -.012em;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }

.sgg-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 8px; }
.sgg-skip:focus { left: 8px; }

/* ---------- Type ---------- */
.sgg-kicker { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.sgg-kicker--accent { color: var(--accent); }
.sgg-kicker--dark { color: #8a5a22; }
.sgg-display { margin: 0; font-family: var(--sans); font-weight: 700; font-size: clamp(34px, 5.2vw, 64px); line-height: 1.05; letter-spacing: -.035em; }
.sgg-muted { margin: 0; color: var(--muted); }
.sgg-note { margin: 0; font-size: 13px; color: var(--muted); }
.sgg-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 19px; color: var(--accent); }
.sgg-link--dark { color: #0066cc; font-size: 17px; }
.sgg-light .sgg-link { color: #0066cc; }

/* ---------- Buttons ---------- */
.sgg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 48px; padding: 0 24px; border-radius: 980px; border: 0;
	font: 500 17px/1 var(--sans); letter-spacing: -.01em; cursor: pointer; text-decoration: none;
	transition: transform .25s var(--ease), background-color .25s, filter .25s;
}
.sgg-btn:hover { text-decoration: none; transform: scale(1.03); }
.sgg-btn:active { transform: scale(.98); }
.sgg-btn--gold { background: var(--gold); color: var(--gold-ink); }
.sgg-btn--gold:hover { background: var(--gold-hi); color: var(--gold-ink); }
.sgg-btn--accent { background: var(--accent); color: var(--accent-ink); }
.sgg-btn--accent:hover { color: var(--accent-ink); filter: brightness(1.08); }
.sgg-round {
	width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(210, 210, 215, .16); color: var(--text); font-size: 26px; line-height: 1;
	display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s, opacity .2s;
}
.sgg-round:hover { background: rgba(210, 210, 215, .3); }
.sgg-round[disabled] { opacity: .35; cursor: default; }

/* ---------- Frosted nav ---------- */
.sgg-header {
	position: sticky; top: 0; z-index: 60; height: var(--nav-h);
	display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 0 var(--pad-x);
	background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid var(--line);
}
.sgg-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.sgg-brand:hover { text-decoration: none; color: var(--text); }
.sgg-brand .custom-logo { max-height: 30px; width: auto; }
.sgg-monogram {
	width: 30px; height: 30px; border: 1.2px solid var(--gold); border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center; font: 700 13px/1 var(--serif); color: var(--gold);
}
.sgg-header__name { font: 600 18px/1 var(--serif); letter-spacing: .01em; color: var(--text); }
.sgg-header__name--small { font-size: 16px; color: var(--gold); }
.sgg-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 26px; }
.sgg-nav a, .sgg-back { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: rgba(245, 245, 247, .8); }
.sgg-nav a:hover, .sgg-back:hover { color: #fff; text-decoration: none; }

/* ---------- Reveal on scroll ---------- */
.sgg-js .sgg-reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.sgg-js .sgg-reveal.is-in { opacity: 1; transform: none; }
.sgg-rise { opacity: 0; transform: translateY(26px); animation: sgg-rise 1.1s var(--ease-out) forwards; }
.sgg-rise:nth-child(2) { animation-delay: .08s; }
.sgg-rise:nth-child(3) { animation-delay: .16s; }
.sgg-rise:nth-child(4) { animation-delay: .24s; }
.sgg-rise:nth-child(5) { animation-delay: .32s; }
@keyframes sgg-rise { to { opacity: 1; transform: none; } }

/* =========================================================
   GATE — 3D rendered image sequence scrubbed by scroll.
   JS sets --p (0→1) and draws the matching frame on the canvas.
   ========================================================= */
.sgg-gate { --p: 0; position: relative; height: 420vh; }
.sgg-gate__sticky {
	--t: clamp(0, var(--p) / .14, 1);              /* intro leaves   */
	--r: clamp(0, (var(--p) - .5) / .1, 1);        /* welcome in     */
	--ro: clamp(0, (var(--p) - .72) / .1, 1);      /* welcome out    */
	--f: clamp(0, (var(--p) - .9) / .1, 1);        /* fade to black  */
	position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow: hidden;
	display: flex; align-items: center; justify-content: center; text-align: center; background: #000;
}
.sgg-gate__media { position: absolute; inset: 0; }
.sgg-gate__poster, .sgg-gate__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sgg-gate__canvas { opacity: 0; transition: opacity .3s; }
.sgg-gate.has-canvas .sgg-gate__canvas { opacity: 1; }
.sgg-gate__shade {
	position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(0deg, rgba(0, 0, 0, calc(.85 * (1 - var(--t)))) 0%, rgba(0, 0, 0, calc(.55 * (1 - var(--t)))) 26%, rgba(0, 0, 0, 0) 52%),
		rgba(0, 0, 0, var(--f));
}
.sgg-gate__intro {
	position: absolute; bottom: 9vh; left: 0; right: 0; padding: 0 var(--pad-x);
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	opacity: calc(1 - var(--t)); transform: translateY(calc(var(--t) * 40px));
}
.sgg-gate__title { margin: 0; font: 600 clamp(40px, 6.4vw, 88px)/1 var(--serif); letter-spacing: -.01em; text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
.sgg-gate__tagline { margin: 0; font-size: clamp(17px, 1.6vw, 21px); color: var(--text-2); }
.sgg-gate__actions { display: flex; align-items: center; gap: 22px; margin-top: 14px; }
.sgg-gate__skip { font-size: 14px; color: var(--text-2); }
.sgg-gate__welcome {
	position: relative; z-index: 2; max-width: 560px; padding: 0 var(--pad-x);
	display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--cream-ink);
	opacity: calc(var(--r) - var(--ro)); transform: translateY(calc((1 - var(--r)) * 30px + var(--ro) * -30px)) scale(calc(1 + var(--ro) * .08));
	pointer-events: none;
}
.sgg-gate__welcome .sgg-kicker { color: #8a5a22; }
.sgg-gate__welcome-title { margin: 0; font: 600 clamp(32px, 4.6vw, 60px)/1.05 var(--serif); }
.sgg-gate__welcome p { margin: 0; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.5; }
.sgg-gate__hint {
	position: absolute; bottom: 2.4vh; left: 0; right: 0; margin: 0; font-size: 11px; letter-spacing: .14em;
	text-transform: uppercase; color: var(--muted); opacity: calc(1 - var(--t) * 3);
}
.sgg-gate__hint span { display: inline-block; animation: sgg-bob 1.6s ease-in-out infinite; }
@keyframes sgg-bob { 50% { transform: translateY(5px); } }

/* 3D office renders */
.sgg-render { overflow: hidden; }
.sgg-render img { width: 100%; height: 100%; object-fit: cover; }
.sgg-render--hero { width: min(100%, 1100px); margin: 0 auto; aspect-ratio: 16 / 10; border-radius: 28px; box-shadow: 0 40px 80px rgba(0, 0, 0, .55); }
.sgg-ocard__art:has(.sgg-render) { padding: 0; }
.sgg-ocard .sgg-render { width: 100%; height: 100%; }
.sgg-ocard .sgg-render img { transition: transform .8s var(--ease-out); }
.sgg-ocard__link:hover .sgg-render img { transform: scale(1.06); }

/* =========================================================
   STATEMENT — words light up as you scroll (--p on section)
   ========================================================= */
.sgg-statement { --p: 0; padding: 26vh var(--pad-x); max-width: calc(var(--max) + 2 * var(--pad-x)); margin: 0 auto; }
.sgg-statement__text {
	margin: 0; font-weight: 700; font-size: clamp(32px, 4.8vw, 64px); line-height: 1.12; letter-spacing: -.035em;
}
.sgg-statement__text .w { opacity: clamp(.16, (var(--p) * 1.9 - .4 - var(--w)) * 5, 1); }
.sgg-statement--office { padding: 18vh var(--pad-x); }
.sgg-statement--office .sgg-statement__text { font-size: clamp(28px, 3.8vw, 52px); }

/* =========================================================
   CAMPUS — pinned horizontal scroll (JS sets --x and height)
   ========================================================= */
.sgg-hscroll { --p: 0; --x: 0px; position: relative; }
.sgg-hscroll__sticky {
	position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow: hidden;
	display: flex; flex-direction: column; justify-content: center; gap: 3.5vh; padding: 4vh 0;
}
.sgg-hscroll__head {
	display: flex; flex-wrap: wrap; gap: 12px 48px; justify-content: space-between; align-items: flex-end;
	padding: 0 var(--pad-x);
}
.sgg-hscroll__head .sgg-display { margin-top: 10px; font-size: clamp(32px, 4.2vw, 56px); }
.sgg-hscroll__lead { margin: 0; max-width: 380px; font-size: 19px; color: var(--muted); }
.sgg-track {
	list-style: none; margin: 0; padding: 0 var(--pad-x); display: flex; gap: 24px;
	transform: translate3d(var(--x), 0, 0); will-change: transform;
}
.sgg-ocard { flex: none; width: min(76vw, 440px); }
.sgg-ocard__link {
	display: flex; flex-direction: column; height: 100%; border-radius: 28px; overflow: hidden;
	background: var(--card); color: var(--text); transition: transform .5s var(--ease-out), box-shadow .5s;
}
.sgg-ocard__link:hover { text-decoration: none; color: var(--text); transform: scale(1.02); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.sgg-ocard__art { height: min(38vh, 360px); display: flex; align-items: flex-end; justify-content: center; padding: 34px 34px 0; background: linear-gradient(180deg, #0d0d10, var(--card)); }
.sgg-ocard__art .sgg-bld { width: 72%; height: 100%; }
.sgg-ocard__body { display: flex; flex-direction: column; gap: 4px; padding: 20px 26px 24px; border-top: 1px solid var(--line); }
.sgg-ocard__num { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .1em; }
.sgg-ocard__name { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.sgg-ocard__desc { font-size: 15px; color: var(--muted); }
.sgg-ocard__cta { margin-top: 8px; font-size: 17px; color: var(--accent); }
.sgg-hscroll__bar { margin: 0 var(--pad-x); height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.sgg-hscroll__bar span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p)); }

/* ---------- Buildings ---------- */
.sgg-bld { position: relative; overflow: hidden; }
.sgg-bld--hero { height: min(62vh, 560px); width: min(100%, 760px); margin: 0 auto; border-radius: 22px 22px 0 0; }
.sgg-bld__sign { position: absolute; z-index: 2; font: 700 17px/1.2 var(--display); letter-spacing: .02em; }
.sgg-bld--hero .sgg-bld__sign { font-size: clamp(20px, 2.4vw, 30px); }

.sgg-bld--gbit { background: #1b2230 radial-gradient(circle, #6fb7ff 0 4px, transparent 5px) 8px 10px / 34px 34px; border-radius: 10px 10px 0 0; }
.sgg-bld--gbit::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, #ff7aa8 0 4px, transparent 5px) 25px 27px / 34px 34px; animation: sgg-twinkle 3s ease-in-out infinite alternate; }
.sgg-bld--gbit .sgg-bld__sign { top: 8%; left: 10%; right: 10%; padding: 7% 0; text-align: center; border-radius: 8px; background: #000; border: 1px solid #6fb7ff; color: #6fb7ff; box-shadow: 0 0 30px rgba(111, 183, 255, .35); }

.sgg-bld--nextand { background: #24201b; overflow: visible; }
.sgg-ocard .sgg-bld--nextand { height: 78% !important; }
.sgg-bld__roof { position: absolute; top: -30px; left: 0; right: 0; height: 30px; background: linear-gradient(135deg, transparent 50%, #3a332a 50%) 0 0 / 40px 30px; }
.sgg-bld--hero .sgg-bld__roof { top: -54px; height: 54px; background-size: 64px 54px; }
.sgg-bld--hero.sgg-bld--nextand { height: min(52vh, 470px); margin-top: 54px; }
.sgg-bld__shutter { position: absolute; bottom: 0; left: 10%; right: 10%; height: 52%; background: #1a1714 repeating-linear-gradient(0deg, #2e2924 0 3px, transparent 3px 16px); border: 1px solid #4a4036; }
.sgg-bld--nextand .sgg-bld__sign { top: 12%; left: 10%; color: #e8b04b; }

.sgg-bld--technical { background: #1c1f1e; border-radius: 6px 6px 0 0; }
.sgg-bld__truss { position: absolute; top: 7%; left: 8%; right: 8%; height: 26px; border-top: 2px solid #8c9590; border-bottom: 2px solid #8c9590; background: linear-gradient(45deg, transparent 45%, #8c9590 45% 55%, transparent 55%) 0 0 / 26px 26px, linear-gradient(-45deg, transparent 45%, #8c9590 45% 55%, transparent 55%) 0 0 / 26px 26px; }
.sgg-bld__lights { position: absolute; top: calc(7% + 36px); left: 14%; right: 14%; display: flex; justify-content: space-between; }
.sgg-bld__lights i { width: 16px; height: 16px; border-radius: 50%; background: #f7e08a; box-shadow: 0 0 18px #f7e08a; animation: sgg-twinkle 2.2s ease-in-out infinite alternate; }
.sgg-bld__lights i:nth-child(2n) { animation-delay: .7s; }
.sgg-bld__bay { position: absolute; bottom: 0; left: 8%; right: 8%; height: 40%; background: #121413 repeating-linear-gradient(90deg, #26302c 0 2px, transparent 2px 22px); border: 1px solid #3e4743; }
.sgg-bld--technical .sgg-bld__sign { top: 34%; left: 8%; color: #8fe0b4; }

.sgg-bld--growth { background-color: #141a2b; background-image: repeating-linear-gradient(0deg, transparent 0 20px, #24305a 20px 22px), repeating-linear-gradient(90deg, transparent 0 28px, #24305a 28px 30px); border-radius: 40px 40px 0 0; }
.sgg-bld--growth::after { content: ""; position: absolute; left: 0; right: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(169, 180, 255, .18), transparent); animation: sgg-scan 4s linear infinite; }
.sgg-bld--growth .sgg-bld__sign { top: 9%; left: 16%; right: 16%; padding: 4% 0; text-align: center; border-radius: 8px; background: #000; border: 1px solid #8e9bff; color: #b5beff; box-shadow: 0 0 30px rgba(142, 155, 255, .35); }
.sgg-bld__chips { position: absolute; z-index: 2; bottom: 8%; left: 8%; right: 8%; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sgg-bld__chips i { font-style: normal; padding: 4px 10px; border-radius: 999px; background: #232c4d; font-size: 11px; color: #d8dcff; }

.sgg-bld--vedansh { background: #17161a; border: 1px dashed #5c5848; }
.sgg-bld__scaffold { position: absolute; inset: 0; opacity: .8; background: linear-gradient(90deg, #7a6a45 0 3px, transparent 3px) 0 0 / 60px 100%, linear-gradient(0deg, #7a6a45 0 3px, transparent 3px) 0 0 / 100% 70px, linear-gradient(45deg, transparent 49%, #5e5236 49% 51%, transparent 51%) 0 0 / 60px 70px; }
.sgg-bld__glow { position: absolute; width: 14px; height: 14px; background: var(--gold-hi); box-shadow: 0 0 20px var(--gold-hi); animation: sgg-twinkle 2s ease-in-out infinite alternate; }
.sgg-bld__glow--a { top: 30%; left: 30%; }
.sgg-bld__glow--b { top: 52%; left: 64%; animation-delay: 1s; }
.sgg-bld__tape, .sgg-tape { position: absolute; z-index: 2; top: 44%; left: -10px; right: -10px; padding: 10px 0; text-align: center; background: var(--gold); color: var(--gold-ink); font: 700 14px/1 var(--display); letter-spacing: .24em; transform: rotate(-6deg); }

@keyframes sgg-twinkle { from { opacity: 1; } to { opacity: .4; } }
@keyframes sgg-scan { from { top: -40%; } to { top: 100%; } }

/* =========================================================
   LIGHT SECTIONS (Apple #f5f5f7)
   ========================================================= */
.sgg-light { background: var(--light); color: var(--ink); }
.sgg-light .sgg-display { color: var(--ink); }

.sgg-numbers { padding: 16vh var(--pad-x) 10vh; text-align: center; }
.sgg-numbers__grid { margin: 9vh auto 0; max-width: var(--max); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sgg-number { display: flex; flex-direction: column-reverse; gap: 8px; }
.sgg-number dd { margin: 0; font-weight: 700; font-size: clamp(56px, 7vw, 96px); line-height: 1; letter-spacing: -.05em; background: linear-gradient(135deg, #a7782a, #d4a84b 50%, #8a5a22); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sgg-number dt { font-size: 17px; color: var(--ink-3); }

.sgg-about { padding: 6vh var(--pad-x) 18vh; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.sgg-about__title { margin: 0; max-width: 900px; font: 600 clamp(36px, 5vw, 64px)/1.06 var(--serif); color: var(--ink); }
.sgg-about__text { margin: 0; max-width: 680px; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: var(--ink-2); }

/* =========================================================
   OFFICE PAGE
   ========================================================= */
.sgg-ohero { padding: 12vh var(--pad-x) 0; text-align: center; overflow: hidden; }
.sgg-ohero__text { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 980px; margin: 0 auto; position: relative; }
.sgg-ohero__title { margin: 0; font-weight: 700; font-size: clamp(48px, 8vw, 112px); line-height: .98; letter-spacing: -.045em; }
.sgg-ohero__tagline { margin: 0; font: italic 500 clamp(24px, 2.8vw, 36px)/1.2 var(--serif); color: var(--gold); }
.sgg-ohero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px; margin-top: 14px; }
.sgg-ohero__art { --p: 0; margin-top: 8vh; transform: translateY(calc((1 - var(--p)) * 60px)) scale(calc(.86 + var(--p) * .2)); transform-origin: 50% 100%; }
.sgg-ohero__img { width: min(100%, 980px); height: min(62vh, 560px); margin: 0 auto; object-fit: cover; border-radius: 22px 22px 0 0; }
.sgg-ohero--soon {
	padding-bottom: 14vh; position: relative;
	background: linear-gradient(90deg, rgba(122, 106, 69, .35) 0 2px, transparent 2px) 0 0 / 120px 100%, linear-gradient(0deg, rgba(122, 106, 69, .35) 0 2px, transparent 2px) 0 0 / 100% 110px;
}
.sgg-ohero--soon .sgg-tape { position: relative; top: auto; left: auto; right: auto; padding: 12px 28px; margin-top: 18px; transform: rotate(-3deg); }

.sgg-services { padding: 16vh var(--pad-x); }
.sgg-services .sgg-display { max-width: var(--max); margin: 0 auto 7vh; }
.sgg-tiles { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sgg-tile {
	background: var(--light-2); border-radius: 28px; padding: 34px 32px 38px; min-height: 240px;
	display: flex; flex-direction: column; gap: 12px; box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
	transition: transform .5s var(--ease-out), box-shadow .5s, opacity 1s var(--ease-out);
}
.sgg-tile.is-in:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0, 0, 0, .1); }
.sgg-tile__num { font-size: 14px; font-weight: 700; color: var(--ink-3); letter-spacing: .08em; }
.sgg-tile__title { margin: auto 0 0; font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.sgg-tile__text { margin: 0; font-size: 17px; color: var(--ink-3); }

.sgg-bigstats { padding: 16vh var(--pad-x); }
.sgg-bigstats__grid { margin: 0 auto; max-width: var(--max); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.sgg-bigstat { display: flex; flex-direction: column-reverse; gap: 10px; border-top: 1px solid var(--line-2); padding-top: 22px; }
.sgg-bigstat dd { margin: 0; font-weight: 700; font-size: clamp(44px, 5.4vw, 80px); line-height: 1; letter-spacing: -.045em; color: var(--accent); }
.sgg-bigstat dt { font-size: 19px; color: var(--muted); }

.sgg-venues { padding: 0 0 16vh; overflow: hidden; }
.sgg-venues__title { padding: 0 var(--pad-x); margin-bottom: 26px; text-align: center; }
.sgg-marquee { display: flex; width: max-content; animation: sgg-marquee 32s linear infinite; }
.sgg-marquee:hover { animation-play-state: paused; }
.sgg-marquee__track { list-style: none; margin: 0; padding: 0 14px 0 0; display: flex; gap: 14px; }
.sgg-marquee__track li { white-space: nowrap; padding: 16px 28px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.02em; }
@keyframes sgg-marquee { to { transform: translateX(-50%); } }

/* Carousels */
.sgg-carousel-section { padding: 12vh 0; }
.sgg-carousel-head { max-width: calc(var(--max) + 2 * var(--pad-x)); margin: 0 auto 5vh; padding: 0 var(--pad-x); display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-end; }
.sgg-carousel-nav { display: flex; gap: 12px; }
.sgg-carousel {
	list-style: none; margin: 0; padding: 4px var(--pad-x) 30px; display: flex; gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad-x); scrollbar-width: none;
}
.sgg-carousel::-webkit-scrollbar { display: none; }
.sgg-carousel > li { scroll-snap-align: start; flex: none; }
.sgg-carousel-section > .sgg-note { padding: 0 var(--pad-x); max-width: calc(var(--max) + 2 * var(--pad-x)); margin: 0 auto; }
.sgg-shot { width: min(80vw, 420px); height: 300px; position: relative; border-radius: 24px; overflow: hidden; background: var(--card); }
.sgg-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.sgg-shot:hover img { transform: scale(1.05); }
.sgg-shot__ph { height: 100%; display: flex; align-items: center; justify-content: center; border: 1px dashed rgba(255, 255, 255, .22); border-radius: 24px; font-size: 14px; color: var(--muted); }
.sgg-shot__cap { position: absolute; left: 22px; bottom: 18px; font-weight: 600; }

.sgg-room-card { width: min(82vw, 380px); display: flex; }
.sgg-room {
	flex: 1; min-height: 440px; padding: 34px 30px; border-radius: 28px; color: var(--text);
	background: radial-gradient(120% 80% at 100% 0%, rgba(169, 180, 255, .18), transparent 60%), var(--card);
	display: flex; flex-direction: column; gap: 12px; transition: transform .5s var(--ease-out), box-shadow .5s;
}
a.sgg-room:hover { text-decoration: none; color: var(--text); transform: scale(1.02); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.sgg-room__cat { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.sgg-room__name { font-size: 38px; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.sgg-room__tagline { font: italic 500 22px/1.25 var(--serif); color: var(--gold); }
.sgg-room__desc { font-size: 17px; color: var(--text-2); }
.sgg-room__link { margin-top: auto; font-size: 17px; color: var(--accent); }

/* Apps wall */
.sgg-apps-section { padding: 16vh var(--pad-x); text-align: center; }
.sgg-apps-section .sgg-display { max-width: 820px; margin: 12px auto 7vh; }
.sgg-apps { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: left; }
.sgg-apps > li { display: flex; }
.sgg-app {
	flex: 1; padding: 26px; border-radius: 26px; background: var(--light-2); color: var(--ink);
	display: flex; flex-direction: column; gap: 10px; box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
	transform: perspective(800px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
	transition: transform .4s var(--ease-out), box-shadow .4s;
}
a.sgg-app:hover { text-decoration: none; color: var(--ink); box-shadow: 0 24px 50px rgba(0, 0, 0, .12); }
.sgg-app__icon { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; margin-bottom: 8px; box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.sgg-app__icon--tile { display: flex; align-items: center; justify-content: center; font: 700 28px/1 var(--display); color: #111; }
.sgg-app__name { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.sgg-app__line { font-size: 15px; color: var(--ink-3); }
.sgg-app__cta { margin-top: auto; padding-top: 10px; font-size: 15px; color: #0066cc; }

/* THREAD teaser — thread stitches in with scroll */
.sgg-teaser { --p: 0; padding: 14vh var(--pad-x); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6vw; align-items: center; max-width: calc(var(--max) + 2 * var(--pad-x)); margin: 0 auto; }
.sgg-teaser__stage {
	position: relative; aspect-ratio: 1 / 1.05; border-radius: 32px; overflow: hidden;
	background: radial-gradient(60% 50% at 50% 55%, rgba(212, 168, 75, .16), transparent 70%), #0e0e11;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.sgg-teaser__thread { position: absolute; inset: 0; width: 100%; height: 100%; }
.sgg-teaser__thread path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, var(--p) * 1.7 - .15, 1)); }
.sgg-hanger { position: relative; z-index: 1; width: 110px; height: 14px; border: 3px solid #8c877d; border-bottom: 0; border-radius: 60px 60px 0 0; }
.sgg-hoodie {
	position: relative; z-index: 1; width: 54%; aspect-ratio: 1 / 1.1; border-radius: 34% 34% 10% 10%;
	background: linear-gradient(180deg, #26262c, #18181c); border: 1px solid #3a3a40;
	display: flex; align-items: center; justify-content: center; font: 700 clamp(22px, 3vw, 38px)/1 var(--display); letter-spacing: .3em; padding-left: .3em;
	opacity: clamp(0, var(--p) * 2.4 - .3, 1); transform: translateY(calc((1 - clamp(0, var(--p) * 2 - .2, 1)) * 40px));
}
.sgg-hoodie__hood { position: absolute; top: 8%; left: 30%; right: 30%; height: 18%; border: 2px solid #3a3a40; border-top: 0; border-radius: 0 0 50% 50%; }
.sgg-teaser__text { display: flex; flex-direction: column; gap: 16px; }
.sgg-teaser__brand { margin: 0; font-weight: 700; font-size: clamp(56px, 8vw, 120px); line-height: .9; letter-spacing: .12em; }
.sgg-teaser__copy { margin: 0; font-size: 21px; color: var(--text-2); }

/* Forms */
.sgg-form { display: flex; flex-direction: column; gap: 14px; }
.sgg-form__title { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.sgg-form__row { display: flex; flex-wrap: wrap; gap: 14px; }
.sgg-field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
.sgg-field input, .sgg-field textarea { min-height: 52px; padding: 14px 16px; border-radius: 14px; font: 17px/1.4 var(--sans); transition: border-color .2s, box-shadow .2s; }
.sgg-form .sgg-btn { align-self: flex-start; margin-top: 6px; }
.sgg-form--glass { margin-top: 14px; padding: 28px; border-radius: 28px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.sgg-form--glass .sgg-field { color: var(--text-2); }
.sgg-form--glass .sgg-field input { background: rgba(0, 0, 0, .4); border: 1px solid var(--line-2); color: var(--text); }
.sgg-form--glass .sgg-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 168, 75, .25); }
.sgg-form--light .sgg-field { color: var(--ink-2); }
.sgg-form--light .sgg-field input, .sgg-form--light .sgg-field textarea { background: #fff; border: 1px solid #d2d2d7; color: var(--ink); }
.sgg-form--light .sgg-field input:focus, .sgg-form--light .sgg-field textarea:focus { outline: none; border-color: #0071e3; box-shadow: 0 0 0 4px rgba(0, 113, 227, .2); }
.sgg-form__msg { margin: 0; padding: 12px 16px; border-radius: 12px; font-size: 15px; }
.sgg-form__msg.is-ok { background: rgba(48, 209, 88, .14); color: #1f8a3b; }
.sgg-form--glass .sgg-form__msg.is-ok { color: #8ee3a3; }
.sgg-form__msg.is-error { background: rgba(255, 69, 58, .14); color: #c8302b; }
.sgg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sgg-quote { padding: 16vh var(--pad-x); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6vw; }
.sgg-quote__info { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.sgg-quote__lead { margin: 0; font-size: 21px; color: var(--ink-3); }

.sgg-ofoot { padding: 10vh var(--pad-x) 4vh; }
.sgg-ofoot__info { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 32px 64px; }
.sgg-ofoot__info > div { display: flex; flex-direction: column; gap: 6px; }

.sgg-nextoffice {
	display: flex; flex-direction: column; gap: 10px; padding: 10vh var(--pad-x) 12vh; color: var(--text);
	border-top: 1px solid var(--line); max-width: calc(var(--max) + 2 * var(--pad-x)); margin: 0 auto;
}
.sgg-nextoffice:hover { text-decoration: none; color: var(--text); }
.sgg-nextoffice__name { font-weight: 700; font-size: clamp(36px, 6vw, 88px); line-height: 1; letter-spacing: -.045em; }
.sgg-nextoffice__arrow { display: inline-block; color: var(--gold); transition: transform .5s var(--ease-out); }
.sgg-nextoffice:hover .sgg-nextoffice__arrow { transform: translateX(18px); }

/* Generic pages */
.sgg-page { padding: 14vh var(--pad-x); max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.sgg-page--center { align-items: center; text-align: center; }
.sgg-h2 { margin: 0; font-weight: 700; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.035em; }
.sgg-h3 { margin: 0; font-weight: 700; font-size: 26px; letter-spacing: -.02em; }
.sgg-lead { margin: 0; font-size: 19px; color: var(--text-2); }
.sgg-article { display: flex; flex-direction: column; gap: 14px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.sgg-prose { color: var(--text-2); line-height: 1.7; }

/* Footer */
.sgg-footer { padding: 64px var(--pad-x) 32px; background: var(--bg-2); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 36px; font-size: 14px; }
.sgg-footer__cols { max-width: var(--max); width: 100%; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.sgg-footer__col { flex: 1 1 220px; display: flex; flex-direction: column; gap: 10px; }
.sgg-footer__col .sgg-kicker { font-size: 12px; }
.sgg-footer__name { font: 600 24px/1.2 var(--serif); }
.sgg-footer__list, .sgg-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sgg-footer__menu { flex-direction: row; display: inline-flex; gap: 12px; margin-right: 12px; }
.sgg-footer__list a { color: var(--text-2); }
.sgg-footer__bottom { max-width: var(--max); width: 100%; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }
.sgg-footer__bottom a { color: var(--muted); }

/* =========================================================
   Responsive — phones/tablets get native swipe instead of pins
   ========================================================= */
@media (max-width: 899px) {
	.sgg-hscroll { height: auto !important; }
	.sgg-hscroll__sticky { position: static; height: auto; padding: 12vh 0 8vh; }
	.sgg-track { transform: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad-x); padding-bottom: 20px; scrollbar-width: none; }
	.sgg-track::-webkit-scrollbar { display: none; }
	.sgg-ocard { scroll-snap-align: start; }
	.sgg-ocard__art { height: 300px; }
	.sgg-hscroll__bar { display: none; }
	.sgg-numbers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
	.sgg-tiles, .sgg-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sgg-teaser, .sgg-quote { grid-template-columns: minmax(0, 1fr); }
	.sgg-nav ul { gap: 4px 16px; }
}
@media (max-width: 560px) {
	.sgg-header__name { font-size: 16px; }
	.sgg-nav { display: none; }
	.sgg-gate { height: 360vh; }
	.sgg-gate__actions { flex-direction: column; gap: 10px; }
	.sgg-tiles, .sgg-apps { grid-template-columns: minmax(0, 1fr); }
	.sgg-tile { min-height: 180px; }
	.sgg-statement { padding: 18vh var(--pad-x); }
}

/* Reduced motion: no scrubbing, everything shown in its final state */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
	.sgg-gate { height: auto; }
	.sgg-gate__sticky { position: relative; top: 0; height: 80vh; --t: 0; --r: 0; --ro: 0; --f: 0; }
	.sgg-gate__hint { display: none; }
	.sgg-reveal, .sgg-rise { opacity: 1; transform: none; }
	.sgg-statement, .sgg-teaser, .sgg-ohero__art { --p: 1 !important; }
	.sgg-hscroll { height: auto !important; }
	.sgg-hscroll__sticky { position: static; height: auto; padding: 12vh 0; }
	.sgg-track { transform: none; overflow-x: auto; }
	.sgg-marquee { width: auto; flex-wrap: wrap; justify-content: center; }
	.sgg-marquee__track[aria-hidden="true"] { display: none; }
	.sgg-marquee__track { flex-wrap: wrap; justify-content: center; }
}

/* =========================================================
   HAVELI THEME — warm heritage palette carried past the gate
   (overrides the neutral Apple palette above)
   ========================================================= */
:root {
	--cream: #f7efe1;
	--sand-100: #efe2c8;
	--sand-200: #e3cfa8;
	--sand-300: #d6bb8c;
	--ink: #2a1a10;
	--ink-2: #4e3727;
	--ink-3: #6f5544;
	--brass: #8a5a22;
	--night: #140d08;
	--night-2: #1d140d;
	--night-card: #251a12;
	--bg: var(--night);
	--bg-2: var(--night-2);
	--card: var(--night-card);
	--line: rgba(240, 207, 131, .14);
	--line-2: rgba(240, 207, 131, .22);
	--text: #f7efe1;
	--text-2: #dccbb0;
	--muted: #b8a58b;
	--jaali: radial-gradient(circle at 50% 50%, transparent 38%, rgba(138, 90, 34, .07) 39% 41%, transparent 42%) 0 0 / 46px 46px,
		radial-gradient(circle at 0 0, transparent 38%, rgba(138, 90, 34, .07) 39% 41%, transparent 42%) 0 0 / 46px 46px;
}
body { background: var(--night); }
.sgg-header { background: rgba(20, 13, 8, .8); border-bottom-color: rgba(240, 207, 131, .14); }

/* Ornament under kickers */
.sgg-kicker { color: var(--gold); }
.sgg-orn { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--gold); }
.sgg-orn::before, .sgg-orn::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .6; }

/* Serif display everywhere after the gate */
.sgg-display, .sgg-statement__text, .sgg-ohero__title, .sgg-nextoffice__name, .sgg-teaser__brand,
.sgg-ocard__name, .sgg-room__name, .sgg-tile__title, .sgg-app__name, .sgg-h2 {
	font-family: var(--serif); font-weight: 600; letter-spacing: -.01em;
}
.sgg-display { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; }

/* Gate ends in warm light, not black */
.sgg-gate__shade {
	background:
		linear-gradient(0deg, rgba(0, 0, 0, calc(.85 * (1 - var(--t)))) 0%, rgba(0, 0, 0, calc(.55 * (1 - var(--t)))) 26%, rgba(0, 0, 0, 0) 52%),
		rgba(247, 239, 225, var(--f));
}
.sgg-gate__sticky { background: var(--night); }

/* Statement on cream — the courtyard right behind the door */
.sgg-statement { max-width: none; margin: 0; background: var(--cream); color: var(--ink); text-align: center; }
.sgg-statement__text { max-width: 1100px; margin: 0 auto; font-size: clamp(36px, 5.2vw, 76px); line-height: 1.08; }
.sgg-statement__text .w { opacity: clamp(.14, (var(--p) * 1.9 - .4 - var(--w)) * 5, 1); }

/* Campus = haveli courtyard */
.sgg-hscroll { background: var(--sand-100); color: var(--ink); }
.sgg-hscroll__sticky { background: var(--jaali), var(--sand-100); }
.sgg-hscroll .sgg-kicker { color: var(--brass); }
.sgg-hscroll .sgg-display { color: var(--ink); }
.sgg-hscroll__lead { color: var(--ink-3); }
.sgg-track { gap: 28px; }
.sgg-ocard { width: min(76vw, 400px); }
.sgg-ocard__link {
	border-radius: 220px 220px 22px 22px / 170px 170px 22px 22px; padding: 12px;
	background: linear-gradient(180deg, var(--sand-300), #c7a571); color: var(--ink);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 18px 40px rgba(74, 45, 18, .18);
}
.sgg-ocard__link:hover { color: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 30px 60px rgba(74, 45, 18, .3); }
.sgg-ocard__art {
	border-radius: 210px 210px 6px 6px / 160px 160px 6px 6px; overflow: hidden; background: var(--night);
	height: min(40vh, 360px); box-shadow: inset 0 0 0 2px rgba(42, 26, 16, .35);
}
.sgg-ocard__body { border-top: 0; background: var(--cream); border-radius: 6px 6px 14px 14px; margin-top: 10px; }
.sgg-ocard__num { color: var(--brass); }
.sgg-ocard__name { font-size: 28px; line-height: 1.05; }
.sgg-ocard__desc { color: var(--ink-3); }
.sgg-ocard__cta { color: var(--brass); font-weight: 600; }
.sgg-hscroll__bar { background: rgba(42, 26, 16, .12); }
.sgg-hscroll__bar span { background: var(--brass); }

/* Numbers + about on cream */
.sgg-light { background: var(--cream); color: var(--ink); }
.sgg-light .sgg-display { color: var(--ink); }
.sgg-numbers { background: var(--jaali), var(--cream); }
.sgg-number dd { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; background: linear-gradient(135deg, #7a4a16, #c08a33 55%, #7a4a16); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sgg-number dt { color: var(--ink-3); }
.sgg-about { position: relative; overflow: hidden; }
.sgg-about::before {
	content: ""; position: absolute; left: 50%; top: 50%; width: 720px; height: 720px; transform: translate(-50%, -50%); pointer-events: none;
	border-radius: 50%; opacity: .5;
	background: repeating-conic-gradient(from 0deg, rgba(138, 90, 34, .06) 0 6deg, transparent 6deg 15deg),
		radial-gradient(circle, transparent 30%, rgba(138, 90, 34, .08) 30.5% 31%, transparent 31.5% 46%, rgba(138, 90, 34, .08) 46.5% 47%, transparent 47.5%);
}
.sgg-about > * { position: relative; }
.sgg-about__title { color: var(--ink); }
.sgg-about__text { color: var(--ink-2); }
.sgg-light .sgg-link, .sgg-link--dark { color: var(--brass); font-weight: 600; }
.sgg-kicker--dark { color: var(--brass); }

/* Office hero — render seen through a jharokha arch */
.sgg-ohero { background: radial-gradient(70% 60% at 50% 70%, rgba(212, 168, 75, .12), transparent 70%), var(--night); }
.sgg-ohero__title { font-size: clamp(52px, 8.6vw, 124px); line-height: .95; }
.sgg-render--hero {
	border-radius: 999px 999px 24px 24px / 360px 360px 24px 24px; padding: 14px; aspect-ratio: 16 / 11;
	background: linear-gradient(180deg, var(--sand-300), #b8925c); box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
}
.sgg-render--hero img { border-radius: 999px 999px 14px 14px / 346px 346px 14px 14px; }
.sgg-ohero--soon { background-color: var(--night); }

/* Services on sandstone, tiles like carved cream panels */
.sgg-services { background: var(--jaali), var(--sand-100); }
.sgg-tile { background: var(--cream); border: 1px solid var(--sand-300); box-shadow: 0 2px 0 rgba(255, 255, 255, .6) inset, 0 10px 30px rgba(74, 45, 18, .08); }
.sgg-tile.is-in:hover { box-shadow: 0 24px 50px rgba(74, 45, 18, .16); }
.sgg-tile__num { color: var(--brass); }
.sgg-tile__title { font-size: 28px; color: var(--ink); }
.sgg-tile__text { color: var(--ink-3); }

/* Big stats + venues at night, in brass */
.sgg-bigstats { background: var(--night); }
.sgg-bigstat { border-top-color: var(--line-2); }
.sgg-bigstat dd { font-family: var(--serif); font-weight: 600; color: var(--gold); letter-spacing: -.02em; }
.sgg-venues { background: var(--night); }
.sgg-marquee__track li { background: transparent; border-color: rgba(240, 207, 131, .3); font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); color: var(--text); }

/* Carousels */
.sgg-carousel-section { background: var(--night-2); }
.sgg-round { background: rgba(240, 207, 131, .14); color: var(--gold-hi); }
.sgg-round:hover { background: rgba(240, 207, 131, .26); }
.sgg-room {
	border-radius: 190px 190px 24px 24px / 140px 140px 24px 24px; padding: 64px 30px 34px; text-align: center; align-items: center;
	background: radial-gradient(100% 70% at 50% 0%, rgba(212, 168, 75, .2), transparent 65%), var(--night-card);
	border: 1px solid rgba(240, 207, 131, .25);
}
.sgg-room__cat { color: var(--gold); }
.sgg-room__name { font-size: 42px; }
.sgg-room__link { color: var(--gold-hi); }
.sgg-shot { border-radius: 160px 160px 20px 20px / 110px 110px 20px 20px; }

/* Apps wall on cream */
.sgg-apps-section { background: var(--jaali), var(--cream); }
.sgg-app { background: #fffaf1; border: 1px solid var(--sand-200); color: var(--ink); }
a.sgg-app:hover { color: var(--ink); box-shadow: 0 24px 50px rgba(74, 45, 18, .14); }
.sgg-app__name { font-size: 24px; }
.sgg-app__line { color: var(--ink-3); }
.sgg-app__cta { color: var(--brass); font-weight: 600; }

/* Teaser + quote */
.sgg-teaser { max-width: none; margin: 0; padding-left: max(var(--pad-x), calc((100vw - var(--max)) / 2)); padding-right: max(var(--pad-x), calc((100vw - var(--max)) / 2)); background: var(--night); }
.sgg-teaser__stage { border-radius: 220px 220px 28px 28px / 180px 180px 28px 28px; border: 12px solid #b8925c; }
.sgg-quote { background: var(--jaali), var(--cream); }
.sgg-quote__lead { color: var(--ink-3); }
.sgg-form--light .sgg-field { color: var(--ink-2); }
.sgg-form--light .sgg-field input, .sgg-form--light .sgg-field textarea { background: #fffaf1; border-color: var(--sand-300); color: var(--ink); }
.sgg-form--light .sgg-field input:focus, .sgg-form--light .sgg-field textarea:focus { border-color: var(--brass); box-shadow: 0 0 0 4px rgba(138, 90, 34, .18); }

/* Office foot + next office */
.sgg-ofoot { background: var(--night); }
.sgg-nextoffice { max-width: none; margin: 0; padding-left: max(var(--pad-x), calc((100vw - var(--max)) / 2)); padding-right: max(var(--pad-x), calc((100vw - var(--max)) / 2)); background: var(--sand-100); color: var(--ink); border-top: 0; }
.sgg-nextoffice:hover { color: var(--ink); }
.sgg-nextoffice .sgg-kicker { color: var(--brass); }
.sgg-nextoffice__arrow { color: var(--brass); }

/* Footer */
.sgg-footer { background: #0e0905; border-top: 1px solid rgba(240, 207, 131, .14); }
.sgg-footer__list a { color: var(--text-2); }

@media (max-width: 899px) {
	.sgg-ocard__link { border-radius: 180px 180px 20px 20px / 140px 140px 20px 20px; }
	.sgg-ocard__art { height: 280px; border-radius: 170px 170px 6px 6px / 130px 130px 6px 6px; }
	.sgg-render--hero { aspect-ratio: 4 / 3.4; }
}

/* =========================================================
   ORBIT — round courtyard, 3D render sequence + live pins
   ========================================================= */
.sgg-orbit { --p: 0; position: relative; height: 460vh; background: #05060a; }
.sgg-orbit__sticky { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow: hidden; background: #05060a; }
.sgg-orbit__media { position: absolute; inset: 0; }
.sgg-orbit__poster, .sgg-orbit__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sgg-orbit__canvas { opacity: 0; transition: opacity .4s; }
.sgg-orbit.has-canvas .sgg-orbit__canvas { opacity: 1; }
.sgg-orbit__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5, 6, 10, .85) 0%, rgba(5, 6, 10, 0) 30%), linear-gradient(0deg, rgba(5, 6, 10, .7) 0%, rgba(5, 6, 10, 0) 22%); }
.sgg-orbit__head { position: absolute; top: 4vh; left: 0; right: 0; padding: 0 var(--pad-x); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.sgg-orbit__head .sgg-display { color: var(--text); font-size: clamp(32px, 4.4vw, 60px); }
.sgg-orbit__lead { margin: 0; max-width: 560px; font-size: clamp(15px, 1.3vw, 18px); color: var(--text-2); }

.sgg-orbit__pins { list-style: none; margin: 0; padding: 0; }
.sgg-orbit.is-live .sgg-orbit__pins { position: absolute; inset: 0; pointer-events: none; }
.sgg-orbit.is-live .sgg-orbit__pins > li { position: absolute; left: 0; top: 0; }
.sgg-pin {
	display: inline-flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; pointer-events: auto;
	padding: 8px 14px; border-radius: 999px; color: var(--text); text-decoration: none; white-space: nowrap;
	background: rgba(20, 13, 8, .72); border: 1px solid rgba(240, 207, 131, .35);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	transition: background-color .3s, border-color .3s, padding .3s, border-radius .3s;
}
.sgg-orbit.is-live .sgg-pin { position: absolute; transform: translate(-50%, -100%) scale(var(--s, 1)); transform-origin: 50% 100%; opacity: var(--o, 1); }
.sgg-orbit.is-live .sgg-pin::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 1px; height: 10px; background: rgba(240, 207, 131, .6); }
.sgg-pin:hover { text-decoration: none; color: var(--text); border-color: var(--gold); background: rgba(20, 13, 8, .9); }
.sgg-pin__num { display: none; font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--gold); }
.sgg-pin__name { font: 600 16px/1.2 var(--serif); }
.sgg-pin__desc, .sgg-pin__cta { display: none; font-size: 12px; color: var(--text-2); }
.sgg-pin__cta { color: var(--gold-hi); font-weight: 600; }
.sgg-pin.is-front { padding: 14px 22px 16px; border-radius: 20px; border-color: var(--gold); background: rgba(20, 13, 8, .9); }
.sgg-pin.is-front .sgg-pin__num, .sgg-pin.is-front .sgg-pin__desc, .sgg-pin.is-front .sgg-pin__cta { display: block; }
.sgg-pin.is-front .sgg-pin__name { font-size: 24px; }
.sgg-pin--foundation { background: rgba(212, 168, 75, .9); border-color: var(--gold-hi); color: var(--gold-ink); }
.sgg-pin--foundation .sgg-pin__desc { display: block; color: #3a2508; }
.sgg-pin--foundation .sgg-pin__name { font-size: 18px; }

.sgg-orbit__controls { position: absolute; bottom: 3vh; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 18px; }
.sgg-orbit__hint { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sgg-orbit__canvas { cursor: grab; touch-action: pan-y; }
.sgg-orbit.is-dragging .sgg-orbit__canvas { cursor: grabbing; }

/* Without JS: a simple list under the image */
.sgg-orbit:not(.is-live) .sgg-orbit__pins { position: absolute; left: 0; right: 0; bottom: 10vh; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 var(--pad-x); }

@media (max-width: 700px) {
	.sgg-orbit { height: 420vh; }
	.sgg-pin { padding: 6px 10px; }
	.sgg-pin__name { font-size: 13px; }
	.sgg-pin.is-front .sgg-pin__name { font-size: 18px; }
	.sgg-orbit__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.sgg-orbit { height: auto; }
	.sgg-orbit__sticky { position: relative; top: 0; height: 90vh; }
}
@media (min-width: 900px) {
	.sgg-orbit__head { left: var(--pad-x); right: auto; max-width: 440px; padding: 0; align-items: flex-start; text-align: left; }
	.sgg-orbit__head .sgg-display { font-size: clamp(32px, 3.6vw, 52px); }
}
@media (max-width: 899px) {
	.sgg-orbit__lead { display: none; }
	.sgg-pin--foundation .sgg-pin__desc { display: none; }
}
.sgg-gate.at-start .sgg-gate__canvas { opacity: 0; }
