:root {
  --ivory: #F7F1E8;
  --charcoal: #1F1F1F;
  --navy: #17233D;
  --terracotta: #B85C38;
  --gold: #C6A15B;
  --taupe: #E7D8C9;
  --paper: #fffaf2;
  --line: rgba(23, 35, 61, 0.16);
  --shadow: 0 18px 50px rgba(23, 35, 61, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

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

a {
  color: var(--navy);
  text-decoration-color: rgba(184, 92, 56, 0.55);
  text-underline-offset: 4px;
}

a:hover {
  color: var(--terracotta);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 4rem);
  background: rgba(247, 241, 232, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--navy);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav a {
  text-decoration: none;
  color: var(--charcoal);
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--terracotta);
}

main {
  min-height: 75vh;
}

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

.page-hero {
  padding: clamp(3.5rem, 8vw, 6rem) 0 2rem;
}

.page-hero.narrow {
  width: min(900px, calc(100% - 2rem));
}

.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 90px);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(3.3rem, 9vw, 6.8rem);
  letter-spacing: -0.05em;
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.subtitle {
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  margin-top: 0.9rem;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin: 1.35rem 0 0;
  max-width: 760px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.2rem;
  align-items: center;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  background: var(--navy);
  color: var(--ivory);
}

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

.text-link {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration-thickness: 1px;
}

.portrait-frame {
  background: var(--taupe);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.85rem;
}

.portrait-frame img {
  aspect-ratio: 4 / 5;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.35fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.divider-top {
  border-top: 1px solid var(--line);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.75rem;
}

.card,
.cv-card,
.work-card,
.media-card,
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(23, 35, 61, 0.06);
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.card h3,
.cv-card h2,
.work-card h2,
.work-card h3,
.media-card h2,
.media-card h3,
.contact-card h2 {
  margin-bottom: 0.75rem;
}

.cv-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.entry {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.entry:first-child {
  border-top: 0;
  padding-top: 0;
}

.entry-title {
  color: var(--navy);
  font-weight: 800;
  margin: 0;
}

.entry-meta {
  color: var(--terracotta);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0.1rem 0 0.35rem;
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.pill-list li {
  margin: 0;
  padding: 0.45rem 0.7rem;
  background: rgba(231, 216, 201, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
}

.work-section {
  margin-top: 2.5rem;
}

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

.featured-work,
.featured-media {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}

.featured-work h2,
.featured-work h3,
.featured-media h2,
.featured-media h3,
.featured-work .entry-meta,
.featured-media .entry-meta {
  color: var(--ivory);
}

.featured-work .entry-meta,
.featured-media .entry-meta {
  opacity: 0.82;
}

.note {
  color: rgba(31, 31, 31, 0.72);
  font-size: 0.95rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 2rem clamp(1.25rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: rgba(31, 31, 31, 0.75);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 0.75rem 1rem;
  }

  .hero,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .portrait-frame {
    max-width: 420px;
  }

  .card-grid,
  .work-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .site-nav {
    font-size: 0.78rem;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }
}

.button.secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--gold);
}

.button.secondary:hover {
  background: var(--taupe);
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.button.light {
  background: var(--ivory);
  color: var(--navy);
  border-color: var(--ivory);
  margin-top: 0.75rem;
}

.button.light:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.contact-feature,
.contact-page-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.contact-intro-card,
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(23, 35, 61, 0.06);
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.contact-email {
  color: var(--navy);
  font-weight: 800;
  margin-top: 1rem;
}

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

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fffdf8;
  color: var(--charcoal);
  font: inherit;
  padding: 0.85rem 0.9rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(184, 92, 56, 0.35);
  border-color: var(--terracotta);
}

.contact-form button {
  justify-self: start;
  cursor: pointer;
}

.hidden-field {
  display: none;
}

@media (max-width: 860px) {
  .contact-feature,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
}
