:root {
  --paper: #ffffff;
  --ink: #18201f;
  --muted: #56615e;
  --deep: #0f3437;
  --moss: #7f9b80;
  --clay: #a25f3d;
  --cream: #ffffff;
  --line: rgba(15, 52, 55, 0.16);
  --shadow: 0 24px 70px rgba(24, 32, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(16px, 5vw, 64px) 14px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
nav,
.hero-actions,
.footer-links,
.header-contact {
  display: flex;
  align-items: center;
}

.resume-head {
  display: grid;
  gap: 7px;
}

.brand {
  gap: 10px;
  color: var(--deep);
  font-weight: 900;
  text-decoration: none;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--deep);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.resume-head p {
  margin: 0;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-contact {
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.header-contact a {
  text-decoration: none;
}

nav {
  padding-top: 4px;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

nav a,
.button,
.project-link,
.footer-links a {
  text-decoration: none;
}

.hero {
  min-height: calc(100svh - 65px);
  display: grid;
  grid-template-columns: minmax(360px, 1.08fr) minmax(260px, 0.72fr);
  align-items: center;
  gap: clamp(30px, 6vw, 92px);
  padding: clamp(34px, 5vw, 78px) clamp(16px, 5vw, 64px);
  background: #fff;
}

.hero-media {
  position: relative;
  order: 2;
  max-width: 410px;
  justify-self: end;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 8% -8% -5% 8%;
  border-radius: 999px 999px 44px 44px;
  background: #eef3ef;
  transform: rotate(-4deg);
}

.hero-media img {
  position: relative;
  display: block;
  width: min(36vw, 390px);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: 50% 44%;
  border: 10px solid #fff;
  border-radius: 999px 999px 42px 42px;
  box-shadow: var(--shadow);
}

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

.eyebrow,
.project-meta {
  display: block;
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--deep);
  font-size: clamp(45px, 6.4vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 16px;
  color: var(--deep);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-text,
.section-heading p,
.agent-copy p,
.pitch p {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.42;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--deep);
  font-weight: 900;
}

.button.primary {
  background: var(--deep);
  color: var(--cream);
}

.proof,
.agent,
.pitch,
.footer {
  padding: clamp(58px, 8vw, 112px) clamp(16px, 5vw, 64px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.project-list {
  display: grid;
  gap: 12px;
}

.project-link {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.35fr auto;
  gap: clamp(16px, 4vw, 42px);
  align-items: center;
  min-height: 148px;
  padding: clamp(20px, 4vw, 34px);
  border-top: 1px solid var(--line);
  color: var(--ink);
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.project-link:last-child {
  border-bottom: 1px solid var(--line);
}

.project-link:hover,
.project-link:focus-visible {
  background: #f7faf8;
  border-color: rgba(15, 52, 55, 0.28);
  transform: translateX(6px);
  outline: none;
}

.project-link strong {
  color: var(--deep);
  font-size: clamp(27px, 3.8vw, 48px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.project-link span:not(.project-meta) {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.42;
}

.project-link em {
  color: var(--clay);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.project-link em::after {
  content: " ->";
}

.project-link.feature {
  background: #f7faf8;
}

.agent {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background: #f8faf8;
  border-block: 1px solid var(--line);
}

.agent-widget {
  display: grid;
  align-content: center;
  min-height: 420px;
  padding: clamp(14px, 3vw, 24px);
  border: 1px solid rgba(15, 52, 55, 0.18);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(24, 32, 31, 0.1);
}

.agent-mount {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.agent-mount p,
.agent-disclaimer {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.agent-mount p {
  max-width: 300px;
  margin: 0;
  color: var(--deep);
  font-size: 20px;
  line-height: 1.22;
}

.agent-mount elevenlabs-convai {
  width: 100%;
}

.pitch {
  max-width: 1120px;
}

.footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  background: var(--deep);
  color: var(--cream);
}

.footer .eyebrow,
.footer h2 {
  color: var(--cream);
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
  color: rgba(255, 250, 240, 0.86);
  font-weight: 850;
}

@media (max-width: 840px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 18px;
  }

  .hero-media {
    order: -1;
    max-width: none;
  }

  .hero-media img {
    width: min(100%, 430px);
    max-height: 62svh;
    margin: 0 auto;
  }

  .project-link,
  .agent {
    grid-template-columns: 1fr;
  }

  .project-link {
    min-height: auto;
    gap: 10px;
  }

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

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 10px;
    padding: 12px 14px;
  }

  .brand {
    justify-content: flex-start;
  }

  .header-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .header-contact a {
    min-height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    font-size: 12px;
  }

  nav a {
    min-height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
  }

  .hero,
  .proof,
  .agent,
  .pitch,
  .footer {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-media img {
    width: min(100%, 360px);
    border-width: 7px;
    border-radius: 999px 999px 32px 32px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .hero-text,
  .section-heading p,
  .agent-copy p,
  .pitch p {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .project-list {
    gap: 0;
  }

  .project-link {
    padding: 22px 0;
  }

  .project-link strong {
    font-size: 31px;
  }

  .project-link.feature {
    padding-right: 14px;
    padding-left: 14px;
    border-radius: 24px;
  }

  .agent-widget {
    min-height: 380px;
    padding: 12px;
    border-radius: 24px;
  }

  .footer-links {
    display: grid;
    width: 100%;
    gap: 10px;
  }

  .footer-links a {
    min-height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 250, 240, 0.2);
    border-radius: 999px;
  }
}
