@font-face {
  font-family: Prata;
  src: url(../fonts/prata/cyrillic.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Prata;
  src: url(../fonts/prata/latin.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: Manrope;
  src: url(../fonts/manrope/cyrillic.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Manrope;
  src: url(../fonts/manrope/latin.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: light;
  --navy: #071827;
  --ivory: #f5f0e7;
  --cream: #fbf8f2;
  --sand: #e9e0d3;
  --gold: #c7a668;
  --gold-dark: #72531f;
  --text: #132330;
  --muted: #53616c;
  --white: #fffdf8;
  --line: rgb(7 24 39 / .2);
  --display: Prata, Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5.6vw, 6rem);
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 1rem/1.55 var(--sans); background: var(--ivory); color: var(--text); }
h1, h2, h3, p, ol, figure { margin: 0; }
h2, h3 { line-height: 1.18; }
h2 { font: 400 clamp(2.15rem, 4.1vw, 3.8rem)/1.2 var(--display); letter-spacing: -.025em; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
::selection { background: var(--gold); color: var(--navy); }
.shell { width: min(82rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
[id] { scroll-margin-top: 1.25rem; }
.skip-link { position: fixed; z-index: 50; left: .5rem; top: .5rem; padding: .6rem 1rem; background: var(--white); color: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.inquiry-actions, .contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.6rem; }
.text-link, .footer a { display: inline-flex; min-height: 44px; align-items: center; }
.footer a:hover { text-decoration: underline; text-underline-offset: .27em; }
.action { display: inline-flex; min-height: 3.1rem; align-items: center; justify-content: center; padding: .72rem 1.45rem; border: 1px solid transparent; border-radius: .18rem; font-weight: 700; line-height: 1.35; text-align: center; }
.action-accent { color: var(--navy); background: var(--gold); }
.action-accent:hover { filter: brightness(1.09); }
.action-line { border-color: var(--gold); }
.action-line:hover { color: var(--gold); border-color: var(--gold); }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: .27em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

.services { background: var(--ivory); padding: clamp(3rem, 5vw, 5.3rem) 0 clamp(3.5rem, 5.5vw, 5.8rem); }
.services-heading { display: flex; align-items: center; gap: 1.7rem; margin-bottom: clamp(1.6rem, 2.6vw, 2.5rem); }
.services-heading::after { content: ""; height: 1px; width: min(13rem, 31%); background: linear-gradient(90deg, var(--gold-dark), var(--gold)); transform-origin: left; }
.service-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.65rem, 1.1vw, 1.2rem); }
.service { padding: clamp(1.1rem, 1.7vw, 1.65rem); background: var(--cream); border: 1px solid var(--line); }
.service-icon { display: block; width: 1.8rem; height: 1.8rem; margin-bottom: 1.1rem; stroke: var(--gold-dark); stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.service h3, .steps h3 { font: 620 clamp(1.12rem, 1.35vw, 1.4rem)/1.3 var(--sans); letter-spacing: -.02em; }
.service p, .steps p { margin-top: .65rem; color: var(--muted); }
.inquiry {
  display: flex; flex-direction: column; justify-content: center; position: relative; isolation: isolate; overflow: hidden;
  margin-top: clamp(2rem, 3.6vw, 3.75rem); padding: clamp(2rem, 4.4vw, 4.7rem);
  min-height: clamp(17.5rem, 26vw, 25rem); background: var(--sand); color: var(--text);
}
.inquiry::before { content: ""; z-index: -1; position: absolute; inset: 0 0 0 auto; width: 56%; background: url(brass-scales.webp) right center / auto 100% no-repeat; filter: grayscale(.76); mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.inquiry::after { content: ""; z-index: -1; position: absolute; inset: 0; background: linear-gradient(90deg, var(--sand) 22%, rgb(233 224 211 / .94) 43%, rgb(233 224 211 / 0) 69%); }
.inquiry > div { max-width: 55%; }
.inquiry h3 { font: 400 clamp(1.8rem, 3.2vw, 3.5rem)/1.2 var(--display); letter-spacing: -.035em; max-width: 16ch; }
.inquiry p { margin-top: .85rem; max-width: 39ch; }
.inquiry-actions { margin-top: .65rem; gap: .2rem 1.45rem; }
.inquiry .text-link { color: var(--navy); text-decoration-color: var(--gold-dark); }

.work-band { padding-block: clamp(3.3rem, 5.8vw, 5.8rem); background: var(--sand); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 3.6rem); list-style: none; counter-reset: steps; padding: 0; margin-top: clamp(1.8rem, 3vw, 3.2rem); }
.steps li { counter-increment: steps; border-top: 1px solid rgb(114 83 31 / .48); padding-top: 1rem; }
.steps li::before { content: counter(steps, decimal-leading-zero); display: block; margin-bottom: .85rem; font: 400 1.75rem/1.2 var(--display); color: var(--gold-dark); }
.steps p { max-width: 44ch; }
.contacts, .footer { background: var(--navy); color: var(--white); --muted: #c2cbd1; --line: rgb(199 166 104 / .45); }
.footer { background: #04111d; }
.contacts { padding-block: clamp(3.4rem, 5.7vw, 5.8rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(2rem, 5vw, 6rem); }
.contact-intro { color: var(--muted); max-width: 41ch; margin-top: .95rem; }
.contact-phone { display: inline-block; font: 400 clamp(1.6rem, 3.2vw, 3.25rem)/1.45 var(--display); margin-block: .95rem; letter-spacing: -.035em; color: var(--white); white-space: nowrap; }
.contact-phone:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.office-card { border-left: 1px solid var(--line); padding: .5rem 0 .5rem clamp(1.45rem, 3.4vw, 3.5rem); }
.office-card > p { color: var(--gold); font-size: .95rem; margin-bottom: .65rem; }
.office-card h3 { font: 400 clamp(1.35rem, 2.2vw, 2.3rem)/1.3 var(--display); }
.office-card address { font-style: normal; margin: .85rem 0 .5rem; }
.contact-email { margin: -.55rem 0 1rem; overflow-wrap: anywhere; }
.business-details { margin-top: clamp(2rem, 4vw, 3.5rem); padding-top: 1.4rem; border-top: 1px solid var(--line); }
.business-details h3 { color: var(--gold); font: 600 1rem/1.4 var(--sans); }
.business-details p { margin-top: .5rem; }
.business-details dl { display: grid; grid-template-columns: auto auto auto minmax(13rem, 1fr); gap: 1rem clamp(1rem, 3.5vw, 4rem); margin: 1.1rem 0 0; }
.business-details dt { color: var(--muted); font-size: .9rem; }
.business-details dd { margin: .15rem 0 0; }
@media (max-width: 54rem) {
  .business-details dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 29rem) {
  .business-details dl { grid-template-columns: minmax(0, 1fr); }
}
.footer .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem; border-top: 1px solid var(--line); padding-block: .7rem; font-size: .9rem; color: var(--muted); }

@media (max-width: 66rem) {
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 45rem) {
  .service-list { gap: .7rem; }
  .inquiry > div { max-width: 62%; }
  .inquiry::before { width: 100%; background-position: right -4.5rem center; }
  .steps, .contact-grid { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 2.75rem 1fr; gap: .6rem; }
  .steps li::before { margin: 0; }
  .office-card { border-left: 0; border-top: 1px solid var(--line); padding: 1.4rem 0 0; }
}
@media (max-width: 33rem) {
  .service-list { grid-template-columns: minmax(0,1fr); }
  .service { display: grid; grid-template-columns: 1.7rem minmax(0,1fr); align-content: start; column-gap: .8rem; padding: 1rem; }
  .service .service-icon { width: 1.5rem; height: 1.5rem; margin: 0; }
  .service p { grid-column: 2; margin-top: .48rem; }
  .inquiry { justify-content: start; padding: 1.5rem 1.2rem 10.1rem; }
  .inquiry > div { max-width: 100%; }
  .inquiry h3 { max-width: 15ch; }
  .inquiry::before { -webkit-mask-image: none; mask-image: none; background-size: auto 15rem; background-position: right -.3rem bottom -.8rem; }
  .inquiry::after { background: linear-gradient(180deg, var(--sand) 0 48%, rgb(233 224 211 / .86) 58%, rgb(233 224 211 / 0) 76%); }
}

@media (max-width: 23.5rem) {
  :root { --gutter: 1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .entered:is(.service,.inquiry,.steps li,.work-band h2,.contact-grid) { animation: rise .48s var(--ease) both; }
  .services-heading.entered::after { animation: rule .85s var(--ease) both; }
  .action { transition: filter .2s, transform .25s var(--ease), background-color .2s, border-color .2s; }
  @media (hover: hover) { .action:hover { transform: translateY(-2px); } }
}
@keyframes rise { from { opacity: .72; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
