/* ================================
   Uzumaki Press Base Styles
   Shopify-inspired visual direction
================================ */

:root {
  --color-bg: #ffffff;
  --color-cream: #fdf8f2;
  --color-soft-cream: #fbf3eb;
  --color-coral: #e8735a;
  --color-coral-dark: #c95d47;
  --color-navy: #1b2a4a;
  --color-text: #4f5b62;
  --color-muted: #778087;
  --color-border: #ece7e2;

  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-wide: 1180px;
  --container: 900px;
  --container-narrow: 680px;

  --space-xs: 0.5rem;
  --space-sm: 0.9rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-xxl: 6rem;
}

/* Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.015em;
}

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

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

a:hover {
  color: var(--color-coral);
}

/* ================================
   Header
================================ */

.site-announcement {
  padding: 0.45rem 1rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--color-navy);
  border-bottom: 1px solid var(--color-border);
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  width: min(100% - 2rem, var(--container-wide));
  margin: 0 auto;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
}

.site-logo,
.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img,
.logo-link img,
.logo {
  width: 160px;
  max-height: 70px;
  object-fit: contain;
}

.tagline {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.82rem;
  color: var(--color-navy);
}

.site-nav a {
  position: relative;
  padding: 0.2rem 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 1px;
  background: var(--color-navy);
  transition: width 160ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  width: 100%;
}

/* Wholesale Inquiry link — quiet outlined button, no underline effect */
.site-nav .nav-cta {
  padding: 0.45rem 1rem;
  border: 1px solid var(--color-coral);
  color: var(--color-coral);
  letter-spacing: 0.05em;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav .nav-cta::after {
  display: none;
}

.site-nav .nav-cta:hover {
  background: var(--color-coral);
  color: #ffffff;
}

/* Hamburger toggle — hidden on desktop, shown in the mobile media query */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-navy);
  transition: transform 160ms ease, opacity 160ms ease;
}

/* Bars morph into an X when the menu is open */
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

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

/* ── Catalogue dropdown ─────────────────────────────────────── */
.nav-item-has-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Small chevron on the trigger; points down, flips up when the menu opens */
.nav-caret {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 0.4em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.nav-item-has-dropdown:hover .nav-caret,
.nav-item-has-dropdown:focus-within .nav-caret {
  transform: rotate(-135deg) translateY(1px);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 300px;
  padding: 0.5rem 0;
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 24px rgba(27, 42, 74, 0.08);
  text-align: left;
  z-index: 1000;
  /* Toggle with opacity/visibility (not display) so the whole panel stays a
     single stable hover target — no flicker, no reflow-induced closing. */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 120ms ease, visibility 120ms ease;
}

/* Controlled by the parent wrapper: stays open while the cursor is anywhere
   over the Catalogue item OR the full panel, and while focus is inside it. */
.nav-item-has-dropdown:hover .nav-dropdown,
.nav-item-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Top-level links and group headings share one clean, uniform row style */
.nav-dropdown a,
.nav-dropdown .dropdown-heading {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.8rem 1.75rem;
  color: #3a3f43;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: none;
  text-align: left;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* Cancel the animated underline that .site-nav a adds */
.nav-dropdown a::after {
  content: none;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus,
.nav-dropdown .dropdown-heading:hover,
.nav-dropdown .dropdown-heading:focus {
  color: var(--color-navy);
  background: #f7f5f2;
  outline: none;
}

/* Down-caret on expandable group headings; flips up when the group opens */
.dropdown-heading::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.75rem;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #9aa0a4;
  border-bottom: 1.5px solid #9aa0a4;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 160ms ease;
}

.dropdown-group.is-open .dropdown-heading::after {
  transform: translateY(-30%) rotate(-135deg);
}

/* Subitems are collapsed until the group is toggled open (click/tap or
   Enter on the heading). They are NOT expanded on hover, so the panel keeps
   a stable height while the mouse moves down it. */
.dropdown-subgroup {
  display: none;
}

.dropdown-group.is-open .dropdown-subgroup {
  display: block;
}

.nav-dropdown .dropdown-subitem {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  padding-left: 3rem;
  color: #5b6064;
  font-size: 0.95rem;
}

/* Mobile slide-in menu — hidden on desktop, shown only in the mobile
   media query (see below). Markup lives at the end of header.php. */
.mobile-menu {
  display: none;
}

/* ================================
   Layout
================================ */

main {
  min-height: 60vh;
}

.container,
.page-container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.container-wide {
  width: min(100% - 2rem, var(--container-wide));
  margin: 0 auto;
}

.container-narrow {
  width: min(100% - 2rem, var(--container-narrow));
  margin: 0 auto;
}

/* Catalogue + category pages use <main class="container"> directly */
main.container {
  padding: var(--space-xl) 0 var(--space-xxl);
}

main.container .product-grid,
main.container .category-grid {
  width: 100%;
  padding-bottom: 0;
}

.page-section {
  padding: var(--space-xl) 0;
}

.page-section-large {
  padding: var(--space-xxl) 0;
}

.page-title {
  margin: 0 0 var(--space-lg);
  color: #111111;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-title {
  margin: 0 0 var(--space-md);
  color: #111111;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

p {
  margin: 0 0 1.15rem;
}

.lede,
.page-intro {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
}

.page-intro {
  max-width: 620px;
  margin-bottom: var(--space-lg);
}

/* ================================
   Buttons / CTAs
================================ */

.button,
.btn,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.4rem;
  border: 1px solid var(--color-coral);
  background: var(--color-coral);
  color: #ffffff;
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.btn:hover,
.cta-button:hover {
  background: var(--color-coral-dark);
  border-color: var(--color-coral-dark);
  color: #ffffff;
}

.button-outline {
  background: transparent;
  color: var(--color-coral);
}

.button-outline:hover {
  background: var(--color-coral);
  color: #ffffff;
}

/* ================================
   Homepage
================================ */

.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  background: var(--color-cream);
  overflow: hidden;
}

.hero picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero img,
.hero-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-content {
  width: min(100% - 2rem, 720px);
  margin: 0 auto;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.hero-title {
  margin: 0 0 var(--space-md);
  color: #111111;
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero-text {
  margin: 0 auto var(--space-lg);
  max-width: 620px;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.9;
}

/* Homepage intro block below the hero */
.home-intro {
  width: min(100% - 2rem, 720px);
  margin: 0 auto;
  padding: var(--space-xxl) 0;
  text-align: center;
}

.home-intro h1 {
  margin: 0 0 var(--space-md);
  color: #111111;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

/* Homepage hero heading — echoes the delicate, airy feel of the .tagline
   ("Bringing joy to your mailbox") instead of a bold marketing headline:
   open letter-spacing, soft navy, light weight, gentler line-height.
   Still large and prominent. Scoped to outrank the .home-intro h1 rule. */
.home-intro h1.home-quote-heading {
  color: var(--color-navy);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.home-intro p {
  margin: 0 auto var(--space-lg);
  max-width: 620px;
}

/* ================================
   Catalogue Index
================================ */

.catalogue-intro {
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: center;
}

.catalogue-intro p {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.category-grid {
  width: min(100% - 2rem, var(--container-wide));
  margin: 0 auto;
  padding-bottom: var(--space-xxl);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* Category preview cards: real card image on top, name beneath.
   Minimal and editorial — thin border on the image only, no shadow. */
.category-card {
  display: flex;
  flex-direction: column;
  color: #111111;
  transition: transform 160ms ease;
}

.category-card:hover {
  transform: translateY(-2px);
}

.category-card-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color 160ms ease;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  /* contain (not cover) so card artwork is never cropped */
  object-fit: contain;
  transition: opacity 160ms ease;
}

.category-card:hover .category-card-image {
  border-color: var(--color-coral);
}

.category-card:hover .category-card-image img {
  opacity: 0.88;
}

.category-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-card-name {
  margin-top: 0.85rem;
  color: #111111;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* Wide, refined banner button linking to the full single-page listing */
.view-all-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  max-width: 900px;
  margin: 0 auto var(--space-xl);
  padding: 1.05rem 1.5rem;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  color: #111111;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  transition: border-color 160ms ease, color 160ms ease;
}

.view-all-banner:hover {
  border-color: var(--color-coral);
  color: var(--color-coral);
}

/* ================================
   Product / Card Grid
================================ */

.back-link {
  display: inline-block;
  margin-bottom: var(--space-lg);
  color: var(--color-muted);
  font-size: 0.85rem;
}

.back-link:hover {
  color: var(--color-coral);
}

.product-grid,
.card-grid {
  width: min(100% - 2rem, var(--container-wide));
  margin: 0 auto;
  padding-bottom: var(--space-xxl);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

.product-card,
.card-item {
  cursor: pointer;
  background: transparent;
  border: 0;
}

.product-card img,
.card-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  /* contain (not cover) so no card artwork is cropped in the line sheet */
  object-fit: contain;
  background: var(--color-cream);
  transition: opacity 160ms ease;
}

.product-card:hover img,
.card-item:hover img {
  opacity: 0.86;
}

.product-card h2,
.product-card h3,
.card-item h2,
.card-item h3,
.card-name {
  margin: 0.9rem 0 0.1rem;
  color: #111111;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.sku,
.product-sku,
.card-sku,
.lightbox-sku {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Previous / Next navigation at the foot of each category page.
   Prev sits left, Next is pushed right via margin-left:auto — so a page
   with only one button still aligns correctly (Everyday → right, Thank
   You → left). Quiet, refined style consistent with the rest of the site. */
.catalogue-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.catalogue-nav-next {
  margin-left: auto;
}

.catalogue-nav-button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  color: #111111;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 160ms ease, color 160ms ease;
}

.catalogue-nav-button:hover {
  border-color: var(--color-coral);
  color: var(--color-coral);
}

/* ================================
   Lightbox
================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  /* Solid white overlay — fully covers the page behind the modal. */
  background: #ffffff;
}

/* The JS toggles the hidden attribute to open/close */
.lightbox[hidden] {
  display: none;
}

body.no-scroll {
  overflow: hidden;
}

.lightbox-content,
.lightbox-modal {
  position: relative;
  width: min(100%, 760px);
  max-height: 90vh;
  overflow: auto;
  padding: 1.5rem;
  /* No panel colour — the semi-transparent white overlay is the only background */
  background: transparent;
  text-align: center;
}

.lightbox-content img,
.lightbox-img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background: transparent;
}

.lightbox-title,
.lightbox-name {
  margin: 1rem 0 0.1rem;
  color: #111111;
  font-size: 1.2rem;
  font-weight: 400;
}

.lightbox-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #111111;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

/* ================================
   All Cards Page
================================ */

.all-cards-category {
  margin-bottom: var(--space-xxl);
}

.all-cards-category h2 {
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-border);
  color: #111111;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

/* Grids on the all-cards page sit inside main.container, so let them
   fill it rather than re-applying the wide standalone grid width. */
.all-cards-category .card-grid {
  width: 100%;
  padding-bottom: 0;
}

/* ================================
   Contact / Wholesale Page
================================ */

.contact-page {
  padding: var(--space-xl) 0 var(--space-xxl);
}

.contact-lede {
  margin-bottom: var(--space-lg);
  color: #111111;
  font-size: 1.15rem;
}

.contact-list {
  margin: 0 0 var(--space-lg);
  padding-left: 1.2rem;
}

.contact-list li {
  margin-bottom: 0.5rem;
}

.contact-subhead {
  margin: var(--space-xl) 0 var(--space-md);
  color: #111111;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.contact-form {
  margin-top: var(--space-md);
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-md);
}

.form-row label {
  margin-bottom: 0.4rem;
  color: var(--color-navy);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.required {
  color: var(--color-coral);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: #ffffff;
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-coral);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  margin-top: var(--space-xs);
}

.field-error {
  margin-top: 0.35rem;
  color: var(--color-coral-dark);
  font-size: 0.8rem;
}

.form-message {
  margin-bottom: var(--space-md);
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.form-message--success {
  border-color: var(--color-coral);
  background: var(--color-soft-cream);
  color: var(--color-navy);
}

.form-message--error {
  border-color: var(--color-coral-dark);
  background: #fbeeea;
  color: var(--color-coral-dark);
}

.contact-fallback {
  margin-top: var(--space-lg);
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Honeypot field — hidden from humans, visible to spam bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ================================
   About Page
================================ */

.about-page {
  background: #ffffff;
}

.about-intro,
.about-section {
  width: min(100% - 2rem, 650px);
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

.about-intro .page-title,
.about-section h1 {
  margin: 0 0 var(--space-lg);
  color: #111111;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.about-intro p,
.about-section p {
  color: var(--color-text);
  line-height: 1.9;
}

.about-two-column,
.about-two-col {
  width: min(100% - 2rem, var(--container-wide));
  margin: 0 auto;
  padding: var(--space-lg) 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  /* stretch so the image column can match the text column's height
     (see the desktop image override in the 860px media query) */
  align-items: stretch;
}

.about-two-column img,
.about-two-col img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* This specific About image renders as a responsive square. Scoped to the
   image's own class so it never affects other images on the site. */
.about-two-col img.about-square-image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about-two-column .text-block,
.about-two-col > div {
  max-width: 470px;
}

.about-two-col h2 {
  margin: 0 0 var(--space-sm);
  color: #111111;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.about-two-col h2 + p {
  margin-top: 0;
}

.about-two-col h2:not(:first-child) {
  margin-top: var(--space-lg);
}

.about-two-column ul,
.about-two-col ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.about-two-column li,
.about-two-col li {
  margin-bottom: 0.6rem;
}

.about-mission {
  width: min(100% - 2rem, 650px);
  margin: 0 auto;
  padding: var(--space-lg) 0 var(--space-xl);
}

.about-mission h2 {
  margin: 0 0 var(--space-sm);
  color: #111111;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.about-mission p {
  color: var(--color-text);
  line-height: 1.9;
}

.about-feature-band,
.about-band {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
  padding: var(--space-xl) 1rem;
  background-color: var(--color-cream);
  background-image: url("about-background.jpg");
  background-size: cover;
  background-position: center;
}

.about-overlay-box,
.about-band-box {
  width: min(100%, 720px);
  padding: clamp(1.75rem, 5vw, 3rem);
  background: #ffffff;
  text-align: center;
}

.about-overlay-box h2,
.about-band-box h2 {
  margin: 0 0 1rem;
  color: #111111;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.about-overlay-box p,
.about-band-box p {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

.about-cta {
  padding: var(--space-xl) 0;
  text-align: center;
  background: #ffffff;
}

.about-cta p {
  margin-bottom: var(--space-md);
}

/* ================================
   Footer
================================ */

.site-footer {
  padding: 2.5rem 1rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-muted);
  font-size: 0.8rem;
}

.site-footer a {
  color: var(--color-navy);
}

.site-footer a:hover {
  color: var(--color-coral);
}

.footer-inner {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.footer-contact {
  margin: 0 0 0.5rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.85;
}

/* ================================
   Responsive
================================ */

@media (min-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid,
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .header-inner {
    justify-content: flex-start;
  }

  .site-logo img,
  .logo-link img,
  .logo {
    width: 175px;
  }

  .about-two-column,
  .about-two-col {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }

  /* Desktop: let the image fill the row height set by the text block beside
     it, instead of its own square ratio. object-fit: cover prevents distortion. */
  .about-two-column img,
  .about-two-col img,
  .about-two-col img.about-square-image {
    height: 100%;
    aspect-ratio: auto;
  }
}

@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large desktop: catalogue card grids show 4 cards per row
   (mobile = 1, tablet >= 640px = 2, large desktop >= 1100px = 4). */
@media (min-width: 1100px) {
  .product-grid,
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 720px) {
  .site-announcement {
    font-size: 0.68rem;
  }

  .header-inner {
    position: relative;
    min-height: auto;
    padding: 1.5rem 0;
    flex-direction: column;
    gap: 1rem;
  }

  .site-logo img,
  .logo-link img,
  .logo {
    width: 145px;
  }

  .tagline {
    flex: none;
  }

  /* Show the hamburger, anchored to the top-right of the header */
  .nav-toggle {
    display: inline-flex;
    position: absolute;
    top: 1.5rem;
    right: 0;
  }

  /* The desktop nav is hidden on mobile; the slide-in overlay (#mobile-menu)
     handles mobile navigation instead. */
  .site-nav {
    display: none;
  }

  /* ── Mobile slide-in menu ── */
  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: #ffffff;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  /* Top bar: centred logo + close button (mirrors the page header) */
  .mobile-menu-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 92px;
    border-bottom: 1px solid var(--color-border);
  }

  .mobile-menu-logo img {
    width: 135px;
    max-height: 58px;
    object-fit: contain;
  }

  .mobile-menu-close {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    color: var(--color-navy);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
  }

  /* Panels live in this clipped area and slide horizontally */
  .mobile-menu-body {
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
  }

  .mobile-panel {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    transform: translateX(100%);
    /* visibility:hidden keeps off-screen panels from ever showing through
       (e.g. during transforms/transitions) while still allowing the slide. */
    visibility: hidden;
    transition: transform 250ms ease, visibility 250ms ease;
  }

  .mobile-panel.is-active {
    transform: translateX(0);
    visibility: visible;
  }

  /* Parent panels slide off to the left when a child is open */
  .mobile-panel.is-left {
    transform: translateX(-100%);
    visibility: visible;
  }

  /* Large, tappable rows (links and panel-opening buttons share the style) */
  .mobile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.15rem 1.5rem;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-navy);
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-row:hover,
  .mobile-row:focus,
  .mobile-row:active {
    background: #f7f5f2;
    outline: none;
  }

  /* Right-facing chevron on rows that open a deeper panel */
  .mobile-row-arrow {
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-top: 1.5px solid #9aa0a4;
    border-right: 1.5px solid #9aa0a4;
    transform: rotate(45deg);
  }

  /* Back/header row at the top of each sub-panel */
  .mobile-back {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: #faf8f5;
    border: 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
  }

  .mobile-back:hover,
  .mobile-back:focus {
    color: var(--color-navy);
    outline: none;
  }

  .mobile-back-arrow {
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-top: 1.5px solid currentColor;
    border-left: 1.5px solid currentColor;
    transform: rotate(-45deg);
  }

  .page-section,
  .page-section-large,
  .about-intro {
    padding: 3rem 0;
  }

  .hero,
  .hero img,
  .hero-image {
    min-height: 420px;
  }

  .about-feature-band {
    min-height: 380px;
  }

  /* Tighten the gap between the intro text and the first image on mobile */
  .about-section {
    padding-bottom: var(--space-md);
  }

  .about-two-col {
    padding-top: 0;
  }

  /* Wider side margins so content (and the left edge) isn't tight to the screen */
  .container,
  .page-container,
  .container-wide,
  .container-narrow {
    width: calc(100% - 3rem);
  }

  /* Card images: keep them within the screen height, sized to their natural
     ratio (no letterboxing), and centred horizontally. */
  .product-card img,
  .card-item img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 70vh;
    aspect-ratio: auto;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ================================
   Tablet — About page tuned to the Shopify reference (768–1024px).
   Placed last so it overrides the 860px two-column rules within range.
================================ */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Intro: narrow centred column, generous spacing, large light title */
  .about-section {
    width: min(100% - 4rem, 720px);
    padding: var(--space-xxl) 2rem;
  }

  .about-section h1 {
    margin-bottom: var(--space-xl);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.15;
  }

  .about-section p {
    font-size: 1rem;
    line-height: 1.9;
  }

  /* "What We Make": two columns (image left, text right), centred section */
  .about-two-col {
    width: min(100% - 4rem, 900px);
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    padding: var(--space-xl) 2rem var(--space-xxl);
  }

  /* Rectangular image on tablet — overrides the square (1/1) and the
     desktop height:100% rules so it matches the Shopify reference. */
  .about-two-col img.about-square-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .about-two-col .text-block,
  .about-two-col > div {
    max-width: 380px;
  }

  .about-two-col h2 {
    margin-bottom: var(--space-md);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.2;
  }

  /* "Our Mission": narrow, centred */
  .about-mission {
    width: min(100% - 4rem, 620px);
    padding: var(--space-xl) 2rem var(--space-xxl);
    text-align: center;
  }

  .about-mission h2 {
    margin-bottom: var(--space-md);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.2;
  }

  .about-mission p {
    font-size: 1rem;
    line-height: 1.9;
  }

  /* "Who's Behind It": full-width band with a centred white overlay box */
  .about-band {
    min-height: 560px;
    padding: 5rem 2rem;
  }

  .about-band-box {
    width: 80%;
    max-width: 760px;
    padding: 3rem 3.5rem;
    text-align: center;
    box-shadow: none;
  }

  .about-band-box h2 {
    margin-bottom: var(--space-sm);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.2;
  }

  .about-band-box p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  /* Header: airy, centred tagline, comfortable logo (nav layout unchanged) */
  .tagline {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }

  .header-inner {
    min-height: 120px;
  }

  .logo-link img,
  .logo {
    width: 185px;
    max-height: 80px;
  }
}