/* ============================================
   Classy Cabinets — tokens
   ============================================ */
:root {
  --charcoal: #2B2622;
  --cream: #F1ECE2;
  --walnut: #6B4226;
  --brass: #B08D57;
  --slate: #5B6660;
  --ink: #1A1815;
  --white:#FFFFFF;
  --clay:#B66A50;
  --black: #000000;

  --font-display: "Fraunces", serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --wrap: 1140px;
  --maxw: 1680px;
  --radius: 3px;
  --gutter: 0.5rem;
}

@media (min-width: 860px) {
  :root { --gutter: 0.5rem; }
}

/* ============================================
   Reset
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }
select { font: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--charcoal);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.wrap {
  padding: 0 var(--gutter);
  max-width: var(--maxw);
  margin-inline: auto;
}

.mono { font-family: var(--font-mono); }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}
.section-sub {
  max-width: 46em;
  color: var(--slate);
  margin: 0 0 2.5rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--charcoal);
  color: var(--cream);
}
.btn-primary:hover { background: var(--clay); }
.btn-ghost {
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn-ghost:hover { background: var(--clay); border-color: var(--clay); color: var(--cream); }
.btn-buy {
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-img {
  height: 36px;
  width: auto;
}
.wordmark span { color: var(--clay); }
.wordmark .wordmark-primary { color: #000000; }
.main-nav {
  display: none;
  gap: 1.5rem;
}
.main-nav a {
  font-size: 0.92rem;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 2px;
}
.main-nav a:hover { color: var(--walnut); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.65rem 0.5rem;
}
.nav-toggle span {
  width: 17px;
  height: 1.5px;
  background: var(--charcoal);
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: var(--cream);
}
.mobile-nav.open { max-height: 260px; }
.mobile-nav a {
  padding: 0.9rem 1.5rem;
  border-top: 1px solid rgba(43,38,34,0.08);
  font-size: 0.95rem;
}

@media (min-width: 860px) {
  .main-nav { display: flex; }
  .nav-toggle, .mobile-nav { display: none; }
}

/* ============================================
   Headline/Main Section (right under the header)
   ============================================ */
.showcase {
  padding: var(--gutter);
  background: #FFFFFF;
  max-width: var(--maxw);
  margin-inline: auto;
}
.showcase-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.showcase-photo {
  width: 100%;
  height: 640px;
  object-fit: cover;
  display: block;
}
.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43,38,34,0.25) 0%, rgba(43,38,34,0.6) 100%);
}
.showcase-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 700px;
  margin-inline: 0;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.25rem;
}
.showcase h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  color: var(--cream);
}
.showcase-lede {
  font-size: 1.1rem;
  color: rgba(241,236,226,0.85);
  max-width: 42em;
  margin: 0 0 2.25rem;
}
.showcase-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.dim-line {
  position: absolute;
  right: 6%;
  bottom: 3.5rem;
  width: 180px;
  height: 1px;
  background: var(--walnut);
  opacity: 0.55;
  display: none;
}
.dim-line::before, .dim-line::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 1px;
  height: 11px;
  background: var(--walnut);
}
.dim-line::before { left: 0; }
.dim-line::after { right: 0; }
.dim-label {
  position: absolute;
  top: -1.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--walnut);
  white-space: nowrap;
}
@media (min-width: 760px) { .dim-line { display: block; } }

/* ============================================
   Categories — catalog-strip layout
   ============================================ */
.categories { padding: 5.5rem 0; background: #FFFFFF; }
.category-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}
.category-card {
  display: block;
  background: #fff;
}
.category-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.category-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.category-img-base { opacity: 1; }
.category-img-detail { opacity: 0; }
.category-card:hover .category-img-detail { opacity: 1; }
.category-body {
  padding: 1rem 0 0;
  text-align: center;
}
.category-body h3 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0;
}
.category-body p { display: none; }

/* ============================================
   Process section ("why the price is the price" +
   "how an order becomes a kitchen" + pricing anchor/CTA,
   all merged into one section on the homepage)
   ============================================ */
.process-section { padding: 6rem 0; }
.process-intro {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 860px) {
  .process-intro { grid-template-columns: 1fr 1fr; }
}
.process-copy p { color: var(--slate); max-width: 34em; }
.process-list { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.9rem; }
.process-list li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.95rem;
}
.process-list .mono { color: var(--brass); font-size: 0.78rem; }

.subsection-heading {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 2rem;
}
.process-steps-block {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(43,38,34,0.1);
}

.pricing-block {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(43,38,34,0.1);
}

.pricing-anchor {
  margin: 0 0 1.25rem;
  color: var(--charcoal);
}
.pricing-anchor strong { color: var(--walnut); }

.process-diagram { position: relative; }
.joint-illustration {
  position: relative;
  height: 260px;
  background: var(--cream);
  border: 1px solid rgba(43,38,34,0.15);
  border-radius: var(--radius);
  display: flex;
}
.joint-panel { flex: 1; }
.joint-panel-a { background: repeating-linear-gradient(90deg, #cdb48a, #cdb48a 18px, #bfa377 18px, #bfa377 20px); clip-path: polygon(0 0, 85% 0, 100% 20%, 100% 40%, 85% 40%, 100% 60%, 100% 80%, 85% 100%, 0 100%); }
.joint-panel-b { background: repeating-linear-gradient(90deg, #a9895d, #a9895d 18px, #997a52 18px, #997a52 20px); clip-path: polygon(15% 0, 100% 0, 100% 100%, 15% 100%, 0 80%, 0 60%, 15% 40%, 0 40%, 0 20%); }
.joint-label {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: rgba(241,236,226,0.9);
  padding: 0.25rem 0.6rem;
  white-space: nowrap;
}
.dim-tick { display: none; }

.process-steps {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--brass);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.75rem;
}
.process-steps h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.process-steps p { color: var(--slate); margin: 0; max-width: 32em; }
@media (min-width: 760px) {
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
@media (min-width: 1100px) {
  .process-steps { grid-template-columns: repeat(5, 1fr); }
}

/* ============================================
   Contact
   ============================================ */
.contact { padding: 6rem 0; }
.contact-inner { max-width: var(--maxw); }
.contact p { color: var(--slate); margin: 0 0 1.75rem; }
.contact-alt { margin-top: 1.25rem !important; font-size: 0.9rem; }
.contact-alt a { text-decoration: underline; text-underline-offset: 3px; }

.visually-hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 520px) {
  .form-row-split { grid-template-columns: 1fr 1fr; }
}
.form-row-split > div { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-form label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(43,38,34,0.2);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.contact-form textarea { resize: vertical; }
.form-hint { color: var(--slate); font-size: 0.85rem; margin: 0 0 0.6rem; line-height: 1.45; }
.contact-form button { align-self: flex-start; margin-top: 0.5rem; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  padding: 2.5rem 0;
  background: var(--black);
  color: rgba(241,236,226,0.7);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.footer-inner .wordmark-footer { color: var(--cream); }
.footer-inner .wordmark-footer span { color: var(--clay); }
.footer-inner .wordmark-footer .wordmark-primary { color: var(--clay); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.82rem;
}
.footer-links a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.footer-note { font-size: 0.82rem; margin: 0; }
.footer-contact { font-size: 0.82rem; margin: 0; }
.footer-contact a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact a:hover { color: var(--cream); }
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; }
}

/* ============================================
   Catalog page (cabinets.html)
   ============================================ */
.catalog-header {
  padding: 4rem var(--gutter) 1.5rem;
  max-width: var(--maxw);
  margin-inline: auto;
}
.catalog-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
.catalog-intro {
  color: var(--slate);
  font-size: 1.05rem;
  margin: 0;
}
.catalog {
  padding: 4rem 0 6rem;
  background: #FFFFFF;
}
.catalog-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding: 0 var(--gutter);
}
@media (min-width: 640px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}
.catalog-card { display: block; }
.catalog-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.catalog-swatch {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swatch-shaker { background: linear-gradient(135deg, #cdb48a, #a9895d); }
.swatch-flat { background: linear-gradient(135deg, #6b4226, #3f2716); }
.swatch-inset { background: linear-gradient(135deg, #b8c2ab, #8b9a7c); }
.swatch-slab { background: linear-gradient(135deg, #e3d3ab, #b89e6d); }

.catalog-caption {
  padding: 1rem 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================
   Product detail page (product.html)
   ============================================ */
.product-detail {
  padding: 3rem var(--gutter) 6rem;
  background: #FFFFFF;
}
.product-detail-inner { max-width: var(--wrap); margin: 0 auto; }

.back-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 2.5rem;
}
.back-link:hover { color: var(--walnut); }

.product-not-found { display: none; max-width: 32em; }
.product-not-found h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.product-not-found p { color: var(--slate); margin: 0 0 1.75rem; }

.product-layout {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .product-layout { grid-template-columns: 1.1fr 1fr; align-items: start; }
}

.product-media { position: sticky; top: 96px; }
.product-swatch {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(43,38,34,0.12);
  border-radius: var(--radius);
}

.product-info .eyebrow { margin: 0 0 0.85rem; }
.product-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}
.product-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--walnut);
  margin: 0 0 1.5rem;
}
.product-description {
  color: var(--slate);
  max-width: 38em;
  margin: 0 0 2rem;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0 0 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(43,38,34,0.1);
}
.product-specs li {
  font-size: 0.92rem;
  color: var(--charcoal);
  padding-left: 1.1rem;
  position: relative;
}
.product-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--brass);
  border-radius: 50%;
}

.product-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.finish-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.finish-row label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}
.finish-row select {
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(43,38,34,0.2);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 0.95rem;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0 0 0.25rem;
}
.product-price [data-price] {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--charcoal);
}
.price-note {
  font-size: 0.82rem;
  color: var(--slate);
}
.product-alt-cta {
  font-size: 0.85rem;
  color: var(--slate);
  margin: 1rem 0 0;
}
.product-alt-cta a { text-decoration: underline; text-underline-offset: 3px; }

.shipping-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--walnut);
  margin: 0.85rem 0 0;
}

.product-tabs { margin-bottom: 2rem; }
.tab-list {
  display: flex;
  gap: 1.75rem;
  border-bottom: 1px solid rgba(43,38,34,0.12);
  margin-bottom: 1.5rem;
}
.tab-btn {
  padding: 0.1rem 0 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab-btn:hover { color: var(--walnut); }
.tab-btn.is-active { color: var(--charcoal); border-bottom-color: var(--brass); }
/* Catalog buying-guide: active tab in terracotta clay (matches the footer wordmark) */
.guide-tabs .tab-btn.is-active { color: var(--clay); border-bottom-color: var(--clay); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.spec-table td {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(43,38,34,0.08);
  vertical-align: top;
}
.spec-table td:first-child { color: var(--slate); width: 60%; padding-right: 1rem; }
.spec-table td:last-child { color: var(--charcoal); font-weight: 500; text-align: right; }

/* ============================================
   FAQ page (faq.html)
   ============================================ */
.faq-list-section { padding: 1.5rem 0 6rem; background: #FFFFFF; }
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(43,38,34,0.1);
}
.faq-item {
  border-bottom: 1px solid rgba(43,38,34,0.1);
  padding: 1.1rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--brass);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p {
  color: var(--slate);
  margin: 0.9rem 0 0;
}
.faq-item a { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================
   Policies page (policies.html)
   ============================================ */
.policy-draft-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--clay);
  margin: 0 0 1.75rem;
}
.policy-jumplinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.88rem;
}
.policy-jumplinks a { text-decoration: underline; text-underline-offset: 3px; color: var(--walnut); }

.policy-section { padding: 3rem 0; background: #FFFFFF; }
.policy-section:nth-of-type(even) { background: var(--cream); }
.policy-inner {}
.policy-inner h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
}
.policy-inner h3:first-of-type { margin-top: 0.5rem; }
.policy-inner p { color: var(--slate); margin: 0 0 0.5rem; }
.policy-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--slate);
  margin: 0.5rem 0 0;
}
.policy-list li { padding-left: 1.1rem; position: relative; }
.policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--brass);
  border-radius: 50%;
}
.policy-placeholder-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--clay);
  margin-top: 1rem !important;
}
.policy-footer-note p {
  font-size: 0.85rem;
  font-style: italic;
}

/* ============================================
   Scroll reveal
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================
   Catalog decision guide (cabinets.html)
   ============================================ */
.catalog-guide { margin-top: 0; }
.catalog-guide-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  white-space: nowrap;
}
.catalog-guide-intro {
  color: var(--slate);
  font-size: 1.05rem;
  margin: 0 0 2.25rem;
}
.guide-tabs { margin-top: 0.5rem; }
.guide-tabs .tab-list { flex-wrap: wrap; gap: 1.5rem 1.75rem; }
.guide-panel-intro {
  color: var(--slate);
  margin: 0 0 2rem;
}
.guide-panel-intro a { text-decoration: underline; text-underline-offset: 2px; }
.guide-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .guide-grid { grid-template-columns: repeat(3, 1fr); }
}
.guide-card { display: block; }
.guide-card .catalog-caption { text-align: left; padding-top: 0.9rem; }
.guide-card-note {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0.55rem 0 0;
  max-width: 34em;
}

/* Decision-guide photo-space placeholders (swap for real photos any time) */
.swatch-framed { background: linear-gradient(135deg, #cdb48a, #8b6f47); }
.swatch-frameless { background: linear-gradient(135deg, #e6e0d5, #b3a89a); }
.swatch-plywood { background: linear-gradient(135deg, #d8c39a, #b1935f); }
.swatch-pvc { background: linear-gradient(135deg, #f4f1ea, #d5cec0); }
.swatch-mdf { background: linear-gradient(135deg, #b7a99a, #877a6b); }
.swatch-hardwood { background: linear-gradient(135deg, #7a4a28, #452817); }
.swatch-hinge-concealed { background: linear-gradient(135deg, #9aa3a0, #5b6660); }
.swatch-hinge-faceframe { background: linear-gradient(135deg, #b3907d, #6b4226); }
.swatch-hinge-inset { background: linear-gradient(135deg, #c2a878, #87683f); }
.swatch-hinge-specialty { background: linear-gradient(135deg, #8f9a94, #434f49); }
.swatch-raised { background: linear-gradient(135deg, #d3c09a, #9f7e51); }


/* Door Style tab: show the full door photo inside the square (no crop) */
#panel-doorstyle .catalog-media { background: var(--cream); }
#panel-doorstyle .catalog-swatch { object-fit: contain; }

/* Certifications page — badge grid */
.cert-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin: 2rem 0 1.5rem;
}
@media (min-width: 640px) {
  .cert-grid { grid-template-columns: 1fr 1fr; }
}
.cert-badge-wrap {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.25rem;
}
.cert-badge { max-height: 150px; max-width: 260px; width: auto; height: auto; }
.cert-item h3 { margin: 0 0 0.5rem; }


/* Storage Type tab — placeholder swatches (swap for photos when available) */
.swatch-pantry { background: linear-gradient(135deg, #cdb48a, #8b6f47); }
.swatch-cabinet { background: linear-gradient(135deg, #b3907d, #6b4226); }
.swatch-drawers { background: linear-gradient(135deg, #d3c09a, #9f7e51); }


/* "Default selection" badge — clay check + label, bottom-right of a photo */
.default-badge {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255,255,255,0.94);
  color: var(--charcoal);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.14);
}
.default-check { color: var(--clay); font-weight: 700; font-size: 0.85rem; line-height: 1; }

/* Hinges tab: show the full hinge photo inside the square (like door styles) */
#panel-hinges .catalog-media { background: var(--cream); }
#panel-hinges .catalog-swatch { object-fit: contain; }

/* Storage: corner-unit placeholder swatch */
.swatch-corner { background: linear-gradient(135deg, #b7ad9e, #6b6660); }

/* Color tab swatches (solid finish samples) */
.swatch-color-white { background: #F4F1EA; }
.swatch-color-cream { background: #E7DFCF; }
.swatch-color-greige { background: #B3A896; }
.swatch-color-sage { background: #8B9A7C; }
.swatch-color-navy { background: #2C3A4A; }
.swatch-color-charcoal { background: #3A3632; }
.swatch-color-oak { background: #C8A96A; }
.swatch-color-walnut { background: #5A3A22; }


/* Finish tab — major finish-type placeholder swatches */
.swatch-finish-laminate { background: linear-gradient(135deg, #ece7dd, #cfc7b8); }
.swatch-finish-painted { background: linear-gradient(135deg, #9aa78a, #7c8a6c); }
.swatch-finish-wood { background: linear-gradient(135deg, #a9895d, #5a3a22); }


/* ============================================
   Hero eyebrow in clay + Process / Thank-you pages
   ============================================ */
.showcase .eyebrow, .eyebrow-clay { color: var(--clay); }
.showcase .eyebrow { font-weight: 700; font-size: 1rem; } /* 25% larger than the base 0.8rem */

.page-body { padding: 1.5rem 0 6rem; background: #FFFFFF; }
.about-block { margin-bottom: 4rem; }
.about-block p { color: var(--slate); font-size: 1.05rem; margin: 0 0 1rem; }
.about-block p:last-child { margin-bottom: 0; }

.process-flow { display: grid; gap: 2.5rem; margin: 0; padding: 0; list-style: none; }
.process-flow li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: baseline; }
.process-flow .step-num { margin: 0; color: var(--clay); }
.process-flow h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.process-flow p { color: var(--slate); margin: 0; }
.process-flow a, .about-block a { text-decoration: underline; text-underline-offset: 3px; }
.process-flow-compact { gap: 1.75rem; }

.thanks-next { margin-top: 3.5rem; }
.page-cta { margin-top: 3.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.process-more { margin: 2.5rem 0 0; }
.process-more a { color: var(--clay); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.catalog-header .page-cta { margin-bottom: 4.5rem; }

/* ============================================
   "Built for anyone" audience text (inside the categories section)
   ============================================ */
.audience-blurb { margin: 0 0 3rem; max-width: none; }
.audience-blurb h3 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--clay);
  margin: 0 0 0.75rem;
}
.audience-blurb p { color: var(--slate); font-size: 1.05rem; margin: 0 0 1rem; max-width: none; }
.audience-blurb .audience-perk { font-family: var(--font-display); font-size: 1.25rem; color: var(--charcoal); margin: 0; }

/* Catalog: renderings disclaimer */
.catalog-disclaimer { font-size: 0.9rem; color: var(--slate); font-style: italic; margin: -0.75rem 0 2rem; }
.catalog-disclaimer a, .catalog-intro-link { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
.pricing-block .about-block { margin-bottom: 2rem; }

/* Hero lede: each sentence group holds on one line on desktop; wraps normally on phones */
.showcase-lede { max-width: none; }
.showcase-lede .lede-line { display: block; }
@media (min-width: 1000px) {
  .showcase-inner { max-width: 1000px; }
  .showcase-lede .lede-line { white-space: nowrap; }
}
.process-section > .process-steps-block:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* Materials tab: finish options listed under a core material */
.material-options { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.material-options li { color: var(--slate); font-size: 0.95rem; line-height: 1.5; padding-left: 0.9rem; position: relative; }
.material-options li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 4px; height: 4px; background: var(--clay); border-radius: 50%; }
.material-options strong { color: var(--charcoal); font-weight: 600; }
