:root {
  --ink: #271d1a;
  --ink-soft: rgba(39, 29, 26, 0.72);
  --paper: #f8f4ee;
  --paper-strong: #eee5d7;
  --cream: #fdfbf8;
  --forest: #36544a;
  --forest-deep: #294038;
  --accent: #b9754f;
  --line: rgba(39, 29, 26, 0.1);
  --light-line: rgba(253, 251, 248, 0.18);
  --shadow: 0 18px 45px rgba(62, 42, 28, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(238, 229, 215, 0.42), transparent 20%),
    linear-gradient(180deg, #fcfaf6 0%, #f5efe6 100%);
}

a {
  color: inherit;
}

.site-header,
.section,
.site-footer,
.page-hero {
  padding-left: clamp(1rem, 4vw, 3rem);
  padding-right: clamp(1rem, 4vw, 3rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: rgba(252, 250, 246, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(39, 29, 26, 0.06);
}

.brand-mark {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.site-nav a,
.text-link {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a {
  padding: 0.42rem 0.72rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--ink);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(39, 29, 26, 0.05);
}

.hero-simple,
.about-grid,
.project-row,
.three-up,
.page-hero {
  display: grid;
}

.hero-simple {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1rem;
  padding: 1.6rem clamp(1rem, 4vw, 3rem) 0;
}

.hero-simple__copy,
.profile-card,
.note-panel,
.project-row,
.three-up article {
  background: rgba(253, 251, 248, 0.8);
  border: 1px solid rgba(39, 29, 26, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-simple__copy {
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.profile-card {
  overflow: hidden;
}

.profile-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--paper-strong);
}

.profile-card__body {
  padding: 1.2rem;
}

.hero-simple__actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.eyebrow,
.project-meta,
.contact-note,
.site-footer p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.eyebrow {
  color: rgba(253, 251, 248, 0.78);
  font-weight: 800;
}

.eyebrow--dark,
.project-meta,
.contact-note,
.site-footer p {
  color: var(--ink-soft);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--forest-deep);
}

h2 {
  max-width: 16ch;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.lead,
.project-row p,
.three-up p,
.profile-card__body p,
.note-panel p,
.simple-list {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.simple-list {
  margin-top: 1rem;
  padding-left: 1.1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(42, 31, 23, 0.08);
}

.button--dark {
  color: var(--cream);
  background: var(--forest-deep);
}

.button--ghost {
  color: var(--ink);
  background: transparent;
  border-color: rgba(39, 29, 26, 0.12);
}

.section {
  padding-top: clamp(3.3rem, 7vw, 5rem);
  padding-bottom: clamp(3.3rem, 7vw, 5rem);
}

.section-heading {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.section--plain {
  background: transparent;
}

.section--soft {
  background: rgba(253, 251, 248, 0.45);
  border-top: 1px solid rgba(39, 29, 26, 0.05);
  border-bottom: 1px solid rgba(39, 29, 26, 0.05);
}

.project-list-simple {
  display: grid;
  gap: 1rem;
}

.project-row {
  grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: start;
  padding: 1.2rem;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.project-links a {
  color: var(--forest-deep);
  font-weight: 600;
  text-decoration: none;
}

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

.three-up article {
  padding: 1.2rem;
}

.section--dark {
  color: var(--cream);
  background: linear-gradient(180deg, #375449 0%, #2a4139 100%);
}

.section--dark .three-up article {
  background: rgba(253, 251, 248, 0.06);
  border-color: rgba(253, 251, 248, 0.1);
}

.section--dark .three-up p,
.text-link--light {
  color: rgba(253, 251, 248, 0.82);
}

.about-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1rem 2rem;
}

.note-panel {
  padding: 1.2rem;
}

.note-panel p + p {
  margin-top: 0.8rem;
}

.page-hero {
  gap: 0.9rem;
  padding-top: 2rem;
  padding-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  padding-bottom: 1.8rem;
  border-top: 1px solid rgba(39, 29, 26, 0.08);
}

@media (max-width: 960px) {
  .site-header,
  .hero-simple,
  .about-grid,
  .project-row,
  .three-up {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section,
  .site-footer,
  .page-hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-simple {
    padding: 1rem 1rem 0;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .lead,
  .project-row p,
  .three-up p,
  .profile-card__body p,
  .note-panel p,
  .simple-list {
    font-size: 0.96rem;
    line-height: 1.6;
  }

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