:root {
  --cream: #f7f0e7;
  --warm: #e7d9c8;
  --linen: #fbf8f3;
  --ink: #2a211b;
  --muted: #72665b;
  --brown: #5a3729;
  --copper: #a86f47;
  --sage: #6f7d68;
  --blue: #273d52;
  --line: rgba(42, 33, 27, 0.14);
  --shadow: 0 20px 55px rgba(42, 33, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(251, 248, 243, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
}

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

.nav-links a {
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: min(780px, calc(100svh - 54px));
  display: flex;
  align-items: center;
  padding: clamp(80px, 11vw, 132px) clamp(22px, 6vw, 96px);
  overflow: hidden;
}

.recruitment-hero {
  background:
    linear-gradient(90deg, rgba(247, 240, 231, 0.96) 0%, rgba(247, 240, 231, 0.82) 38%, rgba(247, 240, 231, 0.1) 69%),
    url("assets/tester-planning.jpg") center / cover;
}

.hero-copy,
.about-hero-copy {
  width: min(620px, 100%);
}

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

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  max-width: 11ch;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 4.35rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.hero-copy p:not(.eyebrow),
.about-hero-copy p:not(.eyebrow),
.section-copy p,
.apply-intro p,
.story-columns p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 22px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--brown);
  color: #fff8ee;
  box-shadow: 0 14px 28px rgba(90, 55, 41, 0.22);
}

.button.secondary {
  border-color: rgba(90, 55, 41, 0.28);
  background: rgba(255, 255, 255, 0.52);
  color: var(--brown);
}

.program-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.program-strip div {
  min-height: 112px;
  padding: 24px clamp(18px, 4vw, 36px);
  background: var(--linen);
}

.program-strip strong,
.program-strip span {
  display: block;
}

.program-strip strong {
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.program-strip span {
  color: var(--muted);
}

.split-section,
.product-roadmap,
.apply-section,
.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: clamp(64px, 9vw, 118px) clamp(22px, 6vw, 96px);
}

.split-section.reversed {
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, 0.9fr);
}

.split-section.reversed .section-copy {
  order: 2;
}

.section-copy {
  max-width: 620px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 13px;
  height: 2px;
  background: var(--copper);
  content: "";
}

.feature-image {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tone-band,
.values-band {
  padding: clamp(64px, 9vw, 112px) clamp(22px, 6vw, 96px);
  background: #e9ecdf;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.section-heading.compact {
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-grid article {
  overflow: hidden;
  border: 1px solid rgba(42, 33, 27, 0.08);
  border-radius: 8px;
  background: var(--linen);
}

.feature-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-grid h3,
.feature-grid p {
  padding-right: 22px;
  padding-left: 22px;
}

.feature-grid h3 {
  margin-top: 22px;
}

.feature-grid p {
  margin-bottom: 24px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--brown);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.apply-section {
  align-items: start;
  background: var(--blue);
  color: #fffaf1;
}

.apply-section .eyebrow {
  color: #c9d8bb;
}

.apply-intro {
  position: sticky;
  top: 110px;
  max-width: 540px;
}

.apply-intro p {
  color: rgba(255, 250, 241, 0.75);
}

.application-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.08);
}

.application-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 250, 241, 0.82);
  font-size: 0.94rem;
  font-weight: 700;
}

.application-form input,
.application-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 250, 241, 0.24);
  border-radius: 6px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
}

.application-form textarea {
  resize: vertical;
}

.form-button {
  width: fit-content;
  margin-top: 6px;
  border: 0;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: #dce9cd;
}

.hidden-field {
  display: none;
}

.thank-you-section {
  min-height: calc(100vh - 166px);
  display: grid;
  align-items: center;
  padding: 90px 6vw;
  background: var(--warm);
}

.thank-you-section > div {
  width: min(720px, 100%);
}

.thank-you-section h1 {
  max-width: 700px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.98;
}

.thank-you-section p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  padding: clamp(70px, 9vw, 118px) clamp(22px, 6vw, 96px) clamp(50px, 7vw, 90px);
  background: var(--cream);
}

.about-hero h1 {
  max-width: 8.5ch;
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.about-hero img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-section {
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
}

.story-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.values-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.value-item {
  min-height: 270px;
  padding: clamp(28px, 4vw, 50px);
  background: #e9ecdf;
}

.value-item span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--copper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
}

.value-item p {
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(22px, 6vw, 96px);
  border-top: 1px solid var(--line);
  background: var(--linen);
  color: var(--muted);
}

.site-footer div {
  display: grid;
  gap: 3px;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a {
  color: var(--brown);
  font-weight: 800;
}

@media (max-width: 940px) {
  .program-strip,
  .feature-grid,
  .values-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section,
  .split-section.reversed,
  .product-roadmap,
  .apply-section,
  .about-hero,
  .story-section {
    grid-template-columns: 1fr;
  }

  .split-section.reversed .section-copy {
    order: 0;
  }

  .apply-intro {
    position: static;
  }

  .story-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
  }

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

  .hero {
    min-height: 790px;
    align-items: flex-start;
    padding-top: 64px;
  }

  .recruitment-hero {
    background:
      linear-gradient(180deg, rgba(247, 240, 231, 0.99) 0%, rgba(247, 240, 231, 0.95) 54%, rgba(247, 240, 231, 0.38) 100%),
      url("assets/tester-planning.jpg") 68% bottom / auto 56% no-repeat,
      var(--cream);
  }

  h1 {
    font-size: clamp(2.6rem, 16vw, 4rem);
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 34rem;
  }

  .program-strip,
  .feature-grid,
  .values-band {
    grid-template-columns: 1fr;
  }

  .split-section,
  .product-roadmap,
  .apply-section,
  .story-section,
  .about-hero,
  .tone-band,
  .values-band {
    padding-right: 18px;
    padding-left: 18px;
  }

  .form-button {
    width: 100%;
  }

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