:root {
  --black: #070706;
  --black-soft: #0d0d0b;
  --panel: #12110e;
  --gold: #c9953d;
  --gold-light: #f2d58e;
  --gold-dark: #7f5721;
  --ivory: #f4efe4;
  --muted: #b9b1a1;
  --line: rgba(201, 149, 61, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--ivory); font-family: "Manrope", sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 100; background: var(--gold-light); color: #16100a; padding: .65rem 1rem; border-radius: 4px; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 20; min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1rem clamp(1.25rem, 4vw, 4.5rem); background: rgba(7,7,6,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--gold); color: var(--gold-light); font-family: "Cinzel", serif; font-size: .85rem; letter-spacing: .05em; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; text-transform: uppercase; }
.brand-copy strong { font-family: "Cinzel", serif; color: var(--gold-light); letter-spacing: .15em; }
.brand-copy small { color: var(--muted); font-size: .62rem; letter-spacing: .19em; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.main-nav a { text-decoration: none; color: #d8d1c4; font-size: .82rem; font-weight: 600; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--gold-light); }
.main-nav .nav-cta { padding: .65rem 1rem; border: 1px solid var(--gold); color: var(--gold-light); }
.menu-button { display: none; background: none; border: 0; padding: .5rem; }
.menu-button span { display: block; width: 24px; height: 1px; margin: 6px 0; background: var(--gold-light); }

.hero { min-height: calc(100vh - 84px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 6vw, 7rem); overflow: hidden; }
.hero-copy { max-width: 760px; }
.eyebrow { margin: 0 0 1rem; color: var(--gold); font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Cinzel", serif; font-weight: 600; line-height: 1.08; }
h1 { max-width: 780px; margin: 0; font-size: clamp(3.4rem, 8vw, 7.2rem); letter-spacing: -.045em; }
h1 em { color: var(--gold-light); font-style: normal; }
.hero-lede { max-width: 660px; margin: 2rem 0 0; color: #c7c0b4; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem 2rem; margin: 2.5rem 0 4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.2rem; border: 1px solid transparent; text-decoration: none; font-size: .82rem; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.button-primary { background: var(--gold); color: #110d08; }
.button-primary:hover, .button-primary:focus-visible { background: var(--gold-light); }
.text-link { text-decoration: none; font-size: .86rem; font-weight: 600; border-bottom: 1px solid #6c5a3e; }
.text-link:hover, .text-link:focus-visible { color: var(--gold-light); }
.hero-principles { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line); }
.hero-principles div { padding: 1.25rem 1rem 0 0; }
.hero-principles div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.hero-principles dt { color: var(--gold-light); font-family: "Cinzel", serif; font-size: .85rem; text-transform: uppercase; }
.hero-principles dd { margin: .25rem 0 0; color: #8f887d; font-size: .78rem; }
.hero-emblem { min-height: 670px; border: 1px solid var(--line); background-image: linear-gradient(rgba(7,7,6,.05), rgba(7,7,6,.3)), url("smg-logo.png"); background-position: center 51%; background-size: cover; box-shadow: 0 32px 90px rgba(0,0,0,.55); }

.manifesto { display: grid; grid-template-columns: 1.15fr .85fr; gap: 5rem; padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 6vw, 7rem); border-block: 1px solid var(--line); background: #0b0b09; }
.manifesto h2, .section-heading h2, .tech-intro h2, .outcomes h2, .contact h2 { margin: 0; font-size: clamp(2.25rem, 4.6vw, 4.4rem); }
.manifesto-copy { max-width: 640px; color: var(--muted); font-size: 1.05rem; }
.manifesto-copy p:first-child { margin-top: 0; color: var(--ivory); }
.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 4rem; margin-bottom: 3.5rem; }
.section-heading > p { max-width: 580px; margin: 0; color: var(--muted); }
.pillar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.pillar-card { position: relative; min-height: 470px; padding: clamp(2rem, 4vw, 3.5rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0b0b09; }
.pillar-card:hover { background: #11100d; }
.pillar-number { position: absolute; right: 2rem; top: 2rem; color: #6d5a3f; font-family: "Cinzel", serif; font-size: .8rem; }
.pillar-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 2rem; border: 1px solid var(--gold-dark); color: var(--gold-light); font-size: 1.45rem; border-radius: 50%; }
.pillar-card h3 { max-width: 560px; margin: 0 0 1rem; color: var(--gold-light); font-size: clamp(1.5rem, 2.5vw, 2.3rem); }
.pillar-card > p { max-width: 600px; color: var(--muted); }
.pillar-card ul, .level-card ul { padding: 0; margin: 1.75rem 0 0; list-style: none; }
.pillar-card li, .level-card li { position: relative; padding: .38rem 0 .38rem 1.15rem; color: #d0c9bd; font-size: .9rem; }
.pillar-card li::before, .level-card li::before { content: ""; position: absolute; top: 1.05rem; left: 0; width: 5px; height: 1px; background: var(--gold); }
.pillar-featured { background: #171209; }
.new-label { display: inline-block; margin-bottom: 1rem; color: var(--gold); font-size: .66rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }

.tech-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 9rem); padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem); background: var(--gold); color: #150f07; }
.tech-intro { position: sticky; top: 130px; align-self: start; }
.tech-section .eyebrow { color: #4f3717; }
.tech-intro p:not(.eyebrow) { max-width: 580px; margin: 1.5rem 0 2rem; font-size: 1.05rem; }
.tech-partner { max-width: 590px; margin: 2rem 0; padding: 1.35rem 1.5rem; border: 1px solid rgba(24,16,7,.4); background: rgba(255,241,199,.2); }
.tech-partner span { display: block; color: #503717; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.tech-partner h3 { margin: .4rem 0 .5rem; font-size: 1.35rem; }
.tech-partner p { margin: 0 !important; color: #3e2b13; font-size: .93rem !important; }
.button-light { background: #12100c; color: var(--gold-light); }
.tech-capabilities { border-top: 1px solid rgba(31,21,9,.35); }
.tech-capabilities article { display: grid; grid-template-columns: 46px 1fr; gap: 1.5rem; padding: 1.7rem 0; border-bottom: 1px solid rgba(31,21,9,.35); }
.tech-capabilities article > span { font-family: "Cinzel", serif; font-size: .8rem; }
.tech-capabilities h3 { margin: 0 0 .5rem; font-size: 1.35rem; }
.tech-capabilities p { margin: 0; color: #3e2b13; }

.engagement { background: #0b0b09; }
.level-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.level-card { display: flex; flex-direction: column; padding: clamp(2rem, 3vw, 3rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.level-featured { background: #17130d; box-shadow: inset 0 3px 0 var(--gold); }
.level-kicker { margin: 0 0 .65rem; color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.level-card h3 { margin: 0; color: var(--gold-light); font-size: 2rem; }
.level-tagline { min-height: 52px; margin: .55rem 0 1.5rem; font-weight: 700; }
.best-for { min-height: 175px; color: var(--muted); font-size: .9rem; }
.level-card h4 { margin: 1.5rem 0 0; color: var(--gold); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; }
.level-card ul { margin-bottom: 2rem; }
.ownership { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--gold-light); font-size: .74rem; font-weight: 700; text-transform: uppercase; }

.outcomes { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem); }
.outcome-list { border-top: 1px solid var(--line); }
.outcome-list div { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; align-items: start; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.outcome-list span { color: var(--gold); font-family: "Cinzel", serif; font-size: .78rem; }
.outcome-list p { margin: 0; color: var(--muted); }
.outcome-list strong { color: var(--ivory); }
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5rem; align-items: end; padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem); border-block: 1px solid var(--line); background: #100d08; }
.contact-copy p { max-width: 600px; color: var(--muted); }
.phone-display { display: block; width: fit-content; margin: .5rem 0; color: var(--gold-light); font-family: "Cinzel", serif; font-size: clamp(1.5rem, 3vw, 2.2rem); text-decoration: none; }
.phone-display:hover, .phone-display:focus-visible { color: var(--ivory); }
.contact-copy .button { margin: 1rem 0 1.5rem; }
.contact-copy small { display: block; color: #776c5d; letter-spacing: .16em; text-transform: uppercase; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.5rem clamp(1.25rem, 6vw, 7rem); color: #817a70; font-size: .74rem; }
footer p { margin: 0; }
footer div { display: flex; gap: 1.5rem; }
footer div a { text-decoration: none; }

.smg-chat { position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: .8rem; }
.chat-launcher { display: flex; align-items: center; gap: .75rem; min-height: 62px; padding: .55rem 1rem .55rem .55rem; border: 1px solid rgba(242, 213, 142, .55); border-radius: 999px; color: var(--ivory); background: rgba(10, 9, 7, .96); box-shadow: 0 18px 55px rgba(0, 0, 0, .55); cursor: pointer; backdrop-filter: blur(16px); }
.chat-launcher:hover, .chat-launcher:focus-visible { border-color: var(--gold-light); transform: translateY(-2px); }
.launcher-mark, .chat-monogram { display: grid; place-items: center; flex: 0 0 auto; color: #120d07; background: linear-gradient(145deg, var(--gold-light), var(--gold)); font-family: "Cinzel", serif; font-weight: 700; }
.launcher-mark { width: 46px; height: 46px; border-radius: 50%; font-size: .76rem; letter-spacing: .06em; }
.launcher-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.launcher-copy strong { color: var(--gold-light); font-family: "Cinzel", serif; font-size: .8rem; letter-spacing: .04em; }
.launcher-copy small { margin-top: .2rem; color: #a9a092; font-size: .66rem; }
.chat-panel { display: none; width: min(390px, calc(100vw - 2rem)); max-height: min(650px, calc(100vh - 7rem)); overflow: hidden; border: 1px solid rgba(201, 149, 61, .52); border-radius: 18px; background: #0b0b09; box-shadow: 0 28px 90px rgba(0, 0, 0, .72); }
.chat-panel.open { display: flex; flex-direction: column; animation: chat-in .22s ease-out; }
.chat-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1rem .9rem; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #15120c, #0b0b09); }
.chat-identity { display: flex; align-items: center; gap: .7rem; }
.chat-monogram { width: 38px; height: 38px; border-radius: 50%; font-size: .67rem; }
.chat-identity div { display: flex; flex-direction: column; line-height: 1.25; }
.chat-identity strong { color: var(--gold-light); font-family: "Cinzel", serif; font-size: .9rem; letter-spacing: .04em; }
.chat-identity small { color: #a9a092; font-size: .68rem; }
.chat-identity small span { display: inline-block; width: 6px; height: 6px; margin-right: .25rem; border-radius: 50%; background: #61c987; box-shadow: 0 0 10px rgba(97, 201, 135, .6); }
.chat-close { width: 36px; height: 36px; border: 0; border-radius: 50%; color: #b8afa0; background: transparent; font-size: 1.45rem; cursor: pointer; }
.chat-close:hover, .chat-close:focus-visible { color: var(--ivory); background: rgba(255, 255, 255, .06); }
.chat-messages { min-height: 220px; overflow-y: auto; padding: 1rem; overscroll-behavior: contain; }
.chat-message { display: flex; flex-direction: column; max-width: 88%; margin-bottom: .85rem; }
.chat-message span { margin: 0 0 .28rem .3rem; color: #81786b; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.chat-message p { margin: 0; padding: .75rem .85rem; border-radius: 14px; font-size: .82rem; line-height: 1.5; }
.chat-message-assistant { align-items: flex-start; }
.chat-message-assistant p { border: 1px solid var(--line); border-top-left-radius: 4px; color: #d8d1c5; background: #14120e; }
.chat-message-user { align-items: flex-end; margin-left: auto; }
.chat-message-user span { margin-right: .3rem; }
.chat-message-user p { border-top-right-radius: 4px; color: #171006; background: var(--gold-light); }
.chat-suggestions { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem 1rem .85rem; scrollbar-width: none; }
.chat-suggestions::-webkit-scrollbar { display: none; }
.chat-suggestions button { flex: 0 0 auto; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: #cfc6b8; background: transparent; font: inherit; font-size: .68rem; cursor: pointer; }
.chat-suggestions button:hover, .chat-suggestions button:focus-visible { border-color: var(--gold); color: var(--gold-light); }
.chat-form { display: grid; grid-template-columns: 1fr 44px; gap: .55rem; padding: .85rem 1rem; border-top: 1px solid var(--line); }
.chat-form input { min-width: 0; min-height: 44px; padding: .65rem .8rem; border: 1px solid #393126; border-radius: 10px; outline: 0; color: var(--ivory); background: #11100d; font: inherit; font-size: .82rem; }
.chat-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 149, 61, .12); }
.chat-form button { border: 0; border-radius: 10px; color: #150f07; background: var(--gold); font-size: 1.25rem; cursor: pointer; }
.chat-form button:hover, .chat-form button:focus-visible { background: var(--gold-light); }
.chat-scope { margin: 0; padding: 0 1rem .8rem; color: #746c60; font-size: .62rem; text-align: center; }
.chat-scope a { color: #a9987d; }
@keyframes chat-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 980px) {
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 84px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 1.25rem; background: #0b0b09; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .75rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-emblem { min-height: 500px; order: -1; }
  .manifesto, .section-heading, .tech-section, .outcomes, .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .tech-intro { position: static; }
  .level-grid { grid-template-columns: 1fr; }
  .best-for { min-height: unset; }
}

@media (max-width: 680px) {
  .site-header { min-height: 72px; padding-block: .75rem; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: .82rem; }
  .main-nav { top: 72px; }
  .hero { min-height: auto; padding-top: 2rem; }
  .hero-emblem { min-height: 380px; }
  .hero-principles { grid-template-columns: 1fr; }
  .hero-principles div, .hero-principles div + div { padding: .85rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card { min-height: auto; padding: 2rem 1.5rem; }
  footer { align-items: flex-start; flex-direction: column; }
  .footer-brand { display: none; }
  .smg-chat { right: .75rem; bottom: .75rem; }
  .chat-panel { width: calc(100vw - 1.5rem); max-height: calc(100dvh - 5.75rem); }
  .launcher-copy small { display: none; }
  .chat-launcher { min-height: 56px; padding-right: .85rem; }
  .launcher-mark { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .chat-panel.open { animation: none; } .chat-launcher:hover, .chat-launcher:focus-visible { transform: none; } }
