:root {
  color-scheme: light;
  --paper: oklch(97% 0.012 92);
  --paper-warm: oklch(93.5% 0.02 100);
  --paper-deep: oklch(88% 0.026 105);
  --ink: oklch(23% 0.035 145);
  --ink-green: oklch(30% 0.075 151);
  --forest: oklch(42% 0.1 153);
  --forest-soft: oklch(50% 0.08 151);
  --sage: oklch(70% 0.055 135);
  --moss: oklch(60% 0.07 122);
  --sky: oklch(82% 0.045 225);
  --sun: oklch(77% 0.15 82);
  --coral: oklch(68% 0.14 35);
  --line: oklch(84% 0.018 100);
  --muted: oklch(45% 0.03 135);
  --shadow: 0 24px 70px oklch(32% 0.04 125 / 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, oklch(98% 0.012 96), var(--paper) 42%, oklch(95% 0.025 116)),
    var(--paper);
  font-family: Manrope, Avenir Next, Segoe UI, system-ui, sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(90deg, oklch(33% 0.06 145 / 0.055) 1px, transparent 1px),
    linear-gradient(oklch(33% 0.06 145 / 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border: 1px solid oklch(84% 0.02 100 / 0.78);
  border-radius: 18px;
  background: oklch(98% 0.011 95 / 0.88);
  box-shadow: 0 12px 34px oklch(35% 0.05 130 / 0.1);
  backdrop-filter: blur(14px);
}

.brand-lockup {
  display: inline-grid;
  grid-template-columns: 50px auto;
  align-items: center;
  gap: 12px;
  color: var(--ink-green);
}

.brand-mark {
  width: 50px;
  height: 50px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.brand-mark path:nth-of-type(1) {
  fill: oklch(35% 0.08 150 / 0.12);
}

.brand-mark path:nth-of-type(2) {
  fill: oklch(35% 0.08 150 / 0.28);
}

.brand-lockup strong {
  display: block;
  font-family: Georgia, Times New Roman, serif;
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 500;
}

.brand-lockup small {
  display: block;
  margin-top: 5px;
  font-size: 0.66rem;
  font-weight: 520;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 30px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 560;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.main-nav a {
  transition: color 180ms var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--forest);
}

.header-action,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 560;
  letter-spacing: 0.025em;
  line-height: 1;
  transition:
    transform 220ms var(--ease),
    background-color 220ms var(--ease),
    border-color 220ms var(--ease),
    color 220ms var(--ease);
}

.header-action,
.button-primary {
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--paper);
  box-shadow: 0 12px 24px oklch(30% 0.08 150 / 0.18);
}

.header-action {
  padding: 0 18px;
}

.button {
  padding: 0 22px;
}

.header-action span,
.button span,
.header-action svg,
.button svg {
  transform: translateY(1px);
}

.button-secondary {
  border: 1px solid oklch(42% 0.1 153 / 0.28);
  color: var(--ink-green);
  background: oklch(98% 0.011 96 / 0.62);
}

.header-action svg,
.button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-action:hover,
.header-action:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  background: var(--ink-green);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: var(--forest);
  color: var(--forest);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: 700px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(500px, 1.12fr);
  align-items: center;
  gap: 44px;
  position: relative;
}

.hero::before,
.hero::after {
  position: absolute;
  pointer-events: none;
  content: "";
  border: 1px solid oklch(38% 0.07 145 / 0.22);
  border-radius: 999px;
}

.hero::before {
  width: 210px;
  height: 210px;
  right: 20px;
  top: 32px;
  opacity: 0.45;
}

.hero::after {
  width: 150px;
  height: 150px;
  left: -56px;
  bottom: 72px;
  opacity: 0.28;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 54px 0 52px;
}

.hero-copy,
.handnote,
.portrait-frame {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms var(--ease),
    transform 900ms var(--ease);
}

.hero.is-ready .hero-copy,
.hero.is-ready .handnote,
.hero.is-ready .portrait-frame {
  opacity: 1;
  transform: translateY(0);
}

.hero.is-ready .handnote {
  transform: rotate(-2deg);
}

.hero.is-ready .portrait-frame {
  transition-delay: 120ms;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow.small {
  margin-bottom: 8px;
  font-size: 0.66rem;
}

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

h1,
h2 {
  color: var(--ink-green);
  font-family: Georgia, Times New Roman, serif;
  font-weight: 500;
}

h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: 5.15rem;
  line-height: 0.96;
}

.hero-lead {
  max-width: 33rem;
  margin-bottom: 34px;
  color: oklch(32% 0.035 135);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 0;
}

.trust-list {
  max-width: 580px;
  margin: 42px 0 0;
  padding: 32px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  color: oklch(28% 0.04 140);
  font-size: 0.9rem;
  font-weight: 560;
  line-height: 1.3;
}

.trust-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid oklch(42% 0.1 153 / 0.28);
  border-radius: 50%;
  color: var(--forest);
  background: oklch(95% 0.03 115);
  font-size: 1rem;
}

.hero-visual {
  min-height: 700px;
  position: relative;
  z-index: 1;
}

.handnote {
  position: absolute;
  top: 8px;
  left: 20px;
  z-index: 4;
  max-width: 300px;
  color: var(--ink-green);
  font-family: Bradley Hand, Segoe Print, Comic Sans MS, cursive;
  font-size: 2.25rem;
  line-height: 1.06;
}

.portrait-frame {
  position: absolute;
  top: 122px;
  right: 64px;
  width: min(370px, 68%);
  height: 555px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px 34px 12px 34px;
  background:
    radial-gradient(circle at 50% 40%, oklch(98% 0.018 92 / 0.96) 0 18%, transparent 43%),
    linear-gradient(150deg, oklch(90% 0.038 122), oklch(97% 0.014 96) 46%, oklch(82% 0.035 142));
  box-shadow: var(--shadow);
}

.portrait-frame::after {
  position: absolute;
  inset: auto 0 0;
  height: 118px;
  content: "";
  background: linear-gradient(to bottom, transparent, oklch(96% 0.014 94 / 0.78) 58%, oklch(96% 0.014 94) 100%);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

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

  .main-nav {
    display: none;
  }

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

  h1 {
    max-width: 12ch;
    font-size: 4.1rem;
  }

  .hero-visual {
    min-height: 660px;
  }

  .portrait-frame {
    top: 100px;
    right: 0;
    width: min(380px, 74%);
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(100% - 20px, 1180px);
    margin-top: 10px;
    gap: 12px;
  }

  .brand-lockup {
    grid-template-columns: 42px auto;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-lockup strong {
    font-size: 1.1rem;
  }

  .brand-lockup small {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
  }

  .header-action {
    width: 46px;
    padding: 0;
  }

  .header-action span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .hero {
    width: min(100% - 24px, 1180px);
  }

  .hero-copy {
    padding: 46px 0 22px;
  }

  h1 {
    max-width: 11ch;
    font-size: 3.15rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-list {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 590px;
  }

  .handnote {
    left: 4px;
    top: 0;
    font-size: 1.8rem;
  }

  .portrait-frame {
    top: 100px;
    right: 0;
    width: 100%;
    height: 470px;
    border-radius: 26px 26px 12px;
  }

  .portrait-frame img {
    object-position: center bottom;
    padding: 0 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
