:root {
  --bg: #f5f4f1;
  --ink: #1f1f1d;
  --muted: #5f5b54;
  --line: #d7d3cb;
  --soft: #e7e3dc;
  --white: #ffffff;

  --navy: #17283a;
  --orange: #f26a21;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.page {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  padding: 32px 0 28px;
}

/* Header */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
}

.brand,
.contact-link {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.brand {
  color: var(--navy);
}

.contact-link {
  color: var(--navy);
  border-bottom: 1px solid var(--orange);
}

.contact-link:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* Hero */

.hero-image {
  margin: 0 0 56px;
  padding-bottom: 0;
  border-bottom: 4px solid var(--orange);
}

.hero-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Intro */

.intro-section {
  max-width: 760px;
  margin-bottom: 84px;
  padding-bottom: 76px;
  border-bottom: 2px solid var(--navy);
}

.location {
  margin: 0 0 24px;
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(46px, 7vw, 88px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.dek {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* Project note */

.project-note {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  gap: clamp(44px, 8vw, 120px);
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.project-meta dl {
  margin: 0;
}

.project-meta div {
  padding: 0 0 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.project-meta div:last-child {
  margin-bottom: 0;
}

.project-meta dt {
  margin-bottom: 7px;
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
}

.project-copy {
  max-width: 760px;
}

.project-copy p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.project-copy p + p {
  margin-top: 34px;
  color: var(--ink);
}

/* Detail list */

.detail-list-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list-section h2 {
  margin: 0 0 34px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--line);
}

.detail-list li {
  min-height: 150px;
  padding: 22px 18px 24px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.detail-list li:last-child {
  border-right: 0;
}

.detail-list span {
  display: block;
  margin-bottom: 20px;
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Gallery */

.gallery-section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

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

.gallery-heading p {
  margin: 0;
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.gallery {
  display: grid;
  gap: 18px;
}

.gallery figure {
  margin: 0;
  background: var(--soft);
  overflow: hidden;
}

.gallery img {
  height: 100%;
  object-fit: cover;
}

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

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

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

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

.gallery-triptych img {
  aspect-ratio: 1 / 1;
}

/* Contact */

.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.contact-section a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-section a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-1px);
}

/* Footer */

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

/* Responsive */

@media (max-width: 900px) {
  .project-note {
    grid-template-columns: 1fr;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .detail-list li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-list li:last-child {
    border-bottom: 0;
  }

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

  .gallery-pair img,
  .gallery-triptych img,
  .gallery-large img {
    aspect-ratio: 4 / 3;
  }

  .contact-section {
    display: block;
  }

  .contact-section a {
    margin-top: 20px;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 28px, 1240px);
    padding-top: 24px;
  }

  .site-header {
    display: block;
  }

  .contact-link {
    display: inline-block;
    margin-top: 12px;
  }

  .hero-image {
    margin-bottom: 42px;
  }

  .intro-section {
    margin-bottom: 62px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 64px);
    letter-spacing: -0.015em;
  }

  .dek {
    font-size: 19px;
  }

  .project-note,
  .detail-list-section,
  .gallery-section {
    padding: 58px 0;
  }

  .project-copy p {
    font-size: 24px;
    line-height: 1.22;
    letter-spacing: -0.015em;
  }

  .gallery-heading {
    display: block;
  }

  .gallery-heading h2 {
    margin-top: 14px;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}