/* Campbell Crow */

@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f3efe6;
  --surface: #fffcf7;
  --ink: #1c1814;
  --muted: #6b6358;
  --line: #d4cbbd;
  --accent: #c2410c;
  --accent-dark: #9a3412;
  --accent-soft: #ea580c;
  --header: #16120e;
  --header-text: #f7f2ea;
  --footer-muted: #a39a8c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-weight: 400;
}

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

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

/* Header */

.site-header {
  background: var(--header);
  color: var(--header-text);
  padding: 1.05rem 1.5rem;
  border-bottom: 3px solid var(--accent);
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  position: relative;
}

.header-inner > nav {
  margin-left: auto;
}

/* Mobile nav toggle (hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--header-text);
  margin-left: auto;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav a {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.7;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

nav a:hover,
nav a.active {
  opacity: 1;
  border-bottom-color: var(--accent);
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.35rem;
}

.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--header-text);
  opacity: 0.75;
  border-radius: 4px;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.header-social a:hover {
  opacity: 1;
  background: var(--accent);
  color: #fff;
}

.header-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Main */

main {
  flex: 1;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 2.75rem 1.5rem 3.75rem;
}

.page-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.page-intro {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted);
  max-width: 36em;
  margin-bottom: 2rem;
  line-height: 1.55;
}

.content-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: 1.4rem 1.55rem;
  margin-bottom: 1.75rem;
  max-width: 42em;
}

.content-block p {
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 500;
}

.content-block p:last-child {
  margin-bottom: 0;
}

/* Photo grid — equal frames, natural crop */

.photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 2.5rem;
}

.photo {
  margin: 0;
  background: #2a241c;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.photo:hover img {
  transform: scale(1.03);
}

/* Coverage */

.coverage {
  margin-top: 0.25rem;
}

.coverage h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.coverage ul {
  list-style: none;
  padding: 0;
}

.coverage li {
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
  color: var(--ink);
  font-weight: 500;
  font-size: 1.02rem;
}

.coverage li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 1px;
}

/* Contact */

.contact-block {
  margin-top: 0.25rem;
  margin-bottom: 1.85rem;
}

.contact-block p {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
  font-weight: 500;
}

.contact-block a {
  color: var(--accent-dark);
  border-bottom: 1.5px solid var(--accent);
  font-weight: 600;
}

.contact-block a:hover {
  border-bottom-color: transparent;
}

/* Form */

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.55rem 1.65rem;
  max-width: 28rem;
  margin-bottom: 2rem;
  border-radius: 3px;
}

.contact-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  margin-bottom: 1.05rem;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  border-radius: 3px;
}

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

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

.contact-form button {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.12s ease;
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.95rem;
  font-weight: 500;
}

/* Social */

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--header);
  color: var(--header-text);
  border-radius: 4px;
  transition: background 0.12s ease;
}

.social-links a:hover {
  background: var(--accent);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* About */

.about-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: 1.4rem 1.55rem;
  margin: 0 0 2rem;
  max-width: 40em;
}

.about-block h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}

.about-block p {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.65;
  margin: 0;
}

.home-hero {
  margin-bottom: 0.25rem;
}

/* Home links */

.home-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
  max-width: 32rem;
}

.home-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
  border-radius: 0 4px 4px 0;
}

.home-links a:hover {
  background: #fff;
  border-left-color: var(--accent-soft);
}

.home-links a:hover .home-link-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.home-link-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.home-link-text strong {
  font-weight: 800;
  font-size: 1.08rem;
}

.home-link-text span {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--muted);
}

.home-link-arrow {
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.15s ease, color 0.15s ease;
}

/* Footer */

.site-footer {
  background: var(--header);
  color: var(--footer-muted);
  padding: 1.25rem 1.5rem;
  font-size: 0.86rem;
  font-weight: 500;
  border-top: 1px solid #2a241c;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.footer-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.footer-sep {
  opacity: 0.5;
}

.footer-right {
  margin-left: auto;
  text-align: right;
  color: var(--footer-muted);
}

.site-footer a {
  color: #d9d0c4;
  font-weight: 600;
}

.site-footer a:hover {
  color: #fff;
}

/* Responsive */

@media (max-width: 780px) {
  .photo-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo:last-child:nth-child(3) {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 560px) {
  .page-title {
    font-size: 1.65rem;
  }

  nav ul {
    gap: 1rem;
  }

  main {
    padding-top: 2rem;
  }

  .photo-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .photo,
  .photo:last-child:nth-child(3) {
    aspect-ratio: 4 / 3;
  }
}

/* Mobile navigation dropdown */
@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
    order: 3;
  }

  .header-social {
    order: 2;
    margin-left: auto;
  }

  .header-inner > nav {
    order: 4;
    margin-left: 0;
    width: 100%;
    display: none;
    background: var(--header);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 0 0.75rem;
  }

  .header-inner > nav.is-open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  nav li:last-child {
    border-bottom: none;
  }

  nav a {
    display: block;
    padding: 0.75rem 0.25rem;
    font-size: 1rem;
    border-bottom: none;
    opacity: 0.85;
  }

  nav a:hover,
  nav a.active {
    opacity: 1;
    border-bottom-color: transparent;
    color: #fff;
  }

  nav a.active {
    color: var(--accent-soft);
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .logo {
    order: 1;
  }
}
