:root {
  --ink: #111817;
  --muted: #53615e;
  --paper: #f5f1e9;
  --panel: #ffffff;
  --line: rgba(17, 24, 23, 0.14);
  --teal: #007f7a;
  --green: #62a744;
  --coral: #d96b4f;
  --gold: #c79a38;
  --charcoal: #17201f;
  --shadow: 0 24px 80px rgba(17, 24, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  align-items: center;
  background: rgba(245, 241, 233, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: border-color 180ms ease, background 180ms ease;
  z-index: 10;
}

.site-header.is-scrolled {
  background: rgba(245, 241, 233, 0.94);
  border-color: var(--line);
}

.brand,
.nav {
  align-items: center;
  display: flex;
}

.brand {
  font-weight: 800;
  gap: 10px;
}

.brand span {
  background: var(--ink);
  border-radius: 50%;
  color: var(--paper);
  display: grid;
  font-size: 0.78rem;
  height: 34px;
  place-items: center;
  width: 34px;
}

.nav {
  gap: clamp(14px, 3vw, 32px);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero {
  min-height: 92vh;
  overflow: hidden;
  padding: 124px clamp(18px, 4vw, 56px) 54px;
  position: relative;
}

.hero-image,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 13, 12, 0.86) 0%, rgba(7, 13, 12, 0.64) 42%, rgba(7, 13, 12, 0.12) 100%),
    linear-gradient(180deg, rgba(7, 13, 12, 0.16) 0%, rgba(7, 13, 12, 0.68) 100%);
}

.hero-content {
  color: #fffaf0;
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9ee58a;
  max-width: 520px;
}

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

h1 {
  font-size: clamp(3.6rem, 10vw, 9.5rem);
  line-height: 0.9;
  margin-bottom: 26px;
}

.hero-copy {
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: #e9f6df;
  color: #13201b;
}

.button.secondary {
  border: 1px solid rgba(255, 250, 240, 0.42);
  color: #fffaf0;
}

.hero-panel {
  background: rgba(255, 250, 240, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.42);
  bottom: 42px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
  max-width: min(390px, calc(100vw - 36px));
  padding: 22px;
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  z-index: 2;
}

.hero-panel span,
.tag,
.credential-box p,
.timeline span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  font-size: 1.28rem;
  line-height: 1.25;
}

.hero-panel small {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.contact-band h2 {
  font-size: clamp(2.1rem, 5vw, 4.7rem);
  line-height: 1;
  margin-bottom: 30px;
}

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

.intro-grid article,
.work-card,
.credential-box,
.timeline article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.intro-grid article {
  padding: 28px;
}

.stat {
  color: var(--gold);
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 34px;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.work-section {
  background: #e9eee8;
}

.work-grid {
  align-items: stretch;
}

.work-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  padding: 28px;
}

.work-card.feature {
  background: var(--charcoal);
  color: #fffaf0;
  grid-column: span 2;
}

.work-card.feature p {
  color: rgba(255, 250, 240, 0.75);
}

.work-card a,
.text-link {
  align-self: flex-start;
  border-bottom: 2px solid currentColor;
  color: var(--teal);
  font-weight: 800;
  padding-bottom: 4px;
}

.work-card a {
  margin-top: 30px;
}

.work-card.feature a,
.work-card.feature .tag {
  color: #9ee58a;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.skills-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 360px;
  margin-top: 34px;
}

.skill-list {
  border-top: 1px solid var(--line);
}

.skill-list div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 280px minmax(0, 1fr);
  padding: 28px 0;
}

.skill-list p {
  margin-bottom: 0;
}

.credential-box {
  align-self: start;
  padding: 28px;
  position: sticky;
  top: 98px;
}

.credential-box strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1.12;
  margin-bottom: 18px;
}

.credential-box span {
  color: var(--muted);
  font-weight: 700;
}

.story-section {
  background: var(--charcoal);
  color: #fffaf0;
}

.story-section .section-heading h2,
.story-section h3 {
  color: #fffaf0;
}

.story-section p {
  color: rgba(255, 250, 240, 0.7);
}

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

.timeline article {
  background: rgba(255, 250, 240, 0.08);
  border-color: rgba(255, 250, 240, 0.14);
  padding: 28px;
}

.timeline span {
  color: #9ee58a;
  display: block;
  margin-bottom: 38px;
}

.contact-band {
  align-items: center;
  background: #ffffff;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: clamp(64px, 8vw, 100px) clamp(18px, 4vw, 56px);
}

.contact-band div {
  max-width: 820px;
}

.contact-band h2 {
  margin-bottom: 0;
}

.contact-band .button.primary {
  background: var(--ink);
  color: #fffaf0;
  flex: 0 0 auto;
}

.footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.9rem;
  font-weight: 700;
  justify-content: space-between;
  padding: 26px clamp(18px, 4vw, 56px);
}

.sub-hero {
  align-items: end;
  background:
    linear-gradient(135deg, rgba(17, 24, 23, 0.92), rgba(0, 127, 122, 0.78)),
    url("assets/product-strategy-hero.png") center / cover;
  color: #fffaf0;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  min-height: 76vh;
  padding: 132px clamp(18px, 4vw, 56px) 58px;
}

.sub-hero h1 {
  font-size: clamp(3rem, 7vw, 7rem);
  max-width: 980px;
}

.sub-hero .hero-copy {
  max-width: 720px;
}

.button.secondary.dark {
  border-color: rgba(17, 24, 23, 0.32);
  color: var(--ink);
}

.sub-hero .button.secondary.dark {
  border-color: rgba(255, 250, 240, 0.42);
  color: #fffaf0;
}

.app-snapshot {
  background: rgba(255, 250, 240, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: grid;
  gap: 10px;
  padding: 26px;
}

.app-snapshot span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.app-snapshot strong {
  font-size: 1.7rem;
  line-height: 1.1;
}

.app-snapshot small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.app-detail-section {
  background: #ffffff;
}

.app-rhythm {
  background: #e9eee8;
}

.policy-page {
  background: #ffffff;
  padding: 132px clamp(18px, 4vw, 56px) 80px;
}

.policy-shell {
  margin: 0 auto;
  max-width: 860px;
}

.policy-shell h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.95;
  margin-bottom: 34px;
}

.policy-shell h2 {
  border-top: 1px solid var(--line);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
  margin: 38px 0 14px;
  padding-top: 26px;
}

.policy-shell p {
  font-size: 1.06rem;
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.policy-actions .button.primary {
  background: var(--ink);
  color: #fffaf0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
    position: absolute;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    min-height: 980px;
  }

  .hero-panel {
    bottom: 26px;
    left: 18px;
    right: auto;
  }

  .intro-grid,
  .work-grid,
  .timeline,
  .skills-layout,
  .sub-hero {
    grid-template-columns: 1fr;
  }

  .work-card.feature {
    grid-column: auto;
  }

  .skill-list div {
    grid-template-columns: 1fr;
  }

  .credential-box {
    position: static;
  }

  .contact-band,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .sub-hero {
    min-height: 820px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand {
    font-size: 0.92rem;
  }

  .nav {
    font-size: 0.82rem;
    gap: 10px;
  }

  .hero {
    min-height: 900px;
    padding-top: 132px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 13, 12, 0.9) 0%, rgba(7, 13, 12, 0.58) 100%),
      linear-gradient(180deg, rgba(7, 13, 12, 0.14) 0%, rgba(7, 13, 12, 0.78) 100%);
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 5.2rem);
  }

  .section-heading h2,
  .contact-band h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .intro-grid article,
  .work-card,
  .credential-box,
  .timeline article,
  .hero-panel,
  .app-snapshot {
    padding: 22px;
  }

  .sub-hero {
    padding-top: 132px;
  }

  .policy-page {
    padding-top: 122px;
  }
}
