/* KANCELARIA — system: paper, ink, typographic chapters. Scale 1.25. */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Source+Sans+3:wght@400;600&display=swap&subset=latin-ext');

:root {
  --font-heading: 'EB Garamond', Georgia, serif;
  --font-body: 'Source Sans 3', Arial, sans-serif;
  --fs-xs: clamp(.75rem, .7rem + .15vw, .875rem);
  --fs-sm: clamp(.9375rem, .9rem + .1vw, .9375rem);
  --fs-body: clamp(1rem, .875rem + .4vw, 1.0625rem);
  --fs-md: clamp(1.125rem, 1rem + .35vw, 1.3125rem);
  --fs-lg: clamp(1.375rem, 1.1rem + .6vw, 1.6875rem);
  --fs-xl: clamp(1.6875rem, 1.4rem + .65vw, 2.0625rem);
  --fs-2xl: clamp(2.125rem, 1.7rem + 1.2vw, 2.625rem);
  --fs-3xl: clamp(2.5rem, 1.9rem + 1.5vw, 3.25rem);
  --fs-hero: clamp(2.875rem, 2.2rem + 2.14vw, 4.125rem);
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px;
  --s-9: 160px; --s-10: 192px; --s-11: 224px; --s-12: 256px;
  --paper: #F4EFE6; --paper-deep: #EAE3D6; --ink: #14253F;
  --ink-light: #2C4770; --gold: #A88A55; --gold-type: #75603D; --wax: #8E2B2B;
  --muted: #58616A; --ink-secondary: rgb(20 37 63 / .8);
  --line: #C9C0AE; --field-line: #8D826F; --field: #FBF8F2;
  --photo-grade: grayscale(1) contrast(1.2);
  --contact-bar-space: calc(var(--s-6) + 1px + env(safe-area-inset-bottom, 0px));
  --radius: 0; --shadow: 0 8px 32px #14253F0D;
  --duration: 240ms; --duration-reveal: 560ms;
  --ease: cubic-bezier(.2,.7,.2,1);
  --gutter: clamp(20px, 5vw, 72px); --content: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--s-4); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-body)/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .6; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--ink-light); outline-offset: 5px; }
main:focus { outline: none; }
input, select, textarea { scroll-margin-block: var(--s-3) var(--s-7); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
img { display: block; width: 100%; height: auto; }
svg { display: block; flex-shrink: 0; }
figure, p, h1, h2, h3, ul, ol { margin: 0; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; line-height: 1.1; text-wrap: balance; }
h1 { font-size: var(--fs-hero); line-height: 1.05; }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
p + p { margin-top: var(--s-3); }
em { font-family: var(--font-heading); font-weight: 400; }
strong { font-weight: 600; }
ul, ol { padding-left: var(--s-3); }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--content)); margin-inline: auto; }
.measure { max-width: 38rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: var(--s-2); left: var(--s-2); padding: var(--s-2); background: var(--ink); color: var(--paper); transform: translateY(-200%); z-index: 100; }
.skip-link:focus { transform: none; }
.eyebrow { display: block; font-family: var(--font-heading); font-variant: small-caps; font-size: var(--fs-sm); letter-spacing: .12em; line-height: 1.4; }
.muted, .fineprint { color: var(--muted); }
.fineprint { font-size: var(--fs-sm); line-height: 1.55; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3); padding: var(--s-2) var(--s-4); border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--paper); font-size: var(--fs-body); font-weight: 600; line-height: 1.25; text-decoration: none; transition: background var(--duration), color var(--duration), transform var(--duration); }
.button:hover { background: var(--ink-light); border-color: var(--ink-light); }
.button:active { transform: translateY(1px); }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--ink); color: var(--paper); }
.text-link { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 48px; text-decoration: none; border-bottom: 1px solid var(--gold); transition: color var(--duration), border-color var(--duration); }
.text-link:hover { color: var(--ink-light); border-color: var(--ink); }
.text-link .icon { transition: transform var(--duration) var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.ornament { display: flex; align-items: center; justify-content: center; gap: var(--s-2); color: var(--gold); }
.ornament::before, .ornament::after { content: ''; height: 1px; width: var(--s-6); background: var(--gold); }
.ornament svg { width: 24px; height: 16px; }
.section-heading { max-width: 760px; margin: 0 auto var(--s-5); text-align: center; }
.section-heading .eyebrow { margin-bottom: var(--s-3); }
.section-heading h2 + p { margin: var(--s-3) auto 0; max-width: 38rem; }

/* Centered letterhead, with a separate correspondence/navigation line. */
.masthead { padding-top: var(--s-2); }
.letterhead { display: grid; grid-template-columns: 1fr 1.3fr 1fr; align-items: center; padding-bottom: var(--s-2); }
.address-note { font-family: var(--font-heading); font-size: var(--fs-body); line-height: 1.5; }
.address-note em { color: var(--muted); }
.brand { display: flex; flex-direction: column; align-items: center; gap: var(--s-1); text-decoration: none; width: fit-content; justify-self: center; }
.brand-mark { width: 40px; height: 32px; color: var(--gold); }
.brand-name { font-family: var(--font-heading); font-size: 28px; line-height: 1; letter-spacing: .025em; }
.brand-subtitle { font-family: var(--font-heading); font-size: 15px; font-variant: small-caps; letter-spacing: .16em; line-height: 1; }
.header-contact { justify-self: end; text-align: right; }
.header-phone { display: inline-block; font-family: var(--font-heading); font-size: var(--fs-md); text-decoration: none; }
.header-contact .fineprint { display: block; }
.nav-line { border-block: 3px double var(--line); display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.desktop-nav { display: flex; gap: var(--s-4); align-items: center; }
.desktop-nav a { font-size: var(--fs-sm); text-decoration: none; padding-block: var(--s-2); position: relative; }
.desktop-nav a::after { position: absolute; bottom: var(--s-1); left: 0; right: 0; content: ''; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--duration); }
.desktop-nav a:hover::after { transform: scaleX(1); }
.nav-cta { font-size: var(--fs-sm); font-weight: 600; display: flex; align-items: center; gap: var(--s-2); text-decoration: none; min-height: 48px; }
.menu-toggle { display: none; border: 0; background: transparent; }
.mobile-menu { border: 0; padding: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; background: var(--paper); color: var(--ink); }
.mobile-menu::backdrop { background: var(--paper); }
.menu-inner { padding: var(--s-3) var(--gutter); display: flex; flex-direction: column; min-height: 100%; }
.menu-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px double var(--line); padding-bottom: var(--s-3); }
.menu-close { width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 1px solid var(--line); }
.menu-links { display: flex; flex-direction: column; margin: var(--s-5) 0; }
.menu-links a { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-heading); font-size: var(--fs-xl); padding-block: var(--s-2); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-inner > .button { margin-top: auto; }
.menu-inner > .fineprint { margin-top: var(--s-3); }

/* Every photograph has the same ink-on-paper treatment, never a text overlay. */
.engraving { isolation: isolate; position: relative; overflow: hidden; background: var(--ink); }
.engraving img { height: 100%; object-fit: cover; filter: var(--photo-grade); mix-blend-mode: screen; }
.engraving::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: var(--paper); mix-blend-mode: multiply; opacity: 1; }
.framed { border: 1px solid var(--gold); padding: var(--s-1); }
figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); margin-top: var(--s-2); font-family: var(--font-heading); font-style: italic; font-size: var(--fs-body); color: var(--muted); }
.hero { text-align: center; padding-top: var(--s-5); }
.hero-copy { max-width: 800px; margin-inline: auto; }
.hero h1 em { display: block; }
.hero-lead { max-width: 36rem; font-size: var(--fs-md); margin: var(--s-3) auto var(--s-4); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: var(--s-4); }
.hero .fineprint { max-width: 44rem; margin: var(--s-2) auto 0; }
.hero-contact { font-size: var(--fs-sm); margin-top: var(--s-1); }
.hero-contact a { text-underline-offset: 3px; }
.hero-figure { max-width: 880px; margin: var(--s-5) auto 0; text-align: left; }
.hero-figure .engraving { height: 416px; }
.hero-figure img { object-position: 50% 30%; }
.hero-figure figcaption span:last-child { font-style: normal; font-variant: small-caps; letter-spacing: .08em; }
.credentials { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: var(--s-5); padding-block: var(--s-4); border-block: 1px solid var(--line); }
.credential { text-align: center; padding: 0 var(--s-3); border-right: 1px solid var(--line); }
.credential:last-child { border: 0; }
.credential strong { font-size: var(--fs-md); font-family: var(--font-heading); font-weight: 500; display: block; }
.credential span { display: block; font-size: var(--fs-sm); color: var(--muted); margin-top: var(--s-1); }

/* Book-like contents and four complete service chapters. */
.contents { padding-block: var(--s-7); }
.contents-inner { max-width: 880px; margin: auto; }
.contents .section-heading { margin-bottom: var(--s-4); }
.contents-list { list-style: none; padding: 0; }
.contents-list a { display: grid; grid-template-columns: 1fr 40px; gap: var(--s-2); align-items: baseline; min-height: 72px; padding-block: var(--s-2); font-family: var(--font-heading); font-size: var(--fs-lg); text-decoration: none; }
.contents-title { display: flex; align-items: baseline; gap: var(--s-2); }
.contents-title::after { content: ''; flex-grow: 1; border-bottom: 1px dotted var(--gold); min-width: 24px; }
.contents-list .roman { text-align: right; color: var(--gold-type); font-size: var(--fs-lg); }
.contents-list a:hover .contents-title { color: var(--ink-light); }
.chapter { padding-block: var(--s-7); }
.chapter:nth-of-type(even) { background: var(--paper-deep); }
.chapter-inner { max-width: 1088px; margin-inline: auto; }
.chapter-label { margin-bottom: var(--s-4); }
.chapter-label .eyebrow { margin: 0; }
.chapter-number { display: flex; align-items: center; justify-content: center; gap: var(--s-3); margin-top: var(--s-2); color: var(--gold-type); font-family: var(--font-heading); font-size: var(--fs-3xl); line-height: 1; }
.chapter-number::before, .chapter-number::after { content: ''; width: var(--s-6); height: 3px; border-block: 1px solid var(--gold); }
.chapter-head { max-width: 760px; margin-inline: auto; text-align: center; }
.chapter-head h2 { font-size: var(--fs-3xl); }
.chapter-lead { max-width: 42rem; margin: var(--s-3) auto var(--s-5); font-size: var(--fs-md); line-height: 1.55; }
.chapter-figure .engraving { height: 400px; }
.chapter-figure img { object-position: center 58%; }
#szkody .chapter-figure img { object-position: center 53%; }
.chapter-prose { max-width: 40rem; margin: var(--s-5) auto; }
.dropcap::first-letter { float: left; font-family: var(--font-heading); font-size: 76px; line-height: .79; padding-right: var(--s-1); padding-top: var(--s-1); color: var(--ink); }
.chapter-scope { margin-block: var(--s-5); }
.section-label { display: flex; align-items: baseline; gap: var(--s-2); margin-bottom: var(--s-3); font-size: var(--fs-lg); }
.section-label span { color: var(--gold-type); font-size: var(--fs-md); }
.scope-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); }
.scope-list li { padding-block: var(--s-3); border-top: 1px solid var(--line); }
.scope-list strong { display: block; margin-bottom: var(--s-1); font-weight: 600; }
.scope-list .dash { display: none; }
.scope-description { display: block; max-width: 34rem; color: var(--ink-secondary); font-size: var(--fs-body); line-height: 1.65; }
.chapter-outcome { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.audience-list { padding: 0; list-style: none; }
.audience-list li { position: relative; padding-left: var(--s-3); margin-bottom: var(--s-2); }
.audience-list li::before { position: absolute; left: 0; top: .8em; content: ''; width: 8px; border-top: 1px solid var(--gold); }
.outcome-text { font-family: var(--font-heading); font-size: var(--fs-lg); line-height: 1.35; }
.chapter-cta { margin-top: var(--s-4); }
.chapter-cta .fineprint { margin-top: var(--s-2); }
.chapter .ornament { margin-top: var(--s-6); }
.inspection { border: 1px solid var(--gold); margin: var(--s-5) 0; padding: var(--s-4); }
.inspection-head { display: flex; align-items: start; justify-content: space-between; gap: var(--s-4); border-bottom: 3px double var(--line); padding-bottom: var(--s-3); margin-bottom: var(--s-3); }
.inspection-head h3 { max-width: 26rem; }
.inspection-price { white-space: nowrap; font-family: var(--font-heading); font-size: var(--fs-2xl); line-height: 1; text-align: right; }
.inspection-price span { display: block; font-family: var(--font-body); font-size: var(--fs-sm); margin-top: var(--s-2); color: var(--muted); }
.inspection-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-5); list-style: none; padding: 0; counter-reset: check; }
.inspection-list li { counter-increment: check; display: grid; grid-template-columns: 24px 1fr; align-items: baseline; gap: var(--s-1); }
.inspection-list li::before { content: counter(check, decimal-leading-zero); font-family: var(--font-heading); font-size: var(--fs-body); color: var(--muted); }
.inspection-list strong { font-weight: 400; }

/* Procedure and personal credentials. */
.process { padding-block: var(--s-7); border-top: 3px double var(--line); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); list-style: none; padding: var(--s-3) 0 0; }
.process-grid li { border-top: 1px solid var(--gold); padding-top: var(--s-3); }
.step-num { font-family: var(--font-heading); font-size: var(--fs-2xl); color: var(--gold-type); }
.process-grid h3 { font-size: var(--fs-lg); margin: var(--s-3) 0 var(--s-2); }
.process-grid p { color: var(--muted); }
.about { padding-block: var(--s-7); background: var(--paper-deep); }
.about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); align-items: center; }
.about-portrait { grid-column: 1 / 6; }
.about-portrait .engraving { aspect-ratio: 4/5; }
.about-portrait img { object-position: center 30%; }
.about-copy { grid-column: 7 / 13; }
.about-copy .eyebrow { margin-bottom: var(--s-3); }
.about-copy h2 { font-size: var(--fs-2xl); margin-bottom: var(--s-4); }
.about-copy p { max-width: 38rem; }
.about-copy > p { font-size: 17px; }
.about-copy .about-signature { margin-top: var(--s-4); font-family: var(--font-heading); font-size: var(--fs-lg); font-style: italic; line-height: 1.3; }
.certificate { display: flex; align-items: center; gap: var(--s-3); padding-top: var(--s-3); margin-top: var(--s-4); border-top: 1px solid var(--line); }
.certificate .seal { width: 64px; height: 64px; color: var(--wax); flex-shrink: 0; }
.certificate p { font-size: var(--fs-sm); line-height: 1.5; }
.certificate strong { display: block; }
.region { padding-block: var(--s-7); text-align: center; }
.region .section-heading { margin-bottom: var(--s-4); }
.city-list { list-style: none; padding: 0; max-width: 800px; margin: var(--s-5) auto var(--s-4); display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: var(--s-2) var(--s-4); }
.city-list li { font-family: var(--font-heading); font-size: var(--fs-xl); }
.city-list li:first-child { grid-column: 1/-1; font-style: italic; font-size: var(--fs-2xl); padding-bottom: var(--s-2); }
.region > .wrap > p { max-width: 40rem; margin-inline: auto; }

/* Correspondence form: visible labels, borders, inline status. */
.contact { padding-block: var(--s-7); background: var(--paper-deep); }
.contact-grid { display: grid; grid-template-columns: 4fr 7fr; gap: var(--s-7); }
.contact-copy .eyebrow { margin-bottom: var(--s-3); }
.contact-copy h2 { font-size: var(--fs-2xl); margin-bottom: var(--s-3); }
.contact-copy address { font-style: normal; margin-top: var(--s-5); }
.contact-copy address p { margin-top: var(--s-3); }
.contact-number { font-family: var(--font-heading); font-size: var(--fs-xl); text-decoration: none; }
.contact-copy address a { overflow-wrap: anywhere; }
.contact-form { background: var(--paper); border: 1px solid var(--line); padding: var(--s-4); }
.form-heading { margin-bottom: var(--s-4); }
.form-heading h3 { font-size: var(--fs-xl); margin-bottom: var(--s-1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.field.full, .consent, .drop-field { grid-column: 1/-1; }
.field label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: var(--s-1); }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--field-line); border-radius: var(--radius); padding: var(--s-2); background: var(--field); min-height: 56px; line-height: 1.4; transition: border-color var(--duration); }
.field textarea { min-height: 128px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gold-type); }
.field [aria-invalid='true'] { border-color: var(--wax); }
.field input.sr-only { width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; left: 0; top: 0; }
.error-text { font-size: var(--fs-sm); color: var(--wax); margin-top: var(--s-1); }
.dropzone { position: relative; border: 1px dashed var(--field-line); text-align: center; padding: var(--s-3); background: var(--field); transition: background var(--duration), border-color var(--duration); }
.dropzone .icon { margin: 0 auto var(--s-1); }
.dropzone label { cursor: pointer; display: block; }
.dropzone label::after { content: ''; position: absolute; inset: 0; }
.dropzone label strong { text-decoration: underline; text-underline-offset: 4px; }
.dropzone:focus-within, .dropzone.dragover { outline: 2px solid var(--ink-light); outline-offset: 4px; background: var(--paper-deep); }
.file-list { list-style: none; padding: 0; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); border-bottom: 1px solid var(--line); padding-block: var(--s-1); }
.file-name { overflow-wrap: anywhere; min-width: 0; font-size: var(--fs-sm); }
.file-name span { display: block; color: var(--muted); }
.remove-file { width: 48px; height: 48px; border: 0; background: none; display: grid; place-items: center; flex-shrink: 0; }
.remove-file:hover { color: var(--wax); }
.consent label { display: flex; gap: var(--s-2); align-items: flex-start; cursor: pointer; font-size: var(--fs-sm); line-height: 1.5; }
.consent input { accent-color: var(--ink); width: 20px; height: 20px; margin: 0; flex-shrink: 0; }
.form-actions { margin-top: var(--s-4); }
.form-actions .button { width: 100%; }
.form-actions .fineprint { margin-top: var(--s-2); text-align: center; }
.form-success { padding-block: var(--s-6); text-align: center; }
.form-success > .icon { width: 48px; height: 48px; margin: 0 auto var(--s-3); }
.form-success h3 { margin-bottom: var(--s-3); }
.form-success .button { margin-top: var(--s-4); }

/* Editorial articles and answers. */
.knowledge, .faq { padding-block: var(--s-7); }
.knowledge-header { display: flex; align-items: end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-5); }
.knowledge-header .eyebrow { margin-bottom: var(--s-2); }
.knowledge-header > p { max-width: 24rem; color: var(--muted); }
.journal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-4); }
.journal-entry { display: grid; grid-template-columns: 176px 1fr; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.journal-entry .engraving { aspect-ratio: 3/4; align-self: start; }
.journal-entry .eyebrow { color: var(--muted); font-size: var(--fs-xs); margin-bottom: var(--s-2); }
.journal-entry h3 { font-size: var(--fs-lg); }
.journal-entry h3 a { text-decoration: none; }
.journal-entry h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.journal-entry p { font-size: var(--fs-body); color: var(--muted); margin-top: var(--s-2); }
.journal-entry .text-link { font-size: var(--fs-sm); margin-top: var(--s-2); }
.faq { border-top: 3px double var(--line); }
.faq-inner { max-width: 880px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; padding: var(--s-3) 0; display: flex; gap: var(--s-3); justify-content: space-between; align-items: center; cursor: pointer; font-family: var(--font-heading); font-size: var(--fs-lg); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 24px; height: 24px; color: var(--gold-type); }
.faq details[open] summary .plus-vertical { display: none; }
.faq details p { max-width: 44rem; padding-bottom: var(--s-3); color: var(--muted); }
.footer { padding: var(--s-5) 0 var(--s-4); background: var(--ink); color: var(--paper); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: 3px double #526078; }
.footer .brand { justify-self: auto; align-items: flex-start; }
.footer .brand-name { font-size: var(--fs-lg); }
.footer address { font-style: normal; font-size: var(--fs-sm); text-align: right; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-3); font-size: var(--fs-sm); color: #D3D6DB; }
.footer-bottom div { display: flex; gap: var(--s-3); }
.footer a:focus-visible { outline-color: var(--paper); }
.footer .fineprint { color: #D3D6DB; }
.mobile-bar { display: none; }

/* Shared article template: wide title, narrow reading column and a contents margin. */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: var(--s-1); color: var(--muted); font-size: var(--fs-sm); padding-block: var(--s-4); }
.breadcrumbs a { text-decoration: none; }
.article-heading { max-width: 880px; margin: var(--s-4) auto var(--s-5); text-align: center; }
.article-heading .eyebrow { margin-bottom: var(--s-3); }
.article-heading h1 { font-size: var(--fs-3xl); }
.article-heading .hero-lead { max-width: 44rem; }
.article-meta { font-size: var(--fs-sm); color: var(--muted); }
.article-hero { max-width: 1088px; margin: 0 auto var(--s-6); }
.article-hero .engraving { height: 368px; }
.article-layout { display: grid; grid-template-columns: 256px minmax(0, 680px); gap: var(--s-6); justify-content: center; align-items: start; padding-bottom: var(--s-7); }
.article-toc { position: sticky; top: var(--s-4); border-top: 3px double var(--line); padding-top: var(--s-3); }
.article-toc summary { font-family: var(--font-heading); font-size: var(--fs-lg); list-style: none; }
.article-toc summary .icon { display: none; }
.article-toc summary::-webkit-details-marker { display: none; }
.article-toc details[open] .plus-vertical { display: none; }
.article-toc ol { padding-left: var(--s-2); margin-top: var(--s-3); }
.article-toc li { font-size: var(--fs-sm); line-height: 1.45; padding-bottom: var(--s-2); }
.article-toc a { text-decoration: none; }
.article-toc a:hover, .article-toc a[aria-current='location'] { text-decoration: underline; color: var(--ink-light); }
.article-body { min-width: 0; font-size: var(--fs-md); line-height: 1.7; }
.article-body h2 { font-size: var(--fs-xl); margin: var(--s-5) 0 var(--s-3); }
.article-body h3 { font-size: var(--fs-lg); margin: var(--s-4) 0 var(--s-2); }
.article-body p + p { margin-top: var(--s-3); }
.article-body ul, .article-body ol { margin-block: var(--s-3); }
.article-body li + li { margin-top: var(--s-1); }
.article-body a { overflow-wrap: anywhere; }
.article-body a[href^='https:'] { font-size: var(--fs-body); }
.article-cta { padding: var(--s-5) var(--s-4); margin-top: var(--s-6); background: var(--paper-deep); text-align: center; border-block: 3px double var(--line); }
.article-cta h2 { margin-top: 0; }
.article-cta p { font-size: var(--fs-body); }
.article-cta .button { margin-top: var(--s-3); }
.article-back { margin-top: var(--s-4); font-size: var(--fs-body); }
.reveal { transition: opacity var(--duration-reveal) var(--ease), transform var(--duration-reveal) var(--ease); }
.reveal.waiting { opacity: 0; transform: translateY(16px); }

@media (max-width: 1100px) {
  .desktop-nav { gap: var(--s-3); }
  .contact-grid { gap: var(--s-5); grid-template-columns: 4fr 6fr; }
  .journal-entry { grid-template-columns: 128px 1fr; }
  .article-layout { grid-template-columns: 224px minmax(0, 1fr); gap: var(--s-4); }
}
@media (max-width: 900px) {
  .address-note { font-size: var(--fs-sm); }
  .desktop-nav { gap: var(--s-2); }
  .nav-cta { font-size: 14px; }
  .hero { padding-top: var(--s-5); }
  .hero-figure .engraving { height: 352px; }
  .credential { padding-inline: var(--s-2); }
  .credential strong { font-size: var(--fs-body); }
  .credential span { font-size: var(--fs-xs); }
  .chapter-figure .engraving { height: 320px; }
  .scope-list, .chapter-outcome { column-gap: var(--s-4); }
  .process-grid { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
  .about-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .about-portrait { grid-column: 1; width: 400px; max-width: 100%; justify-self: center; }
  .about-copy { grid-column: 1; max-width: 640px; margin-inline: auto; }
  .about-copy h2 { font-size: var(--fs-2xl); }
  .chapter-cta .button { padding-inline: var(--s-2); gap: var(--s-2); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .contact-copy { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
  .contact-copy address { margin: var(--s-4) 0 0; }
  .journal-grid { grid-template-columns: 1fr; }
  .journal-entry { grid-template-columns: 208px 1fr; }
  .journal-entry .engraving { aspect-ratio: 4/3; }
  .article-layout { display: flex; flex-direction: column; gap: var(--s-5); }
  .article-toc { position: static; width: 100%; }
  .article-toc summary { display: flex; justify-content: space-between; cursor: pointer; }
  .article-toc summary .icon { display: block; }
  .article-toc ol { columns: 2; column-gap: var(--s-4); }
  .article-toc li { break-inside: avoid; }
  .article-body { width: 100%; max-width: 680px; margin: auto; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: var(--s-3); scroll-padding-bottom: calc(var(--contact-bar-space) + var(--s-3)); }
  .masthead { padding-top: var(--s-2); }
  .letterhead { display: flex; justify-content: space-between; padding-bottom: var(--s-2); border-bottom: 3px double var(--line); }
  .letterhead .brand { display: grid; grid-template-columns: 36px 1fr; column-gap: var(--s-2); row-gap: var(--s-1); align-items: center; }
  .letterhead .brand-mark { grid-row: 1/3; width: 36px; height: 40px; }
  .letterhead .brand-name { font-size: 24px; }
  .letterhead .brand-subtitle { font-size: 13px; }
  .address-note, .header-contact, .nav-line { display: none; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center; width: 48px; height: 48px; }
  .menu-toggle span { display: block; width: 24px; height: 1px; background: var(--ink); }
  .hero { padding-top: var(--s-5); }
  .hero h1 { font-size: 46px; line-height: 1.05; letter-spacing: -.02em; }
  .hero-lead { margin-top: var(--s-3); font-size: 18px; line-height: 1.55; }
  .hero-actions { flex-direction: column; gap: var(--s-2); }
  .hero-actions .button { width: 100%; padding-inline: var(--s-2); }
  .hero-actions .text-link { min-height: 40px; }
  .hero .fineprint { font-size: 14px; margin-top: var(--s-2); }
  .hero-contact { margin-top: var(--s-2); font-size: 14px; }
  .hero-figure { margin-top: var(--s-4); }
  .hero-figure .engraving { height: auto; aspect-ratio: 3 / 2; }
  .hero-figure img { object-position: center; }
  figcaption { font-size: var(--fs-sm); gap: var(--s-2); }
  .hero-figure figcaption span:last-child { display: none; }
  .credentials { grid-template-columns: 1fr 1fr; margin-top: var(--s-4); padding: 0; }
  .credential { text-align: left; padding: var(--s-3) var(--s-2) var(--s-3) 0; }
  .credential:nth-child(2n) { padding-left: var(--s-2); padding-right: 0; border-right: 0; }
  .credential:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .credential strong { font-size: 19px; line-height: 1.2; }
  .credential span { line-height: 1.4; margin-top: var(--s-1); }
  .contents, .chapter, .process, .about, .region, .contact, .knowledge, .faq { padding-block: var(--s-6); }
  .section-heading { margin-bottom: var(--s-4); }
  h2, .chapter-head h2 { font-size: 38px; line-height: 1.08; }
  .contents-list a { min-height: 88px; font-size: 24px; padding-block: var(--s-2); border-bottom: 1px solid var(--line); }
  .contents-title::after { display: none; }
  .contents-list .roman { font-size: 24px; }
  .chapter-label { margin-bottom: var(--s-3); }
  .chapter-number::before, .chapter-number::after { width: var(--s-5); }
  .chapter-lead { margin: var(--s-3) auto var(--s-4); font-size: 18px; }
  .chapter-figure .engraving { height: 240px; }
  .chapter-figure figcaption span:last-child { display: none; }
  .chapter-prose { margin-block: var(--s-4); }
  .dropcap::first-letter { font-size: 64px; }
  .chapter-scope { margin-block: var(--s-4); }
  .scope-list { grid-template-columns: 1fr; }
  .scope-list li { padding-block: var(--s-2); }
  .scope-description { font-size: 17px; }
  .section-label { font-size: 27px; margin-bottom: var(--s-2); }
  .chapter-outcome { grid-template-columns: 1fr; gap: var(--s-4); }
  .chapter-outcome > div:last-child { border-left: 1px solid var(--gold); padding-left: var(--s-3); }
  .outcome-text { font-size: 24px; }
  .chapter-cta .button { width: 100%; padding-inline: var(--s-2); gap: var(--s-2); }
  .chapter .ornament { margin-top: var(--s-5); }
  .inspection { padding: var(--s-3); margin-block: var(--s-4); }
  .inspection-head { display: block; padding-bottom: var(--s-3); }
  .inspection-head h3 { font-size: 28px; }
  .inspection-price { display: flex; align-items: baseline; justify-content: space-between; text-align: left; font-size: 40px; margin-top: var(--s-3); }
  .inspection-price span { margin: 0; font-size: 14px; }
  .inspection-list { grid-template-columns: 1fr; gap: var(--s-1); }
  .inspection-list li { padding-block: var(--s-1); border-bottom: 1px solid var(--line); }
  .inspection-list li:last-child { border-bottom: 0; }
  .process-grid { grid-template-columns: 1fr; padding: 0; gap: var(--s-3); }
  .process-grid li { display: grid; grid-template-columns: 40px 1fr; gap: 0 var(--s-2); padding-top: var(--s-3); }
  .step-num { grid-row: 1/3; font-size: 32px; }
  .process-grid h3 { margin: 0 0 var(--s-2); font-size: 27px; }
  .about-grid { display: flex; flex-direction: column; gap: var(--s-4); }
  .about-portrait { width: 100%; }
  .about-portrait .engraving { aspect-ratio: 1/1.1; }
  .about-portrait img { object-position: center 28%; }
  .about-copy h2 { font-size: 38px; }
  .city-list { grid-template-columns: 1fr 1fr; gap: var(--s-2); margin-block: var(--s-4); }
  .city-list li { font-size: 22px; line-height: 1.4; }
  .contact-copy { display: block; }
  .contact-copy h2 { font-size: 38px; }
  .contact-copy address { margin-top: var(--s-4); }
  .contact-form { padding: var(--s-3); }
  .form-grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .field input, .field select, .field textarea { min-height: 56px; padding: var(--s-2); }
  .form-heading h3 { font-size: 29px; }
  .dropzone { padding: var(--s-3) var(--s-2); }
  .form-actions .button { padding-inline: var(--s-2); gap: var(--s-2); }
  .knowledge-header { display: block; margin-bottom: var(--s-4); }
  .knowledge-header > p { margin-top: var(--s-3); }
  .journal-grid { gap: var(--s-4); }
  .journal-entry { grid-template-columns: 96px minmax(0, 1fr); gap: var(--s-2); padding-top: var(--s-3); }
  .journal-entry .engraving { aspect-ratio: 3/4; }
  .journal-entry h3 { font-size: 25px; line-height: 1.15; }
  .journal-entry .eyebrow { font-size: 12px; letter-spacing: .08em; margin-bottom: var(--s-1); }
  .journal-entry p { display: none; }
  .journal-entry .text-link { margin-top: var(--s-1); }
  .faq summary { font-size: 25px; padding-block: var(--s-3); gap: var(--s-2); }
  .footer { padding-bottom: calc(var(--s-5) + var(--contact-bar-space)); }
  .has-footer-observer .footer { padding-bottom: calc(var(--s-5) + env(safe-area-inset-bottom, 0px)); }
  .footer-top { align-items: flex-start; flex-direction: column; gap: var(--s-3); }
  .footer address { text-align: left; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; display: grid; grid-template-columns: 1fr .8fr 1.6fr; gap: 0; border-top: 1px solid var(--gold); background: var(--paper); box-shadow: 0 -4px 24px #14253F10; padding: var(--s-1) var(--s-2) calc(var(--s-1) + env(safe-area-inset-bottom)); transition: transform var(--duration) var(--ease), visibility var(--duration); }
  .mobile-bar.is-at-footer { visibility: hidden; pointer-events: none; transform: translateY(100%); }
  .mobile-bar a { min-height: 48px; display: flex; justify-content: center; align-items: center; gap: var(--s-1); text-decoration: none; font-size: 14px; }
  .mobile-bar a:last-child { background: var(--ink); color: var(--paper); padding-inline: var(--s-1); }
  .mobile-bar .icon { width: 16px; height: 16px; }
  .breadcrumbs { font-size: 13px; padding-block: var(--s-3); }
  .article-heading { margin: var(--s-3) auto var(--s-4); }
  .article-heading h1 { font-size: clamp(2rem, 9.25vw, 2.375rem); line-height: 1.1; }
  .article-heading .hero-lead { font-size: 18px; }
  .article-hero { margin-bottom: var(--s-4); }
  .article-hero .engraving { height: 240px; }
  .article-layout { padding-bottom: var(--s-6); gap: var(--s-4); }
  .article-toc ol { columns: 1; }
  .article-body { font-size: 18px; }
  .article-body h2 { font-size: 30px; margin-top: var(--s-4); }
  .article-body h3 { font-size: 26px; }
  .article-cta { padding: var(--s-4) var(--s-3); }
  .article-cta .button { padding-inline: var(--s-2); width: 100%; gap: var(--s-1); font-size: 16px; }
}
@media (max-width: 360px) {
  .letterhead .brand { column-gap: var(--s-1); }
  .letterhead .brand-name { font-size: 21px; }
  .hero h1 { font-size: 39px; }
  .hero .button { font-size: 15px; gap: var(--s-1); }
  .contact-form { padding: var(--s-2); }
  .chapter-cta .button { font-size: 15px; gap: var(--s-1); }
  .form-actions .button, .article-cta .button { font-size: 15px; gap: var(--s-1); padding-inline: var(--s-1); }
  .journal-entry { grid-template-columns: 80px 1fr; }
  .journal-entry h3 { font-size: 23px; }
  .mobile-bar { padding-inline: var(--s-1); }
  .mobile-bar a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal.waiting { opacity: 1; transform: none; }
}
