:root {
  --ink: #202427;
  --ink-soft: #34383b;
  --charcoal: #433f3f;
  --gold: #d2be50;
  --gold-deep: #7a6200;
  --gold-soft: #f2e8ae;
  --ivory: #f6f4ee;
  --surface: #fff;
  --muted: #646b70;
  --line: #d8d4ca;
  --line-dark: rgb(255 255 255 / 18%);
  --before: #56616a;
  --error: #b42318;
  --success: #176b45;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --container: 1120px;
  --gutter: clamp(20px, 5vw, 36px);
  --section: clamp(64px, 10vw, 112px);
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 16px 40px rgb(32 36 39 / 10%);
  --header-height: 64px;
  --admin-bar-offset: 0px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  padding-bottom: 64px;
}

body.nav-open { overflow: hidden; }

body.admin-bar { --admin-bar-offset: 32px; }

body::before {
  position: fixed;
  z-index: 998;
  inset: calc(var(--header-height) + var(--admin-bar-offset)) 0 0;
  visibility: hidden;
  background: rgb(17 19 21 / 48%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms;
}

body.nav-open::before { visibility: visible; opacity: 1; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure { margin: 0; }

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:hover { color: var(--gold-deep); }

button,
input,
select,
textarea { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
}

::selection {
  color: var(--ink);
  background: var(--gold-soft);
}

h1,
h2,
h3,
h4,
p { margin-top: 0; }

h1,
h2,
h3,
h4 {
  line-height: 1.35;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.25rem, 1.7rem + 2.7vw, 4.75rem); }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.55vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + 0.55vw, 1.55rem); }

.screen-reader-text {
  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: fixed;
  z-index: 10000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: var(--surface);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.site-main { padding-top: var(--header-height); }
.section { padding-block: var(--section); }
.section--ivory { background: var(--ivory); }
.section--dark { color: var(--surface); background: var(--ink); }
.content-area { max-width: 860px; }
.content-area > * + * { margin-top: 1.5em; }
.narrow-copy { max-width: 760px; }

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow--gold { color: var(--gold); }

.section-heading { max-width: 760px; margin-bottom: clamp(32px, 6vw, 58px); }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p:last-child { margin-top: 20px; margin-bottom: 0; color: var(--muted); }
.section-heading--light > p:last-child { color: rgb(255 255 255 / 72%); }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button--gold { color: var(--ink); background: var(--gold); }
.button--gold:hover { color: var(--ink); background: #e2cf69; }
.button--ghost { color: var(--surface); border-color: rgb(255 255 255 / 60%); background: rgb(20 22 24 / 22%); }
.button--ghost:hover { color: var(--ink); background: var(--surface); }
.button--outline-light { color: var(--surface); border-color: rgb(255 255 255 / 60%); }
.button--outline-light:hover { color: var(--ink); background: var(--surface); }
.button--full { width: 100%; }

.text-link,
.stretched-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid currentcolor;
}

.text-link:hover,
.stretched-link:hover { color: var(--gold-deep); }

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: var(--admin-bar-offset) 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid rgb(32 36 39 / 10%);
  background: rgb(255 255 255 / 96%);
}

.site-header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.site-brand:hover { color: var(--ink); }
.site-brand img { width: 38px; height: 38px; object-fit: contain; }
.site-brand span { display: grid; line-height: 1.2; }
.site-brand b { font-size: 0.93rem; letter-spacing: 0.06em; }
.site-brand small { margin-top: 3px; color: var(--muted); font-size: 0.63rem; font-weight: 700; letter-spacing: 0.12em; }

.menu-toggle {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle__lines { display: grid; width: 25px; gap: 5px; }
.menu-toggle__lines i { display: block; width: 100%; height: 2px; background: currentcolor; transition: transform 160ms ease, opacity 160ms ease; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:last-child { transform: translateY(-7px) rotate(-45deg); }

.primary-navigation {
  position: fixed;
  z-index: 999;
  top: calc(var(--header-height) + var(--admin-bar-offset));
  right: 0;
  bottom: 0;
  width: min(100vw, 520px);
  padding: 28px clamp(20px, 4vw, 32px) max(32px, env(safe-area-inset-bottom));
  visibility: hidden;
  background: var(--surface);
  box-shadow: -20px 20px 50px rgb(0 0 0 / 15%);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translateX(105%);
  transition: transform 220ms ease, visibility 220ms;
}

.primary-navigation.is-open { visibility: visible; transform: none; }
.primary-menu { display: grid; padding: 0; margin: 0 0 28px; list-style: none; }
.primary-menu li { border-bottom: 1px solid var(--line); }
.primary-menu a { display: flex; min-height: 56px; align-items: center; color: var(--ink); font-weight: 700; text-decoration: none; }
.primary-menu .current-menu-item > a,
.primary-menu a[aria-current="page"] { color: var(--gold-deep); }
.header-contact { display: flex; min-height: 60px; flex-direction: column; align-items: center; justify-content: center; color: var(--ink); background: var(--gold); font-size: 0.87rem; font-weight: 800; text-decoration: none; }
.header-contact span { font-size: 0.63rem; letter-spacing: 0.18em; }

html:not(.js) .site-header { position: static; height: auto; }
html:not(.js) .site-header__inner { min-height: var(--header-height); height: auto; flex-wrap: wrap; }
html:not(.js) .menu-toggle { display: none; }
html:not(.js) .primary-navigation { position: static; width: 100%; padding: 0 0 18px; visibility: visible; box-shadow: none; transform: none; }
html:not(.js) .primary-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
html:not(.js) .site-main { padding-top: 0; }

/* Hero */
.hero { position: relative; color: var(--surface); background: var(--ink); overflow: hidden; }
.hero__media { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 72% 50%; }
.hero__overlay { display: none; }
.hero__content { padding-block: 44px 58px; }
.hero__kicker { margin-bottom: 16px; color: var(--gold); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em; }
.hero h1 { max-width: 8.5em; margin-bottom: 22px; font-family: var(--font-serif); font-weight: 700; line-break: strict; text-wrap: balance; }
.hero__lead { max-width: 41em; margin-bottom: 30px; color: rgb(255 255 255 / 84%); line-height: 1.9; }
.hero__actions { display: grid; gap: 12px; }
.hero__assurances { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 22px 0 0; margin: 0; list-style: none; color: rgb(255 255 255 / 72%); font-size: 0.78rem; }
.hero__assurances li::before { color: var(--gold); content: "●"; margin-right: 7px; font-size: 0.55em; vertical-align: 0.18em; }
.hero__scroll { display: none; }

/* Intro */
.intro__grid { display: grid; gap: 42px; }
.intro__copy h2 { margin-bottom: 26px; }
.intro__copy p { color: var(--muted); }
.intro__copy .text-link { margin-top: 14px; }
.intro__image { position: relative; }
.intro__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); }
.intro__image figcaption { position: absolute; right: 0; bottom: 0; padding: 8px 14px; color: var(--surface); background: var(--ink); font-size: 0.75rem; font-weight: 700; }

/* Services */
.service-grid { display: grid; gap: 18px; }
.service-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 1px 0 rgb(32 36 39 / 3%); overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.service-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-card__body { padding: 24px; }
.service-card__number { display: block; margin-bottom: 10px; color: var(--gold-deep); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.15em; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { min-height: 3.6em; color: var(--muted); font-size: 0.94rem; }
.stretched-link::after { position: absolute; inset: 0; content: ""; }

/* Strengths */
.strengths__layout { display: grid; gap: 42px; }
.strengths__sticky > p:last-child { color: var(--muted); }
.strength-list { display: grid; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.strength-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.strength-list > li > span { color: var(--gold-deep); font-size: 0.77rem; font-weight: 900; letter-spacing: 0.1em; }
.strength-list h3 { margin-bottom: 10px; }
.strength-list p { margin-bottom: 0; color: var(--muted); }

/* Works */
.works-grid { display: grid; gap: 20px; }
.work-card { color: var(--ink); background: var(--surface); border-radius: var(--radius-md); overflow: hidden; }
.work-card__link { display: block; color: inherit; text-decoration: none; }
.work-card__media { position: relative; background: #e8e5de; overflow: hidden; }
.work-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: transform 260ms ease; }
.work-card__link:hover .work-card__media img { transform: scale(1.025); }
.work-card__placeholder { display: block; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #eeeae0, #d9d5cb); }
.work-card__view { position: absolute; right: 12px; bottom: 12px; padding: 7px 11px; color: var(--ink); background: var(--gold); font-size: 0.7rem; font-weight: 800; }
.work-card__body { min-height: 150px; padding: 20px; }
.work-card__category { display: block; margin-bottom: 8px; color: var(--gold-deep); font-size: 0.73rem; font-weight: 800; }
.work-card__title { margin-bottom: 9px; font-size: 1.13rem; }
.work-card__month { margin: 0; color: var(--muted); font-size: 0.78rem; }
.section-action { margin: 38px 0 0; text-align: center; }
.works-grid .empty-state { grid-column: 1 / -1; color: inherit; }

/* Process */
.process-list { display: grid; padding: 0; margin: 0; list-style: none; counter-reset: process; }
.process-list li { position: relative; padding: 26px 0 26px 56px; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list span { position: absolute; top: 29px; left: 0; color: var(--gold-deep); font-size: 0.76rem; font-weight: 900; }
.process-list h3 { margin-bottom: 8px; }
.process-list p { margin-bottom: 0; color: var(--muted); }

/* Shared CTA */
.consultation-cta { color: var(--surface); border-top: 3px solid var(--gold); background: var(--ink); }
.consultation-cta__inner { display: grid; gap: 32px; padding-block: clamp(54px, 8vw, 86px); }
.consultation-cta h2 { margin-bottom: 18px; }
.consultation-cta p:last-child { margin-bottom: 0; color: rgb(255 255 255 / 72%); }
.consultation-cta__actions { display: grid; align-content: center; gap: 16px; }
.consultation-cta__phone { display: grid; min-height: 60px; align-content: center; color: var(--surface); text-align: center; text-decoration: none; }
.consultation-cta__phone:hover { color: var(--gold); }
.consultation-cta__phone small { font-size: 0.7rem; }
.consultation-cta__phone strong { font-size: 1.45rem; letter-spacing: 0.04em; }

/* Footer */
.site-footer { color: rgb(255 255 255 / 78%); background: #151719; }
.site-footer__grid { display: grid; gap: 48px; padding-block: 58px 46px; }
.site-footer__logo-plate { display: inline-flex; padding: 8px 12px; margin-bottom: 22px; border-radius: var(--radius-sm); background: var(--surface); }
.site-footer__company p { margin-bottom: 8px; font-size: 0.86rem; }
.site-footer__phone { color: var(--surface); font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.site-brand--footer img { width: 42px; height: 42px; }
.site-brand--footer b { color: var(--ink); }
.site-brand--footer small { color: var(--muted); }
.site-footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.site-footer__links h2 { margin-bottom: 16px; color: var(--surface); font-size: 0.83rem; letter-spacing: 0.1em; }
.site-footer__links ul { padding: 0; margin: 0; list-style: none; }
.site-footer__links a { display: inline-flex; min-height: 38px; align-items: center; color: rgb(255 255 255 / 72%); font-size: 0.8rem; text-decoration: none; }
.site-footer__links a:hover { color: var(--gold); }
.site-footer__bottom { display: flex; min-height: 70px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-dark); font-size: 0.72rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: inherit; text-decoration: none; }

.mobile-contact-bar { position: fixed; z-index: 900; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 64px; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px rgb(0 0 0 / 12%); }
.mobile-contact-bar a { display: flex; min-height: 64px; align-items: center; justify-content: center; gap: 7px; color: var(--surface); background: var(--ink); font-size: 0.85rem; font-weight: 800; text-decoration: none; }
.mobile-contact-bar a:last-child { color: var(--ink); background: var(--gold); }

/* Lower-page hero and breadcrumbs */
.page-hero { position: relative; display: grid; align-items: center; min-height: 280px; color: var(--surface); background: var(--ink); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(20 22 24 / 88%), rgb(20 22 24 / 22%)); }
.page-hero__content { position: relative; z-index: 1; padding-block: 48px; }
.page-hero h1 { margin-bottom: 10px; font-size: clamp(2.25rem, 1.8rem + 2vw, 4rem); line-break: strict; text-wrap: balance; }
.page-hero p:last-child { margin-bottom: 0; color: rgb(255 255 255 / 78%); }
.page-hero--plain { min-height: 250px; }
.page-hero--plain .site-container { padding-block: 64px 48px; }
.page-hero--plain p:last-child { max-width: 42em; }

.breadcrumbs { padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 0.72rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { margin-right: 6px; color: #a09d95; content: "/"; }
.breadcrumbs a { color: var(--muted); }

/* Service page */
.service-intro h2 { margin-bottom: 24px; }
.service-intro p { color: var(--muted); }
.service-jump { display: grid; gap: 8px; padding-bottom: clamp(48px, 8vw, 86px); }
.service-jump a { display: grid; grid-template-columns: 42px 1fr; min-height: 54px; align-items: center; padding: 8px 14px; border: 1px solid var(--line); color: var(--ink); font-size: 0.9rem; font-weight: 800; text-decoration: none; }
.service-jump span { color: var(--gold-deep); font-size: 0.7rem; }
.service-detail { scroll-margin-top: calc(var(--header-height) + 16px); }
.service-detail__grid { display: grid; gap: 36px; }
.service-detail__image { position: relative; }
.service-detail__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); }
.service-detail__image figcaption { position: absolute; top: -16px; left: -4px; color: var(--gold); font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; line-height: 1; text-shadow: 0 2px 0 var(--surface); opacity: 0.9; }
.service-detail__copy h2 { margin-bottom: 10px; }
.service-detail__copy h3 { margin-bottom: 22px; color: var(--charcoal); font-size: 1.15rem; }
.service-detail__copy > p { color: var(--muted); }
.service-detail__points { padding: 22px; margin: 28px 0 18px; border-left: 3px solid var(--gold); background: rgb(210 190 80 / 10%); }
.service-detail__points h4 { margin: 0 0 10px; font-size: 0.86rem; }
.service-detail__points ul { padding-left: 1.2em; margin: 0; }
.service-detail__points li + li { margin-top: 5px; }
.service-note { padding-top: 0; }
.service-note__inner { padding: clamp(30px, 6vw, 54px); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.service-note__inner p:last-child { max-width: 50em; margin-bottom: 0; color: var(--muted); }

/* Stone cleaning landing page */
.stone-service-intro__grid { display: grid; gap: 34px; }
.stone-service-intro__copy > p { color: var(--muted); }
.stone-service-intro__actions { display: grid; gap: 18px; align-items: center; margin-top: 30px; }
.stone-service-intro__actions .text-link { justify-self: start; }
.stone-service-intro__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); }
.stone-service-intro__image figcaption { padding-top: 10px; color: var(--muted); font-size: 0.78rem; }
.stone-concerns__grid { display: grid; gap: 14px; }
.stone-concern-card { position: relative; min-height: 100%; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.stone-concern-card > span { display: block; margin-bottom: 18px; color: var(--gold-deep); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; }
.stone-concern-card h3 { margin-bottom: 10px; }
.stone-concern-card p { margin: 0; color: var(--muted); }
.stone-approach__notice { padding: 18px 20px; border-left: 3px solid var(--gold); background: var(--ivory); color: var(--ink) !important; font-size: 0.9rem; }
.stone-featured-work__comparison { margin-top: 32px; }
.stone-featured-work .section-action { margin-bottom: 0; }
.stone-works { scroll-margin-top: calc(var(--header-height) + 20px); }
.stone-faq__layout { display: grid; gap: 32px; }
.stone-faq__list { border-top: 1px solid var(--line); }
.stone-faq__item { border-bottom: 1px solid var(--line); }
.stone-faq__item summary { position: relative; padding: 22px 46px 22px 0; cursor: pointer; font-weight: 800; list-style: none; }
.stone-faq__item summary::-webkit-details-marker { display: none; }
.stone-faq__item summary::after { position: absolute; top: 50%; right: 4px; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; color: var(--gold-deep); content: "+"; font-size: 1.1rem; line-height: 21px; text-align: center; transform: translateY(-50%); }
.stone-faq__item[open] summary::after { content: "−"; }
.stone-faq__item > div { padding: 0 36px 22px 0; }
.stone-faq__item p { margin: 0; color: var(--muted); }
.stone-service-note { padding-top: 0; }

/* Company */
.company-message__grid { display: grid; gap: 30px; }
.company-message__grid p { color: var(--muted); }
.company-outline__grid { display: grid; gap: 32px; }
.company-table { margin: 0; border-top: 1px solid var(--line); }
.company-table div { display: grid; grid-template-columns: minmax(90px, 30%) 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.company-table dt { color: var(--muted); font-size: 0.82rem; font-weight: 800; }
.company-table dd { margin: 0; }
.history-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.history-list li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.history-list time { color: var(--gold-deep); font-size: 0.85rem; font-weight: 800; }
.history-list p { margin: 0; }

/* Archive */
.works-filters { display: flex; gap: 8px; padding-bottom: 36px; overflow-x: auto; scrollbar-width: thin; }
.works-filters a { display: inline-flex; min-height: 44px; flex: 0 0 auto; align-items: center; gap: 8px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 0.78rem; font-weight: 700; text-decoration: none; }
.works-filters a[aria-current="page"] { border-color: var(--ink); color: var(--surface); background: var(--ink); }
.works-filters span { display: grid; min-width: 20px; height: 20px; place-items: center; border-radius: 50%; color: var(--muted); background: var(--ivory); font-size: 0.66rem; }
.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: grid; min-width: 44px; min-height: 44px; place-items: center; padding: 8px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.page-numbers.current { border-color: var(--ink); color: var(--surface); background: var(--ink); }

/* Single works */
.single-work__header { padding-block: clamp(48px, 8vw, 88px) 36px; }
.single-work__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 18px; color: var(--muted); font-size: 0.78rem; }
.single-work__meta a { color: var(--gold-deep); font-weight: 800; }
.single-work__header h1 { max-width: 16em; margin-bottom: 18px; font-size: clamp(2rem, 1.6rem + 2vw, 3.5rem); }
.single-work__lead { max-width: 48em; color: var(--muted); }
.work-comparison { display: grid; gap: 8px; }
.work-comparison__item { position: relative; background: #e8e5de; }
.work-comparison__item img { width: 100%; max-height: 680px; aspect-ratio: 4 / 3; object-fit: contain; }
.work-comparison__label { position: absolute; z-index: 1; top: 10px; left: 10px; display: grid; min-width: 84px; padding: 6px 10px; color: var(--surface); background: var(--before); font-size: 0.75rem; font-weight: 800; line-height: 1.3; }
.work-comparison__label span { font-size: 0.55rem; letter-spacing: 0.12em; }
.work-comparison__label--after { color: var(--ink); background: var(--gold); }
.single-work__content { display: grid; gap: 36px; padding-block: clamp(54px, 9vw, 96px); }
.single-work__body h2 { margin-bottom: 24px; }
.single-work__body p { color: var(--muted); }
.work-facts { align-self: start; padding: 26px; border-top: 3px solid var(--gold); background: var(--ivory); }
.work-facts h2 { font-size: 1.15rem; }
.work-facts dl { margin: 0; }
.work-facts dl div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding-block: 13px; border-top: 1px solid var(--line); }
.work-facts dt { color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.work-facts dd { margin: 0; font-size: 0.9rem; }
.work-gallery__grid { display: grid; gap: 14px; }
.work-gallery__grid figure { background: #e8e5de; }
.work-gallery__grid img { width: 100%; max-height: 720px; object-fit: contain; }

/* Contact */
.contact__grid { display: grid; gap: 42px; }
.contact__intro > p { color: var(--muted); }
.contact__intro ul { padding-left: 1.2em; }
.contact__phone { padding: 24px; margin: 28px 0; border-top: 3px solid var(--gold); background: var(--ivory); }
.contact__phone small { display: block; color: var(--muted); font-size: 0.75rem; }
.contact__phone a { display: block; margin-top: 4px; color: var(--ink); font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); font-weight: 900; text-decoration: none; }
.contact__phone p { margin: 0; font-size: 0.8rem; }
.contact__form-wrap { min-width: 0; }
.contact-form { display: grid; gap: 24px; padding: clamp(22px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.field-row label { display: block; margin-bottom: 8px; font-size: 0.88rem; font-weight: 800; }
.field-row input,
.field-row select,
.field-row textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #aaa69e; border-radius: var(--radius-sm); color: var(--ink); background: var(--surface); }
.field-row textarea { min-height: 180px; resize: vertical; }
.field-row input:focus,
.field-row select:focus,
.field-row textarea:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgb(122 98 0 / 15%); outline: none; }
.field-row small { display: block; margin-top: 7px; color: var(--muted); font-size: 0.72rem; }
.required,
.optional { display: inline-block; padding: 2px 6px; margin-left: 5px; border-radius: 2px; font-size: 0.65rem; line-height: 1.4; }
.required { color: var(--surface); background: var(--error); }
.optional { color: var(--muted); background: var(--ivory); }
.privacy-check { display: flex; align-items: flex-start; gap: 11px; font-size: 0.84rem; }
.privacy-check input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 4px; accent-color: var(--gold-deep); }
.form-note { margin: 0; color: var(--muted); font-size: 0.72rem; }
.form-notice { padding: 16px; margin-bottom: 20px; border-left: 4px solid currentcolor; font-weight: 700; }
.form-notice--success { color: var(--success); background: #eef9f3; }
.form-notice--error { color: var(--error); background: #fff2f0; }
.honeypot { position: absolute; left: -9999px; }

/* Legal, posts, error */
.legal-content { max-width: 860px; }
.legal-content h2 { margin-top: 2em; font-size: 1.35rem; }
.legal-content p { color: var(--muted); }
.legal-note { padding: 18px; border-left: 3px solid var(--gold); background: var(--ivory); }
.post-list { display: grid; gap: 20px; }
.post-summary { padding: 28px; border: 1px solid var(--line); }
.post-summary h2 { font-size: 1.3rem; }
.post-summary__date { color: var(--muted); font-size: 0.75rem; }
.error-page { min-height: 65vh; display: grid; align-items: center; }
.error-page__inner { max-width: 760px; text-align: center; }
.error-page__code { margin-bottom: -12px; color: var(--gold-soft); font-size: clamp(5rem, 24vw, 11rem); font-weight: 900; line-height: 0.9; }
.error-page__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; margin-top: 30px; }
.empty-state { padding: 28px; border: 1px solid var(--line); text-align: center; }

.single-work__header h1,
.section-heading h2 { text-wrap: balance; }

@media (max-width: 782px) {
  body.admin-bar { --admin-bar-offset: 46px; }
}

@media (max-width: 759px) {
  .hero__content { padding-block: 32px 46px; }
  .hero__kicker { margin-bottom: 12px; }
  .hero h1 { margin-bottom: 18px; font-size: clamp(1.95rem, 1rem + 5vw, 3rem); line-height: 1.28; }
  .hero__lead { margin-bottom: 24px; }
}

@media (max-width: 600px) {
  body.admin-bar #wpadminbar { position: fixed; }
}

@media (max-width: 559px) {
  .primary-navigation { width: 100vw; }
  .site-footer__bottom { min-height: 86px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
}

@media (max-width: 979px) and (max-height: 600px) {
  .primary-navigation { padding-block: 16px max(18px, env(safe-area-inset-bottom)); }
  .primary-menu { margin-bottom: 14px; }
  .primary-menu a { min-height: 48px; }
  .header-contact { min-height: 52px; }
}

@media (min-width: 560px) {
  .hero__actions { grid-template-columns: max-content max-content; }
  .service-grid,
  .works-grid,
  .work-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stone-service-intro__actions { grid-template-columns: max-content max-content; }
  .stone-concerns__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
  .process-list li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .consultation-cta__actions { grid-template-columns: minmax(220px, 1fr) minmax(190px, 0.8fr); }
}

@media (min-width: 760px) {
  :root { --header-height: 76px; }
  body { padding-bottom: 0; }
  .mobile-contact-bar { display: none; }
  .section-heading--split { display: grid; max-width: none; grid-template-columns: minmax(0, 1.3fr) minmax(250px, 0.7fr); align-items: end; gap: 60px; }
  .section-heading--split > p:last-child { margin: 0; }
  .consultation-cta__actions { grid-template-columns: 1fr; }
  .hero { display: grid; min-height: min(820px, calc(100svh - var(--header-height))); align-items: center; }
  .hero__media { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 68% 50%; }
  .hero__overlay { position: absolute; display: block; inset: 0; background: linear-gradient(90deg, rgb(21 24 26 / 93%) 0%, rgb(21 24 26 / 67%) 46%, rgb(21 24 26 / 12%) 78%); }
  .hero__content { position: relative; z-index: 1; padding-block: 80px; }
  .hero__scroll { position: absolute; z-index: 1; right: 22px; bottom: 28px; display: block; font-size: 0.6rem; letter-spacing: 0.2em; writing-mode: vertical-rl; }
  .intro__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: 8vw; }
  .service-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .service-card { grid-column: span 3; }
  .service-card:first-child { grid-column: span 6; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); }
  .service-card:first-child > img { height: 100%; aspect-ratio: auto; }
  .strengths__layout { grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr); gap: 9vw; }
  .strengths__sticky { position: sticky; top: calc(var(--header-height) + 40px); align-self: start; }
  .process-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
  .process-list li { padding: 56px 26px 10px 0; border-top: 0; border-bottom: 0 !important; }
  .process-list li::after { position: absolute; top: 17px; right: 18px; left: 38px; height: 1px; background: var(--line); content: ""; }
  .process-list span { top: 7px; width: 24px; height: 24px; border-radius: 50%; color: var(--ink); background: var(--gold); line-height: 24px; text-align: center; }
  .consultation-cta__inner { grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr); align-items: center; gap: 8vw; }
  .site-footer__grid { grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 72px); }
  .page-hero { min-height: 360px; }
  .service-jump { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .service-jump a { grid-template-columns: 1fr; align-content: center; text-align: center; }
  .service-detail__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 8vw; }
  .stone-service-intro__grid { grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr); align-items: center; gap: 7vw; }
  .stone-faq__layout { grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr); gap: 8vw; }
  .service-detail:nth-child(even) .service-detail__image { order: 2; }
  .company-message__grid,
  .company-outline__grid { grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr); gap: 8vw; }
  .works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work-comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-work__content { grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr); gap: 8vw; }
  .work-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact__grid { grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr); gap: 8vw; }
  .contact__intro { position: sticky; top: calc(var(--header-height) + 35px); align-self: start; }
}

@media (min-width: 980px) {
  .menu-toggle { display: none; }
  .primary-navigation { position: static; display: flex; width: auto; height: 100%; align-items: center; padding: 0; visibility: visible; box-shadow: none; overflow: visible; transform: none; transition: none; }
  .primary-navigation::before { display: none; }
  .primary-menu { display: flex; height: 100%; align-items: center; margin: 0; }
  .primary-menu li { height: 100%; border: 0; }
  .primary-menu a { position: relative; height: 100%; min-height: 0; padding: 0 14px; font-size: 0.8rem; }
  .primary-menu a::after { position: absolute; right: 14px; bottom: 0; left: 14px; height: 3px; background: var(--gold); content: ""; transform: scaleX(0); transition: transform 160ms ease; }
  .primary-menu a:hover::after,
  .primary-menu .current-menu-item > a::after,
  .primary-menu a[aria-current="page"]::after { transform: scaleX(1); }
  .header-contact { align-self: stretch; min-width: 138px; margin-left: 14px; padding-inline: 16px; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-card,
  .service-card:first-child { grid-column: auto; display: block; }
  .service-card:first-child > img { height: auto; aspect-ratio: 16 / 10; }
  .service-card:nth-child(4),
  .service-card:nth-child(5) { transform: translateX(50%); }
  .service-card:nth-child(4):hover,
  .service-card:nth-child(5):hover { transform: translate(50%, -4px); }
  .stone-concerns__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1180px) {
  .consultation-cta__inner { grid-template-columns: minmax(0, 1fr) minmax(430px, 0.75fr); gap: clamp(48px, 8vw, 90px); }
  .consultation-cta__actions { grid-template-columns: minmax(220px, 1fr) minmax(190px, 0.8fr); }
  .primary-menu a { padding-inline: 19px; }
  .primary-menu a::after { right: 19px; left: 19px; }
  .site-brand img { width: 44px; height: 44px; }
  .site-brand b { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header,
  .site-footer,
  .mobile-contact-bar,
  .consultation-cta,
  .menu-toggle { display: none !important; }
  .site-main { padding: 0; }
  body { color: #000; background: #fff; }
  a { text-decoration: none; }
}
