:root {
  --ink: #10221e;
  --ink-soft: #52605b;
  --paper: #f3efe7;
  --paper-light: #fbfaf6;
  --green: #173e34;
  --green-light: #2d5b4d;
  --gold: #b38a52;
  --line: rgba(16, 34, 30, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 8%, rgba(188, 151, 93, .16), transparent 22rem),
    linear-gradient(135deg, var(--paper-light), var(--paper));
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.ambient {
  position: fixed;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .12;
  pointer-events: none;
}

.ambient--one { top: -16rem; right: -10rem; background: var(--gold); }
.ambient--two { bottom: 5%; left: -20rem; background: #7fa99b; }

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 48px;
}

.hero {
  min-height: min(700px, calc(100svh - 72px));
  display: grid;
  grid-template-columns: minmax(320px, .86fr) 1.14fr;
  align-items: center;
  gap: clamp(56px, 8vw, 120px);
  padding: clamp(32px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 40px;
  background: rgba(251, 250, 246, .66);
  box-shadow: 0 30px 100px rgba(33, 43, 39, .09);
  backdrop-filter: blur(18px);
}

.hero__portrait {
  position: relative;
  align-self: stretch;
  min-height: 560px;
  overflow: hidden;
  border-radius: 240px 240px 22px 22px;
  background: #ded7ca;
}

.hero__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(13, 35, 29, .28));
}

.hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 51% 36%; }

.hero__stamp {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: var(--paper-light);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(23, 62, 52, .78);
  font-family: "Newsreader", serif;
  font-size: 20px;
  letter-spacing: .08em;
  backdrop-filter: blur(8px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: var(--gold);
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow span { width: 30px; height: 1px; background: currentColor; }

.hero h1, .offers h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-weight: 400;
  letter-spacing: -.045em;
}

.hero h1 { max-width: 680px; font-size: clamp(50px, 6.5vw, 86px); line-height: .94; }
.hero h1 em { color: var(--green-light); font-weight: 400; }

.hero__bio {
  max-width: 540px;
  margin: 34px 0 36px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
}

.hero__hint {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.hero__hint span { font-size: 18px; transition: transform .25s ease; }
.hero__hint:hover span { transform: translateY(4px); }

.offers { padding: 132px 0 96px; }
.offers__heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: end; margin-bottom: 46px; }
.offers__heading .eyebrow { grid-column: 1 / -1; }
.offers h2 { font-size: clamp(44px, 5vw, 70px); line-height: .95; }
.offers__heading > p:last-child { max-width: 470px; margin: 0 0 5px auto; color: var(--ink-soft); line-height: 1.65; }

.offers__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.offer {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green);
  color: white;
  text-decoration: none;
  isolation: isolate;
}

.offer--wide { grid-column: 1 / -1; min-height: 520px; }
.offer > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.offer--wide > img { object-position: center 32%; }
.offer--landscape > img { object-position: center 27%; }

.offer__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 25, 20, .88) 0%, rgba(8, 25, 20, .52) 48%, rgba(8, 25, 20, .08) 100%);
  transition: opacity .4s ease;
}

.offer:not(.offer--wide) .offer__shade { background: linear-gradient(180deg, rgba(8,25,20,.04) 22%, rgba(8,25,20,.93) 100%); }

.offer__number {
  position: absolute;
  top: 26px;
  right: 28px;
  color: rgba(255,255,255,.72);
  font: 500 12px/1 "DM Sans", sans-serif;
  letter-spacing: .15em;
}

.offer__content { position: absolute; inset: auto auto 0 0; display: flex; flex-direction: column; width: min(620px, 85%); padding: 46px; }
.offer__kicker { margin-bottom: 13px; color: #e5c798; font: 600 10px/1.2 "DM Sans", sans-serif; letter-spacing: .19em; text-transform: uppercase; }
.offer strong { font: 400 clamp(38px, 4.3vw, 59px)/.98 "Newsreader", serif; letter-spacing: -.035em; }
.offer__description { max-width: 480px; margin-top: 17px; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.6; }
.offer__action { display: flex; align-items: center; gap: 12px; width: max-content; margin-top: 24px; padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,.36); font-size: 12px; font-weight: 600; }
.offer__action span { font-size: 16px; transition: transform .25s ease; }

.offer:hover > img { transform: scale(1.035); }
.offer:hover .offer__action span { transform: translate(3px, -3px); }
.offer:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 38px 0 0; border-top: 1px solid var(--line); }
.footer__mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--paper-light); background: var(--green); font: 400 15px/1 "Newsreader", serif; }
.footer div { display: flex; flex-direction: column; gap: 3px; }
.footer strong { font: 500 16px/1.2 "Newsreader", serif; }
.footer div span, .footer p { color: var(--ink-soft); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .shell { width: calc(100% - 24px); max-width: 680px; padding-top: 12px; overflow: hidden; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 34px; padding: 16px 16px 42px; border-radius: 28px; }
  .hero__portrait { min-height: 0; height: min(108vw, 660px); border-radius: 200px 200px 18px 18px; }
  .hero__copy { padding: 0 10px; }
  .hero h1 { max-width: 100%; font-size: clamp(43px, 11.8vw, 62px); overflow-wrap: anywhere; }
  .hero__bio { margin: 25px 0 30px; font-size: 15px; }
  .offers { padding: 94px 0 70px; }
  .offers__heading { display: block; }
  .offers h2 { font-size: 50px; }
  .offers__heading > p:last-child { margin: 20px 0 0; }
  .offers__grid { grid-template-columns: 1fr; gap: 12px; }
  .offer, .offer--wide { grid-column: auto; min-height: 520px; }
  .offer > img, .offer--wide > img, .offer--landscape > img { object-position: center 25%; }
  .offer__shade, .offer:not(.offer--wide) .offer__shade { background: linear-gradient(180deg, rgba(8,25,20,.03) 18%, rgba(8,25,20,.94) 100%); }
  .offer__content { width: 100%; padding: 28px; }
  .offer strong { font-size: 41px; }
  .footer { grid-template-columns: auto 1fr; }
  .footer p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .offer > img, .hero__hint span, .offer__action span { transition: none; }
}
