:root {
  --ink: #182322;
  --muted: #5e6a67;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #dfe5df;
  --teal: #0f766e;
  --coral: #c75146;
  --gold: #b58b2a;
  --shadow: 0 18px 45px rgba(24, 35, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 56px);
  background: rgba(251, 250, 246, 0.82);
  border-bottom: 1px solid rgba(223, 229, 223, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 28px);
  font-size: 0.94rem;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

nav a:hover,
.project-copy a:hover,
.contact-links a:hover {
  color: var(--teal);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(20px, 6vw, 76px) 72px;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 250, 246, 0.95) 0%, rgba(251, 250, 246, 0.76) 38%, rgba(251, 250, 246, 0.12) 72%);
}

.hero-content {
  position: relative;
  max-width: 680px;
}

.eyebrow,
.label,
.project-type {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(4rem, 13vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.intro {
  max-width: 560px;
  margin: 28px 0 0;
  color: #34413f;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.intro-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.project-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #dfe5df;
}

.project-copy {
  padding: 22px;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.project-copy p:not(.project-type),
.about-copy p {
  color: var(--muted);
  line-height: 1.68;
}

.project-copy a {
  display: inline-flex;
  margin-top: 8px;
  font-weight: 800;
  text-decoration: none;
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-copy p:first-child {
  margin-top: 0;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.email-text {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-links a {
  min-width: 112px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

footer {
  padding: 28px 20px 44px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(251, 250, 246, 0.96) 0%, rgba(251, 250, 246, 0.78) 54%, rgba(251, 250, 246, 0.28) 100%);
  }

  .intro-band,
  .project-grid,
  .about {
    grid-template-columns: 1fr;
  }

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

  .contact-links {
    justify-content: flex-start;
  }
}

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

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 160px;
  }

  h1 {
    font-size: 4.1rem;
  }

  .button,
  .contact-links a {
    width: 100%;
  }
}
