/* Brand color palette lives in css/themes/*.css (one :root block per theme, same
   variable names) so _Layout.cshtml can swap the active theme's stylesheet without
   touching this file. See css/themes/default.css for the variable list. */

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.display {
  letter-spacing: -0.01em;
}

.mono {
  letter-spacing: 0.02em;
}

/* Canonical heading for non-hero pages (generic CMS pages, Cart, Search, Privacy, Error, etc.) */
.page-title {
  font-size: 1.75rem;
  font-weight: 500;
}

/* CMS-authored body content (Page.cshtml generic pages, About.cshtml) */
.cms-content {
  line-height: 1.8;
}

.cms-content > *:first-child {
  margin-top: 0;
}

.cms-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.375rem;
  font-weight: 600;
}

.cms-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.cms-content p {
  margin-bottom: 1rem;
}

.cms-content ul,
.cms-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.cms-content li {
  margin-bottom: 0.5rem;
}

.cms-content img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 3px;
}

.cms-content table {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}

.cms-content table th,
.cms-content table td {
  padding: 0.75rem;
  border: 1px solid var(--line);
}

.cms-content table th {
  background-color: var(--paper);
  font-weight: 600;
}

.cms-content blockquote {
  padding-left: 1rem;
  border-left: 4px solid var(--amber);
  margin: 1rem 0;
  font-style: italic;
  color: var(--steel);
}

/* Rich-text article body (Articles/Detail.cshtml, TinyMCE-authored) — same
   normalized heading scale as .cms-content, extended with an h1 step since
   article bodies can contain one. */
.article-content {
  line-height: 1.8;
  font-size: 1.1rem;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content h1 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.article-content h2 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.375rem;
  font-weight: 600;
}

.article-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.article-content p {
  margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 4px solid var(--amber);
  padding-left: 1rem;
  margin-left: 0;
  margin-bottom: 1rem;
  font-style: italic;
  color: var(--steel);
}

.article-content code {
  background-color: var(--paper);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-family: 'Courier New', monospace;
}

.article-content pre {
  background-color: var(--paper);
  padding: 1rem;
  border-radius: 0.25rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 3px;
}

.article-content table {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}

.article-content table th,
.article-content table td {
  padding: 0.75rem;
  border: 1px solid var(--line);
}

.article-content table th {
  background-color: var(--paper);
  font-weight: 600;
}

/* Shared card/thumbnail image treatments (Articles Index/Search/Detail card grids) */
.card-img-200 {
  height: 200px;
  object-fit: cover;
}

.card-img-150 {
  height: 150px;
  object-fit: cover;
}

.img-cover {
  object-fit: cover;
}

.article-featured-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.card-img-placeholder {
  height: 200px;
}

.card-img-placeholder .bi {
  font-size: 3rem;
}

/* Small fixed-size thumbnail (Cart item rows) */
.item-thumb {
  width: 80px;
  height: 80px;
  object-fit: contain;
  object-position: center;
  background-color: var(--white);
}

/* Security-question answer input (Contact + Cart quote forms) */
.challenge-input {
  width: 110px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem var(--neutral-off-white), 0 0 0 0.25rem color-mix(in srgb, var(--amber) 40%, transparent);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  background-color: var(--paper-light);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Sticky footer: the content wrapper grows to fill any leftover viewport
   height so the footer stays pinned to the bottom on short pages instead of
   floating with a gap beneath it. */
body > .container {
  flex: 1 0 auto;
  width: 100%;
}

footer.footer {
  flex-shrink: 0;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.01em;
}

a {
  color: var(--primary-navy);
}

a:hover,
a:focus {
  color: var(--accent-red);
  text-decoration: underline;
}

/* Buttons rendered as <a> (asp-page links, "btn" tag helpers) shouldn't pick up the
   underline above - .btn already sets text-decoration: none, but a:hover's higher
   specificity during hover was overriding it. */
.btn:hover,
.btn:focus,
.btn:active {
  text-decoration: none;
}

.bg-brand {
  background-color: var(--nav-bg, var(--paper-light));
  border-bottom: 1px solid var(--line);
}

.navbar-brand {
  display: flex;
  align-items: center;
  line-height: 1.15;
}

.navbar-brand span {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--ink);
}

.navbar-brand .brand-tagline {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
  margin-top: 2px;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--ink) !important;
  font-weight: 500;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 1px solid transparent;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
  color: var(--amber) !important;
  border-bottom-color: var(--amber);
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link[aria-current="page"] {
  color: var(--amber-deep) !important;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 0.25rem;
}

.navbar {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar .badge.bg-warning {
  background-color: var(--amber) !important;
  color: var(--white);
}

.brand-logo {
  height: 40px;
  width: auto;
}

.navbar-light .navbar-nav .nav-link.cart-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--ink);
  color: var(--white) !important;
  padding: 10px 16px;
  border-radius: 2px;
  border-bottom: none !important;
}

.navbar-light .navbar-nav .nav-link.cart-btn:hover,
.navbar-light .navbar-nav .nav-link.cart-btn:focus {
  background-color: var(--ink-soft);
  color: var(--white) !important;
  border-bottom: none !important;
}

.cart-btn .badge {
  margin: 0;
}

.dropdown-menu {
  border-color: var(--line);
  border-radius: 2px;
}

.dropdown-item {
  color: var(--ink);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--paper);
  color: var(--ink);
}

.dropdown-item:active,
.dropdown-item.active {
  background-color: var(--ink);
  color: var(--white);
}

.btn-primary {
  background-color: var(--primary-navy);
  border-color: var(--primary-navy);
  color: white;
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  color: white;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--amber) 35%, transparent);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--amber) 30%, transparent);
}

.btn-outline-primary {
  color: var(--primary-navy);
  border-color: var(--primary-navy);
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--primary-navy);
  border-color: var(--primary-navy);
  color: white;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-outline-secondary {
  color: var(--accent-red);
  border-color: var(--accent-red);
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  color: white;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--amber) 20%, transparent);
}

.btn-outline-secondary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px color-mix(in srgb, var(--amber) 15%, transparent);
}

.form-label.required::after {
  content: " *";
  color: #dc3545;
  font-weight: 600;
}

/* Flush hairline grid of product cards, like a spec sheet.
   Each card draws its own full border and is pulled -1px up/left so
   adjoining cards' borders overlap into a single hairline (the container
   compensates with 1px top/left padding). Only cells with an actual card
   draw a border, so an empty trailing cell in a partial row is genuinely
   blank rather than showing the grid's background as a gray box - and the
   column count stays fixed regardless of item count, so cards in a partial
   row are never wider than cards in a full row. */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1px 0 0 1px;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background-color: var(--paper-light);
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--line);
  margin: -1px 0 0 -1px;
}

.product-card .card-full-summary {
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 2.75rem;
  background-color: var(--paper-light);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  z-index: 1;
  pointer-events: none;
}

.product-card:hover .card-full-summary {
  opacity: 1;
  pointer-events: auto;
}

.product-card:has(.card-full-summary):hover .card-img,
.product-card:has(.card-full-summary):hover .card-top {
  opacity: 0;
}

.product-card:hover .card-trimmed-summary {
  display: none;
}

.card-img,
.card-top {
  transition: opacity 0.3s ease;
}

/* Mobile: hover-to-reveal doesn't work with touch, so just show the trimmed text */
@media (hover: none) and (pointer: coarse) {
  .product-card .card-full-summary {
    display: none !important;
  }

  .product-card .card-trimmed-summary {
    display: block !important;
  }

  .card-img,
  .card-top {
    opacity: 1 !important;
  }
}

.product-card-image,
.product-card .card-img {
  width: calc(100% + 3rem);
  margin: 0 -1.5rem 1.125rem;
  height: 170px;
  object-fit: contain;
  background-color: var(--paper);
  padding: 1.125rem;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.size-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.25rem 0.625rem;
  line-height: 1.3;
  white-space: nowrap;
}

.size-chip-overflow {
  color: var(--steel);
  background-color: transparent;
  border-style: dashed;
}

.product-card .card-family {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--steel);
  margin-top: 0.25rem;
}

.product-card .card-title {
  font-size: 1.0625rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.card-top .card-title {
  margin-bottom: 0;
}

.product-card p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  flex: 1;
}

.card-link {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.product-card .card-link {
  padding-top: 0.875rem;
  border-top: 1px solid var(--line);
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.card-link:hover {
  color: var(--amber-deep);
}

.card-link .arrow {
  transition: transform 0.15s ease;
}

.card-link:hover .arrow,
.product-card:hover .card-link .arrow {
  transform: translateX(4px);
}

.product-detail-img {
  max-height: 600px;
  width: 100%;
  object-fit: contain;
  background-color: var(--white);
  padding: 2rem;
}

/* Article cards reuse the product-grid/product-card look, fixed at 3 per row
   (rather than product-grid's 4), and with no image slot. */
.article-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 860px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
}

.article-card {
  padding-top: 1.5rem;
}

.breadcrumb-container {
  margin-top: 1rem;
}

.breadcrumb {
  background-color: transparent;
}

.summary-card {
  border-left: 4px solid var(--amber);
}

.footer {
  background-color: var(--ink-soft);
  color: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3.25rem 0 1.75rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer a:hover {
  color: var(--amber-pale);
}

.footer h5 {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber-pale);
  margin-bottom: 1rem;
}

.footer p {
  font-size: 0.8125rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.75);
}

.footer-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 1.125rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  background-color: var(--amber);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.125rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.45);
}

.form-control:focus, .form-check-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--amber) 20%, transparent);
}

.form-control,
.form-select {
  background-color: var(--paper-light);
  border-color: var(--line);
  border-radius: 2px;
  color: var(--ink);
}

.search-input {
  min-width: 280px;
}

.form-select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--amber) 20%, transparent);
}

.quantity-input {
  max-width: 260px;
  width: 100%;
}

.quantity-input .text-danger {
  min-height: 1.25rem;
}

.quantity-input .btn {
  width: 100%;
}

@media (min-width: 576px) {
  .quantity-input .btn {
    width: auto;
  }
}

.alert-info {
  background-color: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, color-mix(in srgb, var(--ink) 82%, transparent) 0%, color-mix(in srgb, var(--ink) 68%, transparent) 40%, color-mix(in srgb, var(--ink) 55%, transparent) 70%, color-mix(in srgb, var(--amber-deep) 55%, transparent) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
}

.hero-content .container {
  width: 100%;
  padding: 1.5rem 1rem;
}

.hero-content .row {
  width: 100%;
  min-height: 200px;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
  max-width: 600px;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.01em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.hero-cta .btn {
  font-weight: 600;
  padding: 0.75rem 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.hero-cta .btn-primary {
  background-color: var(--primary-navy);
  border-color: var(--primary-navy);
  color: white;
}

.hero-cta .btn-primary:hover {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--amber) 30%, transparent);
  transform: translateY(-2px);
}

.hero-cta .btn-outline-light {
  color: white;
  border-color: white;
  background-color: transparent;
}

.hero-cta .btn-outline-light:hover {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* Hero Section Mobile Responsive */
@media (max-width: 768px) {
  .hero-section {
    min-height: 280px;
    background-attachment: scroll;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .hero-cta .btn-outline-light {
    margin-left: 0 !important;
  }
}

/* ---------- Section eyebrow / tag ---------- */
.badge.bg-primary {
  background-color: var(--ink) !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.6875rem;
}

.section-tag {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber-deep);
}

/* Marketing section headline, paired with a .section-tag eyebrow above it
   (matches .philosophy h2's size so both statement-style headlines on the
   home page read at the same visual weight). */
.section-head h2 {
  font-size: 1.625rem;
  line-height: 1.2;
}

/* ---------- Filmstrip gallery (home) ---------- */
.strip-gallery {
  background-color: var(--paper-light);
  border-bottom: 1px solid var(--line);
}

.strip-inner {
  padding: 1.375rem 0;
  display: flex;
  gap: 18px;
  overflow-x: auto;
}

.strip-inner img {
  height: 84px;
  width: 84px;
  flex: 0 0 auto;
  object-fit: contain;
  background-color: var(--paper);
  border-radius: 3px;
  padding: 10px;
}

/* ---------- Search strip ---------- */
.search-strip {
  border-bottom: 1px solid var(--line);
  background-color: var(--paper-light);
  padding: 1.375rem 0;
}

.search-strip .search-label {
  font-size: 1.25rem;
  color: var(--steel);
}

.search-form {
  display: flex;
  flex: 1 1 auto;
  max-width: 520px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  overflow: hidden;
}

.search-form .search-input {
  flex: 1;
  border: none;
  border-radius: 0;
  padding: 12px 14px;
  font-size: 0.8125rem;
  outline: none;
  background-color: var(--white);
  min-width: 0;
}

.search-form .search-input:focus {
  box-shadow: none;
  background-color: var(--white);
}

.search-form button {
  border: none;
  background-color: var(--ink);
  color: var(--white);
  padding: 0 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  cursor: pointer;
}

.search-form button:hover {
  background-color: var(--amber-deep);
}

/* ---------- Philosophy / tenets ---------- */
.philosophy {
  background-color: var(--ink);
  color: var(--white);
  padding: 4rem 0;
}

.philosophy .section-tag {
  color: var(--amber-pale);
}

.philosophy h2 {
  font-size: 1.625rem;
  margin-bottom: 0.875rem;
  line-height: 1.2;
}

.philosophy .lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  line-height: 1.7;
}

.tenets {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 2rem;
}

.tenet {
  flex: 1;
  padding: 1.375rem 1.25rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.tenet:last-child {
  border-right: none;
}

.tenet .n {
  color: var(--amber-pale);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
}

.tenet h4 {
  font-size: 1rem;
  margin: 0.625rem 0 0.5rem;
}

.tenet p {
  font-size: 0.78125rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 860px) {
  .tenets {
    flex-direction: column;
  }

  .tenet {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding-bottom: 1rem;
  }
}

/* ---------- Page header banner (Contact / generic pages) ---------- */
.page-header {
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 3.25rem 0 2.75rem;
}

/* ---------- Contact info blocks (Contact / About) ---------- */
.info-block {
  margin-bottom: 1.625rem;
  padding-bottom: 1.625rem;
  border-bottom: 1px solid var(--line);
}

.info-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-block .label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-deep);
  margin-bottom: 0.375rem;
}

.info-block .val {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}

.info-block .val a:hover {
  color: var(--amber-deep);
}

.info-block .sub {
  font-size: 0.8125rem;
  color: var(--steel);
  margin-top: 0.125rem;
}

/* ---------- Form card (Contact / Cart quote form) ---------- */
.form-card {
  background-color: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2.25rem;
}

.security-row {
  background-color: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 2px;
  padding: 1rem;
  margin-bottom: 1.375rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.security-row .q {
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.security-row .q strong {
  color: var(--amber-deep);
}

/* ---------- Product detail page ---------- */
.pd-photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--white);
  border: 1px solid var(--line);
}

.pd-eyebrow {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber-deep);
  margin-bottom: 0.875rem;
}

.pd-title,
.article-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.pd-family {
  font-size: 0.875rem;
  color: var(--steel);
  margin-bottom: 1.625rem;
}

.pd-summary {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.pd-details h2 {
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.875rem;
}

.pd-details p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.pd-back {
  margin-top: 2.25rem;
}

.pd-back:hover .arrow {
  transform: translateX(-4px);
}

.variants-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.variants-heading {
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.variants-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background-color: var(--paper-light);
}

.variant-row {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
}

.variant-row + .variant-row {
  border-top: 1px solid var(--line);
}

.variant-thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  object-fit: contain;
  background-color: var(--paper);
  border: 1px solid var(--line);
}

.variant-body {
  min-width: 0;
}

.variant-heading {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}

.variant-label {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
}

.variant-sku {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--steel);
}

.variant-description {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.variant-description.empty {
  color: var(--steel);
  font-style: italic;
}