:root {
  --cream: #e4d8cb;
  --paper: #e4d8cb;
  --ink: #2b1719;
  --muted: #7a6462;
  --line: #cdbdaf;
  --maroon: #77212e;
  --blue: #b7c9dc;
  --white: var(--cream);
  --charcoal: var(--maroon);
  --radius: 8px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

img[loading="lazy"] {
  opacity: 0;
  transition: opacity 300ms ease;
}

img[loading="lazy"].is-loaded {
  opacity: 1;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 22px 38px;
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  border-bottom: 1px solid var(--line);
  background: rgba(228, 216, 203, 0.95);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav a,
.small-link,
.footer-contact a,
.socials a {
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}

.desktop-nav a:hover,
.small-link:hover,
.footer-contact a:hover,
.socials a:hover {
  border-color: currentColor;
}

.header-cta {
  justify-self: end;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: flex;
  min-height: 92vh;
  align-items: flex-end;
  overflow: hidden;
  padding: 160px 38px 76px;
  color: var(--white);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.7) 0%, rgba(17, 17, 15, 0.28) 42%, rgba(17, 17, 15, 0.08) 100%),
    linear-gradient(0deg, rgba(17, 17, 15, 0.46) 0%, rgba(17, 17, 15, 0) 48%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero h1,
.consultation h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 8vw, 126px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.88;
}

.hero p {
  max-width: 480px;
  margin: 26px 0 30px;
  font-size: clamp(17px, 2vw, 22px);
}

.text-link,
.small-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link::after,
.small-link::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.section {
  padding: 96px 38px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-label {
  margin: 0;
  color: var(--maroon);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 94px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.92;
}

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

.project-card {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
}

.project-card h2 {
  margin: 18px 0 2px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 500;
  line-height: 0.98;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.project-card img {
  transition: transform 220ms ease, filter 220ms ease;
}

.project-card:hover img {
  filter: saturate(1.04);
  transform: translateY(-2px);
}

.services-band {
  background: var(--paper);
}

.services-copy {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  padding-bottom: 52px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 38px 96px;
}

.service-list article {
  min-height: 260px;
  border-top: 1px solid var(--maroon);
  padding: 22px 28px 0 0;
}

.service-list span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.service-list h3,
.studio-copy h2 {
  margin: 34px 0 18px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.95;
}

.service-list p,
.studio-copy p,
.consultation p {
  color: var(--muted);
  font-size: 16px;
}

.studio-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 720px;
  background: var(--maroon);
  color: var(--white);
}

.studio-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.studio-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(38px, 7vw, 108px);
}

.studio-copy .section-label,
.studio-copy p {
  color: rgba(228, 216, 203, 0.78);
}

.studio-copy p {
  max-width: 520px;
}

.text-link.light {
  margin-top: 18px;
}

.blog-section {
  background: var(--white);
}

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

.journal-grid article,
.journal-card {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.journal-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  object-fit: cover;
}

.journal-grid p {
  margin: 20px 0 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journal-grid h2 {
  max-width: 660px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 500;
  line-height: 0.98;
}

.journal-card img {
  transition: transform 220ms ease, filter 220ms ease;
}

.journal-card:hover img {
  filter: saturate(1.04);
  transform: translateY(-2px);
}

.archive-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: end;
  padding: 174px 38px 68px;
  border-bottom: 1px solid var(--line);
}

.archive-hero h1 {
  margin: 34px 0 0;
  font-family: var(--serif);
  font-size: clamp(64px, 9vw, 136px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.88;
}

.archive-hero > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.archive-hero .section-label {
  margin-top: 48px;
}

.archive-section {
  padding-top: 42px;
}

.archive-grid {
  row-gap: 54px;
}

.journal-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 38px;
  align-items: end;
  min-height: 720px;
  padding: 148px 38px 38px;
  border-bottom: 1px solid var(--line);
}

.journal-hero-copy {
  max-width: 640px;
  padding-bottom: 42px;
}

.journal-hero-copy .section-label {
  margin-top: 52px;
}

.journal-hero h1 {
  margin: 18px 0 28px;
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 108px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.9;
}

.journal-hero p:not(.section-label) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.journal-hero img {
  width: 100%;
  height: 100%;
  max-height: 690px;
  border-radius: var(--radius);
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(42px, 8vw, 120px);
}

.article-sidebar {
  position: sticky;
  top: 124px;
  align-self: start;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.article-sidebar p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
}

.article-body {
  max-width: 820px;
}

.article-body p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 19px);
}

.article-body .article-lede {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

.article-body h2 {
  margin: 58px 0 18px;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

.article-image {
  margin: 56px 0;
}

.article-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  object-fit: cover;
}

.article-image figcaption {
  max-width: 620px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.article-faq {
  margin-top: 68px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.article-faq h2 {
  margin-top: 34px;
}

.consultation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: end;
  gap: 44px;
  padding: 118px 38px;
  background: var(--charcoal);
  color: var(--white);
}

.consultation h2 {
  max-width: 920px;
  font-size: clamp(50px, 6vw, 96px);
}

.consultation p {
  color: rgba(228, 216, 203, 0.7);
}

.consultation a {
  display: inline-flex;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--cream);
  padding: 16px 22px;
  color: var(--maroon);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 1fr;
  gap: 28px;
  padding: 42px 38px;
  border-top: 1px solid rgba(228, 216, 203, 0.22);
  background: var(--charcoal);
  color: var(--white);
}

.site-footer address,
.footer-contact,
.socials {
  display: grid;
  gap: 8px;
  margin: 0;
  color: rgba(228, 216, 203, 0.72);
  font-size: 14px;
  font-style: normal;
}

.project-page {
  background: var(--cream);
}

.project-header {
  position: fixed;
  border-bottom: 1px solid var(--line);
  background: rgba(228, 216, 203, 0.95);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.55fr);
  min-height: 640px;
  height: clamp(640px, calc(100vh - 88px), 900px);
  border-bottom: 1px solid var(--line);
  padding-top: 88px;
}

.project-hero img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.project-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 48px 38px 70px;
}

.project-hero-copy h1 {
  margin: 42px 0 18px;
  font-family: var(--serif);
  font-size: clamp(60px, 7vw, 104px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.9;
}

.project-hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.project-hero-note {
  max-width: 360px;
  margin-top: 24px !important;
  font-size: 15px !important;
}

.project-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: clamp(42px, 8vw, 120px);
  border-bottom: 1px solid var(--line);
}

.project-intro h2,
.project-closing h2 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.92;
}

.project-intro-copy p,
.project-closing p,
.project-feature p,
.gallery-item figcaption {
  color: var(--muted);
  font-size: 16px;
}

.project-intro-copy p {
  margin: 0 0 18px;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 38px;
  align-items: end;
  padding: 38px;
  border-bottom: 1px solid var(--line);
}

.project-feature img {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius);
  object-fit: cover;
}

.project-feature p {
  margin: 0;
}

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

.gallery-item {
  grid-column: span 4;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.gallery-item.wide {
  grid-column: span 6;
}

.gallery-item.tall {
  grid-column: span 3;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
}

.gallery-item.tall img {
  aspect-ratio: 4 / 5;
}

.gallery-item.wide img {
  aspect-ratio: 16 / 9;
}

.gallery-item figcaption {
  max-width: 520px;
  margin-top: 12px;
}

.project-closing {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: center;
  padding: 96px 38px;
  background: var(--paper);
}

.project-closing p {
  max-width: 620px;
}

.project-closing img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  object-fit: cover;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 18px 20px;
  }

  .menu-toggle {
    position: fixed;
    top: 18px;
    right: max(20px, calc(100vw - 370px));
    z-index: 40;
    background: rgba(17, 17, 15, 0.38);
    border-color: rgba(228, 216, 203, 0.72);
  }

  .site-header.is-scrolled .menu-toggle,
  .site-header.menu-open .menu-toggle {
    background: transparent;
    border-color: currentColor;
  }

  .desktop-nav,
  .header-cta {
    position: fixed;
    left: 20px;
    right: 20px;
    display: none;
    background: var(--white);
    color: var(--ink);
  }

  .desktop-nav {
    top: 78px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
  }

  .desktop-nav a {
    width: 100%;
    padding: 13px 0;
  }

  .header-cta {
    top: 276px;
    justify-content: center;
    text-align: center;
  }

  .site-header.menu-open .desktop-nav {
    display: flex;
  }

  .site-header.menu-open .header-cta {
    display: block;
  }

  .menu-toggle {
    display: grid;
    place-content: center;
  }

  .hero {
    min-height: 88vh;
    padding: 128px 20px 46px;
  }

  .hero h1,
  .consultation h2 {
    font-size: clamp(48px, 14vw, 58px);
  }

  .hero h1 {
    max-width: 340px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero p {
    max-width: 335px;
    font-size: 16px;
  }

  .section,
  .consultation {
    padding: 72px 20px;
  }

  .project-grid,
  .services-copy,
  .service-list,
  .studio-panel,
  .consultation,
  .site-footer,
  .journal-grid,
  .archive-hero,
  .journal-hero,
  .article-layout,
  .project-hero,
  .project-intro,
  .project-feature,
  .project-closing {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .archive-hero {
    padding: 118px 20px 48px;
  }

  .archive-hero h1 {
    font-size: clamp(54px, 15vw, 72px);
    line-height: 0.94;
  }

  .project-card img {
    aspect-ratio: 5 / 4;
  }

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

  .project-hero img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .project-hero-copy {
    padding: 34px 20px 54px;
  }

  .project-hero-copy h1 {
    font-size: clamp(52px, 15vw, 68px);
    line-height: 0.94;
  }

  .project-feature,
  .project-closing {
    padding: 72px 20px;
  }

  .journal-hero {
    min-height: auto;
    padding: 118px 20px 20px;
  }

  .journal-hero-copy {
    padding-bottom: 0;
  }

  .journal-hero-copy .section-label {
    margin-top: 40px;
  }

  .journal-hero h1 {
    font-size: clamp(48px, 13vw, 64px);
  }

  .journal-hero img,
  .article-image img {
    aspect-ratio: 5 / 4;
  }

  .article-sidebar {
    position: static;
  }

  .project-feature img,
  .project-closing img {
    aspect-ratio: 5 / 4;
  }

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

  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
  }

  .service-list {
    padding: 0 20px 72px;
  }

  .studio-panel {
    min-height: auto;
  }

  .studio-panel img {
    aspect-ratio: 3 / 4;
  }

  .studio-copy {
    padding: 58px 20px 66px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e0d2c5;
    --muted: #a89890;
    --line: #3d2024;
    --paper: #231015;
  }

  body,
  .project-page,
  .blog-section {
    background: #18090c;
  }

  .site-header.is-scrolled,
  .site-header.menu-open {
    background: rgba(24, 9, 12, 0.95);
  }

  .project-header {
    background: rgba(24, 9, 12, 0.95);
  }

  .desktop-nav,
  .header-cta {
    background: #18090c;
  }
}
