*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #3a1820;
  --ink-soft: #4a222b;
  --paper: #f7f1ea;
  --paper-2: #f0e4d8;
  --accent: #c4503a;
  --accent-2: #f0a48f;
  --text: #2a1818;
  --muted: #6e564e;
  --line: rgba(58, 24, 32, 0.14);
  --cream: #fbf6f1;
  --font-d: Palatino, "Palatino Linotype", Georgia, serif;
  --font-b: "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  background: var(--paper);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.95rem 4vw;
  background: rgba(247, 241, 234, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--font-d);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.35rem;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a:hover { color: var(--text); }

.header__btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: linear-gradient(135deg, #f3b5a2 0%, #c4503a 100%);
  color: #2a1214;
  padding: 0.85rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 0 0 1px rgba(196, 80, 58, 0.25), 0 10px 26px rgba(196, 80, 58, 0.3);
}

.btn { padding: 1.02rem 1.45rem; font-size: 1.02rem; }

.header__btn:hover,
.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn:focus-visible,
.header__btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(15rem, 0.68fr) 1.32fr;
  min-height: calc(100svh - 8.5rem);
  background: var(--ink);
  color: var(--cream);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 3.2rem 2vw 3rem 2.4vw;
  max-width: 32rem;
  margin-right: auto;
}

.hero__photo {
  min-height: 100%;
  background: #111;
  overflow: hidden;
}

.hero__photo picture,
.hero__photo img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
}

.eyebrow {
  font-family: var(--font-b);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero .eyebrow,
.section-head--light .eyebrow,
.apply .eyebrow { color: var(--accent-2); }

h1, h2, h3 { font-family: var(--font-d); font-weight: 700; letter-spacing: -0.02em; }

h1 {
  font-size: clamp(2.35rem, 4.2vw, 3.9rem);
  line-height: 1.05;
}

.lead {
  max-width: 34rem;
  color: rgba(251, 246, 241, 0.8);
  font-size: 1.05rem;
}


.ticker {
  overflow: hidden;
  background: var(--ink-soft);
  color: var(--cream);
  border-bottom: 1px solid rgba(240, 164, 143, 0.4);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.ticker__track p {
  padding: 0.8rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.years {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 2rem;
  align-items: end;
  padding: 5.5rem 4vw;
  border-bottom: 1px solid var(--line);
}

.years__num {
  font-family: var(--font-d);
  font-size: clamp(5rem, 9vw, 7.4rem);
  line-height: 0.85;
  color: var(--ink);
}

.years__num span {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-b);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.years__text h2,
.section-head h2,
.split__copy h2,
.close h2,
.apply__copy h2 {
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1.14;
  margin-bottom: 0.9rem;
}

.years__text p,
.split__copy p,
.points__list p,
.steps__list p,
.apply__copy p {
  color: var(--muted);
  max-width: 40rem;
}

.points, .steps, .split, .close, .apply { padding: 5rem 4vw; }

.section-head { max-width: 36rem; margin-bottom: 2.2rem; }

.points__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.points__list li {
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.45rem 1.4rem 1.5rem;
}

.points__list h3,
.steps__list h3 {
  font-size: 1.55rem;
  margin-bottom: 0.4rem;
}

.steps {
  background: var(--ink);
  color: var(--cream);
}

.steps__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.steps__list li {
  background: rgba(255, 247, 242, 0.05);
  border: 1px solid rgba(240, 164, 143, 0.28);
  border-radius: 18px;
  padding: 1.2rem 1.1rem 1.3rem;
}

.steps__list span {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--font-b);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--accent-2);
}

.steps__list p { color: rgba(251, 246, 241, 0.74); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split__photo img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 22px;
}

.split__copy ul {
  margin-top: 1.2rem;
  padding-left: 1.1rem;
  color: var(--text);
}

.split__copy li + li { margin-top: 0.45rem; }

.close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.close h2 { margin: 0; max-width: 34rem; }

.apply {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
  background: #2c1419;
  color: var(--cream);
}

.apply__copy p { color: rgba(251, 246, 241, 0.76); }

.apply__form { display: grid; gap: 0.85rem; }

.apply__form[hidden],
.form-ok[hidden] { display: none; }

.apply__form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(251, 246, 241, 0.7);
}

input, textarea {
  font: inherit;
  color: var(--text);
  background: #fffdfb;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

textarea { min-height: 6.5rem; resize: vertical; }

.form-ok {
  background: rgba(255, 247, 242, 0.06);
  border: 1px solid rgba(240, 164, 143, 0.4);
  border-radius: 18px;
  padding: 1.3rem 1.15rem;
  color: var(--cream);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 4vw 1.6rem;
  background: #241014;
  color: rgba(251, 246, 241, 0.7);
  font-size: 0.92rem;
}

.footer p:first-child {
  font-family: var(--font-d);
  color: var(--cream);
  font-size: 1.45rem;
}

@media (max-width: 900px) {
  html { scroll-behavior: auto; }
  .header {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    backdrop-filter: none;
  }
  .nav { order: 3; width: 100%; margin-left: 0; }
  .hero, .years, .split, .steps__list, .points__list, .apply { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero__photo {
    order: -1;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    max-height: 62vh;
  }
  .hero__photo img { object-position: center 40%; }
  .hero__copy { padding: 1.4rem 1rem 1.6rem; max-width: none; }
  .ticker { display: none; }
  .close { flex-direction: column; align-items: flex-start; }
  .footer { flex-direction: column; }
  .split__photo img { max-height: none; }
  .points, .steps, .split, .close, .apply { padding: 3.2rem 1rem; }
  .years { padding: 3.2rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  html { scroll-behavior: auto; }
}
