:root {
  --ink: #16211d;
  --muted: #5e6b62;
  --pine: #123b31;
  --pine-2: #0a2b25;
  --moss: #6f8058;
  --cream: #fff7e7;
  --paper: #f4e5c8;
  --chalk: #e9f0df;
  --accent: #e56f43;
  --accent-2: #f4b64a;
  --white: #fffaf1;
  --line: rgba(22, 33, 29, 0.14);
  --shadow: 0 24px 70px rgba(18, 59, 49, 0.18);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(244, 182, 74, 0.32), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(111, 128, 88, 0.22), transparent 25rem),
    linear-gradient(135deg, #fff9ed 0%, #f7ecd7 52%, #e9f0df 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(18, 59, 49, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 59, 49, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 82%);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 16px 45px rgba(18, 59, 49, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--cream);
  background: var(--pine);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.08em;
}

.brand__text {
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  background: rgba(18, 59, 49, 0.08);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: 58px 0 44px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 6.5vw, 6.35rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 3.7vw, 3.85rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  letter-spacing: -0.025em;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero__lead {
  max-width: 680px;
  color: #3e4d44;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--cream);
  background: var(--pine);
  box-shadow: 0 16px 34px rgba(18, 59, 49, 0.22);
}

.button--ghost {
  color: var(--pine);
  border-color: rgba(18, 59, 49, 0.2);
  background: rgba(255, 250, 241, 0.68);
}

.button--ghost-light {
  color: var(--cream);
  border-color: rgba(255, 250, 241, 0.32);
  background: rgba(255, 250, 241, 0.09);
}

.button--link {
  color: var(--pine);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.button--dark {
  color: var(--cream);
  background: var(--pine-2);
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero__chips span {
  padding: 9px 13px;
  border: 1px solid rgba(18, 59, 49, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.58);
  color: #455348;
  font-size: 0.95rem;
  font-weight: 800;
}

.hero__visual {
  position: relative;
  justify-self: end;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  width: min(420px, 100%);
  border: 10px solid rgba(255, 250, 241, 0.86);
  border-radius: 42px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(18, 59, 49, 0.22));
  pointer-events: none;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.floating-note {
  position: absolute;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  max-width: 230px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 22px;
  color: var(--cream);
  background: rgba(18, 59, 49, 0.92);
  box-shadow: 0 18px 38px rgba(18, 59, 49, 0.18);
}

.floating-note--top {
  top: 26px;
  left: -52px;
}

.floating-note--bottom {
  right: -18px;
  bottom: 28px;
  background: rgba(229, 111, 67, 0.95);
}

.floating-note__number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 59, 49, 0.14);
  box-shadow: 0 20px 50px rgba(18, 59, 49, 0.08);
}

.proof-strip div {
  padding: 24px;
  background: rgba(255, 250, 241, 0.72);
}

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

.proof-strip strong {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

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

.subjects,
.approach,
.profile,
.format,
.contact {
  padding: 58px 0;
}

.section__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.58fr);
  gap: 18px 54px;
  align-items: start;
  margin-bottom: 28px;
}

.section__intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -2px;
}

.section__intro h2 {
  grid-column: 1;
  margin-bottom: 0;
}

.section__intro p:not(.eyebrow) {
  grid-column: 2;
  margin: 10px 0 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.step,
.timeline article,
.format__item,
.contact__aside {
  border: 1px solid rgba(18, 59, 49, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.74);
  box-shadow: 0 18px 42px rgba(18, 59, 49, 0.08);
}

.service-card {
  min-height: 270px;
  padding: 24px;
  transition: transform 180ms ease, background-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 250, 241, 0.95);
}

.service-card__icon {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.service-card p {
  margin-bottom: 0;
}

.approach {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 24px;
}

.approach__panel {
  min-height: 100%;
  padding: 34px;
  border-radius: calc(var(--radius) + 10px);
  color: var(--cream);
  background:
    radial-gradient(circle at 24% 20%, rgba(244, 182, 74, 0.32), transparent 15rem),
    linear-gradient(145deg, var(--pine), var(--pine-2));
  box-shadow: var(--shadow);
}

.approach__panel .eyebrow,
.approach__panel p {
  color: rgba(255, 247, 231, 0.78);
}

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

.step {
  padding: 24px;
}

.step span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--pine);
  background: var(--accent-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.profile__content {
  position: sticky;
  top: 112px;
  padding: 34px;
  border-radius: calc(var(--radius) + 8px);
  background: rgba(244, 229, 200, 0.74);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  position: relative;
  padding: 24px 24px 24px 74px;
}

.timeline article::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 28px;
  width: 18px;
  height: 18px;
  border: 6px solid rgba(229, 111, 67, 0.24);
  border-radius: 50%;
  background: var(--accent);
}

.timeline span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 900;
}

.timeline p {
  margin-bottom: 0;
}

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

.format__item {
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.86), rgba(233, 240, 223, 0.8)),
    rgba(255, 250, 241, 0.72);
}

.format__item p {
  margin-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.4fr);
  gap: 18px;
  padding-bottom: 42px;
}

.contact__card {
  padding: clamp(30px, 5vw, 58px);
  border-radius: 42px;
  color: var(--cream);
  background:
    radial-gradient(circle at 86% 18%, rgba(244, 182, 74, 0.34), transparent 18rem),
    linear-gradient(135deg, var(--pine-2), var(--pine));
  box-shadow: var(--shadow);
}

.contact__card .eyebrow,
.contact__card p {
  color: rgba(255, 247, 231, 0.78);
}

.contact__aside {
  align-self: stretch;
  padding: 28px;
  background: rgba(255, 250, 241, 0.8);
}

.contact__aside a {
  color: var(--pine);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 36px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--pine);
  font-weight: 900;
}

.reveal {
  animation: rise-in 640ms ease both;
}

.reveal--late {
  animation-delay: 140ms;
}

.card-grid .reveal:nth-child(2),
.steps .reveal:nth-child(2),
.timeline article:nth-child(2),
.format .reveal:nth-child(2) {
  animation-delay: 90ms;
}

.card-grid .reveal:nth-child(3),
.steps .reveal:nth-child(3),
.timeline article:nth-child(3) {
  animation-delay: 180ms;
}

.card-grid .reveal:nth-child(4),
.steps .reveal:nth-child(4) {
  animation-delay: 270ms;
}

@keyframes rise-in {
  from {
    opacity: 0.72;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    border-radius: 28px;
  }

  .nav {
    justify-content: flex-end;
  }

  .hero,
  .approach,
  .profile,
  .contact,
  .section__intro {
    grid-template-columns: 1fr;
  }

  .section__intro .eyebrow,
  .section__intro h2,
  .section__intro p:not(.eyebrow) {
    grid-column: 1;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero__visual {
    justify-self: center;
  }

  .proof-strip,
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile__content {
    position: static;
  }
}

@media (max-width: 700px) {
  .site-header,
  .section,
  .proof-strip,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    position: static;
    flex-direction: column;
    margin-top: 12px;
  }

  .nav {
    justify-content: flex-start;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .brand__text {
    font-size: 0.95rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .hero {
    gap: 34px;
    padding-top: 42px;
  }

  .hero__actions,
  .contact__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .floating-note {
    position: static;
    margin-top: 12px;
    max-width: none;
  }

  .portrait-card {
    transform: none;
  }

  .proof-strip,
  .card-grid,
  .steps,
  .format {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin-bottom: 48px;
  }

  .subjects,
  .approach,
  .profile,
  .format,
  .contact {
    padding: 46px 0;
  }

  .service-card {
    min-height: auto;
  }

  .service-card__icon {
    margin-bottom: 24px;
  }

  .timeline article {
    padding-left: 24px;
  }

  .timeline article::before {
    display: none;
  }

  .site-footer {
    flex-direction: column;
  }
}

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