:root {
  --ink: #211812;
  --muted: #5e5148;
  --soft: #f6efe4;
  --paper: #fbf7ef;
  --sand: #ead8bd;
  --line: #dcc7aa;
  --accent: #986b42;
  --accent-dark: #5b402c;
  --white: #fffdf8;
  --shadow: 0 22px 60px rgba(83, 57, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(230, 210, 178, 0.42), transparent 28rem),
    linear-gradient(135deg, #f8f1e6 0%, #fffaf1 48%, #f3e4cf 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(126, 90, 48, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 90, 48, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
}

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.page-shell {
  width: min(1200px, calc(100% - 28px));
  margin: 18px auto;
  padding: 36px 42px 24px;
  overflow: hidden;
  border: 1px solid rgba(166, 128, 82, 0.2);
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.site-header {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0;
}

.brand span {
  font-family: Inter, sans-serif;
  font-size: 0.72em;
  font-weight: 600;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  font-size: 0.92rem;
  font-weight: 600;
}

nav a,
.email {
  color: #332820;
}

nav a:hover,
.email:hover {
  color: var(--accent);
}

.nav-cta,
.button {
  justify-self: end;
  padding: 12px 22px;
  border: 1px solid rgba(152, 107, 66, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, #f4dec3, #ead1ad);
  color: #2e2119;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(137, 89, 43, 0.16);
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 430px) 1fr;
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
  margin-bottom: 28px;
}

.portrait-panel {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, #f6ead9, transparent 21rem),
    linear-gradient(135deg, #efe0ca, #f8efe2);
}

.portrait-panel img {
  position: absolute;
  right: -24%;
  bottom: -4%;
  width: 116%;
  height: 106%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.98) contrast(1.03);
}

.sand-shape,
.contact-band::before {
  position: absolute;
  content: "";
  border-radius: 999px 999px 0 0;
  background: rgba(218, 190, 149, 0.46);
}

.sand-shape {
  left: -58px;
  bottom: -28px;
  width: 210px;
  height: 120px;
}

.leaf,
.contact-plant {
  position: absolute;
  opacity: 0.58;
}

.leaf-left {
  left: 22px;
  bottom: 100px;
  width: 84px;
  height: 190px;
  border-left: 2px solid rgba(132, 101, 69, 0.36);
  transform: rotate(20deg);
}

.leaf-left::before,
.leaf-left::after,
.contact-plant::before,
.contact-plant::after {
  position: absolute;
  content: "";
  width: 54px;
  height: 24px;
  border-radius: 54px 0;
  background: rgba(158, 131, 94, 0.28);
}

.leaf-left::before {
  left: -54px;
  top: 50px;
  transform: rotate(-28deg);
  box-shadow: 12px 54px 0 rgba(158, 131, 94, 0.25);
}

.leaf-left::after {
  left: 2px;
  top: 18px;
  transform: rotate(36deg);
  box-shadow: 0 62px 0 rgba(158, 131, 94, 0.22);
}

.hero-copy {
  padding-top: 16px;
}

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

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

h1,
.contact-band h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.04;
}

h1 {
  max-width: 660px;
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 4.7vw, 4.45rem);
}

.hero-copy h2 {
  margin-bottom: 18px;
  color: #8c684b;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
}

.lede {
  max-width: 610px;
  margin-bottom: 30px;
  color: #3e332b;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.hero-icons,
.training-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.hero-icons div {
  display: grid;
  justify-items: center;
  gap: 3px;
  text-align: center;
}

.hero-icons strong,
.hero-icons small {
  display: block;
}

.hero-icons strong {
  font-size: 0.9rem;
}

.hero-icons small,
.training-row p,
.info-card p,
.timeline p,
.metric p {
  color: var(--muted);
}

.icon,
.badge-icon,
.round-icon,
.small-icon {
  display: inline-grid;
  place-items: center;
  color: var(--accent);
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: 0 0 auto;
}

.icon {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

.section {
  margin-top: 34px;
}

.section-title {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
}

.section-title h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 2.8vw, 2.55rem);
}

.section-title span {
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

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

.info-card {
  min-height: 245px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 252, 245, 0.72);
}

.info-card h3,
.timeline h3,
.training-row h3 {
  margin-bottom: 8px;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.16;
}

.info-card h3 {
  font-size: 1.35rem;
}

.badge-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 30px 0 26px;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.75);
}

.metric {
  display: grid;
  grid-template-columns: 62px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.round-icon {
  grid-row: span 2;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(152, 107, 66, 0.08);
}

.round-icon svg {
  width: 30px;
  height: 30px;
}

.metric strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.85rem);
  line-height: 1;
}

.metric p {
  margin: 0;
  font-size: 0.95rem;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.timeline::before {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  height: 2px;
  content: "";
  background: var(--line);
}

.timeline article {
  position: relative;
  padding-top: 36px;
}

.timeline article > span {
  position: absolute;
  top: 1px;
  left: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px var(--paper);
}

.timeline h3 {
  margin-bottom: 3px;
  font-size: 1.28rem;
}

.timeline h4 {
  min-height: 42px;
  margin: 0 0 10px;
  color: #5b4b3f;
  font-size: 0.92rem;
  font-weight: 700;
}

.timeline time {
  color: var(--accent);
  font-weight: 700;
}

.compact {
  margin-top: 38px;
}

.training-row article {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 14px;
  padding-right: 16px;
  border-right: 1px solid var(--line);
}

.training-row article:last-child {
  border-right: 0;
}

.training-row h3 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.training-row p {
  grid-column: 2;
  margin-bottom: 0;
  font-size: 0.78rem;
}

.small-icon {
  grid-row: span 2;
  width: 34px;
  height: 34px;
}

.contact-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  min-height: 170px;
  margin-top: 42px;
  padding: 38px 54px;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 46% 100%, rgba(216, 188, 149, 0.5), transparent 15rem),
    linear-gradient(135deg, rgba(232, 207, 170, 0.78), rgba(251, 245, 234, 0.86));
}

.contact-band::before {
  left: 26%;
  top: -90px;
  width: 330px;
  height: 175px;
  transform: rotate(-10deg);
}

.contact-band h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-size: clamp(2.35rem, 5vw, 4.15rem);
}

.contact-band p {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin-bottom: 0;
  font-size: 1.18rem;
}

.contact-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  justify-items: start;
}

.button {
  min-width: 180px;
  background: linear-gradient(135deg, #6d4a33, #3f2d23);
  color: #fff8ee;
  text-align: center;
}

.contact-plant {
  right: 26px;
  bottom: 12px;
  width: 112px;
  height: 190px;
  border-left: 2px solid rgba(132, 101, 69, 0.28);
  transform: rotate(16deg);
}

.contact-plant::before {
  left: -58px;
  top: 34px;
  transform: rotate(-25deg);
  box-shadow: 14px 52px 0 rgba(158, 131, 94, 0.23);
}

.contact-plant::after {
  left: 2px;
  top: 5px;
  transform: rotate(35deg);
  box-shadow: 0 58px 0 rgba(158, 131, 94, 0.22), 0 112px 0 rgba(158, 131, 94, 0.18);
}

footer {
  padding-top: 24px;
  color: #8b8176;
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 1000px) {
  .page-shell {
    padding: 26px 24px 20px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .hero,
  .cards-grid,
  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .portrait-panel {
    min-height: 460px;
  }

  .hero-icons {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .timeline::before {
    display: none;
  }

  .training-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }

  .metric:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 14px, 680px);
    margin: 7px auto;
    padding: 22px 16px;
    border-radius: 14px;
  }

  .site-header,
  .hero,
  .cards-grid,
  .metrics,
  .timeline,
  .training-row,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .nav-cta {
    display: none;
  }

  nav {
    gap: 18px;
    font-size: 0.85rem;
  }

  .portrait-panel {
    min-height: 390px;
    border-radius: 26px;
  }

  .portrait-panel img {
    right: -18%;
    width: 112%;
  }

  .hero-icons {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .metric,
  .metric:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .training-row article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
  }

  .training-row article:last-child {
    border-bottom: 0;
  }

  .contact-band {
    padding: 30px 24px;
  }
}
