:root {
  color-scheme: light;
  --text: #111827;
  --muted: rgba(17, 24, 39, 0.66);
  --quiet: rgba(17, 24, 39, 0.48);
  --line: rgba(17, 24, 39, 0.12);
  --surface: #ffffff;
  --surface-soft: #f6f8fb;
  --teal: #20a5c0;
  --blue: #54a6e8;
  --indigo: #6e7fe5;
  --rose: #d46fc6;
  --green: #54ac7c;
  --shadow: 0 22px 48px rgba(17, 24, 39, 0.10);
  --container: 1160px;
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  padding: 10px 12px;
  color: #fff;
  background: #000;
  border-radius: 10px;
}

.skip-link:focus {
  left: 12px;
}

.container {
  width: calc(100% - 40px);
  max-width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(16, 20, 24, 0.06);
  backdrop-filter: blur(20px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-self: start;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand:hover,
.button:hover {
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 10px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-color-scheme: dark) {
  .site-header {
    background: rgba(13, 18, 23, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .brand {
    color: rgba(255, 255, 255, 0.88);
  }

  .brand-mark {
    background: #243238;
    border-radius: 50%;
    box-shadow: none;
  }

  .brand-mark img {
    filter: saturate(0.76) brightness(0.82) contrast(0.96);
    transform: scale(1.20);
    transform-origin: center;
  }

  .site-header .nav a {
    color: rgba(255, 255, 255, 0.62);
  }

  .site-header .nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
  }

  .site-header .button-compact {
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow: none;
  }
}

.brand-name {
  font-size: 16px;
}

.nav {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  justify-self: center;
}

.nav a {
  padding: 8px 10px;
  color: rgba(17, 24, 39, 0.66);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}

.nav a:hover {
  color: var(--text);
  background: rgba(17, 24, 39, 0.05);
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.button-compact {
  justify-self: end;
  min-height: 40px;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(17, 24, 39, 0.12);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.button-primary {
  color: #fff;
  background: var(--teal);
  border-color: rgba(0, 70, 86, 0.18);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.14), 0 8px 18px rgba(15, 80, 100, 0.16);
}

.button-primary:hover {
  background: #26aec9;
}

.button-secondary {
  color: var(--text);
  background: #fff;
  border-color: rgba(17, 24, 39, 0.12);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.text-link {
  color: #127fa4;
  font-weight: 700;
}

main {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 34%, #f6f8fb 100%);
}

section[id] {
  scroll-margin-top: 78px;
}

.hero {
  padding: clamp(54px, 7vw, 92px) 0 clamp(28px, 4vw, 46px);
  text-align: left;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(176px, 308px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero-portrait {
  position: relative;
  width: min(100%, 308px);
  aspect-ratio: 1 / 1.22;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 28px;
  background: var(--surface-soft);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.14);
}

.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
  pointer-events: none;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: -0.035em;
  max-width: 100%;
  overflow-wrap: break-word;
}

h1 {
  max-width: 980px;
  margin: 0 0 18px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.96;
  text-wrap: balance;
}

h1 span,
.showcase-copy h2 span,
.section-head h2 span {
  display: block;
}

.lede {
  max-width: 820px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.34;
  overflow-wrap: break-word;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.hero-links {
  display: flex;
  justify-content: flex-start;
  gap: 22px;
  margin-top: 18px;
  color: #127fa4;
  font-size: 17px;
  font-weight: 650;
}

.hero-links a::after {
  content: " >";
}

.showcase {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--teal), var(--blue) 44%, var(--indigo));
}

.showcase-copy-band {
  position: relative;
  z-index: 2;
  padding: clamp(30px, 4.8vw, 54px) 0;
  text-align: center;
  background: #fff;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.44);
}

.showcase-copy h2 {
  max-width: 980px;
  margin: 0 auto 12px;
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 1;
  text-wrap: balance;
}

.showcase-copy p {
  max-width: 780px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.showcase-stage {
  position: relative;
  display: grid;
  min-height: clamp(390px, 54vw, 760px);
  place-items: start center;
  padding: clamp(38px, 6vw, 74px) 20px clamp(56px, 7vw, 92px);
}

.showcase-stage::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(34px, 6vw, 88px);
  background: linear-gradient(180deg, rgba(18, 62, 80, 0.20), rgba(18, 62, 80, 0));
  pointer-events: none;
}

.showcase-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: min(88vw, 1180px);
  border-radius: clamp(14px, 1.8vw, 26px);
  background: #fff;
  filter: drop-shadow(0 1px 0 rgba(17, 24, 39, 0.16)) drop-shadow(0 5px 9px rgba(17, 24, 39, 0.14)) drop-shadow(0 22px 34px rgba(17, 24, 39, 0.12));
}

.showcase-window img {
  width: 100%;
}

.floating-product-card {
  position: absolute;
  right: max(28px, calc((100vw - var(--container)) / 2));
  bottom: clamp(24px, 4vw, 58px);
  z-index: 3;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: min(360px, calc(100vw - 40px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 42px rgba(17, 24, 39, 0.16);
  backdrop-filter: blur(16px);
}

.floating-product-card img {
  border-radius: 18px;
}

.floating-product-card strong,
.floating-product-card span {
  display: block;
}

.floating-product-card strong {
  margin-bottom: 3px;
  font-size: 17px;
}

.floating-product-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(48px, 7vw, 74px);
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.08);
  box-shadow: 0 24px 54px rgba(17, 24, 39, 0.08);
}

.signal-strip div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.signal-strip span,
.kicker,
.role-list dd {
  display: block;
  margin: 0 0 8px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.signal-strip strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  line-height: 1.34;
  overflow-wrap: break-word;
}

.section {
  padding: clamp(78px, 9vw, 116px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 74px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-head.compact {
  display: block;
  margin: 0;
}

.section-head h2 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.02;
  text-wrap: balance;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-copy {
  padding: clamp(28px, 4.8vw, 56px);
}

.feature-copy h3,
.work-card h3,
.experience-panel h3,
.bento h3 {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.04;
}

.feature-copy p,
.work-card p,
.experience-panel p,
.bento p {
  color: var(--muted);
  font-size: 17px;
}

.feature-points {
  display: grid;
  gap: 1px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.08);
}

.feature-points div {
  padding: 16px 18px;
  background: #fbfcff;
}

.feature-points span {
  display: block;
  margin-bottom: 4px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.feature-points strong {
  display: block;
  color: rgba(17, 24, 39, 0.78);
  font-size: 15px;
  line-height: 1.38;
}

.feature-media {
  min-height: 360px;
  background: linear-gradient(135deg, #e9fbff, #eef2ff);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.work-card {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 22px 52px rgba(17, 24, 39, 0.08);
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  background: var(--surface-soft);
}

.work-card div {
  padding: 24px;
}

.work-card h3 {
  font-size: 25px;
}

.systems-section {
  background: linear-gradient(180deg, #f6f8fb, #ffffff);
  border-top: 1px solid rgba(17, 24, 39, 0.07);
  border-bottom: 1px solid rgba(17, 24, 39, 0.07);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 90px);
}

.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bento article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.06);
}

.bento span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  margin-bottom: 22px;
  padding: 0 12px;
  color: #127fa4;
  background: rgba(32, 165, 192, 0.12);
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bento h3 {
  font-size: 26px;
}

.experience-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 60px);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.logo-lockup {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
  font-weight: 800;
}

.logo-lockup img {
  width: 58px;
}

.role-list {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.role-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 15px 17px;
  background: #fbfcff;
}

.role-list dt {
  color: var(--text);
  font-weight: 760;
}

.role-list dd {
  align-self: center;
  margin: 0;
  white-space: nowrap;
}

.contact-section {
  padding: clamp(72px, 9vw, 110px) 0;
  color: #fff;
  background: linear-gradient(135deg, #111827, #183247 56%, #23566b);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.contact-section .eyebrow {
  color: #8ed9e8;
}

.contact-section h2 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.02;
  text-wrap: balance;
}

.contact-section .button-secondary {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    overflow-x: auto;
    max-width: 100%;
  }

  .feature-story,
  .experience-panel,
  .two-column,
  .contact-inner,
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-portrait {
    width: min(58vw, 260px);
  }

  .work-grid,
  .bento,
  .signal-strip {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head .eyebrow {
    margin-bottom: 12px;
  }

  .floating-product-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(88vw, 390px);
    margin-top: 18px;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 28px);
  }

  .site-header {
    position: static;
  }

  .header-inner {
    gap: 12px;
    padding: 14px 0;
  }

  .brand-name {
    display: none;
  }

  .nav {
    gap: 0;
    width: 100%;
  }

  .nav a {
    padding-inline: 9px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.02;
    text-wrap: normal;
  }

  .hero,
  .showcase-copy {
    text-align: left;
  }

  h1,
  .lede,
  .showcase-copy h2,
  .showcase-copy p {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-actions {
    justify-content: stretch;
  }

  .hero-portrait {
    width: min(72vw, 240px);
    border-radius: 22px;
  }

  .hero-links {
    justify-content: flex-start;
    gap: 18px;
    font-size: 16px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.10em;
    overflow-wrap: anywhere;
  }

  .lede,
  .showcase-copy p {
    font-size: 18px;
  }

  .showcase-copy h2,
  .section-head h2,
  .contact-section h2 {
    font-size: 34px;
    line-height: 1.04;
    text-wrap: normal;
  }

  .signal-strip strong {
    font-size: 15px;
  }

  .button {
    width: 100%;
  }

  .button-compact {
    width: auto;
  }

  .showcase-copy-band {
    padding-top: 34px;
    padding-bottom: 32px;
  }

  .showcase-stage {
    min-height: 0;
    padding: 30px 14px 42px;
  }

  .showcase-window {
    width: 100%;
    border-radius: 14px;
  }

  .floating-product-card {
    grid-template-columns: 60px 1fr;
    width: 100%;
    border-radius: 16px;
  }

  .floating-product-card img {
    border-radius: 14px;
  }

  .role-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .role-list dd {
    white-space: normal;
  }
}
