:root {
  --paper: #fff9df;
  --cream: #fff0ad;
  --cream-deep: #f4d75e;
  --yellow: #f4c900;
  --yellow-deep: #dcae00;
  --yellow-soft: #fff5c7;
  --ink: #2b271c;
  --muted: #655c43;
  --red: #e21f27;
  --red-dark: #a9151b;
  --green: #35833f;
  --green-dark: #205c2d;
  --sage: #35833f;
  --sage-soft: #ddf0d5;
  --white: #fffef8;
  --line: #dfc768;
  --success: #205c2d;
  --error: #a9151b;
  --focus: #205c2d;
  --shadow: 0 18px 45px rgb(82 61 0 / 12%);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, .button { min-height: 48px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 32px), 780px); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-compact { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.surface { background: var(--white); }
.surface-tint { background: var(--cream); }
.eyebrow { margin: 0 0 .75rem; color: var(--red); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin: 0 0 .7em; font-family: Georgia, "Times New Roman", serif; line-height: 1.12; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 6vw, 5.2rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); }
p { margin: 0 0 1rem; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 700px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.2rem; }
.section-heading > div { max-width: 760px; }
.text-link { color: var(--red-dark); font-weight: 750; text-underline-offset: 4px; white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .72rem 1.15rem; border: 1px solid transparent; border-radius: 999px; background: var(--red); color: #fff; font-weight: 750; text-align: center; text-decoration: none; cursor: pointer; transition: background .2s, box-shadow .2s, transform .2s; }
.button:hover { background: var(--red-dark); transform: translateY(-1px); }
.button:active { box-shadow: none; transform: translateY(1px); }
.button-secondary { border-color: var(--ink); background: transparent; color: var(--ink); }
.button-secondary:hover { border-color: var(--green-dark); background: var(--green-dark); color: white; }
.button-light { background: var(--white); color: var(--red-dark); }
.button-light:hover { background: var(--yellow); color: var(--ink); }
.button-small { min-height: 42px; padding: .55rem .9rem; font-size: .92rem; }
.button[aria-disabled="true"], .button:disabled { pointer-events: none; filter: grayscale(.25); cursor: not-allowed; opacity: .58; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--yellow-deep); background: var(--white); }
.topline { background: var(--green-dark); color: #fff; font-size: .8rem; text-align: center; letter-spacing: .03em; }
.topline .container { padding-block: .35rem; }
.header-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; min-height: 82px; }
.brand { display: inline-flex; align-items: center; min-width: 210px; text-decoration: none; }
.brand img { width: 228px; max-height: 52px; height: auto; object-fit: contain; }
.blog-brand { margin-bottom: 2rem; }
.main-nav ul { display: flex; align-items: center; justify-content: center; gap: clamp(.7rem, 2vw, 1.45rem); margin: 0; padding: 0; list-style: none; }
.main-nav a { position: relative; padding: .8rem 0; font-size: .91rem; font-weight: 700; text-decoration: none; }
.main-nav a::after { position: absolute; right: 0; bottom: .42rem; left: 0; height: 2px; background: var(--red); content: ""; transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-more { position: relative; }
.nav-more-toggle { display: inline-flex; align-items: center; min-height: 40px; padding: .8rem 0; border: 0; border-radius: 0; background: transparent; color: var(--red); font-size: .91rem; font-weight: 800; cursor: pointer; transition: color .2s; }
.nav-more-toggle:hover, .nav-more-toggle:focus-visible, .nav-more.is-open .nav-more-toggle { border-color: transparent; background: transparent; color: var(--red-dark); box-shadow: none; }
.nav-more-toggle.is-current { color: var(--red-dark); }
.nav-submenu { position: absolute; z-index: 120; top: calc(100% - .2rem); left: 50%; display: none !important; width: max-content; min-width: 230px; padding: .55rem !important; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); transform: translateX(-50%); }
.main-nav .nav-submenu { align-items: stretch; justify-content: stretch; gap: .15rem; margin: 0; }
.nav-more.is-open .nav-submenu { display: grid !important; }
.nav-submenu a { display: block; padding: .65rem .75rem; border-radius: 10px; white-space: nowrap; }
.nav-submenu a::after { display: none; }
.nav-submenu a:hover, .nav-submenu a[aria-current="page"] { background: var(--yellow-soft); color: var(--red-dark); }
@media (min-width: 1181px) {
  .nav-more:hover .nav-submenu, .nav-more:focus-within .nav-submenu { display: grid !important; }
}
.header-actions { display: flex; align-items: center; gap: .65rem; }
.header-phone { font-size: .9rem; font-weight: 750; text-decoration: none; }
.menu-toggle { display: none; width: 48px; border: 1px solid var(--green); border-radius: 50%; background: var(--yellow-soft); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); content: ""; transition: .2s; }

/* Hero and visual motifs */
.hero { overflow: hidden; padding: clamp(3.5rem, 7vw, 7rem) 0; border-bottom: 1px solid var(--yellow-deep); background: var(--yellow); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); align-items: center; gap: clamp(2.5rem, 7vw, 7rem); }
.hero h1 strong { color: var(--red-dark); font-weight: inherit; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--red-dark); }
.hero .lead { margin-bottom: 1.8rem; }
.hero-notes { display: flex; flex-wrap: wrap; gap: .65rem 1.3rem; margin-top: 2rem; color: var(--muted); font-size: .9rem; }
.hero-notes span::before { color: var(--red); content: "✦"; margin-right: .45rem; }
.textile-visual { position: relative; min-height: 520px; border: 1px solid rgb(169 21 27 / 16%); border-radius: 46% 46% 20% 20% / 34% 34% 16% 16%; background: linear-gradient(135deg, rgb(255 255 255 / 62%), transparent), repeating-linear-gradient(90deg, #ffe997 0 2px, #fff7d4 2px 34px), repeating-linear-gradient(0deg, transparent 0 31px, rgb(226 31 39 / 19%) 31px 33px); box-shadow: var(--shadow); }
.textile-visual::before { position: absolute; top: 13%; right: 8%; width: 52%; height: 58%; border: 12px solid var(--white); border-radius: 48% 52% 48% 52%; background: radial-gradient(circle at 50% 45%, var(--paper) 0 23%, var(--red) 24% 34%, var(--paper) 35% 39%, var(--red) 40% 43%, var(--paper) 44% 100%); box-shadow: 0 18px 34px rgb(54 36 25 / 16%); content: ""; transform: rotate(10deg); }
.textile-visual::after { position: absolute; bottom: 6%; left: -7%; width: 68%; height: 38%; border-radius: var(--radius-lg); background: repeating-linear-gradient(-42deg, var(--green-dark) 0 18px, var(--green) 18px 36px); box-shadow: var(--shadow); content: ""; transform: rotate(-4deg); }
.visual-label { position: absolute; z-index: 2; right: -3%; bottom: 14%; max-width: 190px; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); font-size: .88rem; font-weight: 700; }

/* Cards and content */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card-body { padding: 1.35rem; }
.card p { color: var(--muted); }
.card-visual { display: grid; min-height: 210px; place-items: center; background: var(--cream); color: var(--muted); font-size: .86rem; text-align: center; }
.card-visual img { width: 100%; height: 210px; object-fit: cover; }
.post-gallery { position: relative; width: 100%; min-height: inherit; height: 100%; overflow: hidden; }
.post-gallery-image { display: block; width: 100%; height: 100% !important; min-height: inherit; object-fit: cover; }
.post-gallery-image[hidden] { display: none; }
.gallery-arrow { position: absolute; z-index: 3; top: 50%; display: grid; width: 78px; height: 92px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 0; cursor: pointer; place-items: center; transform: translateY(-50%); transition: transform .18s; }
.gallery-arrow::before { position: absolute; width: 27px; height: 27px; border-right: 8px solid white; border-bottom: 8px solid white; content: ""; filter: drop-shadow(0 2px 3px rgb(0 0 0 / 80%)); }
.gallery-arrow:hover, .gallery-arrow:focus-visible { background: transparent; transform: translateY(-50%) scale(1.12); }
.gallery-arrow-left { left: .05rem; }
.gallery-arrow-left::before { transform: rotate(135deg); }
.gallery-arrow-right { right: .05rem; }
.gallery-arrow-right::before { transform: rotate(-45deg); }
.gallery-counter { position: absolute; z-index: 3; right: .6rem; bottom: .55rem; padding: .18rem .5rem; border-radius: 999px; background: rgb(43 39 28 / 78%); color: white; font-size: .72rem; font-weight: 800; }
.card-meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .65rem; color: var(--muted); font-size: .8rem; }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: .12rem .6rem; border-radius: 99px; background: var(--sage-soft); color: var(--green-dark); font-weight: 800; }
.tag-promotion { background: #ffd9d7; color: var(--red-dark); }
.feature-card { padding: clamp(1.5rem, 4vw, 2.5rem); }
.feature-card .number { display: block; margin-bottom: 2rem; color: var(--red); font-family: Georgia, serif; font-size: 2rem; }
.split-panel { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: var(--radius-lg); background: var(--sage); color: white; }
.split-panel-content { padding: clamp(2rem, 6vw, 5rem); }
.split-panel-content .eyebrow, .split-panel-content .lead { color: #fff; }
.pattern-panel { min-height: 460px; background: radial-gradient(circle at 30% 20%, transparent 0 27px, rgb(255 255 255 / 34%) 28px 31px, transparent 32px), linear-gradient(145deg, transparent 30%, rgb(226 31 39 / 78%) 31% 48%, transparent 49%), repeating-linear-gradient(45deg, #ffe37a 0 22px, #f4c900 22px 44px); background-size: 78px 78px, 100% 100%, auto; }
.category-card { min-height: 310px; padding: 1.6rem; display: flex; flex-direction: column; justify-content: end; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card::before { width: 58px; height: 58px; margin-bottom: auto; border: 2px solid var(--green); border-radius: 50%; background: repeating-linear-gradient(45deg, var(--yellow-soft) 0 5px, var(--yellow) 5px 8px); content: ""; }
.category-card p { color: var(--muted); }
.steps { counter-reset: step; display: grid; gap: 0; }
.step { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.step::before { display: grid; width: 48px; height: 48px; border-radius: 50%; background: var(--cream); color: var(--red-dark); content: counter(step); font-family: Georgia, serif; font-size: 1.25rem; place-items: center; }
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--muted); }
.notice { padding: 1.1rem 1.2rem; border-left: 4px solid var(--sage); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--sage-soft); }
.empty-state { grid-column: 1 / -1; padding: 2rem; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }
.review-placeholder { padding: 2rem; border: 1px dashed #b9aa9b; border-radius: var(--radius); background: rgb(255 255 255 / 45%); }

/* Inner pages */
.page-hero { padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--yellow-deep); background: var(--yellow); }
.page-hero h1 { max-width: 930px; font-size: clamp(2.6rem, 6vw, 4.8rem); }
.breadcrumbs { margin-bottom: 2rem; color: var(--muted); font-size: .86rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem .65rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { margin-right: .65rem; content: "/"; }
.content-flow > * + * { margin-top: 1.4rem; }
.content-flow ul { padding-left: 1.25rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.fact { padding: 1.3rem; border-top: 3px solid var(--red); background: var(--white); }
.cta-band { padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-lg); background: var(--red-dark); color: white; }
.cta-band .lead { color: #f5deda; }
.cta-band h2 { color: var(--yellow); }
.about-directions .feature-card { color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.about-directions .feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Forms */
.form-shell { display: grid; grid-template-columns: .75fr 1.25fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.form-intro { padding: clamp(2rem, 5vw, 3.5rem); background: var(--cream); }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: clamp(2rem, 5vw, 3.5rem); }
.field { display: grid; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
label { font-size: .88rem; font-weight: 800; }
input, select, textarea { width: 100%; padding: .78rem .88rem; border: 1px solid #b8aba0; border-radius: var(--radius-sm); background: white; color: var(--ink); }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green-dark); outline: 3px solid rgb(53 131 63 / 20%); }
.form-note { grid-column: 1 / -1; color: var(--muted); font-size: .78rem; }
.form-status { grid-column: 1 / -1; display: none; padding: .8rem 1rem; border-radius: var(--radius-sm); }
.form-status.is-success { display: block; border-left: 4px solid var(--success); background: #dff0d7; color: var(--success); }
.form-status.is-error { display: block; border-left: 4px solid var(--error); background: #ffdcd9; color: var(--error); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Contact and footer */
.contact-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.contact-item { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-item small { display: block; color: var(--muted); }
.map-placeholder { display: grid; min-height: 390px; padding: 2rem; border-radius: var(--radius); background: repeating-linear-gradient(30deg, #e6e1d8 0 2px, transparent 2px 30px), repeating-linear-gradient(120deg, #e6e1d8 0 2px, #f3efe8 2px 36px); place-items: center; text-align: center; }
.site-footer { padding: 4rem 0 1.5rem; border-top: 8px solid var(--yellow); background: var(--green-dark); color: #fffef3; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr .8fr 1fr; gap: 2.5rem; }
.footer-brand { max-width: 280px; }
.footer-logo-panel { display: inline-flex; max-width: 270px; margin-bottom: 1rem; padding: .7rem .85rem; border-radius: var(--radius-sm); background: var(--yellow-soft); }
.footer-logo-panel img { width: 240px; height: auto; object-fit: contain; }
.footer-title { margin-bottom: .9rem; color: var(--yellow); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: .55rem; }
.footer-links a { color: #fff; text-decoration-color: var(--yellow); text-underline-offset: 3px; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgb(255 255 255 / 28%); color: #dcebd8; font-size: .78rem; }

@media (max-width: 1180px) {
  .header-main { grid-template-columns: auto 1fr; }
  .menu-toggle { display: block; justify-self: end; }
  .site-header { backdrop-filter: none; }
  .main-nav { position: fixed; z-index: 100; inset: 0 0 0 auto; display: none; width: min(88vw, 420px); height: 100vh; height: 100dvh; padding: 6.5rem 1.5rem 2rem; overflow-y: auto; border-left: 5px solid var(--yellow); background: var(--white); box-shadow: -20px 0 50px rgb(0 0 0 / 15%); }
  .main-nav.is-open { display: block; }
  .main-nav ul { display: grid; justify-content: stretch; gap: 0; }
  .main-nav a { display: block; padding: 1rem .3rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-more { border-bottom: 1px solid var(--line); }
  .nav-more-toggle { width: 100%; min-height: 58px; justify-content: space-between; padding: 1rem .3rem; font-size: 1.05rem; }
  .nav-submenu { position: static; width: 100%; min-width: 0; padding: 0 0 .5rem .75rem !important; border: 0; border-radius: 0; background: #fff9df; box-shadow: none; transform: none; }
  .nav-submenu a { padding: .8rem .7rem; border-bottom: 1px solid rgb(223 199 104 / 50%); font-size: .98rem; }
  .header-actions { display: none; }
  .menu-open { overflow: hidden; }
  .menu-open .menu-toggle { position: fixed; z-index: 101; right: 1rem; top: 2.5rem; }
  .hero-grid { grid-template-columns: 1fr 390px; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .section-heading { display: block; }
  .section-heading .text-link { display: inline-block; margin-top: 1rem; }
  .hero-grid, .split-panel, .form-shell { grid-template-columns: 1fr; }
  .hero-grid { gap: 2rem; }
  .textile-visual { min-height: 390px; }
  .visual-label { right: 3%; }
  .grid-3, .facts { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .category-card { min-height: 240px; }
  .pattern-panel { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .container, .narrow { width: min(calc(100% - 24px), var(--container)); }
  .topline { font-size: .73rem; }
  .header-main { min-height: 72px; }
  .brand { min-width: 0; }
  .brand img { width: 190px; max-height: 42px; height: auto; object-fit: contain; }
  .hero { padding-top: 2.5rem; }
  .actions { display: grid; grid-template-columns: 1fr; }
  .actions .button { width: 100%; }
  .textile-visual { min-height: 310px; border-radius: var(--radius-lg); }
  .visual-label { right: .6rem; bottom: .6rem; }
  .lead-form { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .form-note, .form-status { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom > * + * { margin-top: .5rem; }
}

/* Iteration 3: warmer photo-led storefront */
body { background: #fffdf2; }
.topline { background: var(--yellow); color: var(--ink); font-weight: 700; }
.site-header { background: rgb(255 254 248 / 96%); box-shadow: 0 7px 24px rgb(99 64 0 / 7%); backdrop-filter: blur(10px); }
.site-footer { border-top-color: var(--yellow); background: #761d22; }
.footer-title { color: #ffe15c; }
.footer-links a { text-decoration-color: #ffe15c; }
.footer-links a:hover { color: #ffe15c; }
.footer-bottom { color: #f5dddd; }
.hero, .page-hero {
  position: relative;
  background-color: #ffe34b;
  background-image: radial-gradient(rgb(226 31 39 / 13%) 1.2px, transparent 1.2px), linear-gradient(110deg, #fff18a 0%, #ffe34b 46%, #ffd91c 100%);
  background-size: 18px 18px, 100% 100%;
}
.hero { padding: clamp(2.8rem, 5vw, 4.5rem) 0; }
.hero::before, .page-hero::before { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(255 255 255 / 20%), transparent 58%); content: ""; }
.hero > *, .page-hero > * { position: relative; }
.hero-grid { grid-template-columns: minmax(0, .95fr) minmax(500px, 1.05fr); gap: clamp(1.5rem, 3vw, 3rem); }
.hero h1 { color: var(--green-dark); font-size: clamp(2.6rem, 4.8vw, 4.4rem); }
.hero h1 strong { color: var(--red); }
.hero-photo { position: relative; min-height: 470px; margin: -2rem -7vw -2rem 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; object-position: 58% center; mix-blend-mode: multiply; }
.hero-photo::after { position: absolute; inset: 0 auto 0 0; width: 22%; background: linear-gradient(90deg, #ffe34b, transparent); content: ""; }
.visual-label { right: 8%; bottom: 15%; max-width: 230px; border: 2px dashed #73a947; background: rgb(255 254 239 / 96%); color: var(--green-dark); font-size: .94rem; }
.surface-tint { background-color: #fff3b8; background-image: radial-gradient(rgb(244 201 0 / 25%) 1px, transparent 1px); background-size: 17px 17px; }
.card, .fabric-card, .review-card { box-shadow: 0 9px 26px rgb(100 64 0 / 7%); }
.news-card { transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card[data-post-url] { cursor: pointer; }
.news-card[data-post-url]:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card .card-body { display: flex; flex-direction: column; }
.news-card-link { display: inline-flex; margin-top: auto; }
.news-card.is-promotion { border-color: rgb(226 31 39 / 45%); }
.news-card .card-visual { min-height: 230px; background: #fff3b8; }
.news-card .card-visual img { height: 230px; object-fit: cover; object-position: center; }
.news-card.is-promotion .card-visual img { object-position: center; }

.public-post-hero { min-height: 0; padding-block: clamp(2.8rem, 6vw, 5.25rem); }
.public-post-hero-inner { max-width: 980px; }
.public-post-hero h1 { margin-bottom: .45em; font-size: clamp(2.5rem, 5.5vw, 4.8rem); }
.public-post-hero .card-meta { justify-content: flex-start; color: var(--text); }
.public-post-layout { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: minmax(0, .75fr) minmax(420px, 1.25fr); align-items: start; }
.public-post-content { position: sticky; top: 120px; }
.public-post-content .lead { color: var(--text); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.75; }
.public-post-gallery { display: grid; gap: 1.15rem; }
.public-post-gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--yellow-deep); border-radius: 22px; background: #fff8d5; box-shadow: var(--shadow-soft); }
.public-post-gallery img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #fff; }
.error-page { min-height: 520px; display: flex; align-items: center; }
.error-page .container { text-align: center; }
.error-page .lead { max-width: 700px; margin-inline: auto; }
.error-page .actions { justify-content: center; }
.split-panel { background: #a9151b; }
.split-photo { min-height: 460px; }
.split-photo img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.category-card { min-height: 245px; border-color: #ead781; background: #fffef8; }
.category-card::before { width: 54px; height: 54px; border-color: #d9ae00; background: radial-gradient(circle at 35% 35%, #fff9df 0 15%, transparent 16%), repeating-linear-gradient(45deg, #ffe15c 0 6px, #f4c900 6px 11px); }
.about-photo-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.fabric-photo-stack { position: relative; min-height: 390px; }
.fabric-photo-stack img { position: absolute; width: 62%; height: 260px; border: 10px solid #fffef8; border-radius: 22px; object-fit: cover; box-shadow: var(--shadow); }
.fabric-photo-stack img:nth-child(1) { top: 0; left: 0; transform: rotate(-4deg); }
.fabric-photo-stack img:nth-child(2) { top: 70px; right: 0; transform: rotate(4deg); }
.fabric-photo-stack img:nth-child(3) { bottom: 0; left: 17%; transform: rotate(-1deg); }
.review-card { padding: 1.6rem; border: 1px solid #ead781; border-radius: var(--radius); background: #fffef8; }
.review-card p { color: var(--muted); }
.review-card strong, .review-card small { display: block; }
.review-card small { margin-top: .15rem; color: var(--muted); }
.stars { margin-bottom: .8rem; color: #e21f27; font-size: 1.15rem; letter-spacing: .1em; }
.newsletter-section { border-block: 1px solid #e8cb4e; background: var(--yellow); background-image: radial-gradient(rgb(226 31 39 / 15%) 1px, transparent 1px); background-size: 18px 18px; }
.newsletter-panel { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(2rem, 4vw, 3.5rem); }
.newsletter-panel h2 { color: var(--green-dark); }
.subscribe-form { padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid #e6c32d; border-radius: 24px; background: rgb(255 254 248 / 93%); box-shadow: var(--shadow); }
.subscribe-row { display: grid; grid-template-columns: 1fr auto; gap: .65rem; }
.check-field { display: flex; align-items: flex-start; gap: .6rem; margin-top: .8rem; color: var(--muted); font-size: .78rem; font-weight: 500; }
.check-field input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--red); }
.subscribe-form .form-status { margin-top: .8rem; }
.material-guide { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; }
.material-guide article { min-height: 135px; padding: 1.15rem; border: 1px solid #ead781; border-radius: 18px; background: #fffef8; }
.material-guide strong, .material-guide span { display: block; }
.material-guide strong { color: var(--red-dark); font-family: Georgia, serif; font-size: 1.2rem; }
.material-guide span { margin-top: .4rem; color: var(--muted); font-size: .85rem; }
.assortment-notice { border: 1px solid #e2c151; border-left: 6px solid var(--red); background: #fff9df; }
.fabric-public-search { display: grid; gap: .45rem; max-width: 900px; margin: 0 0 1.25rem; }
.fabric-public-search > label { color: var(--green-dark); font-weight: 800; }
.fabric-public-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .6rem; }
.fabric-public-search input { width: 100%; min-width: 0; min-height: 46px; padding: .7rem .9rem; border: 1px solid #b79d35; border-radius: 12px; background: #fffef8; color: var(--ink); }
.fabric-public-search input:focus { border-color: var(--red); outline: 3px solid rgb(227 34 40 / 16%); }
.fabric-public-search .button { min-height: 46px; }
.fabric-public-search [hidden] { display: none; }
.fabric-public-search small { color: var(--muted); }
.fabric-filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .55rem; margin-bottom: 1.5rem; }
.fabric-filter { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; min-height: 43px; padding: .55rem .9rem; border: 1px solid #b79d35; border-radius: 999px; background: #fffef8; color: var(--ink); font-weight: 750; line-height: 1.2; text-align: center; white-space: normal; cursor: pointer; }
.fabric-filter-multiline { gap: .25rem; }
.fabric-filter:hover, .fabric-filter[aria-pressed="true"] { border-color: var(--red); background: var(--red); color: white; }
.fabric-filter span { opacity: .75; }
.fabric-catalog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.fabric-card { overflow: hidden; border: 1px solid #ead781; border-radius: 18px; background: #fffef8; }
.fabric-card > img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; background: #fff; object-fit: contain; transition: transform .25s; }
.fabric-card:hover > img { transform: scale(1.025); }
.fabric-card-body { padding: 1rem; }
.fabric-card h3 { min-height: 2.5em; margin-top: .7rem; font-size: 1.08rem; }
.fabric-card p { color: var(--muted); font-size: .84rem; }
.fabric-card .text-link { font-size: .86rem; }
.catalog-source { margin-top: 1.4rem; color: var(--muted); font-size: .8rem; }
.home-photo-panel { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.home-photo-panel > img { width: 100%; min-height: 420px; border-radius: 28px; object-fit: cover; box-shadow: var(--shadow); }
.contact-map-grid { display: grid; grid-template-columns: .7fr 1.3fr; align-items: stretch; gap: clamp(1.5rem, 4vw, 3rem); }
.map-frame { min-height: 470px; overflow: hidden; border: 8px solid #fffef8; border-radius: 24px; box-shadow: var(--shadow); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 470px; border: 0; }
.privacy-copy h2 { margin-top: 2.6rem; font-size: clamp(1.55rem, 3vw, 2.2rem); }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr 430px; }
  .hero-photo { margin-right: -4vw; }
  .fabric-catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .material-guide { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 780px) {
  .hero-grid, .newsletter-panel, .home-photo-panel, .about-photo-grid, .contact-map-grid { grid-template-columns: 1fr; }
  .hero-photo { min-height: 390px; margin: 0 -16px -2.5rem; }
  .hero-photo img { min-height: 390px; object-position: 63% center; }
  .hero-photo::after { display: none; }
  .fabric-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .material-guide { grid-template-columns: repeat(2, 1fr); }
  .fabric-public-search > label, .fabric-public-search small { text-align: center; }
  .fabric-public-search-row { grid-template-columns: 1fr; justify-items: center; }
  .fabric-public-search-row input { width: 100%; }
  .fabric-public-search-row .button { width: min(100%, 190px); justify-self: center; }
  .fabric-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fabric-filter-multiline { gap: 0; flex-direction: column; }
  .fabric-filter-size { display: block; }
  .fabric-photo-stack { min-height: 330px; }
  .map-frame, .map-frame iframe { min-height: 390px; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
  .hero-photo { min-height: 300px; }
  .hero-photo img { min-height: 300px; }
  .visual-label { right: .75rem; bottom: .75rem; max-width: 190px; font-size: .78rem; }
  .fabric-catalog { grid-template-columns: 1fr; }
  .fabric-card > img { height: auto; }
  .material-guide { grid-template-columns: 1fr 1fr; }
  .subscribe-row { grid-template-columns: 1fr; }
  .fabric-public-search-row { grid-template-columns: 1fr; }
  .fabric-public-search input { grid-column: auto; }
  .fabric-public-search .button { width: min(100%, 190px); }
  .fabric-photo-stack { min-height: 280px; }
  .fabric-photo-stack img { height: 190px; border-width: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Iteration 4: bright, detailed storefront matching the approved reference */
:root {
  --yellow: #ffd400;
  --yellow-deep: #e7b900;
  --yellow-soft: #fff4aa;
  --paper: #fffaf0;
  --cream: #fff1a8;
  --ink: #242117;
  --muted: #59513c;
  --red: #e32228;
  --red-dark: #bd171d;
  --green: #237139;
  --green-dark: #155d2b;
  --line: #edd372;
  --container: 1320px;
}

body { font-size: 16px; background: #fffaf0; }
h1, h2, h3 { font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif; font-weight: 800; }
h2 { color: var(--red); font-size: clamp(1.75rem, 3vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.section { padding: clamp(3rem, 5vw, 5rem) 0; }
.section-compact { padding: clamp(2rem, 3.8vw, 3.5rem) 0; }
.section-heading { margin-bottom: 1.45rem; }
.section-heading .lead { font-size: 1rem; }
.eyebrow { color: var(--green-dark); letter-spacing: .09em; }
.button { padding-inline: 1.35rem; box-shadow: 0 8px 18px rgb(190 23 29 / 17%); }
.button-secondary { border: 2px solid var(--green-dark); color: var(--green-dark); box-shadow: none; }

.topline { background: linear-gradient(90deg, #ffdf00, #ffd000 50%, #ffe22e); }
.site-header { background: #fffdf5; }
.header-main { min-height: 88px; }
.brand img { width: 285px; max-height: 58px; }
.header-phone::before { margin-right: .4rem; color: var(--green-dark); content: "☎"; font-size: 1.15rem; }

.hero {
  min-height: 540px;
  padding: 0;
  background-color: #ffdd22;
  background-image: radial-gradient(rgb(194 22 27 / 17%) 1.1px, transparent 1.1px), linear-gradient(105deg, #ffe74d 0%, #ffda16 54%, #ffd20a 100%);
  background-size: 17px 17px, 100% 100%;
}
.hero::before { display: none; }
.hero-grid { min-height: 540px; grid-template-columns: minmax(470px, .88fr) minmax(620px, 1.12fr); gap: 0; }
.hero-grid > div:first-child { z-index: 3; padding: 3rem 1.2rem 2.6rem 0; }
.hero h1 { max-width: 650px; margin-bottom: .35em; color: var(--green-dark); font-size: clamp(3rem, 4.7vw, 4.7rem); line-height: 1.05; letter-spacing: -.035em; }
.hero h1 strong { display: inline; color: var(--red); }
.hero .lead { max-width: 600px; margin-bottom: 1.2rem; color: #302b1d; font-size: 1.08rem; line-height: 1.55; }
.hero-actions { gap: .85rem; }
.hero-actions .button { min-height: 50px; }
.hero-actions .button span { font-size: 1.3rem; line-height: 1; }
.hero-notes { gap: .75rem 1.5rem; margin-top: 1.6rem; color: #2d291c; font-size: .9rem; font-weight: 650; }
.hero-notes span::before { margin-right: .5rem; color: var(--green-dark); content: attr(data-icon); font-size: 1.2rem; font-weight: 900; }
.hero-photo { align-self: stretch; min-height: 540px; margin: 0 calc((100vw - min(100vw - 32px, var(--container))) / -2) 0 0; overflow: visible; }
.hero-photo img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; object-position: 51% center; mix-blend-mode: normal; filter: saturate(1.08) contrast(1.02); }
.hero-photo::after { display: none; }
.visual-label { top: 42%; right: auto; bottom: auto; left: 13%; max-width: 235px; padding: 1.15rem 1.25rem; border: 2px dashed #76a73d; border-radius: 22px; background: #fffdf1; color: var(--green-dark); box-shadow: 0 10px 25px rgb(88 58 0 / 17%); font-size: .98rem; line-height: 1.45; text-align: center; }
.visual-label::before { position: absolute; top: -25px; right: -19px; display: grid; width: 50px; height: 50px; border-radius: 50%; background: var(--red); color: #fff; content: "♥"; font-size: 1.55rem; place-items: center; }

.surface { background: #fffdf6; }
.surface-tint { background-color: #fff4b9; background-image: radial-gradient(rgb(221 177 0 / 23%) 1px, transparent 1px); background-size: 16px 16px; }
.surface .section-heading h2::before, .surface-tint .section-heading h2::before { margin-right: .55rem; color: var(--red); content: "✦"; }

.home-news-grid { gap: 1rem; }
.home-news-grid .news-card { display: grid; grid-template-columns: 42% 58%; min-height: 185px; border-radius: 17px; background: #fffef9; color: inherit; cursor: pointer; text-decoration: none; }
.home-news-grid .news-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
.home-news-grid .news-card .card-visual { min-height: 185px; }
.home-news-grid .news-card .card-visual img { height: 100%; min-height: 185px; object-fit: cover; }
.home-news-grid .news-card .card-body { padding: 1rem 1.05rem; }
.home-news-grid .news-card h3 { margin-bottom: .45rem; font-size: 1.06rem; }
.home-news-grid .news-card p { display: -webkit-box; margin-bottom: 0; overflow: hidden; font-size: .88rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.home-news-grid .card-meta { align-items: center; gap: .4rem; }

.home-material-grid { gap: 1rem; }
.home-material-grid .feature-card { position: relative; padding: 0 1.2rem 1.3rem; color: inherit; text-decoration: none; }
.home-material-grid .feature-card:hover { transform: translateY(-4px); }
.material-preview { display: grid; grid-template-columns: 1fr 1fr; height: 150px; margin: 0 -1.2rem 1.15rem; overflow: hidden; border-radius: 17px 17px 0 0; }
.material-preview img { width: 100%; height: 150px; object-fit: cover; }
.feature-icon { position: absolute; top: 125px; left: 1.15rem; display: grid; width: 48px; height: 48px; border: 4px solid #fffef8; border-radius: 50%; background: var(--yellow); color: var(--green-dark); font-size: 1.35rem; place-items: center; }
.home-material-grid .feature-card h3 { margin: .4rem 0 .35rem 3.3rem; }
.home-material-grid .feature-card p { margin-bottom: .55rem; font-size: .9rem; }
.home-material-grid .text-link { font-size: .86rem; }

.home-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) .72fr; gap: 1rem; }
.home-category-grid .category-card { min-height: 185px; padding: 1.15rem 1.1rem 1.05rem 7rem; justify-content: center; border-color: #ead274; }
.home-category-grid .category-card::before { display: none; }
.home-category-grid .category-card::after { position: absolute; left: 1.4rem; display: grid; width: 78px; height: 78px; color: var(--green-dark); content: attr(data-icon); font-family: ui-rounded, system-ui, sans-serif; font-size: 4rem; font-weight: 900; place-items: center; }
.home-category-grid .category-card { position: relative; }
.home-category-grid .category-card h3 { margin-bottom: .3rem; }
.home-category-grid .category-card p { margin-bottom: .45rem; font-size: .88rem; }
.home-category-grid .text-link { font-size: .84rem; }
.ask-card { display: grid; min-height: 185px; padding: 1.1rem; border: 2px dashed #e3b500; border-radius: 18px; background: #fffdf2; text-align: center; place-content: center; }
.ask-card > span { color: var(--red); font-size: 2rem; }
.ask-card p { margin: .15rem 0 .65rem; }
.ask-card .button { min-height: 40px; }

.split-panel { border: 5px solid #fff1a8; box-shadow: 0 14px 32px rgb(112 48 0 / 13%); }
.split-panel-content h2 { color: #fff; }
.review-card { position: relative; overflow: hidden; }
.review-card::after { position: absolute; right: -8px; bottom: -20px; color: rgb(226 31 39 / 7%); content: "♡"; font-size: 7rem; font-weight: 900; }
.newsletter-panel { border: 0; background: transparent; box-shadow: none; }

@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(430px, .95fr) minmax(520px, 1.05fr); }
  .hero h1 { font-size: clamp(2.8rem, 4.8vw, 4rem); }
  .home-category-grid { grid-template-columns: repeat(3, 1fr); }
  .ask-card { grid-column: 1 / -1; min-height: auto; grid-template-columns: auto auto auto; align-items: center; justify-content: center; gap: 1rem; }
  .ask-card > span { display: none; }
  .ask-card p { margin: 0; }
}

@media (max-width: 1040px) {
  .site-header { backdrop-filter: none; }
  .header-main { min-height: 78px; }
  .brand img { width: 245px; }
  .hero, .hero-grid { min-height: 510px; }
  .hero-grid { grid-template-columns: minmax(390px, .9fr) minmax(450px, 1.1fr); }
  .hero-grid > div:first-child { padding-block: 2.3rem; }
  .hero-photo, .hero-photo img { min-height: 510px; }
  .visual-label { top: 39%; left: 8%; max-width: 205px; font-size: .85rem; }
  .home-news-grid { grid-template-columns: 1fr; }
  .home-news-grid .news-card { grid-template-columns: 220px 1fr; min-height: 170px; }
  .home-news-grid .news-card .card-visual, .home-news-grid .news-card .card-visual img { min-height: 170px; }
}

@media (max-width: 780px) {
  .hero { min-height: 0; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; }
  .hero-grid > div:first-child { padding: 2.5rem 0 1.8rem; }
  .hero h1 { max-width: 620px; }
  .hero-photo { min-height: 410px; margin: 0 -16px; }
  .hero-photo img { min-height: 410px; object-position: 56% center; }
  .visual-label { top: 24%; right: auto; bottom: auto; left: 7%; }
  .home-material-grid { grid-template-columns: 1fr; }
  .home-material-grid .feature-card { display: grid; grid-template-columns: 180px 52px 1fr; grid-template-rows: auto auto auto; column-gap: 1rem; padding: 0 1rem 0 0; }
  .material-preview { grid-row: 1 / 4; width: 180px; height: 190px; margin: 0; border-radius: 17px 0 0 17px; }
  .material-preview img { height: 190px; }
  .feature-icon { position: static; grid-column: 2; grid-row: 1 / 4; align-self: center; border-width: 3px; }
  .home-material-grid .feature-card h3 { grid-column: 3; margin: 1.2rem 0 .2rem; align-self: end; }
  .home-material-grid .feature-card p { grid-column: 3; margin: 0; }
  .home-material-grid .text-link { grid-column: 3; margin-bottom: 1rem; }
  .home-category-grid { grid-template-columns: 1fr; }
  .home-category-grid .category-card { min-height: 155px; }
  .ask-card { grid-column: auto; }
}

@media (max-width: 520px) {
  .header-main { min-height: 70px; }
  .brand img { width: 205px; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 3.35rem); }
  .hero .lead { font-size: .98rem; }
  .hero-actions { grid-template-columns: 1fr 1fr; }
  .hero-actions .button { padding-inline: .8rem; font-size: .88rem; }
  .hero-notes { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
  .hero-photo, .hero-photo img { min-height: 330px; }
  .visual-label { top: 22%; left: 6%; max-width: 175px; padding: .75rem .85rem; font-size: .72rem; }
  .visual-label::before { top: -17px; right: -10px; width: 36px; height: 36px; font-size: 1.1rem; }
  .home-news-grid .news-card { grid-template-columns: 120px 1fr; min-height: 175px; }
  .home-news-grid .news-card .card-visual, .home-news-grid .news-card .card-visual img { min-height: 175px; }
  .home-news-grid .news-card .card-body { padding: .8rem; }
  .home-news-grid .news-card p { display: none; }
  .home-material-grid .feature-card { display: block; padding: 0 1rem 1rem; }
  .material-preview { display: grid; width: auto; height: 145px; margin: 0 -1rem 1rem; border-radius: 17px 17px 0 0; }
  .material-preview img { height: 145px; }
  .feature-icon { position: absolute; top: 120px; left: 1rem; }
  .home-material-grid .feature-card h3 { margin: .4rem 0 .3rem 3.3rem; }
  .home-material-grid .feature-card p { margin-bottom: .45rem; }
  .home-category-grid .category-card { min-height: 145px; padding-left: 6rem; }
  .home-category-grid .category-card::after { left: 1rem; width: 65px; font-size: 3.2rem; }
  .ask-card { grid-template-columns: 1fr; gap: .25rem; }
}

/* Iteration 4: expanded store departments and mobile alignment */
.home-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-category-grid .category-card { min-height: 205px; padding-left: 6.25rem; }
.home-category-grid .category-card::after { left: 1rem; width: 70px; font-size: 3.45rem; }
.home-category-grid .ask-card { grid-column: 1 / -1; min-height: auto; grid-template-columns: auto auto auto; align-items: center; justify-content: center; gap: 1rem; }
.home-category-grid .ask-card > span { display: none; }
.home-category-grid .ask-card p { margin: 0; }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
  padding: .7rem 1rem;
  border: 2px solid var(--green-dark);
  border-radius: 18px;
  background: #fffef8;
  color: var(--green-dark);
  box-shadow: 0 9px 22px rgb(78 60 0 / 12%);
  text-decoration: none;
}
.rating-score { color: var(--red); font-family: Georgia, serif; font-size: 2.15rem; font-weight: 800; line-height: 1; }
.rating-meta { display: grid; line-height: 1.2; }
.rating-stars { color: var(--red); font-size: .9rem; letter-spacing: .08em; }
.rating-meta small { margin-top: .25rem; font-size: .73rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

.footer-logo-panel { width: 100%; max-width: 285px; padding: .9rem 1rem; background: #fff; }

.department-hero { padding: 0; background: #ffe354; }
.department-hero-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr); min-height: 540px; }
.department-hero-copy { align-self: center; padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4.5rem) clamp(3rem, 7vw, 6rem) clamp(24px, 4vw, 64px); }
.department-hero-copy .breadcrumbs { margin-bottom: 1.35rem; }
.department-hero-copy h1 { color: var(--green-dark); font-size: clamp(2.55rem, 5vw, 4.7rem); }
.department-hero-copy h1 strong { color: var(--red); font-weight: inherit; }
.department-hero-copy .lead { margin-bottom: 1.5rem; }
.department-hero-photo { position: relative; min-height: 540px; margin: 0; overflow: hidden; }
.department-hero-photo img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; }
.department-hero-photo--paintings img { object-position: center; }

/* Unified photo heroes for the main inner pages */
.media-page-hero { min-height: 540px; padding: 0; overflow: hidden; }
.media-page-hero-grid { display: grid; min-height: 540px; grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr); }
.media-page-hero-copy { display: flex; padding: clamp(2.8rem, 5vw, 4.6rem) clamp(1.5rem, 4vw, 4rem) clamp(2.8rem, 5vw, 4.6rem) max(24px, calc((100vw - var(--container)) / 2)); align-items: center; }
.media-page-hero-inner { width: min(100%, 690px); }
.media-page-hero .breadcrumbs { margin-bottom: 1.35rem; }
.media-page-hero h1 { max-width: 690px; color: var(--green-dark); font-size: clamp(2.55rem, 5vw, 4.7rem); }
.media-page-hero .lead { max-width: 650px; margin-bottom: 1.5rem; }
.media-page-hero-photo { position: relative; min-height: 540px; margin: 0; overflow: hidden; }
.media-page-hero-photo img { display: block; width: 100%; height: 100%; min-height: 540px; object-fit: cover; object-position: center; }
.media-page-hero-photo--store img { object-position: center center; }
.department-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.department-card { padding: 1.45rem; border: 1px solid #e6ce6c; border-radius: var(--radius); background: #fffef9; box-shadow: 0 8px 22px rgb(89 60 0 / 7%); }
.department-card .department-icon { display: grid; width: 48px; height: 48px; margin-bottom: 1rem; border-radius: 50%; background: var(--yellow); color: var(--green-dark); font-size: 1.5rem; place-items: center; }
.department-card h2, .department-card h3 { margin-bottom: .45rem; font-size: 1.35rem; }
.department-card p { margin: 0; color: var(--muted); }
.assortment-note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; padding: 1.35rem 1.5rem; border: 2px dashed #d9af00; border-radius: var(--radius); background: #fffdf5; }
.assortment-note::before { color: var(--red); content: "✦"; font-size: 2rem; }
.assortment-note p { margin: 0; }
.photo-caption { position: absolute; right: 1rem; bottom: 1rem; margin: 0; padding: .45rem .7rem; border-radius: 999px; background: rgb(255 254 248 / 90%); color: var(--muted); font-size: .75rem; text-align: center; }
.admin-note { padding: 1rem 1.2rem; border-left: 4px solid var(--green); border-radius: 0 12px 12px 0; background: #e9f5df; }

@media (max-width: 1180px) {
  .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1040px) and (min-width: 781px) {
  .media-page-hero, .media-page-hero-grid,
  .media-page-hero-photo, .media-page-hero-photo img,
  .department-hero-grid, .department-hero-photo, .department-hero-photo img { min-height: 510px; }
  .media-page-hero-grid, .department-hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .media-page-hero h1, .department-hero-copy h1 { font-size: clamp(2.55rem, 5vw, 4rem); }
}

@media (max-width: 900px) {
  .department-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-post-layout { grid-template-columns: 1fr; }
  .public-post-content { position: static; text-align: center; }
  .public-post-content .actions { justify-content: center; }
}

@media (max-width: 780px) {
  .media-page-hero, .media-page-hero-grid { min-height: 0; }
  .media-page-hero-grid, .department-hero-grid { grid-template-columns: 1fr; }
  .media-page-hero-copy, .department-hero-copy { padding: 2.8rem 18px 2.5rem; text-align: center; }
  .media-page-hero-inner { width: min(100%, 680px); margin-inline: auto; }
  .media-page-hero .lead, .department-hero-copy .lead { margin-inline: auto; }
  .media-page-hero .breadcrumbs ol, .media-page-hero .actions { justify-content: center; }
  .media-page-hero-photo, .media-page-hero-photo img,
  .department-hero-photo, .department-hero-photo img { min-height: 410px; }
  .section-heading, .section-heading > div, .page-hero .container, .department-hero-copy,
  .split-panel-content, .about-photo-grid > div:first-child, .newsletter-panel > div:first-child,
  .form-intro, .content-flow { text-align: center; }
  .section-heading .lead, .page-hero .lead, .department-hero-copy .lead,
  .split-panel-content .lead, .about-photo-grid .lead { margin-inline: auto; }
  .section-heading .text-link { margin-inline: auto; }
  .breadcrumbs ol, .actions { justify-content: center; }
  .rating-badge { justify-content: center; }
  .footer-grid, .footer-brand { max-width: none; text-align: center; }
  .footer-logo-panel { display: flex; margin-inline: auto; justify-content: center; }
  .footer-links { display: grid; justify-items: center; }
  .footer-bottom { align-items: center; text-align: center; }
  .department-grid { grid-template-columns: 1fr; }
  .department-card { text-align: center; }
  .department-card .department-icon { margin-inline: auto; }
  .assortment-note { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .assortment-note .button { width: min(100%, 320px); }
}

@media (max-width: 520px) {
  .media-page-hero-copy, .department-hero-copy { padding: 2.5rem 18px 2.2rem; }
  .media-page-hero h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); }
  .media-page-hero-photo, .media-page-hero-photo img,
  .department-hero-photo, .department-hero-photo img { min-height: 330px; }
  .home-category-grid { grid-template-columns: 1fr; }
  .home-category-grid .category-card { padding: 1.25rem 1rem; text-align: center; }
  .home-category-grid .category-card::after { position: static; width: auto; height: 52px; margin-bottom: .4rem; font-size: 2.8rem; }
  .home-category-grid .ask-card { grid-template-columns: 1fr; }
  .rating-badge { width: 100%; }
  .department-hero-copy { padding: 2.6rem 18px; }
  .department-hero-copy h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); }
  .footer-bottom { display: grid; justify-content: center; }
  .public-post-hero h1 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .public-post-gallery { gap: .8rem; }
  .public-post-gallery figure { border-radius: 16px; }
}

/* Photo department cards from the approved storefront concept */
.home-category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; }
.home-category-grid .category-photo-card { position: relative; display: block; min-height: 210px; padding: 0; overflow: hidden; border: 2px solid rgb(255 255 255 / 92%); border-radius: 16px; background: #fffaf0; box-shadow: 0 8px 22px rgb(112 74 0 / 8%); text-align: left; isolation: isolate; }
.home-category-grid .category-photo-card::before { position: absolute; z-index: 1; inset: 0; width: auto; height: auto; margin: 0; border: 0; border-radius: 0; background: linear-gradient(90deg, #fffaf0 0%, #fffaf0 30%, rgb(255 250 240 / 94%) 42%, rgb(255 250 240 / 48%) 63%, transparent 82%); content: ""; }
.home-category-grid .category-photo-card::after { display: none; }
.category-card-image { position: absolute; z-index: 0; top: 0; right: 0; width: 70%; height: 100%; object-fit: cover; object-position: center; transition: transform .35s ease; }
.category-photo-card:nth-child(2) .category-card-image { object-position: 67% center; }
.category-photo-card:nth-child(4) .category-card-image { object-position: 58% center; }
.category-photo-card:nth-child(5) .category-card-image { object-position: 64% center; }
.category-photo-card:hover .category-card-image { transform: scale(1.045); }
.category-card-content { position: relative; z-index: 2; display: flex; width: 62%; min-height: 210px; padding: 1.15rem 0 .95rem 1.15rem; flex-direction: column; align-items: flex-start; }
.home-category-grid .category-photo-card h3 { margin: 0; color: #173e25; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.18rem, 1.5vw, 1.52rem); font-weight: 700; line-height: 1.08; }
.category-card-icon { margin-top: 1.1rem; color: var(--red); font-family: Georgia, serif; font-size: 2.7rem; line-height: 1; }
.category-card-arrow { margin-top: auto; color: var(--green-dark); font-size: 2rem; line-height: 1; transition: transform .2s; }
.category-photo-card:hover .category-card-arrow { transform: translateX(6px); }
.home-category-grid .ask-card { grid-column: 1 / -1; min-height: auto; }

@media (max-width: 1180px) {
  .home-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-category-grid .category-photo-card, .category-card-content { min-height: 195px; }
}

@media (max-width: 520px) {
  .home-category-grid { grid-template-columns: 1fr; }
  .home-category-grid .category-photo-card { min-height: 185px; padding: 0; text-align: left; }
  .category-card-content { min-height: 185px; padding: 1rem 0 .85rem 1rem; }
  .home-category-grid .category-photo-card h3 { font-size: 1.42rem; text-align: left; }
  .category-card-icon { margin-top: .8rem; font-size: 2.4rem; }
}

/* Exact approved five-card strip. The artwork stays unchanged; links sit above it. */
.exact-category-strip { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: var(--yellow-deep) transparent; scrollbar-width: thin; }
.exact-category-strip-media { position: relative; width: 100%; min-width: 0; }
.exact-category-strip img { display: block; width: 100%; height: auto; }
.exact-category-links { position: absolute; inset: 4% 1% 6%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8%; }
.exact-category-links a { display: block; border-radius: 13px; }
.exact-category-links a:focus-visible { outline: 4px solid var(--red); outline-offset: -5px; }

@media (max-width: 780px) {
  .exact-category-strip-media { width: 1000px; min-width: 1000px; }
}

/* Five separate cards cut precisely from the approved artwork. */
.exact-category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .85rem; }
.exact-category-card { display: block; width: 100%; aspect-ratio: 307 / 211; border-radius: 13px; background-color: #fffaf0; background-image: url("/assets/images/category-strip-exact.png"); background-repeat: no-repeat; background-size: 523.13% 110.43%; box-shadow: 0 7px 16px rgb(74 48 0 / 18%); transition: transform .2s, box-shadow .2s; }
.exact-category-card:hover { transform: translateY(-4px); box-shadow: 0 11px 23px rgb(74 48 0 / 23%); }
.exact-category-card:focus-visible { outline: 4px solid var(--red); outline-offset: 3px; }
.exact-category-card-1 { background-position: 1.08% 40.9%; }
.exact-category-card-2 { background-position: 25.58% 40.9%; }
.exact-category-card-3 { background-position: 50.04% 40.9%; }
.exact-category-card-4 { background-position: 74.44% 40.9%; }
.exact-category-card-5 { background-position: 98.54% 40.9%; }

@media (max-width: 1180px) {
  .exact-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .exact-category-grid { grid-template-columns: 1fr; gap: 1rem; }
  .exact-category-card { width: 100%; max-width: 520px; margin-inline: auto; }
}

/* Mobile hero alignment */
@media (max-width: 780px) {
  .hero-grid > div:first-child { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-notes { display: grid; grid-template-columns: 1fr; justify-items: center; gap: .65rem; width: 100%; }
  .hero-notes span { display: flex; width: 100%; align-items: center; justify-content: center; text-align: center; }
}

/* Mobile navigation: clean red menu icon and plain product group */
@media (max-width: 1180px) {
  .menu-toggle {
    width: 48px;
    min-height: 48px;
    padding: .45rem .3rem;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .menu-toggle:hover { background: transparent; }
  .menu-toggle:focus-visible { outline: 3px solid rgb(190 38 48 / 30%); outline-offset: 3px; }
  .menu-toggle span, .menu-toggle::before, .menu-toggle::after {
    width: 28px;
    height: 4px;
    margin: 5px auto;
    border-radius: 999px;
    background: var(--red);
  }
  .nav-more-toggle {
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--red);
    font-weight: 800;
    box-shadow: none;
  }
  .nav-more-toggle:hover, .nav-more-toggle:focus-visible,
  .nav-more.is-open .nav-more-toggle, .nav-more-toggle.is-current {
    border-color: transparent;
    background: transparent;
    color: var(--red-dark);
    box-shadow: none;
  }
  .nav-more-toggle:focus-visible {
    outline: 0;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
  }
  .nav-submenu {
    padding: 0 0 .5rem 1.5rem !important;
    background: var(--white);
  }
  .nav-submenu a { border-bottom: 0; }
  .nav-submenu a:hover, .nav-submenu a:focus-visible,
  .nav-submenu a[aria-current="page"] {
    background: var(--white);
    color: var(--red-dark);
  }
}

/* v26: equal, 30% more compact first screens */
@media (min-width: 1041px) {
  .hero, .hero-grid, .hero-photo, .hero-photo img,
  .media-page-hero, .media-page-hero-grid,
  .media-page-hero-photo, .media-page-hero-photo img,
  .department-hero-grid, .department-hero-photo, .department-hero-photo img,
  .page-hero:not(.media-page-hero) {
    box-sizing: border-box;
    height: 756px;
    min-height: 756px;
    max-height: 756px;
  }

  .hero, .media-page-hero, .department-hero,
  .page-hero:not(.media-page-hero) { overflow: hidden; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-grid > div:first-child { padding: 1rem 1.2rem 1rem 0; }
  .hero h1 { max-width: 610px; font-size: clamp(2.65rem, 3.8vw, 3.6rem); line-height: 1.02; }
  .hero .lead { margin-bottom: .75rem; font-size: .96rem; line-height: 1.4; }
  .hero-actions .button { min-height: 44px; }
  .hero-notes { gap: .35rem .9rem; margin-top: .75rem; font-size: .78rem; }
  .hero-notes span::before { font-size: 1rem; }
  .visual-label { top: 38%; max-width: 205px; padding: .8rem .95rem; font-size: .82rem; }
  .visual-label::before { top: -18px; right: -13px; width: 38px; height: 38px; font-size: 1.15rem; }

  .media-page-hero-grid, .department-hero-grid {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  }
  .media-page-hero-copy, .department-hero-copy {
    padding: 1rem clamp(1.2rem, 3vw, 2.8rem);
  }
  .media-page-hero-copy, .department-hero-copy {
    padding-left: max(24px, calc((100vw - var(--container)) / 2));
  }
  .media-page-hero .breadcrumbs, .department-hero-copy .breadcrumbs { margin-bottom: .6rem; }
  .media-page-hero .eyebrow, .department-hero-copy .eyebrow { margin-bottom: .45rem; }
  .media-page-hero h1, .department-hero-copy h1 {
    margin-bottom: .25em;
    font-size: clamp(2rem, 3.35vw, 3.2rem);
    line-height: 1.04;
  }
  .media-page-hero .lead, .department-hero-copy .lead {
    margin-bottom: .75rem;
    font-size: .94rem;
    line-height: 1.4;
  }
  .media-page-hero .button, .department-hero-copy .button { min-height: 44px; padding-block: .55rem; }

  .page-hero:not(.media-page-hero) {
    display: flex;
    padding: 1.5rem 0;
    align-items: center;
  }
  .page-hero:not(.media-page-hero) h1 {
    margin-bottom: .3em;
    font-size: clamp(2.2rem, 4vw, 3.55rem);
  }
  .page-hero:not(.media-page-hero) .blog-brand { margin-bottom: .55rem; }
  .page-hero:not(.media-page-hero) .breadcrumbs { margin-bottom: .55rem; }
  .page-hero:not(.media-page-hero) .eyebrow { margin-bottom: .4rem; }
  .page-hero:not(.media-page-hero) .lead { margin-bottom: .8rem; }
}

@media (min-width: 781px) and (max-width: 1040px) {
  .hero, .hero-grid, .hero-photo, .hero-photo img,
  .media-page-hero, .media-page-hero-grid,
  .media-page-hero-photo, .media-page-hero-photo img,
  .department-hero-grid, .department-hero-photo, .department-hero-photo img,
  .page-hero:not(.media-page-hero) {
    box-sizing: border-box;
    height: 714px;
    min-height: 714px;
    max-height: 714px;
  }

  .hero, .media-page-hero, .department-hero,
  .page-hero:not(.media-page-hero) { overflow: hidden; }
  .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .hero-grid > div:first-child { padding: .5rem 1rem .5rem 0; }
  .hero h1 { margin-bottom: .22em; font-size: clamp(2.3rem, 4.3vw, 2.7rem); line-height: 1.02; }
  .hero .lead { margin-bottom: .65rem; font-size: .88rem; line-height: 1.35; }
  .hero-actions .button { min-height: 42px; padding-block: .5rem; font-size: .84rem; }
  .hero-notes { gap: .3rem .7rem; margin-top: .6rem; font-size: .72rem; }
  .visual-label { top: 36%; max-width: 175px; padding: .7rem .8rem; font-size: .72rem; }

  .media-page-hero-copy, .department-hero-copy { padding: .85rem 1.25rem; }
  .media-page-hero-copy { padding-left: 18px; }
  .media-page-hero .breadcrumbs, .department-hero-copy .breadcrumbs { margin-bottom: .45rem; }
  .media-page-hero .eyebrow, .department-hero-copy .eyebrow { margin-bottom: .35rem; font-size: .7rem; }
  .media-page-hero h1, .department-hero-copy h1 {
    margin-bottom: .2em;
    font-size: clamp(1.8rem, 4.1vw, 2.55rem);
    line-height: 1.03;
  }
  .media-page-hero .lead, .department-hero-copy .lead {
    margin-bottom: .6rem;
    font-size: .84rem;
    line-height: 1.35;
  }
  .media-page-hero .button, .department-hero-copy .button {
    min-height: 40px;
    padding: .45rem .75rem;
    font-size: .8rem;
  }

  .page-hero:not(.media-page-hero) {
    display: flex;
    padding: 1.25rem 0;
    align-items: center;
  }
  .page-hero:not(.media-page-hero) h1 { margin-bottom: .25em; font-size: clamp(2rem, 5vw, 3rem); }
  .page-hero:not(.media-page-hero) .blog-brand { margin-bottom: .45rem; }
  .page-hero:not(.media-page-hero) .breadcrumbs { margin-bottom: .45rem; }
  .page-hero:not(.media-page-hero) .eyebrow { margin-bottom: .35rem; }
  .page-hero:not(.media-page-hero) .lead { margin-bottom: .65rem; }
}

@media (max-width: 780px) {
  .hero-grid > div:first-child { padding: 1.75rem 0 1.25rem; }
  .hero-photo, .hero-photo img,
  .media-page-hero-photo, .media-page-hero-photo img,
  .department-hero-photo, .department-hero-photo img {
    box-sizing: border-box;
    height: 287px;
    min-height: 287px;
    max-height: 287px;
  }
  .media-page-hero-copy, .department-hero-copy { padding: 1.95rem 18px 1.75rem; }
  .page-hero:not(.media-page-hero) { padding: 2.45rem 0 2.1rem; }
}

@media (max-width: 520px) {
  .hero-grid > div:first-child { padding: 1.5rem 0 1.1rem; }
  .hero-photo, .hero-photo img,
  .media-page-hero-photo, .media-page-hero-photo img,
  .department-hero-photo, .department-hero-photo img {
    height: 231px;
    min-height: 231px;
    max-height: 231px;
  }
  .media-page-hero-copy, .department-hero-copy { padding: 1.7rem 16px 1.5rem; }
  .page-hero:not(.media-page-hero) { padding: 2.1rem 0 1.8rem; }
}

/* Mobile sewing page: keep the hero image, simplify and center the next screens. */
@media (max-width: 780px) {
  .sewing-details-section .home-photo-panel > img { display: none; }
  .sewing-details-section .home-photo-panel > div,
  .sewing-details-section .facts,
  .sewing-details-section .fact { text-align: center; }
  .sewing-details-section .lead { margin-inline: auto; }
  .sewing-steps-section > .narrow > .eyebrow,
  .sewing-steps-section > .narrow > h2 { text-align: center; }
}

/* v29: availability-based fabric catalog and mobile fabric order block. */
.fabric-card-meta { display: grid; gap: .12rem; margin: -.15rem 0 .65rem; }
.fabric-card-meta small { color: var(--muted); font-size: .72rem; }
.fabric-card-meta strong { color: var(--ink); font-size: .84rem; }
.fabric-pagination { display: flex; align-items: center; justify-content: center; gap: .8rem; margin: 1.5rem 0 .5rem; text-align: center; }
.fabric-pagination button { min-height: 42px; padding: .55rem .9rem; border: 1px solid var(--red); border-radius: 999px; background: var(--white); color: var(--red-dark); font-weight: 750; cursor: pointer; }
.fabric-pagination button:hover:not(:disabled) { background: var(--red); color: white; }
.fabric-pagination button:disabled { border-color: #c9bf9a; color: #8c8469; cursor: default; opacity: .55; }
.fabric-pagination span { color: var(--muted); font-size: .86rem; }

@media (max-width: 780px) {
  .fabric-order-section .home-photo-panel > img { display: none; }
  .fabric-order-section .home-photo-panel > div { text-align: center; }
  .fabric-order-section .lead { margin-inline: auto; }
  .fabric-order-section .button { margin-inline: auto; }
  .catalog-source { text-align: center; }

  body:has(.media-page-hero-photo--store) .home-photo-panel > img { display: none; }
  body:has(.media-page-hero-photo--store) .home-photo-panel > div,
  body:has(.media-page-hero-photo--store) .about-directions .feature-card { text-align: center; }
  body:has(.media-page-hero-photo--store) .cta-band { text-align: center; }
  body:has(.media-page-hero-photo--store) .cta-band .lead { margin-inline: auto; }
  body:has(.media-page-hero-photo--store) .cta-band .button { margin-inline: auto; }

  body:has(.contact-page-hero) .contact-map-grid > div:first-child,
  body:has(.contact-page-hero) .contact-list,
  body:has(.contact-page-hero) .contact-item { text-align: center; }
  body:has(.contact-page-hero) .contact-map-grid .actions { justify-content: center; }
}

@media (max-width: 520px) {
  .fabric-pagination { display: grid; grid-template-columns: 1fr 1fr; }
  .fabric-pagination span { grid-column: 1 / -1; grid-row: 1; }
}
