:root {
  --bg: #f3efe4;
  --panel: rgba(255, 252, 245, 0.82);
  --ink: #1f2430;
  --muted: #5c6472;
  --line: rgba(31, 36, 48, 0.12);
  --blue: #154a7d;
  --gold: #a46f1f;
  --rust: #8f4a2f;
  --shadow: 0 18px 50px rgba(31, 36, 48, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(21, 74, 125, 0.11), transparent 34%),
    radial-gradient(circle at bottom right, rgba(164, 111, 31, 0.13), transparent 28%),
    linear-gradient(180deg, #f7f3ea 0%, var(--bg) 100%);
}

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

.page-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.hero,
.section,
.fit-panel,
.info-card,
.project-card {
  backdrop-filter: blur(6px);
}

.hero {
  padding: 3rem;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 252, 245, 0.92), rgba(250, 245, 234, 0.72));
  box-shadow: var(--shadow);
}

.eyebrow,
.section-label {
  margin: 0 0 0.8rem;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

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

h1 {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.lede {
  max-width: 62ch;
  margin-bottom: 1.5rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
}

.hero-actions,
.contact-actions,
.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.contact-link:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ink);
  color: #f7f3ea;
  box-shadow: 0 10px 24px rgba(31, 36, 48, 0.18);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.55);
}

.button-small {
  padding: 0.72rem 0.95rem;
  font-size: 0.92rem;
}

.project-actions {
  margin-top: 1rem;
}

.meta-list,
.project-card ul,
.fit-panel ul {
  padding-left: 1.1rem;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin: 1.4rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.section {
  margin-top: 1.35rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.section-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.4rem;
}

.section-copy h2,
.contact-block h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.section-copy p,
.contact-block p,
.info-card p,
.project-card p,
.fit-panel li {
  color: var(--muted);
  line-height: 1.6;
}

.card-stack {
  display: grid;
  gap: 1rem;
}

.info-card,
.fit-panel,
.project-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-card h3,
.fit-panel h3,
.info-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
}

.accent-blue {
  background: linear-gradient(180deg, rgba(21, 74, 125, 0.08), rgba(255, 255, 255, 0.72));
}

.accent-gold {
  background: linear-gradient(180deg, rgba(164, 111, 31, 0.1), rgba(255, 255, 255, 0.72));
}

.accent-ink {
  background: linear-gradient(180deg, rgba(31, 36, 48, 0.08), rgba(255, 255, 255, 0.72));
}

.accent-rust {
  background: linear-gradient(180deg, rgba(143, 74, 47, 0.1), rgba(255, 255, 255, 0.72));
}

.contact-block {
  text-align: center;
}

.contact-actions {
  justify-content: center;
  margin-top: 1rem;
}

.contact-link {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid transparent;
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 1rem, 1120px);
    padding-top: 1rem;
  }

  .hero,
  .section {
    padding: 1.4rem;
    border-radius: 24px;
  }

  .section-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .meta-list {
    display: block;
  }

  .meta-list li + li {
    margin-top: 0.4rem;
  }
}
