/* Christian Artists — public styles.
   Idea: a quiet gallery. Prints hang in mats on a limestone wall; the accent
   colour follows the church year (Ordinary Time green, Advent violet, …). */

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 1000; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 1000; font-style: italic; font-display: swap;
}

:root {
  --ink: #1b2233;
  --ink-soft: #3b4458;
  --muted: #5d6577;
  --paper: #fbfbf9;
  --wall: #ebe9e3;
  --mat: #fdfcf8;
  --line: #d9d5cb;
  --line-soft: #e7e4dc;
  --gold: #a8833a;
  --gold-soft: #dcc694;
  --danger: #a3392b;
  --ok: #2f6b4f;
  --season: #2f6b4f;
  --season-tint: #e7f0eb;
  --wrap: 1200px;
  --narrow: 760px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --shadow-hung: 0 1px 1px rgba(27, 34, 51, .08), 0 12px 26px -10px rgba(27, 34, 51, .38), 0 40px 70px -40px rgba(27, 34, 51, .5);
  --shadow-print: 0 1px 2px rgba(27, 34, 51, .07), 0 8px 18px -12px rgba(27, 34, 51, .35);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--season) 70%, transparent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--season); }
:focus-visible { outline: 3px solid var(--season); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 520; letter-spacing: -.015em; line-height: 1.18; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.35rem + 2.7vw, 3.3rem); line-height: 1.07; letter-spacing: -.024em; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.008em; }
p { margin: 0 0 1em; }
small { font-size: .82em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.icon { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
ul.plain { list-style: none; padding: 0; margin: 0; }
.muted { color: var(--muted); }
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ header */
.staff-bar { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; background: var(--ink); color: #e8e6df; font-size: .82rem; padding: 6px var(--gutter); }
.staff-bar a { color: #fff; }
.staff-bar strong { color: var(--gold-soft); font-weight: 600; }
.site-header { background: var(--paper); border-top: 4px solid var(--season); border-bottom: 1px solid var(--line-soft); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand-mark { width: 48px; height: 48px; border-radius: 50%; object-fit: contain; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-weight: 640; font-size: 1.16rem; letter-spacing: -.01em; }
.brand-tag { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav ul { display: flex; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a[aria-current="page"] { border-bottom-color: var(--season); }
.nav-search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 2px 4px 2px 12px; }
.nav-search input { border: 0; background: transparent; font: inherit; font-size: .9rem; width: 13.5rem; padding: 6px 0; color: var(--ink); }
.nav-search input:focus { outline: none; }
.nav-search:focus-within { outline: 2px solid var(--season); outline-offset: 1px; }
.nav-search button { border: 0; background: none; padding: 6px; color: var(--muted); cursor: pointer; display: flex; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.basket-link { position: relative; display: inline-flex; padding: 10px; color: var(--ink); text-decoration: none; }
.basket-link .icon { width: 26px; height: 26px; }
.basket-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; border-radius: 10px; background: var(--season); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.basket-count[hidden] { display: none; }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }

@media (max-width: 1100px) { .nav-search input { width: 9rem; } }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 22px; flex-direction: column; align-items: stretch; gap: 14px; box-shadow: 0 16px 30px -18px rgba(27,34,51,.35); }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--line-soft); color: var(--season); }
  .nav-search input { width: 100%; font-size: 1rem; }
  .header-inner { min-height: 70px; gap: 10px; }
  .brand-mark { width: 40px; height: 40px; }
}
@media (max-width: 420px) { .brand-tag { display: none; } }

.crumbs ol { list-style: none; margin: 18px auto 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--season); text-decoration: underline; }
.flashes { margin-top: 16px; }
.flash { padding: 12px 16px; border-radius: var(--radius); background: var(--season-tint); border-left: 3px solid var(--season); }
.flash-error { background: #f7e9e6; border-left-color: var(--danger); }

/* ------------------------------------------------------------ frames */
.frame { display: block; background: var(--mat); padding: clamp(10px, 7%, 34px); box-shadow: var(--shadow-print); text-decoration: none; position: relative; margin: 0; }
.frame img { display: block; width: 100%; height: auto; aspect-ratio: 148 / 210; object-fit: cover; box-shadow: 0 0 0 1px rgba(168, 131, 58, .45); background: var(--line-soft); }
.frame-sm { padding: 7%; }
.frame-hung { border: clamp(6px, 1.2vw, 12px) solid #232a3a; box-shadow: var(--shadow-hung); background-image: linear-gradient(var(--mat), var(--mat)); }
.frame-hung::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 2px 6px rgba(0,0,0,.12); pointer-events: none; }
.frame-empty { aspect-ratio: 148 / 210; display: grid; place-items: center; color: var(--gold); }
.frame-empty .icon { width: 64px; height: 64px; }
a.frame:hover img { box-shadow: 0 0 0 1px var(--gold); }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; padding: .85em 1.35em; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--season); color: #fff; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--season-tint); color: var(--ink); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--season); text-underline-offset: .25em; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .9rem; }

/* ------------------------------------------------------------ sections */
.section { padding-top: clamp(40px, 6vw, 80px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.page-head { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(14px, 2vw, 22px); max-width: 52rem; }
.page-head.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); }
.page-head.wrap > * { max-width: 52rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.lead.prose p { font-size: 1.1rem; }
main { padding-bottom: clamp(48px, 7vw, 96px); }
.empty { padding: 40px 0; color: var(--ink-soft); max-width: 40rem; }
.notice { padding: 12px 16px; border-radius: var(--radius); background: #f3f1ec; border-left: 3px solid var(--line); }
.notice-ok { background: var(--season-tint); border-left-color: var(--season); }
.notice-season { background: var(--season-tint); border-left-color: var(--season); }
.notice-error { background: #f7e9e6; border-left-color: var(--danger); }

/* ------------------------------------------------------------ home hero */
.hero { background: radial-gradient(120% 90% at 28% 0%, #f7f6f2 0%, var(--wall) 62%); border-bottom: 1px solid var(--line-soft); padding: clamp(28px, 5vw, 72px) 0 clamp(36px, 6vw, 88px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.hero-art { max-width: 480px; width: 100%; justify-self: center; }
.hero-date { color: var(--season); font-weight: 600; font-size: .95rem; margin-bottom: .9em; }
.hero h1 { max-width: 15ch; }
.hero-lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 34rem; }
.museum-label { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 34rem; }
.museum-kicker { font-size: .9rem; color: var(--muted); margin: 0 0 .2em; }
.museum-title { font-size: 1.6rem; margin: 0; }
.museum-title a { text-decoration: none; }
.museum-style { color: var(--muted); margin: .15em 0 .8em; }
.verse { margin: 0 0 1.2em; padding: 0 0 0 18px; border-left: 2px solid var(--season); }
.verse p { font-style: italic; font-size: 1.08rem; color: var(--ink-soft); margin: 0 0 .35em; line-height: 1.55; }
.verse cite { font-style: normal; font-size: .9rem; font-weight: 600; color: var(--ink); }
.verse-lg p { font-size: 1.22rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero .frame-hung { animation: hang 1.1s cubic-bezier(.2, .7, .2, 1) both; transform-origin: 50% 0; }
  @keyframes hang { 0% { opacity: 0; transform: translateY(-18px) rotate(-1.2deg); } 55% { opacity: 1; transform: translateY(2px) rotate(.35deg); } 100% { transform: none; } }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 340px; order: -1; }
  .hero h1 { max-width: none; }
}

/* ------------------------------------------------------------ buy form */
.buy-form { margin-top: 6px; }
.paper-picker { border: 0; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.paper-picker legend { font-weight: 600; font-size: .95rem; margin-bottom: 10px; padding: 0; }
.paper { position: relative; display: flex; align-items: flex-end; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fff; cursor: pointer; transition: border-color .15s ease; }
.paper:hover { border-color: var(--ink-soft); }
.paper input { position: absolute; opacity: 0; pointer-events: none; }
.paper-sheet { flex: none; display: grid; place-items: end start; background: #fff; border: 1px solid var(--line); box-shadow: 1px 1px 0 var(--line-soft); font-size: .68rem; font-weight: 700; color: var(--muted); padding: 3px 4px; }
.paper-a5 .paper-sheet { width: 37px; height: 52px; }
.paper-a4 .paper-sheet { width: 52px; height: 74px; }
.paper-text { display: flex; flex-direction: column; line-height: 1.3; }
.paper-name { font-weight: 600; }
.paper-name small { display: block; color: var(--muted); font-weight: 400; }
.paper-price { font-size: 1.15rem; font-weight: 640; margin-top: 4px; }
.paper-price s { color: var(--muted); font-weight: 400; font-size: .9rem; }
.paper:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.paper:has(input:checked) .paper-sheet { background: var(--season-tint); border-color: var(--season); color: var(--season); }
.paper:has(input:focus-visible) { outline: 3px solid var(--season); outline-offset: 2px; }
.buy-note { font-size: .9rem; color: var(--muted); margin: 12px 0 0; display: flex; gap: 8px; align-items: flex-start; }
.buy-note .icon { color: var(--season); margin-top: 2px; }
.buy-status:empty { display: none; }
.buy-status { margin-top: 10px; padding: 10px 14px; background: var(--season-tint); border-radius: var(--radius); font-weight: 500; }
.bundle-hint { font-size: .92rem; color: var(--ink-soft); background: #f3f1ec; padding: 10px 14px; border-radius: var(--radius); }

/* ------------------------------------------------------------ art grid */
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: clamp(26px, 3vw, 40px) clamp(18px, 2.4vw, 32px); }
.art-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.art-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.art-card .frame { transition: transform .25s ease, box-shadow .25s ease; }
.art-card:hover .frame { transform: translateY(-3px); box-shadow: 0 2px 3px rgba(27,34,51,.08), 0 16px 26px -14px rgba(27,34,51,.45); }
.art-label { display: flex; flex-direction: column; gap: 2px; }
.art-title { font-weight: 600; line-height: 1.3; }
.art-card:hover .art-title { color: var(--season); }
.art-style { color: var(--muted); font-size: .9rem; }
.art-meta { display: flex; justify-content: space-between; gap: 8px; font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 6px; margin-top: 4px; }
.art-price { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .art-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; } .art-meta { flex-direction: column; gap: 0; } }

.days-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 28px; }
@media (max-width: 900px) {
  .days-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding-bottom: 12px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .days-row .art-card { flex: 0 0 min(46vw, 220px); scroll-snap-align: start; }
}

/* collections */
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); margin-top: 22px; }
.collection { display: grid; grid-template-columns: 38% 1fr; gap: 18px; align-items: start; text-decoration: none; color: var(--ink); padding: 18px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); }
.collection:hover { border-color: var(--season); }
.collection-img { display: block; background: var(--mat); padding: 8%; box-shadow: var(--shadow-print); }
.collection-img img { display: block; width: 100%; aspect-ratio: 148/210; object-fit: cover; }
.collection-body { display: flex; flex-direction: column; gap: 4px; }
.collection-name { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.collection:hover .collection-name { color: var(--season); }
.collection-count { color: var(--season); font-weight: 600; font-size: .9rem; }
.collection-intro { color: var(--ink-soft); font-size: .95rem; margin-top: 6px; }
@media (max-width: 960px) { .collection-grid { grid-template-columns: 1fr; } .collection { grid-template-columns: 110px 1fr; } }

/* style index */
.styles-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); }
.styles-intro { position: sticky; top: 24px; align-self: start; }
.styles-intro p { color: var(--ink-soft); }
.style-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.style-list a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 18px; padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.style-thumb { display: block; width: 44px; height: 62px; background: var(--line-soft); overflow: hidden; box-shadow: 0 0 0 4px var(--mat), var(--shadow-print); }
.style-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.style-name { font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-weight: 500; letter-spacing: -.01em; }
.style-list a:hover .style-name { color: var(--season); }
.style-count { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .styles-grid { grid-template-columns: 1fr; } .styles-intro { position: static; } }

/* steps (a real sequence) */
.step-list { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); padding: 0; margin: 22px 0 0; }
.step-list li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 18px; }
.step-list li::before { content: counter(step); display: block; font-size: 3rem; font-weight: 250; line-height: 1; color: var(--season); margin-bottom: 14px; }
.step-list p { color: var(--ink-soft); }
.steps-more { margin-top: 10px; }
@media (max-width: 760px) { .step-list { grid-template-columns: 1fr; } }

/* intro + values */
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.values { list-style: none; margin: 0; padding: 0; }
.values li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.values li:first-child { border-top: 1px solid var(--line); }
.values h3 { margin-bottom: .3em; }
.values p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }
.mission-text { text-align: left; }
.mission-text h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }

/* reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.review-grid-wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.review-invite { max-width: 62ch; padding: 22px 26px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--paper); }
.review-invite p { margin: 0 0 14px; }
.review-invite p:last-child { margin: 0; }
.review { margin: 0; padding: 22px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; color: var(--ink-soft); }
.review blockquote p:last-child { margin: 0; }
.review figcaption { font-size: .95rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); }
.review-stars { display: flex; gap: 2px; }
.star-on { color: var(--gold); fill: var(--gold); }
.star-off { color: var(--line); }
@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; } }

/* posts */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px); }
.post-card { display: flex; flex-direction: column; gap: 14px; }
.post-card-img img { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 2px; background: var(--line-soft); }
.post-card-meta { display: flex; gap: 12px; font-size: .85rem; color: var(--muted); margin: 0; }
.post-card h3 { font-size: 1.15rem; margin: 0; }
.post-card h3 a { text-decoration: none; }
.post-card p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-block h2 { margin-bottom: .7em; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 600; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list summary:hover { color: var(--season); }
.faq-answer { padding: 0 0 18px; color: var(--ink-soft); max-width: 68ch; }

/* CTA */
.cta-band { background: var(--ink); color: #eeece6; border-top: 4px solid var(--season); border-radius: var(--radius); margin: clamp(36px, 5vw, 64px) 0 0; }
.cta-inner { padding: clamp(26px, 4vw, 48px); max-width: 46rem; }
.cta-head { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); font-weight: 520; color: #fff; letter-spacing: -.015em; line-height: 1.2; margin-bottom: .45em; }
.cta-msg { color: #cfcbc1; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin: 18px 0 0; }
.cta-link, .cta-phone { color: #fff; }
.cta-site { font-size: .85rem; color: #a9a59b; margin: 14px 0 0; }
.cta-site a { color: #d8d4ca; }

/* ------------------------------------------------------------ prose & pages */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.4em 0; padding: 2px 0 2px 20px; border-left: 2px solid var(--season); font-style: italic; color: var(--ink-soft); }
.prose a { text-decoration: underline; text-decoration-color: var(--season); }
.prose img { border-radius: 2px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }
.content-page .page-head { padding-left: 0; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.content-grid:not(:has(.content-aside)) { grid-template-columns: minmax(0, 1fr); }
.content-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 20px; }
.aside-box { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px; }
.aside-title { font-weight: 640; margin-bottom: .4em; }
.aside-box ul.plain li { padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.aside-box ul.plain li:last-child { border: 0; }
.updated { color: var(--muted); font-size: .9rem; }
.kicker-icon { color: var(--season); margin: 0 0 .3em; }
.kicker-icon .icon { width: 36px; height: 36px; }
.page-banner { margin: 0 0 28px; }
.page-banner img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 2px; }
.narrow-prose { max-width: 70ch; }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } .content-aside { position: static; } }

/* services */
.services-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-list a { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.service-icon { grid-row: span 2; color: var(--season); }
.service-icon .icon { width: 30px; height: 30px; }
.service-name { font-weight: 600; font-size: 1.12rem; }
.service-list a:hover .service-name { color: var(--season); }
.service-short { color: var(--ink-soft); font-size: .96rem; }
.service-list-wide { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 56px); border-top: 0; }
.service-list-wide li { border-top: 1px solid var(--line); }
@media (max-width: 860px) { .services-layout, .service-list-wide { grid-template-columns: 1fr; } }

/* towns */
.town-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.town-list a { display: flex; flex-direction: column; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; height: 100%; }
.town-name { font-weight: 600; font-size: 1.15rem; }
.town-list a:hover .town-name { color: var(--season); }
.town-region { font-size: .88rem; color: var(--season); }
.town-intro { color: var(--ink-soft); font-size: .94rem; margin-top: 4px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .88rem; padding: 4px 10px; background: var(--season-tint); border-radius: 999px; }
.town-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.map-box iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); background: var(--line-soft); }
@media (max-width: 860px) { .town-bottom { grid-template-columns: 1fr; } }
.case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.case-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: #fff; border: 1px solid var(--line-soft); padding: 18px; border-radius: var(--radius); }
.case-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 8px; }
.case-title { font-weight: 600; font-size: 1.1rem; }
.case-meta { color: var(--season); font-size: .9rem; }
.case-summary { color: var(--ink-soft); font-size: .95rem; }

/* shop listing */
.shop-bar, .blog-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding-bottom: 14px; background: linear-gradient(var(--line), var(--line)) center bottom / calc(100% - 2 * var(--gutter)) 1px no-repeat; margin-bottom: 26px; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.tabs a { text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.tabs a[aria-current="page"] { border-bottom-color: var(--season); color: var(--ink); }
.shop-filters, .blog-search { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.shop-filters select, .shop-filters input, .blog-search input, .big-search input { font: inherit; font-size: .95rem; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); }
.shop-filters input, .blog-search input { width: 14rem; }
.shop-filters .btn, .blog-search .btn { padding: 9px 14px; font-size: .95rem; }
.result-count { color: var(--muted); font-size: .92rem; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin: 48px 0 0; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: #fff; }
.pager .pager-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager .pager-gap { border: 0; background: none; min-width: 20px; }
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.big-search { display: flex; gap: 8px; margin-top: 18px; max-width: 40rem; }
.big-search input { flex: 1; font-size: 1.05rem; padding: 12px 14px; }
@media (max-width: 700px) { .shop-filters, .blog-search { width: 100%; } .shop-filters input, .blog-search input { flex: 1; width: auto; min-width: 0; } .shop-filters select { flex: 1 1 45%; } }

/* product */
.product { padding-top: clamp(18px, 3vw, 36px); }
.product-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.product-art { position: sticky; top: 20px; background: radial-gradient(120% 90% at 50% 0%, #f7f6f2 0%, var(--wall) 70%); padding: clamp(22px, 4vw, 56px); border-radius: var(--radius); }
.product-frame { max-width: 460px; margin: 0 auto; }
.frame-note { font-size: .82rem; color: var(--muted); text-align: center; margin: 18px 0 0; }
.product-date { color: var(--season); font-weight: 600; font-size: .92rem; margin: 0 0 .5em; }
.product-info h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); margin-bottom: .3em; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 22px; }
.product-tags a { color: var(--muted); font-size: .95rem; }
.product-desc { margin-top: 26px; color: var(--ink-soft); }
.spec { margin: 26px 0; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 9rem 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec dt { font-weight: 600; }
.spec dd { margin: 0; color: var(--ink-soft); }
.print-help { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px 22px; margin: 22px 0; }
.print-help h2 { font-size: 1.2rem; }
.made-note { font-size: .88rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.made-note .icon { color: var(--gold); margin-top: 2px; }
@media (max-width: 860px) { .product-grid { grid-template-columns: 1fr; } .product-art { position: static; } .spec div { grid-template-columns: 1fr; gap: 0; } }

/* blog post */
.post-head { padding-top: clamp(24px, 4vw, 48px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .92rem; margin-bottom: 1em; }
.post-meta a { color: var(--season); font-weight: 600; text-decoration: none; }
.byline { color: var(--muted); }
.post-banner { margin: 18px auto 34px; }
.post-banner img { width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 2px; display: block; }
.post-body { font-size: 1.09rem; }
.post-trust { margin-top: 24px; font-size: .9rem; color: var(--muted); }

/* forms */
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .96rem; padding: 0; }
.req { font-weight: 400; color: var(--muted); font-size: .82rem; margin-left: 4px; }
.hint { font-size: .86rem; color: var(--muted); margin: 0; font-weight: 400; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input:not([type]), .field select, .field textarea, .field input[type=number] {
  font: inherit; font-size: 1rem; padding: 11px 12px; border: 1px solid #cdc8bd; border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--season); outline-offset: 0; border-color: var(--season); }
.has-error input, .has-error textarea, .has-error select { border-color: var(--danger); }
.error { color: var(--danger); font-size: .9rem; margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.radios { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.radios legend { width: 100%; margin-bottom: 6px; }
.radios label { font-weight: 400; display: inline-flex; gap: 6px; align-items: center; }
.check label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.rating { flex-direction: row; gap: 6px 14px; flex-wrap: wrap; }
.rating legend { width: 100%; }
.rating label { font-weight: 400; color: var(--gold); display: inline-flex; gap: 4px; align-items: center; }
.form-note { font-size: .86rem; color: var(--muted); margin: 0; }
.form-page .form { max-width: 36rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-aside { display: flex; flex-direction: column; gap: 22px; }
.contact-facts li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.contact-facts .icon { color: var(--season); margin-top: 3px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* basket & checkout */
.basket { width: 100%; border-collapse: collapse; }
.basket th, .basket td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.basket thead th { font-size: .85rem; color: var(--muted); font-weight: 600; }
.basket .num { text-align: right; white-space: nowrap; }
.basket-item a { display: flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 600; }
.basket-item img { box-shadow: 0 0 0 3px var(--mat), var(--shadow-print); }
.basket .qty { width: 4.2rem; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }
.basket tfoot th { text-align: right; font-weight: 500; }
.basket tfoot .total th, .basket tfoot .total td { font-weight: 700; font-size: 1.15rem; border-bottom: 0; }
.basket .discount td, .basket .discount th { color: var(--season); }
.basket-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; margin-top: 22px; }
@media (max-width: 700px) {
  .basket thead { display: none; }
  .basket tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .basket tbody td { border: 0; padding: 2px 0; }
  .basket-item { grid-column: 1 / -1; }
  .basket tfoot tr { display: flex; justify-content: space-between; }
  .basket tfoot th, .basket tfoot td { border: 0; padding: 6px 0; }
  .basket-actions .btn { flex: 1 1 100%; }
}
.checkout-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.checkout-grid .form h2 { font-size: 1.25rem; margin: 0; }
.pay-methods { gap: 10px; }
.pay-option { display: flex; gap: 12px; align-items: center; font-weight: 500 !important; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.order-summary { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; position: sticky; top: 20px; }
.order-summary h2 { font-size: 1.2rem; }
.summary-lines li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.summary-lines small { display: block; color: var(--muted); }
.totals { margin: 12px 0; }
.totals div { display: flex; justify-content: space-between; padding: 6px 0; }
.totals dt, .totals dd { margin: 0; }
.totals .total { font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.totals .discount { color: var(--season); }
@media (max-width: 860px) { .checkout-grid { grid-template-columns: 1fr; } .order-summary { position: static; order: -1; } }
.download-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); margin: 10px 0 30px; }
.download-item { display: grid; grid-template-columns: 84px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.download-item img { box-shadow: 0 0 0 4px var(--mat), var(--shadow-print); }
.download-item h2 { font-size: 1.2rem; margin: 0 0 .2em; }
.download-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.download-buttons small { font-weight: 400; opacity: .8; }

/* links, sitemap */
.link-group { margin-top: 28px; }
.link-list { padding-left: 1.2em; }
.link-list li { margin-bottom: .7em; color: var(--ink-soft); }
.link-list a { font-weight: 600; color: var(--ink); }
.sitemap-page section { margin-top: 30px; }

/* footer */
.site-footer { background: var(--ink); color: #cfcbc1; padding: clamp(40px, 6vw, 72px) 0 28px; font-size: .95rem; }
.site-footer a { color: #ecebe6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--season); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { padding: 4px 0; }
.footer-name { color: #fff; font-weight: 640; font-size: 1.2rem; margin: 0; }
.footer-tag { color: var(--gold-soft); margin: 2px 0 14px; }
.footer-about { max-width: 26rem; }
.footer-head { color: #fff; font-weight: 600; margin-bottom: 10px; }
.social { display: flex !important; gap: 10px; margin-top: 14px !important; }
.social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid #3c4559; border-radius: 50%; }
.social a:hover { border-color: var(--season); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid #333b4e; margin-top: 40px; padding-top: 20px; font-size: .86rem; color: #a7a397; }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cta-band, .buy-form, .staff-bar { display: none; } body { background: #fff; } }
