@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/work-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  --ink: #18221c;
  --ink-soft: #334138;
  --accent: #c07a3a;
  --accent-dark: #8a5627;
  --sand: #f3eee6;
  --mist: #e7efe9;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(17, 26, 21, 0.12);
  --radius: 18px;
  --service-media-height: 240px;
  --service-media-height-mobile: 220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #f8f4ee 0%, #f1f5f1 45%, #e3ebe5 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  min-height: 12vh;
  background: url("assets/banner.webp") center/cover no-repeat;
  color: var(--white);
  display: flex;
  align-items: stretch;
}

.hero-overlay {
  width: min(1100px, 90%);
  margin: 0 auto;
  padding: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  width: 100%;
}

.brand img {
  width: clamp(200px, 28vw, 320px);
}

.hero-content {
  max-width: 640px;
  animation: fadeUp 0.9s ease-out both;
  text-align: left;
  margin: 0;
}

.hero-content h1 {
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 0 0 12px;
}

.hero-content p {
  font-size: 1.05rem;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.about-highlight {
  margin: 16px 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--mist);
  border: 1px solid #d5e1d7;
  color: var(--ink-soft);
}

.about .button.ghost {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid #e6e2dc;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 0;
  box-shadow: 0 12px 24px rgba(14, 24, 18, 0.05);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-weight: 500;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.nav-links a:hover {
  background: var(--mist);
}

.nav-links a.active {
  background: var(--mist);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 1px solid #d5d0c9;
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--white);
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle-label--close {
  display: none;
}

.nav-toggle-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-label--open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-label--close {
  display: inline-flex;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.section {
  padding: 80px 0;
  scroll-margin-top: 90px;
}

.services {
  padding-top: 40px;
}

.about {
  padding-top: 40px;
}

#home {
  scroll-margin-top: 90px;
}

.divider-banner {
  min-height: 380px;
  background: url("assets/loons.webp") center/cover no-repeat;
  padding: 0;
}

.rosebud-banner {
  min-height: 320px;
  background: url("assets/RosebudHabitat.webp") center/cover no-repeat;
}

.mid-banner {
  min-height: 320px;
  background: url("assets/mid-banner.webp") center/cover no-repeat;
  padding: 0;
}

.section-inner {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}

.about .split {
  align-items: stretch;
}

.split.reverse .image-card {
  order: 2;
}

.image-card.large {
  height: 100%;
}

.image-card.large img {
  height: 100%;
  object-fit: cover;
}

.team {
  margin-top: 48px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 24px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
}

.team-card > img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.team-copy {
  padding: 20px 24px 20px;
}

.team-copy p {
  margin: 0 0 12px;
}

.team-copy p:last-of-type {
  margin-bottom: 0;
}

.team-card.reverse {
  grid-template-columns: 1fr minmax(240px, 320px);
}

.team-card.reverse > img {
  grid-column: 2;
}

.team-card.reverse .team-copy {
  grid-column: 1;
  grid-row: 1;
}

.team-copy h3 {
  margin: 0 0 6px;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
}

.team-copy .role {
  margin: 0 0 16px;
  font-weight: 600;
  color: var(--accent-dark);
}

.inat-embed {
  display: block;
  width: 100%;
  max-width: 560px;
  height: 160px;
  border: 0;
  border-radius: 12px;
  background: var(--white);
  margin: 8px auto 0;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  justify-content: flex-end;
}

.social-button {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid #d5e1d7;
  background: var(--mist);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.social-button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.copy h2 {
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 2.5vw, 2.3rem);
  line-height: 1.2;
  margin: 2px 0 12px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent-dark);
  margin: 0;
}

.image-card img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.case-study-highlights .card h3 {
  margin: 0 0 12px;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
}

.case-study-highlights .card p {
  margin: 0;
  color: var(--ink-soft);
}

.case-study-highlight-image {
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
}

.case-study-highlight-media {
  margin: -22px -24px 12px;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--mist);
}
.services-notes .card h3 {
  margin: 0 0 12px;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
}

.services-notes {
  grid-template-columns: 1fr;
}

.services-notes .card p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

.services-notes .card p:last-child {
  margin-bottom: 0;
}

.services-notes .card--wide {
  grid-column: 1 / -1;
}

.accordion-card {
  padding: 0;
}

.accordion-trigger {
  width: 100%;
  border: none;
  background: none;
  padding: 22px 24px;
  font-family: "Work Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.accordion-trigger::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent-dark);
}

.accordion-trigger[aria-expanded="true"]::after {
  content: "-";
}

.accordion-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 12px;
}

.accordion-panel {
  padding: 0 24px 22px;
}

.services-list {
  --services-gap: 26px;
  display: grid;
  gap: var(--services-gap);
  margin-top: 28px;
}

.service-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: visible;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  align-items: stretch;
  position: relative;
}

.service-item img {
  width: 100%;
  height: 100%;
  min-height: var(--service-media-height);
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius) 0 0 var(--radius);
}

.services-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: #e6e2dc;
  margin: calc(var(--services-gap) * -0.5) auto;
  width: min(820px, 90%);
}

.service-copy {
  padding: 22px 24px 26px;
}

.service-copy h3 {
  margin: 0 0 10px;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
}

.service-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.service-copy p + p {
  margin-top: 12px;
}

.service-copy ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.service-copy li {
  margin-bottom: 8px;
}

.service-copy li:last-child {
  margin-bottom: 0;
}

.card {
  background: var(--white);
  padding: 22px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: fadeUp 0.9s ease-out both;
}

.card:nth-child(2) {
  animation-delay: 0.12s;
}

.card:nth-child(3) {
  animation-delay: 0.24s;
}

.card:nth-child(4) {
  animation-delay: 0.36s;
}

.project-intro {
  max-width: 760px;
  margin-top: 12px;
  color: var(--ink-soft);
}

.project-intro p {
  margin: 0 0 12px;
}

.case-study-card {
  margin-top: 24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.case-study-card--split {
  padding: 0;
  overflow: hidden;
}

.case-study-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 320px);
  gap: 24px;
  align-items: stretch;
}

.case-study-card--split .case-study-layout {
  gap: 0;
}

.case-study-card--split .case-study-content {
  padding: 24px;
}

.case-study-media {
  margin: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.case-study-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.case-study-card--split .case-study-media img {
  border-radius: 0;
  box-shadow: none;
}

.case-study-card h3 {
  margin: 0 0 12px;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.2;
}

.case-study-summary {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.case-study-metrics {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 6px;
}

.case-study-metrics li {
  color: var(--ink-soft);
}

.case-study-metrics strong {
  color: var(--accent-dark);
  font-size: 1.05rem;
}

.case-study-page .case-study-metrics {
  justify-items: center;
  text-align: center;
}

.case-study-figure {
  margin: 0 0 18px;
}

.case-study-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.case-study-figure figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.case-study-actions {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.case-study-page .case-study-actions {
  justify-content: center;
}

.case-study-page .section:first-of-type {
  padding-top: 40px;
}

.case-study-sticky {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e6e2dc;
  padding: 10px 0;
  justify-content: center;
  gap: 10px;
}

.case-study-sticky .button.ghost {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

.case-study-page .section {
  scroll-margin-top: 70px;
}

.case-study-body {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.case-study-body h3 {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
}

.case-study-body p,
.case-study-body ul {
  margin: 0;
  color: var(--ink-soft);
}

.case-study-body ul {
  padding-left: 20px;
}

.video-showcase {
  margin-top: 36px;
}

.video-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.video-header h3 {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

.video-subtitle {
  margin: 0;
  margin-top: 8px;
  max-width: none;
  color: var(--ink-soft);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(17, 26, 21, 0.16);
}

.video-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.video-card-body {
  padding: 12px 18px 16px;
}

.video-card-body h4 {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 1rem;
}

.video-card-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact {
  background: var(--sand);
}

.contact-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: nowrap;
}

.contact-heading h2 {
  margin: 0;
  font-weight: 600;
  flex: 1;
  min-width: 0;
}

.contact-avatar {
  width: clamp(64px, 10vw, 96px);
  height: clamp(64px, 10vw, 96px);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.contact-details {
  margin-top: 16px;
}

.contact-details a {
  color: var(--accent-dark);
  font-weight: 600;
}

.contact-form {
  background: var(--white);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.contact-form label {
  font-weight: 500;
  display: grid;
  gap: 6px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #d9d4cd;
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(192, 122, 58, 0.35);
}

.button.secondary {
  background: rgba(192, 122, 58, 0.12);
  color: var(--accent-dark);
  border: 1px solid rgba(192, 122, 58, 0.4);
  box-shadow: 0 8px 16px rgba(192, 122, 58, 0.18);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.button:hover {
  transform: translateY(-2px);
}

.hidden {
  display: none;
}

.site-footer {
  padding: 24px 0 40px;
  text-align: center;
  color: var(--ink-soft);
}

.footer-actions {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
}

.privacy-trigger {
  background: none;
  border: none;
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.footer-link {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: none;
}

.privacy-trigger:focus-visible,
.privacy-close:focus-visible,
.footer-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.privacy-dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: none;
}

.privacy-dialog::backdrop {
  background: rgba(24, 34, 28, 0.45);
}

.privacy-card {
  width: min(560px, 92vw);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.privacy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.privacy-header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.privacy-close {
  border: 1px solid #d5d0c9;
  border-radius: 999px;
  padding: 6px 14px;
  background: var(--white);
  font-weight: 600;
  cursor: pointer;
}

.end-banner {
  min-height: 260px;
  background: url("assets/end-banner.webp") center/100% no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.end-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/logo-white.png") center/auto no-repeat;
  background-size: clamp(180px, 26vw, 300px);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .nav-links a {
    padding: 12px 16px;
  }

  .hero-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 5%;
  }

  .nav-toggle {
    display: inline-flex;
    align-self: flex-end;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0 6px;
  }

  .nav-links[data-open="true"] {
    display: flex;
  }

  .team-card,
  .team-card.reverse {
    grid-template-columns: 1fr;
  }

  .team-card > img,
  .team-card.reverse > img {
    min-height: 0;
    grid-column: 1;
    height: auto;
    object-fit: contain;
    background: var(--white);
  }

  .team-card.reverse .team-copy {
    grid-column: 1;
  }

  .service-item {
    grid-template-columns: 1fr;
  }

  .service-item img {
    height: var(--service-media-height-mobile);
    min-height: 0;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .service-image--contain-mobile {
    object-fit: contain;
    background: var(--white);
  }

  .inat-embed {
    height: 260px;
    max-width: 480px;
    margin: 4px auto 2px;
  }

  .social-links {
    margin-top: 4px;
  }

  .image-card.large {
    height: auto;
  }

  .image-card.large img {
    height: 240px;
  }

  .divider-banner {
    min-height: 0;
    aspect-ratio: 2560 / 900;
    background-size: contain;
    background-position: center;
  }

  .rosebud-banner {
    aspect-ratio: 2000 / 703;
  }

  .mid-banner {
    min-height: 0;
    aspect-ratio: 2560 / 505;
    background-size: contain;
    background-position: center;
  }

  .end-banner {
    min-height: 0;
    aspect-ratio: 2560 / 505;
    background-size: contain;
    background-position: center;
  }

  .case-study-layout {
    grid-template-columns: 1fr;
  }

  .case-study-media {
    height: auto;
    min-height: var(--service-media-height-mobile);
  }

  .case-study-media img {
    height: 100%;
  }

}

@media (max-width: 1200px) and (min-width: 671px) {
  .about .image-card.large {
    height: 100%;
    min-height: clamp(320px, 40vw, 460px);
    align-self: stretch;
  }

  .about .image-card.large img {
    height: 100%;
  }
}

@media (max-width: 670px) {
  .about .split {
    grid-template-columns: 1fr;
  }

  .about .image-card.large img {
    height: auto;
  }
}

@media (max-width: 420px) {
  .inat-embed {
    height: 300px;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
