:root {
  --bg: #f3efe8;
  --paper: #faf8f4;
  --ink: #18231f;
  --muted: #68716c;
  --forest: #173c31;
  --forest-2: #245445;
  --sand: #d8c8b2;
  --line: rgba(24, 35, 31, .13);
  --shadow: 0 24px 70px rgba(41, 45, 39, .12);
  --radius: 28px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; width: 100%; }

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 16px auto 72px;
}

.hero {
  min-height: calc(100svh - 32px);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  background: #d7d0c4;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.012);
  transition: transform 7s cubic-bezier(.2,.7,.2,1);
}

.hero:hover .hero-media img { transform: scale(1.045); }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 31, 26, .74) 0%, rgba(15, 31, 26, .53) 37%, rgba(15, 31, 26, .08) 64%, rgba(15, 31, 26, .02) 100%),
    linear-gradient(0deg, rgba(12, 28, 23, .36) 0%, transparent 38%);
}

.hero-inner {
  min-height: inherit;
  padding: clamp(26px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fffdf8;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  width: fit-content;
  animation: heroIn .9s .05s both;
}

.brand strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: .01em;
}

.brand span {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .8;
}

.hero-copy {
  width: min(690px, 100%);
  padding: 10vh 0 4vh;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  opacity: .88;
  animation: heroIn .9s .15s both;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

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

h1 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: .91;
  font-weight: 400;
  letter-spacing: -.035em;
  max-width: 800px;
  text-wrap: balance;
  animation: heroIn .95s .23s both;
}

.hero-copy > p {
  max-width: 600px;
  margin-bottom: 30px;
  font-size: clamp(1rem, 1.25vw, 1.17rem);
  color: rgba(255,255,255,.86);
  animation: heroIn .95s .32s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: heroIn .95s .4s both;
}

.button {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  border: 1px solid transparent;
}

.button:hover { transform: translateY(-2px); }
.button.primary { background: #f7f2e8; color: #173429; }
.button.secondary { border-color: rgba(255,255,255,.45); color: white; backdrop-filter: blur(8px); background: rgba(255,255,255,.06); }

.hero-note {
  display: flex;
  justify-content: flex-end;
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.72);
  animation: heroIn .95s .48s both;
}

main section {
  padding: clamp(86px, 11vw, 150px) clamp(8px, 3vw, 40px) 0;
}

.section-grid {
  display: grid;
  grid-template-columns: .8fr 1.4fr;
  gap: clamp(36px, 8vw, 120px);
  align-items: start;
}

.section-kicker {
  position: sticky;
  top: 28px;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest-2);
}

h2 {
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.12rem, 1.55vw, 1.38rem);
  line-height: 1.65;
  color: #33423c;
  max-width: 780px;
}

.muted { color: var(--muted); }

.quote-card {
  margin-top: 54px;
  padding: clamp(32px, 5vw, 64px);
  background: var(--forest);
  color: #f8f4ec;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.quote-card::after {
  content: "“";
  position: absolute;
  right: 28px;
  top: -52px;
  font-family: var(--serif);
  font-size: 15rem;
  line-height: 1;
  opacity: .06;
}

.quote-card p {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
}

.cards {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  min-height: 290px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: rgba(250,248,244,.56);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.card:hover {
  transform: translateY(-5px);
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(44, 54, 48, .08);
}

.card-index {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: #8e9c95;
}

.card h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.card p { margin: 0; color: var(--muted); }

.process {
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.process-row {
  display: grid;
  grid-template-columns: 70px 1fr 1.1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.process-row .number {
  font-family: var(--serif);
  font-size: 2rem;
  color: #87958e;
}

.process-row h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
}

.process-row p { margin: 0; color: var(--muted); }

.profile-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 50px;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--line);
}

.profile-panel figure {
  margin: 0;
  min-height: 560px;
  border-radius: 20px;
  overflow: hidden;
  background: #ddd4c8;
}

.profile-panel figure img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}

.profile-copy {
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-copy h3 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 24px;
}

.profile-copy p { color: var(--muted); }

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.fact {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.fact strong { display: block; font-size: .88rem; color: var(--ink); }
.fact span { font-size: .84rem; color: var(--muted); }

.faq {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 1.04rem;
  font-weight: 500;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform .25s ease;
}
details[open] summary::after { transform: rotate(45deg); }
details p { max-width: 760px; margin: 14px 0 0; color: var(--muted); }

.cta-section { padding-bottom: 0; }
.cta-box {
  padding: clamp(42px, 8vw, 100px);
  border-radius: 34px;
  background: var(--forest);
  color: #fbf7ef;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  width: 420px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  right: -140px;
  top: -180px;
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
}

.cta-box h2 { max-width: 900px; position: relative; z-index: 1; }
.cta-box p { max-width: 630px; color: rgba(255,255,255,.74); position: relative; z-index: 1; }
.cta-box .button { margin-top: 12px; position: relative; z-index: 1; }

footer {
  padding: 30px 8px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: .78rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .page-shell { width: min(100% - 20px, 760px); margin-top: 10px; }
  .hero { min-height: 88svh; border-radius: 24px; }
  .hero::after {
    background: linear-gradient(0deg, rgba(13,31,25,.8) 0%, rgba(13,31,25,.34) 55%, rgba(13,31,25,.06) 100%);
  }
  .hero-media img { object-position: 52% 35%; }
  .hero-inner { justify-content: flex-end; padding: 24px; }
  .brand { position: absolute; top: 24px; left: 24px; }
  .hero-copy { padding: 0 0 16px; }
  h1 { font-size: clamp(3.4rem, 14vw, 5.2rem); }
  .hero-note { display: none; }
  .section-grid { grid-template-columns: 1fr; gap: 18px; }
  .section-kicker { position: static; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 230px; }
  .process-row { grid-template-columns: 48px 1fr; }
  .process-row p { grid-column: 2; }
  .profile-panel { grid-template-columns: 1fr; }
  .profile-panel figure { min-height: 520px; }
  footer { flex-direction: column; }
}

@media (max-width: 560px) {
  .page-shell { width: calc(100% - 12px); margin-top: 6px; }
  .hero { border-radius: 20px; }
  .hero-inner { padding: 20px; }
  .hero-media img { object-position: 57% 31%; }
  .hero-copy > p { font-size: .96rem; }
  .button { width: 100%; }
  main section { padding-top: 76px; }
  .profile-panel figure { min-height: 430px; }
  .facts { grid-template-columns: 1fr; }
  .cta-box { border-radius: 24px; }
}
