/* MEMORA HOUSE — shared styles (layout, components, base) */
:root {
  --olive: #2E3A2F;
  --sage: #A7B19A;
  --black: #000000;
  --white: #FFFFFF;

  --bg: var(--white);
  --text: var(--black);
  --muted: color-mix(in srgb, var(--black) 68%, var(--white));
  --line: color-mix(in srgb, var(--black) 16%, transparent);
  --soft: color-mix(in srgb, var(--sage) 26%, var(--white));
  --deep: var(--olive);
  --header: var(--olive);
  --btn-bg: var(--olive);
  --btn-text: var(--white);
  --focus: var(--olive);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 15px/1.75 var(--font-body); background: var(--bg); color: var(--text); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.25; margin: 0; }
h1 { font-size: clamp(28px, 6vw, 36px); line-height: 1.2; }
h2 { font-size: clamp(22px, 3.4vw, 24px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; 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; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--olive); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Layout helpers ---------- */
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--soft { background: var(--soft); }
.section--deep { background: var(--deep); color: var(--white); --focus: var(--white); --line: rgb(255 255 255 / .28); --muted: rgb(255 255 255 / .82); }
.sec-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { color: var(--muted); margin: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover .icon { transform: translateX(4px); }
.text-link .icon { transition: transform .25s; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; font: 600 16px/1.2 var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.btn--primary { background: var(--btn-bg); color: var(--btn-text); }
.btn--primary:hover { background: var(--sage); color: var(--olive); }
.btn--light { background: var(--white); color: var(--olive); }
.btn--light:hover { background: var(--sage); }
.btn--ghost { border-color: rgb(255 255 255 / .65); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--olive); }
.btn--outline { border-color: var(--text); color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--bg); }

/* ---------- Header / navbar ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header); color: var(--white); --focus: var(--white); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 600 18px/1 var(--font-head); letter-spacing: .14em; text-decoration: none; color: var(--white); white-space: nowrap; }
.brand .icon { width: 36px; height: 36px; stroke-width: 1.4; }
.nav-panel { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; align-items: center; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font: 500 15px/1.2 var(--font-body); color: var(--white); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-link::after { content: ""; position: absolute; inset-inline: 14px; bottom: 5px; height: 1px; background: var(--sage); transform: scaleX(0); transition: transform .25s; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link .icon { width: 14px; height: 14px; transition: transform .25s; }
.dropdown { position: relative; }
.dropdown.is-open > .nav-link .icon { transform: rotate(180deg); }
.dropdown-menu { position: absolute; inset-inline-start: 0; top: 100%; min-width: 190px; padding: 8px; background: var(--bg); color: var(--text); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.dropdown-menu a { display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; --focus: var(--olive); }
.dropdown-menu a:hover, .dropdown-menu a.is-active { background: var(--soft); }
@media (min-width: 961px) {
  .dropdown:hover > .dropdown-menu, .dropdown:focus-within > .dropdown-menu, .dropdown.is-open > .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; color: var(--white); border: 1px solid rgb(255 255 255 / .4); border-radius: 50%; cursor: pointer; transition: background-color .25s, color .25s; }
.icon-btn:hover { background: var(--white); color: var(--olive); }
.icon-sun { display: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .nav-panel { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 20px; padding: 12px 24px 28px; background: var(--header); max-height: calc(100svh - var(--header-h)); overflow-y: auto; border-top: 1px solid rgb(255 255 255 / .18); }
  .nav-panel.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid rgb(255 255 255 / .14); }
  .nav-link::after { display: none; }
  .dropdown-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; background: rgb(255 255 255 / .08); color: var(--white); border: 0; }
  .dropdown-menu a { --focus: var(--white); }
  .dropdown-menu a:hover, .dropdown-menu a.is-active { background: rgb(255 255 255 / .16); }
  .dropdown.is-open > .dropdown-menu { display: block; }
  .nav-actions { flex-wrap: wrap; }
  .nav-actions .btn { flex: 1 1 100%; order: 3; }
}

/* ---------- Frame component (used everywhere) ---------- */
.frame { --f-color: var(--olive); --f-w: 14px; --mat: 9%; position: relative; margin: 0; padding: var(--f-w); background: var(--f-color); box-shadow: 0 22px 30px -22px rgb(0 0 0 / .5); }
.frame__mat { background: var(--white); padding: var(--mat); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14); }
.frame__art { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.frame__art--sq { aspect-ratio: 1; }
.frame__art--wide { aspect-ratio: 5 / 4; }
.frame--classic { --f-w: clamp(14px, 2vw, 24px); --mat: 12%; box-shadow: inset 0 0 0 3px var(--sage), 0 22px 30px -22px rgb(0 0 0 / .5); }
.frame--modern { --f-color: var(--black); --f-w: 5px; --mat: 10%; }
.frame--natural { --f-color: var(--sage); --f-w: clamp(12px, 1.6vw, 18px); --mat: 7%; box-shadow: inset 0 0 0 1px var(--olive), 0 22px 30px -22px rgb(0 0 0 / .5); }
.frame--white { --f-color: var(--white); --f-w: 8px; --mat: 8%; outline: 1px solid var(--line); }
.img-missing { display: grid; place-items: center; background: var(--sage); color: var(--olive); text-align: center; padding: 16px; font-size: 13px; }
figcaption, .caption { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- 1. Hero ---------- */
.hero { position: relative; background: var(--deep); color: var(--white); --focus: var(--white); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgb(255 255 255 / .18); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; min-height: calc(100svh - var(--header-h)); padding-block: clamp(48px, 7vw, 96px); }
.hero__copy p { color: rgb(255 255 255 / .86); margin-top: 18px; max-width: 46ch; }
.hero__stage { position: relative; padding-bottom: 14%; }
.hero__main { width: 78%; margin-inline-start: auto; animation: frame-in 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.hero__small { position: absolute; bottom: 0; inset-inline-start: 2%; width: 36%; animation: frame-in 1.2s .45s cubic-bezier(.2, .7, .2, 1) both; }
.plaque { position: absolute; inset-inline-end: 0; bottom: 5%; margin: 0; max-width: 190px; padding: 12px 14px; background: var(--white); color: var(--olive); font-size: 12px; line-height: 1.5; animation: fade-in .8s 1.1s both; }
@keyframes frame-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 2. Framing styles ---------- */
.styles { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.wall { display: grid; grid-template-columns: 1.15fr .8fr 1fr; gap: clamp(16px, 3vw, 40px); align-items: end; background: var(--soft); padding: clamp(24px, 5vw, 64px); }
.wall figure:nth-child(2) { margin-bottom: 14%; }
.wall h3 { margin-top: 14px; font-size: 17px; }
.wall figcaption { margin-top: 4px; }

/* ---------- 3. Craftsmanship ---------- */
.craft { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.craft__media { position: relative; padding-bottom: 14%; }
.craft__media .frame:first-child { width: 82%; }
.craft__detail { position: absolute; bottom: 0; inset-inline-end: 0; width: 42%; }
.rule-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.rule-list li:last-child { border-bottom: 1px solid var(--line); }
.rule-list strong { display: block; font: 600 17px var(--font-head); margin-bottom: 2px; }
.rule-list span { color: var(--muted); }
.craft h2 { margin-bottom: 14px; }
.craft p { color: var(--muted); }

/* ---------- 4. Services ---------- */
.svc { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.svc__intro h2 { margin-bottom: 14px; }
.svc__intro p { color: var(--muted); }
.svc-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding-inline-start .3s, background-color .3s; }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row:hover { padding-inline-start: 16px; background: color-mix(in srgb, var(--bg) 60%, transparent); }
.svc-row p { grid-column: 1; margin: 0; color: var(--muted); }
.svc-row .icon { grid-column: 2; grid-row: 1 / span 2; }

/* ---------- 5. Preservation ---------- */
.pres { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.layers { display: grid; gap: 10px; }
.layer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border: 1px solid rgb(255 255 255 / .4); font-weight: 500; }
.layer small { font-size: 12px; opacity: .8; text-align: end; }
.layer--glaze { background: rgb(255 255 255 / .1); }
.layer--mat { background: var(--white); color: var(--olive); margin-inline: 18px; }
.layer--art { background: var(--sage); color: var(--olive); margin-inline: 36px; padding-block: 34px; }
.layer--mount { margin-inline: 18px; border-style: dashed; }
.layer--back { background: rgb(255 255 255 / .22); }
.pres h2 { margin-bottom: 14px; }
.pres__list { margin-block: 24px; }
.pres__list li { padding: 16px 0; border-top: 1px solid var(--line); }
.pres__list li:last-child { border-bottom: 1px solid var(--line); }
.pres__list strong { display: block; font: 600 17px var(--font-head); }

/* ---------- 6. Featured gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.g1 { grid-column: span 5; } .g2 { grid-column: span 3; padding-top: 90px; } .g3 { grid-column: span 4; padding-top: 30px; }
.g4 { grid-column: span 3; } .g5 { grid-column: span 5; padding-top: 50px; } .g6 { grid-column: span 4; padding-top: 110px; }
.gal__foot { margin-top: clamp(32px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.gal__foot p { margin: 0; color: var(--muted); }

/* ---------- 7. Materials builder ---------- */
.mats { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.corner { position: relative; max-width: 460px; width: 100%; aspect-ratio: 1; padding: clamp(18px, 5vw, 38px); box-shadow: 0 22px 30px -22px rgb(0 0 0 / .5); transition: background .3s; }
.corner__mat { position: relative; height: 100%; padding: 15%; transition: background .3s; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18); }
.corner__mat img, .corner__mat .img-missing { width: 100%; height: 100%; object-fit: cover; }
.corner__glaze { position: absolute; inset: 0; pointer-events: none; transition: background .3s; }
.corner[data-glaze="clear"] .corner__glaze { background: linear-gradient(115deg, rgb(255 255 255 / .38) 0 18%, transparent 18% 100%); }
.corner[data-glaze="uv"] .corner__glaze { background: linear-gradient(115deg, rgb(255 255 255 / .3) 0 18%, transparent 18% 100%), rgb(167 177 154 / .16); }
.corner[data-glaze="matte"] .corner__glaze { background: rgb(255 255 255 / .14); }
.tone-olive { background: var(--olive); } .tone-black { background: var(--black); } .tone-sage { background: var(--sage); } .tone-white { background: var(--white); }
.tone-grain-light { background: repeating-linear-gradient(94deg, var(--sage) 0 3px, color-mix(in srgb, var(--sage) 70%, var(--white)) 3px 9px); }
.tone-grain-dark { background: repeating-linear-gradient(94deg, var(--olive) 0 3px, color-mix(in srgb, var(--olive) 65%, var(--black)) 3px 9px); }
.picker { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.picker legend { font: 600 17px var(--font-head); padding: 0; margin-bottom: 12px; }
.picker__row { display: flex; flex-wrap: wrap; gap: 14px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt__sw { display: block; width: 52px; height: 52px; border: 1px solid var(--line); }
.opt__name { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); max-width: 70px; line-height: 1.35; }
.opt input:checked + .opt__sw { outline: 2px solid var(--text); outline-offset: 3px; }
.opt input:focus-visible + .opt__sw { outline: 3px solid var(--focus); outline-offset: 3px; }
.opt--glaze .opt__sw { width: 84px; background: linear-gradient(115deg, rgb(255 255 255 / .8) 0 20%, var(--soft) 20% 100%); }
.opt--glaze .opt__name { max-width: 90px; }
.mats__note { font-size: 13px; color: var(--muted); }
.mats h2 { margin-bottom: 14px; }

/* ---------- 8. How it works ---------- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.journey li { position: relative; padding-top: 52px; }
.journey li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; inset-inline-start: 0; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--text); background: var(--bg); font: 600 16px var(--font-head); z-index: 1; }
.journey li::after { content: ""; position: absolute; top: 19px; inset-inline-start: 38px; inset-inline-end: -32px; height: 1px; background: var(--line); }
.journey li:last-child::after { display: none; }
.journey h3 { margin-bottom: 8px; }
.journey p { color: var(--muted); margin: 0; }

/* ---------- 9. Inspiration ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px 28px; border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 48px); }
.tab { position: relative; padding: 12px 0; font: 500 15px var(--font-body); color: var(--muted); background: none; border: 0; cursor: pointer; }
.tab::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--text); transform: scaleX(0); transition: transform .25s; }
.tab[aria-selected="true"] { color: var(--text); font-weight: 600; }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.panel { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.panel[hidden] { display: none; }
.panel h3 { margin-bottom: 10px; }
.panel p { color: var(--muted); }
.comp { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 2vw, 24px); align-items: end; background: var(--soft); padding: clamp(20px, 4vw, 48px); }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .col-2-6 { grid-column: 2 / 6; }

/* ---------- 10. Why choose us ---------- */
.why { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; }
.why__item { padding: 30px 28px 30px 0; border-top: 1px solid var(--line); }
.why__item:nth-child(even) { padding-inline: 28px 0; border-inline-start: 1px solid var(--line); }
.why__item h3 { margin-bottom: 8px; }
.why__item p { margin: 0; color: var(--muted); }
.why h2 { margin-bottom: 32px; }

/* ---------- 11. Customer stories ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.story { margin: 0; padding: 30px; border: 1px solid var(--line); background: var(--bg); }
.story:nth-child(2) { margin-top: 48px; }
.story:nth-child(3) { margin-top: 96px; }
.story .tag { display: inline-block; margin: 0 0 18px; padding: 3px 10px; font-size: 12px; font-weight: 600; background: var(--sage); color: var(--olive); }
.story blockquote { margin: 0; font: 400 18px/1.6 var(--font-head); }
.story figcaption { margin-top: 18px; }

/* ---------- 12. Final CTA ---------- */
.cta__box { position: relative; padding: clamp(36px, 7vw, 96px); border: 1px solid rgb(255 255 255 / .35); }
.cta__box::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgb(255 255 255 / .2); pointer-events: none; }
.cta__box > * { position: relative; }
.cta__box p { color: rgb(255 255 255 / .86); margin-top: 14px; max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--header); color: var(--white); --focus: var(--white); --line: rgb(255 255 255 / .22); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 80px); }
.footer__top > * { min-width: 0; }
.footer__cta h2 { margin-bottom: 14px; }
.footer__cta p { color: rgb(255 255 255 / .86); }

/* Hanging pictures: wire, nail, swing on reveal, swing on hover */
.footer__hang { display: grid; grid-template-columns: 1.15fr .9fr 1.05fr .9fr; gap: clamp(12px, 2.2vw, 30px); align-items: start; }
.hang-slot { --wire: 34px; position: relative; padding-top: var(--wire); transform-origin: 50% 0; }
.hang-slot--1 { --wire: 26px; } .hang-slot--2 { --wire: 64px; } .hang-slot--3 { --wire: 40px; } .hang-slot--4 { --wire: 78px; }
.hang-slot::before { content: ""; position: absolute; top: 0; inset-inline-start: 27%; width: 46%; height: var(--wire);
  background:
    linear-gradient(to top left, transparent calc(50% - .6px), rgb(255 255 255 / .6) calc(50% - .6px) calc(50% + .6px), transparent calc(50% + .6px)) left / 50% 100% no-repeat,
    linear-gradient(to top right, transparent calc(50% - .6px), rgb(255 255 255 / .6) calc(50% - .6px) calc(50% + .6px), transparent calc(50% + .6px)) right / 50% 100% no-repeat; }
.hang-slot::after { content: ""; position: absolute; top: -3px; inset-inline-start: calc(50% - 3.5px); width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.hang { transform-origin: 50% calc(var(--wire) * -1); transition: filter .3s; }
.hang:hover { animation: swing-hover 1.1s ease-out; }
.footer__hang.is-visible .hang-slot { animation: swing 2.4s ease-out both; }
.footer__hang.is-visible .hang-slot--2 { animation-delay: .15s; }
.footer__hang.is-visible .hang-slot--3 { animation-delay: .3s; }
.footer__hang.is-visible .hang-slot--4 { animation-delay: .45s; }
@keyframes swing { 0% { transform: rotate(-7deg); } 20% { transform: rotate(4.5deg); } 40% { transform: rotate(-2.6deg); } 60% { transform: rotate(1.4deg); } 80% { transform: rotate(-.6deg); } 100% { transform: rotate(0); } }
@keyframes swing-hover { 0% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 55% { transform: rotate(2.4deg); } 80% { transform: rotate(-1deg); } 100% { transform: rotate(0); } }

/* Services ticker */
.marquee { overflow: hidden; padding-block: 20px; border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: 34px; padding-inline-end: 34px; }
.marquee__set span { font: 600 clamp(18px, 2.6vw, 26px)/1.2 var(--font-head); white-space: nowrap; }
.marquee__set .icon { width: 24px; height: 24px; stroke: var(--sage); stroke-width: 1.3; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* Link columns */
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(48px, 6vw, 80px); }
.footer__grid > * { min-width: 0; }
.footer__grid h3 { font-size: 16px; margin-bottom: 16px; }
.footer__tag { margin-top: 16px; color: rgb(255 255 255 / .8); max-width: 32ch; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { text-decoration: none; opacity: .86; padding-bottom: 2px; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .3s, opacity .3s; }
.footer__links a:hover, .footer__links a:focus-visible { opacity: 1; background-size: 100% 1px; }
.footer__info li { opacity: .86; }

/* Wordmark */
.footer__word { margin: 0; max-width: none; text-align: center; font: 600 clamp(26px, 8.4vw, 136px)/1.05 var(--font-head); letter-spacing: .06em; white-space: nowrap; user-select: none;
  color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .42);
  background: linear-gradient(var(--sage), var(--sage)) left / 0 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
.footer__word.is-visible { background-size: 100% 100%; }
.js .footer__word.reveal { transition: opacity .7s ease, transform .7s ease, background-size 2.2s ease .25s; }

.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding-block: 22px 28px; border-top: 1px solid var(--line); font-size: 13px; }
.footer__bottom .text-link { font-size: 13px; }
.to-top { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; display: grid; place-items: center; background: var(--olive); color: var(--white); border: 1px solid rgb(255 255 255 / .5); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; --focus: var(--white); }
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Reveal (only when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
.hero__grid > *, .styles > *, .craft > *, .svc > *, .pres > *, .mats > *, .panel > *, .why > *, .wall > *, .comp > * { min-width: 0; }
@media (max-width: 1024px) {
  .journey { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .journey li:nth-child(2)::after { display: none; }
  .stories { grid-template-columns: 1fr 1fr; }
  .story:nth-child(3) { margin-top: 0; }
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__hang { max-width: 560px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .hero__grid, .styles, .craft, .svc, .pres, .mats, .panel, .why { grid-template-columns: 1fr; }
  .hero__grid { min-height: 0; }
  .hero__stage { max-width: 520px; width: 100%; margin-inline: auto; }
  .svc__intro { position: static; }
  .craft__media { max-width: 560px; }
  .gal { grid-template-columns: repeat(6, 1fr); }
  .g1, .g2, .g3, .g4, .g5, .g6 { grid-column: span 3; padding-top: 0; }
  .g2, .g5 { padding-top: 48px; }
  .why__aside { max-width: 320px; }
  }
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__hang { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .footer__bottom { justify-content: center; text-align: center; }
  .container { width: min(1200px, 100% - 32px); }
  .hero::before { display: none; }
  .wall { grid-template-columns: 1fr 1fr; }
  .wall figure:first-child { grid-column: 1 / -1; }
  .wall figure:nth-child(2) { margin-bottom: 0; }
  .gal { grid-template-columns: 1fr 1fr; gap: 16px; }
  .g1, .g2, .g3, .g4, .g5, .g6 { grid-column: span 1; }
  .g1, .g5 { grid-column: 1 / -1; }
  .g2, .g5 { padding-top: 0; }
  .journey { grid-template-columns: 1fr; gap: 28px; }
  .journey li { padding: 0 0 0 58px; }
  .journey li::after { top: 38px; bottom: -28px; height: auto; width: 1px; inset-inline-start: 19px; inset-inline-end: auto; }
  .journey li:nth-child(2)::after { display: block; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item, .why__item:nth-child(even) { padding-inline: 0; border-inline-start: 0; }
  .stories { grid-template-columns: 1fr; }
  .story:nth-child(n) { margin-top: 0; }
  .comp .span-2 { grid-column: span 3; }
  .brand { font-size: 16px; letter-spacing: .1em; }
  .plaque { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Small refinements ---------- */
.sec-head .text-link { margin-top: 20px; }
.mats p { color: var(--muted); }
@media (max-width: 640px) { .comp .span-4, .comp .col-2-6 { grid-column: 1 / -1; } }
/* MEMORA HOUSE — shared styles (layout, components, base) */
:root {
  --olive: #2E3A2F;
  --sage: #A7B19A;
  --black: #000000;
  --white: #FFFFFF;

  --bg: var(--white);
  --text: var(--black);
  --muted: color-mix(in srgb, var(--black) 68%, var(--white));
  --line: color-mix(in srgb, var(--black) 16%, transparent);
  --soft: color-mix(in srgb, var(--sage) 26%, var(--white));
  --deep: var(--olive);
  --header: var(--olive);
  --btn-bg: var(--olive);
  --btn-text: var(--white);
  --focus: var(--olive);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 15px/1.75 var(--font-body); background: var(--bg); color: var(--text); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.25; margin: 0; }
h1 { font-size: clamp(28px, 6vw, 36px); line-height: 1.2; }
h2 { font-size: clamp(22px, 3.4vw, 24px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; 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; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--olive); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Layout helpers ---------- */
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--soft { background: var(--soft); }
.section--deep { background: var(--deep); color: var(--white); --focus: var(--white); --line: rgb(255 255 255 / .28); --muted: rgb(255 255 255 / .82); }
.sec-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { color: var(--muted); margin: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover .icon { transform: translateX(4px); }
.text-link .icon { transition: transform .25s; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; font: 600 16px/1.2 var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.btn--primary { background: var(--btn-bg); color: var(--btn-text); }
.btn--primary:hover { background: var(--sage); color: var(--olive); }
.btn--light { background: var(--white); color: var(--olive); }
.btn--light:hover { background: var(--sage); }
.btn--ghost { border-color: rgb(255 255 255 / .65); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--olive); }
.btn--outline { border-color: var(--text); color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--bg); }

/* ---------- Header / navbar ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header); color: var(--white); --focus: var(--white); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 600 18px/1 var(--font-head); letter-spacing: .14em; text-decoration: none; color: var(--white); white-space: nowrap; }
.brand .icon { width: 36px; height: 36px; stroke-width: 1.4; }
.nav-panel { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; align-items: center; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font: 500 15px/1.2 var(--font-body); color: var(--white); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-link::after { content: ""; position: absolute; inset-inline: 14px; bottom: 5px; height: 1px; background: var(--sage); transform: scaleX(0); transition: transform .25s; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link .icon { width: 14px; height: 14px; transition: transform .25s; }
.dropdown { position: relative; }
.dropdown.is-open > .nav-link .icon { transform: rotate(180deg); }
.dropdown-menu { position: absolute; inset-inline-start: 0; top: 100%; min-width: 190px; padding: 8px; background: var(--bg); color: var(--text); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.dropdown-menu a { display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; --focus: var(--olive); }
.dropdown-menu a:hover, .dropdown-menu a.is-active { background: var(--soft); }
@media (min-width: 961px) {
  .dropdown:hover > .dropdown-menu, .dropdown:focus-within > .dropdown-menu, .dropdown.is-open > .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; color: var(--white); border: 1px solid rgb(255 255 255 / .4); border-radius: 50%; cursor: pointer; transition: background-color .25s, color .25s; }
.icon-btn:hover { background: var(--white); color: var(--olive); }
.icon-sun { display: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .nav-panel { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 20px; padding: 12px 24px 28px; background: var(--header); max-height: calc(100svh - var(--header-h)); overflow-y: auto; border-top: 1px solid rgb(255 255 255 / .18); }
  .nav-panel.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid rgb(255 255 255 / .14); }
  .nav-link::after { display: none; }
  .dropdown-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; background: rgb(255 255 255 / .08); color: var(--white); border: 0; }
  .dropdown-menu a { --focus: var(--white); }
  .dropdown-menu a:hover, .dropdown-menu a.is-active { background: rgb(255 255 255 / .16); }
  .dropdown.is-open > .dropdown-menu { display: block; }
  .nav-actions { flex-wrap: wrap; }
  .nav-actions .btn { flex: 1 1 100%; order: 3; }
}

/* ---------- Frame component (used everywhere) ---------- */
.frame { --f-color: var(--olive); --f-w: 14px; --mat: 9%; position: relative; margin: 0; padding: var(--f-w); background: var(--f-color); box-shadow: 0 22px 30px -22px rgb(0 0 0 / .5); }
.frame__mat { background: var(--white); padding: var(--mat); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14); }
.frame__art { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.frame__art--sq { aspect-ratio: 1; }
.frame__art--wide { aspect-ratio: 5 / 4; }
.frame--classic { --f-w: clamp(14px, 2vw, 24px); --mat: 12%; box-shadow: inset 0 0 0 3px var(--sage), 0 22px 30px -22px rgb(0 0 0 / .5); }
.frame--modern { --f-color: var(--black); --f-w: 5px; --mat: 10%; }
.frame--natural { --f-color: var(--sage); --f-w: clamp(12px, 1.6vw, 18px); --mat: 7%; box-shadow: inset 0 0 0 1px var(--olive), 0 22px 30px -22px rgb(0 0 0 / .5); }
.frame--white { --f-color: var(--white); --f-w: 8px; --mat: 8%; outline: 1px solid var(--line); }
.img-missing { display: grid; place-items: center; background: var(--sage); color: var(--olive); text-align: center; padding: 16px; font-size: 13px; }
figcaption, .caption { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- 1. Hero ---------- */
.hero { position: relative; background: var(--deep); color: var(--white); --focus: var(--white); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgb(255 255 255 / .18); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; min-height: calc(100svh - var(--header-h)); padding-block: clamp(48px, 7vw, 96px); }
.hero__copy p { color: rgb(255 255 255 / .86); margin-top: 18px; max-width: 46ch; }
.hero__stage { position: relative; padding-bottom: 14%; }
.hero__main { width: 78%; margin-inline-start: auto; animation: frame-in 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.hero__small { position: absolute; bottom: 0; inset-inline-start: 2%; width: 36%; animation: frame-in 1.2s .45s cubic-bezier(.2, .7, .2, 1) both; }
.plaque { position: absolute; inset-inline-end: 0; bottom: 5%; margin: 0; max-width: 190px; padding: 12px 14px; background: var(--white); color: var(--olive); font-size: 12px; line-height: 1.5; animation: fade-in .8s 1.1s both; }
@keyframes frame-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 2. Framing styles ---------- */
.styles { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.wall { display: grid; grid-template-columns: 1.15fr .8fr 1fr; gap: clamp(16px, 3vw, 40px); align-items: end; background: var(--soft); padding: clamp(24px, 5vw, 64px); }
.wall figure:nth-child(2) { margin-bottom: 14%; }
.wall h3 { margin-top: 14px; font-size: 17px; }
.wall figcaption { margin-top: 4px; }

/* ---------- 3. Craftsmanship ---------- */
.craft { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.craft__media { position: relative; padding-bottom: 14%; }
.craft__media .frame:first-child { width: 82%; }
.craft__detail { position: absolute; bottom: 0; inset-inline-end: 0; width: 42%; }
.rule-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.rule-list li:last-child { border-bottom: 1px solid var(--line); }
.rule-list strong { display: block; font: 600 17px var(--font-head); margin-bottom: 2px; }
.rule-list span { color: var(--muted); }
.craft h2 { margin-bottom: 14px; }
.craft p { color: var(--muted); }

/* ---------- 4. Services ---------- */
.svc { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.svc__intro h2 { margin-bottom: 14px; }
.svc__intro p { color: var(--muted); }
.svc-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding-inline-start .3s, background-color .3s; }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row:hover { padding-inline-start: 16px; background: color-mix(in srgb, var(--bg) 60%, transparent); }
.svc-row p { grid-column: 1; margin: 0; color: var(--muted); }
.svc-row .icon { grid-column: 2; grid-row: 1 / span 2; }

/* ---------- 5. Preservation ---------- */
.pres { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.layers { display: grid; gap: 10px; }
.layer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border: 1px solid rgb(255 255 255 / .4); font-weight: 500; }
.layer small { font-size: 12px; opacity: .8; text-align: end; }
.layer--glaze { background: rgb(255 255 255 / .1); }
.layer--mat { background: var(--white); color: var(--olive); margin-inline: 18px; }
.layer--art { background: var(--sage); color: var(--olive); margin-inline: 36px; padding-block: 34px; }
.layer--mount { margin-inline: 18px; border-style: dashed; }
.layer--back { background: rgb(255 255 255 / .22); }
.pres h2 { margin-bottom: 14px; }
.pres__list { margin-block: 24px; }
.pres__list li { padding: 16px 0; border-top: 1px solid var(--line); }
.pres__list li:last-child { border-bottom: 1px solid var(--line); }
.pres__list strong { display: block; font: 600 17px var(--font-head); }

/* ---------- 6. Featured gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.g1 { grid-column: span 5; } .g2 { grid-column: span 3; padding-top: 90px; } .g3 { grid-column: span 4; padding-top: 30px; }
.g4 { grid-column: span 3; } .g5 { grid-column: span 5; padding-top: 50px; } .g6 { grid-column: span 4; padding-top: 110px; }
.gal__foot { margin-top: clamp(32px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.gal__foot p { margin: 0; color: var(--muted); }

/* ---------- 7. Materials builder ---------- */
.mats { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.corner { position: relative; max-width: 460px; width: 100%; aspect-ratio: 1; padding: clamp(18px, 5vw, 38px); box-shadow: 0 22px 30px -22px rgb(0 0 0 / .5); transition: background .3s; }
.corner__mat { position: relative; height: 100%; padding: 15%; transition: background .3s; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18); }
.corner__mat img, .corner__mat .img-missing { width: 100%; height: 100%; object-fit: cover; }
.corner__glaze { position: absolute; inset: 0; pointer-events: none; transition: background .3s; }
.corner[data-glaze="clear"] .corner__glaze { background: linear-gradient(115deg, rgb(255 255 255 / .38) 0 18%, transparent 18% 100%); }
.corner[data-glaze="uv"] .corner__glaze { background: linear-gradient(115deg, rgb(255 255 255 / .3) 0 18%, transparent 18% 100%), rgb(167 177 154 / .16); }
.corner[data-glaze="matte"] .corner__glaze { background: rgb(255 255 255 / .14); }
.tone-olive { background: var(--olive); } .tone-black { background: var(--black); } .tone-sage { background: var(--sage); } .tone-white { background: var(--white); }
.tone-grain-light { background: repeating-linear-gradient(94deg, var(--sage) 0 3px, color-mix(in srgb, var(--sage) 70%, var(--white)) 3px 9px); }
.tone-grain-dark { background: repeating-linear-gradient(94deg, var(--olive) 0 3px, color-mix(in srgb, var(--olive) 65%, var(--black)) 3px 9px); }
.picker { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.picker legend { font: 600 17px var(--font-head); padding: 0; margin-bottom: 12px; }
.picker__row { display: flex; flex-wrap: wrap; gap: 14px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt__sw { display: block; width: 52px; height: 52px; border: 1px solid var(--line); }
.opt__name { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); max-width: 70px; line-height: 1.35; }
.opt input:checked + .opt__sw { outline: 2px solid var(--text); outline-offset: 3px; }
.opt input:focus-visible + .opt__sw { outline: 3px solid var(--focus); outline-offset: 3px; }
.opt--glaze .opt__sw { width: 84px; background: linear-gradient(115deg, rgb(255 255 255 / .8) 0 20%, var(--soft) 20% 100%); }
.opt--glaze .opt__name { max-width: 90px; }
.mats__note { font-size: 13px; color: var(--muted); }
.mats h2 { margin-bottom: 14px; }

/* ---------- 8. How it works ---------- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.journey li { position: relative; padding-top: 52px; }
.journey li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; inset-inline-start: 0; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--text); background: var(--bg); font: 600 16px var(--font-head); z-index: 1; }
.journey li::after { content: ""; position: absolute; top: 19px; inset-inline-start: 38px; inset-inline-end: -32px; height: 1px; background: var(--line); }
.journey li:last-child::after { display: none; }
.journey h3 { margin-bottom: 8px; }
.journey p { color: var(--muted); margin: 0; }

/* ---------- 9. Inspiration ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px 28px; border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 48px); }
.tab { position: relative; padding: 12px 0; font: 500 15px var(--font-body); color: var(--muted); background: none; border: 0; cursor: pointer; }
.tab::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--text); transform: scaleX(0); transition: transform .25s; }
.tab[aria-selected="true"] { color: var(--text); font-weight: 600; }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.panel { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.panel[hidden] { display: none; }
.panel h3 { margin-bottom: 10px; }
.panel p { color: var(--muted); }
.comp { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 2vw, 24px); align-items: end; background: var(--soft); padding: clamp(20px, 4vw, 48px); }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .col-2-6 { grid-column: 2 / 6; }

/* ---------- 10. Why choose us ---------- */
.why { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; }
.why__item { padding: 30px 28px 30px 0; border-top: 1px solid var(--line); }
.why__item:nth-child(even) { padding-inline: 28px 0; border-inline-start: 1px solid var(--line); }
.why__item h3 { margin-bottom: 8px; }
.why__item p { margin: 0; color: var(--muted); }
.why h2 { margin-bottom: 32px; }

/* ---------- 11. Customer stories ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.story { margin: 0; padding: 30px; border: 1px solid var(--line); background: var(--bg); }
.story:nth-child(2) { margin-top: 48px; }
.story:nth-child(3) { margin-top: 96px; }
.story .tag { display: inline-block; margin: 0 0 18px; padding: 3px 10px; font-size: 12px; font-weight: 600; background: var(--sage); color: var(--olive); }
.story blockquote { margin: 0; font: 400 18px/1.6 var(--font-head); }
.story figcaption { margin-top: 18px; }

/* ---------- 12. Final CTA ---------- */
.cta__box { position: relative; padding: clamp(36px, 7vw, 96px); border: 1px solid rgb(255 255 255 / .35); }
.cta__box::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgb(255 255 255 / .2); pointer-events: none; }
.cta__box > * { position: relative; }
.cta__box p { color: rgb(255 255 255 / .86); margin-top: 14px; max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--header); color: var(--white); --focus: var(--white); --line: rgb(255 255 255 / .22); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 80px); }
.footer__top > * { min-width: 0; }
.footer__cta h2 { margin-bottom: 14px; }
.footer__cta p { color: rgb(255 255 255 / .86); }

/* Hanging pictures: wire, nail, swing on reveal, swing on hover */
.footer__hang { display: grid; grid-template-columns: 1.15fr .9fr 1.05fr .9fr; gap: clamp(12px, 2.2vw, 30px); align-items: start; }
.hang-slot { --wire: 34px; position: relative; padding-top: var(--wire); transform-origin: 50% 0; }
.hang-slot--1 { --wire: 26px; } .hang-slot--2 { --wire: 64px; } .hang-slot--3 { --wire: 40px; } .hang-slot--4 { --wire: 78px; }
.hang-slot::before { content: ""; position: absolute; top: 0; inset-inline-start: 27%; width: 46%; height: var(--wire);
  background:
    linear-gradient(to top left, transparent calc(50% - .6px), rgb(255 255 255 / .6) calc(50% - .6px) calc(50% + .6px), transparent calc(50% + .6px)) left / 50% 100% no-repeat,
    linear-gradient(to top right, transparent calc(50% - .6px), rgb(255 255 255 / .6) calc(50% - .6px) calc(50% + .6px), transparent calc(50% + .6px)) right / 50% 100% no-repeat; }
.hang-slot::after { content: ""; position: absolute; top: -3px; inset-inline-start: calc(50% - 3.5px); width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.hang { transform-origin: 50% calc(var(--wire) * -1); transition: filter .3s; }
.hang:hover { animation: swing-hover 1.1s ease-out; }
.footer__hang.is-visible .hang-slot { animation: swing 2.4s ease-out both; }
.footer__hang.is-visible .hang-slot--2 { animation-delay: .15s; }
.footer__hang.is-visible .hang-slot--3 { animation-delay: .3s; }
.footer__hang.is-visible .hang-slot--4 { animation-delay: .45s; }
@keyframes swing { 0% { transform: rotate(-7deg); } 20% { transform: rotate(4.5deg); } 40% { transform: rotate(-2.6deg); } 60% { transform: rotate(1.4deg); } 80% { transform: rotate(-.6deg); } 100% { transform: rotate(0); } }
@keyframes swing-hover { 0% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 55% { transform: rotate(2.4deg); } 80% { transform: rotate(-1deg); } 100% { transform: rotate(0); } }

/* Services ticker */
.marquee { overflow: hidden; padding-block: 20px; border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: 34px; padding-inline-end: 34px; }
.marquee__set span { font: 600 clamp(18px, 2.6vw, 26px)/1.2 var(--font-head); white-space: nowrap; }
.marquee__set .icon { width: 24px; height: 24px; stroke: var(--sage); stroke-width: 1.3; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* Link columns */
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(48px, 6vw, 80px); }
.footer__grid > * { min-width: 0; }
.footer__grid h3 { font-size: 16px; margin-bottom: 16px; }
.footer__tag { margin-top: 16px; color: rgb(255 255 255 / .8); max-width: 32ch; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { text-decoration: none; opacity: .86; padding-bottom: 2px; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .3s, opacity .3s; }
.footer__links a:hover, .footer__links a:focus-visible { opacity: 1; background-size: 100% 1px; }
.footer__info li { opacity: .86; }

/* Wordmark */
.footer__word { margin: 0; max-width: none; text-align: center; font: 600 clamp(26px, 8.4vw, 136px)/1.05 var(--font-head); letter-spacing: .06em; white-space: nowrap; user-select: none;
  color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .42);
  background: linear-gradient(var(--sage), var(--sage)) left / 0 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
.footer__word.is-visible { background-size: 100% 100%; }
.js .footer__word.reveal { transition: opacity .7s ease, transform .7s ease, background-size 2.2s ease .25s; }

.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding-block: 22px 28px; border-top: 1px solid var(--line); font-size: 13px; }
.footer__bottom .text-link { font-size: 13px; }
.to-top { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; display: grid; place-items: center; background: var(--olive); color: var(--white); border: 1px solid rgb(255 255 255 / .5); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; --focus: var(--white); }
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Reveal (only when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
.hero__grid > *, .styles > *, .craft > *, .svc > *, .pres > *, .mats > *, .panel > *, .why > *, .wall > *, .comp > * { min-width: 0; }
@media (max-width: 1024px) {
  .journey { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .journey li:nth-child(2)::after { display: none; }
  .stories { grid-template-columns: 1fr 1fr; }
  .story:nth-child(3) { margin-top: 0; }
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__hang { max-width: 560px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .hero__grid, .styles, .craft, .svc, .pres, .mats, .panel, .why { grid-template-columns: 1fr; }
  .hero__grid { min-height: 0; }
  .hero__stage { max-width: 520px; width: 100%; margin-inline: auto; }
  .svc__intro { position: static; }
  .craft__media { max-width: 560px; }
  .gal { grid-template-columns: repeat(6, 1fr); }
  .g1, .g2, .g3, .g4, .g5, .g6 { grid-column: span 3; padding-top: 0; }
  .g2, .g5 { padding-top: 48px; }
  .why__aside { max-width: 320px; }
  }
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__hang { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .footer__bottom { justify-content: center; text-align: center; }
  .container { width: min(1200px, 100% - 32px); }
  .hero::before { display: none; }
  .wall { grid-template-columns: 1fr 1fr; }
  .wall figure:first-child { grid-column: 1 / -1; }
  .wall figure:nth-child(2) { margin-bottom: 0; }
  .gal { grid-template-columns: 1fr 1fr; gap: 16px; }
  .g1, .g2, .g3, .g4, .g5, .g6 { grid-column: span 1; }
  .g1, .g5 { grid-column: 1 / -1; }
  .g2, .g5 { padding-top: 0; }
  .journey { grid-template-columns: 1fr; gap: 28px; }
  .journey li { padding: 0 0 0 58px; }
  .journey li::after { top: 38px; bottom: -28px; height: auto; width: 1px; inset-inline-start: 19px; inset-inline-end: auto; }
  .journey li:nth-child(2)::after { display: block; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item, .why__item:nth-child(even) { padding-inline: 0; border-inline-start: 0; }
  .stories { grid-template-columns: 1fr; }
  .story:nth-child(n) { margin-top: 0; }
  .comp .span-2 { grid-column: span 3; }
  .brand { font-size: 16px; letter-spacing: .1em; }
  .plaque { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Small refinements ---------- */
.sec-head .text-link { margin-top: 20px; }
.mats p { color: var(--muted); }
@media (max-width: 640px) { .comp .span-4, .comp .col-2-6 { grid-column: 1 / -1; } }


/* =====================================================================
   HOME TWO (home-two.html) — normal photography layouts
   ===================================================================== */
.photo { display: block; width: 100%; height: auto; object-fit: cover; background: var(--sage); }
.photo--fill { position: absolute; inset: 0; height: 100%; }
.r-45 { aspect-ratio: 4 / 5; } .r-34 { aspect-ratio: 3 / 4; } .r-32 { aspect-ratio: 3 / 2; }
.r-43 { aspect-ratio: 4 / 3; } .r-11 { aspect-ratio: 1; } .r-169 { aspect-ratio: 16 / 9; }
.img-missing small { display: block; margin-top: 8px; font-size: 11px; opacity: .8; word-break: break-all; }
.zoom { overflow: hidden; }
.zoom .photo { transition: transform .9s ease; }
.zoom:hover .photo { transform: scale(1.05); }
.t2 > * { min-width: 0; }

/* 1. Split hero */
.t2-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--header-h)); background: var(--soft); }
.t2-hero__copy { align-self: center; padding-block: clamp(48px, 7vw, 96px); padding-inline: max(24px, calc((100vw - 1200px) / 2)) clamp(24px, 5vw, 72px); }
.t2-hero__copy p { color: var(--muted); margin-top: 18px; max-width: 46ch; }
.t2-hero__media { position: relative; min-height: 440px; overflow: hidden; background: var(--sage); animation: curtain 1.3s cubic-bezier(.2, .7, .2, 1) both; }
.t2-hero__media::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgb(255 255 255 / .75); pointer-events: none; z-index: 1; }
@keyframes curtain { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }

/* 2. Studio at a glance */
.t2-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 64px); }
.t2-head h2 { margin-bottom: 14px; }
.t2-head p { color: var(--muted); margin: 0; }
.t2-head--center { text-align: center; margin-inline: auto; }
.t2-head--center p { margin-inline: auto; }
.t2-studio__grid { display: grid; grid-template-columns: 1fr minmax(260px, 420px) 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.t2-studio__grid > * { min-width: 0; }
.t2-studio__fig { position: relative; margin-bottom: 28px; }
.t2-studio__round { position: absolute; bottom: -28px; inset-inline-start: -48px; width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--bg); background: var(--sage); }
.hl li { padding: 20px 0; border-top: 1px solid var(--line); }
.hl li:last-child { border-bottom: 1px solid var(--line); }
.hl strong { display: block; font: 600 17px var(--font-head); }
.hl span { color: var(--muted); }
.hl--end { text-align: end; }

/* 3. Frame styles */
.t2-styles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding: 10px; }
.t2-styles__grid > * { min-width: 0; }
.t2-style:nth-child(2) { margin-top: 64px; } .t2-style:nth-child(3) { margin-top: 24px; }
.t2-style h3 { margin: 26px 0 6px; }
.t2-style p { margin: 0; color: var(--muted); }
.t2-style--contemporary .photo { outline: 1px solid rgb(255 255 255 / .85); outline-offset: 10px; }
.t2-style--classic .photo { border-radius: 999px 999px 0 0; }
.t2-style--natural .photo { box-shadow: 18px 18px 0 var(--sage); }

/* 4. Made for what matters: expanding panels */
.expand-list { display: flex; gap: 12px; height: clamp(420px, 62vh, 560px); }
.expand { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--olive); transition: flex-grow .7s cubic-bezier(.2, .7, .2, 1); }
.expand.is-active { flex-grow: 3.4; }
.expand::after { content: ""; position: absolute; inset: 0; background: rgb(46 58 47 / .5); transition: opacity .5s; pointer-events: none; z-index: 1; }
.expand.is-active::after { opacity: .12; }
.expand__btn { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 22px; background: none; border: 0; color: var(--white); text-align: start; cursor: pointer; --focus: var(--white); }
.expand__title { font: 600 19px/1.25 var(--font-head); text-shadow: 0 1px 12px rgb(0 0 0 / .5); }
.expand__text { max-height: 0; opacity: 0; overflow: hidden; font: 400 15px/1.6 var(--font-body); text-shadow: 0 1px 10px rgb(0 0 0 / .6); transition: max-height .5s ease, opacity .5s ease; }
.expand.is-active .expand__text { max-height: 160px; opacity: 1; }

/* 5. Preservation */
.t2-pres__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-bottom: 40px; }
.t2-pres__grid > * { min-width: 0; }
.t2-pres__item:nth-child(2) { margin-top: 48px; } .t2-pres__item:nth-child(3) { margin-top: 96px; }
.t2-pres__item h3 { margin: 20px 0 8px; }
.t2-pres__item p { margin: 0; color: var(--muted); }

/* 6. Details mosaic */
.t2-details__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 3vw, 40px); align-items: start; }
.d1 { grid-column: span 5; } .d2 { grid-column: span 4; margin-top: 64px; } .d3 { grid-column: span 3; margin-top: 24px; } .d4 { grid-column: 6 / span 7; }

/* 7. Selected works */
.t2-works { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 3vw, 40px); align-items: start; }
.work { display: block; text-decoration: none; }
.wk1 { grid-column: 1 / span 5; grid-row: 1 / span 2; } .wk2 { grid-column: 6 / span 4; } .wk3 { grid-column: 10 / span 3; margin-top: 56px; }
.wk4 { grid-column: 6 / span 3; } .wk5 { grid-column: 9 / span 4; }
.t2-foot { margin-top: clamp(32px, 5vw, 56px); display: flex; justify-content: flex-end; }

/* 8. Materials */
.t2-mat { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.t2-mat > * { min-width: 0; }
.t2-mat h3 { margin-bottom: 10px; }
.t2-mat p { color: var(--muted); }
.opt-list { margin-top: 18px; }
.opt-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.opt-list li:last-child { border-bottom: 1px solid var(--line); }
.note { margin-top: 28px; font-size: 13px; color: var(--muted); }

/* 9. Art in your space */
.t2-space__row { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: center; margin-bottom: clamp(48px, 7vw, 96px); }
.t2-space__row:last-child { margin-bottom: 0; }
.t2-space__row > * { min-width: 0; }
.t2-space__row:nth-child(even) { grid-template-columns: 5fr 7fr; }
.t2-space__row:nth-child(even) .t2-space__media { order: 2; }
.t2-space__row h3 { margin-bottom: 10px; }
.t2-space__row p { color: var(--muted); margin: 0; }

/* 10. Timeline */
.tl { position: relative; max-width: 920px; margin-inline: auto; counter-reset: tl; }
.tl::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 50%; width: 1px; background: var(--line); }
.tl li { position: relative; width: 50%; padding-inline-end: 56px; padding-bottom: 56px; text-align: end; }
.tl li:last-child { padding-bottom: 0; }
.tl li:nth-child(even) { margin-inline-start: 50%; padding-inline: 56px 0; text-align: start; }
.tl li::before { counter-increment: tl; content: counter(tl); position: absolute; top: 0; inset-inline-end: -19px; width: 38px; height: 38px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--text); font: 600 16px var(--font-head); z-index: 1; }
.tl li:nth-child(even)::before { inset-inline-end: auto; inset-inline-start: -19px; }
.tl h3 { margin: 4px 0 8px; }
.tl p { margin: 0; color: var(--muted); }
.tl li:nth-child(odd) p { margin-inline-start: auto; }

/* 11. Before & after */
.t2-ba { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.t2-ba__item:nth-child(2) { margin-top: 56px; }
.t2-ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.t2-ba__pair figure { position: relative; }
.t2-ba__tag { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 1; padding: 3px 10px; background: var(--white); color: var(--olive); font: 600 12px var(--font-body); }

/* 12. Visit */
.t2-visit { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.t2-visit > * { min-width: 0; }
.t2-visit h2 { margin-bottom: 14px; }
.t2-visit p { color: var(--muted); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; margin: 24px 0; padding-block: 20px; border-block: 1px solid var(--line); }
.hours dt { font-weight: 600; } .hours dd { margin: 0; color: var(--muted); }
.contact-list li { margin-bottom: 6px; color: var(--muted); }
.t2-visit__panel { position: relative; }
.panel-card { position: absolute; inset-inline-start: -24px; bottom: -24px; max-width: 270px; padding: 20px 24px; background: var(--olive); color: var(--white); font-size: 14px; }
.panel-card strong { display: block; font: 600 17px var(--font-head); margin-bottom: 4px; }
.panel-card p { margin: 0; color: rgb(255 255 255 / .85); }

/* Footer variant without call-to-action buttons */
.footer__top--quiet .footer__cta p { margin: 0; }

@media (max-width: 900px) {
  .t2-hero, .t2-studio__grid, .t2-mat, .t2-visit, .t2-space__row, .t2-space__row:nth-child(even) { grid-template-columns: 1fr; }
  .t2-hero__media { min-height: 0; aspect-ratio: 4 / 5; max-height: 640px; }
  .t2-hero__copy { padding-inline: 24px; }
  .t2-studio__grid .t2-studio__fig { order: -1; max-width: 420px; margin-inline: auto; }
  .hl--end { text-align: start; }
  .t2-styles__grid { grid-template-columns: 1fr 1fr; }
  .t2-style:nth-child(n) { margin-top: 0; } .t2-style:nth-child(3) { grid-column: 1 / -1; max-width: 420px; }
  .t2-pres__grid { grid-template-columns: 1fr; max-width: 520px; }
  .t2-pres__item:nth-child(n) { margin-top: 0; }
  .t2-space__row:nth-child(even) .t2-space__media { order: 0; }
  .t2-details__grid, .t2-works { grid-template-columns: repeat(6, 1fr); }
  .d1, .wk1 { grid-column: span 6; grid-row: auto; } .d2, .d3, .wk2, .wk3, .wk4, .wk5 { grid-column: span 3; margin-top: 0; } .d4 { grid-column: span 6; }
  .wk5 { grid-column: span 6; }
  .expand-list { flex-direction: column; height: auto; }
  .expand { flex: none; height: 96px; transition: height .6s cubic-bezier(.2, .7, .2, 1); }
  .expand.is-active { height: 380px; }
  .t2-ba { grid-template-columns: 1fr; } .t2-ba__item:nth-child(2) { margin-top: 0; }
  .panel-card { position: static; max-width: none; }
}
@media (max-width: 640px) {
  .t2-studio__round { inset-inline-start: -12px; }
  .t2-styles__grid { grid-template-columns: 1fr; } .t2-style:nth-child(3) { max-width: none; }
  .d2, .d3, .wk2, .wk3, .wk4 { grid-column: span 3; }
  .tl::before { inset-inline-start: 19px; }
  .tl li, .tl li:nth-child(even) { width: 100%; margin-inline-start: 0; padding-inline: 58px 0; padding-bottom: 40px; text-align: start; }
  .tl li::before, .tl li:nth-child(even)::before { inset-inline-start: 0; inset-inline-end: auto; }
  .tl li:nth-child(odd) p { margin-inline-start: 0; }
  .t2-foot { justify-content: flex-start; }
}

/* Home Two fixes */
.t2-mat[hidden] { display: none; }
.photo.img-missing { display: grid; }
.expand.is-active { flex-grow: 2.6; }
.expand__btn { padding: 18px; }
.expand__title { font-size: 18px; }
.t2-studio__round .img-missing small { display: none; }
@media (max-width: 900px) { .expand__btn { padding: 22px; } }
.img-missing { align-content: center; }
/* ===== About page (catalogue layout) — append to the END of assets/css/style.css ===== */

/* 01. Hero: full-bleed image under an olive wash, text anchored bottom-left */
.ab-hero { position: relative; display: grid; align-items: end; min-height: min(88svh, 740px); background: var(--deep); color: var(--white); --focus: var(--white); overflow: hidden; }
.ab-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .42; }
.ab-hero__inner { position: relative; padding-block: clamp(56px, 8vw, 104px) clamp(32px, 5vw, 56px); }
.ab-crumb { margin: 0 0 20px; font-size: 13px; color: rgb(255 255 255 / .8); }
.ab-crumb a { text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .4); }
.ab-hero h1 { max-width: 20ch; }
.ab-hero__lead { max-width: 56ch; margin-top: 18px; color: rgb(255 255 255 / .88); }
.ab-hero__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(32px, 6vw, 72px); border-top: 1px solid rgb(255 255 255 / .35); }
.ab-hero__meta li { padding-top: 18px; }
.ab-hero__meta strong { display: block; font: 600 17px var(--font-head); }
.ab-hero__meta span { font-size: 14px; color: rgb(255 255 255 / .8); }

/* Chapter frame: sticky number rail + content column */
.ab-chapter { padding-block: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); }
.ab-grid { display: grid; grid-template-columns: 2fr 10fr; gap: clamp(24px, 5vw, 80px); }
.ab-grid > * { min-width: 0; }
.ab-rail { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
.ab-num { display: block; font: 600 clamp(56px, 8vw, 96px)/1 var(--font-head); color: transparent; -webkit-text-stroke: 1px currentColor; opacity: .55; }
.ab-kicker { display: block; margin-top: 10px; font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ab-body h2 { margin-bottom: clamp(20px, 3vw, 32px); }
.ab-intro { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 48px); color: var(--muted); }
.ab-note { font-size: 13px; color: var(--muted); }

/* 02. Story: two text columns, drop cap, pull quote */
.ab-cols { column-count: 2; column-gap: clamp(28px, 4vw, 56px); }
.ab-cols p { max-width: none; break-inside: avoid-column; }
.ab-dropcap::first-letter { float: inline-start; margin: 4px 12px 0 0; font: 600 62px/.85 var(--font-head); }
.ab-pull { margin: clamp(32px, 5vw, 56px) 0 24px; padding-inline-start: 24px; border-inline-start: 3px solid var(--sage); font: 600 clamp(20px, 2.6vw, 24px)/1.5 var(--font-head); max-width: 36ch; }

/* 03. Ledger rows */
.ab-ledger { counter-reset: none; }
.ab-ledger li { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.5fr); gap: 8px 28px; align-items: baseline; padding-block: 26px; border-top: 1px solid var(--line); }
.ab-ledger li:last-child { border-bottom: 1px solid var(--line); }
.ab-ledger__n { font: 600 22px var(--font-head); color: var(--muted); }
.ab-ledger p { margin: 0; color: var(--muted); }

/* 04. Philosophy: centred, no rail */
.ab-philo { text-align: center; }
.ab-num--center { margin-inline: auto; }
.ab-philo__label { margin: 18px 0 28px; font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.ab-philo__line { max-width: 22ch; margin: 0 auto 20px; font: 600 clamp(28px, 5vw, 36px)/1.3 var(--font-head); }
.ab-philo__sub { margin: 0 auto; color: var(--muted); }
.ab-trio { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 6vw, 72px); text-align: start; }
.ab-trio > * { min-width: 0; padding-inline: clamp(16px, 3vw, 40px); border-inline-start: 1px solid var(--line); }
.ab-trio > :first-child { padding-inline-start: 0; border-inline-start: 0; }
.ab-trio h3 { margin-bottom: 10px; }
.ab-trio p { margin: 0; color: var(--muted); }
.ab-trio--light { margin-top: 0; }

/* 05. Preservation: tall image + table */
.ab-split { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.ab-split > * { min-width: 0; }
.ab-tall { position: sticky; top: calc(var(--header-h) + 28px); }
.ab-tall img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; outline: 1px solid var(--line); outline-offset: 8px; }
.ab-tall .img-missing { aspect-ratio: 3 / 4; }
.ab-tablewrap { margin-block: 28px; overflow-x: auto; }
.ab-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ab-table th, .ab-table td { padding: 16px 20px 16px 0; text-align: start; vertical-align: top; border-top: 1px solid var(--line); }
.ab-table thead th { font: 600 12px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ab-table tbody th { width: 28%; font: 600 16px var(--font-head); }
.ab-table td { color: var(--muted); }
.ab-table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }

/* 06. Specification sheet */
.ab-spec__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; padding-block: 28px; border-top: 1px solid var(--line); }
.ab-spec__row:last-child { border-bottom: 1px solid var(--line); }
.ab-chip { width: 120px; aspect-ratio: 1; border: 1px solid var(--line); }
.ab-chip--glaze { background: linear-gradient(115deg, rgb(255 255 255 / .85) 0 22%, var(--soft) 22% 100%); }
.ab-spec h3 { margin-bottom: 8px; }
.ab-spec p { color: var(--muted); }
.ab-opts { margin: 0; font-size: 13px; }

/* 07. Directory list */
.ab-index li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 8px 40px; align-items: baseline; padding-block: 28px; border-top: 1px solid var(--line); transition: padding-inline-start .3s; }
.ab-index li:last-child { border-bottom: 1px solid var(--line); }
.ab-index li:hover { padding-inline-start: 16px; }
.ab-index h3 { font-size: clamp(19px, 2.4vw, 22px); }
.ab-index p { margin: 0; color: var(--muted); }

/* 08. Process panels */
.ab-steps { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.ab-step { padding: clamp(24px, 3.5vw, 40px); border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ab-step__n { display: block; margin-bottom: 14px; font: 600 48px/1 var(--font-head); color: transparent; -webkit-text-stroke: 1px currentColor; opacity: .55; }
.ab-step h3 { margin-bottom: 12px; }
.ab-step p { color: var(--muted); }
.ab-step p:last-child { margin-bottom: 0; }
.ab-step strong { color: var(--text); }

/* 09. Wide image + principles */
.ab-wide img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.ab-wide .img-missing { aspect-ratio: 16 / 7; }
.ab-principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(28px, 4vw, 48px); }
.ab-principles > * { min-width: 0; padding-top: 18px; border-top: 2px solid var(--text); }
.ab-principles h3 { margin-bottom: 8px; }
.ab-principles p { margin: 0; color: var(--muted); }

/* 10. Checklists */
.ab-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.ab-checks > * { min-width: 0; }
.ab-checks h3 { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ab-checks li { position: relative; padding: 8px 0 8px 28px; color: var(--muted); }
.ab-checks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 15px; width: 12px; height: 6px; border-inline-start: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(-45deg); }
[dir="rtl"] .ab-checks li::before { transform: rotate(45deg); }

/* 11. Experience */
.ab-ask { margin-block: clamp(32px, 5vw, 56px); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); background: var(--soft); }
.ab-ask h3 { margin-bottom: 14px; }
.ab-ask ul { columns: 2; column-gap: 40px; }
.ab-ask li { position: relative; padding: 6px 0 6px 20px; break-inside: avoid; }
.ab-ask li::before { content: ""; position: absolute; inset-inline-start: 0; top: 17px; width: 8px; height: 1px; background: var(--text); }

/* 12. Studio */
.ab-visit { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ab-visit > * { min-width: 0; }
.ab-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; outline: 1px solid rgb(255 255 255 / .35); outline-offset: 8px; }
.ab-portrait .img-missing { aspect-ratio: 4 / 5; }
.ab-portrait figcaption { color: rgb(255 255 255 / .8); }

/* Footer without hanging pictures */
.footer__top--text { grid-template-columns: 1fr; }
.footer__top--text .footer__cta { max-width: 640px; }

/* Responsive */
@media (max-width: 960px) {
  .ab-grid { grid-template-columns: 1fr; gap: 12px; }
  .ab-rail { position: static; display: flex; align-items: baseline; gap: 16px; }
  .ab-num { font-size: 44px; }
  .ab-kicker { margin-top: 0; }
  .ab-split, .ab-visit { grid-template-columns: 1fr; }
  .ab-tall { position: static; max-width: 360px; }
  .ab-portrait { max-width: 420px; }
  .ab-principles { grid-template-columns: 1fr 1fr; }
  .ab-checks { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .ab-hero__meta { grid-template-columns: 1fr; gap: 0; }
  .ab-hero__meta li { padding-block: 14px; border-bottom: 1px solid rgb(255 255 255 / .2); }
  .ab-cols, .ab-ask ul { columns: 1; }
  .ab-ledger li, .ab-index li { grid-template-columns: 1fr; }
  .ab-trio { grid-template-columns: 1fr; gap: 28px; }
  .ab-trio > * { padding: 0; border-inline-start: 0; }
  .ab-spec__row { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
  .ab-chip { width: 72px; }
  .ab-steps, .ab-principles { grid-template-columns: 1fr; }
  .ab-table tbody th { width: 34%; }
}
/* Framing styles — align content and frame boxes */
.framing-styles .container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 48px;
}

@media (max-width: 768px) {
  .framing-styles .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* FIX: Align framing link with the frame showcase */
.framing-styles__copy {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
}

.framing-styles__copy .text-link {
  margin-top: 20px;
}

/* Keep both columns aligned */
.framing-styles__grid {
  align-items: center;
}
/* ===== Services page — append to the END of assets/css/style.css ===== */

/* Anchors must clear the header AND the jump bar */
html { scroll-padding-top: calc(var(--header-h) + 64px); }

/* Jump bar */
.sv-subnav { position: sticky; top: var(--header-h); z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.sv-subnav__row { display: flex; gap: 6px 28px; overflow-x: auto; scrollbar-width: none; }
.sv-subnav__row::-webkit-scrollbar { display: none; }
.sv-subnav a { flex: none; padding: 16px 0; font: 500 14px var(--font-body); color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; transition: color .25s, border-color .25s; }
.sv-subnav a:hover, .sv-subnav a:focus-visible { color: var(--text); border-bottom-color: var(--text); }

/* Shared bits */
.sv-tag { margin: 0 0 12px; font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sv-tag--light { color: rgb(255 255 255 / .8); }
.sv-block h2 { margin-bottom: 16px; }
.sv-block p { color: var(--muted); }
.section--deep.sv-block p { color: rgb(255 255 255 / .86); }
.sv-center { margin-inline: auto; text-align: center; }
.sv-center p { margin-inline: auto; }
.sv-foot { margin: clamp(28px, 4vw, 48px) 0 0; text-align: center; max-width: none; }
.sv-foot .text-link { color: var(--text); }

/* 1. Hero: split, text panel + arch image */
.sv-hero { display: grid; grid-template-columns: 6fr 5fr; background: var(--deep); color: var(--white); --focus: var(--white); }
.sv-hero > * { min-width: 0; }
.sv-hero__text { padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 96px); }
.sv-crumb { margin: 0 0 20px; font-size: 13px; color: rgb(255 255 255 / .8); }
.sv-crumb a { text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .4); }
.sv-hero__text > p:not(.sv-crumb) { margin-top: 16px; color: rgb(255 255 255 / .88); max-width: 50ch; }
.sv-hero__list { margin-top: clamp(24px, 4vw, 40px); border-top: 1px solid rgb(255 255 255 / .3); }
.sv-hero__list a { display: flex; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgb(255 255 255 / .3); text-decoration: none; transition: padding-inline-start .3s, background-color .3s; }
.sv-hero__list a:hover, .sv-hero__list a:focus-visible { padding-inline-start: 14px; background: rgb(255 255 255 / .08); }
.sv-hero__list span { font: 600 14px var(--font-head); color: var(--sage); }
.sv-hero__art { display: grid; align-content: end; justify-items: center; padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 56px) 0; background: var(--soft); color: var(--text); }
.sv-arch { width: min(100%, 380px); overflow: hidden; border-radius: 999px 999px 0 0; background: var(--sage); }
.sv-arch img { width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; }
.sv-arch .img-missing { aspect-ratio: 3 / 4.4; }
.sv-hero__art figcaption { margin: 0; padding: 14px 0; font-size: 13px; }

/* 2. Menu board */
.sv-menu-wrap { max-width: none; }
.sv-menu__row { display: grid; grid-template-columns: 44px auto 1fr auto; gap: 2px 14px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding-inline-start .3s; }
.sv-menu li:last-child .sv-menu__row { border-bottom: 1px solid var(--line); }
.sv-menu__row:hover, .sv-menu__row:focus-visible { padding-inline-start: 14px; }
.sv-menu__n { font: 600 15px var(--font-head); color: var(--muted); }
.sv-menu__name { font: 600 clamp(19px, 2.8vw, 24px)/1.25 var(--font-head); }
.sv-menu__lead { align-self: end; margin-bottom: 7px; border-bottom: 2px dotted var(--line); min-width: 24px; }
.sv-menu__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.sv-menu__go .icon { width: 18px; height: 18px; transition: transform .25s; }
.sv-menu__row:hover .icon { transform: translateX(4px); }
[dir="rtl"] .sv-menu__row:hover .icon { transform: scaleX(-1) translateX(4px); }
.sv-menu__desc { grid-column: 2 / -1; color: var(--muted); }

/* 3-4. Feature: offset image + text */
.sv-feature { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 112px); align-items: center; }
.sv-feature > * { min-width: 0; }
.sv-feature--flip { grid-template-columns: 6fr 5fr; }
.sv-feature--flip > :first-child { order: 2; }
.sv-offset { position: relative; max-width: 440px; width: 100%; margin-inline: auto; }
.sv-offset::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--text); opacity: .35; }
.sv-offset--end::before { inset: 28px 28px -28px -28px; }
.sv-offset .frame { position: relative; }
.sv-facts { margin: 24px 0; border-top: 1px solid var(--line); }
.sv-facts div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sv-facts dt { font: 600 15px var(--font-head); }
.sv-facts dd { margin: 0; color: var(--muted); }
.sv-checks { margin-bottom: 24px; }
.sv-checks li { position: relative; padding: 9px 0 9px 28px; color: var(--muted); border-bottom: 1px solid var(--line); }
.sv-checks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 16px; width: 12px; height: 6px; border-inline-start: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(-45deg); }
[dir="rtl"] .sv-checks li::before { transform: rotate(45deg); }

/* 5. Conservation */
.sv-cons { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 7vw, 112px); align-items: center; }
.sv-cons > * { min-width: 0; }
.sv-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 28px 0; padding-block: 24px; border-block: 1px solid var(--line); }
.sv-cols h3 { margin-bottom: 10px; font-size: 17px; }
.sv-cols li { padding: 4px 0; color: rgb(255 255 255 / .86); }
.sv-tall img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; outline: 1px solid rgb(255 255 255 / .4); outline-offset: 8px; }
.sv-tall .img-missing { aspect-ratio: 3 / 5; }
.sv-tall figcaption { color: rgb(255 255 255 / .8); }

/* 6. Keepsakes: annotated centre piece */
.sv-annot { display: grid; grid-template-columns: 1fr minmax(0, 420px) 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.sv-annot > * { min-width: 0; }
.sv-annot__side li { padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); }
.sv-annot__side li:last-child { border-bottom: 1px solid var(--line); }
.sv-annot__side strong { display: block; font: 600 17px var(--font-head); color: var(--text); }
.sv-annot__side:first-child { text-align: end; }

/* 7. Photos & certificates */
.sv-duo { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.sv-duo > * { min-width: 0; }
.sv-duo__imgs { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(14px, 3vw, 36px); align-items: start; }
.sv-duo__b { margin-top: 20%; }
.sv-duo figcaption { text-align: center; }

/* 8. Materials */
.sv-mats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.sv-mats > * { min-width: 0; padding-top: 20px; border-top: 2px solid var(--text); }
.sv-chip { height: 110px; margin-bottom: 18px; border: 1px solid var(--line); }
.sv-chip--glaze { background: linear-gradient(115deg, rgb(255 255 255 / .85) 0 22%, var(--soft) 22% 100%); }
.sv-mats h3 { margin-bottom: 8px; }
.sv-mats p { margin: 0; color: var(--muted); }

/* 9. Before / after */
.sv-ba { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); align-items: center; max-width: 880px; margin-inline: auto; }
.sv-ba__arrow { width: 40px; height: 40px; justify-self: center; }
.sv-ba__raw { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; outline: 1px dashed var(--muted); outline-offset: -1px; }
.sv-ba .img-missing { aspect-ratio: 4 / 5; }
.sv-ba figcaption { margin-top: 14px; }
.sv-ba figcaption strong { display: block; font: 600 17px var(--font-head); color: var(--text); }

/* 10. Process track */
.sv-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: sv; }
.sv-track::before { content: ""; position: absolute; top: 19px; inset-inline: 19px; height: 1px; background: var(--text); opacity: .4; }
.sv-track li { position: relative; counter-increment: sv; padding-top: 56px; }
.sv-track li::before { content: counter(sv); position: absolute; top: 0; inset-inline-start: 0; width: 38px; height: 38px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--text); font: 600 16px var(--font-head); }
.sv-track h3 { margin-bottom: 8px; font-size: 18px; }
.sv-track p { margin: 0; color: var(--muted); font-size: 14px; }

/* 11. FAQ (native details) */
.sv-faq { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.sv-faq > * { min-width: 0; }
.sv-faq__intro { position: sticky; top: calc(var(--header-h) + 80px); }
.sv-faq__intro h2 { margin-bottom: 14px; }
.sv-faq__intro p { color: var(--muted); }
.sv-faq details { border-top: 1px solid var(--line); }
.sv-faq details:last-child { border-bottom: 1px solid var(--line); }
.sv-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 600 17px/1.4 var(--font-head); cursor: pointer; list-style: none; }
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary .icon { transition: transform .25s; }
.sv-faq details[open] summary .icon { transform: rotate(45deg); }
.sv-faq details p { margin: 0 0 22px; color: var(--muted); }

/* 12. Quote form */
.sv-quote { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.sv-quote > * { min-width: 0; }
.sv-quote h2 { margin-bottom: 14px; }
.sv-quote p { color: rgb(255 255 255 / .86); }
.sv-quote__list { margin: 20px 0; border-top: 1px solid var(--line); }
.sv-quote__list li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.sv-quote__note { font-size: 13px; }
.sv-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; padding: clamp(24px, 4vw, 48px); background: var(--bg); color: var(--text); --focus: var(--olive); }
.sv-field { min-width: 0; }
.sv-field--full { grid-column: 1 / -1; }
.sv-field label { display: block; margin-bottom: 6px; font: 600 14px var(--font-body); }
.sv-field input, .sv-field select, .sv-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 15px var(--font-body); color: var(--text); background: var(--bg); border: 1px solid color-mix(in srgb, var(--text) 45%, transparent); border-radius: 0; }
.sv-field textarea { resize: vertical; }
.sv-field [aria-invalid="true"] { border-color: var(--text); border-width: 2px; }
.sv-error { min-height: 0; margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--text); }
.sv-error:not(:empty)::before { content: "\26A0\FE0E  "; }
.sv-status { margin: 14px 0 0; max-width: none; font-size: 14px; color: var(--text); }
.sv-status:empty { display: none; }
.sv-form .btn--light { background: var(--btn-bg); color: var(--btn-text); }
.sv-form .btn--light:hover { background: var(--sage); color: var(--olive); }

/* Footer without hanging pictures (skip if already added for the About page) */
.footer__top--text { grid-template-columns: 1fr; }
.footer__top--text .footer__cta { max-width: 640px; }

/* Responsive */
@media (max-width: 960px) {
  .sv-hero, .sv-feature, .sv-feature--flip, .sv-cons, .sv-duo, .sv-faq, .sv-quote { grid-template-columns: 1fr; }
  .sv-feature--flip > :first-child { order: 0; }
  .sv-hero__art { padding-top: 40px; }
  .sv-offset { max-width: 380px; margin-inline: 0 28px; }
  .sv-tall { max-width: 360px; }
  .sv-faq__intro { position: static; }
  .sv-annot { grid-template-columns: 1fr; }
  .sv-annot__art { order: -1; max-width: 420px; margin-inline: auto; }
  .sv-annot__side:first-child { text-align: start; }
  .sv-mats { grid-template-columns: 1fr 1fr; }
  .sv-track { grid-template-columns: 1fr; gap: 28px; }
  .sv-track::before { top: 19px; bottom: 19px; inset-inline: auto; inset-inline-start: 19px; width: 1px; height: auto; }
  .sv-track li { padding: 0 0 0 58px; }
}
@media (max-width: 640px) {
  .sv-menu__row { grid-template-columns: 36px 1fr auto; }
  .sv-menu__lead { display: none; }
  .sv-menu__desc { grid-column: 2 / -1; }
  .sv-facts div { grid-template-columns: 1fr; gap: 2px; }
  .sv-cols, .sv-form { grid-template-columns: 1fr; }
  .sv-duo__imgs { grid-template-columns: 1fr 1fr; }
  .sv-mats { grid-template-columns: 1fr; }
  .sv-ba { grid-template-columns: 1fr; }
  .sv-ba__arrow { transform: rotate(90deg); }
  [dir="rtl"] .sv-ba__arrow { transform: scaleX(-1) rotate(90deg); }
}
/* ===== Service Details page — append to the END of assets/css/style.css =====
   Needs service-additions.css too (shares .sv-field, .sv-error, .sv-status, .footer__top--text). */

/* 1. Hero: centred title over a "shelf" of three frames */
.sd-hero { background: var(--soft); padding-top: clamp(40px, 6vw, 80px); }
.sd-hero__top { text-align: center; }
.sd-crumb { margin: 0 auto 18px; font-size: 13px; color: var(--muted); max-width: none; }
.sd-crumb a { text-decoration: none; border-bottom: 1px solid var(--line); }
.sd-hero__lead { margin: 16px auto 0; color: var(--muted); max-width: 56ch; }
.sd-triptych { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: clamp(16px, 4vw, 56px); align-items: end; max-width: 820px; margin-top: clamp(32px, 5vw, 56px); padding-inline: clamp(8px, 4vw, 40px); border-bottom: 6px solid var(--text); }
.sd-triptych > * { min-width: 0; margin-bottom: -1px; }
.sd-triptych .frame__art { aspect-ratio: 4 / 5; }
.sd-triptych__a .frame__art { aspect-ratio: 1; }

/* Page layout: sticky summary + long main column */
.sd-layout { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(32px, 6vw, 88px); padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 112px); }
.sd-layout > * { min-width: 0; }
.sd-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 28px; }
.sd-card { padding: 24px; border: 1px solid var(--text); }
.sd-card h2 { margin-bottom: 16px; font-size: 20px; }
.sd-card dl { margin: 0 0 20px; }
.sd-card dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.sd-card dt { font: 600 12px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sd-card dd { margin: 2px 0 0; }
.sd-card .btn { width: 100%; margin-bottom: 16px; }
.sd-card__kicker { margin: 0 0 10px; font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sd-toc ol { border-top: 1px solid var(--line); }
.sd-toc a { display: block; padding: 8px 0; font-size: 14px; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); transition: color .25s, padding-inline-start .25s; }
.sd-toc a:hover, .sd-toc a:focus-visible { color: var(--text); padding-inline-start: 10px; }

/* Main sections */
.sd-sec { padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.sd-sec:first-child { padding-top: 0; border-top: 0; }
.sd-sec h2 { margin-bottom: 18px; }
.sd-intro { margin-bottom: 28px; color: var(--muted); }
.sd-small { font-size: 13px; color: var(--muted); }
.sd-lead { max-width: 34ch; margin-bottom: 28px; font: 600 clamp(22px, 3.2vw, 30px)/1.4 var(--font-head); }
.sd-twocol { column-count: 2; column-gap: 40px; }
.sd-twocol p { max-width: none; color: var(--muted); }

/* 3. Includes: ruled cells */
.sd-includes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.sd-includes li { padding: 24px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sd-includes span { display: block; margin-bottom: 14px; font: 600 14px var(--font-head); color: var(--muted); }
.sd-includes h3 { margin-bottom: 6px; font-size: 18px; }
.sd-includes p { margin: 0; color: var(--muted); font-size: 14px; }

/* 4. Option tabs */
.sd-pane { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.sd-pane[hidden] { display: none; }
.sd-pane h3 { margin-bottom: 8px; }
.sd-pane p { color: var(--muted); }
.sd-bullets li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--muted); }
.sd-bullets li:last-child { border-bottom: 1px solid var(--line); }

/* 5. Materials: sideways scroll-snap row */
.sd-snap { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; }
.sd-snap li { flex: 0 0 min(260px, 78%); scroll-snap-align: start; padding: 18px 18px 22px; border: 1px solid var(--line); }
.sd-chip { height: 120px; margin-bottom: 16px; border: 1px solid var(--line); }
.sd-chip--glaze { background: linear-gradient(115deg, rgb(255 255 255 / .85) 0 22%, var(--soft) 22% 100%); }
.sd-snap h3 { margin-bottom: 6px; font-size: 18px; }
.sd-snap p { color: var(--muted); }
.sd-snap p.sd-small { margin: 0; }

/* 6. Protection panel */
.sd-panel { padding: clamp(24px, 4vw, 48px); background: var(--deep); color: var(--white); --focus: var(--white); --line: rgb(255 255 255 / .3); }
.sd-panel p { color: rgb(255 255 255 / .86); }
.sd-panel .sd-small { color: rgb(255 255 255 / .8); margin: 0; }
.sd-panel a { text-decoration: underline; }
.sd-flow { margin: 24px 0; border-top: 1px solid var(--line); }
.sd-flow li { display: grid; grid-template-columns: 110px 24px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sd-flow li > :first-child { font: 600 17px var(--font-head); }
.sd-flow .icon { width: 18px; height: 18px; align-self: center; }
.sd-flow li > :last-child { color: rgb(255 255 255 / .86); }

/* 7. Standard vs customised */
.sd-swap__head, .sd-swap__row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; }
.sd-swap__head { padding-bottom: 10px; font: 600 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sd-swap__row { padding: 18px 0; border-top: 1px solid var(--line); }
.sd-swap__row:last-child { border-bottom: 1px solid var(--line); }
.sd-swap__row p { margin: 0; }
.sd-swap__row p:first-child { font: 600 17px/1.4 var(--font-head); }
.sd-swap__row p:last-child { color: var(--muted); }

/* 8. Vertical stepper */
.sd-stepper { position: relative; counter-reset: sd; }
.sd-stepper li { position: relative; counter-increment: sd; padding: 0 0 34px 64px; }
.sd-stepper li:last-child { padding-bottom: 0; }
.sd-stepper li::before { content: counter(sd); position: absolute; inset-inline-start: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center; background: var(--text); color: var(--bg); font: 600 16px var(--font-head); z-index: 1; }
.sd-stepper li::after { content: ""; position: absolute; inset-inline-start: 19px; top: 40px; bottom: 0; width: 1px; background: var(--text); opacity: .35; }
.sd-stepper li:last-child::after { display: none; }
.sd-stepper h3 { margin: 6px 0 6px; font-size: 19px; }
.sd-stepper p { margin: 0; color: var(--muted); }

/* 9. Compare slider */
.sd-compare { --pos: 50%; position: relative; direction: ltr; max-width: 460px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.sd-compare__after, .sd-compare__before { position: absolute; inset: 0; }
.sd-compare__after .frame { height: 100%; }
.sd-compare__after .frame__mat { height: 100%; }
.sd-compare__after .frame__art, .sd-compare__after .img-missing { height: 100%; aspect-ratio: auto; }
.sd-compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: var(--soft); }
.sd-compare__before img, .sd-compare__before .img-missing { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.sd-compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 0 1px rgb(0 0 0 / .35); pointer-events: none; }
.sd-compare__tag { position: absolute; top: 12px; padding: 3px 10px; background: var(--white); color: var(--olive); font: 600 12px var(--font-body); pointer-events: none; }
.sd-compare__tag--before { left: 12px; }
.sd-compare__tag--after { right: 12px; }
.sd-compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.sd-compare:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; }

/* 10. FAQ: boxed two-column */
.sd-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; align-items: start; }
.sd-faq details { border: 1px solid var(--line); padding: 0 20px; background: var(--bg); }
.sd-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font: 600 16px/1.4 var(--font-head); cursor: pointer; list-style: none; }
.sd-faq summary::-webkit-details-marker { display: none; }
.sd-faq summary .icon { transition: transform .25s; }
.sd-faq details[open] { border-color: var(--text); }
.sd-faq details[open] summary .icon { transform: rotate(45deg); }
.sd-faq details p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }

/* 11. Related: image rows */
.sd-related { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-bottom: 24px; }
.sd-related a { display: grid; grid-template-columns: 84px minmax(0, 1fr) 20px; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding-inline-start .3s; }
.sd-related a:hover, .sd-related a:focus-visible { padding-inline-start: 10px; }
.sd-related img, .sd-related .img-missing { width: 84px; height: 84px; object-fit: cover; }
.sd-related strong { display: block; font: 600 16px/1.3 var(--font-head); }
.sd-related span { font-size: 13px; color: var(--muted); }

/* 12. Quote band */
.sd-quote__head { max-width: 640px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.sd-quote__head h2 { margin-bottom: 12px; }
.sd-quote__head p { margin-inline: auto; color: rgb(255 255 255 / .86); }
.sd-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 24px; max-width: 960px; margin-inline: auto; padding: clamp(24px, 4vw, 48px); background: var(--bg); color: var(--text); --focus: var(--olive); }
.sd-form .btn--light { background: var(--btn-bg); color: var(--btn-text); }
.sd-form .btn--light:hover { background: var(--sage); color: var(--olive); }

/* Responsive */
@media (max-width: 960px) {
  .sd-layout { grid-template-columns: 1fr; gap: 32px; }
  .sd-aside { position: static; }
  .sd-toc { display: none; }
  .sd-card .btn { width: auto; }
  .sd-includes { grid-template-columns: 1fr 1fr; }
  .sd-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sd-twocol { column-count: 1; }
  .sd-includes, .sd-faq, .sd-related, .sd-form { grid-template-columns: 1fr; }
  .sd-pane { grid-template-columns: 1fr; }
  .sd-pane .frame { max-width: 260px; }
  .sd-flow li { grid-template-columns: 1fr; gap: 2px; }
  .sd-flow .icon { display: none; }
  .sd-swap__head { display: none; }
  .sd-swap__row { grid-template-columns: 1fr; gap: 4px; }
  .sd-triptych { grid-template-columns: 1fr 1.2fr 1fr; padding-inline: 0; }
}
/* About Hero — Stronger Dark Overlay */
.ab-hero {
  position: relative;
  isolation: isolate;
}

.ab-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: -1;
  pointer-events: none;
}

.ab-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
/* About Hero — Center Align All Content */
.ab-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  min-height: 100%;
  position: relative;
  z-index: 2;
}

.ab-crumb {
  text-align: center;
  justify-content: center;
}

.ab-hero__lead {
  max-width: 760px;
  margin: 20px auto 30px;
  text-align: center;
}

.ab-hero__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  text-align: center;
}

.ab-hero__meta li {
  text-align: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .ab-hero__meta {
    flex-direction: column;
    gap: 20px;
  }

  .ab-hero__lead {
    max-width: 100%;
  }
}
/* About Hero — Reduce Banner Height */
.ab-hero {
  min-height: 480px;
  height: auto;
}

.ab-hero__img {
  height: 100%;
  object-fit: cover;
}

.ab-hero__inner {
  min-height: 600px;
  padding-top: 50px;
  padding-bottom: 50px;
}

/* Mobile */
@media (max-width: 768px) {
  .ab-hero,
  .ab-hero__inner {
    min-height: 420px;
  }

  .ab-hero__inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
/* ===== Gallery page — append to the END of assets/css/style.css =====
   Order matters: add AFTER service-additions.css and service-details-additions.css
   (it reuses the before/after slider and the text-only footer rule). */

/* Frame look for every tile: a coloured border instead of extra markup */
.gl-fig { --b: 10px; --bc: var(--olive); position: relative; margin: 0; overflow: hidden; border: var(--b) solid var(--bc); background: var(--soft); min-width: 0; }
.gl-fig > img, .gl-fig > .img-missing { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.gl-fig::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.gl-fig--classic::after { box-shadow: inset 0 0 0 2px var(--sage); }
.gl-fig--modern { --b: 4px; --bc: var(--black); outline: 1px solid var(--line); }
.gl-fig--natural { --bc: var(--sage); }
.gl-fig--natural::after { box-shadow: inset 0 0 0 1px var(--olive); }
.gl-fig--white { --b: 8px; --bc: var(--white); outline: 1px solid var(--line); }
.gl-cap { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; margin: 0; padding: 8px 12px; font-size: 12.5px; line-height: 1.4; color: var(--white); background: color-mix(in srgb, var(--olive) 88%, transparent); }

/* Section rhythm: tight, no min-heights, no stray margins */
.gl-sec { padding-block: clamp(40px, 5.5vw, 72px); }
.gl-sec--soft { background: var(--soft); }
.gl-sec--deep { background: var(--deep); color: var(--white); --muted: rgb(255 255 255 / .82); --line: rgb(255 255 255 / .3); --focus: var(--white); }
.gl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 48px; margin-bottom: 24px; }
.gl-head h2 { margin: 0; }
.gl-head p { margin: 0; max-width: 46ch; color: var(--muted); }
.gl-list li { padding: 9px 0; border-top: 1px solid var(--line); }
.gl-list li:last-child { border-bottom: 1px solid var(--line); }
.gl-list strong { display: block; font: 600 16px var(--font-head); }

/* 1. Hero: headline row, then a salon wall packed edge to edge (6 x 4 cells, all filled) */
.gl-hero { background: var(--deep); color: var(--white); --focus: var(--white); }
.gl-hero__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 64px; padding-block: clamp(40px, 6vw, 72px) 28px; }
.gl-crumb { margin: 0 0 16px; font-size: 13px; color: rgb(255 255 255 / .8); }
.gl-crumb a { text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .4); }
.gl-hero h1 { max-width: 18ch; }
.gl-hero__lead { max-width: 38ch; margin: 0; color: rgb(255 255 255 / .86); }
.gl-salon { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(60px, 11vw, 132px); gap: 6px; padding: 6px; }
.gl-salon .s1 { grid-area: 1 / 1 / 5 / 3; }
.gl-salon .s2 { grid-area: 1 / 3 / 3 / 5; }
.gl-salon .s3 { grid-area: 1 / 5 / 4 / 7; }
.gl-salon .s4 { grid-area: 3 / 3 / 5 / 5; }
.gl-salon .s5 { grid-area: 4 / 5 / 5 / 7; }

/* 2. Filter + grid. auto-fit means a filtered result always stretches to fill the row */
.gl-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.gl-chip { min-height: 44px; padding: 8px 16px; font: 500 14px var(--font-body); color: var(--text); background: transparent; border: 1px solid var(--text); cursor: pointer; transition: background-color .25s, color .25s; }
.gl-chip:hover { background: var(--soft); }
.gl-chip[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.gl-count { margin: 14px 0 16px; font-size: 13px; color: var(--muted); }
.gl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); grid-auto-rows: clamp(240px, 26vw, 330px); gap: 8px; }
.gl-grid > li { min-width: 0; }
.gl-grid > li[hidden] { display: none; }
.gl-grid .gl-fig { height: 100%; }

/* 3. One large, two stacked (7fr / 5fr, two equal rows) */
.gl-trio { display: grid; grid-template-columns: 7fr 5fr; grid-auto-rows: clamp(150px, 22vw, 270px); gap: 8px; }
.gl-trio .t-main { grid-row: 1 / 3; }
.gl-trio .gl-fig { height: 100%; }

/* 4. Three panels, one height, different widths */
.gl-row { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: 12px; }
.gl-row figure { display: flex; flex-direction: column; margin: 0; min-width: 0; }
.gl-row .gl-fig { height: clamp(260px, 36vw, 440px); }
.gl-row figcaption { margin: 8px 0 0; }

/* 5. Classic: text + two images that stretch to the same height */
.gl-split { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.gl-split > * { min-width: 0; }
.gl-split h2 { margin-bottom: 12px; }
.gl-split p { color: rgb(255 255 255 / .86); }
.gl-split__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gl-split__imgs .gl-fig { height: clamp(280px, 38vw, 460px); }

/* 6. Modern: panorama over three squares */
.gl-pano { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gl-pano .pano { grid-column: 1 / -1; height: clamp(150px, 30vw, 360px); }
.gl-pano > .gl-fig:not(.pano) { aspect-ratio: 1; }

/* 7. Five tiles packed into an exact 4 x 4 block */
.gl-pack { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(84px, 12vw, 132px); gap: 8px; }
.gl-pack .pk-a { grid-area: 1 / 1 / 4 / 3; }
.gl-pack .pk-b { grid-area: 1 / 3 / 3 / 4; }
.gl-pack .pk-c { grid-area: 1 / 4 / 5 / 5; }
.gl-pack .pk-d { grid-area: 3 / 3 / 5 / 4; }
.gl-pack .pk-e { grid-area: 4 / 1 / 5 / 3; }
.gl-pack .gl-fig { height: 100%; }

/* 8. Conservation: two images and a text column, equal height */
.gl-cons { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 12px; align-items: stretch; }
.gl-cons > .gl-fig { min-height: clamp(300px, 36vw, 440px); }
.gl-cons__text { align-self: center; padding-inline: clamp(8px, 2vw, 24px); }
.gl-cons__text h2 { margin-bottom: 12px; }
.gl-cons__text > p { color: var(--muted); }
.gl-cons__text .gl-list { margin-bottom: 18px; }

/* 9. Two sliders side by side (slider styles come from service-details-additions.css) */
.gl-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sd-compare.gl-compare { max-width: none; aspect-ratio: 1 / 1; }

/* 10. Swatch mosaic: 4 x 2, every cell filled */
.gl-swatches { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(110px, 16vw, 170px); gap: 8px; }
.gl-swatches li { position: relative; border: 1px solid var(--line); }
.gl-swatches span { position: absolute; inset-inline: 0; bottom: 0; padding: 7px 12px; font-size: 13px; color: var(--white); background: rgb(0 0 0 / .55); }
.gl-swatches__light span { color: var(--olive); background: rgb(255 255 255 / .88); }
.gl-sw-clear { background: linear-gradient(115deg, rgb(255 255 255 / .9) 0 22%, var(--soft) 22% 100%); }
.gl-sw-uv { background: linear-gradient(115deg, rgb(255 255 255 / .8) 0 22%, color-mix(in srgb, var(--sage) 55%, var(--white)) 22% 100%); }

/* 11. Featured projects */
.gl-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); }
.gl-feat article { min-width: 0; }
.gl-feat .gl-fig { aspect-ratio: 4 / 3; }
.gl-feat h3 { margin: 14px 0 8px; }
.gl-feat dl { margin: 0; border-top: 1px solid var(--line); }
.gl-feat dl div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.gl-feat dt { color: var(--muted); }
.gl-feat dd { margin: 0; }

/* 12. FAQ: one centred, numbered column */
.gl-faq { max-width: 760px; counter-reset: q; }
.gl-faq h2 { margin-bottom: 20px; text-align: center; }
.gl-faq details { counter-increment: q; border-top: 1px solid var(--line); }
.gl-faq details:last-child { border-bottom: 1px solid var(--line); }
.gl-faq summary { display: flex; align-items: center; gap: 14px; padding: 16px 0; font: 600 17px/1.4 var(--font-head); cursor: pointer; list-style: none; }
.gl-faq summary::-webkit-details-marker { display: none; }
.gl-faq summary::before { content: counter(q, decimal-leading-zero); font: 600 14px var(--font-head); color: var(--muted); }
.gl-faq summary .icon { margin-inline-start: auto; flex: none; transition: transform .25s; }
.gl-faq details[open] summary .icon { transform: rotate(45deg); }
.gl-faq details p { margin: 0 0 18px; padding-inline-start: 36px; color: var(--muted); }

/* Responsive: re-pack, never shrink-and-leave-holes */
@media (max-width: 900px) {
  .gl-split, .gl-cons { grid-template-columns: 1fr; }
  .gl-cons { grid-template-columns: 1fr 1fr; }
  .gl-cons__text { grid-column: 1 / -1; padding: 12px 0 0; }
  .gl-cons > .gl-fig { min-height: 260px; }
  .gl-feat { grid-template-columns: 1fr; }
  .gl-feat article { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; }
  .gl-feat article .gl-fig { grid-row: 1 / 3; height: 100%; aspect-ratio: auto; min-height: 200px; }
  .gl-feat h3 { margin-top: 0; }
}
@media (max-width: 640px) {
  .gl-fig { --b: 6px; }
  .gl-fig--modern { --b: 3px; }
  .gl-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); grid-auto-rows: 220px; }
  .gl-trio { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gl-trio .t-main { grid-column: 1 / -1; grid-row: auto; height: 240px; }
  .gl-row { grid-template-columns: 1fr 1fr; }
  .gl-row .r1 { grid-column: 1 / -1; }
  .gl-row .gl-fig { height: 200px; }
  .gl-row .r1 .gl-fig { height: 240px; }
  .gl-split__imgs .gl-fig { height: 260px; }
  .gl-pack { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 88px; }
  .gl-pack .pk-a { grid-area: 1 / 1 / 4 / 3; }
  .gl-pack .pk-b { grid-area: 4 / 1 / 6 / 2; }
  .gl-pack .pk-c { grid-area: 4 / 2 / 7 / 3; }
  .gl-pack .pk-d { grid-area: 6 / 1 / 7 / 2; }
  .gl-pack .pk-e { grid-area: 7 / 1 / 8 / 3; }
  .gl-ba { grid-template-columns: 1fr; }
  .gl-swatches { grid-template-columns: repeat(2, 1fr); }
  .gl-feat article { display: block; }
  .gl-feat article .gl-fig { aspect-ratio: 4 / 3; min-height: 0; }
  .gl-feat h3 { margin-top: 14px; }
  .gl-feat dl div { grid-template-columns: 80px 1fr; }
}
/* ===== Contact page — append to the END of assets/css/style.css ===== */

/* Safe to repeat if already present */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.footer__top--text { grid-template-columns: 1fr; }
.footer__top--text .footer__cta { max-width: 640px; }

/* Section rhythm: compact, no min-heights */
.ct-sec { padding-block: clamp(40px, 5.5vw, 72px); }
.ct-sec--soft { background: var(--soft); }
.ct-sec--deep { background: var(--deep); color: var(--white); --muted: rgb(255 255 255 / .82); --line: rgb(255 255 255 / .3); --focus: var(--white); }
.ct-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 48px; margin-bottom: 24px; }
.ct-head h2 { margin: 0; }
.ct-head p { margin: 0; max-width: 46ch; color: var(--muted); }
.ct-kicker { margin: 0 0 8px; font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ct-note { font-size: 13px; color: var(--muted); }
.ct-small { font-size: 13px; }

/* 1. Hero + "stamp" image */
.ct-hero { background: var(--deep); color: var(--white); --focus: var(--white); padding-block: clamp(40px, 6vw, 80px); }
.ct-hero__grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ct-hero__grid > * { min-width: 0; }
.ct-crumb { margin: 0 0 18px; font-size: 13px; color: rgb(255 255 255 / .8); }
.ct-crumb a { text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .4); }
.ct-hero__lead { max-width: 48ch; margin: 16px 0 0; color: rgb(255 255 255 / .88); }
.ct-hero__links { margin-top: clamp(20px, 3vw, 32px); border-top: 1px solid rgb(255 255 255 / .3); max-width: 520px; }
.ct-hero__links a { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgb(255 255 255 / .3); text-decoration: none; transition: padding-inline-start .3s, background-color .3s; }
.ct-hero__links a:hover, .ct-hero__links a:focus-visible { padding-inline-start: 12px; background: rgb(255 255 255 / .08); }
.ct-hero__links span { font: 600 14px var(--font-head); color: var(--sage); }
.ct-hero__links .icon { margin-inline-start: auto; width: 18px; height: 18px; }
.ct-stamp { margin: 0; padding: 12px; background: var(--white); outline: 2px dashed rgb(255 255 255 / .6); outline-offset: 8px; transform: rotate(2.5deg); max-width: 320px; justify-self: center; }
.ct-stamp img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ct-stamp .img-missing { aspect-ratio: 4 / 5; }
[dir="rtl"] .ct-stamp { transform: rotate(-2.5deg); }

/* 2. Channel strip */
.ct-channels { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--text); }
.ct-channels li { padding: clamp(20px, 3vw, 36px); }
.ct-channels li + li { border-inline-start: 1px solid var(--line); }
.ct-channels p { margin: 0; color: var(--muted); }
.ct-channels .ct-kicker { margin-bottom: 8px; }
.ct-big { margin-bottom: 8px !important; font: 600 clamp(19px, 2.4vw, 24px)/1.3 var(--font-head); color: var(--text) !important; }

/* 3 + 7. Address-book rows */
.ct-book { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.ct-book > * { min-width: 0; }
.ct-book h2 { margin-bottom: 12px; }
.ct-book p { color: var(--muted); }
.ct-rows { margin: 0; border-top: 1px solid var(--text); }
.ct-rows div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ct-rows dt { font: 600 17px var(--font-head); }
.ct-rows dd { margin: 0; color: var(--muted); }
.ct-rows--hours div { padding-block: 10px; }

/* 4. Letter-style form (underline fields) */
.ct-letter { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.ct-letter > * { min-width: 0; }
.ct-letter h2 { margin-bottom: 12px; }
.ct-letter p { color: var(--muted); }
.ct-rule-list { margin: 16px 0; border-top: 1px solid var(--line); }
.ct-rule-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ct-form { padding: clamp(20px, 4vw, 40px); border: 1px solid var(--text); background: var(--bg); }
.ct-line { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 0 16px; align-items: end; padding-top: 10px; }
.ct-line + .ct-line { margin-top: 10px; }
.ct-line label { padding-bottom: 8px; font: 600 17px var(--font-head); }
.ct-line input, .ct-line select, .ct-line textarea, .ct-bar input, .ct-bar select, .ct-bar textarea { width: 100%; min-height: 44px; padding: 8px 2px; font: 400 15px var(--font-body); color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--text); border-radius: 0; }
.ct-line select, .ct-bar select { background: var(--bg); }
.ct-line textarea, .ct-bar textarea { resize: vertical; }
.ct-line input:focus-visible, .ct-line select:focus-visible, .ct-line textarea:focus-visible, .ct-bar input:focus-visible, .ct-bar select:focus-visible, .ct-bar textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[aria-invalid="true"].ct-line input, .ct-line [aria-invalid="true"], .ct-bar [aria-invalid="true"] { border-bottom-width: 3px; }
.ct-error { grid-column: 2; margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--text); }
.ct-error:empty { display: none; }
.ct-error:not(:empty)::before { content: "\26A0\FE0E  "; }
.ct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.ct-status { margin: 0; max-width: 60ch; font-size: 14px; color: var(--text); }
.ct-status:empty { display: none; }

/* 5. Ticket with perforated edge */
.ct-ticket { display: grid; grid-template-columns: 4fr 8fr; border: 1px solid var(--text); background: var(--bg); }
.ct-ticket__stub { padding: clamp(22px, 3vw, 36px); background: var(--deep); color: var(--white); border-inline-end: 2px dashed rgb(255 255 255 / .5); --focus: var(--white); }
.ct-ticket__stub .ct-kicker { color: rgb(255 255 255 / .8); }
.ct-ticket__stub h2 { margin-bottom: 10px; }
.ct-ticket__stub p { color: rgb(255 255 255 / .86); }
.ct-ticket__stub a { text-decoration: underline; }
.ct-ticket__body { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 36px); padding: clamp(22px, 3vw, 36px); }
.ct-ticket__body > * { min-width: 0; }
.ct-ticket h3 { margin-bottom: 10px; }
.ct-ticket__body li { padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); }

/* 6. Image band with address card */
.ct-band { position: relative; margin: 0; }
.ct-band > img { display: block; width: 100%; height: clamp(300px, 40vw, 440px); object-fit: cover; }
.ct-band > .img-missing { height: clamp(300px, 40vw, 440px); }
.ct-band__card { position: absolute; inset-inline-start: clamp(12px, 3vw, 32px); bottom: clamp(12px, 3vw, 32px); max-width: 340px; padding: 22px; background: var(--bg); color: var(--text); border: 1px solid var(--text); }
.ct-band__card h2 { margin-bottom: 10px; font-size: 22px; }
.ct-band__card p { margin: 0 0 8px; }

/* 8. Enquiry bar */
.ct-bar { display: grid; grid-template-columns: 1fr 1fr 2fr auto; gap: 8px 24px; align-items: start; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--text); }
.ct-bar > * { min-width: 0; }
.ct-bar__field label { display: block; margin-bottom: 2px; font: 600 14px var(--font-body); }
.ct-bar__go { align-self: end; padding-bottom: 2px; }
.ct-bar .ct-error { grid-column: auto; }
.ct-bar .ct-status { grid-column: 1 / -1; }

/* 9. FAQ in three columns */
.ct-faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.ct-faq > * { min-width: 0; }
.ct-faq h3 { margin-bottom: 8px; padding-bottom: 10px; border-bottom: 2px solid var(--text); }
.ct-faq details { border-bottom: 1px solid var(--line); }
.ct-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font: 600 16px/1.4 var(--font-head); cursor: pointer; list-style: none; }
.ct-faq summary::-webkit-details-marker { display: none; }
.ct-faq summary .icon { flex: none; transition: transform .25s; }
.ct-faq details[open] summary .icon { transform: rotate(45deg); }
.ct-faq details p { margin: 0 0 14px; font-size: 14px; color: var(--muted); }

/* 10. Support */
.ct-support { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.ct-support li { padding: 20px clamp(12px, 2vw, 24px) 4px 0; }
.ct-support li + li { padding-inline-start: clamp(12px, 2vw, 24px); border-inline-start: 1px solid var(--line); }
.ct-support h3 { margin-bottom: 6px; }
.ct-support p { margin: 0; color: var(--muted); font-size: 14px; }
.ct-support__line { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }

/* 11. Map placeholder (no invented location) */
.ct-map { display: grid; place-content: center; justify-items: center; gap: 12px; height: clamp(260px, 34vw, 380px); padding: 20px; text-align: center; border: 1px solid var(--text); background-color: var(--soft); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; }
.ct-map .icon { width: 40px; height: 40px; }
.ct-map p { margin: 0; max-width: 40ch; padding: 10px 14px; background: var(--bg); }

/* 12. Visit */
.ct-visit { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.ct-visit > * { min-width: 0; }
.ct-visit h2 { margin-bottom: 12px; }
.ct-visit p { color: rgb(255 255 255 / .86); max-width: 52ch; }
.ct-visit__list { margin: 18px 0 24px; border-top: 1px solid var(--line); max-width: 420px; }
.ct-visit__list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ct-visit__img { margin: 0; justify-self: center; max-width: 320px; width: 100%; }
.ct-visit__img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; outline: 1px solid rgb(255 255 255 / .4); outline-offset: 8px; }
.ct-visit__img .img-missing { aspect-ratio: 4 / 5; }

/* Responsive */
@media (max-width: 960px) {
  .ct-hero__grid, .ct-book, .ct-letter, .ct-visit { grid-template-columns: 1fr; }
  .ct-stamp, .ct-visit__img { max-width: 260px; justify-self: start; }
  .ct-ticket { grid-template-columns: 1fr; }
  .ct-ticket__stub { border-inline-end: 0; border-bottom: 2px dashed rgb(255 255 255 / .5); }
  .ct-bar { grid-template-columns: 1fr 1fr; }
  .ct-bar__field--wide { grid-column: 1 / -1; }
  .ct-faq { grid-template-columns: 1fr; }
  .ct-support { grid-template-columns: 1fr 1fr; }
  .ct-support li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .ct-support li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 16px; }
}
@media (max-width: 640px) {
  .ct-channels { grid-template-columns: 1fr; }
  .ct-channels li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .ct-rows div { grid-template-columns: 1fr; gap: 2px; }
  .ct-line { grid-template-columns: 1fr; }
  .ct-error { grid-column: 1; }
  .ct-ticket__body { grid-template-columns: 1fr; }
  .ct-bar { grid-template-columns: 1fr; }
  .ct-band > img, .ct-band > .img-missing { height: 220px; }
  .ct-band__card { position: static; max-width: none; border-top: 0; }
  .ct-support { grid-template-columns: 1fr; }
  .ct-support li, .ct-support li + li { padding-inline: 0; border-inline-start: 0; }
  .ct-support li:nth-child(n+2) { border-top: 1px solid var(--line); margin-top: 16px; }
}
/* ===== Login & Register — append to the END of assets/css/style.css ===== */

/* Split screen: form panel + framed-art panel, both stretch to equal height */
.au-split { display: grid; grid-template-columns: 1fr 1fr; }
.au-form-panel, .au-art-panel { display: grid; align-items: center; min-width: 0; padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px); }
.au-inner { width: 100%; max-width: 440px; margin-inline: auto; }
.au-art-panel { background: var(--deep); color: var(--white); --focus: var(--white); }
.au-art-panel .au-inner { max-width: 380px; }

/* Form panel */
.au-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; font: 600 16px var(--font-head); letter-spacing: .08em; color: var(--text); text-decoration: none; }
.au-brand .icon { width: 28px; height: 28px; }
.au-inner h1 { margin-bottom: 6px; }
.au-lead { margin: 0 0 22px; color: var(--muted); }
.au-field { margin-bottom: 16px; }
.au-field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.au-field label { display: block; margin-bottom: 6px; font: 600 14px var(--font-body); }
.au-field input:not([type="checkbox"]), .au-field select { width: 100%; min-height: 48px; padding: 10px 14px; font: 400 15px var(--font-body); color: var(--text); background: var(--bg); border: 1px solid color-mix(in srgb, var(--text) 45%, transparent); border-radius: 0; }
.au-field input:focus-visible, .au-field select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.au-field [aria-invalid="true"] { border-color: var(--text); border-width: 2px; }
.au-small-link { font-size: 13px; }
.au-pass { position: relative; }
.au-pass input { padding-inline-end: 76px; }
.au-pass__btn { position: absolute; inset-block: 0; inset-inline-end: 0; padding: 0 16px; font: 600 13px var(--font-body); color: var(--text); background: transparent; border: 0; cursor: pointer; }
.au-pass__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.au-error { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--text); }
.au-error:empty { display: none; }
.au-error:not(:empty)::before { content: "\26A0\FE0E  "; }
.au-hint { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); max-width: none; }
.au-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.au-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--olive); }
[data-theme="dark"] .au-check input { accent-color: var(--sage); }
.au-submit { width: 100%; }
.au-status { margin: 12px 0 0; max-width: none; font-size: 14px; color: var(--text); }
.au-status:empty { display: none; }
.au-or { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; font-size: 13px; color: var(--muted); }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.au-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.au-social button { min-height: 46px; font: 600 14px var(--font-body); color: var(--text); background: transparent; border: 1px solid var(--line); }
.au-social button:disabled { opacity: .55; cursor: not-allowed; }
.au-security { margin-top: 20px; padding: 14px 16px; border: 1px solid var(--line); border-inline-start: 3px solid var(--sage); }
.au-security h2 { margin: 0 0 6px; font-size: 15px; }
.au-security li { padding: 2px 0; font-size: 13px; color: var(--muted); }
.au-links { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 20px; }
.au-links p { margin: 0; max-width: none; }
.au-back { transform: scaleX(-1); }
[dir="rtl"] .au-back { transform: none; }

/* Register-only: two fields side by side, password rules, terms */
.au-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.au-rules { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.au-rules li { padding: 1px 0; }

/* Art panel */
.au-frame { max-width: 250px; margin: 0 auto 22px; }
.au-art-panel h2 { margin: 0 0 6px; }
.au-art-panel p { color: rgb(255 255 255 / .86); max-width: none; }
.au-benefits { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .3); }
.au-benefits h3 { margin: 0 0 8px; font-size: 15px; }
.au-benefits li { padding: 6px 0; border-bottom: 1px solid rgb(255 255 255 / .2); }
.au-benefits .au-small { margin: 10px 0 0; font-size: 12.5px; }

/* Slim footer */
.au-foot { border-top: 1px solid var(--line); }
.au-foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-block: 16px; font-size: 13px; color: var(--muted); }
.au-foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.au-foot a { color: var(--muted); text-decoration: none; }
.au-foot a:hover, .au-foot a:focus-visible { color: var(--text); text-decoration: underline; }

@media (max-width: 860px) {
  .au-split { grid-template-columns: 1fr; }
  .au-frame { max-width: 190px; }
}
@media (max-width: 480px) {
  .au-row { grid-template-columns: 1fr; }
}
/* ===== Login & Register — append to the END of assets/css/style.css ===== */

/* Split screen: form panel + framed-art panel, both stretch to equal height */
.au-split { display: grid; grid-template-columns: 1fr 1fr; }
.au-form-panel, .au-art-panel { display: grid; align-items: center; min-width: 0; padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px); }
.au-inner { width: 100%; max-width: 440px; margin-inline: auto; }
.au-art-panel { background: var(--deep); color: var(--white); --focus: var(--white); }
.au-art-panel .au-inner { max-width: 380px; }

/* Form panel */
.au-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; font: 600 16px var(--font-head); letter-spacing: .08em; color: var(--text); text-decoration: none; }
.au-brand .icon { width: 28px; height: 28px; }
.au-inner h1 { margin-bottom: 6px; }
.au-lead { margin: 0 0 22px; color: var(--muted); }
.au-field { margin-bottom: 16px; }
.au-field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.au-field label { display: block; margin-bottom: 6px; font: 600 14px var(--font-body); }
.au-field input:not([type="checkbox"]), .au-field select { width: 100%; min-height: 48px; padding: 10px 14px; font: 400 15px var(--font-body); color: var(--text); background: var(--bg); border: 1px solid color-mix(in srgb, var(--text) 45%, transparent); border-radius: 0; }
.au-field input:focus-visible, .au-field select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.au-field [aria-invalid="true"] { border-color: var(--text); border-width: 2px; }
.au-small-link { font-size: 13px; }
.au-pass { position: relative; }
.au-pass input { padding-inline-end: 76px; }
.au-pass__btn { position: absolute; inset-block: 0; inset-inline-end: 0; padding: 0 16px; font: 600 13px var(--font-body); color: var(--text); background: transparent; border: 0; cursor: pointer; }
.au-pass__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.au-error { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--text); }
.au-error:empty { display: none; }
.au-error:not(:empty)::before { content: "\26A0\FE0E  "; }
.au-hint { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); max-width: none; }
.au-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.au-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--olive); }
[data-theme="dark"] .au-check input { accent-color: var(--sage); }
.au-submit { width: 100%; }
.au-status { margin: 12px 0 0; max-width: none; font-size: 14px; color: var(--text); }
.au-status:empty { display: none; }
.au-or { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; font-size: 13px; color: var(--muted); }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.au-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.au-social button { min-height: 46px; font: 600 14px var(--font-body); color: var(--text); background: transparent; border: 1px solid var(--line); }
.au-social button:disabled { opacity: .55; cursor: not-allowed; }
.au-security { margin-top: 20px; padding: 14px 16px; border: 1px solid var(--line); border-inline-start: 3px solid var(--sage); }
.au-security h2 { margin: 0 0 6px; font-size: 15px; }
.au-security li { padding: 2px 0; font-size: 13px; color: var(--muted); }
.au-links { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 20px; }
.au-links p { margin: 0; max-width: none; }
.au-back { transform: scaleX(-1); }
[dir="rtl"] .au-back { transform: none; }

/* Register-only: two fields side by side, password rules, terms */
.au-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.au-rules { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.au-rules li { padding: 1px 0; }

/* Art panel */
.au-frame { max-width: 250px; margin: 0 auto 22px; }
.au-art-panel h2 { margin: 0 0 6px; }
.au-art-panel p { color: rgb(255 255 255 / .86); max-width: none; }
.au-benefits { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .3); }
.au-benefits h3 { margin: 0 0 8px; font-size: 15px; }
.au-benefits li { padding: 6px 0; border-bottom: 1px solid rgb(255 255 255 / .2); }
.au-benefits .au-small { margin: 10px 0 0; font-size: 12.5px; }

/* Slim footer */
.au-foot { border-top: 1px solid var(--line); }
.au-foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-block: 16px; font-size: 13px; color: var(--muted); }
.au-foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.au-foot a { color: var(--muted); text-decoration: none; }
.au-foot a:hover, .au-foot a:focus-visible { color: var(--text); text-decoration: underline; }

@media (max-width: 860px) {
  .au-split { grid-template-columns: 1fr; }
  .au-frame { max-width: 190px; }
}
@media (max-width: 480px) {
  .au-row { grid-template-columns: 1fr; }
}

/* ===== Register-only additions (append after the block above) ===== */
.au-inner--wide { max-width: 520px; }
.au-set { margin: 0 0 6px; padding: 0; border: 0; min-width: 0; }
.au-set legend { margin-bottom: 10px; padding: 0; font: 600 13px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.au-check em { font-style: normal; color: var(--muted); }
.au-steps { counter-reset: au; margin-top: 20px; padding-top: 6px; border-top: 1px solid rgb(255 255 255 / .3); }
.au-steps li { counter-increment: au; position: relative; padding: 12px 0 12px 44px; border-bottom: 1px solid rgb(255 255 255 / .2); color: rgb(255 255 255 / .86); }
.au-steps li::before { content: counter(au, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 12px; font: 600 15px var(--font-head); color: var(--sage); }
.au-steps strong { display: block; font: 600 16px var(--font-head); color: var(--white); }
.au-art-panel .au-small { margin: 14px 0 0; font-size: 12.5px; }
@media (max-width: 860px) {
  .au-split--flip .au-art-panel { order: 2; }
}
/* Hero background video (index.html only, scoped to .hero--video) */
.hero__video { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__video::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--olive) 68%, transparent); }
.hero--video::before { z-index: 1; }          /* keeps the thin inner border line visible */
.hero--video .hero__grid { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero__video video { display: none; }       /* no motion for people who ask for less */
}
/* ===== Pre-footer: same look as before, now its own section ===== */
.prefoot { position: relative; background: var(--header); color: var(--white); --focus: var(--white); --line: rgb(255 255 255 / .22); overflow: hidden; }

/* ===== New footer: light ledger layout ===== */
.mh-footer { background: var(--header); color: var(--white); --text: var(--white); --muted: rgb(255 255 255 / .8); --line: rgb(255 255 255 / .22); --focus: var(--white); }
.mh-footer__inner { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); padding-block: clamp(40px, 5vw, 64px); }
.mh-footer__inner > * { min-width: 0; }
.mh-brand { display: inline-flex; align-items: center; gap: 12px; font: 600 18px/1 var(--font-head); letter-spacing: .14em; color: var(--text); text-decoration: none; white-space: nowrap; }
.mh-brand .icon { width: 34px; height: 34px; }
.mh-footer__tag { margin: 16px 0 0; max-width: 30ch; color: var(--muted); }
.mh-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.mh-footer__cols > * { min-width: 0; padding-top: 16px; border-top: 2px solid var(--text); }
.mh-footer h3 { margin: 0 0 14px; font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.mh-footer li { margin-bottom: 8px; }
.mh-footer__cols a { padding-bottom: 2px; color: var(--text); text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .3s; }
.mh-footer__cols a:hover, .mh-footer__cols a:focus-visible { background-size: 100% 1px; }
[dir="rtl"] .mh-footer__cols a { background-position: right bottom; }
.mh-footer__info li { color: var(--muted); }
.mh-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-block: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mh-footer__bar .text-link { font-size: 13px; color: var(--text); }

@media (max-width: 960px) {
  .mh-footer__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .mh-footer__cols { grid-template-columns: 1fr; }
}
/* Footer social icons */
.mh-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.mh-social a { display: grid; place-items: center; width: 44px; height: 44px; color: inherit; border: 1px solid color-mix(in srgb, currentColor 45%, transparent); transition: background-color .25s, color .25s, border-color .25s; }
.mh-social .icon { width: 20px; height: 20px; }
.mh-social a:hover, .mh-social a:focus-visible { background: var(--white); color: var(--olive); border-color: var(--white); }
/* ===== FOOTER SOCIAL ICONS ===== */
.mh-social {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.mh-social li {
  margin: 0;
  padding: 0;
}

.mh-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(167, 177, 154, 0.55);
  border-radius: 50%;
  color: #2E3A2F;
  background: #FFFFFF;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.mh-social .icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mh-social li:last-child .icon {
  fill: none;
}

.mh-social li:last-child .icon path:first-child {
  fill: currentColor;
  stroke: none;
}

.mh-social li:last-child .icon path:last-child {
  fill: #FFFFFF;
  stroke: none;
}

.mh-social a:hover {
  background: #2E3A2F;
  border-color: #2E3A2F;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.mh-social a:focus-visible {
  outline: 2px solid #2E3A2F;
  outline-offset: 4px;
}

/* ===== DARK MODE ===== */
html[data-theme="dark"] .mh-social a {
  background: #111111;
  color: #A7B19A;
  border-color: #A7B19A;
}

html[data-theme="dark"] .mh-social a:hover {
  background: #A7B19A;
  color: #111111;
  border-color: #A7B19A;
}

html[data-theme="dark"] .mh-social li:last-child .icon path:last-child {
  fill: #111111;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 576px) {
  .mh-social {
    gap: 10px;
    margin-top: 16px;
  }

  .mh-social a {
    width: 38px;
    height: 38px;
  }

  .mh-social .icon {
    width: 17px;
    height: 17px;
  }
}
/* FIX: Footer social icons */
.mh-social {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.mh-social li {
  margin: 0;
  padding: 0;
}

.mh-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #A7B19A;
  border-radius: 50%;
  background: transparent;
  color: #FFFFFF;
  text-decoration: none;
  transition: 0.3s ease;
}

.mh-social a svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mh-social a:hover {
  background: #A7B19A;
  color: #2E3A2F;
  border-color: #A7B19A;
  transform: translateY(-3px);
}

/* YouTube icon */
.mh-social li:last-child a svg path:first-child {
  fill: currentColor;
  stroke: none;
}

.mh-social li:last-child a svg path:last-child {
  fill: #2E3A2F;
  stroke: none;
}

/* Mobile */
@media (max-width: 576px) {
  .mh-social a {
    width: 38px;
    height: 38px;
  }
}
.mh-social .icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.mh-social li:last-child a svg {
  width: 20px;
  height: 20px;
  fill: initial;
  stroke: none;
}

.mh-social li:last-child a svg path {
  stroke: none;
}
/* MEMORA HOUSE — Thin Golden Footer Border */
.mh-footer {
  border: 1px solid #C5A46D;
  box-sizing: border-box;
  position: relative;
}

/* Inner spacing */
.mh-footer .container {
  position: relative;
  z-index: 1;
}

/* Footer bottom divider */
.mh-footer__bar {
  border-top: 1px solid rgba(197, 164, 109, 0.45);
}

/* Responsive border */
@media (max-width: 576px) {
  .mh-footer {
    border-width: 1px;
  }
}

/* UNIQUE EDITORIAL HERO */
.mh-editorial-hero {
  --mh-primary: #2E3A2F;
  --mh-secondary: #A7B19A;
  position: relative;
  overflow: hidden;
  padding: 24px 5.5% 22px;
  background: #fff;
  color: var(--mh-primary);
}

.mh-hero-topline,
.mh-hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.mh-hero-topline {
  padding-bottom: 18px;
  border-bottom: 1px solid #dfe3db;
}

.mh-hero-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 5%;
  min-height: 610px;
  padding: 35px 0 45px;
}

.mh-hero-copy {
  position: relative;
  z-index: 2;
  padding: 25px 0;
}

.mh-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
}

.mh-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mh-secondary);
}

.mh-hero-copy h1 {
  margin: 0;
  font-size: clamp(46px, 5.3vw, 76px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -3px;
}

.mh-hero-copy h1 span {
  color: #8d9a80;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
}

.mh-hero-copy > p {
  max-width: 430px;
  margin: 25px 0 28px;
  color: #626a60;
  font-size: 15px;
  line-height: 1.9;
}

.mh-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.mh-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  padding: 0 22px;
  background: var(--mh-primary);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.25s ease;
}

.mh-hero-btn:hover {
  background: #495a47;
}

.mh-hero-btn span {
  font-size: 19px;
}

.mh-hero-text-link {
  color: var(--mh-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--mh-secondary);
  padding-bottom: 6px;
}

.mh-hero-note {
  display: flex;
  gap: 18px;
  margin-top: 66px;
  color: #72796e;
  font-size: 11px;
  letter-spacing: 1.5px;
}

.mh-hero-note span:first-child {
  color: var(--mh-primary);
  font-weight: 700;
}

.mh-hero-art {
  position: relative;
  min-width: 0;
  padding: 0 24px 35px 0;
}

.mh-art-backdrop {
  position: absolute;
  inset: 8% 0 0 12%;
  background: #e9ede5;
}

.mh-main-art {
  position: relative;
  width: 83%;
  height: 510px;
  margin: 0 auto 0 0;
  padding: 12px;
  background: #fff;
  box-shadow: 0 20px 55px rgb(46 58 47 / 12%);
}

.mh-main-art img {
  display: block;
  width: 100%;
  height: calc(100% - 29px);
  object-fit: cover;
}

.mh-main-art figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 29px;
  padding-top: 5px;
  font-size: 9px;
  letter-spacing: 1px;
}

.mh-floating-detail {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(300px, 80%);
  padding: 20px;
  background: var(--mh-primary);
  color: #fff;
  box-shadow: 0 12px 30px rgb(0 0 0 / 12%);
}

.mh-detail-number {
  align-self: flex-start;
  color: #c3cdb9;
  font-size: 12px;
}

.mh-floating-detail strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.mh-floating-detail p {
  margin: 6px 0 0;
  color: #e1e7dc;
  font-size: 12px;
  line-height: 1.6;
}

.mh-detail-arrow {
  margin-left: auto;
  align-self: flex-start;
  font-size: 18px;
}

.mh-vertical-note {
  position: absolute;
  right: 0;
  top: 15%;
  writing-mode: vertical-rl;
  color: #626a60;
  font-size: 10px;
  letter-spacing: 2px;
}

.mh-hero-bottom {
  justify-content: flex-start;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid #dfe3db;
  color: #626a60;
  font-size: 10px;
}

.mh-bottom-line {
  width: 45px;
  height: 1px;
  background: var(--mh-secondary);
}

/* TABLET */
@media (max-width: 900px) {
  .mh-hero-layout {
    grid-template-columns: 1fr 0.9fr;
    gap: 24px;
    min-height: 520px;
  }

  .mh-hero-copy h1 {
    font-size: clamp(42px, 6vw, 58px);
    letter-spacing: -2px;
  }

  .mh-main-art {
    height: 420px;
    width: 90%;
  }

  .mh-hero-note {
    margin-top: 42px;
  }

  .mh-floating-detail {
    width: 88%;
    padding: 15px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .mh-editorial-hero {
    padding: 18px 20px;
  }

  .mh-hero-topline {
    align-items: flex-start;
    font-size: 10px;
    letter-spacing: 0.7px;
  }

  .mh-hero-topline span:last-child {
    text-align: right;
  }

  .mh-hero-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
    padding: 38px 0 35px;
  }

  .mh-hero-copy {
    padding: 0;
  }

  .mh-hero-label {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .mh-hero-copy h1 {
    font-size: 34px;
    line-height: 1.06;
    letter-spacing: -2px;
  }

  .mh-hero-copy > p {
    margin: 20px 0 24px;
    font-size: 15px;
  }

  .mh-hero-actions {
    gap: 18px;
  }

  .mh-hero-btn {
    min-height: 48px;
    padding: 0 16px;
    gap: 15px;
  }

  .mh-hero-note {
    margin-top: 30px;
    font-size: 9px;
    gap: 12px;
  }

  .mh-hero-art {
    padding: 0 15px 32px 0;
  }

  .mh-main-art {
    width: 88%;
    height: 390px;
    padding: 9px;
  }

  .mh-art-backdrop {
    inset: 7% 0 0 10%;
  }

  .mh-main-art figcaption {
    font-size: 8px;
    letter-spacing: 0.5px;
  }

  .mh-floating-detail {
    width: 82%;
    gap: 10px;
    padding: 15px;
  }

  .mh-vertical-note {
    right: -2px;
    font-size: 8px;
  }

  .mh-hero-bottom {
    gap: 10px;
    font-size: 8px;
    letter-spacing: 0.6px;
  }

  .mh-bottom-line {
    width: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-hero-btn {
    transition: none;
  }
}

.mh-editorial-hero {
  --mh-primary: #2E3A2F;
  --mh-secondary: #A7B19A;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px 5.5% 22px;

  background:
    linear-gradient(
      90deg,
      rgba(20, 29, 22, 0.88) 0%,
      rgba(20, 29, 22, 0.72) 45%,
      rgba(20, 29, 22, 0.25) 100%
    ),
    url("../images/frames 4.jpg") center 45% / cover no-repeat;

  color: #FFFFFF;
}

/* Top and bottom separators */
.mh-hero-topline,
.mh-hero-bottom {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}

/* Main heading */
.mh-hero-copy h1 {
  color: #FFFFFF;
}

.mh-hero-copy h1 span {
  color: white;
}

/* Paragraph */
.mh-hero-copy > p {
  color: #F0F1ED;
}

/* Buttons */
.mh-hero-btn {
  background: #A7B19A;
  color: #172019;
}

.mh-hero-btn:hover {
  background: #FFFFFF;
  color: #172019;
}

.mh-hero-text-link {
  color: #FFFFFF;
  border-color: #A7B19A;
}

/* Hero labels */
.mh-hero-label,
.mh-hero-note,
.mh-hero-bottom,
.mh-vertical-note {
  color: #F0F1ED;
}

/* Background decoration */
.mh-art-backdrop {
  background: rgba(167, 177, 154, 0.22);
}

/* Floating information panel */
.mh-floating-detail {
  background: #2E3A2F;
  color: #FFFFFF;
}

/* MEMORA HOUSE - HERO BANNER TYPOGRAPHY ONLY */

.mh-editorial-hero .mh-hero-copy h1 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
}

.mh-editorial-hero .mh-hero-copy > p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.mh-editorial-hero .mh-hero-actions a {
  font-size: 16px;
  font-weight: 600;
}

/* Banner responsive */
@media (max-width: 600px) {
  .mh-editorial-hero .mh-hero-copy h1 {
    font-size: 36px;
  }

  .mh-editorial-hero .mh-hero-copy > p {
    font-size: 15px;
  }

  .mh-editorial-hero .mh-hero-actions a {
    font-size: 16px;
  }
}
/* MEMORA HOUSE — shared styles (layout, components, base) */
:root {
  --olive: #2E3A2F;
  --sage: #A7B19A;
  --black: #000000;
  --white: #FFFFFF;

  --bg: var(--white);
  --text: var(--black);
  --muted: color-mix(in srgb, var(--black) 68%, var(--white));
  --line: color-mix(in srgb, var(--black) 16%, transparent);
  --soft: color-mix(in srgb, var(--sage) 26%, var(--white));
  --deep: var(--olive);
  --header: var(--olive);
  --btn-bg: var(--olive);
  --btn-text: var(--white);
  --focus: var(--olive);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 15px/1.75 var(--font-body); background: var(--bg); color: var(--text); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.25; margin: 0; }
h1 { font-size: clamp(28px, 6vw, 36px); line-height: 1.2; }
h2 { font-size: clamp(22px, 3.4vw, 24px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; 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; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--olive); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Layout helpers ---------- */
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--soft { background: var(--soft); }
.section--deep { background: var(--deep); color: var(--white); --focus: var(--white); --line: rgb(255 255 255 / .28); --muted: rgb(255 255 255 / .82); }
.sec-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { color: var(--muted); margin: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover .icon { transform: translateX(4px); }
.text-link .icon { transition: transform .25s; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; font: 600 16px/1.2 var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.btn--primary { background: var(--btn-bg); color: var(--btn-text); }
.btn--primary:hover { background: var(--sage); color: var(--olive); }
.btn--light { background: var(--white); color: var(--olive); }
.btn--light:hover { background: var(--sage); }
.btn--ghost { border-color: rgb(255 255 255 / .65); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--olive); }
.btn--outline { border-color: var(--text); color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--bg); }

/* ---------- Header / navbar ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header); color: var(--white); --focus: var(--white); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 600 18px/1 var(--font-head); letter-spacing: .14em; text-decoration: none; color: var(--white); white-space: nowrap; }
.brand .icon { width: 36px; height: 36px; stroke-width: 1.4; }
.nav-panel { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; align-items: center; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font: 500 15px/1.2 var(--font-body); color: var(--white); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-link::after { content: ""; position: absolute; inset-inline: 14px; bottom: 5px; height: 1px; background: var(--sage); transform: scaleX(0); transition: transform .25s; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link .icon { width: 14px; height: 14px; transition: transform .25s; }
.dropdown { position: relative; }
.dropdown.is-open > .nav-link .icon { transform: rotate(180deg); }
.dropdown-menu { position: absolute; inset-inline-start: 0; top: 100%; min-width: 190px; padding: 8px; background: var(--bg); color: var(--text); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.dropdown-menu a { display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; --focus: var(--olive); }
.dropdown-menu a:hover, .dropdown-menu a.is-active { background: var(--soft); }
@media (min-width: 961px) {
  .dropdown:hover > .dropdown-menu, .dropdown:focus-within > .dropdown-menu, .dropdown.is-open > .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; color: var(--white); border: 1px solid rgb(255 255 255 / .4); border-radius: 50%; cursor: pointer; transition: background-color .25s, color .25s; }
.icon-btn:hover { background: var(--white); color: var(--olive); }
.icon-sun { display: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .nav-panel { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 20px; padding: 12px 24px 28px; background: var(--header); max-height: calc(100svh - var(--header-h)); overflow-y: auto; border-top: 1px solid rgb(255 255 255 / .18); }
  .nav-panel.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid rgb(255 255 255 / .14); }
  .nav-link::after { display: none; }
  .dropdown-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; background: rgb(255 255 255 / .08); color: var(--white); border: 0; }
  .dropdown-menu a { --focus: var(--white); }
  .dropdown-menu a:hover, .dropdown-menu a.is-active { background: rgb(255 255 255 / .16); }
  .dropdown.is-open > .dropdown-menu { display: block; }
  .nav-actions { flex-wrap: wrap; }
  .nav-actions .btn { flex: 1 1 100%; order: 3; }
}

/* ---------- Frame component (used everywhere) ---------- */
.frame { --f-color: var(--olive); --f-w: 14px; --mat: 9%; position: relative; margin: 0; padding: var(--f-w); background: var(--f-color); box-shadow: 0 22px 30px -22px rgb(0 0 0 / .5); }
.frame__mat { background: var(--white); padding: var(--mat); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14); }
.frame__art { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.frame__art--sq { aspect-ratio: 1; }
.frame__art--wide { aspect-ratio: 5 / 4; }
.frame--classic { --f-w: clamp(14px, 2vw, 24px); --mat: 12%; box-shadow: inset 0 0 0 3px var(--sage), 0 22px 30px -22px rgb(0 0 0 / .5); }
.frame--modern { --f-color: var(--black); --f-w: 5px; --mat: 10%; }
.frame--natural { --f-color: var(--sage); --f-w: clamp(12px, 1.6vw, 18px); --mat: 7%; box-shadow: inset 0 0 0 1px var(--olive), 0 22px 30px -22px rgb(0 0 0 / .5); }
.frame--white { --f-color: var(--white); --f-w: 8px; --mat: 8%; outline: 1px solid var(--line); }
.img-missing { display: grid; place-items: center; background: var(--sage); color: var(--olive); text-align: center; padding: 16px; font-size: 13px; }
figcaption, .caption { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- 1. Hero ---------- */
.hero { position: relative; background: var(--deep); color: var(--white); --focus: var(--white); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgb(255 255 255 / .18); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; min-height: calc(100svh - var(--header-h)); padding-block: clamp(48px, 7vw, 96px); }
.hero__copy p { color: rgb(255 255 255 / .86); margin-top: 18px; max-width: 46ch; }
.hero__stage { position: relative; padding-bottom: 14%; }
.hero__main { width: 78%; margin-inline-start: auto; animation: frame-in 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.hero__small { position: absolute; bottom: 0; inset-inline-start: 2%; width: 36%; animation: frame-in 1.2s .45s cubic-bezier(.2, .7, .2, 1) both; }
.plaque { position: absolute; inset-inline-end: 0; bottom: 5%; margin: 0; max-width: 190px; padding: 12px 14px; background: var(--white); color: var(--olive); font-size: 12px; line-height: 1.5; animation: fade-in .8s 1.1s both; }
@keyframes frame-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 2. Framing styles ---------- */
.styles { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.wall { display: grid; grid-template-columns: 1.15fr .8fr 1fr; gap: clamp(16px, 3vw, 40px); align-items: end; background: var(--soft); padding: clamp(24px, 5vw, 64px); }
.wall figure:nth-child(2) { margin-bottom: 14%; }
.wall h3 { margin-top: 14px; font-size: 17px; }
.wall figcaption { margin-top: 4px; }

/* ---------- 3. Craftsmanship ---------- */
.craft { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.craft__media { position: relative; padding-bottom: 14%; }
.craft__media .frame:first-child { width: 82%; }
.craft__detail { position: absolute; bottom: 0; inset-inline-end: 0; width: 42%; }
.rule-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.rule-list li:last-child { border-bottom: 1px solid var(--line); }
.rule-list strong { display: block; font: 600 17px var(--font-head); margin-bottom: 2px; }
.rule-list span { color: var(--muted); }
.craft h2 { margin-bottom: 14px; }
.craft p { color: var(--muted); }

/* ---------- 4. Services ---------- */
.svc { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.svc__intro h2 { margin-bottom: 14px; }
.svc__intro p { color: var(--muted); }
.svc-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding-inline-start .3s, background-color .3s; }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row:hover { padding-inline-start: 16px; background: color-mix(in srgb, var(--bg) 60%, transparent); }
.svc-row p { grid-column: 1; margin: 0; color: var(--muted); }
.svc-row .icon { grid-column: 2; grid-row: 1 / span 2; }

/* ---------- 5. Preservation ---------- */
.pres { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.layers { display: grid; gap: 10px; }
.layer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border: 1px solid rgb(255 255 255 / .4); font-weight: 500; }
.layer small { font-size: 12px; opacity: .8; text-align: end; }
.layer--glaze { background: rgb(255 255 255 / .1); }
.layer--mat { background: var(--white); color: var(--olive); margin-inline: 18px; }
.layer--art { background: var(--sage); color: var(--olive); margin-inline: 36px; padding-block: 34px; }
.layer--mount { margin-inline: 18px; border-style: dashed; }
.layer--back { background: rgb(255 255 255 / .22); }
.pres h2 { margin-bottom: 14px; }
.pres__list { margin-block: 24px; }
.pres__list li { padding: 16px 0; border-top: 1px solid var(--line); }
.pres__list li:last-child { border-bottom: 1px solid var(--line); }
.pres__list strong { display: block; font: 600 17px var(--font-head); }

/* ---------- 6. Featured gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.g1 { grid-column: span 5; } .g2 { grid-column: span 3; padding-top: 90px; } .g3 { grid-column: span 4; padding-top: 30px; }
.g4 { grid-column: span 3; } .g5 { grid-column: span 5; padding-top: 50px; } .g6 { grid-column: span 4; padding-top: 110px; }
.gal__foot { margin-top: clamp(32px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.gal__foot p { margin: 0; color: var(--muted); }

/* ---------- 7. Materials builder ---------- */
.mats { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.corner { position: relative; max-width: 460px; width: 100%; aspect-ratio: 1; padding: clamp(18px, 5vw, 38px); box-shadow: 0 22px 30px -22px rgb(0 0 0 / .5); transition: background .3s; }
.corner__mat { position: relative; height: 100%; padding: 15%; transition: background .3s; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18); }
.corner__mat img, .corner__mat .img-missing { width: 100%; height: 100%; object-fit: cover; }
.corner__glaze { position: absolute; inset: 0; pointer-events: none; transition: background .3s; }
.corner[data-glaze="clear"] .corner__glaze { background: linear-gradient(115deg, rgb(255 255 255 / .38) 0 18%, transparent 18% 100%); }
.corner[data-glaze="uv"] .corner__glaze { background: linear-gradient(115deg, rgb(255 255 255 / .3) 0 18%, transparent 18% 100%), rgb(167 177 154 / .16); }
.corner[data-glaze="matte"] .corner__glaze { background: rgb(255 255 255 / .14); }
.tone-olive { background: var(--olive); } .tone-black { background: var(--black); } .tone-sage { background: var(--sage); } .tone-white { background: var(--white); }
.tone-grain-light { background: repeating-linear-gradient(94deg, var(--sage) 0 3px, color-mix(in srgb, var(--sage) 70%, var(--white)) 3px 9px); }
.tone-grain-dark { background: repeating-linear-gradient(94deg, var(--olive) 0 3px, color-mix(in srgb, var(--olive) 65%, var(--black)) 3px 9px); }
.picker { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.picker legend { font: 600 17px var(--font-head); padding: 0; margin-bottom: 12px; }
.picker__row { display: flex; flex-wrap: wrap; gap: 14px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt__sw { display: block; width: 52px; height: 52px; border: 1px solid var(--line); }
.opt__name { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); max-width: 70px; line-height: 1.35; }
.opt input:checked + .opt__sw { outline: 2px solid var(--text); outline-offset: 3px; }
.opt input:focus-visible + .opt__sw { outline: 3px solid var(--focus); outline-offset: 3px; }
.opt--glaze .opt__sw { width: 84px; background: linear-gradient(115deg, rgb(255 255 255 / .8) 0 20%, var(--soft) 20% 100%); }
.opt--glaze .opt__name { max-width: 90px; }
.mats__note { font-size: 13px; color: var(--muted); }
.mats h2 { margin-bottom: 14px; }

/* ---------- 8. How it works ---------- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.journey li { position: relative; padding-top: 52px; }
.journey li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; inset-inline-start: 0; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--text); background: var(--bg); font: 600 16px var(--font-head); z-index: 1; }
.journey li::after { content: ""; position: absolute; top: 19px; inset-inline-start: 38px; inset-inline-end: -32px; height: 1px; background: var(--line); }
.journey li:last-child::after { display: none; }
.journey h3 { margin-bottom: 8px; }
.journey p { color: var(--muted); margin: 0; }

/* ---------- 9. Inspiration ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px 28px; border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 48px); }
.tab { position: relative; padding: 12px 0; font: 500 15px var(--font-body); color: var(--muted); background: none; border: 0; cursor: pointer; }
.tab::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--text); transform: scaleX(0); transition: transform .25s; }
.tab[aria-selected="true"] { color: var(--text); font-weight: 600; }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.panel { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.panel[hidden] { display: none; }
.panel h3 { margin-bottom: 10px; }
.panel p { color: var(--muted); }
.comp { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 2vw, 24px); align-items: end; background: var(--soft); padding: clamp(20px, 4vw, 48px); }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .col-2-6 { grid-column: 2 / 6; }

/* ---------- 10. Why choose us ---------- */
.why { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; }
.why__item { padding: 30px 28px 30px 0; border-top: 1px solid var(--line); }
.why__item:nth-child(even) { padding-inline: 28px 0; border-inline-start: 1px solid var(--line); }
.why__item h3 { margin-bottom: 8px; }
.why__item p { margin: 0; color: var(--muted); }
.why h2 { margin-bottom: 32px; }

/* ---------- 11. Customer stories ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.story { margin: 0; padding: 30px; border: 1px solid var(--line); background: var(--bg); }
.story:nth-child(2) { margin-top: 48px; }
.story:nth-child(3) { margin-top: 96px; }
.story .tag { display: inline-block; margin: 0 0 18px; padding: 3px 10px; font-size: 12px; font-weight: 600; background: var(--sage); color: var(--olive); }
.story blockquote { margin: 0; font: 400 18px/1.6 var(--font-head); }
.story figcaption { margin-top: 18px; }

/* ---------- 12. Final CTA ---------- */
.cta__box { position: relative; padding: clamp(36px, 7vw, 96px); border: 1px solid rgb(255 255 255 / .35); }
.cta__box::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgb(255 255 255 / .2); pointer-events: none; }
.cta__box > * { position: relative; }
.cta__box p { color: rgb(255 255 255 / .86); margin-top: 14px; max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--header); color: var(--white); --focus: var(--white); --line: rgb(255 255 255 / .22); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 80px); }
.footer__top > * { min-width: 0; }
.footer__cta h2 { margin-bottom: 14px; }
.footer__cta p { color: rgb(255 255 255 / .86); }

/* Hanging pictures: wire, nail, swing on reveal, swing on hover */
.footer__hang { display: grid; grid-template-columns: 1.15fr .9fr 1.05fr .9fr; gap: clamp(12px, 2.2vw, 30px); align-items: start; }
.hang-slot { --wire: 34px; position: relative; padding-top: var(--wire); transform-origin: 50% 0; }
.hang-slot--1 { --wire: 26px; } .hang-slot--2 { --wire: 64px; } .hang-slot--3 { --wire: 40px; } .hang-slot--4 { --wire: 78px; }
.hang-slot::before { content: ""; position: absolute; top: 0; inset-inline-start: 27%; width: 46%; height: var(--wire);
  background:
    linear-gradient(to top left, transparent calc(50% - .6px), rgb(255 255 255 / .6) calc(50% - .6px) calc(50% + .6px), transparent calc(50% + .6px)) left / 50% 100% no-repeat,
    linear-gradient(to top right, transparent calc(50% - .6px), rgb(255 255 255 / .6) calc(50% - .6px) calc(50% + .6px), transparent calc(50% + .6px)) right / 50% 100% no-repeat; }
.hang-slot::after { content: ""; position: absolute; top: -3px; inset-inline-start: calc(50% - 3.5px); width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.hang { transform-origin: 50% calc(var(--wire) * -1); transition: filter .3s; }
.hang:hover { animation: swing-hover 1.1s ease-out; }
.footer__hang.is-visible .hang-slot { animation: swing 2.4s ease-out both; }
.footer__hang.is-visible .hang-slot--2 { animation-delay: .15s; }
.footer__hang.is-visible .hang-slot--3 { animation-delay: .3s; }
.footer__hang.is-visible .hang-slot--4 { animation-delay: .45s; }
@keyframes swing { 0% { transform: rotate(-7deg); } 20% { transform: rotate(4.5deg); } 40% { transform: rotate(-2.6deg); } 60% { transform: rotate(1.4deg); } 80% { transform: rotate(-.6deg); } 100% { transform: rotate(0); } }
@keyframes swing-hover { 0% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 55% { transform: rotate(2.4deg); } 80% { transform: rotate(-1deg); } 100% { transform: rotate(0); } }

/* Services ticker */
.marquee { overflow: hidden; padding-block: 20px; border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: 34px; padding-inline-end: 34px; }
.marquee__set span { font: 600 clamp(18px, 2.6vw, 26px)/1.2 var(--font-head); white-space: nowrap; }
.marquee__set .icon { width: 24px; height: 24px; stroke: var(--sage); stroke-width: 1.3; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* Link columns */
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(48px, 6vw, 80px); }
.footer__grid > * { min-width: 0; }
.footer__grid h3 { font-size: 16px; margin-bottom: 16px; }
.footer__tag { margin-top: 16px; color: rgb(255 255 255 / .8); max-width: 32ch; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { text-decoration: none; opacity: .86; padding-bottom: 2px; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .3s, opacity .3s; }
.footer__links a:hover, .footer__links a:focus-visible { opacity: 1; background-size: 100% 1px; }
.footer__info li { opacity: .86; }

/* Wordmark */
.footer__word { margin: 0; max-width: none; text-align: center; font: 600 clamp(26px, 8.4vw, 136px)/1.05 var(--font-head); letter-spacing: .06em; white-space: nowrap; user-select: none;
  color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .42);
  background: linear-gradient(var(--sage), var(--sage)) left / 0 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
.footer__word.is-visible { background-size: 100% 100%; }
.js .footer__word.reveal { transition: opacity .7s ease, transform .7s ease, background-size 2.2s ease .25s; }

.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding-block: 22px 28px; border-top: 1px solid var(--line); font-size: 13px; }
.footer__bottom .text-link { font-size: 13px; }
.to-top { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; display: grid; place-items: center; background: var(--olive); color: var(--white); border: 1px solid rgb(255 255 255 / .5); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; --focus: var(--white); }
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Reveal (only when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
.hero__grid > *, .styles > *, .craft > *, .svc > *, .pres > *, .mats > *, .panel > *, .why > *, .wall > *, .comp > * { min-width: 0; }
@media (max-width: 1024px) {
  .journey { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .journey li:nth-child(2)::after { display: none; }
  .stories { grid-template-columns: 1fr 1fr; }
  .story:nth-child(3) { margin-top: 0; }
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__hang { max-width: 560px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .hero__grid, .styles, .craft, .svc, .pres, .mats, .panel, .why { grid-template-columns: 1fr; }
  .hero__grid { min-height: 0; }
  .hero__stage { max-width: 520px; width: 100%; margin-inline: auto; }
  .svc__intro { position: static; }
  .craft__media { max-width: 560px; }
  .gal { grid-template-columns: repeat(6, 1fr); }
  .g1, .g2, .g3, .g4, .g5, .g6 { grid-column: span 3; padding-top: 0; }
  .g2, .g5 { padding-top: 48px; }
  .why__aside { max-width: 320px; }
  }
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__hang { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .footer__bottom { justify-content: center; text-align: center; }
  .container { width: min(1200px, 100% - 32px); }
  .hero::before { display: none; }
  .wall { grid-template-columns: 1fr 1fr; }
  .wall figure:first-child { grid-column: 1 / -1; }
  .wall figure:nth-child(2) { margin-bottom: 0; }
  .gal { grid-template-columns: 1fr 1fr; gap: 16px; }
  .g1, .g2, .g3, .g4, .g5, .g6 { grid-column: span 1; }
  .g1, .g5 { grid-column: 1 / -1; }
  .g2, .g5 { padding-top: 0; }
  .journey { grid-template-columns: 1fr; gap: 28px; }
  .journey li { padding: 0 0 0 58px; }
  .journey li::after { top: 38px; bottom: -28px; height: auto; width: 1px; inset-inline-start: 19px; inset-inline-end: auto; }
  .journey li:nth-child(2)::after { display: block; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item, .why__item:nth-child(even) { padding-inline: 0; border-inline-start: 0; }
  .stories { grid-template-columns: 1fr; }
  .story:nth-child(n) { margin-top: 0; }
  .comp .span-2 { grid-column: span 3; }
  .brand { font-size: 16px; letter-spacing: .1em; }
  .plaque { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Small refinements ---------- */
.sec-head .text-link { margin-top: 20px; }
.mats p { color: var(--muted); }
@media (max-width: 640px) { .comp .span-4, .comp .col-2-6 { grid-column: 1 / -1; } }
/* MEMORA HOUSE — shared styles (layout, components, base) */
:root {
  --olive: #2E3A2F;
  --sage: #A7B19A;
  --black: #000000;
  --white: #FFFFFF;

  --bg: var(--white);
  --text: var(--black);
  --muted: color-mix(in srgb, var(--black) 68%, var(--white));
  --line: color-mix(in srgb, var(--black) 16%, transparent);
  --soft: color-mix(in srgb, var(--sage) 26%, var(--white));
  --deep: var(--olive);
  --header: var(--olive);
  --btn-bg: var(--olive);
  --btn-text: var(--white);
  --focus: var(--olive);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 15px/1.75 var(--font-body); background: var(--bg); color: var(--text); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.25; margin: 0; }
h1 { font-size: clamp(28px, 6vw, 36px); line-height: 1.2; }
h2 { font-size: clamp(22px, 3.4vw, 24px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; 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; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--olive); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Layout helpers ---------- */
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--soft { background: var(--soft); }
.section--deep { background: var(--deep); color: var(--white); --focus: var(--white); --line: rgb(255 255 255 / .28); --muted: rgb(255 255 255 / .82); }
.sec-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { color: var(--muted); margin: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover .icon { transform: translateX(4px); }
.text-link .icon { transition: transform .25s; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; font: 600 16px/1.2 var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.btn--primary { background: var(--btn-bg); color: var(--btn-text); }
.btn--primary:hover { background: var(--sage); color: var(--olive); }
.btn--light { background: var(--white); color: var(--olive); }
.btn--light:hover { background: var(--sage); }
.btn--ghost { border-color: rgb(255 255 255 / .65); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--olive); }
.btn--outline { border-color: var(--text); color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--bg); }

/* ---------- Header / navbar ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header); color: var(--white); --focus: var(--white); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 600 18px/1 var(--font-head); letter-spacing: .14em; text-decoration: none; color: var(--white); white-space: nowrap; }
.brand .icon { width: 36px; height: 36px; stroke-width: 1.4; }
.nav-panel { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; align-items: center; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font: 500 15px/1.2 var(--font-body); color: var(--white); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-link::after { content: ""; position: absolute; inset-inline: 14px; bottom: 5px; height: 1px; background: var(--sage); transform: scaleX(0); transition: transform .25s; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link .icon { width: 14px; height: 14px; transition: transform .25s; }
.dropdown { position: relative; }
.dropdown.is-open > .nav-link .icon { transform: rotate(180deg); }
.dropdown-menu { position: absolute; inset-inline-start: 0; top: 100%; min-width: 190px; padding: 8px; background: var(--bg); color: var(--text); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.dropdown-menu a { display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; --focus: var(--olive); }
.dropdown-menu a:hover, .dropdown-menu a.is-active { background: var(--soft); }
@media (min-width: 961px) {
  .dropdown:hover > .dropdown-menu, .dropdown:focus-within > .dropdown-menu, .dropdown.is-open > .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; color: var(--white); border: 1px solid rgb(255 255 255 / .4); border-radius: 50%; cursor: pointer; transition: background-color .25s, color .25s; }
.icon-btn:hover { background: var(--white); color: var(--olive); }
.icon-sun { display: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .nav-panel { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 20px; padding: 12px 24px 28px; background: var(--header); max-height: calc(100svh - var(--header-h)); overflow-y: auto; border-top: 1px solid rgb(255 255 255 / .18); }
  .nav-panel.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid rgb(255 255 255 / .14); }
  .nav-link::after { display: none; }
  .dropdown-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; background: rgb(255 255 255 / .08); color: var(--white); border: 0; }
  .dropdown-menu a { --focus: var(--white); }
  .dropdown-menu a:hover, .dropdown-menu a.is-active { background: rgb(255 255 255 / .16); }
  .dropdown.is-open > .dropdown-menu { display: block; }
  .nav-actions { flex-wrap: wrap; }
  .nav-actions .btn { flex: 1 1 100%; order: 3; }
}

/* ---------- Frame component (used everywhere) ---------- */
.frame { --f-color: var(--olive); --f-w: 14px; --mat: 9%; position: relative; margin: 0; padding: var(--f-w); background: var(--f-color); box-shadow: 0 22px 30px -22px rgb(0 0 0 / .5); }
.frame__mat { background: var(--white); padding: var(--mat); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .14); }
.frame__art { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.frame__art--sq { aspect-ratio: 1; }
.frame__art--wide { aspect-ratio: 5 / 4; }
.frame--classic { --f-w: clamp(14px, 2vw, 24px); --mat: 12%; box-shadow: inset 0 0 0 3px var(--sage), 0 22px 30px -22px rgb(0 0 0 / .5); }
.frame--modern { --f-color: var(--black); --f-w: 5px; --mat: 10%; }
.frame--natural { --f-color: var(--sage); --f-w: clamp(12px, 1.6vw, 18px); --mat: 7%; box-shadow: inset 0 0 0 1px var(--olive), 0 22px 30px -22px rgb(0 0 0 / .5); }
.frame--white { --f-color: var(--white); --f-w: 8px; --mat: 8%; outline: 1px solid var(--line); }
.img-missing { display: grid; place-items: center; background: var(--sage); color: var(--olive); text-align: center; padding: 16px; font-size: 13px; }
figcaption, .caption { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- 1. Hero ---------- */
.hero { position: relative; background: var(--deep); color: var(--white); --focus: var(--white); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgb(255 255 255 / .18); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; min-height: calc(100svh - var(--header-h)); padding-block: clamp(48px, 7vw, 96px); }
.hero__copy p { color: rgb(255 255 255 / .86); margin-top: 18px; max-width: 46ch; }
.hero__stage { position: relative; padding-bottom: 14%; }
.hero__main { width: 78%; margin-inline-start: auto; animation: frame-in 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.hero__small { position: absolute; bottom: 0; inset-inline-start: 2%; width: 36%; animation: frame-in 1.2s .45s cubic-bezier(.2, .7, .2, 1) both; }
.plaque { position: absolute; inset-inline-end: 0; bottom: 5%; margin: 0; max-width: 190px; padding: 12px 14px; background: var(--white); color: var(--olive); font-size: 12px; line-height: 1.5; animation: fade-in .8s 1.1s both; }
@keyframes frame-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 2. Framing styles ---------- */
.styles { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.wall { display: grid; grid-template-columns: 1.15fr .8fr 1fr; gap: clamp(16px, 3vw, 40px); align-items: end; background: var(--soft); padding: clamp(24px, 5vw, 64px); }
.wall figure:nth-child(2) { margin-bottom: 14%; }
.wall h3 { margin-top: 14px; font-size: 17px; }
.wall figcaption { margin-top: 4px; }

/* ---------- 3. Craftsmanship ---------- */
.craft { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.craft__media { position: relative; padding-bottom: 14%; }
.craft__media .frame:first-child { width: 82%; }
.craft__detail { position: absolute; bottom: 0; inset-inline-end: 0; width: 42%; }
.rule-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.rule-list li:last-child { border-bottom: 1px solid var(--line); }
.rule-list strong { display: block; font: 600 17px var(--font-head); margin-bottom: 2px; }
.rule-list span { color: var(--muted); }
.craft h2 { margin-bottom: 14px; }
.craft p { color: var(--muted); }

/* ---------- 4. Services ---------- */
.svc { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.svc__intro h2 { margin-bottom: 14px; }
.svc__intro p { color: var(--muted); }
.svc-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding-inline-start .3s, background-color .3s; }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row:hover { padding-inline-start: 16px; background: color-mix(in srgb, var(--bg) 60%, transparent); }
.svc-row p { grid-column: 1; margin: 0; color: var(--muted); }
.svc-row .icon { grid-column: 2; grid-row: 1 / span 2; }

/* ---------- 5. Preservation ---------- */
.pres { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.layers { display: grid; gap: 10px; }
.layer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border: 1px solid rgb(255 255 255 / .4); font-weight: 500; }
.layer small { font-size: 12px; opacity: .8; text-align: end; }
.layer--glaze { background: rgb(255 255 255 / .1); }
.layer--mat { background: var(--white); color: var(--olive); margin-inline: 18px; }
.layer--art { background: var(--sage); color: var(--olive); margin-inline: 36px; padding-block: 34px; }
.layer--mount { margin-inline: 18px; border-style: dashed; }
.layer--back { background: rgb(255 255 255 / .22); }
.pres h2 { margin-bottom: 14px; }
.pres__list { margin-block: 24px; }
.pres__list li { padding: 16px 0; border-top: 1px solid var(--line); }
.pres__list li:last-child { border-bottom: 1px solid var(--line); }
.pres__list strong { display: block; font: 600 17px var(--font-head); }

/* ---------- 6. Featured gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.g1 { grid-column: span 5; } .g2 { grid-column: span 3; padding-top: 90px; } .g3 { grid-column: span 4; padding-top: 30px; }
.g4 { grid-column: span 3; } .g5 { grid-column: span 5; padding-top: 50px; } .g6 { grid-column: span 4; padding-top: 110px; }
.gal__foot { margin-top: clamp(32px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.gal__foot p { margin: 0; color: var(--muted); }

/* ---------- 7. Materials builder ---------- */
.mats { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.corner { position: relative; max-width: 460px; width: 100%; aspect-ratio: 1; padding: clamp(18px, 5vw, 38px); box-shadow: 0 22px 30px -22px rgb(0 0 0 / .5); transition: background .3s; }
.corner__mat { position: relative; height: 100%; padding: 15%; transition: background .3s; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18); }
.corner__mat img, .corner__mat .img-missing { width: 100%; height: 100%; object-fit: cover; }
.corner__glaze { position: absolute; inset: 0; pointer-events: none; transition: background .3s; }
.corner[data-glaze="clear"] .corner__glaze { background: linear-gradient(115deg, rgb(255 255 255 / .38) 0 18%, transparent 18% 100%); }
.corner[data-glaze="uv"] .corner__glaze { background: linear-gradient(115deg, rgb(255 255 255 / .3) 0 18%, transparent 18% 100%), rgb(167 177 154 / .16); }
.corner[data-glaze="matte"] .corner__glaze { background: rgb(255 255 255 / .14); }
.tone-olive { background: var(--olive); } .tone-black { background: var(--black); } .tone-sage { background: var(--sage); } .tone-white { background: var(--white); }
.tone-grain-light { background: repeating-linear-gradient(94deg, var(--sage) 0 3px, color-mix(in srgb, var(--sage) 70%, var(--white)) 3px 9px); }
.tone-grain-dark { background: repeating-linear-gradient(94deg, var(--olive) 0 3px, color-mix(in srgb, var(--olive) 65%, var(--black)) 3px 9px); }
.picker { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.picker legend { font: 600 17px var(--font-head); padding: 0; margin-bottom: 12px; }
.picker__row { display: flex; flex-wrap: wrap; gap: 14px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt__sw { display: block; width: 52px; height: 52px; border: 1px solid var(--line); }
.opt__name { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); max-width: 70px; line-height: 1.35; }
.opt input:checked + .opt__sw { outline: 2px solid var(--text); outline-offset: 3px; }
.opt input:focus-visible + .opt__sw { outline: 3px solid var(--focus); outline-offset: 3px; }
.opt--glaze .opt__sw { width: 84px; background: linear-gradient(115deg, rgb(255 255 255 / .8) 0 20%, var(--soft) 20% 100%); }
.opt--glaze .opt__name { max-width: 90px; }
.mats__note { font-size: 13px; color: var(--muted); }
.mats h2 { margin-bottom: 14px; }

/* ---------- 8. How it works ---------- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.journey li { position: relative; padding-top: 52px; }
.journey li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; inset-inline-start: 0; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--text); background: var(--bg); font: 600 16px var(--font-head); z-index: 1; }
.journey li::after { content: ""; position: absolute; top: 19px; inset-inline-start: 38px; inset-inline-end: -32px; height: 1px; background: var(--line); }
.journey li:last-child::after { display: none; }
.journey h3 { margin-bottom: 8px; }
.journey p { color: var(--muted); margin: 0; }

/* ---------- 9. Inspiration ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px 28px; border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 48px); }
.tab { position: relative; padding: 12px 0; font: 500 15px var(--font-body); color: var(--muted); background: none; border: 0; cursor: pointer; }
.tab::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--text); transform: scaleX(0); transition: transform .25s; }
.tab[aria-selected="true"] { color: var(--text); font-weight: 600; }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.panel { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.panel[hidden] { display: none; }
.panel h3 { margin-bottom: 10px; }
.panel p { color: var(--muted); }
.comp { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 2vw, 24px); align-items: end; background: var(--soft); padding: clamp(20px, 4vw, 48px); }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .col-2-6 { grid-column: 2 / 6; }

/* ---------- 10. Why choose us ---------- */
.why { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; }
.why__item { padding: 30px 28px 30px 0; border-top: 1px solid var(--line); }
.why__item:nth-child(even) { padding-inline: 28px 0; border-inline-start: 1px solid var(--line); }
.why__item h3 { margin-bottom: 8px; }
.why__item p { margin: 0; color: var(--muted); }
.why h2 { margin-bottom: 32px; }

/* ---------- 11. Customer stories ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.story { margin: 0; padding: 30px; border: 1px solid var(--line); background: var(--bg); }
.story:nth-child(2) { margin-top: 48px; }
.story:nth-child(3) { margin-top: 96px; }
.story .tag { display: inline-block; margin: 0 0 18px; padding: 3px 10px; font-size: 12px; font-weight: 600; background: var(--sage); color: var(--olive); }
.story blockquote { margin: 0; font: 400 18px/1.6 var(--font-head); }
.story figcaption { margin-top: 18px; }

/* ---------- 12. Final CTA ---------- */
.cta__box { position: relative; padding: clamp(36px, 7vw, 96px); border: 1px solid rgb(255 255 255 / .35); }
.cta__box::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgb(255 255 255 / .2); pointer-events: none; }
.cta__box > * { position: relative; }
.cta__box p { color: rgb(255 255 255 / .86); margin-top: 14px; max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--header); color: var(--white); --focus: var(--white); --line: rgb(255 255 255 / .22); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 80px); }
.footer__top > * { min-width: 0; }
.footer__cta h2 { margin-bottom: 14px; }
.footer__cta p { color: rgb(255 255 255 / .86); }

/* Hanging pictures: wire, nail, swing on reveal, swing on hover */
.footer__hang { display: grid; grid-template-columns: 1.15fr .9fr 1.05fr .9fr; gap: clamp(12px, 2.2vw, 30px); align-items: start; }
.hang-slot { --wire: 34px; position: relative; padding-top: var(--wire); transform-origin: 50% 0; }
.hang-slot--1 { --wire: 26px; } .hang-slot--2 { --wire: 64px; } .hang-slot--3 { --wire: 40px; } .hang-slot--4 { --wire: 78px; }
.hang-slot::before { content: ""; position: absolute; top: 0; inset-inline-start: 27%; width: 46%; height: var(--wire);
  background:
    linear-gradient(to top left, transparent calc(50% - .6px), rgb(255 255 255 / .6) calc(50% - .6px) calc(50% + .6px), transparent calc(50% + .6px)) left / 50% 100% no-repeat,
    linear-gradient(to top right, transparent calc(50% - .6px), rgb(255 255 255 / .6) calc(50% - .6px) calc(50% + .6px), transparent calc(50% + .6px)) right / 50% 100% no-repeat; }
.hang-slot::after { content: ""; position: absolute; top: -3px; inset-inline-start: calc(50% - 3.5px); width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.hang { transform-origin: 50% calc(var(--wire) * -1); transition: filter .3s; }
.hang:hover { animation: swing-hover 1.1s ease-out; }
.footer__hang.is-visible .hang-slot { animation: swing 2.4s ease-out both; }
.footer__hang.is-visible .hang-slot--2 { animation-delay: .15s; }
.footer__hang.is-visible .hang-slot--3 { animation-delay: .3s; }
.footer__hang.is-visible .hang-slot--4 { animation-delay: .45s; }
@keyframes swing { 0% { transform: rotate(-7deg); } 20% { transform: rotate(4.5deg); } 40% { transform: rotate(-2.6deg); } 60% { transform: rotate(1.4deg); } 80% { transform: rotate(-.6deg); } 100% { transform: rotate(0); } }
@keyframes swing-hover { 0% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 55% { transform: rotate(2.4deg); } 80% { transform: rotate(-1deg); } 100% { transform: rotate(0); } }

/* Services ticker */
.marquee { overflow: hidden; padding-block: 20px; border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: 34px; padding-inline-end: 34px; }
.marquee__set span { font: 600 clamp(18px, 2.6vw, 26px)/1.2 var(--font-head); white-space: nowrap; }
.marquee__set .icon { width: 24px; height: 24px; stroke: var(--sage); stroke-width: 1.3; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* Link columns */
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(48px, 6vw, 80px); }
.footer__grid > * { min-width: 0; }
.footer__grid h3 { font-size: 16px; margin-bottom: 16px; }
.footer__tag { margin-top: 16px; color: rgb(255 255 255 / .8); max-width: 32ch; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { text-decoration: none; opacity: .86; padding-bottom: 2px; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .3s, opacity .3s; }
.footer__links a:hover, .footer__links a:focus-visible { opacity: 1; background-size: 100% 1px; }
.footer__info li { opacity: .86; }

/* Wordmark */
.footer__word { margin: 0; max-width: none; text-align: center; font: 600 clamp(26px, 8.4vw, 136px)/1.05 var(--font-head); letter-spacing: .06em; white-space: nowrap; user-select: none;
  color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .42);
  background: linear-gradient(var(--sage), var(--sage)) left / 0 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
.footer__word.is-visible { background-size: 100% 100%; }
.js .footer__word.reveal { transition: opacity .7s ease, transform .7s ease, background-size 2.2s ease .25s; }

.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding-block: 22px 28px; border-top: 1px solid var(--line); font-size: 13px; }
.footer__bottom .text-link { font-size: 13px; }
.to-top { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; display: grid; place-items: center; background: var(--olive); color: var(--white); border: 1px solid rgb(255 255 255 / .5); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; --focus: var(--white); }
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Reveal (only when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
.hero__grid > *, .styles > *, .craft > *, .svc > *, .pres > *, .mats > *, .panel > *, .why > *, .wall > *, .comp > * { min-width: 0; }
@media (max-width: 1024px) {
  .journey { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .journey li:nth-child(2)::after { display: none; }
  .stories { grid-template-columns: 1fr 1fr; }
  .story:nth-child(3) { margin-top: 0; }
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__hang { max-width: 560px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .hero__grid, .styles, .craft, .svc, .pres, .mats, .panel, .why { grid-template-columns: 1fr; }
  .hero__grid { min-height: 0; }
  .hero__stage { max-width: 520px; width: 100%; margin-inline: auto; }
  .svc__intro { position: static; }
  .craft__media { max-width: 560px; }
  .gal { grid-template-columns: repeat(6, 1fr); }
  .g1, .g2, .g3, .g4, .g5, .g6 { grid-column: span 3; padding-top: 0; }
  .g2, .g5 { padding-top: 48px; }
  .why__aside { max-width: 320px; }
  }
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__hang { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .footer__bottom { justify-content: center; text-align: center; }
  .container { width: min(1200px, 100% - 32px); }
  .hero::before { display: none; }
  .wall { grid-template-columns: 1fr 1fr; }
  .wall figure:first-child { grid-column: 1 / -1; }
  .wall figure:nth-child(2) { margin-bottom: 0; }
  .gal { grid-template-columns: 1fr 1fr; gap: 16px; }
  .g1, .g2, .g3, .g4, .g5, .g6 { grid-column: span 1; }
  .g1, .g5 { grid-column: 1 / -1; }
  .g2, .g5 { padding-top: 0; }
  .journey { grid-template-columns: 1fr; gap: 28px; }
  .journey li { padding: 0 0 0 58px; }
  .journey li::after { top: 38px; bottom: -28px; height: auto; width: 1px; inset-inline-start: 19px; inset-inline-end: auto; }
  .journey li:nth-child(2)::after { display: block; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item, .why__item:nth-child(even) { padding-inline: 0; border-inline-start: 0; }
  .stories { grid-template-columns: 1fr; }
  .story:nth-child(n) { margin-top: 0; }
  .comp .span-2 { grid-column: span 3; }
  .brand { font-size: 16px; letter-spacing: .1em; }
  .plaque { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Small refinements ---------- */
.sec-head .text-link { margin-top: 20px; }
.mats p { color: var(--muted); }
@media (max-width: 640px) { .comp .span-4, .comp .col-2-6 { grid-column: 1 / -1; } }


/* =====================================================================
   HOME TWO (home-two.html) — normal photography layouts
   ===================================================================== */
.photo { display: block; width: 100%; height: auto; object-fit: cover; background: var(--sage); }
.photo--fill { position: absolute; inset: 0; height: 100%; }
.r-45 { aspect-ratio: 4 / 5; } .r-34 { aspect-ratio: 3 / 4; } .r-32 { aspect-ratio: 3 / 2; }
.r-43 { aspect-ratio: 4 / 3; } .r-11 { aspect-ratio: 1; } .r-169 { aspect-ratio: 16 / 9; }
.img-missing small { display: block; margin-top: 8px; font-size: 11px; opacity: .8; word-break: break-all; }
.zoom { overflow: hidden; }
.zoom .photo { transition: transform .9s ease; }
.zoom:hover .photo { transform: scale(1.05); }
.t2 > * { min-width: 0; }

/* 1. Split hero */
.t2-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--header-h)); background: var(--soft); }
.t2-hero__copy { align-self: center; padding-block: clamp(48px, 7vw, 96px); padding-inline: max(24px, calc((100vw - 1200px) / 2)) clamp(24px, 5vw, 72px); }
.t2-hero__copy p { color: var(--muted); margin-top: 18px; max-width: 46ch; }
.t2-hero__media { position: relative; min-height: 440px; overflow: hidden; background: var(--sage); animation: curtain 1.3s cubic-bezier(.2, .7, .2, 1) both; }
.t2-hero__media::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgb(255 255 255 / .75); pointer-events: none; z-index: 1; }
@keyframes curtain { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }

/* 2. Studio at a glance */
.t2-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 64px); }
.t2-head h2 { margin-bottom: 14px; }
.t2-head p { color: var(--muted); margin: 0; }
.t2-head--center { text-align: center; margin-inline: auto; }
.t2-head--center p { margin-inline: auto; }
.t2-studio__grid { display: grid; grid-template-columns: 1fr minmax(260px, 420px) 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.t2-studio__grid > * { min-width: 0; }
.t2-studio__fig { position: relative; margin-bottom: 28px; }
.t2-studio__round { position: absolute; bottom: -28px; inset-inline-start: -48px; width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--bg); background: var(--sage); }
.hl li { padding: 20px 0; border-top: 1px solid var(--line); }
.hl li:last-child { border-bottom: 1px solid var(--line); }
.hl strong { display: block; font: 600 17px var(--font-head); }
.hl span { color: var(--muted); }
.hl--end { text-align: end; }

/* 3. Frame styles */
.t2-styles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding: 10px; }
.t2-styles__grid > * { min-width: 0; }
.t2-style:nth-child(2) { margin-top: 64px; } .t2-style:nth-child(3) { margin-top: 24px; }
.t2-style h3 { margin: 26px 0 6px; }
.t2-style p { margin: 0; color: var(--muted); }
.t2-style--contemporary .photo { outline: 1px solid rgb(255 255 255 / .85); outline-offset: 10px; }
.t2-style--classic .photo { border-radius: 999px 999px 0 0; }
.t2-style--natural .photo { box-shadow: 18px 18px 0 var(--sage); }

/* 4. Made for what matters: expanding panels */
.expand-list { display: flex; gap: 12px; height: clamp(420px, 62vh, 560px); }
.expand { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--olive); transition: flex-grow .7s cubic-bezier(.2, .7, .2, 1); }
.expand.is-active { flex-grow: 3.4; }
.expand::after { content: ""; position: absolute; inset: 0; background: rgb(46 58 47 / .5); transition: opacity .5s; pointer-events: none; z-index: 1; }
.expand.is-active::after { opacity: .12; }
.expand__btn { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 22px; background: none; border: 0; color: var(--white); text-align: start; cursor: pointer; --focus: var(--white); }
.expand__title { font: 600 19px/1.25 var(--font-head); text-shadow: 0 1px 12px rgb(0 0 0 / .5); }
.expand__text { max-height: 0; opacity: 0; overflow: hidden; font: 400 15px/1.6 var(--font-body); text-shadow: 0 1px 10px rgb(0 0 0 / .6); transition: max-height .5s ease, opacity .5s ease; }
.expand.is-active .expand__text { max-height: 160px; opacity: 1; }

/* 5. Preservation */
.t2-pres__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-bottom: 40px; }
.t2-pres__grid > * { min-width: 0; }
.t2-pres__item:nth-child(2) { margin-top: 48px; } .t2-pres__item:nth-child(3) { margin-top: 96px; }
.t2-pres__item h3 { margin: 20px 0 8px; }
.t2-pres__item p { margin: 0; color: var(--muted); }

/* 6. Details mosaic */
.t2-details__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 3vw, 40px); align-items: start; }
.d1 { grid-column: span 5; } .d2 { grid-column: span 4; margin-top: 64px; } .d3 { grid-column: span 3; margin-top: 24px; } .d4 { grid-column: 6 / span 7; }

/* 7. Selected works */
.t2-works { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 3vw, 40px); align-items: start; }
.work { display: block; text-decoration: none; }
.wk1 { grid-column: 1 / span 5; grid-row: 1 / span 2; } .wk2 { grid-column: 6 / span 4; } .wk3 { grid-column: 10 / span 3; margin-top: 56px; }
.wk4 { grid-column: 6 / span 3; } .wk5 { grid-column: 9 / span 4; }
.t2-foot { margin-top: clamp(32px, 5vw, 56px); display: flex; justify-content: flex-end; }

/* 8. Materials */
.t2-mat { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.t2-mat > * { min-width: 0; }
.t2-mat h3 { margin-bottom: 10px; }
.t2-mat p { color: var(--muted); }
.opt-list { margin-top: 18px; }
.opt-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.opt-list li:last-child { border-bottom: 1px solid var(--line); }
.note { margin-top: 28px; font-size: 13px; color: var(--muted); }

/* 9. Art in your space */
.t2-space__row { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: center; margin-bottom: clamp(48px, 7vw, 96px); }
.t2-space__row:last-child { margin-bottom: 0; }
.t2-space__row > * { min-width: 0; }
.t2-space__row:nth-child(even) { grid-template-columns: 5fr 7fr; }
.t2-space__row:nth-child(even) .t2-space__media { order: 2; }
.t2-space__row h3 { margin-bottom: 10px; }
.t2-space__row p { color: var(--muted); margin: 0; }

/* 10. Timeline */
.tl { position: relative; max-width: 920px; margin-inline: auto; counter-reset: tl; }
.tl::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 50%; width: 1px; background: var(--line); }
.tl li { position: relative; width: 50%; padding-inline-end: 56px; padding-bottom: 56px; text-align: end; }
.tl li:last-child { padding-bottom: 0; }
.tl li:nth-child(even) { margin-inline-start: 50%; padding-inline: 56px 0; text-align: start; }
.tl li::before { counter-increment: tl; content: counter(tl); position: absolute; top: 0; inset-inline-end: -19px; width: 38px; height: 38px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--text); font: 600 16px var(--font-head); z-index: 1; }
.tl li:nth-child(even)::before { inset-inline-end: auto; inset-inline-start: -19px; }
.tl h3 { margin: 4px 0 8px; }
.tl p { margin: 0; color: var(--muted); }
.tl li:nth-child(odd) p { margin-inline-start: auto; }

/* 11. Before & after */
.t2-ba { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.t2-ba__item:nth-child(2) { margin-top: 56px; }
.t2-ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.t2-ba__pair figure { position: relative; }
.t2-ba__tag { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 1; padding: 3px 10px; background: var(--white); color: var(--olive); font: 600 12px var(--font-body); }

/* 12. Visit */
.t2-visit { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.t2-visit > * { min-width: 0; }
.t2-visit h2 { margin-bottom: 14px; }
.t2-visit p { color: var(--muted); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; margin: 24px 0; padding-block: 20px; border-block: 1px solid var(--line); }
.hours dt { font-weight: 600; } .hours dd { margin: 0; color: var(--muted); }
.contact-list li { margin-bottom: 6px; color: var(--muted); }
.t2-visit__panel { position: relative; }
.panel-card { position: absolute; inset-inline-start: -24px; bottom: -24px; max-width: 270px; padding: 20px 24px; background: var(--olive); color: var(--white); font-size: 14px; }
.panel-card strong { display: block; font: 600 17px var(--font-head); margin-bottom: 4px; }
.panel-card p { margin: 0; color: rgb(255 255 255 / .85); }

/* Footer variant without call-to-action buttons */
.footer__top--quiet .footer__cta p { margin: 0; }

@media (max-width: 900px) {
  .t2-hero, .t2-studio__grid, .t2-mat, .t2-visit, .t2-space__row, .t2-space__row:nth-child(even) { grid-template-columns: 1fr; }
  .t2-hero__media { min-height: 0; aspect-ratio: 4 / 5; max-height: 640px; }
  .t2-hero__copy { padding-inline: 24px; }
  .t2-studio__grid .t2-studio__fig { order: -1; max-width: 420px; margin-inline: auto; }
  .hl--end { text-align: start; }
  .t2-styles__grid { grid-template-columns: 1fr 1fr; }
  .t2-style:nth-child(n) { margin-top: 0; } .t2-style:nth-child(3) { grid-column: 1 / -1; max-width: 420px; }
  .t2-pres__grid { grid-template-columns: 1fr; max-width: 520px; }
  .t2-pres__item:nth-child(n) { margin-top: 0; }
  .t2-space__row:nth-child(even) .t2-space__media { order: 0; }
  .t2-details__grid, .t2-works { grid-template-columns: repeat(6, 1fr); }
  .d1, .wk1 { grid-column: span 6; grid-row: auto; } .d2, .d3, .wk2, .wk3, .wk4, .wk5 { grid-column: span 3; margin-top: 0; } .d4 { grid-column: span 6; }
  .wk5 { grid-column: span 6; }
  .expand-list { flex-direction: column; height: auto; }
  .expand { flex: none; height: 96px; transition: height .6s cubic-bezier(.2, .7, .2, 1); }
  .expand.is-active { height: 380px; }
  .t2-ba { grid-template-columns: 1fr; } .t2-ba__item:nth-child(2) { margin-top: 0; }
  .panel-card { position: static; max-width: none; }
}
@media (max-width: 640px) {
  .t2-studio__round { inset-inline-start: -12px; }
  .t2-styles__grid { grid-template-columns: 1fr; } .t2-style:nth-child(3) { max-width: none; }
  .d2, .d3, .wk2, .wk3, .wk4 { grid-column: span 3; }
  .tl::before { inset-inline-start: 19px; }
  .tl li, .tl li:nth-child(even) { width: 100%; margin-inline-start: 0; padding-inline: 58px 0; padding-bottom: 40px; text-align: start; }
  .tl li::before, .tl li:nth-child(even)::before { inset-inline-start: 0; inset-inline-end: auto; }
  .tl li:nth-child(odd) p { margin-inline-start: 0; }
  .t2-foot { justify-content: flex-start; }
}

/* Home Two fixes */
.t2-mat[hidden] { display: none; }
.photo.img-missing { display: grid; }
.expand.is-active { flex-grow: 2.6; }
.expand__btn { padding: 18px; }
.expand__title { font-size: 18px; }
.t2-studio__round .img-missing small { display: none; }
@media (max-width: 900px) { .expand__btn { padding: 22px; } }
.img-missing { align-content: center; }
/* ===== About page (catalogue layout) — append to the END of assets/css/style.css ===== */

/* 01. Hero: full-bleed image under an olive wash, text anchored bottom-left */
.ab-hero { position: relative; display: grid; align-items: end; min-height: min(88svh, 740px); background: var(--deep); color: var(--white); --focus: var(--white); overflow: hidden; }
.ab-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .42; }
.ab-hero__inner { position: relative; padding-block: clamp(56px, 8vw, 104px) clamp(32px, 5vw, 56px); }
.ab-crumb { margin: 0 0 20px; font-size: 13px; color: rgb(255 255 255 / .8); }
.ab-crumb a { text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .4); }
.ab-hero h1 { max-width: 20ch; }
.ab-hero__lead { max-width: 56ch; margin-top: 18px; color: rgb(255 255 255 / .88); }
.ab-hero__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(32px, 6vw, 72px); border-top: 1px solid rgb(255 255 255 / .35); }
.ab-hero__meta li { padding-top: 18px; }
.ab-hero__meta strong { display: block; font: 600 17px var(--font-head); }
.ab-hero__meta span { font-size: 14px; color: rgb(255 255 255 / .8); }

/* Chapter frame: sticky number rail + content column */
.ab-chapter { padding-block: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); }
.ab-grid { display: grid; grid-template-columns: 2fr 10fr; gap: clamp(24px, 5vw, 80px); }
.ab-grid > * { min-width: 0; }
.ab-rail { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
.ab-num { display: block; font: 600 clamp(56px, 8vw, 96px)/1 var(--font-head); color: transparent; -webkit-text-stroke: 1px currentColor; opacity: .55; }
.ab-kicker { display: block; margin-top: 10px; font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ab-body h2 { margin-bottom: clamp(20px, 3vw, 32px); }
.ab-intro { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 48px); color: var(--muted); }
.ab-note { font-size: 13px; color: var(--muted); }

/* 02. Story: two text columns, drop cap, pull quote */
.ab-cols { column-count: 2; column-gap: clamp(28px, 4vw, 56px); }
.ab-cols p { max-width: none; break-inside: avoid-column; }
.ab-dropcap::first-letter { float: inline-start; margin: 4px 12px 0 0; font: 600 62px/.85 var(--font-head); }
.ab-pull { margin: clamp(32px, 5vw, 56px) 0 24px; padding-inline-start: 24px; border-inline-start: 3px solid var(--sage); font: 600 clamp(20px, 2.6vw, 24px)/1.5 var(--font-head); max-width: 36ch; }

/* 03. Ledger rows */
.ab-ledger { counter-reset: none; }
.ab-ledger li { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.5fr); gap: 8px 28px; align-items: baseline; padding-block: 26px; border-top: 1px solid var(--line); }
.ab-ledger li:last-child { border-bottom: 1px solid var(--line); }
.ab-ledger__n { font: 600 22px var(--font-head); color: var(--muted); }
.ab-ledger p { margin: 0; color: var(--muted); }

/* 04. Philosophy: centred, no rail */
.ab-philo { text-align: center; }
.ab-num--center { margin-inline: auto; }
.ab-philo__label { margin: 18px 0 28px; font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.ab-philo__line { max-width: 22ch; margin: 0 auto 20px; font: 600 clamp(28px, 5vw, 36px)/1.3 var(--font-head); }
.ab-philo__sub { margin: 0 auto; color: var(--muted); }
.ab-trio { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 6vw, 72px); text-align: start; }
.ab-trio > * { min-width: 0; padding-inline: clamp(16px, 3vw, 40px); border-inline-start: 1px solid var(--line); }
.ab-trio > :first-child { padding-inline-start: 0; border-inline-start: 0; }
.ab-trio h3 { margin-bottom: 10px; }
.ab-trio p { margin: 0; color: var(--muted); }
.ab-trio--light { margin-top: 0; }

/* 05. Preservation: tall image + table */
.ab-split { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.ab-split > * { min-width: 0; }
.ab-tall { position: sticky; top: calc(var(--header-h) + 28px); }
.ab-tall img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; outline: 1px solid var(--line); outline-offset: 8px; }
.ab-tall .img-missing { aspect-ratio: 3 / 4; }
.ab-tablewrap { margin-block: 28px; overflow-x: auto; }
.ab-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ab-table th, .ab-table td { padding: 16px 20px 16px 0; text-align: start; vertical-align: top; border-top: 1px solid var(--line); }
.ab-table thead th { font: 600 12px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ab-table tbody th { width: 28%; font: 600 16px var(--font-head); }
.ab-table td { color: var(--muted); }
.ab-table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }

/* 06. Specification sheet */
.ab-spec__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; padding-block: 28px; border-top: 1px solid var(--line); }
.ab-spec__row:last-child { border-bottom: 1px solid var(--line); }
.ab-chip { width: 120px; aspect-ratio: 1; border: 1px solid var(--line); }
.ab-chip--glaze { background: linear-gradient(115deg, rgb(255 255 255 / .85) 0 22%, var(--soft) 22% 100%); }
.ab-spec h3 { margin-bottom: 8px; }
.ab-spec p { color: var(--muted); }
.ab-opts { margin: 0; font-size: 13px; }

/* 07. Directory list */
.ab-index li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 8px 40px; align-items: baseline; padding-block: 28px; border-top: 1px solid var(--line); transition: padding-inline-start .3s; }
.ab-index li:last-child { border-bottom: 1px solid var(--line); }
.ab-index li:hover { padding-inline-start: 16px; }
.ab-index h3 { font-size: clamp(19px, 2.4vw, 22px); }
.ab-index p { margin: 0; color: var(--muted); }

/* 08. Process panels */
.ab-steps { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.ab-step { padding: clamp(24px, 3.5vw, 40px); border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ab-step__n { display: block; margin-bottom: 14px; font: 600 48px/1 var(--font-head); color: transparent; -webkit-text-stroke: 1px currentColor; opacity: .55; }
.ab-step h3 { margin-bottom: 12px; }
.ab-step p { color: var(--muted); }
.ab-step p:last-child { margin-bottom: 0; }
.ab-step strong { color: var(--text); }

/* 09. Wide image + principles */
.ab-wide img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.ab-wide .img-missing { aspect-ratio: 16 / 7; }
.ab-principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(28px, 4vw, 48px); }
.ab-principles > * { min-width: 0; padding-top: 18px; border-top: 2px solid var(--text); }
.ab-principles h3 { margin-bottom: 8px; }
.ab-principles p { margin: 0; color: var(--muted); }

/* 10. Checklists */
.ab-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.ab-checks > * { min-width: 0; }
.ab-checks h3 { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ab-checks li { position: relative; padding: 8px 0 8px 28px; color: var(--muted); }
.ab-checks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 15px; width: 12px; height: 6px; border-inline-start: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(-45deg); }
[dir="rtl"] .ab-checks li::before { transform: rotate(45deg); }

/* 11. Experience */
.ab-ask { margin-block: clamp(32px, 5vw, 56px); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); background: var(--soft); }
.ab-ask h3 { margin-bottom: 14px; }
.ab-ask ul { columns: 2; column-gap: 40px; }
.ab-ask li { position: relative; padding: 6px 0 6px 20px; break-inside: avoid; }
.ab-ask li::before { content: ""; position: absolute; inset-inline-start: 0; top: 17px; width: 8px; height: 1px; background: var(--text); }

/* 12. Studio */
.ab-visit { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ab-visit > * { min-width: 0; }
.ab-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; outline: 1px solid rgb(255 255 255 / .35); outline-offset: 8px; }
.ab-portrait .img-missing { aspect-ratio: 4 / 5; }
.ab-portrait figcaption { color: rgb(255 255 255 / .8); }

/* Footer without hanging pictures */
.footer__top--text { grid-template-columns: 1fr; }
.footer__top--text .footer__cta { max-width: 640px; }

/* Responsive */
@media (max-width: 960px) {
  .ab-grid { grid-template-columns: 1fr; gap: 12px; }
  .ab-rail { position: static; display: flex; align-items: baseline; gap: 16px; }
  .ab-num { font-size: 44px; }
  .ab-kicker { margin-top: 0; }
  .ab-split, .ab-visit { grid-template-columns: 1fr; }
  .ab-tall { position: static; max-width: 360px; }
  .ab-portrait { max-width: 420px; }
  .ab-principles { grid-template-columns: 1fr 1fr; }
  .ab-checks { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .ab-hero__meta { grid-template-columns: 1fr; gap: 0; }
  .ab-hero__meta li { padding-block: 14px; border-bottom: 1px solid rgb(255 255 255 / .2); }
  .ab-cols, .ab-ask ul { columns: 1; }
  .ab-ledger li, .ab-index li { grid-template-columns: 1fr; }
  .ab-trio { grid-template-columns: 1fr; gap: 28px; }
  .ab-trio > * { padding: 0; border-inline-start: 0; }
  .ab-spec__row { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
  .ab-chip { width: 72px; }
  .ab-steps, .ab-principles { grid-template-columns: 1fr; }
  .ab-table tbody th { width: 34%; }
}
/* Framing styles — align content and frame boxes */
.framing-styles .container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 48px;
}

@media (max-width: 768px) {
  .framing-styles .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* FIX: Align framing link with the frame showcase */
.framing-styles__copy {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
}

.framing-styles__copy .text-link {
  margin-top: 20px;
}

/* Keep both columns aligned */
.framing-styles__grid {
  align-items: center;
}
/* ===== Services page — append to the END of assets/css/style.css ===== */

/* Anchors must clear the header AND the jump bar */
html { scroll-padding-top: calc(var(--header-h) + 64px); }

/* Jump bar */
.sv-subnav { position: sticky; top: var(--header-h); z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.sv-subnav__row { display: flex; gap: 6px 28px; overflow-x: auto; scrollbar-width: none; }
.sv-subnav__row::-webkit-scrollbar { display: none; }
.sv-subnav a { flex: none; padding: 16px 0; font: 500 14px var(--font-body); color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; transition: color .25s, border-color .25s; }
.sv-subnav a:hover, .sv-subnav a:focus-visible { color: var(--text); border-bottom-color: var(--text); }

/* Shared bits */
.sv-tag { margin: 0 0 12px; font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sv-tag--light { color: rgb(255 255 255 / .8); }
.sv-block h2 { margin-bottom: 16px; }
.sv-block p { color: var(--muted); }
.section--deep.sv-block p { color: rgb(255 255 255 / .86); }
.sv-center { margin-inline: auto; text-align: center; }
.sv-center p { margin-inline: auto; }
.sv-foot { margin: clamp(28px, 4vw, 48px) 0 0; text-align: center; max-width: none; }
.sv-foot .text-link { color: var(--text); }

/* 1. Hero: split, text panel + arch image */
.sv-hero { display: grid; grid-template-columns: 6fr 5fr; background: var(--deep); color: var(--white); --focus: var(--white); }
.sv-hero > * { min-width: 0; }
.sv-hero__text { padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 96px); }
.sv-crumb { margin: 0 0 20px; font-size: 13px; color: rgb(255 255 255 / .8); }
.sv-crumb a { text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .4); }
.sv-hero__text > p:not(.sv-crumb) { margin-top: 16px; color: rgb(255 255 255 / .88); max-width: 50ch; }
.sv-hero__list { margin-top: clamp(24px, 4vw, 40px); border-top: 1px solid rgb(255 255 255 / .3); }
.sv-hero__list a { display: flex; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgb(255 255 255 / .3); text-decoration: none; transition: padding-inline-start .3s, background-color .3s; }
.sv-hero__list a:hover, .sv-hero__list a:focus-visible { padding-inline-start: 14px; background: rgb(255 255 255 / .08); }
.sv-hero__list span { font: 600 14px var(--font-head); color: var(--sage); }
.sv-hero__art { display: grid; align-content: end; justify-items: center; padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 56px) 0; background: var(--soft); color: var(--text); }
.sv-arch { width: min(100%, 380px); overflow: hidden; border-radius: 999px 999px 0 0; background: var(--sage); }
.sv-arch img { width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; }
.sv-arch .img-missing { aspect-ratio: 3 / 4.4; }
.sv-hero__art figcaption { margin: 0; padding: 14px 0; font-size: 13px; }

/* 2. Menu board */
.sv-menu-wrap { max-width: none; }
.sv-menu__row { display: grid; grid-template-columns: 44px auto 1fr auto; gap: 2px 14px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding-inline-start .3s; }
.sv-menu li:last-child .sv-menu__row { border-bottom: 1px solid var(--line); }
.sv-menu__row:hover, .sv-menu__row:focus-visible { padding-inline-start: 14px; }
.sv-menu__n { font: 600 15px var(--font-head); color: var(--muted); }
.sv-menu__name { font: 600 clamp(19px, 2.8vw, 24px)/1.25 var(--font-head); }
.sv-menu__lead { align-self: end; margin-bottom: 7px; border-bottom: 2px dotted var(--line); min-width: 24px; }
.sv-menu__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.sv-menu__go .icon { width: 18px; height: 18px; transition: transform .25s; }
.sv-menu__row:hover .icon { transform: translateX(4px); }
[dir="rtl"] .sv-menu__row:hover .icon { transform: scaleX(-1) translateX(4px); }
.sv-menu__desc { grid-column: 2 / -1; color: var(--muted); }

/* 3-4. Feature: offset image + text */
.sv-feature { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 112px); align-items: center; }
.sv-feature > * { min-width: 0; }
.sv-feature--flip { grid-template-columns: 6fr 5fr; }
.sv-feature--flip > :first-child { order: 2; }
.sv-offset { position: relative; max-width: 440px; width: 100%; margin-inline: auto; }
.sv-offset::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--text); opacity: .35; }
.sv-offset--end::before { inset: 28px 28px -28px -28px; }
.sv-offset .frame { position: relative; }
.sv-facts { margin: 24px 0; border-top: 1px solid var(--line); }
.sv-facts div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sv-facts dt { font: 600 15px var(--font-head); }
.sv-facts dd { margin: 0; color: var(--muted); }
.sv-checks { margin-bottom: 24px; }
.sv-checks li { position: relative; padding: 9px 0 9px 28px; color: var(--muted); border-bottom: 1px solid var(--line); }
.sv-checks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 16px; width: 12px; height: 6px; border-inline-start: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(-45deg); }
[dir="rtl"] .sv-checks li::before { transform: rotate(45deg); }

/* 5. Conservation */
.sv-cons { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 7vw, 112px); align-items: center; }
.sv-cons > * { min-width: 0; }
.sv-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 28px 0; padding-block: 24px; border-block: 1px solid var(--line); }
.sv-cols h3 { margin-bottom: 10px; font-size: 17px; }
.sv-cols li { padding: 4px 0; color: rgb(255 255 255 / .86); }
.sv-tall img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; outline: 1px solid rgb(255 255 255 / .4); outline-offset: 8px; }
.sv-tall .img-missing { aspect-ratio: 3 / 5; }
.sv-tall figcaption { color: rgb(255 255 255 / .8); }

/* 6. Keepsakes: annotated centre piece */
.sv-annot { display: grid; grid-template-columns: 1fr minmax(0, 420px) 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.sv-annot > * { min-width: 0; }
.sv-annot__side li { padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); }
.sv-annot__side li:last-child { border-bottom: 1px solid var(--line); }
.sv-annot__side strong { display: block; font: 600 17px var(--font-head); color: var(--text); }
.sv-annot__side:first-child { text-align: end; }

/* 7. Photos & certificates */
.sv-duo { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.sv-duo > * { min-width: 0; }
.sv-duo__imgs { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(14px, 3vw, 36px); align-items: start; }
.sv-duo__b { margin-top: 20%; }
.sv-duo figcaption { text-align: center; }

/* 8. Materials */
.sv-mats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.sv-mats > * { min-width: 0; padding-top: 20px; border-top: 2px solid var(--text); }
.sv-chip { height: 110px; margin-bottom: 18px; border: 1px solid var(--line); }
.sv-chip--glaze { background: linear-gradient(115deg, rgb(255 255 255 / .85) 0 22%, var(--soft) 22% 100%); }
.sv-mats h3 { margin-bottom: 8px; }
.sv-mats p { margin: 0; color: var(--muted); }

/* 9. Before / after */
.sv-ba { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); align-items: center; max-width: 880px; margin-inline: auto; }
.sv-ba__arrow { width: 40px; height: 40px; justify-self: center; }
.sv-ba__raw { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; outline: 1px dashed var(--muted); outline-offset: -1px; }
.sv-ba .img-missing { aspect-ratio: 4 / 5; }
.sv-ba figcaption { margin-top: 14px; }
.sv-ba figcaption strong { display: block; font: 600 17px var(--font-head); color: var(--text); }

/* 10. Process track */
.sv-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: sv; }
.sv-track::before { content: ""; position: absolute; top: 19px; inset-inline: 19px; height: 1px; background: var(--text); opacity: .4; }
.sv-track li { position: relative; counter-increment: sv; padding-top: 56px; }
.sv-track li::before { content: counter(sv); position: absolute; top: 0; inset-inline-start: 0; width: 38px; height: 38px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--text); font: 600 16px var(--font-head); }
.sv-track h3 { margin-bottom: 8px; font-size: 18px; }
.sv-track p { margin: 0; color: var(--muted); font-size: 14px; }

/* 11. FAQ (native details) */
.sv-faq { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.sv-faq > * { min-width: 0; }
.sv-faq__intro { position: sticky; top: calc(var(--header-h) + 80px); }
.sv-faq__intro h2 { margin-bottom: 14px; }
.sv-faq__intro p { color: var(--muted); }
.sv-faq details { border-top: 1px solid var(--line); }
.sv-faq details:last-child { border-bottom: 1px solid var(--line); }
.sv-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 600 17px/1.4 var(--font-head); cursor: pointer; list-style: none; }
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary .icon { transition: transform .25s; }
.sv-faq details[open] summary .icon { transform: rotate(45deg); }
.sv-faq details p { margin: 0 0 22px; color: var(--muted); }

/* 12. Quote form */
.sv-quote { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.sv-quote > * { min-width: 0; }
.sv-quote h2 { margin-bottom: 14px; }
.sv-quote p { color: rgb(255 255 255 / .86); }
.sv-quote__list { margin: 20px 0; border-top: 1px solid var(--line); }
.sv-quote__list li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.sv-quote__note { font-size: 13px; }
.sv-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; padding: clamp(24px, 4vw, 48px); background: var(--bg); color: var(--text); --focus: var(--olive); }
.sv-field { min-width: 0; }
.sv-field--full { grid-column: 1 / -1; }
.sv-field label { display: block; margin-bottom: 6px; font: 600 14px var(--font-body); }
.sv-field input, .sv-field select, .sv-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 15px var(--font-body); color: var(--text); background: var(--bg); border: 1px solid color-mix(in srgb, var(--text) 45%, transparent); border-radius: 0; }
.sv-field textarea { resize: vertical; }
.sv-field [aria-invalid="true"] { border-color: var(--text); border-width: 2px; }
.sv-error { min-height: 0; margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--text); }
.sv-error:not(:empty)::before { content: "\26A0\FE0E  "; }
.sv-status { margin: 14px 0 0; max-width: none; font-size: 14px; color: var(--text); }
.sv-status:empty { display: none; }
.sv-form .btn--light { background: var(--btn-bg); color: var(--btn-text); }
.sv-form .btn--light:hover { background: var(--sage); color: var(--olive); }

/* Footer without hanging pictures (skip if already added for the About page) */
.footer__top--text { grid-template-columns: 1fr; }
.footer__top--text .footer__cta { max-width: 640px; }

/* Responsive */
@media (max-width: 960px) {
  .sv-hero, .sv-feature, .sv-feature--flip, .sv-cons, .sv-duo, .sv-faq, .sv-quote { grid-template-columns: 1fr; }
  .sv-feature--flip > :first-child { order: 0; }
  .sv-hero__art { padding-top: 40px; }
  .sv-offset { max-width: 380px; margin-inline: 0 28px; }
  .sv-tall { max-width: 360px; }
  .sv-faq__intro { position: static; }
  .sv-annot { grid-template-columns: 1fr; }
  .sv-annot__art { order: -1; max-width: 420px; margin-inline: auto; }
  .sv-annot__side:first-child { text-align: start; }
  .sv-mats { grid-template-columns: 1fr 1fr; }
  .sv-track { grid-template-columns: 1fr; gap: 28px; }
  .sv-track::before { top: 19px; bottom: 19px; inset-inline: auto; inset-inline-start: 19px; width: 1px; height: auto; }
  .sv-track li { padding: 0 0 0 58px; }
}
@media (max-width: 640px) {
  .sv-menu__row { grid-template-columns: 36px 1fr auto; }
  .sv-menu__lead { display: none; }
  .sv-menu__desc { grid-column: 2 / -1; }
  .sv-facts div { grid-template-columns: 1fr; gap: 2px; }
  .sv-cols, .sv-form { grid-template-columns: 1fr; }
  .sv-duo__imgs { grid-template-columns: 1fr 1fr; }
  .sv-mats { grid-template-columns: 1fr; }
  .sv-ba { grid-template-columns: 1fr; }
  .sv-ba__arrow { transform: rotate(90deg); }
  [dir="rtl"] .sv-ba__arrow { transform: scaleX(-1) rotate(90deg); }
}
/* ===== Service Details page — append to the END of assets/css/style.css =====
   Needs service-additions.css too (shares .sv-field, .sv-error, .sv-status, .footer__top--text). */

/* 1. Hero: centred title over a "shelf" of three frames */
.sd-hero { background: var(--soft); padding-top: clamp(40px, 6vw, 80px); }
.sd-hero__top { text-align: center; }
.sd-crumb { margin: 0 auto 18px; font-size: 13px; color: var(--muted); max-width: none; }
.sd-crumb a { text-decoration: none; border-bottom: 1px solid var(--line); }
.sd-hero__lead { margin: 16px auto 0; color: var(--muted); max-width: 56ch; }
.sd-triptych { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: clamp(16px, 4vw, 56px); align-items: end; max-width: 820px; margin-top: clamp(32px, 5vw, 56px); padding-inline: clamp(8px, 4vw, 40px); border-bottom: 6px solid var(--text); }
.sd-triptych > * { min-width: 0; margin-bottom: -1px; }
.sd-triptych .frame__art { aspect-ratio: 4 / 5; }
.sd-triptych__a .frame__art { aspect-ratio: 1; }

/* Page layout: sticky summary + long main column */
.sd-layout { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(32px, 6vw, 88px); padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 112px); }
.sd-layout > * { min-width: 0; }
.sd-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 28px; }
.sd-card { padding: 24px; border: 1px solid var(--text); }
.sd-card h2 { margin-bottom: 16px; font-size: 20px; }
.sd-card dl { margin: 0 0 20px; }
.sd-card dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.sd-card dt { font: 600 12px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sd-card dd { margin: 2px 0 0; }
.sd-card .btn { width: 100%; margin-bottom: 16px; }
.sd-card__kicker { margin: 0 0 10px; font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sd-toc ol { border-top: 1px solid var(--line); }
.sd-toc a { display: block; padding: 8px 0; font-size: 14px; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); transition: color .25s, padding-inline-start .25s; }
.sd-toc a:hover, .sd-toc a:focus-visible { color: var(--text); padding-inline-start: 10px; }

/* Main sections */
.sd-sec { padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.sd-sec:first-child { padding-top: 0; border-top: 0; }
.sd-sec h2 { margin-bottom: 18px; }
.sd-intro { margin-bottom: 28px; color: var(--muted); }
.sd-small { font-size: 13px; color: var(--muted); }
.sd-lead { max-width: 34ch; margin-bottom: 28px; font: 600 clamp(22px, 3.2vw, 30px)/1.4 var(--font-head); }
.sd-twocol { column-count: 2; column-gap: 40px; }
.sd-twocol p { max-width: none; color: var(--muted); }

/* 3. Includes: ruled cells */
.sd-includes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.sd-includes li { padding: 24px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sd-includes span { display: block; margin-bottom: 14px; font: 600 14px var(--font-head); color: var(--muted); }
.sd-includes h3 { margin-bottom: 6px; font-size: 18px; }
.sd-includes p { margin: 0; color: var(--muted); font-size: 14px; }

/* 4. Option tabs */
.sd-pane { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.sd-pane[hidden] { display: none; }
.sd-pane h3 { margin-bottom: 8px; }
.sd-pane p { color: var(--muted); }
.sd-bullets li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--muted); }
.sd-bullets li:last-child { border-bottom: 1px solid var(--line); }

/* 5. Materials: sideways scroll-snap row */
.sd-snap { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; }
.sd-snap li { flex: 0 0 min(260px, 78%); scroll-snap-align: start; padding: 18px 18px 22px; border: 1px solid var(--line); }
.sd-chip { height: 120px; margin-bottom: 16px; border: 1px solid var(--line); }
.sd-chip--glaze { background: linear-gradient(115deg, rgb(255 255 255 / .85) 0 22%, var(--soft) 22% 100%); }
.sd-snap h3 { margin-bottom: 6px; font-size: 18px; }
.sd-snap p { color: var(--muted); }
.sd-snap p.sd-small { margin: 0; }

/* 6. Protection panel */
.sd-panel { padding: clamp(24px, 4vw, 48px); background: var(--deep); color: var(--white); --focus: var(--white); --line: rgb(255 255 255 / .3); }
.sd-panel p { color: rgb(255 255 255 / .86); }
.sd-panel .sd-small { color: rgb(255 255 255 / .8); margin: 0; }
.sd-panel a { text-decoration: underline; }
.sd-flow { margin: 24px 0; border-top: 1px solid var(--line); }
.sd-flow li { display: grid; grid-template-columns: 110px 24px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sd-flow li > :first-child { font: 600 17px var(--font-head); }
.sd-flow .icon { width: 18px; height: 18px; align-self: center; }
.sd-flow li > :last-child { color: rgb(255 255 255 / .86); }

/* 7. Standard vs customised */
.sd-swap__head, .sd-swap__row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; }
.sd-swap__head { padding-bottom: 10px; font: 600 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sd-swap__row { padding: 18px 0; border-top: 1px solid var(--line); }
.sd-swap__row:last-child { border-bottom: 1px solid var(--line); }
.sd-swap__row p { margin: 0; }
.sd-swap__row p:first-child { font: 600 17px/1.4 var(--font-head); }
.sd-swap__row p:last-child { color: var(--muted); }

/* 8. Vertical stepper */
.sd-stepper { position: relative; counter-reset: sd; }
.sd-stepper li { position: relative; counter-increment: sd; padding: 0 0 34px 64px; }
.sd-stepper li:last-child { padding-bottom: 0; }
.sd-stepper li::before { content: counter(sd); position: absolute; inset-inline-start: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center; background: var(--text); color: var(--bg); font: 600 16px var(--font-head); z-index: 1; }
.sd-stepper li::after { content: ""; position: absolute; inset-inline-start: 19px; top: 40px; bottom: 0; width: 1px; background: var(--text); opacity: .35; }
.sd-stepper li:last-child::after { display: none; }
.sd-stepper h3 { margin: 6px 0 6px; font-size: 19px; }
.sd-stepper p { margin: 0; color: var(--muted); }

/* 9. Compare slider */
.sd-compare { --pos: 50%; position: relative; direction: ltr; max-width: 460px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.sd-compare__after, .sd-compare__before { position: absolute; inset: 0; }
.sd-compare__after .frame { height: 100%; }
.sd-compare__after .frame__mat { height: 100%; }
.sd-compare__after .frame__art, .sd-compare__after .img-missing { height: 100%; aspect-ratio: auto; }
.sd-compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: var(--soft); }
.sd-compare__before img, .sd-compare__before .img-missing { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.sd-compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 0 1px rgb(0 0 0 / .35); pointer-events: none; }
.sd-compare__tag { position: absolute; top: 12px; padding: 3px 10px; background: var(--white); color: var(--olive); font: 600 12px var(--font-body); pointer-events: none; }
.sd-compare__tag--before { left: 12px; }
.sd-compare__tag--after { right: 12px; }
.sd-compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.sd-compare:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; }

/* 10. FAQ: boxed two-column */
.sd-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; align-items: start; }
.sd-faq details { border: 1px solid var(--line); padding: 0 20px; background: var(--bg); }
.sd-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font: 600 16px/1.4 var(--font-head); cursor: pointer; list-style: none; }
.sd-faq summary::-webkit-details-marker { display: none; }
.sd-faq summary .icon { transition: transform .25s; }
.sd-faq details[open] { border-color: var(--text); }
.sd-faq details[open] summary .icon { transform: rotate(45deg); }
.sd-faq details p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }

/* 11. Related: image rows */
.sd-related { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-bottom: 24px; }
.sd-related a { display: grid; grid-template-columns: 84px minmax(0, 1fr) 20px; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding-inline-start .3s; }
.sd-related a:hover, .sd-related a:focus-visible { padding-inline-start: 10px; }
.sd-related img, .sd-related .img-missing { width: 84px; height: 84px; object-fit: cover; }
.sd-related strong { display: block; font: 600 16px/1.3 var(--font-head); }
.sd-related span { font-size: 13px; color: var(--muted); }

/* 12. Quote band */
.sd-quote__head { max-width: 640px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.sd-quote__head h2 { margin-bottom: 12px; }
.sd-quote__head p { margin-inline: auto; color: rgb(255 255 255 / .86); }
.sd-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 24px; max-width: 960px; margin-inline: auto; padding: clamp(24px, 4vw, 48px); background: var(--bg); color: var(--text); --focus: var(--olive); }
.sd-form .btn--light { background: var(--btn-bg); color: var(--btn-text); }
.sd-form .btn--light:hover { background: var(--sage); color: var(--olive); }

/* Responsive */
@media (max-width: 960px) {
  .sd-layout { grid-template-columns: 1fr; gap: 32px; }
  .sd-aside { position: static; }
  .sd-toc { display: none; }
  .sd-card .btn { width: auto; }
  .sd-includes { grid-template-columns: 1fr 1fr; }
  .sd-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sd-twocol { column-count: 1; }
  .sd-includes, .sd-faq, .sd-related, .sd-form { grid-template-columns: 1fr; }
  .sd-pane { grid-template-columns: 1fr; }
  .sd-pane .frame { max-width: 260px; }
  .sd-flow li { grid-template-columns: 1fr; gap: 2px; }
  .sd-flow .icon { display: none; }
  .sd-swap__head { display: none; }
  .sd-swap__row { grid-template-columns: 1fr; gap: 4px; }
  .sd-triptych { grid-template-columns: 1fr 1.2fr 1fr; padding-inline: 0; }
}
/* About Hero — Stronger Dark Overlay */
.ab-hero {
  position: relative;
  isolation: isolate;
}

.ab-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: -1;
  pointer-events: none;
}

.ab-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
/* About Hero — Center Align All Content */
.ab-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  min-height: 100%;
  position: relative;
  z-index: 2;
}

.ab-crumb {
  text-align: center;
  justify-content: center;
}

.ab-hero__lead {
  max-width: 760px;
  margin: 20px auto 30px;
  text-align: center;
}

.ab-hero__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  text-align: center;
}

.ab-hero__meta li {
  text-align: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .ab-hero__meta {
    flex-direction: column;
    gap: 20px;
  }

  .ab-hero__lead {
    max-width: 100%;
  }
}
/* About Hero — Reduce Banner Height */
.ab-hero {
  min-height: 480px;
  height: auto;
}

.ab-hero__img {
  height: 100%;
  object-fit: cover;
}

.ab-hero__inner {
  min-height: 600px;
  padding-top: 50px;
  padding-bottom: 50px;
}

/* Mobile */
@media (max-width: 768px) {
  .ab-hero,
  .ab-hero__inner {
    min-height: 420px;
  }

  .ab-hero__inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
/* ===== Gallery page — append to the END of assets/css/style.css =====
   Order matters: add AFTER service-additions.css and service-details-additions.css
   (it reuses the before/after slider and the text-only footer rule). */

/* Frame look for every tile: a coloured border instead of extra markup */
.gl-fig { --b: 10px; --bc: var(--olive); position: relative; margin: 0; overflow: hidden; border: var(--b) solid var(--bc); background: var(--soft); min-width: 0; }
.gl-fig > img, .gl-fig > .img-missing { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.gl-fig::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.gl-fig--classic::after { box-shadow: inset 0 0 0 2px var(--sage); }
.gl-fig--modern { --b: 4px; --bc: var(--black); outline: 1px solid var(--line); }
.gl-fig--natural { --bc: var(--sage); }
.gl-fig--natural::after { box-shadow: inset 0 0 0 1px var(--olive); }
.gl-fig--white { --b: 8px; --bc: var(--white); outline: 1px solid var(--line); }
.gl-cap { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; margin: 0; padding: 8px 12px; font-size: 12.5px; line-height: 1.4; color: var(--white); background: color-mix(in srgb, var(--olive) 88%, transparent); }

/* Section rhythm: tight, no min-heights, no stray margins */
.gl-sec { padding-block: clamp(40px, 5.5vw, 72px); }
.gl-sec--soft { background: var(--soft); }
.gl-sec--deep { background: var(--deep); color: var(--white); --muted: rgb(255 255 255 / .82); --line: rgb(255 255 255 / .3); --focus: var(--white); }
.gl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 48px; margin-bottom: 24px; }
.gl-head h2 { margin: 0; }
.gl-head p { margin: 0; max-width: 46ch; color: var(--muted); }
.gl-list li { padding: 9px 0; border-top: 1px solid var(--line); }
.gl-list li:last-child { border-bottom: 1px solid var(--line); }
.gl-list strong { display: block; font: 600 16px var(--font-head); }

/* 1. Hero: headline row, then a salon wall packed edge to edge (6 x 4 cells, all filled) */
.gl-hero { background: var(--deep); color: var(--white); --focus: var(--white); }
.gl-hero__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 64px; padding-block: clamp(40px, 6vw, 72px) 28px; }
.gl-crumb { margin: 0 0 16px; font-size: 13px; color: rgb(255 255 255 / .8); }
.gl-crumb a { text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .4); }
.gl-hero h1 { max-width: 18ch; }
.gl-hero__lead { max-width: 38ch; margin: 0; color: rgb(255 255 255 / .86); }
.gl-salon { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(60px, 11vw, 132px); gap: 6px; padding: 6px; }
.gl-salon .s1 { grid-area: 1 / 1 / 5 / 3; }
.gl-salon .s2 { grid-area: 1 / 3 / 3 / 5; }
.gl-salon .s3 { grid-area: 1 / 5 / 4 / 7; }
.gl-salon .s4 { grid-area: 3 / 3 / 5 / 5; }
.gl-salon .s5 { grid-area: 4 / 5 / 5 / 7; }

/* 2. Filter + grid. auto-fit means a filtered result always stretches to fill the row */
.gl-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.gl-chip { min-height: 44px; padding: 8px 16px; font: 500 14px var(--font-body); color: var(--text); background: transparent; border: 1px solid var(--text); cursor: pointer; transition: background-color .25s, color .25s; }
.gl-chip:hover { background: var(--soft); }
.gl-chip[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.gl-count { margin: 14px 0 16px; font-size: 13px; color: var(--muted); }
.gl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); grid-auto-rows: clamp(240px, 26vw, 330px); gap: 8px; }
.gl-grid > li { min-width: 0; }
.gl-grid > li[hidden] { display: none; }
.gl-grid .gl-fig { height: 100%; }

/* 3. One large, two stacked (7fr / 5fr, two equal rows) */
.gl-trio { display: grid; grid-template-columns: 7fr 5fr; grid-auto-rows: clamp(150px, 22vw, 270px); gap: 8px; }
.gl-trio .t-main { grid-row: 1 / 3; }
.gl-trio .gl-fig { height: 100%; }

/* 4. Three panels, one height, different widths */
.gl-row { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: 12px; }
.gl-row figure { display: flex; flex-direction: column; margin: 0; min-width: 0; }
.gl-row .gl-fig { height: clamp(260px, 36vw, 440px); }
.gl-row figcaption { margin: 8px 0 0; }

/* 5. Classic: text + two images that stretch to the same height */
.gl-split { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.gl-split > * { min-width: 0; }
.gl-split h2 { margin-bottom: 12px; }
.gl-split p { color: rgb(255 255 255 / .86); }
.gl-split__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gl-split__imgs .gl-fig { height: clamp(280px, 38vw, 460px); }

/* 6. Modern: panorama over three squares */
.gl-pano { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gl-pano .pano { grid-column: 1 / -1; height: clamp(150px, 30vw, 360px); }
.gl-pano > .gl-fig:not(.pano) { aspect-ratio: 1; }

/* 7. Five tiles packed into an exact 4 x 4 block */
.gl-pack { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(84px, 12vw, 132px); gap: 8px; }
.gl-pack .pk-a { grid-area: 1 / 1 / 4 / 3; }
.gl-pack .pk-b { grid-area: 1 / 3 / 3 / 4; }
.gl-pack .pk-c { grid-area: 1 / 4 / 5 / 5; }
.gl-pack .pk-d { grid-area: 3 / 3 / 5 / 4; }
.gl-pack .pk-e { grid-area: 4 / 1 / 5 / 3; }
.gl-pack .gl-fig { height: 100%; }

/* 8. Conservation: two images and a text column, equal height */
.gl-cons { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 12px; align-items: stretch; }
.gl-cons > .gl-fig { min-height: clamp(300px, 36vw, 440px); }
.gl-cons__text { align-self: center; padding-inline: clamp(8px, 2vw, 24px); }
.gl-cons__text h2 { margin-bottom: 12px; }
.gl-cons__text > p { color: var(--muted); }
.gl-cons__text .gl-list { margin-bottom: 18px; }

/* 9. Two sliders side by side (slider styles come from service-details-additions.css) */
.gl-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sd-compare.gl-compare { max-width: none; aspect-ratio: 1 / 1; }

/* 10. Swatch mosaic: 4 x 2, every cell filled */
.gl-swatches { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(110px, 16vw, 170px); gap: 8px; }
.gl-swatches li { position: relative; border: 1px solid var(--line); }
.gl-swatches span { position: absolute; inset-inline: 0; bottom: 0; padding: 7px 12px; font-size: 13px; color: var(--white); background: rgb(0 0 0 / .55); }
.gl-swatches__light span { color: var(--olive); background: rgb(255 255 255 / .88); }
.gl-sw-clear { background: linear-gradient(115deg, rgb(255 255 255 / .9) 0 22%, var(--soft) 22% 100%); }
.gl-sw-uv { background: linear-gradient(115deg, rgb(255 255 255 / .8) 0 22%, color-mix(in srgb, var(--sage) 55%, var(--white)) 22% 100%); }

/* 11. Featured projects */
.gl-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); }
.gl-feat article { min-width: 0; }
.gl-feat .gl-fig { aspect-ratio: 4 / 3; }
.gl-feat h3 { margin: 14px 0 8px; }
.gl-feat dl { margin: 0; border-top: 1px solid var(--line); }
.gl-feat dl div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.gl-feat dt { color: var(--muted); }
.gl-feat dd { margin: 0; }

/* 12. FAQ: one centred, numbered column */
.gl-faq { max-width: 760px; counter-reset: q; }
.gl-faq h2 { margin-bottom: 20px; text-align: center; }
.gl-faq details { counter-increment: q; border-top: 1px solid var(--line); }
.gl-faq details:last-child { border-bottom: 1px solid var(--line); }
.gl-faq summary { display: flex; align-items: center; gap: 14px; padding: 16px 0; font: 600 17px/1.4 var(--font-head); cursor: pointer; list-style: none; }
.gl-faq summary::-webkit-details-marker { display: none; }
.gl-faq summary::before { content: counter(q, decimal-leading-zero); font: 600 14px var(--font-head); color: var(--muted); }
.gl-faq summary .icon { margin-inline-start: auto; flex: none; transition: transform .25s; }
.gl-faq details[open] summary .icon { transform: rotate(45deg); }
.gl-faq details p { margin: 0 0 18px; padding-inline-start: 36px; color: var(--muted); }

/* Responsive: re-pack, never shrink-and-leave-holes */
@media (max-width: 900px) {
  .gl-split, .gl-cons { grid-template-columns: 1fr; }
  .gl-cons { grid-template-columns: 1fr 1fr; }
  .gl-cons__text { grid-column: 1 / -1; padding: 12px 0 0; }
  .gl-cons > .gl-fig { min-height: 260px; }
  .gl-feat { grid-template-columns: 1fr; }
  .gl-feat article { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; }
  .gl-feat article .gl-fig { grid-row: 1 / 3; height: 100%; aspect-ratio: auto; min-height: 200px; }
  .gl-feat h3 { margin-top: 0; }
}
@media (max-width: 640px) {
  .gl-fig { --b: 6px; }
  .gl-fig--modern { --b: 3px; }
  .gl-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); grid-auto-rows: 220px; }
  .gl-trio { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gl-trio .t-main { grid-column: 1 / -1; grid-row: auto; height: 240px; }
  .gl-row { grid-template-columns: 1fr 1fr; }
  .gl-row .r1 { grid-column: 1 / -1; }
  .gl-row .gl-fig { height: 200px; }
  .gl-row .r1 .gl-fig { height: 240px; }
  .gl-split__imgs .gl-fig { height: 260px; }
  .gl-pack { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 88px; }
  .gl-pack .pk-a { grid-area: 1 / 1 / 4 / 3; }
  .gl-pack .pk-b { grid-area: 4 / 1 / 6 / 2; }
  .gl-pack .pk-c { grid-area: 4 / 2 / 7 / 3; }
  .gl-pack .pk-d { grid-area: 6 / 1 / 7 / 2; }
  .gl-pack .pk-e { grid-area: 7 / 1 / 8 / 3; }
  .gl-ba { grid-template-columns: 1fr; }
  .gl-swatches { grid-template-columns: repeat(2, 1fr); }
  .gl-feat article { display: block; }
  .gl-feat article .gl-fig { aspect-ratio: 4 / 3; min-height: 0; }
  .gl-feat h3 { margin-top: 14px; }
  .gl-feat dl div { grid-template-columns: 80px 1fr; }
}
/* ===== Contact page — append to the END of assets/css/style.css ===== */

/* Safe to repeat if already present */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.footer__top--text { grid-template-columns: 1fr; }
.footer__top--text .footer__cta { max-width: 640px; }

/* Section rhythm: compact, no min-heights */
.ct-sec { padding-block: clamp(40px, 5.5vw, 72px); }
.ct-sec--soft { background: var(--soft); }
.ct-sec--deep { background: var(--deep); color: var(--white); --muted: rgb(255 255 255 / .82); --line: rgb(255 255 255 / .3); --focus: var(--white); }
.ct-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 48px; margin-bottom: 24px; }
.ct-head h2 { margin: 0; }
.ct-head p { margin: 0; max-width: 46ch; color: var(--muted); }
.ct-kicker { margin: 0 0 8px; font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ct-note { font-size: 13px; color: var(--muted); }
.ct-small { font-size: 13px; }

/* 1. Hero + "stamp" image */
.ct-hero { background: var(--deep); color: var(--white); --focus: var(--white); padding-block: clamp(40px, 6vw, 80px); }
.ct-hero__grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ct-hero__grid > * { min-width: 0; }
.ct-crumb { margin: 0 0 18px; font-size: 13px; color: rgb(255 255 255 / .8); }
.ct-crumb a { text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .4); }
.ct-hero__lead { max-width: 48ch; margin: 16px 0 0; color: rgb(255 255 255 / .88); }
.ct-hero__links { margin-top: clamp(20px, 3vw, 32px); border-top: 1px solid rgb(255 255 255 / .3); max-width: 520px; }
.ct-hero__links a { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgb(255 255 255 / .3); text-decoration: none; transition: padding-inline-start .3s, background-color .3s; }
.ct-hero__links a:hover, .ct-hero__links a:focus-visible { padding-inline-start: 12px; background: rgb(255 255 255 / .08); }
.ct-hero__links span { font: 600 14px var(--font-head); color: var(--sage); }
.ct-hero__links .icon { margin-inline-start: auto; width: 18px; height: 18px; }
.ct-stamp { margin: 0; padding: 12px; background: var(--white); outline: 2px dashed rgb(255 255 255 / .6); outline-offset: 8px; transform: rotate(2.5deg); max-width: 320px; justify-self: center; }
.ct-stamp img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ct-stamp .img-missing { aspect-ratio: 4 / 5; }
[dir="rtl"] .ct-stamp { transform: rotate(-2.5deg); }

/* 2. Channel strip */
.ct-channels { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--text); }
.ct-channels li { padding: clamp(20px, 3vw, 36px); }
.ct-channels li + li { border-inline-start: 1px solid var(--line); }
.ct-channels p { margin: 0; color: var(--muted); }
.ct-channels .ct-kicker { margin-bottom: 8px; }
.ct-big { margin-bottom: 8px !important; font: 600 clamp(19px, 2.4vw, 24px)/1.3 var(--font-head); color: var(--text) !important; }

/* 3 + 7. Address-book rows */
.ct-book { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.ct-book > * { min-width: 0; }
.ct-book h2 { margin-bottom: 12px; }
.ct-book p { color: var(--muted); }
.ct-rows { margin: 0; border-top: 1px solid var(--text); }
.ct-rows div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ct-rows dt { font: 600 17px var(--font-head); }
.ct-rows dd { margin: 0; color: var(--muted); }
.ct-rows--hours div { padding-block: 10px; }

/* 4. Letter-style form (underline fields) */
.ct-letter { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.ct-letter > * { min-width: 0; }
.ct-letter h2 { margin-bottom: 12px; }
.ct-letter p { color: var(--muted); }
.ct-rule-list { margin: 16px 0; border-top: 1px solid var(--line); }
.ct-rule-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ct-form { padding: clamp(20px, 4vw, 40px); border: 1px solid var(--text); background: var(--bg); }
.ct-line { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 0 16px; align-items: end; padding-top: 10px; }
.ct-line + .ct-line { margin-top: 10px; }
.ct-line label { padding-bottom: 8px; font: 600 17px var(--font-head); }
.ct-line input, .ct-line select, .ct-line textarea, .ct-bar input, .ct-bar select, .ct-bar textarea { width: 100%; min-height: 44px; padding: 8px 2px; font: 400 15px var(--font-body); color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--text); border-radius: 0; }
.ct-line select, .ct-bar select { background: var(--bg); }
.ct-line textarea, .ct-bar textarea { resize: vertical; }
.ct-line input:focus-visible, .ct-line select:focus-visible, .ct-line textarea:focus-visible, .ct-bar input:focus-visible, .ct-bar select:focus-visible, .ct-bar textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[aria-invalid="true"].ct-line input, .ct-line [aria-invalid="true"], .ct-bar [aria-invalid="true"] { border-bottom-width: 3px; }
.ct-error { grid-column: 2; margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--text); }
.ct-error:empty { display: none; }
.ct-error:not(:empty)::before { content: "\26A0\FE0E  "; }
.ct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.ct-status { margin: 0; max-width: 60ch; font-size: 14px; color: var(--text); }
.ct-status:empty { display: none; }

/* 5. Ticket with perforated edge */
.ct-ticket { display: grid; grid-template-columns: 4fr 8fr; border: 1px solid var(--text); background: var(--bg); }
.ct-ticket__stub { padding: clamp(22px, 3vw, 36px); background: var(--deep); color: var(--white); border-inline-end: 2px dashed rgb(255 255 255 / .5); --focus: var(--white); }
.ct-ticket__stub .ct-kicker { color: rgb(255 255 255 / .8); }
.ct-ticket__stub h2 { margin-bottom: 10px; }
.ct-ticket__stub p { color: rgb(255 255 255 / .86); }
.ct-ticket__stub a { text-decoration: underline; }
.ct-ticket__body { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 36px); padding: clamp(22px, 3vw, 36px); }
.ct-ticket__body > * { min-width: 0; }
.ct-ticket h3 { margin-bottom: 10px; }
.ct-ticket__body li { padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); }

/* 6. Image band with address card */
.ct-band { position: relative; margin: 0; }
.ct-band > img { display: block; width: 100%; height: clamp(300px, 40vw, 440px); object-fit: cover; }
.ct-band > .img-missing { height: clamp(300px, 40vw, 440px); }
.ct-band__card { position: absolute; inset-inline-start: clamp(12px, 3vw, 32px); bottom: clamp(12px, 3vw, 32px); max-width: 340px; padding: 22px; background: var(--bg); color: var(--text); border: 1px solid var(--text); }
.ct-band__card h2 { margin-bottom: 10px; font-size: 22px; }
.ct-band__card p { margin: 0 0 8px; }

/* 8. Enquiry bar */
.ct-bar { display: grid; grid-template-columns: 1fr 1fr 2fr auto; gap: 8px 24px; align-items: start; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--text); }
.ct-bar > * { min-width: 0; }
.ct-bar__field label { display: block; margin-bottom: 2px; font: 600 14px var(--font-body); }
.ct-bar__go { align-self: end; padding-bottom: 2px; }
.ct-bar .ct-error { grid-column: auto; }
.ct-bar .ct-status { grid-column: 1 / -1; }

/* 9. FAQ in three columns */
.ct-faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.ct-faq > * { min-width: 0; }
.ct-faq h3 { margin-bottom: 8px; padding-bottom: 10px; border-bottom: 2px solid var(--text); }
.ct-faq details { border-bottom: 1px solid var(--line); }
.ct-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font: 600 16px/1.4 var(--font-head); cursor: pointer; list-style: none; }
.ct-faq summary::-webkit-details-marker { display: none; }
.ct-faq summary .icon { flex: none; transition: transform .25s; }
.ct-faq details[open] summary .icon { transform: rotate(45deg); }
.ct-faq details p { margin: 0 0 14px; font-size: 14px; color: var(--muted); }

/* 10. Support */
.ct-support { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.ct-support li { padding: 20px clamp(12px, 2vw, 24px) 4px 0; }
.ct-support li + li { padding-inline-start: clamp(12px, 2vw, 24px); border-inline-start: 1px solid var(--line); }
.ct-support h3 { margin-bottom: 6px; }
.ct-support p { margin: 0; color: var(--muted); font-size: 14px; }
.ct-support__line { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }

/* 11. Map placeholder (no invented location) */
.ct-map { display: grid; place-content: center; justify-items: center; gap: 12px; height: clamp(260px, 34vw, 380px); padding: 20px; text-align: center; border: 1px solid var(--text); background-color: var(--soft); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; }
.ct-map .icon { width: 40px; height: 40px; }
.ct-map p { margin: 0; max-width: 40ch; padding: 10px 14px; background: var(--bg); }

/* 12. Visit */
.ct-visit { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.ct-visit > * { min-width: 0; }
.ct-visit h2 { margin-bottom: 12px; }
.ct-visit p { color: rgb(255 255 255 / .86); max-width: 52ch; }
.ct-visit__list { margin: 18px 0 24px; border-top: 1px solid var(--line); max-width: 420px; }
.ct-visit__list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ct-visit__img { margin: 0; justify-self: center; max-width: 320px; width: 100%; }
.ct-visit__img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; outline: 1px solid rgb(255 255 255 / .4); outline-offset: 8px; }
.ct-visit__img .img-missing { aspect-ratio: 4 / 5; }

/* Responsive */
@media (max-width: 960px) {
  .ct-hero__grid, .ct-book, .ct-letter, .ct-visit { grid-template-columns: 1fr; }
  .ct-stamp, .ct-visit__img { max-width: 260px; justify-self: start; }
  .ct-ticket { grid-template-columns: 1fr; }
  .ct-ticket__stub { border-inline-end: 0; border-bottom: 2px dashed rgb(255 255 255 / .5); }
  .ct-bar { grid-template-columns: 1fr 1fr; }
  .ct-bar__field--wide { grid-column: 1 / -1; }
  .ct-faq { grid-template-columns: 1fr; }
  .ct-support { grid-template-columns: 1fr 1fr; }
  .ct-support li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .ct-support li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 16px; }
}
@media (max-width: 640px) {
  .ct-channels { grid-template-columns: 1fr; }
  .ct-channels li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .ct-rows div { grid-template-columns: 1fr; gap: 2px; }
  .ct-line { grid-template-columns: 1fr; }
  .ct-error { grid-column: 1; }
  .ct-ticket__body { grid-template-columns: 1fr; }
  .ct-bar { grid-template-columns: 1fr; }
  .ct-band > img, .ct-band > .img-missing { height: 220px; }
  .ct-band__card { position: static; max-width: none; border-top: 0; }
  .ct-support { grid-template-columns: 1fr; }
  .ct-support li, .ct-support li + li { padding-inline: 0; border-inline-start: 0; }
  .ct-support li:nth-child(n+2) { border-top: 1px solid var(--line); margin-top: 16px; }
}
/* ===== Login & Register — append to the END of assets/css/style.css ===== */

/* Split screen: form panel + framed-art panel, both stretch to equal height */
.au-split { display: grid; grid-template-columns: 1fr 1fr; }
.au-form-panel, .au-art-panel { display: grid; align-items: center; min-width: 0; padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px); }
.au-inner { width: 100%; max-width: 440px; margin-inline: auto; }
.au-art-panel { background: var(--deep); color: var(--white); --focus: var(--white); }
.au-art-panel .au-inner { max-width: 380px; }

/* Form panel */
.au-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; font: 600 16px var(--font-head); letter-spacing: .08em; color: var(--text); text-decoration: none; }
.au-brand .icon { width: 28px; height: 28px; }
.au-inner h1 { margin-bottom: 6px; }
.au-lead { margin: 0 0 22px; color: var(--muted); }
.au-field { margin-bottom: 16px; }
.au-field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.au-field label { display: block; margin-bottom: 6px; font: 600 14px var(--font-body); }
.au-field input:not([type="checkbox"]), .au-field select { width: 100%; min-height: 48px; padding: 10px 14px; font: 400 15px var(--font-body); color: var(--text); background: var(--bg); border: 1px solid color-mix(in srgb, var(--text) 45%, transparent); border-radius: 0; }
.au-field input:focus-visible, .au-field select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.au-field [aria-invalid="true"] { border-color: var(--text); border-width: 2px; }
.au-small-link { font-size: 13px; }
.au-pass { position: relative; }
.au-pass input { padding-inline-end: 76px; }
.au-pass__btn { position: absolute; inset-block: 0; inset-inline-end: 0; padding: 0 16px; font: 600 13px var(--font-body); color: var(--text); background: transparent; border: 0; cursor: pointer; }
.au-pass__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.au-error { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--text); }
.au-error:empty { display: none; }
.au-error:not(:empty)::before { content: "\26A0\FE0E  "; }
.au-hint { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); max-width: none; }
.au-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.au-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--olive); }
[data-theme="dark"] .au-check input { accent-color: var(--sage); }
.au-submit { width: 100%; }
.au-status { margin: 12px 0 0; max-width: none; font-size: 14px; color: var(--text); }
.au-status:empty { display: none; }
.au-or { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; font-size: 13px; color: var(--muted); }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.au-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.au-social button { min-height: 46px; font: 600 14px var(--font-body); color: var(--text); background: transparent; border: 1px solid var(--line); }
.au-social button:disabled { opacity: .55; cursor: not-allowed; }
.au-security { margin-top: 20px; padding: 14px 16px; border: 1px solid var(--line); border-inline-start: 3px solid var(--sage); }
.au-security h2 { margin: 0 0 6px; font-size: 15px; }
.au-security li { padding: 2px 0; font-size: 13px; color: var(--muted); }
.au-links { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 20px; }
.au-links p { margin: 0; max-width: none; }
.au-back { transform: scaleX(-1); }
[dir="rtl"] .au-back { transform: none; }

/* Register-only: two fields side by side, password rules, terms */
.au-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.au-rules { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.au-rules li { padding: 1px 0; }

/* Art panel */
.au-frame { max-width: 250px; margin: 0 auto 22px; }
.au-art-panel h2 { margin: 0 0 6px; }
.au-art-panel p { color: rgb(255 255 255 / .86); max-width: none; }
.au-benefits { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .3); }
.au-benefits h3 { margin: 0 0 8px; font-size: 15px; }
.au-benefits li { padding: 6px 0; border-bottom: 1px solid rgb(255 255 255 / .2); }
.au-benefits .au-small { margin: 10px 0 0; font-size: 12.5px; }

/* Slim footer */
.au-foot { border-top: 1px solid var(--line); }
.au-foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-block: 16px; font-size: 13px; color: var(--muted); }
.au-foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.au-foot a { color: var(--muted); text-decoration: none; }
.au-foot a:hover, .au-foot a:focus-visible { color: var(--text); text-decoration: underline; }

@media (max-width: 860px) {
  .au-split { grid-template-columns: 1fr; }
  .au-frame { max-width: 190px; }
}
@media (max-width: 480px) {
  .au-row { grid-template-columns: 1fr; }
}
/* ===== Login & Register — append to the END of assets/css/style.css ===== */

/* Split screen: form panel + framed-art panel, both stretch to equal height */
.au-split { display: grid; grid-template-columns: 1fr 1fr; }
.au-form-panel, .au-art-panel { display: grid; align-items: center; min-width: 0; padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px); }
.au-inner { width: 100%; max-width: 440px; margin-inline: auto; }
.au-art-panel { background: var(--deep); color: var(--white); --focus: var(--white); }
.au-art-panel .au-inner { max-width: 380px; }

/* Form panel */
.au-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; font: 600 16px var(--font-head); letter-spacing: .08em; color: var(--text); text-decoration: none; }
.au-brand .icon { width: 28px; height: 28px; }
.au-inner h1 { margin-bottom: 6px; }
.au-lead { margin: 0 0 22px; color: var(--muted); }
.au-field { margin-bottom: 16px; }
.au-field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.au-field label { display: block; margin-bottom: 6px; font: 600 14px var(--font-body); }
.au-field input:not([type="checkbox"]), .au-field select { width: 100%; min-height: 48px; padding: 10px 14px; font: 400 15px var(--font-body); color: var(--text); background: var(--bg); border: 1px solid color-mix(in srgb, var(--text) 45%, transparent); border-radius: 0; }
.au-field input:focus-visible, .au-field select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.au-field [aria-invalid="true"] { border-color: var(--text); border-width: 2px; }
.au-small-link { font-size: 13px; }
.au-pass { position: relative; }
.au-pass input { padding-inline-end: 76px; }
.au-pass__btn { position: absolute; inset-block: 0; inset-inline-end: 0; padding: 0 16px; font: 600 13px var(--font-body); color: var(--text); background: transparent; border: 0; cursor: pointer; }
.au-pass__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.au-error { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--text); }
.au-error:empty { display: none; }
.au-error:not(:empty)::before { content: "\26A0\FE0E  "; }
.au-hint { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); max-width: none; }
.au-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.au-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--olive); }
[data-theme="dark"] .au-check input { accent-color: var(--sage); }
.au-submit { width: 100%; }
.au-status { margin: 12px 0 0; max-width: none; font-size: 14px; color: var(--text); }
.au-status:empty { display: none; }
.au-or { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; font-size: 13px; color: var(--muted); }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.au-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.au-social button { min-height: 46px; font: 600 14px var(--font-body); color: var(--text); background: transparent; border: 1px solid var(--line); }
.au-social button:disabled { opacity: .55; cursor: not-allowed; }
.au-security { margin-top: 20px; padding: 14px 16px; border: 1px solid var(--line); border-inline-start: 3px solid var(--sage); }
.au-security h2 { margin: 0 0 6px; font-size: 15px; }
.au-security li { padding: 2px 0; font-size: 13px; color: var(--muted); }
.au-links { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 20px; }
.au-links p { margin: 0; max-width: none; }
.au-back { transform: scaleX(-1); }
[dir="rtl"] .au-back { transform: none; }

/* Register-only: two fields side by side, password rules, terms */
.au-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.au-rules { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.au-rules li { padding: 1px 0; }

/* Art panel */
.au-frame { max-width: 250px; margin: 0 auto 22px; }
.au-art-panel h2 { margin: 0 0 6px; }
.au-art-panel p { color: rgb(255 255 255 / .86); max-width: none; }
.au-benefits { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .3); }
.au-benefits h3 { margin: 0 0 8px; font-size: 15px; }
.au-benefits li { padding: 6px 0; border-bottom: 1px solid rgb(255 255 255 / .2); }
.au-benefits .au-small { margin: 10px 0 0; font-size: 12.5px; }

/* Slim footer */
.au-foot { border-top: 1px solid var(--line); }
.au-foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-block: 16px; font-size: 13px; color: var(--muted); }
.au-foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.au-foot a { color: var(--muted); text-decoration: none; }
.au-foot a:hover, .au-foot a:focus-visible { color: var(--text); text-decoration: underline; }

@media (max-width: 860px) {
  .au-split { grid-template-columns: 1fr; }
  .au-frame { max-width: 190px; }
}
@media (max-width: 480px) {
  .au-row { grid-template-columns: 1fr; }
}

/* ===== Register-only additions (append after the block above) ===== */
.au-inner--wide { max-width: 520px; }
.au-set { margin: 0 0 6px; padding: 0; border: 0; min-width: 0; }
.au-set legend { margin-bottom: 10px; padding: 0; font: 600 13px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.au-check em { font-style: normal; color: var(--muted); }
.au-steps { counter-reset: au; margin-top: 20px; padding-top: 6px; border-top: 1px solid rgb(255 255 255 / .3); }
.au-steps li { counter-increment: au; position: relative; padding: 12px 0 12px 44px; border-bottom: 1px solid rgb(255 255 255 / .2); color: rgb(255 255 255 / .86); }
.au-steps li::before { content: counter(au, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 12px; font: 600 15px var(--font-head); color: var(--sage); }
.au-steps strong { display: block; font: 600 16px var(--font-head); color: var(--white); }
.au-art-panel .au-small { margin: 14px 0 0; font-size: 12.5px; }
@media (max-width: 860px) {
  .au-split--flip .au-art-panel { order: 2; }
}
/* Hero background video (index.html only, scoped to .hero--video) */
.hero__video { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__video::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--olive) 68%, transparent); }
.hero--video::before { z-index: 1; }          /* keeps the thin inner border line visible */
.hero--video .hero__grid { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero__video video { display: none; }       /* no motion for people who ask for less */
}
/* ===== Pre-footer: same look as before, now its own section ===== */
.prefoot { position: relative; background: var(--header); color: var(--white); --focus: var(--white); --line: rgb(255 255 255 / .22); overflow: hidden; }

/* ===== New footer: light ledger layout ===== */
.mh-footer { background: var(--header); color: var(--white); --text: var(--white); --muted: rgb(255 255 255 / .8); --line: rgb(255 255 255 / .22); --focus: var(--white); }
.mh-footer__inner { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); padding-block: clamp(40px, 5vw, 64px); }
.mh-footer__inner > * { min-width: 0; }
.mh-brand { display: inline-flex; align-items: center; gap: 12px; font: 600 18px/1 var(--font-head); letter-spacing: .14em; color: var(--text); text-decoration: none; white-space: nowrap; }
.mh-brand .icon { width: 34px; height: 34px; }
.mh-footer__tag { margin: 16px 0 0; max-width: 30ch; color: var(--muted); }
.mh-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.mh-footer__cols > * { min-width: 0; padding-top: 16px; border-top: 2px solid var(--text); }
.mh-footer h3 { margin: 0 0 14px; font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.mh-footer li { margin-bottom: 8px; }
.mh-footer__cols a { padding-bottom: 2px; color: var(--text); text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .3s; }
.mh-footer__cols a:hover, .mh-footer__cols a:focus-visible { background-size: 100% 1px; }
[dir="rtl"] .mh-footer__cols a { background-position: right bottom; }
.mh-footer__info li { color: var(--muted); }
.mh-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-block: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mh-footer__bar .text-link { font-size: 13px; color: var(--text); }

@media (max-width: 960px) {
  .mh-footer__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .mh-footer__cols { grid-template-columns: 1fr; }
}
/* Footer social icons */
.mh-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.mh-social a { display: grid; place-items: center; width: 44px; height: 44px; color: inherit; border: 1px solid color-mix(in srgb, currentColor 45%, transparent); transition: background-color .25s, color .25s, border-color .25s; }
.mh-social .icon { width: 20px; height: 20px; }
.mh-social a:hover, .mh-social a:focus-visible { background: var(--white); color: var(--olive); border-color: var(--white); }
/* ===== FOOTER SOCIAL ICONS ===== */
.mh-social {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.mh-social li {
  margin: 0;
  padding: 0;
}

.mh-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(167, 177, 154, 0.55);
  border-radius: 50%;
  color: #2E3A2F;
  background: #FFFFFF;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.mh-social .icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mh-social li:last-child .icon {
  fill: none;
}

.mh-social li:last-child .icon path:first-child {
  fill: currentColor;
  stroke: none;
}

.mh-social li:last-child .icon path:last-child {
  fill: #FFFFFF;
  stroke: none;
}

.mh-social a:hover {
  background: #2E3A2F;
  border-color: #2E3A2F;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.mh-social a:focus-visible {
  outline: 2px solid #2E3A2F;
  outline-offset: 4px;
}

/* ===== DARK MODE ===== */
html[data-theme="dark"] .mh-social a {
  background: #111111;
  color: #A7B19A;
  border-color: #A7B19A;
}

html[data-theme="dark"] .mh-social a:hover {
  background: #A7B19A;
  color: #111111;
  border-color: #A7B19A;
}

html[data-theme="dark"] .mh-social li:last-child .icon path:last-child {
  fill: #111111;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 576px) {
  .mh-social {
    gap: 10px;
    margin-top: 16px;
  }

  .mh-social a {
    width: 38px;
    height: 38px;
  }

  .mh-social .icon {
    width: 17px;
    height: 17px;
  }
}
/* FIX: Footer social icons */
.mh-social {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.mh-social li {
  margin: 0;
  padding: 0;
}

.mh-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #A7B19A;
  border-radius: 50%;
  background: transparent;
  color: #FFFFFF;
  text-decoration: none;
  transition: 0.3s ease;
}

.mh-social a svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mh-social a:hover {
  background: #A7B19A;
  color: #2E3A2F;
  border-color: #A7B19A;
  transform: translateY(-3px);
}

/* YouTube icon */
.mh-social li:last-child a svg path:first-child {
  fill: currentColor;
  stroke: none;
}

.mh-social li:last-child a svg path:last-child {
  fill: #2E3A2F;
  stroke: none;
}

/* Mobile */
@media (max-width: 576px) {
  .mh-social a {
    width: 38px;
    height: 38px;
  }
}
.mh-social .icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.mh-social li:last-child a svg {
  width: 20px;
  height: 20px;
  fill: initial;
  stroke: none;
}

.mh-social li:last-child a svg path {
  stroke: none;
}
/* MEMORA HOUSE — Thin Golden Footer Border */
.mh-footer {
  border: 1px solid #C5A46D;
  box-sizing: border-box;
  position: relative;
}

/* Inner spacing */
.mh-footer .container {
  position: relative;
  z-index: 1;
}

/* Footer bottom divider */
.mh-footer__bar {
  border-top: 1px solid rgba(197, 164, 109, 0.45);
}

/* Responsive border */
@media (max-width: 576px) {
  .mh-footer {
    border-width: 1px;
  }
}

/* UNIQUE EDITORIAL HERO */
.mh-editorial-hero {
  --mh-primary: #2E3A2F;
  --mh-secondary: #A7B19A;
  position: relative;
  overflow: hidden;
  padding: 24px 5.5% 22px;
  background: #fff;
  color: var(--mh-primary);
}

.mh-hero-topline,
.mh-hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.mh-hero-topline {
  padding-bottom: 18px;
  border-bottom: 1px solid #dfe3db;
}

.mh-hero-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 5%;
  min-height: 610px;
  padding: 35px 0 45px;
}

.mh-hero-copy {
  position: relative;
  z-index: 2;
  padding: 25px 0;
}

.mh-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
}

.mh-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mh-secondary);
}

.mh-hero-copy h1 {
  margin: 0;
  font-size: clamp(46px, 5.3vw, 76px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -3px;
}

.mh-hero-copy h1 span {
  color: #8d9a80;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
}

.mh-hero-copy > p {
  max-width: 430px;
  margin: 25px 0 28px;
  color: #626a60;
  font-size: 15px;
  line-height: 1.9;
}

.mh-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.mh-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  padding: 0 22px;
  background: var(--mh-primary);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.25s ease;
}

.mh-hero-btn:hover {
  background: #495a47;
}

.mh-hero-btn span {
  font-size: 19px;
}

.mh-hero-text-link {
  color: var(--mh-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--mh-secondary);
  padding-bottom: 6px;
}

.mh-hero-note {
  display: flex;
  gap: 18px;
  margin-top: 66px;
  color: #72796e;
  font-size: 11px;
  letter-spacing: 1.5px;
}

.mh-hero-note span:first-child {
  color: var(--mh-primary);
  font-weight: 700;
}

.mh-hero-art {
  position: relative;
  min-width: 0;
  padding: 0 24px 35px 0;
}

.mh-art-backdrop {
  position: absolute;
  inset: 8% 0 0 12%;
  background: #e9ede5;
}

.mh-main-art {
  position: relative;
  width: 83%;
  height: 510px;
  margin: 0 auto 0 0;
  padding: 12px;
  background: #fff;
  box-shadow: 0 20px 55px rgb(46 58 47 / 12%);
}

.mh-main-art img {
  display: block;
  width: 100%;
  height: calc(100% - 29px);
  object-fit: cover;
}

.mh-main-art figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 29px;
  padding-top: 5px;
  font-size: 9px;
  letter-spacing: 1px;
}

.mh-floating-detail {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(300px, 80%);
  padding: 20px;
  background: var(--mh-primary);
  color: #fff;
  box-shadow: 0 12px 30px rgb(0 0 0 / 12%);
}

.mh-detail-number {
  align-self: flex-start;
  color: #c3cdb9;
  font-size: 12px;
}

.mh-floating-detail strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.mh-floating-detail p {
  margin: 6px 0 0;
  color: #e1e7dc;
  font-size: 12px;
  line-height: 1.6;
}

.mh-detail-arrow {
  margin-left: auto;
  align-self: flex-start;
  font-size: 18px;
}

.mh-vertical-note {
  position: absolute;
  right: 0;
  top: 15%;
  writing-mode: vertical-rl;
  color: #626a60;
  font-size: 10px;
  letter-spacing: 2px;
}

.mh-hero-bottom {
  justify-content: flex-start;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid #dfe3db;
  color: #626a60;
  font-size: 10px;
}

.mh-bottom-line {
  width: 45px;
  height: 1px;
  background: var(--mh-secondary);
}

/* TABLET */
@media (max-width: 900px) {
  .mh-hero-layout {
    grid-template-columns: 1fr 0.9fr;
    gap: 24px;
    min-height: 520px;
  }

  .mh-hero-copy h1 {
    font-size: clamp(42px, 6vw, 58px);
    letter-spacing: -2px;
  }

  .mh-main-art {
    height: 420px;
    width: 90%;
  }

  .mh-hero-note {
    margin-top: 42px;
  }

  .mh-floating-detail {
    width: 88%;
    padding: 15px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .mh-editorial-hero {
    padding: 18px 20px;
  }

  .mh-hero-topline {
    align-items: flex-start;
    font-size: 10px;
    letter-spacing: 0.7px;
  }

  .mh-hero-topline span:last-child {
    text-align: right;
  }

  .mh-hero-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
    padding: 38px 0 35px;
  }

  .mh-hero-copy {
    padding: 0;
  }

  .mh-hero-label {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .mh-hero-copy h1 {
    font-size: 34px;
    line-height: 1.06;
    letter-spacing: -2px;
  }

  .mh-hero-copy > p {
    margin: 20px 0 24px;
    font-size: 15px;
  }

  .mh-hero-actions {
    gap: 18px;
  }

  .mh-hero-btn {
    min-height: 48px;
    padding: 0 16px;
    gap: 15px;
  }

  .mh-hero-note {
    margin-top: 30px;
    font-size: 9px;
    gap: 12px;
  }

  .mh-hero-art {
    padding: 0 15px 32px 0;
  }

  .mh-main-art {
    width: 88%;
    height: 390px;
    padding: 9px;
  }

  .mh-art-backdrop {
    inset: 7% 0 0 10%;
  }

  .mh-main-art figcaption {
    font-size: 8px;
    letter-spacing: 0.5px;
  }

  .mh-floating-detail {
    width: 82%;
    gap: 10px;
    padding: 15px;
  }

  .mh-vertical-note {
    right: -2px;
    font-size: 8px;
  }

  .mh-hero-bottom {
    gap: 10px;
    font-size: 8px;
    letter-spacing: 0.6px;
  }

  .mh-bottom-line {
    width: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-hero-btn {
    transition: none;
  }
}

.mh-editorial-hero {
  --mh-primary: #2E3A2F;
  --mh-secondary: #A7B19A;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px 5.5% 22px;

  background:
    linear-gradient(
      90deg,
      rgba(20, 29, 22, 0.88) 0%,
      rgba(20, 29, 22, 0.72) 45%,
      rgba(20, 29, 22, 0.25) 100%
    ),
    url("../images/frames 4.jpg") center 45% / cover no-repeat;

  color: #FFFFFF;
}

/* Top and bottom separators */
.mh-hero-topline,
.mh-hero-bottom {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}

/* Main heading */
.mh-hero-copy h1 {
  color: #FFFFFF;
}

.mh-hero-copy h1 span {
  color: white;
}

/* Paragraph */
.mh-hero-copy > p {
  color: #F0F1ED;
}

/* Buttons */
.mh-hero-btn {
  background: #A7B19A;
  color: #172019;
}

.mh-hero-btn:hover {
  background: #FFFFFF;
  color: #172019;
}

.mh-hero-text-link {
  color: #FFFFFF;
  border-color: #A7B19A;
}

/* Hero labels */
.mh-hero-label,
.mh-hero-note,
.mh-hero-bottom,
.mh-vertical-note {
  color: #F0F1ED;
}

/* Background decoration */
.mh-art-backdrop {
  background: rgba(167, 177, 154, 0.22);
}

/* Floating information panel */
.mh-floating-detail {
  background: #2E3A2F;
  color: #FFFFFF;
}

/* MEMORA HOUSE - HERO BANNER TYPOGRAPHY ONLY */

.mh-editorial-hero .mh-hero-copy h1 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
}

.mh-editorial-hero .mh-hero-copy > p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.mh-editorial-hero .mh-hero-actions a {
  font-size: 16px;
  font-weight: 600;
}

/* Banner responsive */
@media (max-width: 600px) {
  .mh-editorial-hero .mh-hero-copy h1 {
    font-size: 36px;
  }

  .mh-editorial-hero .mh-hero-copy > p {
    font-size: 15px;
  }

  .mh-editorial-hero .mh-hero-actions a {
    font-size: 16px;
  }
}

/* ================= ABOUT PAGE (ax-) ================= */
.ax { padding-block: clamp(48px, 6vw, 88px); }
.ax--soft { background: var(--soft); }
.ax--deep { background: var(--deep); color: var(--white); --focus: var(--white); --line: rgb(255 255 255 / .3); --muted: rgb(255 255 255 / .82); }
.ax p { color: var(--muted); }
.ax-eyebrow { display: block; margin-bottom: 14px; font: 600 12px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ax-two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 5vw, 72px); align-items: end; }
.ax-two p, .ax-note { margin: 0; }
.ax-note { margin-top: 20px; max-width: 52ch; }
.ax-h { margin-bottom: clamp(20px, 3vw, 36px); }

/* 1 hero */
.ax-hero { position: relative; display: grid; align-content: space-between; gap: 48px; min-height: min(78svh, 620px); padding: clamp(32px, 5vw, 56px) clamp(32px, 6vw, 80px); background: var(--deep); color: var(--white); --focus: var(--white); overflow: hidden; }
.ax-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .45; }
.ax-hero::before { content: ""; position: absolute; inset: 16px; z-index: 1; border: 1px solid rgb(255 255 255 / .35); pointer-events: none; }
.ax-hero > :not(img) { position: relative; z-index: 2; }
.ax-crumb { margin: 0; font-size: 13px; }
.ax-crumb a { text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .45); }
.ax-hero__body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(20px, 5vw, 64px); align-items: end; }
.ax-hero h1 { max-width: 14ch; }
.ax-hero p { margin: 0; color: rgb(255 255 255 / .9); }

/* 2 story */
.ax-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.ax-story h2 { margin-bottom: 18px; font-size: clamp(22px, 3vw, 24px); line-height: 1.45; }
.ax-collage { position: relative; padding-bottom: 14%; }
.ax-collage .frame { width: 68%; margin-inline-start: auto; }
.ax-collage__bench { position: absolute; bottom: 0; inset-inline-start: 0; width: 46%; aspect-ratio: 4 / 3; object-fit: cover; border: 8px solid var(--bg); outline: 1px solid var(--line); }

/* 3 ruler */
.ax-ruler { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(28px, 4vw, 48px); padding-top: 52px; border-top: 1px solid var(--text); counter-reset: r; }
.ax-ruler::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 30px; background: repeating-linear-gradient(90deg, var(--text) 0 1px, transparent 1px 12px) top / 100% 10px no-repeat, repeating-linear-gradient(90deg, var(--text) 0 1px, transparent 1px 60px) top / 100% 24px no-repeat; }
.ax-ruler li { padding-inline-end: 28px; }
.ax-ruler h3 { margin-bottom: 8px; font-size: 17px; }
.ax-ruler p { margin: 0; }

/* 4 philosophy */
.ax-phil { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.ax-phil h2 { font-size: clamp(28px, 5vw, 36px); line-height: 1.25; }
.ax-phil h2 span { color: var(--sage); }
.ax-phil p { margin: 0; }
.ax-eq { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: clamp(28px, 4vw, 48px); padding-top: 22px; border-top: 1px solid var(--line); font: 600 18px var(--font-head); }
.ax-eq li:nth-child(even) { color: var(--sage); }

/* 5 preservation */
.ax-pres { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.ax-pres h2 { margin-bottom: 14px; }
.ax-layers li { display: grid; grid-template-columns: minmax(110px, 190px) minmax(0, 1fr); gap: 24px; align-items: center; padding-block: 14px; border-top: 1px solid var(--line); }
.ax-layers li:last-child { border-bottom: 1px solid var(--line); }
.ax-layers h3 { margin-bottom: 2px; font-size: 17px; }
.ax-layers p { margin: 0; }
.ax-slab { display: block; height: 40px; border: 1px solid var(--text); }
.ax-slab--glass { height: 14px; background: color-mix(in srgb, var(--sage) 35%, transparent); }
.ax-slab--mat { height: 26px; background: var(--white); }
.ax-slab--art { height: 8px; background: var(--sage); }
.ax-slab--back { height: 34px; background: var(--olive); }

/* 6 sample board */
.ax-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.5vw, 32px); margin-top: clamp(28px, 4vw, 48px); }
.ax-board li { padding: 10px 10px 16px; background: var(--bg); outline: 1px solid var(--line); box-shadow: 0 14px 20px -16px rgb(0 0 0 / .45); transition: transform .3s; }
.ax-board li:nth-child(odd) { transform: rotate(-1.6deg); }
.ax-board li:nth-child(even) { transform: rotate(1.4deg) translateY(14px); }
.ax-board li:hover { transform: none; }
.ax-board img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 12px; }
.ax-board strong { display: block; font: 600 16px var(--font-head); }
.ax-board span { font-size: 13px; color: var(--muted); }

/* 7 picture rail */
.ax-rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); align-items: start; margin-top: clamp(28px, 4vw, 48px); border-top: 3px solid var(--text); }
.ax-rail li { --drop: 40px; position: relative; padding-top: var(--drop); }
.ax-rail li:nth-child(2n) { --drop: 84px; }
.ax-rail li:nth-child(3n) { --drop: 62px; }
.ax-rail li::before { content: ""; position: absolute; top: 0; inset-inline-start: 50%; height: var(--drop); border-inline-start: 1px solid var(--text); }
.ax-rail li::after { content: ""; position: absolute; top: -6px; inset-inline-start: 50%; width: 9px; height: 9px; margin-inline-start: -4px; background: var(--text); }
.ax-rail strong { display: block; margin-top: 14px; font: 600 16px var(--font-head); }
.ax-rail span { font-size: 13px; color: var(--muted); }

/* 8 stacked steps */
.ax-steps li { position: sticky; top: calc(var(--header-h) + 12px); display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 28px; align-items: baseline; margin-bottom: 14px; padding: 26px clamp(18px, 3vw, 36px); background: var(--bg); border: 1px solid var(--line); }
.ax-steps li:nth-child(2) { top: calc(var(--header-h) + 26px); }
.ax-steps li:nth-child(3) { top: calc(var(--header-h) + 40px); }
.ax-steps li:nth-child(4) { top: calc(var(--header-h) + 54px); background: var(--deep); color: var(--white); --muted: rgb(255 255 255 / .85); }
.ax-steps b { font: 600 28px var(--font-head); color: var(--sage); }
.ax-steps p { margin: 0; }

/* 9 compare */
.ax-cmp { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3.4fr) minmax(0, 4fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.ax-cmp h2 { margin-bottom: 14px; }
.ax-cmp figcaption { margin-top: 14px; text-align: center; font-weight: 600; }
.ax-loud { --f-w: clamp(22px, 3.4vw, 40px); --mat: 3%; --f-color: var(--black); }

/* 10 inspection tag */
.ax-qual { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.ax-tag { padding: clamp(22px, 4vw, 40px); background: var(--bg); color: var(--text); --muted: color-mix(in srgb, var(--text) 68%, var(--bg)); --line: color-mix(in srgb, var(--text) 30%, transparent); outline: 1px dashed var(--line); outline-offset: -10px; }
.ax-tag__top { margin: 0 0 8px; font: 600 12px var(--font-body); letter-spacing: .18em; text-transform: uppercase; }
.ax-tag h2 { margin-bottom: 16px; }
.ax-tag li { padding: 10px 0 10px 32px; position: relative; border-top: 1px solid var(--line); }
.ax-tag li::before { content: "\2713"; position: absolute; inset-inline-start: 0; top: 8px; width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid var(--text); font-size: 12px; }
.ax-tag__sign { margin: 18px 0 0; padding-top: 10px; border-top: 1px solid var(--text); font-size: 13px; }
.ax-qual img { width: 100%; aspect-ratio: 8 / 9; object-fit: cover; outline: 1px solid var(--line); outline-offset: 10px; }

/* 11 fill-in sentence */
.ax-pers { max-width: 960px; }
.ax-mad { max-width: 28ch; margin: 0; font: 600 clamp(26px, 4.6vw, 44px)/1.6 var(--font-head); color: var(--text); }
.ax .ax-mad { color: var(--text); max-width: 30ch; }
.ax-mad u { text-decoration: none; border-bottom: 3px solid var(--sage); }
.ax-pers .btn { margin-top: 24px; }

/* 12 visit */
.ax-visit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
.ax-map { position: relative; min-height: 380px; display: grid; place-items: center; background: var(--bg) repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 44px), repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 44px); outline: 1px solid var(--line); }
.ax-map em { position: absolute; inset-block-end: 14px; inset-inline-start: 16px; font-size: 12px; color: var(--muted); }
.ax-pin { width: 22px; height: 22px; background: var(--olive); border: 4px solid var(--sage); transform: rotate(45deg); }
.ax-info { position: relative; margin-inline-start: -56px; padding: clamp(22px, 4vw, 40px); background: var(--bg); outline: 1px solid var(--line); }
.ax-info h2 { margin-bottom: 14px; }
.ax-info dl { margin: 0 0 18px; }
.ax-info dl div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding-block: 10px; border-top: 1px solid var(--line); }
.ax-info dt { font: 600 12px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ax-info dd { margin: 0; }

@media (max-width: 900px) {
  .ax-two, .ax-hero__body, .ax-story, .ax-phil, .ax-pres, .ax-qual, .ax-visit { grid-template-columns: 1fr; }
  .ax-ruler { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .ax-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
  .ax-board li:nth-child(even) { transform: rotate(1.4deg); }
  .ax-steps li { grid-template-columns: 56px minmax(0, 1fr); }
  .ax-steps li p { grid-column: 2; }
  .ax-cmp { grid-template-columns: 1fr 1fr; }
  .ax-cmp > div { grid-column: 1 / -1; order: -1; }
  .ax-info { margin-inline: 16px; margin-top: -48px; }
  .ax-map { min-height: 280px; }
}
@media (max-width: 520px) {
  .ax-ruler, .ax-cmp { grid-template-columns: 1fr; }
  .ax-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-layers li { grid-template-columns: 90px minmax(0, 1fr); gap: 16px; }
  .ax-steps li { position: static; }
}
/* LOGIN — CENTER BRAND & CONTENT */
.au-form-panel .au-inner > .au-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 0 auto 28px;
}

.au-form-panel #login-title {
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.au-form-panel .au-lead {
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Right-side login artwork — separate premium section */
.au-art-panel {
  position: relative;
  background: #26352A;
  border: 2px solid #C9A45C;
  box-sizing: border-box;
  margin: 18px;
  min-height: calc(100% - 36px);
  border-radius: 4px;
}

/* Keep artwork content centered */
.au-art-panel > * {
  position: relative;
  z-index: 1;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .au-art-panel {
    margin: 12px;
    min-height: auto;
    padding: 32px 20px;
  }
}

.au-social-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 18px;
  color: #6B7280;
  font-size: 14px;
}

.au-social-divider::before,
.au-social-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #D8D8D8;
}

.au-social {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.au-social-btn {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 8px;
  border: 1px solid #C9A45C;
  border-radius: 6px;
  background: #FFFFFF;
  color: #2E3A2F;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.au-social-btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.au-social-btn:hover {
  background: #2E3A2F;
  color: #FFFFFF;
}

.au-social-note {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #666666;
}

@media (max-width: 420px) {
  .au-social {
    grid-template-columns: 1fr;
  }
}

/* Register page — center brand, heading and description only */
.au-form-panel .au-inner--wide > .au-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 0 auto 28px;
  text-align: center;
}

.au-form-panel #reg-title {
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.au-form-panel .au-lead {
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* SERVICES — FULL-WIDTH EDITORIAL HERO */
.sv-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 600px;
  padding: 60px 5.5% 58px;
  box-sizing: border-box;
  overflow: hidden;
  color: #FFFFFF;
  background:
    url("../images/services-gallery.jpg")
    center 48% / cover no-repeat;
}

.sv-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(20, 32, 24, 0.72) 0%,
    rgba(20, 32, 24, 0.42) 55%,
    rgba(20, 32, 24, 0.68) 100%
  );
}

.sv-hero__content {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.sv-crumb {
  margin: 0 0 110px;
  font-size: 15px;
  color: #FFFFFF;
}

.sv-crumb a {
  color: #FFFFFF;
  text-decoration: none;
}

.sv-crumb a:hover {
  color: #D9C28E;
}

.sv-hero__bottom {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: end;
  gap: clamp(32px, 7vw, 100px);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.sv-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #D9C28E;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
}

.sv-hero__heading h1 {
  max-width: 650px;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 600;
  line-height: 1.12;
}

.sv-hero__description {
  max-width: 470px;
  justify-self: end;
}

.sv-hero__description p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.85;
  color: #F2F0E8;
}

.sv-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #C9A45C;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.sv-hero__link span {
  color: #D9C28E;
  font-size: 20px;
  transition: transform .25s ease;
}

.sv-hero__link:hover span {
  transform: translate(3px, -3px);
}

/* TABLET */
@media (max-width: 900px) {
  .sv-hero {
    min-height: 560px;
  }

  .sv-crumb {
    margin-bottom: 90px;
  }

  .sv-hero__bottom {
    grid-template-columns: 1fr 0.8fr;
    gap: 30px;
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .sv-hero {
    min-height: 620px;
    padding: 35px 6% 38px;
    background-position: center;
  }

  .sv-crumb {
    margin-bottom: 100px;
  }

  .sv-hero__bottom {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 22px;
  }

  .sv-hero__heading h1 {
    font-size: 38px;
  }

  .sv-hero__description {
    justify-self: start;
  }

  .sv-hero__description p {
    font-size: 15px;
  }
}

/* MEMORA HOUSE — Services typography */
.sv-hero__heading h1 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
}

.sv-hero__description p {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

.sv-hero__link {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

/* Breadcrumb */
.sv-crumb {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
}

/* Eyebrow text */
.sv-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

/* Mobile — retain the same H1 size */
@media (max-width: 640px) {
  .sv-hero__heading h1 {
    font-size: 36px;
  }
}

/* Services Hero — Center Content */
.sv-hero {
  justify-content: center;
  text-align: center;
}

.sv-hero__content {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
}

.sv-crumb {
  text-align: center;
}

.sv-hero__bottom {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.sv-hero__heading {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sv-hero__heading h1 {
  max-width: 750px;
  margin-inline: auto;
  text-align: center;
  font-size: 36px;
  font-weight: 600;
}

.sv-hero__description {
  width: 100%;
  max-width: 650px;
  justify-self: center;
  margin-inline: auto;
  text-align: center;
}

.sv-hero__description p {
  font-size: 15px;
  font-weight: 400;
  text-align: center;
}

.sv-hero__link {
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .sv-hero {
    padding: 35px 6%;
  }

  .sv-hero__heading h1 {
    font-size: 36px;
  }
}

/* Services Hero — Strong Dark Green Overlay */
.sv-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(20, 32, 24, 0.88) 0%,
    rgba(20, 32, 24, 0.78) 50%,
    rgba(20, 32, 24, 0.88) 100%
  );
}
/* Service 04 display case */
.sv-casewrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.sv-case { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "a a b" "c d b"; gap: 10px; padding: 10px; border: clamp(10px, 1.6vw, 16px) solid var(--olive); background: var(--bg); outline: 1px solid var(--line); outline-offset: 8px; }
.sv-case__cell { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 150px; padding: 18px; background: var(--soft); border: 1px solid var(--line); }
.sv-case__cell--a { grid-area: a; }
.sv-case__cell--b { grid-area: b; }
.sv-case__cell--c { grid-area: c; }
.sv-case__cell--d { grid-area: d; }
.sv-case__cell b { margin-bottom: auto; font: 600 14px var(--font-head); color: var(--muted); }
.sv-case__cell h3 { margin: 0; font-size: 18px; }
.sv-case__cell p { margin: 0; font-size: 14px; }
.sv-facts { margin: 20px 0; }
.sv-facts div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding-block: 12px; border-top: 1px solid var(--line); }
.sv-facts div:last-child { border-bottom: 1px solid var(--line); }
.sv-facts dt { font: 600 12px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sv-facts dd { margin: 0; }
@media (max-width: 900px) { .sv-casewrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sv-case { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d"; } }
/* Service process: who does what */
.sv-who { margin-top: clamp(24px, 4vw, 44px); }
.sv-who ol { counter-reset: who; }
.sv-who__head, .sv-who li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); gap: clamp(16px, 3vw, 40px); }
.sv-who__head { padding-bottom: 12px; font: 600 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sv-who li { counter-increment: who; align-items: start; padding-block: 22px; border-top: 1px solid var(--line); }
.sv-who li:last-child { border-bottom: 1px solid var(--line); }
.sv-who h3 { margin: 0; font-size: 20px; }
.sv-who h3::before { content: counter(who, decimal-leading-zero); display: block; margin-bottom: 4px; font: 600 14px var(--font-head); color: var(--muted); }
.sv-who li p { margin: 0; }
.sv-who li p:last-child { padding: 14px 18px; background: var(--soft); border-inline-start: 3px solid var(--olive); }
.sv-who__l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) {
  .sv-who__head { display: none; }
  .sv-who li { grid-template-columns: 1fr; gap: 12px; }
  .sv-who__l { position: static; display: block; width: auto; height: auto; clip: auto; margin-bottom: 2px; font: 600 11px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
}

/* Services hero — line and spacing adjustment */
.sv-hero__bottom {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.sv-hero__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* Main heading */
.sv-hero__heading h1 {
  margin: 0;
  max-width: 800px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
}

/* Reduce gap between heading and description */
.sv-hero__description {
  width: 100%;
  max-width: 650px;
  justify-self: center;
  margin: 0 auto;
}

.sv-hero__description p {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

/* Explore services link */
.sv-hero__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 0;
  font-size: 16px;
  font-weight: 600;
}

/* Breadcrumb spacing */
.sv-crumb {
  margin: 0 0 75px;
  text-align: center;
}

@media (max-width: 640px) {
  .sv-crumb {
    margin-bottom: 55px;
  }

  .sv-hero__bottom {
    gap: 16px;
    padding-top: 22px;
  }

  .sv-hero__heading {
    gap: 10px;
  }

  .sv-hero__heading h1 {
    font-size: 36px;
  }

  .sv-hero__description p {
    margin-bottom: 12px;
  }
}
/* Services hero: remove line and tighten spacing */
.sv-hero {
  align-items: center;
  min-height: 440px;
  padding: clamp(48px, 6vw, 72px) 5.5%;
}
.sv-hero__bottom {
  border-top: 0;
  padding-top: 0;
}
.sv-crumb {
  margin: 0 0 28px;
}
@media (max-width: 640px) {
  .sv-hero {
    padding: 40px 6%;
  }
  .sv-crumb {
    margin-bottom: 24px;
  }
}
.sv-hero {
  align-items: center;
  min-height: clamp(600px, 68vh, 640px);
  padding: clamp(48px, 6vw, 72px) 5.5%;
}
/* Service details hero: background image only */
.sd-hero {
  position: relative;
  isolation: isolate;
  color: #FFFFFF;
  background: url("../images/services-gallery.jpg") center / cover no-repeat;
}
.sd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(20, 32, 24, 0.82);
}
.sd-hero h1,
.sd-crumb,
.sd-hero__lead {
  color: #FFFFFF;
}
.sd-crumb a {
  border-bottom-color: rgba(255, 255, 255, 0.45);
}
.sd-hero {
  min-height: 600px;
}

/* GALLERY HERO BANNER */
.gl-hero {
  position: relative;
  isolation: isolate;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #FFFFFF;
  background:
    url("../images/gallery-hero.jpg")
    center 48% / cover no-repeat;
}

.gl-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(15, 28, 21, 0.88) 0%,
    rgba(23, 37, 29, 0.72) 52%,
    rgba(15, 28, 21, 0.48) 100%
  );
}

.gl-hero__inner {
  position: relative;
  width: 100%;
  padding-top: 38px;
  padding-bottom: 42px;
}

.gl-hero__crumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 42px;
  font-size: 15px;
  font-weight: 400;
}

.gl-hero__crumb a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.gl-hero__content {
  max-width: 850px;
  margin: 0 auto;
  padding: 34px 20px 30px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.48);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.gl-hero__eyebrow {
  display: block;
  margin-bottom: 20px;
  color: #D8C49A;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
}

.gl-hero__content h1 {
  margin: 0 0 20px;
  color: #FFFFFF;
  font-family: "Playfair Display", serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.35;
}

.gl-hero__content h1 span {
  color: #D8C49A;
}

.gl-hero__content > p {
  max-width: 560px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

.gl-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 7px;
  color: #FFFFFF;
  border-bottom: 1px solid #D8C49A;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.gl-hero__link span {
  color: #D8C49A;
  font-size: 20px;
}

.gl-hero__index {
  display: block;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  letter-spacing: 2px;
  text-align: right;
}

@media (max-width: 600px) {
  .gl-hero {
    min-height: 470px;
    background-position: center;
  }

  .gl-hero__inner {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .gl-hero__crumb {
    margin-bottom: 28px;
  }

  .gl-hero__content {
    padding: 28px 6px;
  }

  .gl-hero__content h1 {
    font-size: 30px;
  }

  .gl-hero__eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .gl-hero__index {
    font-size: 10px;
    letter-spacing: 1px;
  }
}


/* GALLERY HERO — CENTERED CONTENT */
.gl-hero {
  position: relative;
  isolation: isolate;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #FFFFFF;
  background:
    url("../images/gallery-hero.jpg")
    center / cover no-repeat;
}

.gl-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(17, 34, 25, 0.78);
}

.gl-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 35px 24px;
  text-align: center;
}

.gl-hero__crumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 30px;
  font-size: 15px;
  text-align: center;
}

.gl-hero__content {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: 30px 15px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.gl-hero__eyebrow {
  display: block;
  margin-bottom: 18px;
  color: #D8C49A;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
}

.gl-hero__content h1 {
  margin: 0 auto 18px;
  color: #FFFFFF;
  font-family: "Playfair Display", serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.gl-hero__content h1 span {
  color: #D8C49A;
}

.gl-hero__content > p {
  max-width: 560px;
  margin: 0 auto 22px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
}

.gl-hero__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #D8C49A;
  padding-bottom: 8px;
}

.gl-hero__index {
  display: block;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  letter-spacing: 2px;
  text-align: center;
}

@media (max-width: 600px) {
  .gl-hero {
    min-height: 470px;
  }

  .gl-hero__inner {
    padding: 28px 18px;
  }

  .gl-hero__crumb {
    margin-bottom: 24px;
  }

  .gl-hero__content {
    padding: 25px 5px;
  }

  .gl-hero__content h1 {
    font-size: 30px;
  }

  .gl-hero__eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
  }
}
.gl-hero {
  min-height: 600px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #FFFFFF;
  background: url("../images/gallery-hero.jpg") center / cover no-repeat;
}
/* Contact hero banner */
.cth-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(500px, 68vh, 640px);
  padding: clamp(48px, 6vw, 72px) 5.5%;
  box-sizing: border-box;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  background: url("../images/contact gallery.jpg") center / cover no-repeat;
}
.cth-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(20, 32, 24, 0.82);
}
.cth-hero__content {
  width: 100%;
  max-width: 750px;
  margin-inline: auto;
}
.cth-crumb {
  margin: 0 0 28px;
  font: 400 15px "Inter", sans-serif;
  color: #FFFFFF;
}
.cth-crumb a {
  color: #FFFFFF;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}
.cth-crumb a:hover {
  color: var(--sage);
}
.cth-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--sage);
  font: 600 15px "Inter", sans-serif;
  letter-spacing: 3px;
}
.cth-hero h1 {
  margin: 0 0 16px;
  font: 600 36px/1.3 "Playfair Display", serif;
  color: #FFFFFF;
}
.cth-lead {
  max-width: 650px;
  margin: 0 auto 22px;
  font: 400 15px/1.8 "Inter", sans-serif;
  color: #F2F0E8;
}
.cth-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--sage);
  color: #FFFFFF;
  font: 600 16px "Inter", sans-serif;
  text-decoration: none;
}
.cth-link span {
  color: var(--sage);
  font-size: 20px;
  transition: transform .25s ease;
}
.cth-link:hover span {
  transform: translate(3px, -3px);
}
@media (max-width: 640px) {
  .cth-hero {
    padding: 40px 6%;
  }
}
/* Contact hero: centre all content */
.cth-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cth-crumb,
.cth-hero h1,
.cth-lead {
  margin-inline: auto;
  max-width: 650px;
  text-align: center;
}
.cth-crumb {
  margin-bottom: 28px;
}
.cth-hero h1 {
  margin-bottom: 16px;
}
.cth-lead {
  margin-bottom: 22px;
}
.cth-hero {
  min-height: 600px;
}
/* Framing styles paragraph alignment */
#styles .sec-head > p {
  text-align: justify;
  text-justify: inter-word;
}

/* Pre-footer CTA paragraph justification */
.prefoot .footer__cta > p {
  text-align: justify;
  text-justify: inter-word;
}
/* About – Preservation section paragraph justification */
#preservation .ab-body p {
  text-align: justify;
  text-justify: inter-word;
}
/* Materials section paragraph justification */
#materials p {
  text-align: justify;
  text-justify: inter-word;
}
/* Personalised Experience – Paragraph Justification */
#personal .ab-body p {
  text-align: justify;
  text-justify: inter-word;
}
/* About Hero – Center Content */
.ax-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: 100px 24px;
  overflow: hidden;
}

.ax-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.ax-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 1;
}

.ax-hero .ax-crumb,
.ax-hero .ax-hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.ax-hero .ax-crumb {
  position: absolute;
  top: 28px;
  left: 0;
  margin: 0;
}

.ax-hero__body {
  max-width: 800px;
  margin: 0 auto;
}

.ax-hero__body h1 {
  margin-bottom: 20px;
}

.ax-hero__body p {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .ax-hero {
    min-height: 500px;
    padding: 90px 20px 60px;
  }

  .ax-hero .ax-crumb {
    top: 20px;
  }

  .ax-hero__body h1 {
    font-size: 32px;
  }
}
/* About hero: force centred layout */
.ax-hero__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}
.ax-hero__body h1 {
  max-width: none;
  margin: 0 0 20px;
  text-align: center;
}
.ax-hero__body p {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}
.ax-hero .ax-crumb {
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  text-align: center;
}
/* About hero: tighten gap between heading and paragraph */
.ax-hero__body {
  gap: 0;
}
.ax-hero__body h1 {
  margin: 0 0 16px;
}
/* Story Section – Paragraph Justification */
#story .ax-story > div:first-child p {
  text-align: justify;
  text-justify: inter-word;
}
/* Preservation Section – Paragraph Justification */
#preservation .ax-pres > div:first-child p,
#preservation .ax-layers p {
  text-align: justify;
  text-justify: inter-word;
}
/* Design Perspective – Paragraph Justification */
#design .ax-cmp > div p {
  text-align: justify;
  text-justify: inter-word;
}
/* Service Overview – Paragraph Justification */
#overview p {
  text-align: justify;
  text-justify: inter-word;
}
/* Request a Framing Quote – Paragraph Justification */
#quote p {
  text-align: justify;
  text-justify: inter-word;
}

/* ========================================
   STUDIO MAP — MEMORA HOUSE
======================================== */

.ct-map {
  padding-top: 90px;
  padding-bottom: 100px;
  background: #f5f6f1;
  color: #2e3a2f;
}

.ct-map__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.ct-map__head > div {
  max-width: 650px;
}

.ct-map__eyebrow,
.ct-map__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ct-map__eyebrow {
  margin-bottom: 14px;
  color: #66765e;
}

.ct-map__head h2 {
  margin: 0 0 16px;
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
}

.ct-map__head > div > p {
  max-width: 580px;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-word;
}

.ct-map__head > .btn {
  flex-shrink: 0;
  text-decoration: none;
}

.ct-map__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
  min-height: 430px;
  background: #fff;
  border: 1px solid rgba(46, 58, 47, 0.14);
}

.ct-map__frame {
  min-height: 430px;
  overflow: hidden;
  background: #e6e9e1;
}

.ct-map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  filter: grayscale(25%);
}

.ct-map__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(26px, 4vw, 48px);
}

.ct-map__pin {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border: 1px solid #a7b19a;
  border-radius: 50%;
  font-size: 26px;
}

.ct-map__label {
  margin: 0 0 12px;
  color: #68765f;
}

.ct-map__info h3 {
  margin: 0 0 20px;
  font-family: "Playfair Display", serif;
  font-size: 27px;
  line-height: 1.3;
}

.ct-map__address {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.ct-map__rule {
  width: 100%;
  height: 1px;
  margin: 24px 0;
  background: #dce1d7;
}

.ct-map__note {
  margin: 0 0 22px;
  color: #596357;
  font-size: 15px;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-word;
}

.ct-map__textlink {
  color: #2e3a2f;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.ct-map__textlink:hover {
  color: #66765e;
}

/* Tablet */
@media (max-width: 900px) {
  .ct-map__layout {
    grid-template-columns: 1fr;
  }

  .ct-map__frame,
  .ct-map__frame iframe {
    min-height: 360px;
  }

  .ct-map__info {
    padding: 32px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .ct-map {
    padding-top: 60px;
    padding-bottom: 65px;
  }

  .ct-map__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 26px;
  }

  .ct-map__head h2 {
    font-size: 32px;
  }

  .ct-map__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .ct-map__frame,
  .ct-map__frame iframe {
    min-height: 300px;
  }

  .ct-map__info {
    padding: 26px 22px;
  }

  .ct-map__info h3 {
    font-size: 24px;
  }
}

/* Dark mode */
html[data-theme="dark"] .ct-map {
  background: #171b17;
  color: #f4f4ed;
}

html[data-theme="dark"] .ct-map__layout {
  background: #202620;
  border-color: #3a4439;
}

html[data-theme="dark"] .ct-map__eyebrow,
html[data-theme="dark"] .ct-map__label,
html[data-theme="dark"] .ct-map__note {
  color: #c0cbb8;
}

html[data-theme="dark"] .ct-map__rule {
  background: #3a4439;
}

html[data-theme="dark"] .ct-map__textlink {
  color: #e1e8dc;
}
/* Contact map: live embed */
.ct-map--live {
  display: block;
  min-height: 0;
  padding: 0;
  background: none;
}
.ct-map--live iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}
@media (max-width: 640px) {
  .ct-map--live iframe {
    height: 320px;
  }
}
/* Contact map: more space below the map */
#map {
  padding-bottom: clamp(80px, 10vw, 140px);
}

/* ==========================================
   MEMORA HOUSE — 404 PAGE
========================================== */

.error-page {
  --error-olive: #2E3A2F;
  --error-sage: #A7B19A;
  --error-paper: #F5F5EF;
  --error-ink: #20261F;
  --error-muted: #697166;

  background: var(--error-paper);
  color: var(--error-ink);
}

.error-page .site-header {
  position: relative;
}

.error-page .error-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.error-page .error-nav-actions .btn {
  min-width: 140px;
}

.error-main {
  overflow: hidden;
}

.error-section {
  position: relative;
  padding: clamp(64px, 9vw, 110px) 0 30px;
  background:
    radial-gradient(
      ellipse at 78% 40%,
      rgba(167, 177, 154, 0.22),
      transparent 40%
    ),
    var(--error-paper);
}

.error-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
  min-height: 560px;
}

/* Text area */

.error-copy {
  position: relative;
  z-index: 2;
  max-width: 550px;
}

.error-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 26px;
  color: #65745C;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.error-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--error-sage);
  box-shadow: 0 0 0 5px rgba(167, 177, 154, 0.2);
}

.error-copy h1 {
  max-width: 540px;
  margin: 0 0 22px;
  color: var(--error-olive);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -1.6px;
}

.error-copy h1 em {
  color: #7B8A6D;
  font-weight: 600;
}

.error-description {
  max-width: 440px;
  margin: 0;
  color: var(--error-muted);
  font-size: 15px;
  line-height: 1.9;
}

.error-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 32px;
}

.error-home-btn {
  min-height: 54px;
  padding: 14px 23px;
  background: var(--error-olive);
  color: #fff;
  gap: 16px;
}

.error-home-btn:hover {
  background: #465642;
  color: #fff;
}

.error-home-btn .icon {
  transition: transform 0.25s ease;
}

.error-home-btn:hover .icon {
  transform: translateX(4px);
}

.error-text-link {
  color: var(--error-olive);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.error-divider {
  width: 100%;
  max-width: 390px;
  height: 1px;
  margin: 38px 0 20px;
  background: rgba(46, 58, 47, 0.18);
}

.error-help {
  max-width: 440px;
  margin: 0;
  color: var(--error-muted);
  font-size: 15px;
  line-height: 1.9;
}

.error-help a {
  color: var(--error-olive);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* Decorative artwork */

.error-art {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 490px;
  margin-inline: auto;
  isolation: isolate;
}

.error-art::before {
  content: "";
  position: absolute;
  top: 8%;
  right: 0;
  width: 80%;
  height: 78%;
  border: 1px solid rgba(46, 58, 47, 0.17);
  transform: rotate(5deg);
  z-index: -1;
}

.error-art__label,
.error-art__caption {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #68745F;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.error-art__label {
  top: 0;
}

.error-art__label span:first-child {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid var(--error-sage);
  border-radius: 50%;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 12px;
  letter-spacing: 0;
}

.error-art__caption {
  bottom: 0;
  padding-top: 17px;
  border-top: 1px solid rgba(46, 58, 47, 0.2);
  font-size: 9px;
}

.error-frame {
  position: absolute;
  display: block;
  padding: 13px;
  background: var(--error-olive);
  box-shadow: 0 25px 50px rgba(32, 38, 31, 0.15);
}

.error-frame--back {
  top: 12%;
  right: 1%;
  width: 59%;
  transform: rotate(7deg);
  background: #A7B19A;
}

.error-frame--front {
  top: 15%;
  left: 6%;
  width: 67%;
  transform: rotate(-5deg);
  z-index: 2;
}

.error-frame__mat {
  padding: 9%;
  background: #FDFCF7;
}

.error-artwork {
  position: relative;
  width: 100%;
  aspect-ratio: 0.82;
  overflow: hidden;
  background: #D8DCCF;
}

.error-artwork--back {
  background: #E9E6DB;
}

.artwork-sun {
  position: absolute;
  top: 12%;
  right: 17%;
  width: 32%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #A7B19A;
}

.artwork-arch {
  position: absolute;
  bottom: -4%;
  left: 12%;
  width: 67%;
  height: 69%;
  border: 13px solid #2E3A2F;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.artwork-arch::after {
  content: "";
  position: absolute;
  top: 19%;
  left: 16%;
  width: 68%;
  height: 81%;
  border: 2px solid rgba(46, 58, 47, 0.45);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.artwork-ground {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 19%;
  background: #A7B19A;
}

.artwork-circle {
  position: absolute;
  top: 12%;
  left: 15%;
  width: 35%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #B9A78B;
}

.artwork-hill {
  position: absolute;
  right: -12%;
  bottom: -17%;
  width: 100%;
  height: 65%;
  border-radius: 50% 50% 0 0;
  background: #65745C;
  transform: rotate(-13deg);
}

.error-number {
  position: absolute;
  right: -1%;
  bottom: 10%;
  z-index: 3;
  color: var(--error-olive);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(76px, 10vw, 120px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -8px;
  text-shadow: 3px 4px 0 var(--error-paper);
  pointer-events: none;
}

.error-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
  padding: 22px 24px;
  border-top: 1px solid rgba(46, 58, 47, 0.14);
  color: #68745F;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.error-bottom-line {
  width: 45px;
  height: 1px;
  background: var(--error-sage);
}

/* Footer */

.error-footer {
  background: var(--error-olive);
  color: #fff;
}

.error-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 30px;
}

.error-footer .brand {
  font-size: 15px;
}

.error-footer .brand .icon {
  width: 30px;
  height: 30px;
}

.error-footer__inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.error-footer-link {
  font-size: 13px;
  font-weight: 600;
  text-underline-offset: 5px;
}

/* Tablet */

@media (max-width: 900px) {
  .error-layout {
    grid-template-columns: 1fr 0.85fr;
    gap: 35px;
    min-height: 500px;
  }

  .error-art {
    min-height: 400px;
  }

  .error-frame--front {
    left: 1%;
  }

  .error-number {
    font-size: 88px;
  }
}

/* Mobile */

@media (max-width: 640px) {
  .error-page .nav {
    gap: 12px;
  }

  .error-page .brand {
    gap: 8px;
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  .error-page .brand .icon {
    width: 30px;
    height: 30px;
  }

  .error-page .error-nav-actions {
    gap: 7px;
  }

  .error-page .error-nav-actions .icon-btn {
    width: 38px;
    height: 38px;
  }

  .error-page .error-nav-actions .btn {
    display: none;
  }

  .error-section {
    padding-top: 55px;
  }

  .error-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .error-copy h1 {
    font-size: clamp(38px, 10vw, 52px);
    letter-spacing: -1px;
  }

  .error-description {
    max-width: 100%;
  }

  .error-actions {
    align-items: flex-start;
    gap: 20px;
  }

  .error-art {
    max-width: 410px;
    min-height: 390px;
    width: 100%;
  }

  .error-frame--front {
    left: 7%;
    width: 65%;
  }

  .error-frame--back {
    right: 3%;
    width: 57%;
  }

  .error-number {
    right: 0;
    bottom: 9%;
    font-size: 82px;
    letter-spacing: -5px;
  }

  .error-bottom {
    gap: 10px;
    margin-top: 40px;
    padding-inline: 12px;
    font-size: 8px;
    letter-spacing: 1px;
  }

  .error-bottom-line {
    width: 20px;
  }

  .error-footer__inner {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
  }

  .error-footer__inner p {
    flex-basis: 100%;
    order: 3;
  }
}

/* Small phones */

@media (max-width: 380px) {
  .error-page .brand {
    font-size: 12px;
  }

  .error-page .brand .icon {
    width: 26px;
    height: 26px;
  }

  .error-page .error-nav-actions .icon-btn {
    width: 34px;
    height: 34px;
  }

  .error-home-btn {
    padding-inline: 15px;
  }

  .error-art {
    min-height: 330px;
  }

  .error-number {
    font-size: 68px;
  }
}

/* Dark mode */

html[data-theme="dark"] .error-page,
html[data-theme="dark"] body.error-page {
  --error-paper: #171B17;
  --error-ink: #F4F4ED;
  --error-muted: #C1C7BB;
  background: #171B17;
  color: #F4F4ED;
}

html[data-theme="dark"] .error-section {
  background:
    radial-gradient(
      ellipse at 78% 40%,
      rgba(167, 177, 154, 0.10),
      transparent 40%
    ),
    #171B17;
}

html[data-theme="dark"] .error-copy h1,
html[data-theme="dark"] .error-number,
html[data-theme="dark"] .error-text-link,
html[data-theme="dark"] .error-help a {
  color: #F0F1E8;
}

html[data-theme="dark"] .error-eyebrow,
html[data-theme="dark"] .error-art__label,
html[data-theme="dark"] .error-art__caption,
html[data-theme="dark"] .error-bottom {
  color: #C1CBB7;
}

html[data-theme="dark"] .error-divider,
html[data-theme="dark"] .error-bottom {
  border-color: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark"] .error-divider {
  background: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark"] .error-home-btn {
  background: #A7B19A;
  color: #172117;
}

html[data-theme="dark"] .error-art::before {
  border-color: rgba(255, 255, 255, 0.15);
}

/* RTL */

html[dir="rtl"] .error-number {
  right: auto;
  left: -1%;
}

html[dir="rtl"] .error-frame--back {
  right: auto;
  left: 1%;
}

html[dir="rtl"] .error-frame--front {
  left: auto;
  right: 6%;
}

html[dir="rtl"] .error-home-btn:hover .icon {
  transform: translateX(-4px);
}

@media (max-width: 640px) {
  html[dir="rtl"] .error-frame--front {
    right: 7%;
  }

  html[dir="rtl"] .error-frame--back {
    left: 3%;
  }

  html[dir="rtl"] .error-number {
    left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .error-page *,
  .error-page *::before,
  .error-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================================
   MEMORA HOUSE — COMING SOON
=================================== */

.coming-page {
  --cs-green: #2E3A2F;
  --cs-sage: #A7B19A;
  --cs-paper: #F5F5EF;
  --cs-ink: #252C24;
  --cs-muted: #6F776B;
  --cs-border: rgba(46, 58, 47, 0.17);

  margin: 0;
  background: var(--cs-paper);
  color: var(--cs-ink);
  font-family: "Inter", sans-serif;
}

.coming-page *,
.coming-page *::before,
.coming-page *::after {
  box-sizing: border-box;
}

.coming-page a {
  color: inherit;
}

.coming-header {
  position: relative;
  z-index: 5;
  background: var(--cs-paper);
}

.coming-nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.coming-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
}

.coming-logo {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
}

.coming-logo svg {
  width: 100%;
  stroke: currentColor;
  stroke-width: 1.1;
}

.coming-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.coming-icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--cs-border);
  border-radius: 50%;
  background: transparent;
  color: var(--cs-ink);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.coming-icon-btn:hover {
  background: var(--cs-green);
  color: #fff;
}

.coming-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coming-icon-btn .sun-icon {
  display: none;
}

html[data-theme="dark"] .coming-icon-btn .moon-icon {
  display: none;
}

html[data-theme="dark"] .coming-icon-btn .sun-icon {
  display: block;
}

.coming-contact {
  margin-left: 12px;
  padding: 13px 0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--cs-sage);
}

.coming-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 0;
  background:
    radial-gradient(ellipse at 78% 44%, rgba(167,177,154,.23), transparent 38%),
    var(--cs-paper);
}

.coming-container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: clamp(45px, 8vw, 110px);
  min-height: 560px;
}

/* Copy */

.coming-copy {
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.coming-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: #718064;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.7;
}

.coming-kicker-line {
  width: 32px;
  height: 1px;
  flex: 0 0 32px;
  background: #718064;
}

.coming-copy h1 {
  margin: 0 0 24px;
  color: var(--cs-green);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(46px, 5.4vw, 70px);
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1.1;
}

.coming-copy h1 em {
  color: #7C8C6E;
  font-weight: 500;
}

.coming-description {
  max-width: 460px;
  margin: 0;
  color: var(--cs-muted);
  font-size: 15px;
  line-height: 1.95;
}

.coming-status {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 26px;
  color: var(--cs-green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.coming-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #839675;
  box-shadow: 0 0 0 5px rgba(167,177,154,.22);
}

/* Email signup */

.coming-form {
  max-width: 430px;
  margin-top: 36px;
}

.coming-form label {
  display: block;
  margin-bottom: 12px;
  color: var(--cs-green);
  font-size: 14px;
  font-weight: 600;
}

.coming-input-wrap {
  display: flex;
  align-items: stretch;
  min-height: 56px;
  padding: 5px;
  border: 1px solid var(--cs-border);
  background: rgba(255,255,255,.55);
}

.coming-input-wrap input {
  width: 100%;
  min-width: 0;
  padding: 0 13px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--cs-ink);
  font: inherit;
  font-size: 15px;
}

.coming-input-wrap input::placeholder {
  color: #858B80;
}

.coming-input-wrap input:focus-visible {
  outline: 1px solid var(--cs-sage);
  outline-offset: -2px;
}

.coming-input-wrap button {
  display: grid;
  place-items: center;
  width: 46px;
  min-width: 46px;
  border: 0;
  background: var(--cs-green);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}

.coming-input-wrap button:hover {
  background: #4D6149;
}

.coming-input-wrap button svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coming-form-message {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--cs-muted);
  font-size: 12px;
  line-height: 1.7;
}

.coming-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--cs-border);
}

.coming-social > span {
  color: var(--cs-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.coming-social a {
  color: var(--cs-green);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.coming-social a span {
  display: inline-block;
  margin-left: 5px;
  transition: transform .2s ease;
}

.coming-social a:hover span {
  transform: translate(3px, -3px);
}

/* Framed artwork composition */

.coming-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 500px;
  margin-inline: auto;
  isolation: isolate;
}

.coming-visual::before {
  content: "";
  position: absolute;
  inset: 10% 4% 8% 10%;
  border: 1px solid var(--cs-border);
  transform: rotate(5deg);
  z-index: -1;
}

.coming-visual-top,
.coming-visual-bottom {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #718064;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.coming-visual-top {
  top: 0;
}

.coming-visual-bottom {
  bottom: 0;
  padding-top: 15px;
  border-top: 1px solid var(--cs-border);
}

.coming-frame {
  position: absolute;
  padding: 13px;
  background: var(--cs-green);
  box-shadow: 0 26px 55px rgba(37,44,36,.16);
}

.coming-frame-back {
  top: 13%;
  right: 3%;
  width: 58%;
  background: #A7B19A;
  transform: rotate(7deg);
}

.coming-frame-front {
  top: 15%;
  left: 6%;
  z-index: 2;
  width: 68%;
  transform: rotate(-5deg);
}

.coming-mat {
  padding: 9%;
  background: #FCFBF5;
}

.coming-artwork {
  position: relative;
  aspect-ratio: .8;
  overflow: hidden;
  background: #D9DFD0;
}

.coming-artwork-back {
  background: #E7E2D4;
}

/* Abstract landscape */

.art-sun {
  position: absolute;
  top: 12%;
  right: 15%;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #C4A77D;
}

.art-hill {
  position: absolute;
  width: 120%;
  height: 55%;
  bottom: -10%;
  border-radius: 50% 50% 0 0;
}

.art-hill-one {
  left: -30%;
  background: #7D8D70;
  transform: rotate(15deg);
}

.art-hill-two {
  right: -38%;
  bottom: -17%;
  background: #455A43;
  transform: rotate(-20deg);
}

.art-ground {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 12%;
  background: #B8C2AC;
}

/* Botanical illustration */

.botanical-stem {
  position: absolute;
  left: 49%;
  top: 15%;
  width: 2px;
  height: 85%;
  background: #5C7054;
  transform: rotate(9deg);
  transform-origin: bottom;
}

.botanical-leaf {
  position: absolute;
  width: 26%;
  height: 13%;
  background: #7D8D70;
  border-radius: 100% 0 100% 0;
}

.leaf-one {
  top: 24%;
  left: 26%;
  transform: rotate(22deg);
}

.leaf-two {
  top: 36%;
  left: 48%;
  transform: rotate(72deg);
}

.leaf-three {
  top: 48%;
  left: 21%;
  transform: rotate(14deg);
}

.leaf-four {
  top: 60%;
  left: 47%;
  transform: rotate(70deg);
}

.coming-stamp {
  position: absolute;
  z-index: 3;
  right: -1%;
  bottom: 12%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 94px;
  height: 94px;
  border: 1px solid #A7B19A;
  border-radius: 50%;
  background: var(--cs-paper);
  color: var(--cs-green);
  font-family: "Playfair Display", serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.5px;
}

/* Bottom line */

.coming-bottom-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 55px;
  padding: 22px 18px;
  border-top: 1px solid var(--cs-border);
  color: #718064;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.coming-bottom-rule {
  width: 38px;
  height: 1px;
  background: var(--cs-sage);
}

/* Footer */

.coming-footer {
  background: var(--cs-green);
  color: #fff;
}

.coming-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  min-height: 82px;
  padding-block: 20px;
}

.coming-footer-inner span,
.coming-footer-inner a {
  font-size: 12px;
}

.coming-footer-inner > span:nth-child(2) {
  color: rgba(255,255,255,.75);
}

.coming-footer-inner a {
  text-underline-offset: 4px;
}

/* Dark mode */

html[data-theme="dark"] .coming-page {
  --cs-paper: #171B17;
  --cs-ink: #F0F1E9;
  --cs-muted: #B9C0B4;
  --cs-border: rgba(255,255,255,.16);
  background: var(--cs-paper);
  color: var(--cs-ink);
}

html[data-theme="dark"] .coming-hero {
  background:
    radial-gradient(ellipse at 78% 44%, rgba(167,177,154,.1), transparent 38%),
    var(--cs-paper);
}

html[data-theme="dark"] .coming-copy h1,
html[data-theme="dark"] .coming-form label,
html[data-theme="dark"] .coming-social a {
  color: #F0F1E9;
}

html[data-theme="dark"] .coming-kicker,
html[data-theme="dark"] .coming-status,
html[data-theme="dark"] .coming-visual-top,
html[data-theme="dark"] .coming-visual-bottom,
html[data-theme="dark"] .coming-bottom-note {
  color: #C1CCB7;
}

html[data-theme="dark"] .coming-input-wrap {
  background: #222922;
}

html[data-theme="dark"] .coming-input-wrap input {
  color: #F0F1E9;
}

html[data-theme="dark"] .coming-stamp {
  background: #222922;
  color: #F0F1E9;
}

html[data-theme="dark"] .coming-frame-front {
  background: #68765E;
}

/* RTL */

html[dir="rtl"] .coming-kicker {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

html[dir="rtl"] .coming-frame-front {
  left: auto;
  right: 6%;
}

html[dir="rtl"] .coming-frame-back {
  right: auto;
  left: 3%;
}

html[dir="rtl"] .coming-stamp {
  right: auto;
  left: -1%;
}

html[dir="rtl"] .coming-social a span {
  margin-left: 0;
  margin-right: 5px;
}

@media (max-width: 900px) {
  .coming-container {
    gap: 40px;
    grid-template-columns: 1fr .9fr;
  }

  .coming-visual {
    min-height: 420px;
  }

  .coming-frame-front {
    left: 2%;
  }

  .coming-stamp {
    width: 78px;
    height: 78px;
    font-size: 10px;
  }
}

/* Mobile */

@media (max-width: 680px) {
  .coming-nav {
    min-height: 74px;
  }

  .coming-brand {
    gap: 8px;
    font-size: 13px;
    letter-spacing: 1.2px;
  }

  .coming-logo {
    width: 30px;
    height: 30px;
  }

  .coming-nav-actions {
    gap: 6px;
  }

  .coming-icon-btn {
    width: 36px;
    height: 36px;
    padding: 8px;
  }

  .coming-contact {
    display: none;
  }

  .coming-hero {
    padding-top: 48px;
  }

  .coming-container {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .coming-copy h1 {
    font-size: clamp(43px, 11vw, 60px);
    letter-spacing: -1px;
  }

  .coming-description {
    font-size: 15px;
  }

  .coming-visual {
    max-width: 420px;
    min-height: 400px;
  }

  .coming-frame-front {
    left: 7%;
    width: 66%;
  }

  .coming-frame-back {
    right: 3%;
    width: 56%;
  }

  .coming-stamp {
    right: 0;
    bottom: 11%;
  }

  .coming-bottom-note {
    gap: 10px;
    margin-top: 35px;
    font-size: 8px;
    letter-spacing: 1px;
  }

  .coming-bottom-rule {
    width: 20px;
    flex-shrink: 0;
  }

  .coming-footer-inner {
    flex-wrap: wrap;
    min-height: auto;
    padding-block: 24px;
  }

  .coming-footer-inner > span:nth-child(2) {
    display: none;
  }

  .coming-footer-inner a {
    margin-left: auto;
  }
}

@media (max-width: 380px) {
  .coming-container {
    width: calc(100% - 28px);
  }

  .coming-brand {
    font-size: 11px;
    letter-spacing: .8px;
  }

  .coming-visual {
    min-height: 330px;
  }

  .coming-frame {
    padding: 9px;
  }

  .coming-stamp {
    width: 66px;
    height: 66px;
    font-size: 9px;
  }

  .coming-bottom-note {
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coming-page *,
  .coming-page *::before,
  .coming-page *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

