:root {
  --ink: #1e1b18;
  --muted: #6f685f;
  --paper: #f7f3ec;
  --paper-2: #eee6d9;
  --wood: #8a5a33;
  --wood-dark: #4f2f1a;
  --gold: #c29b62;
  --charcoal: #151515;
  --line: #d8ccbb;
  --disabled-fg: #99948e;
  --disabled-bg: #dfdbd5;
  --shell: min(1180px, calc(100% - 36px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.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; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.utility-bar { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; max-width: 260px; }
.brand img { width: 210px; height: 98px; object-fit: contain; }
.utility-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; font-size: .92rem; }
.utility-nav a:not(.feature-disabled):hover, .utility-nav a:not(.feature-disabled):focus-visible { color: var(--wood); }
.cart-link { border-left: 1px solid var(--line); padding-left: 18px; }

.main-nav-wrap { background: var(--charcoal); border-top: 4px solid var(--wood); }
.main-nav { display: flex; align-items: stretch; flex-wrap: wrap; }
.main-nav a { color: #fff; padding: 15px 18px; font-weight: 700; letter-spacing: .02em; font-size: .94rem; }
.main-nav a:not(.feature-disabled):hover, .main-nav a:not(.feature-disabled):focus-visible { background: var(--wood); }

/* FEATURE FLAGS ---------------------------------------------------------
   Single feature: remove .feature-disabled and provide its actual href/action.
   All features: add .features-live to <body>. This removes the subdued styling en masse.
   The class is intentionally reusable on links, buttons, icons, etc.
------------------------------------------------------------------------ */
.feature-disabled {
  position: relative;
  color: var(--disabled-fg) !important;
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: .7;
}
.main-nav .feature-disabled { background: #242424; color: #7c7c7c !important; }
.features-live .feature-disabled {
  color: inherit !important;
  filter: none;
  opacity: 1;
  cursor: pointer;
}
.main-nav-wrap .features-live .feature-disabled,
.features-live .main-nav .feature-disabled { color: #fff !important; background: transparent; }
.feature-disabled::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 50;
  left: 50%;
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: 260px;
  transform: translateX(-50%) translateY(4px);
  padding: 8px 10px;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.35;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: .15s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.feature-disabled:hover::after, .feature-disabled:focus-visible::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.features-live .feature-disabled::after { display: none; }

.hero { display: grid; grid-template-columns: .88fr 1.45fr; gap: 38px; align-items: center; padding-block: 42px; }
.hero-copy { padding: 18px 4px; }
.eyebrow { margin: 0 0 8px; color: var(--wood); text-transform: uppercase; letter-spacing: .13em; font-size: .76rem; font-weight: 800; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
h1 { font-size: clamp(2.45rem, 5vw, 4.8rem); margin: 0 0 20px; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); margin: 0; }
.hero-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 1px solid transparent; font-weight: 800; }
.button-primary { background: var(--wood-dark); color: #fff; }
.button-primary:hover, .button-primary:focus-visible { background: var(--wood); }
.button-secondary { border-color: var(--wood-dark); color: var(--wood-dark); background: #fff; }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--paper); }

.carousel { position: relative; min-width: 0; background: #111; overflow: hidden; box-shadow: 0 20px 40px rgba(49,31,17,.18); }
.carousel-track { position: relative; aspect-ratio: 16 / 9; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.carousel-slide.is-active { opacity: 1; pointer-events: auto; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-caption { position: absolute; inset: auto 0 0 0; padding: 26px 58px 18px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.88)); }
.slide-caption strong { display: block; font: 700 1.5rem/1.1 Georgia, serif; }
.slide-caption small { display: block; margin-top: 4px; opacity: .9; }
.carousel-arrow { position: absolute; z-index: 5; top: 50%; transform: translateY(-50%); width: 42px; height: 54px; border: 0; background: rgba(0,0,0,.48); color: #fff; font-size: 2rem; cursor: pointer; }
.carousel-arrow:hover, .carousel-arrow:focus-visible { background: rgba(79,47,26,.94); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-dots { position: absolute; z-index: 5; right: 16px; bottom: 15px; display: flex; gap: 8px; }
.carousel-dot { width: 9px; height: 9px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.carousel-dot.is-active { background: #fff; }

.intro-band { background: var(--paper); border-block: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.intro-grid > div { padding: 24px 28px; border-right: 1px solid var(--line); }
.intro-grid > div:last-child { border-right: 0; }
.intro-grid strong { display: block; font-family: Georgia, serif; font-size: 1.2rem; }
.intro-grid span { color: var(--muted); font-size: .92rem; }

.categories { padding-block: 64px 72px; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading p:last-child { color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { position: relative; min-height: 195px; overflow: hidden; background: #2d2924; isolation: isolate; }
.category-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 38%, rgba(0,0,0,.82)); transition: .25s ease; }
.category-card img { width: 100%; height: 100%; min-height: 195px; object-fit: cover; transition: transform .32s ease; }
.category-card span { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; color: #fff; font-weight: 850; font-size: 1.04rem; letter-spacing: .01em; }
.category-card:hover img, .category-card:focus-visible img { transform: scale(1.045); }
.category-card:hover::after, .category-card:focus-visible::after { background: linear-gradient(transparent 25%, rgba(79,47,26,.94)); }
.category-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #6d513b, #231b16); }
.category-placeholder div { font-family: Georgia, serif; font-size: 6rem; color: rgba(255,255,255,.1); font-weight: 900; }

.custom-callout { padding-block: 54px; background: linear-gradient(100deg, var(--wood-dark), #2f2118); color: #fff; }
.custom-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.custom-inner > div { max-width: 760px; }
.custom-inner p:not(.eyebrow) { color: #eadfce; }
.custom-callout .eyebrow { color: #dfbd8a; }
.custom-callout .button-primary { background: #fff; color: var(--wood-dark); white-space: nowrap; }
.custom-callout .button-primary:hover { background: var(--paper-2); }

.site-footer { background: #101010; color: #ded9d2; }
.newsletter { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding-block: 40px; }
.newsletter h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.55rem); }
.newsletter-form { display: flex; min-width: min(100%, 420px); }
.newsletter-form input { min-width: 250px; flex: 1; min-height: 46px; border: 1px solid #464646; background: #fff; padding: 0 14px; }
.newsletter-form button { min-height: 46px; border: 0; padding: 0 18px; font-weight: 800; }
.footer-main { border-top: 1px solid #2f2f2f; border-bottom: 1px solid #2f2f2f; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr 1fr; gap: 42px; padding-block: 42px; }
.footer-grid h3 { color: #fff; font-size: 1.12rem; margin: 0 0 16px; }
.footer-grid section > a { display: block; padding: 4px 0; font-size: .9rem; }
.footer-grid section > a:not(.feature-disabled):hover { color: #fff; text-decoration: underline; }
.social-list { display: flex; flex-wrap: wrap; gap: 8px; }
.social-list a { border: 1px solid #353535; padding: 6px 9px !important; font-size: .78rem !important; }
address { margin-top: 18px; color: #aaa39b; font-style: normal; font-size: .9rem; }
.copyright { display: flex; justify-content: space-between; gap: 24px; padding-block: 18px; color: #8f8a84; font-size: .82rem; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  :root { --shell: min(100% - 24px, 1180px); }
  .utility-bar { align-items: flex-start; flex-direction: column; padding-block: 14px; min-height: 0; }
  .brand img { width: 170px; height: 78px; }
  .utility-nav { justify-content: flex-start; }
  .main-nav { overflow-x: auto; flex-wrap: nowrap; }
  .main-nav a { white-space: nowrap; padding-inline: 14px; }
  .hero { padding-block: 26px; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.6rem); }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .intro-grid > div:last-child { border-bottom: 0; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .custom-inner { align-items: flex-start; flex-direction: column; }
  .newsletter-form { width: 100%; min-width: 0; }
  .newsletter-form input { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .copyright { flex-direction: column; gap: 4px; }
}
@media (max-width: 430px) {
  .category-grid { grid-template-columns: 1fr; }
  .category-card, .category-card img { min-height: 225px; }
  .slide-caption { padding-inline: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* V1.1: large, non-interactive logo watermark for future category content.
   Put future headings, images, and product cards INSIDE .valholl-watermark.
   The translucent ::before layer sits behind that content, not over it. */
.valholl-watermark {
  position: relative; isolation: isolate;
  min-height: clamp(360px, 67vw, 850px);
  margin-top: 24px;
  display: flow-root;
}
.valholl-watermark::before {
  content: ""; position: absolute; inset: 0;
  background: url("assets/Valholl_Woodworks_Logo_03.png") center / contain no-repeat;
  opacity: .065; pointer-events: none; z-index: -1;
}
.valholl-watermark > * { position: relative; z-index: 1; }
