:root {
  --green: #455d2d;
  --deep-green: #26381e;
  --gold: #c3b68a;
  --rust: #c66438;
  --cream: #faf8f1;
  --warm: #f0ead9;
  --ink: #24251f;
  --muted: #66685d;
  --line: #d9d0b4;
  --shadow: 0 16px 45px rgba(34, 35, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.lightbox-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(190px, 270px) 1fr minmax(120px, 180px);
  align-items: center;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 18px rgba(30, 33, 23, 0.08);
}

.brand img {
  width: clamp(180px, 22vw, 260px);
}

.dorper-mark {
  justify-self: end;
  width: clamp(108px, 13vw, 168px);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  color: var(--deep-green);
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--rust);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: clamp(340px, 50vh, 520px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--deep-green);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}

.hero::after,
.page-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 15, 0.12), rgba(17, 24, 15, 0.68));
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(42px, 8vw, 86px);
  color: white;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

h1,
h2 {
  margin: 0;
  color: var(--deep-green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  color: white;
  font-size: clamp(2.45rem, 6vw, 4.75rem);
}

.page-hero h1 {
  max-width: 1040px;
  font-size: clamp(2.25rem, 4.6vw, 4rem);
}

.hero-copy p:last-child {
  max-width: 650px;
  margin: 16px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #f6d487;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.intro {
  text-align: center;
}

.intro p {
  text-align: left;
}

.intro .eyebrow,
.intro h2 {
  text-align: center;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

p {
  margin: 0 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: var(--deep-green);
}

.warm-band {
  background: var(--gold);
  border-block: 1px solid var(--line);
}

.warm-band h2,
.warm-band .eyebrow,
.warm-band li {
  color: var(--deep-green);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
}

.benefit-list,
.inline-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list {
  display: grid;
  gap: 12px;
}

.benefit-list li,
.inline-list li {
  position: relative;
  padding-left: 26px;
}

.benefit-list li::before,
.inline-list li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 9px;
  height: 9px;
  background: var(--rust);
  border-radius: 50%;
  content: "";
}

.text-flow {
  max-width: 880px;
}

.text-flow p,
.text-flow li {
  color: var(--muted);
  text-align: left;
}

.text-flow h2:not(:first-child) {
  margin-top: 44px;
}

.content-photo {
  margin: 34px 0 48px;
}

.content-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.history-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 700px;
  margin: 0;
}

.history-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.gallery-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 24px;
  padding: 10px 18px;
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.gallery-cta:hover {
  background: var(--deep-green);
}

.page-hero {
  position: relative;
  min-height: clamp(340px, 50vh, 520px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(42px, 8vw, 80px) clamp(18px, 4vw, 56px);
  background: var(--deep-green);
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}

.page-hero > div {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.page-title {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 0 clamp(28px, 5vw, 48px);
  text-align: center;
}

.page-title h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.page-title p:last-child {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1260px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(56px, 8vw, 96px);
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: zoom-in;
}

.gallery-item:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 4px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 6px 22px rgba(35, 38, 28, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  box-shadow: 0 14px 34px rgba(35, 38, 28, 0.18);
  transform: translateY(-2px);
}

.photo-id {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--deep-green);
  border: 1px solid rgba(217, 208, 180, 0.9);
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 42px);
  background: rgba(17, 24, 15, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  margin: 0;
  text-align: center;
}

.lightbox-image {
  max-width: min(100%, 1180px);
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.lightbox-caption {
  margin-top: 12px;
  color: white;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lightbox-close {
  position: fixed;
  top: clamp(14px, 3vw, 26px);
  right: clamp(14px, 3vw, 26px);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--deep-green);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  color: var(--rust);
  outline: none;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  width: 48px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep-green);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  font-size: 3rem;
  line-height: 1;
  transform: translateY(-50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  color: var(--rust);
  outline: none;
}

.lightbox-prev {
  left: clamp(12px, 3vw, 30px);
}

.lightbox-next {
  right: clamp(12px, 3vw, 30px);
}

.contact-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding-top: 16px;
}

.contact-card {
  min-height: 220px;
  padding: clamp(24px, 4vw, 34px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin-bottom: 24px;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.contact-name-button {
  display: inline-grid;
  justify-items: start;
  gap: 8px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--deep-green);
  border: 0;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease;
}

.contact-name-button:hover,
.contact-name-button:focus-visible {
  color: var(--rust);
}

.contact-name-button:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 6px;
}

.contact-name-action {
  flex: 0 0 auto;
  padding: 5px 10px;
  background: var(--green);
  color: white;
  border-radius: 4px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-card p {
  color: var(--muted);
  text-align: left;
}

.contact-label {
  display: block;
  margin-bottom: 2px;
  color: var(--deep-green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card a:not(.button) {
  color: var(--green);
  font-weight: 800;
}

.contact-card a:not(.button):hover,
.contact-card a:not(.button):focus-visible {
  color: var(--rust);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 42px);
  background: rgba(17, 24, 15, 0.72);
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow-y: auto;
  padding: clamp(24px, 4vw, 36px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.contact-modal-panel h2 {
  margin-bottom: 22px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--deep-green);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.9rem;
  line-height: 1;
}

.contact-modal-close:hover,
.contact-modal-close:focus-visible {
  color: var(--rust);
  outline: none;
}

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

.contact-person-form[hidden] {
  display: none;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--deep-green);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--rust);
  outline: 3px solid rgba(198, 100, 56, 0.22);
}

.contact-form .button {
  width: fit-content;
  cursor: pointer;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.form-status.error {
  color: #9f2f18;
}

.site-footer {
  padding: 28px 18px;
  background: #908438;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    position: relative;
    grid-template-columns: 1fr 96px;
    gap: 10px 16px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .brand img {
    width: 172px;
    max-height: 92px;
    object-fit: contain;
  }

  .dorper-mark {
    grid-column: 2;
    grid-row: 1;
    width: 96px;
    max-height: 92px;
    object-fit: contain;
    align-self: center;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    gap: 18px;
    overflow-x: auto;
    padding-top: 2px;
  }

  .two-column,
  .contact-section,
  .history-collage {
    grid-template-columns: 1fr;
  }

  .history-collage img {
    aspect-ratio: 4 / 3;
  }

  .intro,
  .intro .eyebrow,
  .intro h2 {
    text-align: left;
  }

  .hero {
    min-height: 390px;
  }

  .page-hero {
    min-height: 390px;
  }

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

  .lightbox {
    padding-inline: 62px;
  }

  .lightbox-nav {
    width: 40px;
    height: 54px;
    font-size: 2.4rem;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .site-header {
    grid-template-columns: 1fr 78px;
    padding: 10px 14px;
  }

  .brand img {
    width: 150px;
    max-height: 78px;
  }

  .dorper-mark {
    width: 78px;
    max-height: 78px;
  }

  .site-nav {
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 340px;
  }

  .page-hero {
    min-height: 340px;
  }

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

  .lightbox {
    padding: 58px 14px 24px;
    align-items: center;
  }

  .lightbox-image {
    max-height: 72vh;
  }

  .lightbox-nav {
    top: auto;
    bottom: 14px;
    width: 46px;
    height: 46px;
    font-size: 2.4rem;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 58px);
  }

  .lightbox-next {
    right: calc(50% - 58px);
  }
}
