/* The Miter: token layer. Every colour, type and z-index value lives here. */
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-normal.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-italic.woff2") format("woff2"); font-weight: 400 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-normal.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Garamond Fallback"; src: local("Georgia"); size-adjust: 92%; ascent-override: 96%; descent-override: 28%; }
@font-face { font-family: "Sans Fallback"; src: local("Arial"); size-adjust: 101%; }

:root {
  /* Palette: logo orange is unaltered, the rest comes from the shop itself */
  --wall: #ECEBE6;
  --plaque: #F8F7F3;
  --ink: #14110F;
  --orange: #FF9933;
  --orange-deep: #A8520A;
  --awning: #5E1B2C;
  --stone: #5C5850;
  --slat-line: #DEDDD6;
  --rule: #C9C7BE;
  --on-dark: #F8F7F3;
  --on-dark-muted: #CFCBC2;
  --error: #9C1F1F;
  --success: #24612F;

  /* Moulding profiles: lit from above, so each side of a frame takes a different tone */
  --black-top: #39342E; --black-right: #1B1815; --black-bottom: #0B0A08; --black-left: #27231F;
  --gilt-top: #D8B66B; --gilt-right: #A9853F; --gilt-bottom: #76592A; --gilt-left: #BC9648;
  --backing: #8A6F4E;

  /* Translucent layers */
  --glass-light: rgba(248, 247, 243, .78);
  --glass-head: rgba(236, 235, 230, .86);
  --glass-dark: rgba(20, 17, 15, .52);
  --glass-edge: rgba(255, 255, 255, .55);
  --glass-edge-dark: rgba(255, 255, 255, .2);
  --glare: rgba(255, 255, 255, .34);
  --glazing: rgba(214, 228, 232, .22);
  --scrim: rgba(20, 17, 15, .72);
  --rule-dark: rgba(248, 247, 243, .22);
  --active-glow: rgba(255, 153, 51, .25);
  --miter-drop: rgba(20, 17, 15, .28);

  /* Shadows: several stacked layers falling downward, as under a picture light */
  --shadow-hung:
    0 1px 1px rgba(20, 17, 15, .12),
    0 4px 8px rgba(20, 17, 15, .10),
    0 16px 32px rgba(20, 17, 15, .12),
    0 40px 80px rgba(20, 17, 15, .16);
  --shadow-lifted:
    0 2px 2px rgba(20, 17, 15, .12),
    0 8px 14px rgba(20, 17, 15, .12),
    0 26px 44px rgba(20, 17, 15, .14),
    0 60px 100px rgba(20, 17, 15, .18);
  --shadow-soft:
    0 1px 2px rgba(20, 17, 15, .08),
    0 10px 24px rgba(20, 17, 15, .08);
  --bevel: inset 0 0 0 1px rgba(20, 17, 15, .16), inset 2px 2px 3px rgba(20, 17, 15, .18);

  /* Type */
  --font-display: "EB Garamond", "Garamond Fallback", Georgia, serif;
  --font-body: "Instrument Sans", "Sans Fallback", Arial, sans-serif;
  --text-display: clamp(3.25rem, 6.2vw, 5.75rem);
  --text-h1: clamp(2.75rem, 5.6vw, 5rem);
  --text-h2: clamp(2.25rem, 4.2vw, 3.75rem);
  --text-h3: clamp(1.5rem, 2.2vw, 2rem);
  --text-body: 1.125rem;
  --text-small: .9375rem;
  --text-label: .75rem;

  /* Space */
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(84px, 11vw, 150px);
  --measure: 66ch;
  --top-h: 124px;

  /* Motion: one heavy, physical family, never bounce */
  --ease-heavy: cubic-bezier(.16, 1, .3, 1);
  --ease-mask: cubic-bezier(.76, 0, .24, 1);
  --ease-micro: cubic-bezier(.33, 1, .68, 1);
  --t-micro: 240ms;
  --t-reveal: 900ms;
  --t-mask: 1200ms;

  /* Layers */
  --z-base: 0;
  --z-raised: 10;
  --z-bar: 150;
  --z-sticky: 200;
  --z-overlay: 300;
}
@media (max-width: 767px) { :root { --top-h: 100px; --text-body: 1.0625rem; } }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: var(--top-h); background: var(--wall); color: var(--ink); font: 400 var(--text-body)/1.7 var(--font-body); overflow-x: clip; }
img, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.04; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); line-height: 1.15; letter-spacing: -.01em; }
em { font-style: italic; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--orange-deep); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: color var(--t-micro) var(--ease-micro); }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.band-ink :focus-visible, .band-awning :focus-visible, .site-foot :focus-visible, .topbar :focus-visible { outline-color: var(--orange); }
.skip { position: absolute; left: 16px; top: -80px; z-index: var(--z-overlay); padding: 12px 20px; background: var(--ink); color: var(--on-dark); }
.skip:focus { top: 16px; color: var(--on-dark); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.label { display: block; font-size: var(--text-label); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-bottom: 20px; }
.lead { font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.35; max-width: 34ch; }
.prose { max-width: var(--measure); }
.prose h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); margin: 1.7em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: none; margin-bottom: 1.2em; }
.prose li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--rule); position: relative; }
.prose li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 12px; height: 6px; border-left: 2px solid var(--orange-deep); border-bottom: 2px solid var(--orange-deep); transform: rotate(135deg); }

.slats { background-color: var(--wall); background-image: repeating-linear-gradient(to bottom, transparent 0 38px, var(--slat-line) 38px 40px); }
.band-ink { background: var(--ink); color: var(--on-dark); }
.band-ink .label, .band-awning .label { color: var(--on-dark-muted); }
.band-ink a:not(.btn), .band-awning a:not(.btn) { color: var(--orange); }
.band-ink a:not(.btn):hover, .band-awning a:not(.btn):hover { color: var(--on-dark); }
.band-awning { background: var(--awning); color: var(--on-dark); }
.band-orange { background: var(--orange); color: var(--ink); }
.band-orange .label { color: var(--ink); }
.band-orange a:not(.btn) { color: var(--ink); }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 28px; border: 1px solid var(--ink); background: var(--orange); color: var(--ink); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; overflow: hidden; isolation: isolate; box-shadow: var(--shadow-soft); transition: color var(--t-micro) var(--ease-micro), transform var(--t-micro) var(--ease-micro); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform 420ms var(--ease-heavy); }
.btn:hover { color: var(--on-dark); text-decoration: none; }
.btn:hover::before { transform: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.btn .arrow { width: 18px; height: 18px; flex: none; transition: transform var(--t-micro) var(--ease-micro); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark::before { background: var(--plaque); }
.btn--dark:hover { color: var(--ink); }
.band-ink .btn, .band-awning .btn { border-color: var(--orange); }
.band-ink .btn:hover, .band-awning .btn:hover { color: var(--ink); }
.band-ink .btn::before, .band-awning .btn::before { background: var(--plaque); }
.textlink { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--ink); text-decoration: underline; }
.textlink .arrow { width: 16px; height: 16px; transition: transform var(--t-micro) var(--ease-micro); }
.textlink:hover .arrow { transform: translateX(5px); }

/* Sticky top unit */
.site-top { position: fixed; inset: 0 0 auto; z-index: var(--z-sticky); }
.topbar { height: 40px; background: var(--ink); color: var(--on-dark); font-size: .8125rem; }
.topbar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__info { display: flex; align-items: center; gap: 24px; min-width: 0; }
.topbar a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.topbar a:hover { color: var(--orange); }
.topbar__info span { color: var(--on-dark-muted); white-space: nowrap; }
.socials { display: flex; align-items: center; gap: 4px; list-style: none; }
.socials a { display: inline-grid; place-items: center; width: 40px; height: 40px; color: inherit; transition: color var(--t-micro) var(--ease-micro), transform var(--t-micro) var(--ease-micro); }
.socials a:hover { color: var(--orange); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }

.masthead { position: relative; height: 84px; transition: height 420ms var(--ease-heavy); box-shadow: var(--shadow-soft); }
.masthead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--glass-head); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.masthead .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; flex: none; line-height: 0; }
.logo img { height: 52px; width: auto; transform-origin: left center; transition: transform 420ms var(--ease-heavy); }
.is-shrunk .masthead { height: 62px; }
.is-shrunk .logo img { transform: scale(.72); }
.ruler { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; overflow: hidden; pointer-events: none; }
.ruler__fill { position: absolute; inset: 0; background: var(--orange); transform: scaleX(var(--progress, 0)); transform-origin: left; }
.ruler::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(to right, var(--ink) 0 1px, transparent 1px 40px); opacity: .45; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; background: none; border: 0; font-size: 1rem; font-weight: 500; color: var(--ink); text-decoration: none; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--orange-deep); transform: scaleX(0); transform-origin: left; transition: transform var(--t-micro) var(--ease-micro); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link:hover { color: var(--ink); }
.nav__caret { width: 10px; height: 10px; transition: transform var(--t-micro) var(--ease-micro); }
.has-drop { position: relative; }
.drop { position: absolute; left: 0; top: 100%; min-width: 320px; list-style: none; padding: 10px; background: var(--plaque); box-shadow: var(--shadow-lifted); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--t-micro) var(--ease-micro), transform var(--t-micro) var(--ease-micro), visibility var(--t-micro); }
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.is-open .drop { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover .nav__caret, .has-drop.is-open .nav__caret { transform: rotate(180deg); }
.drop a { display: block; padding: 11px 14px; font-size: 1rem; color: var(--ink); text-decoration: none; }
.drop a:hover { background: var(--wall); color: var(--orange-deep); }
.nav__cta { margin-left: 14px; min-height: 46px; padding: 10px 20px; font-size: .9375rem; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--ink); background: none; place-items: center; padding: 0; flex: none; }
.menu-toggle svg { width: 24px; height: 24px; }
.menu-close { display: none; }

@media (max-width: 1099px) {
  .menu-toggle { display: grid; }
  .nav { position: fixed; inset: 0; z-index: var(--z-overlay); flex-direction: column; align-items: stretch; gap: 0; padding: 20px var(--gutter) 40px; background: var(--wall); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity var(--t-micro) var(--ease-micro), transform var(--t-micro) var(--ease-micro), visibility var(--t-micro); }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .menu-close { display: grid; align-self: flex-end; margin-bottom: 8px; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { width: 100%; justify-content: space-between; min-height: 56px; padding: 8px 0; font-family: var(--font-display); font-size: 1.75rem; border-bottom: 1px solid var(--rule); }
  .nav__link::after { display: none; }
  .drop { position: static; min-width: 0; padding: 0 0 8px; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-drop:hover .drop, .has-drop:focus-within .drop { display: none; }
  .has-drop.is-open .drop { display: block; }
  .drop a { padding: 13px 0; font-size: 1.0625rem; }
  .nav__cta { margin: 24px 0 0; min-height: 56px; }
}
@media (max-width: 767px) {
  .topbar__hide { display: none !important; }
  .masthead { height: 60px; }
  .is-shrunk .masthead { height: 52px; }
  .logo img { height: 34px; }
  .is-shrunk .logo img { transform: scale(.86); }
  .menu-toggle { width: 44px; height: 44px; }
}

/* The mitered frame: CSS borders meet at 45 degrees, exactly as moulding does */
.frame { --m: clamp(12px, 1.6vw, 22px); display: block; border: var(--m) solid; border-color: var(--black-top) var(--black-right) var(--black-bottom) var(--black-left); background: var(--plaque); box-shadow: var(--shadow-hung); position: relative; }
.frame--gilt { border-color: var(--gilt-top) var(--gilt-right) var(--gilt-bottom) var(--gilt-left); }
.frame__mat { display: block; padding: clamp(14px, 2.4vw, 34px); background: var(--plaque); }
.frame__window { display: block; overflow: hidden; margin-inline: auto; box-shadow: var(--bevel); position: relative; line-height: 0; }
.frame__window img { width: 100%; }

/* Hero */
.hero { position: relative; min-height: min(calc(100svh - var(--top-h)), 860px); display: flex; align-items: flex-end; padding-block: clamp(36px, 5vw, 72px) clamp(72px, 8vw, 110px); overflow: clip; }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; width: 100%; }
.hero__copy { grid-column: 1 / span 6; grid-row: 1; position: relative; z-index: var(--z-raised); padding-bottom: 8px; }
.hero h1 { font-size: var(--text-display); line-height: .98; letter-spacing: -.03em; margin-bottom: 26px; }
.hero h1 em { color: var(--orange-deep); }
.hero h1 .line { display: block; overflow: hidden; padding-block: .06em; margin-block: -.06em; }
.hero h1 .line > span { display: block; animation: rise var(--t-reveal) var(--ease-heavy) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: 80ms; }
.hero h1 .line:nth-child(3) > span { animation-delay: 160ms; }
.hero h1 .line:nth-child(4) > span { animation-delay: 240ms; }
@keyframes rise { from { transform: translateY(104%); } }
.hero__sub { max-width: 46ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.hero__scene { grid-column: 7 / span 6; grid-row: 1; position: relative; perspective: 1400px; align-self: center; }
.hero__tilt { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, -7deg)); transform-style: preserve-3d; transition: transform 500ms var(--ease-micro); }
.hero__hang { display: block; transform-origin: 50% 0; animation: hang 1200ms var(--ease-heavy) both; }
@keyframes hang { from { transform: translateY(-18px) rotate(-1.4deg); } }
.hero__frame { transform: translateZ(0); }
.hero__glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 38%, var(--glare) 48%, transparent 58%); transform: translateX(-60%); animation: glare 1800ms 500ms var(--ease-mask) both; }
@keyframes glare { to { transform: translateX(60%); } }
.placard { position: absolute; z-index: var(--z-raised); padding: 16px 20px; background: var(--glass-light); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-lifted); transform: translateZ(70px); }
.placard strong { display: block; font: 400 clamp(1.9rem, 3vw, 2.75rem)/1 var(--font-display); letter-spacing: -.02em; }
.placard span { display: block; margin-top: 6px; font-size: var(--text-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.placard--a { left: -34px; bottom: 34px; }
.miter { position: absolute; width: clamp(56px, 7vw, 104px); aspect-ratio: 1; pointer-events: none; animation: float 8s ease-in-out infinite alternate; filter: drop-shadow(0 12px 14px var(--miter-drop)); }
.miter img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(50% 0, 100% 50%, 100% 100%, 50% 50%, 0 100%, 0 50%); }
.miter--1 { right: 2%; bottom: -44px; animation-duration: 7s; }
.miter--2 { left: 42%; top: -52px; animation-duration: 9s; animation-delay: -3s; }
.miter--3 { left: -7%; top: 12%; animation-duration: 6.5s; animation-delay: -1.5s; }
@keyframes float { from { transform: translate3d(0, -8px, 0); } to { transform: translate3d(0, 8px, 0); } }
.is-paused .miter { animation-play-state: paused; }
@media (max-width: 899px) {
  .hero { min-height: 0; display: block; padding-top: 32px; }
  .hero__copy, .hero__scene { grid-column: 1 / -1; grid-row: auto; }
  .hero__scene { margin: 28px 8px 0; }
  .hero__tilt { transform: none; }
  .placard--a { left: -12px; bottom: 14px; padding: 10px 14px; }
  .miter--3 { display: none; }
  .miter--1 { bottom: -30px; }
  .miter--2 { top: -32px; left: 8%; }
}

/* Trust strip overlaps the section edge */
.trust { position: relative; z-index: var(--z-raised); margin-top: -46px; }
.trust__row { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; background: var(--plaque); box-shadow: var(--shadow-hung); }
.trust__row li { padding: 24px 28px; border-right: 1px solid var(--rule); }
.trust__row li:last-child { border-right: 0; }
.trust__row strong { display: block; font: 400 1.5rem/1.15 var(--font-display); }
.trust__row span { display: block; margin-top: 4px; font-size: var(--text-small); color: var(--stone); line-height: 1.4; }
@media (max-width: 899px) {
  .trust { margin-top: 0; }
  .trust__row { grid-template-columns: 1fr 1fr; }
  .trust__row li { padding: 18px 16px; border-bottom: 1px solid var(--rule); }
  .trust__row li:nth-child(2n) { border-right: 0; }
  .trust__row li:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Section heading pair: 8/4 */
.split-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px var(--gutter); align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.split-head > :first-child { grid-column: 1 / span 8; }
.split-head > :last-child:not(:first-child) { grid-column: 9 / span 4; }
@media (max-width: 899px) { .split-head > * { grid-column: 1 / -1 !important; } }

/* Services: broken grid of mat windows */
.svc-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 4vw, 60px) var(--gutter); list-style: none; }
.svc-grid > li:nth-child(1) { grid-column: 1 / span 7; }
.svc-grid > li:nth-child(2) { grid-column: 9 / span 4; margin-top: 90px; }
.svc-grid > li:nth-child(3) { grid-column: 1 / span 4; }
.svc-grid > li:nth-child(4) { grid-column: 6 / span 7; margin-top: -60px; }
.svc-grid > li:nth-child(5) { grid-column: 2 / span 6; }
.svc-grid > li:nth-child(6) { grid-column: 9 / span 4; margin-top: 70px; }
.svc-card { display: block; color: var(--ink); text-decoration: none; }
.svc-card:hover { color: var(--ink); }
.svc-card .frame { transition: transform 700ms var(--ease-heavy), box-shadow 700ms var(--ease-heavy); }
.svc-card:hover .frame { transform: translateY(-6px); box-shadow: var(--shadow-lifted); }
.svc-card .frame__mat { padding: clamp(18px, 3.2vw, 46px); transition: padding 0ms; }
.svc-card .frame__window img { transition: transform 900ms var(--ease-heavy); aspect-ratio: 4 / 3; object-fit: cover; }
.svc-card:hover .frame__window img { transform: scale(1.04); }
.svc-card__text { display: block; padding-top: 20px; }
.svc-card h3 { display: inline; background-image: linear-gradient(var(--orange-deep), var(--orange-deep)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 500ms var(--ease-heavy); }
.svc-card:hover h3 { background-size: 100% 2px; }
.svc-card p { margin: 8px 0 0; color: var(--stone); font-size: 1rem; line-height: 1.55; max-width: 44ch; }
@media (max-width: 767px) { .svc-grid > li { grid-column: 1 / -1 !important; margin-top: 0 !important; } }
@media (min-width: 768px) and (max-width: 1099px) {
  .svc-grid > li { grid-column: span 6 !important; margin-top: 0 !important; }
}

/* Signature: Anatomy of a Frame */
.anatomy { position: relative; overflow: clip; }
.anatomy__stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; padding-block: var(--section); }
.anatomy__copy { grid-column: 1 / span 5; position: relative; z-index: var(--z-raised); }
.anatomy__copy h2 { margin-bottom: 18px; }
.anatomy__intro { color: var(--on-dark-muted); margin-bottom: 28px; max-width: 42ch; }
.anatomy__steps { list-style: none; }
.anatomy__steps li { padding: 14px 0 14px 20px; border-left: 2px solid var(--rule-dark); transition: opacity 400ms var(--ease-micro), border-color 400ms var(--ease-micro); }
.anatomy__steps h3 { font-size: 1.5rem; margin-bottom: 4px; }
.anatomy__steps p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--on-dark-muted); }
.anatomy__view { grid-column: 6 / span 7; display: grid; place-items: center; perspective: 1500px; min-height: 560px; --p: 1; }
.anatomy__obj { position: relative; width: min(30vw, 340px); aspect-ratio: 4 / 5; transform-style: preserve-3d; transform: rotateX(calc(var(--p) * 56deg)) rotateZ(calc(var(--p) * -32deg)); }
.layer { position: absolute; inset: 0; transform: translateZ(calc(var(--p) * var(--z) * 1px)); transition: box-shadow 400ms var(--ease-micro); }
.layer--moulding { --z: 170; border: 26px solid; border-color: var(--gilt-top) var(--gilt-right) var(--gilt-bottom) var(--gilt-left); }
.layer--glazing { --z: 85; inset: 18px; background: linear-gradient(120deg, var(--glazing) 0 40%, var(--glare) 48%, var(--glazing) 56%); border: 1px solid var(--glass-edge); }
.layer--mat { --z: 0; inset: 18px; border: 48px solid var(--plaque); box-shadow: var(--bevel); }
.layer--art { --z: -85; inset: 62px; background: var(--ink); overflow: hidden; }
.layer--art img { width: 100%; height: 100%; object-fit: cover; }
.layer--backing { --z: -170; inset: 14px; background: var(--backing); box-shadow: var(--shadow-lifted); }
.layer.is-active { box-shadow: 0 0 0 2px var(--orange), 0 0 0 6px var(--active-glow); }
.anatomy.is-scrub { height: 340vh; }
.anatomy.is-scrub .anatomy__stage { position: sticky; top: 72px; height: calc(100vh - 72px); padding-block: 24px; }
.anatomy.is-scrub .anatomy__steps li { opacity: .6; }
.anatomy.is-scrub .anatomy__steps li.is-active { opacity: 1; border-left-color: var(--orange); }
@media (max-width: 899px) {
  .anatomy__stage { display: block; }
  .anatomy__view { min-height: 420px; margin-top: 36px; }
  .anatomy__obj { width: min(52vw, 220px); }
  .layer--moulding { border-width: 16px; }
  .layer--glazing, .layer--mat { inset: 12px; }
  .layer--mat { border-width: 28px; }
  .layer--art { inset: 38px; }
  .layer--moulding { --z: 110; } .layer--glazing { --z: 55; } .layer--art { --z: -55; } .layer--backing { --z: -110; }
  .anatomy.is-scrub { height: 300vh; }
  .anatomy.is-scrub .anatomy__stage { display: flex; flex-direction: column; justify-content: center; gap: 0; top: 60px; height: calc(100svh - 60px); padding-block: 12px 72px; }
  .anatomy.is-scrub .anatomy__intro { display: none; }
  .anatomy.is-scrub .anatomy__copy h2 { font-size: 2rem; margin-bottom: 10px; }
  .anatomy.is-scrub .anatomy__steps { display: grid; }
  .anatomy.is-scrub .anatomy__steps li { grid-area: 1 / 1; opacity: 0; border-left-color: var(--orange); }
  .anatomy.is-scrub .anatomy__steps li.is-active { opacity: 1; }
  .anatomy.is-scrub .anatomy__view { flex: 1; min-height: 0; margin-top: 0; }
}

/* Gallery wall */
.wall { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.wall__a { grid-column: 1 / span 8; grid-row: 1; position: relative; z-index: 2; }
.wall__b { grid-column: 8 / span 5; grid-row: 1; margin-top: 150px; margin-left: -10%; position: relative; z-index: 3; }
.wall__note { grid-column: 1 / span 5; grid-row: 2; margin-top: 20px; }
@media (max-width: 899px) {
  .wall__a, .wall__b, .wall__note { grid-column: 1 / -1; grid-row: auto; margin: 0; }
}
.caption { display: block; margin-top: 14px; font-size: var(--text-small); color: var(--stone); line-height: 1.45; }

/* Reviews */
.reviews { position: relative; overflow: clip; }
.reviews__bg { position: absolute; inset: 0; opacity: .2; }
.reviews__bg picture { height: 100%; }
.reviews__bg img { width: 100%; height: 100%; object-fit: cover; }
.reviews > .wrap { position: relative; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tab { min-height: 44px; padding: 8px 18px; border: 1px solid var(--rule-dark); background: var(--glass-dark); color: var(--on-dark); font-size: var(--text-small); font-weight: 500; transition: background-color var(--t-micro) var(--ease-micro), color var(--t-micro) var(--ease-micro); }
.tab:hover { border-color: var(--orange); }
.tab[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.review-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; list-style: none; }
.review-grid > li { grid-column: span 4; }
.review-grid > li[hidden] { display: none; }
.review { position: relative; height: 100%; margin: 0; padding: 30px 28px; background: var(--glass-dark); -webkit-backdrop-filter: blur(16px) saturate(130%); backdrop-filter: blur(16px) saturate(130%); border: 1px solid var(--glass-edge-dark); box-shadow: var(--shadow-hung); overflow: hidden; color: var(--on-dark); }
.review::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 40%, var(--glare) 50%, transparent 60%); transform: translateX(-110%); opacity: .5; transition: transform 1100ms var(--ease-mask); }
.review:hover::after { transform: translateX(110%); }
.review blockquote { margin: 0 0 18px; font: 400 1.5rem/1.28 var(--font-display); }
.review figcaption { font-size: var(--text-small); color: var(--on-dark-muted); line-height: 1.45; }
.review figcaption strong { display: block; color: var(--on-dark); font-weight: 600; }
.stars { display: flex; gap: 3px; margin-bottom: 12px; color: var(--orange); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.reviews__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }
.reviews__foot p { max-width: 54ch; color: var(--on-dark-muted); font-size: var(--text-small); }
.reviews--light .review { background: var(--plaque); color: var(--ink); border-color: var(--rule); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--shadow-soft); }
.reviews--light .review figcaption { color: var(--stone); }
.reviews--light .review figcaption strong { color: var(--ink); }
.reviews--light .tab { background: var(--plaque); color: var(--ink); border-color: var(--rule); }
.reviews--light .tab[aria-selected="true"] { background: var(--orange); border-color: var(--ink); }
@media (max-width: 1099px) { .review-grid > li { grid-column: span 6; } }
@media (max-width: 699px) { .review-grid > li { grid-column: 1 / -1; } }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); list-style: none; counter-reset: step; }
.steps li { grid-column: span 4; counter-increment: step; padding-top: 22px; border-top: 2px solid var(--ink); }
.steps li:nth-child(2) { margin-top: 44px; }
.steps li:nth-child(3) { margin-top: 88px; }
.steps li::before { content: counter(step); display: block; font: italic 400 1.5rem/1 var(--font-display); color: var(--orange-deep); margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--stone); font-size: 1rem; line-height: 1.6; }
@media (max-width: 767px) { .steps li { grid-column: 1 / -1; margin-top: 0 !important; } }

/* Visit */
.visit { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
.visit__media { grid-column: 1 / span 7; }
.visit__info { grid-column: 9 / span 4; }
.visit__info h2 { margin-bottom: 20px; font-size: clamp(2.25rem, 3.4vw, 3rem); }
.hours { width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-size: 1rem; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.map { width: 100%; height: 380px; border: 0; display: block; background: var(--slat-line); box-shadow: var(--shadow-hung); }
@media (max-width: 899px) { .visit__media, .visit__info { grid-column: 1 / -1; } }

/* Inquiry */
.inquiry { position: relative; }
.inquiry__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.inquiry__copy { grid-column: 1 / span 5; position: sticky; top: 96px; }
.inquiry__copy h2 { margin-bottom: 20px; }
.inquiry__phone { display: inline-block; margin-top: 12px; font: 400 clamp(1.75rem, 3vw, 2.5rem)/1.1 var(--font-display); }
.inquiry__card { grid-column: 7 / span 6; margin-bottom: calc(var(--section) * -1 - 40px); position: relative; z-index: var(--z-raised); padding: clamp(24px, 4vw, 52px); background: var(--plaque); color: var(--ink); box-shadow: var(--shadow-lifted); }
.inquiry--flat .inquiry__card { margin-bottom: 0; }
.inquiry-after { height: 40px; background: var(--wall); }
.inquiry-after--tall { height: calc(var(--section) + 40px); }
@media (max-width: 899px) {
  .inquiry__copy { grid-column: 1 / -1; position: static; }
  .inquiry__card { grid-column: 1 / -1; }
}
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: block; position: relative; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
.field label { display: block; margin-bottom: 6px; font-size: var(--text-small); font-weight: 600; }
.field label small { font-weight: 400; color: var(--stone); font-size: inherit; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid var(--stone); background: var(--wall); border-radius: 0; font-size: 1rem; line-height: 1.5; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.field__tick { position: absolute; left: 0; right: 0; height: 4px; margin-top: -4px; pointer-events: none; background-image: repeating-linear-gradient(to right, var(--orange-deep) 0 1px, transparent 1px 10px); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-heavy); }
.field:focus-within .field__tick { transform: scaleX(1); }
.field__error { display: block; margin-top: 6px; color: var(--error); font-size: var(--text-small); line-height: 1.4; }
.field__error:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); box-shadow: inset 3px 0 0 var(--error); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form__status { grid-column: 1 / -1; font-size: var(--text-small); line-height: 1.5; }
.form__status:empty { display: none; }
.form__status.is-success { color: var(--success); font-weight: 600; }
.form__status.is-error { color: var(--error); font-weight: 600; }
@media (max-width: 559px) { .field--half { grid-column: 1 / -1; } }

/* Closing CTA */
.cta-band .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gutter); align-items: end; }
.cta-band h2 { grid-column: 1 / span 8; }
.cta-band__act { grid-column: 9 / span 4; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cta-band .btn { background: var(--ink); color: var(--on-dark); }
.cta-band .btn::before { background: var(--plaque); }
.cta-band .btn:hover { color: var(--ink); }
.cta-band a.textlink { color: var(--ink); }
@media (max-width: 899px) { .cta-band h2, .cta-band__act { grid-column: 1 / -1; } }

/* Inner pages */
.page-hero { padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 100px); position: relative; }
.crumbs { margin-bottom: 26px; font-size: var(--text-small); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--stone); }
.crumbs a { display: inline-block; padding-block: 10px; color: var(--ink); }
.crumbs a:hover { color: var(--orange-deep); }
.crumbs [aria-current] { color: var(--stone); }
.page-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
.page-hero__text { grid-column: 1 / span 7; }
.page-hero__text h1 { margin-bottom: 22px; }
.page-hero__media { grid-column: 8 / span 5; margin-bottom: -130px; position: relative; z-index: var(--z-raised); }
.page-hero--plain .page-hero__text { grid-column: 1 / span 9; }
@media (max-width: 899px) {
  .page-hero__text, .page-hero--plain .page-hero__text, .page-hero__media { grid-column: 1 / -1; }
  .page-hero__media { margin-bottom: -70px; }
}
.page-body { padding-block: clamp(150px, 14vw, 210px) var(--section); }
.page-hero--plain + .page-body { padding-top: clamp(56px, 7vw, 90px); }
.body-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.body-grid__main { grid-column: 1 / span 7; }
.body-grid__side { grid-column: 9 / span 4; align-self: start; position: sticky; top: 96px; }
.side-card { padding: 28px; background: var(--plaque); box-shadow: var(--shadow-soft); }
.side-card h2 { font-size: 1.75rem; margin-bottom: 12px; }
.side-card p { font-size: 1rem; line-height: 1.6; }
.side-card .btn { width: 100%; margin-top: 8px; }
.side-card .textlink { margin-top: 6px; }
@media (max-width: 899px) { .body-grid__main, .body-grid__side { grid-column: 1 / -1; position: static; } }

.related { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--gutter); border-top: 1px solid var(--rule); }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font: 400 1.5rem/1.2 var(--font-display); }
.related a:hover { color: var(--orange-deep); }
.related .arrow { width: 18px; height: 18px; flex: none; transition: transform var(--t-micro) var(--ease-micro); }
.related a:hover .arrow { transform: translateX(5px); }
@media (max-width: 699px) { .related { grid-template-columns: 1fr; } }

.svc-index { list-style: none; border-top: 1px solid var(--rule); }
.svc-index a { display: grid; grid-template-columns: 180px 1fr 24px; gap: var(--gutter); align-items: center; padding: 24px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.svc-index a:hover h2 { color: var(--orange-deep); }
.svc-index picture { overflow: hidden; box-shadow: var(--shadow-soft); }
.svc-index img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; transition: transform 900ms var(--ease-heavy); }
.svc-index a:hover img { transform: scale(1.04); }
.svc-index h2 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); margin-bottom: 8px; transition: color var(--t-micro) var(--ease-micro); }
.svc-index p { color: var(--stone); font-size: 1rem; line-height: 1.55; margin: 0; max-width: 60ch; }
.svc-index .arrow { width: 22px; height: 22px; transition: transform var(--t-micro) var(--ease-micro); }
.svc-index a:hover .arrow { transform: translateX(5px); }
@media (max-width: 699px) { .svc-index a { grid-template-columns: 96px 1fr; gap: 16px; } .svc-index .arrow { display: none; } }

/* Gallery page */
.gallery { columns: 2; column-gap: var(--gutter); }
.gallery__item { break-inside: avoid; margin-bottom: var(--gutter); }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; }
.gallery__btn .frame { transition: transform 700ms var(--ease-heavy), box-shadow 700ms var(--ease-heavy); }
.gallery__btn:hover .frame { transform: translateY(-6px); box-shadow: var(--shadow-lifted); }
@media (max-width: 699px) { .gallery { columns: 1; } }
.lightbox { width: min(92vw, 980px); max-height: 92vh; padding: 0; border: 0; background: var(--plaque); box-shadow: var(--shadow-lifted); overflow: auto; }
.lightbox::backdrop { background: var(--scrim); }
.lightbox__img { width: auto; max-width: 100%; max-height: 72vh; margin-inline: auto; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: var(--text-small); line-height: 1.4; }
.lightbox__nav { display: flex; gap: 6px; flex: none; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--ink); background: none; color: var(--ink); transition: background-color var(--t-micro) var(--ease-micro), color var(--t-micro) var(--ease-micro); }
.icon-btn:hover { background: var(--ink); color: var(--on-dark); }
.icon-btn svg { width: 20px; height: 20px; }

/* Footer */
.site-foot { background: var(--ink); color: var(--on-dark-muted); padding-block: clamp(64px, 8vw, 100px) 36px; font-size: 1rem; line-height: 1.6; }
.site-foot a { color: var(--on-dark); text-decoration: none; }
.site-foot a:hover { color: var(--orange); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gutter); }
.foot-brand { grid-column: 1 / span 4; }
.foot-plaque { display: inline-block; padding: 14px 18px; background: var(--plaque); line-height: 0; margin-bottom: 20px; box-shadow: 0 0 0 1px var(--rule-dark); }
.foot-plaque img { height: 40px; width: auto; }
.foot-col { grid-column: span 2; }
.foot-col--wide { grid-column: span 3; }
.foot-head { margin: 0 0 12px; font-size: var(--text-label); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); }
.foot-col ul { list-style: none; }
.foot-col li a { display: inline-block; padding-block: 5px; }
.foot-hours { margin-top: 14px; }
.foot-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--rule-dark); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: var(--text-small); }
.foot-credit { margin: 0; }
.foot-credit a { text-decoration: underline; }
.site-foot .socials { margin: 14px 0 0 -10px; }
.site-foot .socials a { width: 44px; height: 44px; }
@media (max-width: 1099px) {
  .foot-brand { grid-column: 1 / -1; }
  .foot-col, .foot-col--wide { grid-column: span 4; }
}
@media (max-width: 699px) { .foot-col, .foot-col--wide { grid-column: 1 / -1; } }

/* Mobile call and WhatsApp bar */
.mobile-bar { display: none; }
@media (max-width: 768px) {
  .mobile-bar { position: fixed; inset: auto 0 0; z-index: var(--z-bar); display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--ink); box-shadow: 0 -8px 24px var(--miter-drop); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; font-weight: 600; text-decoration: none; }
  .mobile-bar a:first-child { background: var(--orange); color: var(--ink); }
  .mobile-bar a:last-child { background: var(--ink); color: var(--on-dark); }
  .mobile-bar svg { width: 20px; height: 20px; fill: currentColor; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* Demo popup */
.demo { width: min(92vw, 520px); padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.demo::backdrop { background: var(--scrim); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.demo[open] { animation: demo-in 700ms var(--ease-heavy) both; }
@keyframes demo-in { from { transform: translateY(-20px) rotate(-.8deg); opacity: 0; } }
.demo__panel:focus { outline: none; }
.demo__panel { position: relative; padding: clamp(28px, 6vw, 46px); background: var(--glass-light); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); border: 1px solid var(--glass-edge); border-top: 5px solid var(--orange); box-shadow: var(--shadow-lifted); overflow: hidden; }
.demo__panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 40%, var(--glare) 50%, transparent 60%); transform: translateX(-110%); animation: demo-glare 1600ms 300ms var(--ease-mask) both; }
@keyframes demo-glare { to { transform: translateX(110%); } }
.demo h2 { font-size: clamp(2rem, 5vw, 2.75rem); margin-bottom: 14px; }
.demo p { font-size: 1.0625rem; line-height: 1.6; margin-bottom: 24px; }
.demo .label { color: var(--ink); margin-bottom: 12px; }
.demo .btn { position: relative; z-index: 1; }
.demo__close { position: absolute; top: 10px; right: 10px; z-index: 1; border-color: transparent; }

/* Scroll reveals, armed only when JS and motion are both available */
.js [data-reveal="text"] { opacity: 0; transform: translateY(24px); transition: opacity var(--t-reveal) var(--ease-heavy), transform var(--t-reveal) var(--ease-heavy); transition-delay: var(--d, 0ms); }
.js [data-reveal="mat"] { clip-path: inset(12% 12% 12% 12%); opacity: .2; transition: clip-path var(--t-mask) var(--ease-mask), opacity 500ms var(--ease-micro); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(-120px -120px -120px -120px); }
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  [data-parallax] { transform: none !important; will-change: auto; }
  .hero__tilt { transform: none; }
  .hero__glare { display: none; }
}
@media print { .site-top, .mobile-bar, .demo { display: none !important; } body { padding-top: 0; } }
