/* Standalone SOMA production styles. No framework or hosted-runtime imports. */

:root,
[data-soma-theme='primary'] {
  --soma-deep: #003f5c;
  --soma-teal: #064b68;
  --soma-teal-light: #58afc0;
  --soma-accent: #e5a94b;
  --soma-accent-dark: #b97932;
  --soma-surface: #f6f7f9;
  --soma-ink: #101820;
  --soma-muted: #596a73;
  --background: #ffffff;
  --foreground: #101820;
  --primary: #064b68;
  --primary-foreground: #ffffff;
  --secondary: #f6f7f9;
  --secondary-foreground: #003f5c;
  --muted: #eef3f5;
  --muted-foreground: #596a73;
  --accent: #e5a94b;
  --accent-foreground: #101820;
  --border: #dce4e8;
  --input: #c8d5da;
  --ring: #0c6d8b;
  --card: #ffffff;
  --card-foreground: #101820;
}

.dark {
  --background: #101820;
  --foreground: #ffffff;
  --primary: #58afc0;
  --primary-foreground: #101820;
  --secondary: #17303a;
  --secondary-foreground: #ffffff;
  --muted: #17303a;
  --muted-foreground: #d9e1e6;
  --accent: #e5a94b;
  --accent-foreground: #101820;
  --border: rgb(255 255 255 / 16%);
  --input: rgb(255 255 255 / 20%);
  --ring: #58afc0;
  --card: #17303a;
  --card-foreground: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: Inter, Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }

.site-header { position: relative; z-index: 10; display: flex; height: 92px; align-items: center; justify-content: space-between; gap: 32px; padding: 0 clamp(24px, 5vw, 76px); border-bottom: 1px solid var(--border); background: rgb(255 255 255 / 94%); }
.brand-link img { display: block; width: clamp(150px, 16vw, 206px); height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 38px); font-size: 0.82rem; font-weight: 650; color: #42535c; }
.desktop-nav a, .secondary-link { transition: color 160ms ease; }
.desktop-nav a:hover, .secondary-link:hover { color: var(--soma-teal); }
.header-cta, .primary-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 22px; padding: 0 24px; border-radius: 8px; background: var(--soma-teal); color: #fff; font-size: 0.85rem; font-weight: 700; transition: transform 160ms ease, background 160ms ease; }
.header-cta:hover, .primary-button:hover { background: var(--soma-deep); transform: translateY(-1px); }
.site-header a:focus-visible, .hero a:focus-visible { outline: 3px solid var(--soma-accent); outline-offset: 4px; }

.hero { position: relative; display: grid; min-height: calc(100vh - 92px); grid-template-columns: minmax(0, 1.05fr) minmax(380px, .75fr); align-items: center; gap: clamp(48px, 7vw, 110px); overflow: hidden; padding: clamp(72px, 9vw, 132px) clamp(24px, 7vw, 108px); background: linear-gradient(135deg, #fff 0%, #fff 59%, #f3f7f8 100%); }
.hero-grid { position: absolute; inset: 0 0 0 52%; opacity: .5; background-image: linear-gradient(to right, rgb(6 75 104 / 8%) 1px, transparent 1px), linear-gradient(to bottom, rgb(6 75 104 / 8%) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to left, #000, transparent); }
.hero-content, .signal-panel { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--soma-teal); font-size: .73rem; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: var(--soma-accent); }
h1 { max-width: 800px; margin: 0; color: var(--soma-deep); font-size: clamp(4.3rem, 7.8vw, 8.3rem); font-weight: 730; letter-spacing: -.065em; line-height: .87; }
h1 em { color: var(--soma-teal); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.055em; }
.hero-category { max-width: 650px; margin: 34px 0 0; color: var(--soma-deep); font-size: clamp(.78rem, 1.1vw, .98rem); font-weight: 750; letter-spacing: .105em; line-height: 1.55; text-transform: uppercase; }
.hero-copy { max-width: 650px; margin: 22px 0 0; color: var(--soma-muted); font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 35px; }
.primary-button { min-height: 54px; padding: 0 28px; }
.secondary-link { display: inline-flex; gap: 12px; color: #435761; font-size: .86rem; font-weight: 700; }

.signal-panel { align-self: center; border: 1px solid rgb(220 228 232 / 90%); border-radius: 14px; background: rgb(255 255 255 / 88%); box-shadow: 0 28px 80px rgb(0 63 92 / 10%); backdrop-filter: blur(8px); }
.signal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--border); color: var(--soma-deep); font-size: .73rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.status-dot { display: flex; align-items: center; gap: 7px; color: #39737d; letter-spacing: .04em; }
.status-dot::before { content: ''; width: 7px; height: 7px; border-radius: 99px; background: var(--soma-accent); box-shadow: 0 0 0 4px rgb(229 169 75 / 15%); }
.signal-chart { padding: 25px 22px 12px; }
.signal-chart svg { display: block; width: 100%; overflow: visible; }
.grid-line { fill: none; stroke: #dce4e8; stroke-width: 1; stroke-dasharray: 4 8; }
.chart-area { fill: rgb(88 175 192 / 8%); }
.chart-line { fill: none; stroke: var(--soma-teal); stroke-width: 3; stroke-linecap: round; }
.signal-chart circle { fill: var(--soma-accent); stroke: #fff; stroke-width: 3; }
.signal-list { border-top: 1px solid var(--border); }
.signal-row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 8px; min-height: 58px; padding: 0 22px; border-bottom: 1px solid var(--border); color: var(--soma-deep); font-size: .88rem; font-weight: 650; }
.signal-row:last-child { border-bottom: 0; }
.signal-number { color: #8da0a8; font-family: ui-monospace, monospace; font-size: .68rem; }
.signal-row > :last-child { color: var(--soma-accent-dark); }
.preview-anchor { min-height: 150px; display: grid; place-items: center; padding: 40px 24px; background: var(--soma-deep); color: #fff; text-align: center; }
.preview-anchor p { margin: 0; font-size: clamp(1.15rem, 2vw, 1.55rem); letter-spacing: .03em; }

@media (max-width: 900px) {
  .site-header { height: 78px; }
  .desktop-nav { display: none; }
  .header-cta { min-height: 44px; padding: 0 17px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 58px; padding-top: 72px; }
  .hero-grid { inset: 45% 0 0; }
  .signal-panel { width: min(100%, 620px); }
}

@media (max-width: 560px) {
  .site-header { padding: 0 20px; }
  .brand-link img { width: 142px; }
  .header-cta { display: none; }
  .hero { padding: 60px 20px 68px; }
  h1 { font-size: clamp(3.85rem, 19vw, 5.8rem); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 22px; }
  .primary-button { width: 100%; }
  .secondary-link { justify-content: center; }
  .signal-head, .signal-row { padding-left: 17px; padding-right: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: transparent; color: var(--soma-deep); }
.menu-toggle:hover { background: var(--soma-surface); }
.menu-toggle:focus-visible { outline: 3px solid var(--soma-accent); outline-offset: 2px; }
.mobile-nav { position: absolute; inset: 78px 0 auto; display: grid; gap: 0; padding: 14px 20px 22px; border-bottom: 1px solid var(--border); background: #fff; box-shadow: 0 20px 38px rgb(0 63 92 / 10%); }
.mobile-nav > a { display: flex; min-height: 52px; align-items: center; border-bottom: 1px solid var(--border); color: var(--soma-deep); font-size: .95rem; font-weight: 700; }
.mobile-nav .mobile-nav-cta { justify-content: center; margin-top: 16px; border: 0; border-radius: 8px; background: var(--soma-teal); color: #fff; }

.proof-strip { display: flex; min-height: 92px; align-items: center; justify-content: center; gap: clamp(16px, 3.8vw, 60px); padding: 22px 24px; background: var(--soma-deep); color: #fff; font-size: .71rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.proof-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--soma-accent); }
.section { padding: clamp(84px, 10vw, 152px) clamp(24px, 7vw, 108px); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: clamp(50px, 10vw, 160px); margin-bottom: 58px; }
.section-heading > p { max-width: 520px; margin: 0 0 6px; color: var(--soma-muted); font-size: 1rem; line-height: 1.75; }
.section-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--soma-teal); font-size: .7rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.section-kicker::before { content: ''; width: 24px; height: 2px; background: var(--soma-accent); }
.section h2 { margin: 0; color: var(--soma-deep); font-size: clamp(2.45rem, 4.4vw, 4.6rem); font-weight: 690; letter-spacing: -.045em; line-height: 1.04; }

.services-section { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 480px; padding: 30px; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #fff; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.service-card::after { content: ''; position: absolute; right: -55px; bottom: -55px; width: 130px; height: 130px; border: 1px solid rgb(88 175 192 / 30%); border-radius: 50%; box-shadow: 0 0 0 24px rgb(88 175 192 / 5%), 0 0 0 48px rgb(88 175 192 / 4%); }
.service-card:hover { transform: translateY(-4px); border-color: #b9ccd2; box-shadow: 0 24px 60px rgb(0 63 92 / 9%); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.card-number { color: #81949d; font-family: ui-monospace, monospace; font-size: .7rem; letter-spacing: .1em; }
.icon-box { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 10px; background: var(--soma-surface); color: var(--soma-teal); }
.icon-box svg { width: 21px; }
.service-card h3 { max-width: 310px; min-height: 78px; margin: 0; color: var(--soma-deep); font-size: clamp(1.35rem, 1.8vw, 1.7rem); line-height: 1.18; }
.service-card > p { min-height: 110px; margin: 22px 0 28px; color: var(--soma-muted); font-size: .92rem; line-height: 1.72; }
.service-card ul { display: grid; gap: 11px; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--border); list-style: none; }
.service-card li { display: flex; align-items: center; gap: 9px; color: #40545d; font-size: .78rem; font-weight: 650; }
.service-card li svg { width: 14px; color: var(--soma-accent-dark); }

.audience-section { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(52px, 9vw, 136px); background: var(--soma-deep); color: #fff; }
.section-kicker-light { color: #a9d3db; }
.audience-intro { position: relative; }
.audience-intro h2 { color: #fff; }
.audience-intro > p:not(.section-kicker) { max-width: 480px; margin: 30px 0 0; color: #c4d2d8; line-height: 1.8; }
.audience-mark { width: 58px; height: 58px; margin-top: 50px; color: var(--soma-accent); stroke-width: 1.4; }
.audience-cards { display: grid; gap: 16px; }
.audience-card { display: grid; grid-template-columns: 60px 1fr; column-gap: 24px; padding: clamp(28px, 4vw, 46px); border: 1px solid rgb(255 255 255 / 14%); border-radius: 14px; background: rgb(255 255 255 / 5%); }
.audience-card > svg { grid-row: span 3; width: 38px; height: 38px; color: #78bfca; stroke-width: 1.45; }
.audience-card h3 { margin: 0; font-size: 1.45rem; }
.audience-card p { max-width: 630px; margin: 13px 0 22px; color: #c4d2d8; line-height: 1.7; }
.audience-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.audience-card li { padding: 8px 11px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 6px; color: #d8e3e7; font-size: .72rem; }

.approach-section { background: var(--soma-surface); }
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; }
.process-list li { position: relative; min-height: 260px; padding: 0 24px 0 0; }
.process-number { display: block; color: var(--soma-teal); font-family: ui-monospace, monospace; font-size: .72rem; font-weight: 700; }
.process-line { display: block; width: calc(100% - 12px); height: 1px; margin: 20px 0 46px; background: #bacbd1; }
.process-line::before { content: ''; display: block; width: 9px; height: 9px; transform: translateY(-4px); border: 2px solid var(--soma-teal); border-radius: 50%; background: var(--soma-surface); }
.process-list h3 { margin: 0 0 13px; color: var(--soma-deep); font-size: 1.25rem; }
.process-list p { max-width: 210px; margin: 0; color: var(--soma-muted); font-size: .84rem; line-height: 1.65; }

.about-section { display: grid; grid-template-columns: .4fr 1.2fr .8fr; align-items: center; gap: clamp(40px, 7vw, 110px); background: #fff; }
.about-symbol { display: grid; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--soma-surface); }
.about-symbol img { width: 58%; }
.about-copy .about-lead { margin-top: 32px; color: var(--soma-deep); font-size: 1.15rem; font-weight: 650; line-height: 1.65; }
.about-copy > p:not(.section-kicker):not(.about-lead) { color: var(--soma-muted); line-height: 1.75; }
.about-principles { padding: 30px; border-left: 2px solid var(--soma-accent); background: var(--soma-surface); }
.about-principles > p { margin: 0 0 22px; color: var(--soma-teal); font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.about-principles ul { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.about-principles li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: #40545d; font-size: .82rem; line-height: 1.45; }
.about-principles span { color: var(--soma-accent-dark); font-family: ui-monospace, monospace; font-size: .66rem; }

.contact-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(54px, 9vw, 136px); background: #0b3447; color: #fff; }
.contact-copy h2 { color: #fff; font-size: clamp(3.6rem, 6vw, 6.3rem); line-height: .94; }
.contact-copy h2 em { color: #73bdc8; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.contact-copy > p:not(.section-kicker) { max-width: 470px; margin: 30px 0; color: #c4d2d8; line-height: 1.8; }
.contact-copy > a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; }
.contact-copy > a svg { width: 18px; color: var(--soma-accent); }
.contact-form { display: grid; gap: 23px; padding: clamp(28px, 4vw, 46px); border: 1px solid rgb(255 255 255 / 14%); border-radius: 14px; background: rgb(255 255 255 / 6%); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 9px; }
.form-field label { color: #dbe7eb; font-size: .73rem; letter-spacing: .04em; }
.contact-form input, .contact-form textarea, .contact-form select { min-height: 48px; border-color: rgb(255 255 255 / 22%); border-radius: 7px; background: rgb(255 255 255 / 6%); color: #fff; font-size: .92rem; }
.contact-form textarea { min-height: 126px; resize: vertical; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible, .contact-form select:focus-visible { border-color: #73bdc8; box-shadow: 0 0 0 3px rgb(88 175 192 / 24%); }
.form-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.form-submit { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 0 24px; border: 0; border-radius: 7px; background: var(--soma-accent); color: #152c36; font: inherit; font-size: .86rem; font-weight: 800; cursor: pointer; }
.form-submit:hover { background: #f0bb67; }
.form-submit:disabled { cursor: wait; opacity: .72; }
.form-note { margin: 0; color: #91a9b2; font-size: .7rem; }
.form-status { min-height: 20px; margin: -10px 0 0; color: #b9dde3; font-size: .76rem; }
.contact-form option { color: #101820; }
.visually-hidden { 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; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; min-height: 150px; padding: 35px clamp(24px, 7vw, 108px); background: var(--soma-ink); color: #b9c6cb; }
.footer-logo img { display: block; width: 185px; }
.footer-meta { display: flex; gap: 22px; font-size: .76rem; }
footer > p { justify-self: end; margin: 0; font-size: .7rem; }
footer a:hover { color: #fff; }

@media (max-width: 1040px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card h3, .service-card > p { min-height: 0; }
  .audience-section, .contact-section { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .about-section { grid-template-columns: 180px 1fr; }
  .about-principles { grid-column: 2; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-meta { justify-self: end; }
  footer > p { grid-column: span 2; justify-self: start; }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .process-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .proof-strip { flex-wrap: wrap; gap: 14px 20px; }
  .proof-strip span { width: calc(50% - 20px); text-align: center; }
  .proof-strip i { display: none; }
  .section { padding: 76px 20px; }
  .service-card { padding: 24px; }
  .card-top { margin-bottom: 34px; }
  .audience-card { grid-template-columns: 1fr; gap: 16px; padding: 26px 22px; }
  .audience-card > svg { grid-row: auto; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: auto; padding: 0 0 35px; }
  .process-line { margin-bottom: 25px; }
  .process-list p { max-width: none; }
  .about-section { grid-template-columns: 1fr; }
  .about-symbol { width: 120px; }
  .about-principles { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit-row { align-items: stretch; flex-direction: column; }
  .form-submit { width: 100%; }
  footer { grid-template-columns: 1fr; }
  .footer-meta, footer > p { grid-column: auto; justify-self: start; }
  .footer-meta { flex-direction: column; gap: 8px; }
}
