/* ============================================
   FONTS (self-hosted)
   ============================================ */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/archivo-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/archivo-italic-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Chau Philomene One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/chau-philomene-one-latin.woff2') format('woff2');
}

/* ============================================
   TOKENS
   ============================================ */
:root {
  --color-near-black:   #282824;
  --color-off-white:    #FEF7E5;
  --color-dark-brown:   #5F3B34;
  --color-amber:        #EE8D33;
  --color-burnt-orange: #EC5A00;
  --color-forest-green: #024F40;

  --font-display: 'Chau Philomene One', cursive;
  --font-body:    'Archivo', sans-serif;

  --text-display: clamp(2.2rem, 5vw, 4rem);
  --text-h2:      clamp(1.6rem, 3vw, 2.4rem);
  --text-h3:      1.15rem;
  --text-body:    1rem;
  --text-small:   0.875rem;

  --section-pad:    clamp(60px, 8vw, 100px);
  --container-max:  1440px;
  --container-pad:  clamp(60px, 10.4vw, 150px);

  --z-nav:  100;
  --z-menu: 200;

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-near-black);
  background-color: var(--color-off-white);
  overflow-x: clip;
  line-height: 1.65;
}

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

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

/* ============================================
   UTILITIES
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-heading {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  color: var(--color-amber);
  text-wrap: balance;
  margin-bottom: clamp(28px, 4vw, 48px);
}

#home, #gallery, #about, #how, #gallery-heading {
  scroll-margin-top: 128px;
}

/* ============================================
   CTA BUTTON (image swap on hover)
   ============================================ */
.btn-cta,
.gallery-cta {
  filter: drop-shadow(0 4px 6px rgba(40, 40, 36, 0.5));
}

.btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  cursor: pointer;
  outline-offset: 4px;
}

.btn-cta:focus-visible {
  outline: 2px solid var(--color-amber);
  border-radius: 4px;
}

.btn-cta__default,
.btn-cta__hover {
  display: block;
  height: 47px;
  width: 160px;
  max-width: none;
  object-fit: contain;
  transition: opacity 0.2s var(--ease-out-quart);
}

.btn-cta__hover {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 160px;
  opacity: 0;
}

.btn-cta:focus-visible .btn-cta__default {
  opacity: 0;
}

.btn-cta:focus-visible .btn-cta__hover {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .btn-cta:hover .btn-cta__default,
  .btn-cta:active .btn-cta__default {
    opacity: 0;
  }

  .btn-cta:hover .btn-cta__hover,
  .btn-cta:active .btn-cta__hover {
    opacity: 1;
  }
}

.btn-cta--sm .btn-cta__default {
  height: 36px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background-color: var(--color-forest-green);
  border-bottom: 3px solid var(--color-amber);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.5vw, 40px);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 10px clamp(24px, 6vw, 150px);
  height: 125px;
  position: relative;
  z-index: 1;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 40px;
  text-align: left;
  color: var(--color-off-white);
  letter-spacing: 0.03em;
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 10px;
  transition: color 0.15s;
}

.nav__logo:hover {
  color: var(--color-amber);
}

.nav__links {
  display: flex;
  align-items: center;
  align-self: flex-end;
  gap: clamp(24px, 3.5vw, 80px);
  margin-bottom: 10px;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-off-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: color 0.15s;
}

.nav__links a:hover {
  color: var(--color-amber);
}

.nav .btn-cta {
  align-self: flex-end;
  margin-bottom: 10px;
}

/* Nav CTA button — combined branch + wood-sign graphic, taller than the plain button */
.nav .btn-cta__default,
.nav .btn-cta__hover {
  width: 151px;
  height: 103px;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  flex-shrink: 0;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-off-white);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out-quart), opacity 0.18s;
  transform-origin: center;
}

.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
position: relative;
height: 0;
padding-bottom: 54.2%;
overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 79%;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(40, 40, 36, 0.82) 0%,
    rgba(40, 40, 36, 0.3)  48%,
    transparent             100%
  );
  pointer-events: none;
}

.hero__content {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 0;
  padding: clamp(24px, 4vw, 48px) var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
}

.hero__logo {
  width: clamp(250px, 32vw, 375px);
  height: auto;
  mix-blend-mode: screen;
  margin-bottom: 14px;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--color-off-white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-section {
  --gallery-cta-padding-top: 32px;
  --gallery-cta-padding-bottom: 4px;
  position: relative;
  background-color: var(--color-off-white);
  padding: 60px 0 90px;
  overflow: hidden;
}

/* Homepage "Custom Work" preview only — tighter so heading + 3 images +
   Full Gallery button all land in view on the #gallery anchor jump.
   gallery.html's own section keeps the base .gallery-section padding above. */
#gallery {
  padding-top: 24px;
}

#gallery .gallery-section__head {
  margin-bottom: 20px;
}

/* Standalone gallery.html page — tighter top padding so the title sits
   closer under the shorter hero banner. */
.gallery-section--page {
  padding-top: 32px;
}

.gallery-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.gallery-section__head .section-heading {
  margin-bottom: 0;
}

.gallery-section .section-heading,
.about .section-heading {
  color: var(--color-dark-brown);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.gallery-item {
  background-color: var(--color-off-white);
  padding: 18px 18px 0;
  overflow: visible;
  box-shadow: 0 8px 20px rgba(40, 40, 36, 0.28);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.gallery-item:hover {
  box-shadow: 0 20px 34px rgba(40, 40, 36, 0.38);
  transform: translateY(-3px);
}

.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border: 6px solid var(--color-forest-green);
}

.gallery-item__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: inherit;
  cursor: zoom-in;
}

.gallery-item__tag-wrap {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  margin: 0 -22px;
}

.gallery-item__tag {
  background-color: var(--color-amber);
  color: var(--color-near-black);
  clip-path: polygon(0 50%, 14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%);
  padding: 12px 26px;
  text-align: left;
  box-shadow: 0 3px 8px rgba(40, 40, 36, 0.18);
  transition: transform 0.25s ease;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
}

.gallery-item__tag:hover {
  transform: rotate(-2deg);
}

.gallery-cta-wrap {
  display: flex;
  justify-content: center;
  padding-top: var(--gallery-cta-padding-top);
  padding-bottom: var(--gallery-cta-padding-bottom);
}

.gallery-cta {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s var(--ease-out-quart);
}

.gallery-cta img {
  display: block;
  width: 240px;
  height: auto;
}

.gallery-cta:hover,
.gallery-cta:focus-visible {
  transform: scale(1.04);
}

.gallery-cta:focus-visible {
  outline: 2px solid var(--color-amber);
  outline-offset: 4px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  background-color: var(--color-near-black);
  padding: 40px 0 var(--section-pad);
}

.how-it-works .section-heading {
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}

.step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step__marker {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-amber);
  color: var(--color-near-black);
  font-family: var(--font-display);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.step__title {
  font-family: var(--font-body);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--color-off-white);
  margin-bottom: 10px;
  text-wrap: balance;
  line-height: 1.3;
}

.step__body {
  color: var(--color-off-white);
  opacity: 0.78;
  font-size: var(--text-body);
  line-height: 1.65;
  text-wrap: pretty;
  max-width: 30ch;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  position: relative;
  background-color: var(--color-off-white);
  padding: 24px 0 40px;
  overflow: hidden;
}

.about__inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: clamp(48px, 5vw, 80px);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about__photo img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.about .section-heading {
  margin-bottom: 12px;
}

.about__text p {
  color: var(--color-near-black);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 18px;
  max-width: 58ch;
  text-wrap: pretty;
}

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

.about__sign {
  font-weight: 700;
  line-height: 1.5;
  width: max-content;
  text-align: center;
}

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip {
  background-color: var(--color-forest-green);
  padding: 40px 0 clamp(40px, 6vw, 64px);
  border-bottom: 3px solid var(--color-amber);
}

.cta-strip .container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(40px, 6vw, 80px);
}

.cta-strip__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-strip__headline {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  color: var(--color-amber);
  text-wrap: balance;
  margin-bottom: 12px;
}

.cta-strip__content .btn-cta {
  margin-top: 40px;
}

.cta-strip__body {
  font-size: 17px;
  color: var(--color-off-white);
  text-align: center;
  max-width: 52ch;
  text-wrap: pretty;
  line-height: 1.7;
}

.cta-strip__logo {
  height: 300px;
  width: auto;
  margin-left: 40px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--color-near-black);
  padding-top: 48px;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding-bottom: 40px;
}

.footer__logo img {
  height: 120px;
  width: auto;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-off-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.15s;
}

.footer__links a:hover {
  color: var(--color-amber);
}

.footer__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer__follow {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-off-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__social-icons {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: var(--color-off-white);
  opacity: 0.65;
  transition: opacity 0.15s, color 0.15s;
  display: flex;
  align-items: center;
}

.footer__social a:hover {
  opacity: 1;
  color: var(--color-amber);
}

.footer__copy {
  border-top: 1px solid rgba(254, 247, 229, 0.1);
  padding: 16px var(--container-pad);
  font-size: 0.8rem;
  color: rgba(254, 247, 229, 0.55);
  text-align: center;
}

.footer__copy a {
  color: rgba(254, 247, 229, 0.75);
  transition: color 0.15s;
}

.footer__copy a:hover {
  color: var(--color-off-white);
}

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s var(--ease-out-quart), transform 0.55s var(--ease-out-quart);
}

.reveal.will-reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal.will-reveal {
    opacity: 1;
    transform: none;
  }
  .reveal,
  .reveal.is-visible {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   RESPONSIVE: WIDE TABLET (≤ 1100px)
   ============================================ */
@media (max-width: 1100px) {
  .about__inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .about .section-heading {
    text-align: center;
  }
}

/* ============================================
   RESPONSIVE: TABLET (≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  #gallery .gallery-item:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 30px);
  }

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

  .about__photo {
    max-width: 380px;
  }

  .footer__inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .footer__actions {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .footer__links {
    text-align: center;
  }
}

/* ============================================
   RESPONSIVE: MOBILE (≤ 768px)
   ============================================ */
@media (max-width: 1240px) {
  /* Nav — switches to hamburger menu; full inline nav doesn't fit below this */
  .nav__links {
    display: none;
    position: static;
    transform: none;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    order: 10;
    padding: 32px 0 8px;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav .btn-cta {
    display: none;
  }

  .nav__links.is-open ~ .btn-cta {
    display: flex;
    width: fit-content;
    margin: 0 auto;
    margin-top: -50px;
    order: 11;
    padding-top: 24px;
    padding-bottom: 24px;
    transform: translateX(-30px);
  }

  .nav__links.is-open ~ .btn-cta .btn-cta__default,
  .nav__links.is-open ~ .btn-cta .btn-cta__hover {
    width: 200px;
    height: 136px;
  }

  .nav__links a {
    font-size: 1.4rem;
    letter-spacing: 0.15em;
  }

  .nav__hamburger {
    display: flex;
    z-index: calc(var(--z-menu) + 1);
    padding-right: 20px;
  }

  .nav__inner {
    height: auto;
    min-height: 70px;
    padding-left: 20px;
    padding-right: 20px;
    flex-wrap: wrap;
  }

  .nav__logo {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  /* Hero */
  .hero {
    height: auto;
    padding-bottom: 0;
    min-height: calc(75vh - 92px);
  }

  .hero__bg {
    object-position: 60% 30%;
  }

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

  #gallery .gallery-item:nth-child(3) {
    width: auto;
  }

  .gallery-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* Steps */
  .steps {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
    gap: 40px;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 24px;
  }

  .footer__logo img {
    height: 80px;
  }

  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-bottom: 12px;
  }

  .footer__actions {
    flex-direction: column;
    gap: 16px;
  }

  .footer__social {
    gap: 18px;
  }

  .about__text p {
    font-size: 1rem;
  }

  #gallery, #about, #how, #gallery-heading {
    scroll-margin-top: 70px;
  }

  /* CTA strip */
  .cta-strip .container {
    display: grid;
    grid-template-columns: auto 125px;
    justify-content: center;
    column-gap: 12px;
    align-items: start;
  }

  .cta-strip__content {
    display: contents;
  }

  .cta-strip__headline {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    font-size: 1.8rem;
    margin-top: 32px;
  }

  .cta-strip__body {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .cta-strip__content .btn-cta {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: center;
    margin-top: 14px;
  }

  .cta-strip__logo {
    grid-column: 2;
    grid-row: 1;
    width: 125px;
    height: auto;
    margin-left: 0;
    align-self: start;
  }

  .cta-strip {
    padding-bottom: 90px;
  }
}

@media (max-width: 768px) {
  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: clamp(200px, 30vw, 260px);
  }

  .hero__logo {
    width: min(300px, 78vw);
  }

  .hero__tagline {
    font-size: clamp(0.85rem, 4vw, 1.35rem);
  }

  .nav__logo {
    align-self: center;
    margin-bottom: 0;
  }

  .nav .btn-cta {
    align-self: center;
    margin-bottom: 0;
  }

}

/* ============================================
   GALLERY PAGE (gallery.html)
   ============================================ */
.gallery-hero {
  position: relative;
  height: clamp(300px, 34vw, 610px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallery-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.gallery-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(40, 40, 36, 0.45);
  pointer-events: none;
}

.gallery-hero__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.2vw, 3.9rem);
  color: var(--color-amber);
  text-align: center;
  text-wrap: balance;
  padding: 0 24px;
}

.gallery-hero__subtitle {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.75rem);
  color: var(--color-off-white);
  text-align: center;
  text-wrap: balance;
  margin-top: 10px;
  padding: 0 24px;
}

.gallery-page-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item--pos-75 img {
  object-position: 75% center;
}

@media (min-width: 769px) {
  .gallery-hero {
    justify-content: flex-start;
    padding-top: 96px;
  }
}

@media (max-width: 768px) {
  .gallery-hero {
    justify-content: flex-start;
  }

  .gallery-hero__title {
    padding-top: 48px;
  }
}

.gallery-section__head--centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gallery-section__subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-near-black);
}

@media (max-width: 1024px) {
  .gallery-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-page-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT PAGE (contact.html)
   ============================================ */
.contact {
  background-color: var(--color-dark-brown);
  padding: 32px 0 40px;
}

.contact__inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.contact__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  border: 4px solid var(--color-forest-green);
}

.contact .section-heading {
  color: var(--color-off-white);
  text-align: center;
  margin-bottom: 32px;
}

.contact__row {
  display: flex;
  gap: 24px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.contact__row .contact__field {
  flex: 1;
}

.contact__field label {
  color: var(--color-amber);
  font-weight: 700;
}

.contact__field input,
.contact__field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-near-black);
  background-color: var(--color-off-white);
  border: none;
  border-radius: 2px;
  padding: 10px 14px;
}

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

.contact__field input:focus-visible,
.contact__field textarea:focus-visible {
  outline: 2px solid var(--color-amber);
  outline-offset: 2px;
}

.contact__submit {
  display: block;
  margin: 40px auto 0;
  padding: 0;
  border: none;
  background: none;
  line-height: 0;
  cursor: pointer;
  filter: drop-shadow(0 4px 6px rgba(40, 40, 36, 0.5));
  transition: transform 0.2s var(--ease-out-quart);
}

.contact__submit img {
  width: 180px;
  height: auto;
}

.contact__submit:hover,
.contact__submit:focus-visible {
  transform: scale(1.04);
}

.contact__submit:focus-visible {
  outline: 2px solid var(--color-amber);
  outline-offset: 4px;
}

.contact__status {
  margin-top: 16px;
  font-weight: 600;
  color: var(--color-off-white);
  text-align: center;
}

.contact__status[data-state="error"] {
  color: var(--color-burnt-orange);
}

@media (max-width: 1024px) {
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .contact__photo {
    max-width: 320px;
    margin: 0 auto;
  }

  .contact .section-heading {
    text-align: center;
    margin-top: 24px;
  }
}

@media (max-width: 600px) {
  .contact__row {
    flex-direction: column;
    gap: 0;
  }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-menu) + 100);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(40, 40, 36, 0.94);
  opacity: 0;
  transition: opacity 0.2s var(--ease-out-quart);
  padding: clamp(16px, 5vw, 60px);
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(900px, 90vw);
  max-height: 90vh;
  transform: scale(0.96);
  transition: transform 0.2s var(--ease-out-quart);
}

.lightbox.is-open .lightbox__stage {
  transform: scale(1);
}

.lightbox__img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 6px solid var(--color-forest-green);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
  margin-top: 18px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-small);
  color: var(--color-near-black);
  background-color: var(--color-amber);
  padding: 10px 22px;
  text-align: center;
  max-width: 60ch;
  clip-path: polygon(0 50%, 14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%);
}

.lightbox__close,
.lightbox__nav {
  background-color: var(--color-forest-green);
  color: var(--color-off-white);
  border: 2px solid var(--color-amber);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s, transform 0.15s;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background-color: var(--color-burnt-orange);
}

.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  outline: 2px solid var(--color-amber);
  outline-offset: 3px;
}

.lightbox__close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  font-size: 26px;
  line-height: 1;
  z-index: 2;
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  font-size: 30px;
  line-height: 1;
}

.lightbox__nav:hover {
  transform: translateY(-50%) scale(1.08);
}

.lightbox__nav--prev {
  left: clamp(10px, 3vw, 40px);
}

.lightbox__nav--next {
  right: clamp(10px, 3vw, 40px);
}

@media (max-width: 768px) {
  .lightbox__close {
    top: -14px;
    right: -4px;
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .lightbox__nav {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .lightbox__nav--prev {
    left: 8px;
  }

  .lightbox__nav--next {
    right: 8px;
  }

  .lightbox__caption {
    font-size: 0.75rem;
    padding: 8px 16px;
  }
}
