:root {
  color-scheme: light;
  --ink: #191816;
  --muted: #5d5a53;
  --paper: #f7f4ec;
  --panel: #fffaf0;
  --steel: #2f3535;
  --rust: #9f3f25;
  --brass: #c78f41;
  --line: rgba(25, 24, 22, 0.16);
  --shadow: 0 18px 40px rgba(25, 24, 22, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.gallery-link {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 54px);
  color: #f9f3e4;
  background: rgba(25, 24, 22, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 250, 240, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand a {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border: 2px solid var(--brass);
  background: #fffaf0;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  min-width: 0;
  color: #fff7e9;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text small {
  color: #d5c9af;
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  color: #f4ecd9;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-color: var(--brass);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid rgba(255, 250, 240, 0.2);
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff7e9;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: clamp(72px, 10vw, 120px) clamp(18px, 5vw, 72px);
  color: #fffaf0;
  background:
    linear-gradient(90deg, rgba(17, 18, 16, 0.88), rgba(17, 18, 16, 0.48) 52%, rgba(17, 18, 16, 0.22)),
    url("assets/shop-hero.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 9vw, 7.5rem);
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-text {
  max-width: 640px;
  margin: 24px 0 0;
  color: #f0e3cb;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions,
.inventory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.button.primary {
  background: var(--brass);
  border-color: var(--brass);
}

.button.primary:hover {
  background: #dca150;
}

.button.secondary {
  color: #fff7e9;
  border-color: rgba(255, 250, 240, 0.58);
  background: rgba(47, 53, 53, 0.45);
}

.button.secondary.dark {
  color: var(--ink);
  border-color: rgba(25, 24, 22, 0.32);
  background: rgba(255, 250, 240, 0.42);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow),
.about-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.gallery-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 220px 1fr;
  min-height: 390px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(25, 24, 22, 0.08);
}

.gallery-link {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.gallery-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(25, 24, 22, 0.14);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bigfoot-card img {
  object-fit: contain;
  padding: 8px;
  background: #d5d2c9;
}

.gallery-card:nth-child(2) img,
.gallery-card:nth-child(5) img {
  object-position: 68% center;
}

.gallery-card:nth-child(3) img,
.gallery-card:nth-child(6) img {
  object-position: 34% center;
}

.gallery-card div {
  padding: 20px;
}

.gallery-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.card-action {
  display: inline-block;
  margin-top: 14px;
  color: var(--rust);
  font-weight: 800;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #ebe2d0;
  border-block: 1px solid var(--line);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.about-media {
  margin: 0;
}

.about-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(25, 24, 22, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(25, 24, 22, 0.16);
}

.about-media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.quote-section {
  background: var(--steel);
  color: #fffaf0;
}

.request-page-section {
  min-height: calc(100vh - 72px);
}

#monogram-quote {
  scroll-margin-top: 72px;
}

.quote-section .section-heading p:not(.eyebrow) {
  color: #d9cfba;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: #f4ecd9;
  font-weight: 800;
}

.quote-form .full {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  background: #fffaf0;
  border: 2px solid transparent;
  border-radius: 4px;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(199, 143, 65, 0.25);
}

.hidden-field {
  display: none;
}

.form-button {
  align-self: end;
  width: fit-content;
  min-width: 220px;
}

.form-status {
  align-self: center;
  min-height: 24px;
  margin: 0;
  color: #f4ecd9;
  font-weight: 700;
}

.form-status.is-error {
  color: #ffd3c2;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: #e8dcc5;
  background: #191816;
}

.site-footer a {
  color: #e8dcc5;
}

.footer-brand {
  display: grid;
  gap: 2px;
  text-decoration: none;
}

.footer-brand strong {
  color: #fffaf0;
}

.footer-brand span {
  color: #bfb39d;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px 16px;
}

.footer-link {
  color: #e8dcc5;
  font-weight: 800;
  text-decoration-color: rgba(232, 220, 197, 0.45);
  text-underline-offset: 4px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-icon {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  color: #fffaf0;
}

svg.footer-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.facebook-icon {
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  background: #1877f2;
  border-radius: 4px;
}

.owner-link {
  opacity: 0.72;
}

.simple-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(25, 24, 22, 0.82), rgba(25, 24, 22, 0.82)),
    url("assets/shop-hero.jpg") center / cover no-repeat;
}

.message-panel {
  width: min(720px, 100%);
  padding: clamp(28px, 6vw, 56px);
  color: #fffaf0;
  background: rgba(25, 24, 22, 0.86);
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.message-panel h1 {
  max-width: none;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
}

.message-panel p {
  color: #e8dcc5;
}

.inventory-panel {
  max-width: 820px;
}

.subpage-hero {
  min-height: 520px;
  display: flex;
  align-items: end;
  padding: clamp(72px, 10vw, 120px) clamp(18px, 5vw, 72px) clamp(52px, 7vw, 88px);
  color: #fffaf0;
  background:
    linear-gradient(180deg, rgba(25, 24, 22, 0.22), rgba(25, 24, 22, 0.9)),
    url("assets/shop-hero.jpg") center / cover no-repeat;
}

.flags-hero {
  background:
    linear-gradient(180deg, rgba(25, 24, 22, 0.18), rgba(25, 24, 22, 0.9)),
    url("assets/flag-squarebody-large.jpg") center / cover no-repeat;
}

.bigfoot-hero {
  background:
    linear-gradient(180deg, rgba(25, 24, 22, 0.18), rgba(25, 24, 22, 0.9)),
    url("assets/bigfoot-cover-large.jpg") center 42% / cover no-repeat;
}

.business-hero {
  background:
    linear-gradient(180deg, rgba(25, 24, 22, 0.18), rgba(25, 24, 22, 0.9)),
    url("assets/business-septic-plumbing-large.jpg") center / cover no-repeat;
}

.chevy-hero {
  background:
    linear-gradient(180deg, rgba(25, 24, 22, 0.18), rgba(25, 24, 22, 0.9)),
    url("assets/chevy-truck-c10-large.jpg") center / cover no-repeat;
}

.customer-hero {
  background:
    linear-gradient(180deg, rgba(25, 24, 22, 0.18), rgba(25, 24, 22, 0.9)),
    url("assets/customer-dale-crown-large.jpg") center / cover no-repeat;
}

.monogram-hero {
  background:
    linear-gradient(180deg, rgba(25, 24, 22, 0.18), rgba(25, 24, 22, 0.9)),
    url("assets/monogram-raw-stewart-large.jpg") center / cover no-repeat;
}

.subpage-hero > div {
  width: min(820px, 100%);
}

.subpage-hero h1 {
  max-width: none;
}

.subpage-hero p:not(.eyebrow) {
  max-width: 680px;
  color: #f0e3cb;
  font-size: 1.12rem;
}

.thumb-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.thumb-strip.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.thumb-strip.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.thumb-strip.auto-up {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.thumb-strip a {
  overflow: hidden;
  display: grid;
  gap: 0;
  color: var(--ink);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(25, 24, 22, 0.08);
}

.thumb-strip a:hover {
  box-shadow: 0 16px 30px rgba(25, 24, 22, 0.14);
}

.thumb-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.thumb-strip span {
  padding: 14px 16px;
  font-weight: 800;
}

.large-gallery {
  display: grid;
  gap: 36px;
}

.process-panel {
  margin: 0 0 24px;
  padding: clamp(20px, 4vw, 34px);
  background: #ebe2d0;
  border-left: 5px solid var(--rust);
}

.process-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.process-panel p:not(.eyebrow) {
  max-width: 860px;
  color: var(--muted);
  font-size: 1.05rem;
}

.large-photo {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: stretch;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(25, 24, 22, 0.08);
  scroll-margin-top: 92px;
}

.large-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  background: #e5dfd2;
}

.large-photo div {
  display: grid;
  align-content: center;
  padding: clamp(22px, 4vw, 42px);
}

.large-photo p:not(.eyebrow) {
  color: var(--muted);
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .hero {
    min-height: 760px;
    background:
      linear-gradient(180deg, rgba(17, 18, 16, 0.9), rgba(17, 18, 16, 0.62) 60%, rgba(17, 18, 16, 0.3)),
      url("assets/shop-hero.jpg") center / cover no-repeat;
  }

  .gallery-grid,
  .about-section,
  .quote-form,
  .large-photo {
    overflow: visible;
    display: block;
    grid-template-columns: 1fr;
  }

  .large-photo img {
    display: block;
    height: auto;
    min-height: 0;
  }

  .large-photo div {
    position: relative;
    z-index: 1;
    display: block;
    background: var(--panel);
  }

  .quote-form .full {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .brand-text strong {
    font-size: 0.94rem;
  }

  .hero {
    min-height: 700px;
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .hero-actions,
  .inventory-actions,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .button,
  .form-button {
    width: 100%;
  }

  .gallery-card {
    grid-template-rows: 190px 1fr;
    min-height: 0;
  }

  .subpage-hero {
    min-height: 460px;
  }

  .thumb-strip {
    grid-template-columns: 1fr;
  }

  .thumb-strip.three-up {
    grid-template-columns: 1fr;
  }

  .thumb-strip.four-up {
    grid-template-columns: 1fr;
  }

  .thumb-strip.auto-up {
    grid-template-columns: 1fr;
  }
}
