:root {
  --ink: #20252f;
  --paper: #f8f6f0;
  --muted: #68685f;
  --line: #d8d5ca;
  --coral: #ef8e72;
  --blue: #9bc3c7;
  --yellow: #e9d75f;
  --forest: #355c4c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

.site-header, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.5rem, 5vw, 5rem);
}

.site-header { border-bottom: 1px solid var(--line); }

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  letter-spacing: -0.1em;
}

.wordmark span { color: var(--yellow); }

nav { display: flex; gap: clamp(1rem, 3vw, 2.75rem); font-size: 0.8rem; font-weight: 700; }
nav a, .header-link { transition: opacity 160ms ease; }
nav a:hover, .header-link:hover { opacity: 0.55; }
.header-link { font-size: 0.8rem; font-weight: 700; }
.header-link span, .email-link span { color: var(--coral); font-size: 1.2em; }

.hero {
  min-height: 76vh;
  padding: clamp(5rem, 12vw, 10rem) clamp(1.5rem, 12vw, 12rem) 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eyebrow, .section-number {
  margin: 0;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -0.06em; line-height: 0.98; }
h1 {
  max-width: 11ch;
  margin: clamp(2.75rem, 7vw, 6rem) 0;
  font-size: clamp(3.8rem, 9vw, 8.75rem);
  font-weight: 700;
}
em { font-family: "Playfair Display", serif; font-weight: 600; }

.hero-bottom { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.hero-bottom p { max-width: 31rem; margin: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.7; }
.round-link {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 1.4rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.round-link:hover { background: var(--ink); color: var(--paper); transform: translateY(4px); }

.statement, .views, .contact {
  padding: clamp(4.5rem, 10vw, 9rem) clamp(1.5rem, 8vw, 8rem);
  border-top: 1px solid var(--line);
}
.statement { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(0, 2.4fr); gap: 2rem; }
h2 { margin-bottom: 2rem; font-size: clamp(2.5rem, 5.6vw, 5.3rem); }
.large-copy { max-width: 39rem; margin: 0; font-size: clamp(1.1rem, 1.9vw, 1.45rem); line-height: 1.65; }

.section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: baseline; }
.section-heading h2 { max-width: 11ch; }
.view-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.view-card {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 29rem;
  overflow: hidden;
  aspect-ratio: 0.76;
  background: var(--forest);
  color: var(--paper);
}
.view-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(16, 20, 17, 0.1) 11%, rgba(16, 20, 17, 0.2) 42%, rgba(16, 20, 17, 0.92) 100%);
}
.view-card img {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.65,.2,1);
}
.view-card:hover img, .view-card:focus-visible img { transform: scale(1.06); }
.view-card:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.view-card-content {
  display: flex;
  height: 100%;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  flex-direction: column;
  align-items: flex-start;
}
.view-card-number, .view-card-cta {
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}
.view-card-title {
  max-width: 9ch;
  margin: auto 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.02;
}
.view-card-copy { max-width: 22ch; font-size: 0.84rem; line-height: 1.6; }
.view-card-cta { margin-top: 1.6rem; color: var(--yellow); }
.view-card-cta b { font-family: "Manrope", sans-serif; font-size: 1.1rem; }

.contact { background: var(--ink); color: var(--paper); }
.contact .section-number { color: #b5b6ad; }
.contact h2 { margin: clamp(3rem, 8vw, 7rem) 0 2.5rem; font-size: clamp(3.25rem, 8vw, 7.75rem); }
.email-link { border-bottom: 1px solid #8a8b83; font-size: clamp(1.05rem, 2vw, 1.45rem); padding-bottom: 0.4rem; }
.email-link:hover { color: var(--yellow); }

footer { color: var(--muted); font-family: "DM Mono", monospace; font-size: 0.65rem; letter-spacing: 0.04em; }
footer p { margin: 0; }

@media (min-width: 651px) and (max-width: 900px) {
  .view-grid { grid-template-columns: repeat(2, 1fr); }
  .view-card { min-height: 27rem; }
}

@media (max-width: 650px) {
  .site-header { padding-block: 1rem; }
  nav { display: none; }
  .hero { min-height: 70vh; padding-inline: 1.5rem; }
  .statement { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .view-grid { grid-template-columns: 1fr; }
  .view-card { min-height: 0; aspect-ratio: 0.84; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
