:root {
  --bg: #f6f3ee;
  --bg-soft: #ebe5dc;
  --text: #102033;
  --muted: #5d6a78;
  --line: rgba(16, 32, 51, 0.14);
  --card: #ffffff;
  --accent: #7c4d2e;
  --accent-dark: #56331e;
  --shadow: 0 24px 70px rgba(16, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #fff7eb 0, var(--bg) 35%, #eef2f5 100%);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(246, 243, 238, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

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

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 56px;
  align-items: center;
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.085em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

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

.subtitle {
  max-width: 760px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--muted);
}

.hero-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button,
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 77, 46, 0.5);
  background: #fff;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.hero-card,
.content-card,
.card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 32px;
}

.avatar {
  width: 112px;
  height: 112px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background: linear-gradient(145deg, var(--text), #2f4a65);
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

dl {
  margin: 0;
}

.hero-card dl > div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}

.content-card {
  padding: 34px;
  font-size: 1.05rem;
}

.content-card p:last-child,
.card p:last-child,
.contact-card p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 28px;
  box-shadow: none;
}

.card p,
.timeline-item p,
.contact-card p,
.content-card p,
.clean-list {
  color: var(--muted);
}

.muted {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - 1120px) / 2));
  padding-right: max(20px, calc((100% - 1120px) / 2));
  background: rgba(235, 229, 220, 0.5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.timeline-item {
  padding: 24px 0 24px 28px;
  border-left: 3px solid rgba(124, 77, 46, 0.28);
}

.timeline-item h3 {
  margin-bottom: 6px;
}

.clean-list {
  margin: 0 0 24px;
  padding-left: 20px;
}

.clean-list li {
  margin-bottom: 8px;
}

.contact-section {
  padding-bottom: 56px;
}

.contact-card {
  padding: clamp(32px, 7vw, 72px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 242, 245, 0.9));
}

.email-link {
  display: inline-block;
  margin-top: 16px;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split,
  .grid.three {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 520px) {
  .nav,
  .section,
  .footer {
    width: min(100% - 28px, 1120px);
  }

  .hero-card,
  .content-card,
  .card,
  .contact-card {
    border-radius: 24px;
  }

  .hero-card,
  .content-card,
  .card {
    padding: 24px;
  }
}
