/* A. Yiannakou — Marble & Granite, Larnaca
   Shared stylesheet for EN (/) and GR (/gr/) pages. Pure CSS, no framework. */

:root {
  --bg: #FBF9F3;
  --surface: #F5F3ED;
  --white: #FFFFFF;
  --line: #E5E0D8;
  --ink: #16171A;
  --slate: #5A5854;
  --gold: #9A7B4F;
  --gold-2: #C5A880;
  --bronze: #7A6038;
  --bronze-hover: #5F4A2B;
  --ink-soft: rgba(22, 23, 26, 0.72);

  --font-display: 'Cinzel', 'Cardo', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 10vw, 120px);
  --section-sm: clamp(56px, 7vw, 88px);
  --radius: 6px;
  --radius-lg: 10px;

  --shadow-1: 0 1px 2px rgba(22, 23, 26, 0.04), 0 2px 6px -2px rgba(122, 96, 56, 0.10);
  --shadow-2: 0 1px 2px rgba(22, 23, 26, 0.05), 0 12px 32px -12px rgba(122, 96, 56, 0.22);
  --shadow-3: 0 2px 4px rgba(22, 23, 26, 0.06), 0 24px 56px -20px rgba(122, 96, 56, 0.28);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 480ms;

  --z-sticky: 20;
  --z-nav: 30;
}
html[lang="el"] { --font-display: 'Cardo', 'Cinzel', Georgia, serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px;
  background: var(--ink); color: var(--bg); padding: 10px 14px; z-index: 100;
  border-radius: var(--radius); text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  text-wrap: balance;
  letter-spacing: 0.01em;
}
html[lang="el"] h1, html[lang="el"] h2, html[lang="el"] h3, html[lang="el"] h4 { font-weight: 700; }
h1 { font-size: clamp(2.125rem, 1.1rem + 4.2vw, 4.25rem); letter-spacing: 0.02em; text-transform: uppercase; }
html[lang="el"] h1 { font-size: clamp(2rem, 1rem + 3.7vw, 3.75rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.75rem, 1.05rem + 2.3vw, 2.75rem); text-transform: uppercase; }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.5rem); }
h4 { font-size: 1.125rem; font-family: var(--font-body); font-weight: 600; }
.lede { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem); line-height: 1.6; color: var(--ink-soft); max-width: 62ch; }
.muted { color: var(--slate); }
.prose { max-width: 66ch; }
.prose p + p { margin-top: 0; }
.num { font-variant-numeric: tabular-nums lining-nums; letter-spacing: 0.01em; }
.tel { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Section heading with the one structural device: a short gold rule */
.section-head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2::after {
  content: ""; display: block; width: 56px; height: 2px; margin-top: 18px;
  background: var(--gold-2);
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center h2::after { margin-left: auto; margin-right: auto; }
.section-head .lede { margin-top: 18px; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--sm { padding-block: var(--section-sm); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section--flush-top { padding-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font-weight: 500; font-size: 0.9375rem; letter-spacing: 0.01em; line-height: 1;
  border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 220ms var(--ease-out), background-color 220ms var(--ease-out), border-color 220ms var(--ease-out), color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--bronze); color: var(--white); box-shadow: var(--shadow-1); }
.btn--primary:hover { background: var(--bronze-hover); box-shadow: var(--shadow-2); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(22, 23, 26, 0.28); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(22, 23, 26, 0.04); transform: translateY(-1px); }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { background: var(--white); transform: translateY(-1px); }
.btn--outline-light { background: transparent; color: var(--bg); border-color: rgba(251, 249, 243, 0.4); }
.btn--outline-light:hover { border-color: var(--bg); background: rgba(251, 249, 243, 0.06); transform: translateY(-1px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink); color: rgba(251, 249, 243, 0.86);
  font-size: 0.875rem; line-height: 1.4;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__facts { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar__facts li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__facts svg { width: 14px; height: 14px; color: var(--gold-2); flex: none; }
.topbar__facts a { text-decoration: none; }
.topbar__facts a:hover { color: var(--white); text-decoration: underline; }
.topbar__facts .hide-md, .topbar__facts .hide-lg { display: none; }
.lang { display: flex; align-items: center; gap: 6px; font-weight: 500; letter-spacing: 0.06em; }
.lang a { text-decoration: none; padding: 4px 6px; border-radius: 3px; color: rgba(251, 249, 243, 0.7); }
.lang a:hover { color: var(--white); }
.lang a[aria-current="true"] { color: var(--gold-2); }
.lang span { color: rgba(251, 249, 243, 0.3); }
@media (min-width: 760px) { .topbar__facts .hide-md { display: flex; } }
@media (min-width: 1000px) { .topbar__facts .hide-lg { display: flex; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: rgba(251, 249, 243, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px -16px rgba(22, 23, 26, 0.18); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand__mark { width: 44px; height: 44px; flex: none; border-radius: 3px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.brand__tag { display: none; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-top: 4px; white-space: nowrap; }
@media (min-width: 480px) { .brand__tag { display: block; } }
.nav { display: none; }
.nav ul { display: flex; gap: 6px; }
.nav a {
  display: inline-block; padding: 10px 12px; text-decoration: none; font-weight: 500; font-size: 0.9375rem;
  position: relative; border-radius: 4px; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 260ms var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a:active { transform: translateY(1px); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__call { display: none; }
.header__quote { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  transition: background-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.nav-toggle:hover { background: var(--surface); }
.nav-toggle:active { transform: scale(0.96); }
.nav-toggle span { position: relative; width: 20px; height: 2px; background: var(--ink); transition: transform 260ms var(--ease-out), opacity 200ms; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform 260ms var(--ease-out); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.call-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: var(--radius); background: var(--bronze); color: var(--white);
  transition: background-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.call-icon svg { width: 20px; height: 20px; }
.call-icon:hover { background: var(--bronze-hover); transform: translateY(-1px); }
.call-icon:active { transform: translateY(1px); }

/* Mobile nav panel */
.mobile-nav {
  position: fixed; inset: 0; z-index: var(--z-nav);
  background: var(--bg); padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 24px;
  transform: translateX(100%); visibility: hidden;
  transition: transform 360ms var(--ease-out), visibility 0s linear 360ms;
  overflow-y: auto;
}
body.nav-open .mobile-nav { transform: translateX(0); visibility: visible; transition: transform 360ms var(--ease-out), visibility 0s; }
body.nav-open { overflow: hidden; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav__close { width: 48px; height: 48px; border: 1px solid var(--line); background: transparent; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav__close svg { width: 20px; height: 20px; }
.mobile-nav__close:hover { background: var(--surface); }
.mobile-nav ul { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mobile-nav ul a {
  display: block; padding: 18px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; border-bottom: 1px solid var(--line);
  transition: opacity 240ms var(--ease-out), transform 360ms var(--ease-out);
}
.mobile-nav ul a:hover { color: var(--bronze); }
.mobile-nav ul a[aria-current="page"] { color: var(--gold); }
body.nav-open .mobile-nav ul a { opacity: 1; transform: none; }
.mobile-nav__facts { color: var(--slate); font-size: 0.9375rem; display: grid; gap: 6px; }
.mobile-nav__facts a { color: var(--ink); text-decoration: none; font-weight: 500; }
.mobile-nav .btn { align-self: flex-start; }

@media (min-width: 900px) {
  .nav { display: block; }
  .nav-toggle, .mobile-nav { display: none; }
  .header__call { display: inline-flex; }
  .call-icon { display: none; }
}
@media (min-width: 1060px) { .header__quote { display: inline-flex; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.hero__stone {
  position: absolute; inset: 0; z-index: -2;
  background-image: url("/assets/images/marble-hero.svg");
  background-size: cover; background-position: center;
}
.hero__wash {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 18% 50%, rgba(251, 249, 243, 0.94) 0%, rgba(251, 249, 243, 0.78) 34%, rgba(251, 249, 243, 0.2) 62%, rgba(251, 249, 243, 0) 78%),
    linear-gradient(to top, rgba(251, 249, 243, 0.55), rgba(251, 249, 243, 0) 30%);
}
.hero__sheen {
  position: absolute; inset: -20% -40%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
  transform: translateX(-60%);
  opacity: 0;
}
html.js .hero__sheen { animation: sheen 1900ms var(--ease-out) 500ms 1 forwards; }
@keyframes sheen { 0% { transform: translateX(-60%); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateX(60%); opacity: 0; } }
.hero__inner {
  display: grid; gap: 28px; align-content: center;
  min-height: min(76svh, 640px); padding-block: clamp(56px, 9vw, 120px);
}
@media (min-width: 900px) { .hero__inner { min-height: min(82vh, 820px); } }
.hero__title { max-width: 14ch; margin-bottom: 0; }
html[lang="el"] .hero__title { max-width: 17ch; }
.hero__title em { font-style: normal; color: var(--bronze); }
.hero__lede { max-width: 52ch; font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.25rem); color: var(--ink-soft); }
.hero__seam {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; z-index: -1;
  background: linear-gradient(to bottom, transparent, rgba(154, 123, 79, 0.5) 30%, rgba(154, 123, 79, 0.5) 70%, transparent);
  display: none;
}
@media (min-width: 900px) { .hero__seam { display: block; } .hero__inner { max-width: 62%; } }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--slate); font-size: 0.9375rem; }
.hero__meta li { display: flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 15px; height: 15px; color: var(--gold); }

/* Load choreography */
html.js .hero .rise { animation: rise 900ms var(--ease-out) both; }
html.js .hero .rise:nth-child(1) { animation-delay: 80ms; }
html.js .hero .rise:nth-child(2) { animation-delay: 200ms; }
html.js .hero .rise:nth-child(3) { animation-delay: 320ms; }
html.js .hero .rise:nth-child(4) { animation-delay: 440ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Scroll reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out); }
html.js .reveal-stagger.in > * { opacity: 1; transform: none; }
html.js .reveal-stagger.in > :nth-child(2) { transition-delay: 80ms; }
html.js .reveal-stagger.in > :nth-child(3) { transition-delay: 160ms; }
html.js .reveal-stagger.in > :nth-child(4) { transition-delay: 240ms; }
html.js .reveal-stagger.in > :nth-child(5) { transition-delay: 320ms; }
html.js .reveal-stagger.in > :nth-child(6) { transition-delay: 400ms; }

/* ---------- Placeholder photos ---------- */
.ph {
  position: relative; overflow: hidden; width: 100%; height: auto; border-radius: var(--radius-lg); background: var(--line);
  isolation: isolate;
}
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out), opacity 600ms var(--ease-out); }
html.js .ph img[loading="lazy"]:not(.is-loaded) { opacity: 0; }
html.js .ph img.is-loaded { opacity: 1; }
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgba(197, 168, 128, 0.22), rgba(122, 96, 56, 0.14));
  mix-blend-mode: multiply;
}
.ph::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(22, 23, 26, 0.5), rgba(22, 23, 26, 0) 50%);
}
.ph--quiet::after { background: linear-gradient(to top, rgba(22, 23, 26, 0.35), rgba(22, 23, 26, 0) 45%); }
a:hover .ph img, .card:hover .ph img { transform: scale(1.035); }

/* ---------- Pillars (dual feature split) ---------- */
.pillars { display: grid; gap: clamp(28px, 4vw, 48px); }
.pillar { display: grid; gap: 22px; align-content: start; }
.pillar .ph { aspect-ratio: 4 / 3; box-shadow: var(--shadow-2); }
.pillar__label { position: absolute; left: 20px; bottom: 18px; z-index: 3; color: var(--bg); font-family: var(--font-display); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8125rem; }
.pillar h3 { text-transform: uppercase; letter-spacing: 0.03em; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); margin-bottom: 0.35em; }
.pillar p { color: var(--ink-soft); max-width: 46ch; }
.pillar__list { display: flex; flex-wrap: wrap; gap: 8px; }
.pillar__list li { font-size: 0.875rem; color: var(--slate); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.pillar .btn { justify-self: start; }
@media (min-width: 760px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pillars { gap: clamp(48px, 6vw, 96px); } .pillar:nth-child(2) { padding-top: 72px; } }

/* ---------- Materials ---------- */
.materials { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.material { display: grid; align-content: start; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px 12px 18px; box-shadow: var(--shadow-1); transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out); }
.material:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.material__swatch { width: 100%; height: auto; align-self: start; aspect-ratio: 4 / 3; border-radius: var(--radius); background-size: cover; background-position: center; border: 1px solid rgba(22, 23, 26, 0.06); }
.material__body { padding-inline: 6px; display: grid; gap: 6px; }
.material__name { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: 0.04em; text-transform: uppercase; }
.material__origin { font-size: 0.875rem; color: var(--slate); }
.material__meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 0.875rem; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.material__meta dt { color: var(--slate); }
.material__meta dd { margin: 0; color: var(--ink); font-weight: 500; }
.mohs { display: inline-flex; align-items: center; gap: 8px; }
.mohs__bar { width: 54px; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.mohs__bar i { display: block; height: 100%; background: var(--gold); }

/* ---------- Process ---------- */
.process { display: grid; gap: 28px; counter-reset: step; }
.step { position: relative; display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.step::before {
  content: "0" counter(step); counter-increment: step;
  position: absolute; top: -0.65em; left: 0; padding-right: 10px; background: var(--bg);
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--gold); letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.section--surface .step::before { background: var(--surface); }
.step h3 { font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.04em; margin: 4px 0 0; }
.step p { color: var(--ink-soft); font-size: 0.9375rem; }
@media (min-width: 760px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .process { grid-template-columns: repeat(4, 1fr); gap: 36px; } }

/* ---------- Work / projects ---------- */
.work-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { display: grid; align-content: start; gap: 12px; text-decoration: none; color: inherit; }
.card .ph { aspect-ratio: 4 / 3; box-shadow: var(--shadow-1); transition: box-shadow 320ms var(--ease-out), transform 320ms var(--ease-out); }
.card:hover .ph { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.card__tag { position: absolute; top: 12px; left: 12px; z-index: 3; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink); background: rgba(251, 249, 243, 0.92); padding: 6px 10px; border-radius: 3px; }
.card__body { display: grid; gap: 2px; padding-inline: 2px; }
.card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: 0.03em; text-transform: uppercase; }
.card__meta { font-size: 0.875rem; color: var(--slate); }
.card:hover .card__title { color: var(--bronze); }
.work-grid--home { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.section__foot { margin-top: clamp(32px, 4vw, 48px); display: flex; justify-content: center; }

/* Filter pills */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font-size: 0.9rem; font-weight: 500; cursor: pointer;
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.pill:hover { border-color: var(--gold); transform: translateY(-1px); }
.pill:active { transform: translateY(1px); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill__count { font-size: 0.75rem; color: var(--slate); font-variant-numeric: tabular-nums; }
.pill[aria-pressed="true"] .pill__count { color: var(--gold-2); }
.work-grid [hidden] { display: none; }
.work-empty { color: var(--slate); padding: 40px 0; }

/* ---------- Callout (bereavement / quick contact) ---------- */
.callout {
  background: var(--ink); color: var(--bg); border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px); display: grid; gap: 28px; box-shadow: var(--shadow-3);
  position: relative; overflow: hidden;
}
.callout::before { content: ""; position: absolute; inset: 0; background: url("/assets/images/stone-nero.svg") center/cover; opacity: 0.55; pointer-events: none; }
.callout > * { position: relative; }
.callout h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); margin-bottom: 0.4em; }
.callout p { color: rgba(251, 249, 243, 0.78); max-width: 54ch; line-height: 1.75; }
.callout__phone { display: grid; gap: 14px; align-content: center; justify-items: start; }
.callout__number { font-family: var(--font-display); font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 600; letter-spacing: 0.06em; color: var(--white); text-decoration: none; font-variant-numeric: tabular-nums; }
.callout__number:hover { color: var(--gold-2); }
.callout__hours { font-size: 0.9375rem; color: rgba(251, 249, 243, 0.66); }
@media (min-width: 860px) { .callout { grid-template-columns: 1.3fr 1fr; align-items: center; } .callout__phone { justify-items: start; } }

/* ---------- Inner page head ---------- */
.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); background: var(--surface); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url("/assets/images/marble-hero.svg") center/cover; opacity: 0.55; pointer-events: none; }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to right, var(--surface) 28%, rgba(245, 243, 237, 0.35)); pointer-events: none; }
.page-head > * { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.875rem; color: var(--slate); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--gold-2); }
.page-head h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); max-width: 18ch; }
.page-head .lede { margin-top: 12px; }

/* ---------- Services page ---------- */
.service { display: grid; align-items: start; gap: 28px; padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service:first-of-type { border-top: 0; padding-top: clamp(24px, 3vw, 40px); }
.service .ph { aspect-ratio: 5 / 4; box-shadow: var(--shadow-2); }
.service__body { display: grid; gap: 16px; align-content: center; }
.service__body h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); margin-bottom: 0; }
.service__body p { color: var(--ink-soft); max-width: 52ch; }
.service__list { display: grid; gap: 8px; margin-top: 4px; }
.service__list li { position: relative; padding-left: 20px; font-size: 0.9375rem; }
.service__list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1.5px; background: var(--gold); }
.service .btn { justify-self: start; margin-top: 6px; }
@media (min-width: 860px) {
  .service { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
  .service:nth-of-type(even) .ph { order: 2; }
}
.service-nav-wrap { padding-top: clamp(28px, 4vw, 44px); }
.service-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.service-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); background: var(--white); border-radius: 999px; font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out); }
.service-nav a:hover { border-color: var(--gold); transform: translateY(-1px); }
.service-nav a:active { transform: translateY(1px); }

/* ---------- About page ---------- */
.about-grid { display: grid; align-items: start; gap: clamp(32px, 5vw, 72px); }
.about-grid .ph { aspect-ratio: 4 / 3; box-shadow: var(--shadow-2); }
.about-grid .prose { display: grid; gap: 16px; align-content: center; }
.about-grid .prose p { color: var(--ink-soft); }
.about-grid .prose p:first-of-type { color: var(--ink); font-size: 1.125rem; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 5fr 7fr; align-items: center; } .about-grid .ph { aspect-ratio: 4 / 5; } }
.values { display: grid; gap: 28px; }
.value { display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.value h3 { font-size: 1.0625rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 0; }
.value p { color: var(--ink-soft); font-size: 0.9375rem; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.quote-block { max-width: 40ch; font-family: var(--font-display); font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem); line-height: 1.35; margin: 0; }
.quote-block footer { margin-top: 18px; font-family: var(--font-body); font-size: 0.875rem; color: var(--slate); letter-spacing: 0.04em; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
.contact-card { display: grid; gap: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-2); }
.contact-card h2 { font-size: 1.375rem; margin: 0; }
.contact-big { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); letter-spacing: 0.05em; text-decoration: none; font-variant-numeric: tabular-nums; line-height: 1.1; }
.contact-big:hover { color: var(--bronze); }
.contact-list { display: grid; gap: 18px; }
.contact-list > li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.contact-list svg { width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }
.contact-list strong { display: block; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); font-weight: 600; margin-bottom: 2px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; color: var(--bronze); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; font-size: 0.9375rem; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours dt { color: var(--slate); }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-1); background: var(--surface); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.6) contrast(1.02); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } .map { aspect-ratio: auto; height: 100%; min-height: 520px; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; display: grid; gap: 20px; justify-items: center; }
.cta-band h2 { max-width: 20ch; margin: 0; }
.cta-band p { max-width: 50ch; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(251, 249, 243, 0.8); padding-block: clamp(56px, 7vw, 88px) 32px; font-size: 0.9375rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; }
.footer-brand { display: grid; gap: 16px; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { color: rgba(251, 249, 243, 0.62); max-width: 36ch; line-height: 1.65; }
.footer-col h3 { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2); font-family: var(--font-body); font-weight: 600; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col address { font-style: normal; line-height: 1.65; }
.footer-bottom { margin-top: clamp(40px, 5vw, 56px); padding-top: 22px; border-top: 1px solid rgba(251, 249, 243, 0.12); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 0.875rem; color: rgba(251, 249, 243, 0.55); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 16px; padding-block: var(--section); }
.notfound h1 { font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .hero .rise, html.js .reveal, html.js .reveal-stagger > * { opacity: 1; transform: none; animation: none; transition: none; }
  html.js .hero__sheen { animation: none; }
  .ph img, .card .ph, .material, .btn, .pill, .nav-toggle, .mobile-nav { transition: none; }
  html.js .ph img[loading="lazy"]:not(.is-loaded) { opacity: 1; }
  a:hover .ph img, .card:hover .ph img { transform: none; }
}
