:root {
  color-scheme: light;
  --ink: #11101a;
  --muted: #68647a;
  --line: #d8d3e4;
  --paper: #f5f2f8;
  --surface: #ffffff;
  --violet: #37205d;
  --violet-deep: #171029;
  --blue: #2f6fba;
  --blue-soft: #7aa7ff;
  --accent: #7f5cff;
  --shadow: 0 24px 70px rgba(18, 12, 38, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(245, 242, 248, 0.9);
  border-bottom: 1px solid rgba(55, 32, 93, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
}

.brand-role {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

main {
  overflow: hidden;
}

.hero {
  min-height: calc(100svh - 73px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.82fr);
  align-items: center;
  column-gap: clamp(36px, 6vw, 88px);
  row-gap: clamp(28px, 5vw, 58px);
  padding: clamp(42px, 7vw, 92px) clamp(20px, 5vw, 72px) 54px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.35rem, 4.8vw, 4.1rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-title-banner {
  grid-column: 1 / -1;
  width: 100%;
  font-size: clamp(1.2rem, 5.32vw, 4.3rem);
  line-height: 0.94;
  white-space: nowrap;
  overflow-wrap: normal;
}

#beliefs-title span {
  display: block;
}

#beliefs-title {
  font-size: clamp(2rem, 2.9vw, 3.25rem);
  line-height: 1.04;
}

.beliefs-line {
  white-space: nowrap;
}

.hero-lede {
  max-width: 680px;
  margin: 32px 0 0;
  color: #48445c;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--ink), var(--violet));
  color: var(--surface);
}

.button.secondary {
  background: transparent;
  color: var(--violet-deep);
  border-color: rgba(55, 32, 93, 0.55);
}

.portrait-wrap {
  position: relative;
  width: min(100%, 480px);
  justify-self: end;
}

.portrait-wrap::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: linear-gradient(145deg, var(--blue), var(--accent));
  border-radius: 8px;
}

.portrait {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(127, 92, 255, 0.25);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.statement-band {
  padding: clamp(44px, 8vw, 92px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(47, 111, 186, 0.42), transparent 44%),
    linear-gradient(145deg, #09070f, var(--violet-deep) 58%, #261349);
  color: var(--surface);
}

.statement-band p {
  max-width: none;
  margin: 0;
  font-size: clamp(0.72rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.08;
  white-space: nowrap;
}

.content-section,
.experience-section,
.split-section,
.connect-section {
  padding: clamp(54px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

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

#work .section-heading {
  max-width: none;
}

#work-title {
  max-width: none;
  font-size: clamp(1.85rem, 2.65vw, 3.1rem);
  line-height: 1.04;
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.work-item {
  min-height: 300px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
}

.item-number {
  display: block;
  margin-bottom: 68px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
}

h3 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.work-item p,
.belief-list p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.25rem);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: clamp(32px, 6vw, 86px);
  background: #ece7f4;
}

.belief-list {
  display: grid;
  gap: 24px;
  padding-top: 10px;
}

.belief-list p {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(55, 32, 93, 0.16);
}

.belief-list p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.experience-section {
  background: var(--paper);
  border-top: 1px solid rgba(55, 32, 93, 0.12);
  border-bottom: 1px solid rgba(55, 32, 93, 0.12);
}

.experience-statement {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.85vw, 2.1rem);
  font-weight: 800;
  line-height: 1.12;
}

.experience-body {
  max-width: 980px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.25rem);
  line-height: 1.5;
}

.connect-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 56px);
  background:
    radial-gradient(circle at 88% 22%, rgba(47, 111, 186, 0.5), transparent 28%),
    linear-gradient(135deg, #08070d, var(--violet-deep) 68%, #251049);
  color: var(--surface);
}

.connect-section > div {
  flex: 1 1 auto;
  min-width: 0;
}

.connect-section .eyebrow {
  color: var(--blue-soft);
}

.connect-section h2 {
  max-width: none;
  font-size: clamp(1.85rem, 3.15vw, 3.65rem);
  line-height: 1.04;
}

.connect-section .button {
  flex: 0 0 auto;
  border-color: var(--surface);
  background: var(--surface);
  color: var(--ink);
}

.connect-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  h1 {
    max-width: none;
  }

  .portrait-wrap {
    justify-self: start;
    width: min(100%, 410px);
  }

  .work-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  #work-title {
    white-space: normal;
  }

  .work-item {
    min-height: 230px;
  }

  .item-number {
    margin-bottom: 42px;
  }

  .connect-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .connect-actions {
    justify-content: flex-start;
  }

}

@media (max-width: 620px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 18px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .content-section,
  .split-section,
  .connect-section,
  .statement-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(1.35rem, 4.8vw, 2.75rem);
    line-height: 0.96;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .portrait-wrap::before {
    inset: 12px -10px -12px 10px;
  }
}
