:root {
  color-scheme: light;
  --ink: #161514;
  --muted: #6c6861;
  --paper: #f8f7f3;
  --soft: #ebe7dd;
  --line: #d8d1c4;
  --moss: #5e6953;
  --clay: #9b6f57;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 40px;
  color: var(--white);
}

.brand {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.nav-links a,
.text-link,
.site-footer a,
.item-link,
.back-link {
  border-bottom: 1px solid currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  overflow: hidden;
  align-items: end;
  padding: 132px 40px 76px;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.12) 58%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

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

h1,
h2 {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 500;
  line-height: 1.04;
}

h1 {
  margin-bottom: 22px;
  font-size: 4.7rem;
}

h2 {
  margin-bottom: 24px;
  font-size: 3rem;
}

h3 {
  margin-bottom: 8px;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.2;
}

.hero-copy {
  width: min(100%, 580px);
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.text-link {
  display: inline-block;
  font-weight: 700;
}

.section {
  padding: 92px 40px;
}

.section-heading {
  width: min(100%, 820px);
  margin: 0 auto 48px;
  text-align: center;
}

.featured-grid {
  display: grid;
  width: min(100%, 1180px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.featured-story {
  position: relative;
  display: grid;
  min-height: 420px;
  overflow: hidden;
  align-items: end;
  border-radius: 4px;
  color: var(--white);
}

.featured-story-tall {
  min-height: 560px;
}

.featured-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.featured-story::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.04));
}

.featured-story span {
  position: relative;
  z-index: 1;
  padding: 24px;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.55rem;
  line-height: 1.16;
}

.featured-story:hover img,
.portfolio-item:hover img {
  transform: scale(1.03);
}

.portfolio-grid {
  display: grid;
  width: min(100%, 1180px);
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.portfolio-item {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.portfolio-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  object-fit: cover;
  transition: transform 240ms ease;
}

.portfolio-item p,
.about-copy p,
.contact-note {
  color: var(--muted);
}

.item-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--clay);
  font-size: 0.9rem;
  font-weight: 700;
}

.about-section {
  display: grid;
  width: min(100%, 1180px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 72px;
  align-items: center;
}

.about-copy {
  max-width: 650px;
}

.about-image {
  margin: 0;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  object-fit: cover;
}

.contact-section {
  display: grid;
  justify-items: center;
  padding: 96px 40px 108px;
  background: var(--soft);
  text-align: center;
}

.contact-section h2 {
  width: min(100%, 760px);
}

.contact-link {
  color: var(--clay);
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 2rem;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

.contact-note {
  margin: 18px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-header-light {
  position: static;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.site-header-light .nav-links {
  color: var(--muted);
}

.detail-hero {
  display: grid;
  width: min(100%, 1180px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 56px;
  align-items: end;
  padding: 84px 40px 44px;
}

.detail-copy {
  max-width: 620px;
}

.detail-copy p {
  color: var(--muted);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.detail-meta li {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
}

.detail-hero-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  object-fit: cover;
}

.gallery-section {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 36px 40px 96px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  object-fit: cover;
}

.gallery-grid img:nth-child(3n + 2) {
  aspect-ratio: 1;
}

.gallery-grid img:nth-child(5n) {
  aspect-ratio: 5 / 4;
}

.detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

@media (max-width: 920px) {
  .site-header {
    padding: 18px 24px;
  }

  .hero {
    padding: 118px 24px 60px;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .section {
    padding: 72px 24px;
  }

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

  .featured-grid,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .featured-story,
  .featured-story-tall {
    min-height: 420px;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 640px) {
  .site-header {
    display: grid;
    gap: 12px;
  }

  .nav-links {
    gap: 18px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.2)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .featured-story,
  .featured-story-tall {
    min-height: 340px;
  }

  .detail-hero,
  .gallery-section {
    padding-right: 24px;
    padding-left: 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .detail-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .portfolio-item-large {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-link {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 1.45rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }
}
