@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,500;0,8..60,600;1,8..60,400&display=swap');

:root {
  --bg: #E8E6E0;
  --surface: #F5F3EE;
  --ink: #2B2823;
  --brand: #D1450A;
  --moss: #3E4A32;
  --line: rgba(43, 40, 35, 0.16);
  --line-soft: rgba(43, 40, 35, 0.08);

  --display: 'Aileron', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --body: 'Source Serif 4', Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

/* ---------- Signature stacked headline ---------- */
/* This is the site's core visual device: the same tight, condensed
   word-stack used in the studio's wordmark, reused as gallery-wall-style
   titles throughout the site. Each word (or short phrase) sits on its own
   line, bold, tightly tracked and leaded. */
.stack {
  font-family: var(--display);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.1155em;
  line-height: 0.78;
  margin: 0;
  text-wrap: balance;
}

.stack span { display: block; }

.stack--hero {
  font-size: clamp(3.4rem, 11vw, 9rem);
}

.stack--section {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
}

.stack--ink { color: var(--ink); }
.stack--cream { color: var(--bg); }

.hero-logo {
  width: clamp(220px, 70vw, 620px);
  max-width: 100%;
  height: auto;
}

.hero-banner {
  width: 100%;
  min-height: clamp(320px, 55vw, 620px);
  background-image: url('images/hero-banner.jpg?v=2');
  background-size: cover;
  background-position: center 40%;
  display: flex;
  align-items: center;
}

.hero-banner-inner {
  display: flex;
  justify-content: flex-start;
}

/* ---------- Layout shell ---------- */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-row {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark img {
  height: 34px;
  width: auto;
}

nav.primary-nav {
  display: flex;
  gap: 28px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
}

nav.primary-nav a {
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding-bottom: 3px;
}

nav.primary-nav a.active,
nav.primary-nav a:hover {
  color: var(--brand);
}

.nav-toggle {
  display: none;
}

/* ---------- Eyebrow / label utility ---------- */
.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--moss);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn--solid {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--bg);
}

.btn--solid:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

/* ---------- Reusable page grids (see mobile overrides below) ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: end;
}

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

.featured-fig { grid-column: span 3; }
.featured-fig--offset { margin-top: 64px; }

.featured-grid--triptych { grid-template-columns: repeat(3, 1fr); }
.featured-grid--triptych .featured-fig { grid-column: span 1; margin: 0; }

.campaign-callout {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(28px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 28px;
  align-items: center;
}

/* Clean, uniform gallery grid: consistent card sizes since the
   source photos already share a near-identical natural ratio. */
.gallery-grid-clean {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}

.g-card { margin: 0; }

.g-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.g-card figcaption {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

@media (max-width: 860px) {
  .gallery-grid-clean {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 18px;
  }
}

@media (max-width: 560px) {
  .gallery-grid-clean {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* ---------- Mobile layout ---------- */
@media (max-width: 860px) {
  .intro-grid,
  .about-hero-grid,
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intro-grid { align-items: start; }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .featured-fig,
  .featured-fig--offset {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .campaign-callout {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .campaign-callout .btn { width: 100%; text-align: center; justify-content: center; }
}


/* ---------- Contact section ---------- */
.contact-section {
  margin-top: 120px;
  padding-top: 56px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
}

.social-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--ink);
}

.social-links a:hover { color: var(--brand); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form .hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--moss);
  margin-top: 18px;
}

.contact-form label:first-of-type { margin-top: 0; }

.contact-form input,
.contact-form textarea {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

.contact-form button {
  margin-top: 24px;
  align-self: flex-start;
  cursor: pointer;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}


footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  margin-top: 100px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-logo {
  width: 130px;
  height: auto;
}

.footer-meta {
  font-family: var(--display);
  font-size: 0.85rem;
  color: var(--ink);
  opacity: 0.7;
}

.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-social a {
  color: var(--brand);
  display: inline-flex;
  width: 22px;
  height: 22px;
  transition: opacity 0.2s ease;
}

.footer-social svg { width: 100%; height: 100%; }

.footer-social a:hover { opacity: 0.65; }

@media (max-width: 720px) {
  .footer-row { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* ---------- Responsive nav ---------- */
@media (max-width: 720px) {
  .header-row { padding: 16px 20px; }
  .wrap { padding: 0 20px; }
  nav.primary-nav {
    position: fixed;
    inset: 62px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    font-size: 1.6rem;
    display: none;
    gap: 22px;
  }
  nav.primary-nav.open { display: flex; }
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--ink);
    width: 42px;
    height: 34px;
    position: relative;
    cursor: pointer;
  }
  .nav-toggle span,
  .nav-toggle::before,
  .nav-toggle::after {
    content: '';
    position: absolute;
    left: 9px;
    right: 9px;
    height: 1.5px;
    background: var(--ink);
  }
  .nav-toggle::before { top: 12px; }
  .nav-toggle span { top: 17px; }
  .nav-toggle::after { top: 22px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* Visible keyboard focus */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
