:root {
  --bg: #fff6ee;
  --bg-soft: #fff1df;
  --bg-muted: #f8efe6;
  --surface: #ffffff;
  --surface-strong: #fffaf4;
  --ink: #111827;
  --ink-soft: #526070;
  --ink-muted: #7b8794;
  --line: rgba(17, 24, 39, 0.1);
  --line-strong: rgba(17, 24, 39, 0.18);
  --accent: #ff7a2f;
  --accent-deep: #ea5f10;
  --accent-soft: #ffd8bf;
  --accent-alt: #4ac7ba;
  --dark: #16202b;
  --dark-soft: #223040;
  --max-width: 1180px;
  --radius: 1.5rem;
  --shadow: 0 24px 60px rgba(17, 24, 39, 0.08);
  --font-display: "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 122, 47, 0.16), transparent 24%),
    linear-gradient(180deg, #fffaf4 0%, var(--bg) 36%, #fffdf9 100%);
  color: var(--ink);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.03) 1px, transparent 1px);
  background-size: 160px 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 94%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

main {
  position: relative;
  isolation: isolate;
}

.shell-container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 248, 240, 0.82);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark::before {
  content: "09";
  display: grid;
  place-items: center;
  width: 2.9rem;
  aspect-ratio: 1;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, var(--accent), #ff9f62);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 30px rgba(255, 122, 47, 0.24);
}

.brand-lockup {
  display: grid;
  gap: 0.15rem;
}

.brand-name,
.brand-tag,
.eyebrow,
.footer-kicker,
.footer-heading,
.card-index,
.case-type,
.signal-label,
.metric-number {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-tag {
  color: var(--ink-muted);
  font-size: 0.64rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link,
.button {
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.nav-link {
  padding: 0.3rem 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
  border-color: rgba(255, 122, 47, 0.55);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 28px rgba(255, 122, 47, 0.18);
}

.button:hover {
  transform: translateY(-1px);
  background: var(--accent-deep);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  border-color: rgba(17, 24, 39, 0.1);
  box-shadow: none;
}

.button-secondary:hover {
  background: #fff;
}

.button-compact {
  min-height: auto;
  padding: 0.85rem 1.15rem;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0.75rem;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 0.3rem 0;
  background: var(--ink);
}

.hero-section,
.content-section,
.cta-section,
.page-hero {
  position: relative;
  padding: 5.5rem 0;
}

.hero-section {
  padding-top: 5rem;
}

.hero-grid,
.split-grid,
.process-grid,
.page-hero-grid,
.contact-grid {
  display: grid;
  gap: 3rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  min-height: calc(84svh - 5rem);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  border-radius: 999px;
}

.hero-orbit-primary {
  top: 6rem;
  right: 14%;
  width: min(30rem, 34vw);
  height: min(30rem, 34vw);
  background: radial-gradient(circle at center, rgba(255, 122, 47, 0.22), rgba(255, 122, 47, 0.04) 56%, transparent 72%);
}

.hero-orbit-secondary {
  top: 16rem;
  right: 24%;
  width: min(9rem, 12vw);
  height: min(9rem, 12vw);
  background: radial-gradient(circle at center, rgba(74, 199, 186, 0.24), transparent 70%);
}

.hero-orbit-tertiary {
  bottom: 4rem;
  left: -3rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle at center, rgba(255, 214, 187, 0.85), transparent 72%);
}

.hero-copy h1,
.section-heading h2,
.split-grid h2,
.process-grid h2,
.cta-box h2,
.page-hero-copy h1,
.content-stack h2,
.contact-panel h2,
.site-footer h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  max-width: 8ch;
  font-size: clamp(4.4rem, 8vw, 7rem);
}

.eyebrow,
.footer-kicker,
.footer-heading,
.card-index,
.case-type,
.signal-label {
  margin: 0 0 1rem;
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 700;
}

.lead,
.footer-copy,
.metric-card p,
.service-card p,
.case-card p,
.process-list p,
.content-stack p,
.contact-list p,
.contact-panel p,
.checklist p,
.hero-proof p {
  color: var(--ink-soft);
  line-height: 1.68;
}

.lead {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1.06rem, 1.9vw, 1.22rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-proof {
  margin-top: 2.3rem;
  max-width: 28rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
}

.hero-proof p {
  margin: 0;
  font-size: 1rem;
}

.hero-stage,
.service-card,
.case-card,
.content-stack,
.contact-panel,
.cta-box,
.page-panel article {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-stage {
  display: grid;
  gap: 1.75rem;
  padding: 2rem;
}

.hero-stage-intro {
  display: grid;
  gap: 0.35rem;
}

.signal-value {
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero-sequence,
.process-list,
.page-panel,
.checklist {
  display: grid;
  gap: 1rem;
}

.hero-sequence article {
  align-items: start;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.hero-sequence article:first-child {
  padding-top: 0;
  border-top: 0;
}

.hero-sequence h2,
.hero-sequence p {
  margin: 0;
}

.hero-sequence h2 {
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-strip,
.band-grid,
.footer-list,
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-strip,
.band-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-strip li,
.band-grid p {
  margin: 0;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 122, 47, 0.1);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.metric-number {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: rgba(255, 122, 47, 0.12);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.band-section {
  padding: 1.4rem 0;
  background: rgba(255, 255, 255, 0.6);
  border-block: 1px solid rgba(17, 24, 39, 0.06);
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}

.capability-section {
  background: var(--dark);
  color: #eff4fb;
}

.capability-heading {
  max-width: 44rem;
  margin-bottom: 3rem;
}

.capability-heading .eyebrow {
  color: #ffb07f;
}

.capability-heading h2 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.2vw, 4.6rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.capability-heading > p:last-child {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: rgba(239, 244, 251, 0.72);
  line-height: 1.68;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(239, 244, 251, 0.16);
  border-left: 1px solid rgba(239, 244, 251, 0.16);
}

.capability-grid article {
  min-height: 13.5rem;
  padding: 1.7rem;
  border-right: 1px solid rgba(239, 244, 251, 0.16);
  border-bottom: 1px solid rgba(239, 244, 251, 0.16);
}

.capability-grid h3 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.capability-grid p {
  margin: 0;
  color: rgba(239, 244, 251, 0.72);
  line-height: 1.62;
}

.section-heading h2,
.split-grid h2,
.process-grid h2,
.cta-box h2,
.site-footer h2,
.contact-panel h2 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 4.2vw, 4.6rem);
}

.page-hero-copy h1 {
  max-width: 22ch;
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  line-height: 1.08;
}

.cards-grid,
.case-grid,
.content-grid,
.project-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.case-card,
.project-card,
.content-stack,
.contact-panel,
.team-card {
  padding: 1.8rem;
}

.project-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-card h3 {
  margin: 0.3rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.3vw, 2.15rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.project-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.68;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.team-photo {
  width: 7rem;
  aspect-ratio: 1;
  margin-bottom: 1.5rem;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.13);
  object-fit: cover;
}

.team-card:nth-child(2) .team-photo {
  filter: grayscale(1);
}

.team-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.team-role {
  margin: 0.55rem 0 1rem;
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.team-card > p:not(.card-index):not(.team-role) {
  color: var(--ink-soft);
  line-height: 1.68;
}

.text-link {
  display: inline-block;
  margin-top: 0.65rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.card-index {
  margin-bottom: 0.8rem;
}

.service-card h3,
.case-card h3,
.checklist h3,
.process-list h3,
.content-stack h2,
.contact-panel h2,
.page-panel h2 {
  margin: 0.3rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.split-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(255, 216, 191, 0.18), rgba(255, 255, 255, 0)),
    transparent;
}

.checklist article {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.checklist article:first-child {
  padding-top: 0;
}

.checklist article:last-child,
.process-list article:last-child {
  border-bottom: 0;
}

.accent-section {
  background:
    linear-gradient(180deg, rgba(74, 199, 186, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 216, 191, 0.15));
}

.process-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.process-list article {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.cta-box,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 3rem;
  align-items: start;
}

.cta-box {
  padding: 2.2rem;
  background:
    linear-gradient(135deg, rgba(255, 122, 47, 0.1), rgba(74, 199, 186, 0.08)),
    rgba(255, 255, 255, 0.82);
}

.page-hero {
  overflow: hidden;
  padding-top: 4.5rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(255, 122, 47, 0.12), transparent 22%),
    radial-gradient(circle at bottom left, rgba(74, 199, 186, 0.08), transparent 20%);
}

.page-hero-copy p,
.content-stack p,
.contact-panel p {
  max-width: 38rem;
}

.page-panel article {
  padding: 1.4rem;
}

.page-panel p {
  margin: 0;
  color: var(--ink-soft);
}

.content-stack {
  display: grid;
  gap: 1rem;
}

.content-stack ul,
.contact-list,
.footer-list {
  display: grid;
  gap: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.58;
}

.company-details dl {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.company-details dl > div {
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.company-details dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.company-details dt {
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.company-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.5;
}

.content-stack li,
.contact-list li {
  position: relative;
  padding-left: 1.1rem;
}

.content-stack li::before,
.contact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--accent);
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.contact-panel a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.site-footer {
  margin-top: 3rem;
  padding: 4.5rem 0 2.2rem;
  background: var(--dark);
  color: #eff4fb;
}

.site-footer .footer-kicker,
.site-footer .footer-heading {
  color: #ffb07f;
}

.site-footer .footer-copy,
.site-footer .footer-list,
.site-footer .footer-meta {
  color: rgba(239, 244, 251, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.7fr));
  gap: 2rem;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(239, 244, 251, 0.12);
  font-size: 0.9rem;
}

.site-footer .button-secondary,
.site-footer .button {
  box-shadow: none;
}

.site-footer .button {
  background: #fff;
  color: var(--dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 560ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 560ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="hero-stage"] {
  transform: translateY(20px) scale(0.985);
}

[data-reveal="hero-stage"].is-visible {
  transform: translateY(0) scale(1);
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-grid,
  .process-grid,
  .page-hero-grid,
  .contact-grid,
  .footer-grid,
  .content-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .case-grid,
  .team-grid,
  .project-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 1.2rem;
    background: rgba(255, 250, 244, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .topbar {
    position: relative;
  }

  .nav-link,
  .button-compact {
    width: 100%;
    justify-content: center;
  }

  .nav-link {
    padding: 0.7rem 0;
    border-bottom-color: rgba(17, 24, 39, 0.06);
  }
}

@media (max-width: 720px) {
  .hero-section,
  .content-section,
  .cta-section,
  .page-hero {
    padding: 4rem 0;
  }

  .shell-container {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .hero-copy h1 {
    max-width: 8ch;
    font-size: clamp(3.4rem, 14vw, 4.8rem);
  }

  .section-heading h2,
  .split-grid h2,
  .process-grid h2,
  .cta-box h2,
  .site-footer h2,
  .contact-panel h2 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .page-hero-copy h1 {
    max-width: none;
    font-size: clamp(1.85rem, 7.5vw, 2.6rem);
    line-height: 1.12;
  }

  .capability-heading h2 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .company-details dl > div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .hero-stage,
  .service-card,
  .case-card,
  .project-card,
  .content-stack,
  .contact-panel,
  .cta-box {
    padding: 1.4rem;
  }

  .footer-meta {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none !important;
  }
}
