@font-face {
  font-family: Manrope;
  src: url("../assets/fonts/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Michroma;
  src: url("../assets/fonts/michroma-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --brown: #302720;
  --surface: #392f27;
  --gold: #e6ba70;
  --white: #faf6ee;
  --muted: #cec5b9;
  --line: #605144;
  --edge: #96794f;
  --shade: 22, 17, 13;
  --s1: .5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4rem;
  --gutter: clamp(1rem, 4.4vw, 5rem);
  --header-height: 94px;
  --radius: 6px;
  --pill: 999px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--brown); color: var(--white); font: 1rem/1.6 Manrope, sans-serif; }
img { display: block; max-width: 100%; }
button, a { font: inherit; color: inherit; }
button { cursor: pointer; }
a { text-decoration: none; }
button { background: none; border: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
h1, h2, p { margin: 0; }
h1, h2, .card-title, .consultation, .hero-copy p { font-family: Michroma, Manrope, sans-serif; font-synthesis: none; letter-spacing: -.025em; }
.container { width: min(calc(100% - 2 * var(--gutter)), 1480px); margin-inline: auto; }
.header, nav, .section-heading, .card-row, .credentials, .consultation, .eyebrow, .nav-contact, .dialog-call {
  display: flex; align-items: center;
}
.header { position: absolute; inset: 0 0 auto; z-index: 1; min-height: var(--header-height); justify-content: space-between; gap: var(--s2); background: var(--brown); padding-inline: max(var(--gutter), calc((100% - 1480px) / 2)); }
.logo { width: clamp(150px, 16vw, 213px); height: auto; }
nav { gap: var(--s4); }
nav button { padding: var(--s1) 0; font-size: .875rem; font-weight: 600; min-height: 44px; text-transform: uppercase; }
.nav-contact { border: 1px solid var(--edge); border-radius: var(--pill); gap: var(--s2); color: var(--gold); padding-inline: var(--s3); }
.icon { display: inline-block; flex: none; width: 20px; height: 20px; background-color: currentColor; mask: var(--icon) center / contain no-repeat; }
.arrow { --icon: url("../assets/icons/arrow-up-right.svg"); }
.phone { --icon: url("../assets/icons/phone.svg"); }
.cross { --icon: url("../assets/icons/x.svg"); }
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: calc(100vh - 10rem); min-height: calc(100svh - 10rem); padding-top: var(--header-height); }
.hero-image, .card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-image { object-position: center 51%; }
.hero::before, .card::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero::before { background: linear-gradient(to bottom, rgba(var(--shade), .86), transparent 32%), linear-gradient(90deg, rgba(var(--shade), .94), rgba(var(--shade), .82) 36%, rgba(var(--shade), .48) 61%, rgba(var(--shade), .1) 85%); }
.hero h1 { text-shadow: 0 2px 6px rgba(var(--shade), .45); }
.hero-copy { padding-block: var(--s5); }
.eyebrow { font-size: .68rem; font-weight: 700; letter-spacing: .15em; }
.eyebrow { text-transform: uppercase; gap: .8rem; color: var(--gold); }
.dash { height: 1px; width: 32px; background: currentColor; }
h1 { font-weight: 600; line-height: 1.04; font-size: clamp(3rem, 4.9vw, 5rem); margin: var(--s3) 0 var(--s2); }
h1 em { color: var(--gold); font-style: normal; }
.hero-copy p { font-size: clamp(1rem, 1.35vw, 1.3rem); color: var(--white); }
.hero-cta { display: inline-flex; align-items: center; gap: var(--s1); margin-top: var(--s3); padding: .75rem var(--s3); border-radius: var(--radius); background: var(--gold); color: var(--brown); font-weight: 700; }
.hero-cta:hover { background: var(--white); }
.open-icon, .close { display: inline-grid; place-items: center; border-radius: var(--pill); }
.services { margin-top: var(--s5); }
.section-heading { gap: var(--s3); margin-bottom: var(--s4); }
h2 { font-size: clamp(2.15rem, 3.1vw, 3rem); font-weight: 550; line-height: 1.15; }
.rule { height: 1px; flex: 1; background: var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.card { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; isolation: isolate; position: relative; overflow: hidden; aspect-ratio: 2.18; min-height: 225px; padding: var(--s3); text-align: left; border-radius: var(--radius); background: var(--surface); }
.card { width: 100%; min-width: 0; }
.card::before { background: linear-gradient(180deg, rgba(var(--shade), .08) 22%, rgba(var(--shade), .36) 52%, rgba(var(--shade), .82) 79%, rgba(var(--shade), .96)); }
.card-title { text-shadow: 0 2px 6px rgba(var(--shade), .45); }
.card-row { margin-top: auto; width: 100%; justify-content: space-between; gap: var(--s2); }
.card-title { font-size: clamp(1.45rem, 2.05vw, 2rem); font-weight: 600; line-height: 1.15; }
.open-icon { width: 38px; height: 38px; flex: none; color: var(--gold); border: 1px solid var(--edge); background: rgba(var(--shade), .42); }
.card:hover .open-icon, .nav-contact:hover, .consultation:hover { background: var(--gold); color: var(--brown); }
footer a[href]:hover { text-decoration: underline; text-underline-offset: .2em; }
.consultation { justify-content: space-between; gap: var(--s2); border: 1px solid var(--edge); color: var(--gold); border-radius: var(--radius); padding: var(--s3); margin-top: var(--s3); font-size: clamp(1.1rem, 1.65vw, 1.5rem); font-weight: 550; }
.credentials { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s3); padding: 0; margin: var(--s3) 0 0; list-style: none; }
.credentials li { display: flex; align-items: center; gap: var(--s2); padding: var(--s3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--white); font: 400 clamp(1rem, 1.4vw, 1.35rem)/1.5 Michroma, sans-serif; }
.credentials svg { flex: none; width: 32px; height: 32px; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.about { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s5); border-top: 1px solid var(--line); background: var(--surface); padding: var(--s6) max(var(--gutter), calc((100% - 1480px) / 2)); }
.about h2 { margin-top: var(--s2); }
.reviews { padding-block: clamp(var(--s4), 4vw, var(--s5)) var(--s5); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr)); gap: var(--s3); }
.review-grid figure { margin: 0; padding: var(--s3); background: var(--surface); border-radius: var(--radius); }
.review-grid figcaption { display: flex; align-items: center; justify-content: space-between; gap: var(--s1); font-weight: 700; }
.stars { color: var(--gold); font-size: .85rem; letter-spacing: .1em; }
.review-grid blockquote { margin: var(--s2) 0 0; color: var(--muted); }
.review-window.active { --columns: 3; --gap: 1rem; --peek: clamp(20px, 3vw, 44px); overflow: hidden; touch-action: pan-y pinch-zoom; mask-image: linear-gradient(to right, transparent, black var(--peek), black calc(100% - var(--peek)), transparent); }
.active .review-grid { display: flex; align-items: flex-start; gap: var(--gap); --step: calc((100% - 2 * var(--peek) - var(--gap)) / var(--columns)); transform: translateX(calc(var(--peek) + var(--gap) - var(--step))); }
.active .review-grid figure { flex: 0 0 calc(var(--step) - var(--gap)); min-width: 0; }
.review-window.active .review-grid { align-items: stretch; }
.active .review-grid figure { display: grid; grid-template-rows: auto 4.8em 2rem; gap: .5rem; align-content: start; }
.active .review-grid blockquote { margin: 0; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.read-review { justify-self: start; padding: 0; color: var(--white); text-decoration: underline; text-underline-offset: .22em; }
.full-review { margin-top: var(--s2); }
.review-actions { display: flex; justify-content: space-between; align-items: center; gap: var(--s1); margin-top: clamp(var(--s3), 3vw, var(--s4)); }
.review-controls:not([hidden]) { display: flex; gap: var(--s1); }
.review-controls button { width: 44px; height: 44px; border: 1px solid var(--edge); border-radius: 50%; color: var(--gold); font-size: 1.3rem; }
.review-controls button:hover { background: var(--gold); color: var(--brown); }
@media (max-width: 700px) { .review-window.active { --columns: 1; --gap: .65rem; } }
.review-source { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--s2); border: 1px solid var(--edge); border-radius: var(--pill); color: var(--gold); font-weight: 600; }
.review-source:hover { background: var(--gold); color: var(--brown); }
.about-copy { max-width: 76ch; color: var(--muted); }
.about-copy p + p { margin-top: var(--s2); }
strong { color: var(--white); font-weight: 650; }
footer { border-top: 1px solid var(--line); padding-block: var(--s5); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s5); font-size: .9rem; }
footer .logo, footer h2 { margin-bottom: var(--s2); }
footer h2 { color: var(--white); font-size: 1.45rem; }
address { font-style: normal; }
footer a[href] { color: var(--gold); }
dialog { width: min(32rem, calc(100% - var(--s4))); max-height: calc(100dvh - var(--s4)); color: var(--white); background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius); padding: var(--s5) var(--s4) var(--s4); }
dialog::backdrop { background: rgba(var(--shade), .82); }
body:has(dialog[open]) { overflow: hidden; }
.close { position: absolute; right: var(--s1); top: var(--s1); width: 44px; height: 44px; color: var(--gold); }
dialog h2 { margin: var(--s2) 0; font-size: 2rem; }
dialog p { color: var(--muted); }
.contact-email { margin-top: var(--s3); padding-top: var(--s2); border-top: 1px solid var(--line); }
.dialog-call { gap: var(--s2); margin-top: var(--s3); padding: var(--s2); border-radius: var(--radius); color: var(--brown); background: var(--gold); font-size: .875rem; }
.dialog-call strong { color: inherit; font-size: 1.2rem; }
@media (max-width: 700px) {
  .hero-ending { display: block; }
  :root { --header-height: 76px; }
  .hero { min-height: calc(100vh - 8rem); min-height: calc(100svh - 8rem); }
  nav { gap: var(--s2); }
  nav button { font-size: .8rem; }
  .nav-contact { padding-inline: .8rem; gap: .3rem; }
  .nav-contact .icon { width: 16px; }
  .logo { width: clamp(116px, 30vw, 170px); }
  .hero-image { object-position: 60% center; }
  .hero::before { background: linear-gradient(to bottom, rgba(var(--shade), .86), transparent 32%), linear-gradient(90deg, rgba(var(--shade), .91), rgba(var(--shade), .72) 52%, rgba(var(--shade), .48)); }
  h1 { font-size: clamp(1.5rem, 7.3vw, 3.2rem); }
  .card-title { font-size: clamp(1.05rem, 4.5vw, 1.45rem); }
  .services { margin-top: var(--s4); }
  .section-heading { gap: var(--s2); margin-bottom: var(--s3); }
  .service-grid { grid-template-columns: 1fr; gap: var(--s2); }
  .card { min-height: 200px; padding: var(--s2); aspect-ratio: 1.95; }
  .credentials { grid-template-columns: 1fr; gap: var(--s1); }
  .credentials li { padding: var(--s2); }
  .about, .footer-grid { grid-template-columns: 1fr; gap: var(--s3); }
  .about { padding-block: var(--s5); }
}
