/* ---------- Tokens ---------- */
:root {
  --navy: #1B2A41;
  --navy-deep: #121C2D;
  --navy-soft: #243752;
  --tan: #B08968;
  --tan-light: #E6D5C3;
  --paper: #F7F4EF;
  --accent: #E07A3F;
  --accent-dark: #C4642B;
  --text: #1B2A41;
  --muted: #5B6778;
  --radius: 10px;
  --font-head: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--tan); color: var(--paper); }
.btn-ghost:hover { background: var(--tan); color: var(--navy-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  color: var(--paper);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(18, 28, 45, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--tan);
}
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; }
.primary-nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; gap: 1.75rem; }
.nav-list a { text-decoration: none; font-weight: 500; padding: .25rem 0; border-bottom: 2px solid transparent; }
.nav-list a:hover { border-bottom-color: var(--tan); }
.nav-cta { padding: .6rem 1.25rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle-bar { display: block; width: 24px; height: 2px; background: var(--paper); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--paper); padding: 4.5rem 0 5.5rem; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero-lead { font-size: 1.2rem; max-width: 34em; color: var(--tan-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.stitch-frame {
  border-radius: 10px;
  background: var(--tan-light);
  padding: 2rem;
  width: 100%;
}
.stitch-frame > svg {
  border: 2px dashed var(--navy);
  border-radius: 10px;
  background: var(--tan-light);
  padding: 2rem;
  width: 100%;
}

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--tan-light); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.75rem 0; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-family: var(--font-head); font-size: 1.5rem; }
.trust-item span { color: var(--muted); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-head { max-width: 38rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); }
.section-dark { background: var(--navy); color: var(--paper); }
.section-dark .section-head p, .section-dark .why-item { border-top: 2px solid var(--tan); padding-top: 1.25rem; }
.section-sand { background: var(--tan-light); }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card { text-decoration: none; display: block; }
.product-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: transform .2s;
}
.tone-navy { background: var(--navy); }
.tone-tan { background: var(--tan); }
.product-card:hover .product-media { transform: translateY(-4px); }
.product-card h3 { margin-bottom: .25rem; }
.product-card p { color: var(--muted); margin: 0; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.why-item { border-top: 2px dashed var(--tan); padding-top: 1.25rem; }

/* Process */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.process-list li {
  counter-increment: step;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--tan-light);
}
.process-list li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--paper);
  font-family: var(--font-head); font-weight: 700;
  margin-bottom: 1rem;
}
.process-list p { color: var(--muted); margin: 0; }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 1.75rem; }
.quote blockquote { margin: 0 0 1rem; font-size: 1.1rem; }
.quote figcaption { color: var(--muted); font-size: .95rem; }

/* CTA banner */

/* ---------- About page ---------- */
.page-hero { background: var(--navy); color: var(--paper); padding: 4rem 0; }
.page-hero h1 { margin-bottom: .4em; }
.page-hero p { color: var(--tan-light); max-width: 36rem; margin: 0; font-size: 1.2rem; }

.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-text p { color: var(--muted); }
.about-media { aspect-ratio: 4 / 3; background: var(--tan); border-radius: var(--radius); overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .about-story { grid-template-columns: 1fr; }
}

.cta-banner { background: var(--navy-deep); color: var(--paper); padding: 4.5rem 0; text-align: center; }
.cta-inner p { color: var(--tan-light); max-width: 32rem; margin-inline: auto; margin-bottom: 1.75rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--tan-light); border-top: 4px solid var(--tan); }

.footer-cta { background: var(--navy-soft); border-bottom: 1px solid rgba(230, 213, 195, .15); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; padding: 2.25rem 0; }
.footer-cta h2 { color: var(--paper); font-size: clamp(1.3rem, 2.5vw, 1.75rem); margin: 0 0 .25rem; }
.footer-cta p { margin: 0; color: var(--tan-light); }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding: 3.5rem 0 3rem; }
.footer-brand { margin-bottom: .75rem; }
.footer-brand .brand-name { color: var(--paper); }
.footer-about p { max-width: 32ch; margin: 0 0 1.25rem; }
.footer-title { color: var(--paper); font-size: 1.05rem; margin: 0 0 1.1rem; position: relative; padding-bottom: .7rem; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); }

.footer-list, .footer-contact, .footer-social { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .55rem; }
.footer-list a { text-decoration: none; transition: color .2s, padding-left .2s; }
.footer-list a:hover { color: var(--accent); padding-left: 4px; }
.footer-more { color: var(--accent); font-weight: 600; }

.footer-contact li { margin-bottom: .85rem; line-height: 1.5; }
.footer-contact span { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tan); margin-bottom: .1rem; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--accent); }

.footer-social { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-social a { display: inline-block; padding: .35rem .85rem; border: 1px solid rgba(230, 213, 195, .35); border-radius: 999px; font-size: .88rem; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.footer-bottom { border-top: 1px solid var(--navy-soft); font-size: .9rem; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding: 1.25rem 0; }
.footer-bottom p { margin: 0; }
.to-top { text-decoration: none; color: var(--tan-light); }
.to-top:hover { color: var(--accent); }

@media (max-width: 640px) {
  .footer-cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; }
  .trust-grid, .why-grid, .process-list { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .primary-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 1.25rem;
    background: var(--navy); padding: 1.5rem 1.25rem 2rem;
    border-top: 1px solid var(--navy-soft);
  }
  .primary-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 1rem; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .section { padding: 3.5rem 0; }
  .trust-grid, .why-grid, .process-list, .product-grid, .quote-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Hero slider ---------- */
.hero-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: var(--tan);
}
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.slider-dots {
  position: absolute; left: 0; right: 0; bottom: 14px;
  display: flex; justify-content: center; gap: .5rem;
}
.dot {
  width: 11px; height: 11px; padding: 0;
  border-radius: 50%;
  border: 2px solid var(--paper);
  background: transparent;
  cursor: pointer;
}
.dot.is-active { background: var(--accent); border-color: var(--accent); }

/* ---------- Hero slider ---------- */
.slider { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: var(--tan); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(18, 28, 45, .65); color: var(--paper);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.slider-btn:hover { background: var(--accent); }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(247, 244, 239, .5); cursor: pointer; }
.slider-dot.is-active { background: var(--accent); }

/* ---------- Category images + view all ---------- */
.product-media { overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.section-more { margin-top: 2.5rem; }

/* ---------- Products page ---------- */
.shop-layout { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: start; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.shop-sidebar {
  position: sticky; top: 100px;
  background: #fff; border: 1px solid var(--tan-light);
  border-radius: var(--radius); padding: 1.5rem;
}
.sidebar-title { font-size: 1.2rem; margin-bottom: 1rem; }
.cat-list a {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .6rem .75rem; border-radius: 6px; text-decoration: none;
}
.cat-list a:hover { background: var(--tan-light); }
.cat-list .is-current a { background: var(--navy); color: var(--paper); }
.cat-count { color: var(--muted); font-size: .9rem; }
.cat-list .is-current .cat-count { color: var(--tan-light); }
.navigation.pagination { margin-top: 2.5rem; }
.navigation.pagination .page-numbers { display: inline-block; padding: .4rem .8rem; text-decoration: none; }
.navigation.pagination .current { background: var(--navy); color: var(--paper); border-radius: 6px; }

.product-single { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.product-single-media img { width: 100%; height: auto; border-radius: var(--radius); }
.product-single-body .btn { margin-top: 1rem; }

@media (max-width: 960px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .product-single { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .shop-grid { grid-template-columns: 1fr; }
}
/* ---------- Hero background image ---------- */
.hero { position: relative; isolation: isolate; }
.hero.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hero-bg) center / cover no-repeat;
  opacity: var(--hero-bg-opacity, .3);
}
/* ---------- Services page ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: #fff;
  border: 1px solid var(--tan-light);
  border-top: 4px solid var(--tan);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .2s, border-top-color .2s;
}
.service-card:hover { transform: translateY(-4px); border-top-color: var(--accent); }
.service-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--tan); margin-bottom: .75rem; }
.service-card p { color: var(--muted); margin: 0; }

@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
}
/* ---------- Page banner background ---------- */
.page-hero { position: relative; isolation: isolate; }
.page-hero.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hero-bg) center / cover no-repeat;
  opacity: var(--hero-bg-opacity, .3);
}
/* ---------- Category carousel ---------- */
.cat-carousel { position: relative; }
.cat-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-track::-webkit-scrollbar { display: none; }
.cat-slide { flex: 0 0 calc((100% - 3rem) / 3); scroll-snap-align: start; }

.cat-btn {
  position: absolute;
  top: calc(50% - 40px);
  transform: translateY(-50%);
  z-index: 2;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: rgba(18, 28, 45, .75);
  color: var(--paper);
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
  transition: background-color .2s, opacity .2s;
}
.cat-btn:hover { background: var(--accent); }
.cat-btn:disabled { opacity: .35; cursor: default; background: rgba(18, 28, 45, .75); }
.cat-prev { left: 12px; }
.cat-next { right: 12px; }
.cat-carousel.no-scroll .cat-btn { display: none; }

@media (max-width: 960px) {
  .cat-slide { flex-basis: calc((100% - 1.5rem) / 2); }
}
@media (max-width: 560px) {
  .cat-slide { flex-basis: 100%; }
}
/* ---------- Dropdown menu ---------- */
.nav-list > li { position: relative; padding: 1.35rem 0; }
.nav-list .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: .4rem; height: .4rem;
  margin-left: .45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.nav-list .sub-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  z-index: 60;
  background: var(--navy);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: .5rem 0;
  box-shadow: 0 12px 24px rgba(18, 28, 45, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-list .sub-menu a {
  display: block;
  padding: .6rem 1.25rem;
  border-bottom: 0;
  white-space: nowrap;
}
.nav-list .sub-menu a:hover { background: var(--navy-soft); color: var(--tan-light); }

@media (max-width: 800px) {
  .nav-list > li { padding: 0; }
  .nav-list .menu-item-has-children > a::after { display: none; }
  .nav-list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    background: transparent;
    border-top: 0;
    box-shadow: none;
    padding: .5rem 0 0 1rem;
  }
  .nav-list .sub-menu a { padding: .4rem 0; white-space: normal; }
  .nav-list .sub-menu a:hover { background: transparent; }
}
/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.post-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--tan-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s;
}
.post-card:hover { transform: translateY(-4px); }
.post-card-media { display: block; aspect-ratio: 16 / 10; background: var(--tan); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.5rem 1.5rem; }
.post-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-dark); }
.post-excerpt p { color: var(--muted); margin: 0 0 1rem; }
.post-more { margin-top: auto; font-weight: 700; color: var(--accent-dark); text-decoration: none; }
.post-more:hover { text-decoration: underline; }

.post-meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; font-size: .9rem; color: var(--muted); margin-bottom: .6rem; }
.post-meta a { color: var(--accent-dark); font-weight: 700; text-decoration: none; }
.post-meta-hero { color: var(--tan-light); margin-bottom: 1rem; }
.post-meta-hero a { color: var(--tan-light); }

.sidebar-block + .sidebar-block { margin-top: 2rem; }
.recent-list li + li { margin-top: 1rem; }
.recent-list a { display: block; font-weight: 500; line-height: 1.35; text-decoration: none; }
.recent-list a:hover { color: var(--accent-dark); }
.recent-list time { display: block; font-size: .85rem; color: var(--muted); }

/* Single post */
.post-single-image img { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 2rem; }
.post-content { font-size: 1.1rem; }
.post-content h2, .post-content h3 { margin-top: 1.8em; }
.post-content a { color: var(--accent-dark); }
.post-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.post-content ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1em; }
.post-content ol { list-style: decimal; padding-left: 1.4rem; margin-bottom: 1em; }
.post-content li { margin-bottom: .4em; }
.post-content blockquote {
  margin: 1.5rem 0; padding: 1rem 1.5rem;
  background: var(--tan-light);
  border-left: 4px solid var(--tan);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.post-tags { margin-top: 2rem; color: var(--muted); }
.post-tags a { color: var(--accent-dark); text-decoration: none; }
.post-navigation { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--tan-light); }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 1.5rem; }
.post-navigation a { display: block; max-width: 20rem; text-decoration: none; }
.post-navigation .nav-next { margin-left: auto; text-align: right; }
.nav-label { display: block; font-size: .85rem; color: var(--muted); }
.nav-title { font-family: var(--font-head); font-weight: 500; }
.post-navigation a:hover .nav-title { color: var(--accent-dark); }

@media (max-width: 560px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-navigation .nav-links { flex-direction: column; }
  .post-navigation .nav-next { margin-left: 0; text-align: left; }
}

/* ---------- Active menu item ---------- */
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-ancestor > a {
  border-bottom-color: var(--accent);
}
.nav-list .sub-menu li.current-menu-item > a {
  color: var(--accent);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { margin-bottom: 1rem; font-size: .9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; }
.breadcrumbs li { display: flex; align-items: center; gap: .5rem; min-width: 0; color: var(--tan-light); }
.breadcrumbs li + li::before { content: "/"; opacity: .6; }
.breadcrumbs a { color: var(--tan-light); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs [aria-current="page"] {
  color: var(--paper);
  max-width: 28ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact-info > p { color: var(--muted); }
.info-list { margin-top: 1.5rem; }
.info-list li { padding: 1.1rem 0; border-top: 1px solid var(--tan-light); }
.info-list strong { display: block; font-family: var(--font-head); font-weight: 500; margin-bottom: .2rem; }
.info-list span, .info-list a { color: var(--muted); text-decoration: none; }
.info-list a:hover { color: var(--accent-dark); text-decoration: underline; }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--tan-light);
  border-radius: var(--radius);
  padding: 2rem;
  scroll-margin-top: 90px;
}
.contact-form-wrap h2 { font-size: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .35rem; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--tan);
  border-radius: 8px;
  padding: .7rem .85rem;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--navy); outline: 2px solid var(--navy); outline-offset: 1px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { border: 0; cursor: pointer; }

.form-notice { padding: .9rem 1.1rem; border-radius: 8px; margin-bottom: 1.25rem; font-weight: 500; }
.form-notice.is-success { background: #e4f1e6; color: #1f5130; border: 1px solid #b6d8bd; }
.form-notice.is-error { background: #fbe9e4; color: #8a2f14; border: 1px solid #efc2b4; }

@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.25rem; }
}
/* ---------- Home blog carousel ---------- */
.blog-carousel .cat-btn { top: 25%; }
.blog-carousel .post-card:hover { transform: none; }
.blog-carousel .post-card h3 { font-size: 1.15rem; }

/* ---------- Mobile submenu accordion ---------- */
.sub-toggle { display: none; }

@media (max-width: 800px) {
  .nav-list .menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
  }
  .sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    padding: 0;
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
  }
  .sub-toggle::before {
    content: "";
    width: .55rem; height: .55rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s;
  }
  .menu-item-has-children.is-open > .sub-toggle::before {
    transform: translateY(2px) rotate(-135deg);
  }
  .nav-list .sub-menu { display: none; flex-basis: 100%; }
  .menu-item-has-children.is-open > .sub-menu { display: block; }
}
@media (max-width: 800px) {
  .primary-nav {
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }
}

/* ---------- Hero: centre on tablet and mobile ---------- */
@media (max-width: 960px) {
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
  }
}
/* ---------- Scroll animations ---------- */
@keyframes bm-hero-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.hero-copy   { animation: bm-hero-in .8s ease both; }
.hero-visual { animation: bm-hero-in .8s ease .2s both; }

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal-ready [data-reveal="left"]  { transform: translateX(-40px); }
.reveal-ready [data-reveal="right"] { transform: translateX(40px); }
.reveal-ready [data-reveal="zoom"]  { transform: scale(.94); }
.reveal-ready [data-reveal="fade"]  { transform: none; }
.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy, .hero-visual { animation: none; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Products page: square cards, full image (no cropping) ---------- */
.shop-grid .product-media {
  aspect-ratio: 1 / 1;
  background: var(--paper);
  border: 1px solid var(--tan-light);
}
.shop-grid .product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .75rem;
  box-sizing: border-box;
}

/* ---------- Products page: card title style ---------- */
.shop-grid .product-card {
  text-align: center;
}
.shop-grid .product-card h3 {
  position: relative;
  margin: 1.1rem 0 .4rem;
  padding-bottom: .85rem;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--navy);
  transition: color .2s;
}
.shop-grid .product-card h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width .25s ease;
}
.shop-grid .product-card:hover h3 { color: var(--accent-dark); }
.shop-grid .product-card:hover h3::after { width: 64px; }
.shop-grid .product-card p {
  font-size: .95rem;
  line-height: 1.5;
}
