:root {
  --bg: #f6f5f1;
  --ink: #151513;
  --muted: #6f6b62;
  --line: #cfc9bd;
  --line-soft: #e1dcd2;
  --accent: #8e3524;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
}

img,
video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.home-intro,
.work-index,
.contact-page,
.project-page {
  width: min(1480px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header,
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: 13px;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  grid-template-columns: 1fr auto auto;
  margin-top: 72px;
}

.brand,
.site-nav a,
.site-footer a,
.back-link {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  width: auto;
  height: auto;
  font-weight: 500;
}

.brand img {
  width: 104px;
  height: auto;
  object-fit: contain;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
}

.site-nav a:hover,
.site-footer a:hover,
.back-link:hover {
  color: var(--accent);
}

.home-intro {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 22px;
  padding: 48px 0 46px;
  text-align: center;
}

.intro-label,
.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.intro-label {
  display: grid;
  gap: 4px;
  align-content: start;
  justify-items: center;
}

h1,
h2,
p,
figure {
  margin: 0;
}

h1 {
  font-size: clamp(28px, 3.1vw, 48px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0;
}

.home-intro h1 {
  width: 100%;
  max-width: 1280px;
  font-family: "ITC Avant Garde Gothic", "Avant Garde", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 500;
}

.intro-copy {
  display: none;
}

.index-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 26px 18px;
  padding-top: 18px;
}

.project-card {
  display: grid;
  grid-template-rows: auto auto;
  align-self: start;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.project-card figure {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #d8d5cf;
}

.falcon-thumb {
  object-position: center 0%;
}

.project-card:nth-child(n + 9) .project-meta {
  border-top: 0;
}

.food-card figure {
  aspect-ratio: 3 / 4;
}

.project-card:hover img,
.project-card:hover video {
  transform: scale(1.025);
}

.project-card img,
.project-card video {
  border-radius: inherit;
  transition: transform 240ms ease;
}

.project-meta {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 3px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.project-meta strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.project-meta span:last-child {
  grid-column: 2;
}

.contact-page,
.project-page {
  margin-top: 80px;
}

.contact-panel {
  max-width: 760px;
  margin-inline: auto;
}

.contact-heading {
  margin: 0 0 28px;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.contact-heading--form {
  margin-top: 64px;
}

.contact-heading .accent {
  color: #2fb09a;
}

.contact-panel p {
  color: var(--muted);
  font-size: 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 48px;
}

.contact-photo {
  margin: 0;
  width: 220px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: #d8d5cf;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-bio .eyebrow {
  margin-bottom: 14px;
}

.contact-bio h1 {
  margin-bottom: 22px;
}

.bio-copy {
  display: grid;
  gap: 14px;
}

.bio-copy p {
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 40px;
  color: var(--muted);
  font-size: 18px;
}

.contact-form {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.contact-form .field {
  display: grid;
  gap: 6px;
}

.contact-form label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.cf-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-actions {
  margin-top: 8px;
}

.contact-form button {
  padding: 12px 28px;
  background: var(--ink);
  color: var(--bg);
  border: none;
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form button:hover:not(:disabled) {
  background: var(--accent);
}

.contact-form button:disabled {
  opacity: 0.5;
  cursor: default;
}

#cf-status {
  margin: 0;
  min-height: 1.4em;
  color: var(--muted);
  font-size: 14px;
}

.cf-thanks {
  padding: 24px 0;
  color: var(--muted);
  font-size: 18px;
}

.project-page h1 {
  margin: 12px 0 34px;
}

.back-link {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--muted);
  font-size: 14px;
}

.project-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d8d5cf;
}

.project-note {
  max-width: 620px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .home-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .intro-copy {
    display: none;
  }

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

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .home-intro,
  .work-index,
  .contact-page,
  .project-page {
    width: min(100% - 30px, 1480px);
  }

  .site-header,
  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer {
    gap: 10px;
  }

  .home-intro {
    padding: 32px 0 38px;
  }

  h1 {
    font-size: 30px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
    text-align: left;
  }

  .contact-photo {
    width: 200px;
  }

  .contact-heading {
    font-size: 32px;
  }

}
