@font-face {
  font-family: 'MF Geologica';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(geologica-cyrl.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'MF Geologica';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(geologica-latin.woff2) format('woff2');
  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: 'MF Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(golos-text-cyrl.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'MF Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(golos-text-latin.woff2) format('woff2');
  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;
}

/* The public FillStroy design tokens are scoped to the preview and portable section. */
:where(.mf-page, .mf-home-block) {
  --mf-page: #f6f7f9;
  --mf-white: #fff;
  --mf-ink: #16181c;
  --mf-muted: #4e4f53;
  --mf-line: #d4d7de;
  --mf-strong-line: #888c94;
  --mf-accent: #e7ee00;
  --mf-hover: #d5dc03;
  --mf-dark: #14161a;
  --mf-heading: "MF Geologica", "MF Golos Text", system-ui, sans-serif;
  --mf-body: "MF Golos Text", system-ui, sans-serif;
  color: var(--mf-ink);
  font: 400 1rem/1.55 var(--mf-body);
}
:where(.mf-page, .mf-home-block) *, :where(.mf-page, .mf-home-block) *::before, :where(.mf-page, .mf-home-block) *::after { box-sizing: border-box; }
.mf-page { margin: 0; background: var(--mf-page); }
.mf-page :focus-visible, .mf-home-block :focus-visible { outline: 3px solid #636900; outline-offset: 5px; }
.mf-request-copy :focus-visible, .mf-footer :focus-visible { outline-color: var(--mf-accent); }
.mf-page :where(h1,h2,h3,h4,p,figure), .mf-home-block :where(h2,h3,p) { margin: 0; }
.mf-page :where(h1,h2,h3,h4), .mf-home-block :where(h2,h3) { font-family: var(--mf-heading); line-height: 1.13; }
.mf-page img, .mf-home-block img { display: block; max-width: 100%; height: auto; }
.mf-page a, .mf-home-block a { color: inherit; }
.mf-wrap { width: min(100% - clamp(2.25rem, 8vw, 7rem), 78rem); margin-inline: auto; }
.mf-page .mf-skip-link { position: fixed; left: .75rem; top: .75rem; z-index: 2; padding: .75rem; background: var(--mf-accent); transform: translateY(-150%); }
.mf-page .mf-skip-link:focus { transform: translateY(0); }
.mf-page .mf-masthead { background: var(--mf-white); border-bottom: 1px solid var(--mf-line); }
.mf-page .mf-masthead-inner { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mf-page .mf-masthead-inner img { width: clamp(6.7rem, 12vw, 9.2rem); }
.mf-page .mf-masthead-link { display: inline-flex; min-height: 2.75rem; align-items: center; font-weight: 600; text-underline-offset: .25em; }
.mf-page .mf-masthead-link:hover, .mf-back:hover { text-decoration-thickness: 2px; }
.mf-hero { padding-top: clamp(1.7rem, 3.6vw, 3.5rem); }
.mf-back { display: inline-block; margin-bottom: clamp(1.1rem, 2vw, 1.75rem); color: var(--mf-muted); font-size: .9375rem; text-underline-offset: .22em; }
.mf-hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; min-height: clamp(26rem, 36vw, 34rem); }
.mf-hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.4rem, 4.2vw, 4.25rem); background: var(--mf-white); }
.mf-hero h1 { font-size: clamp(1.7rem, 3.75vw, 3.75rem); letter-spacing: -.055em; font-weight: 700; }
.mf-hero-copy p { color: var(--mf-muted); max-width: 32ch; margin-top: 1.15rem; font-size: clamp(1rem, 1.55vw, 1.25rem); line-height: 1.55; }
.mf-button { font: 600 1rem/1.25 var(--mf-body); display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; width: fit-content; padding: .85rem 1.4rem; color: var(--mf-ink); border: 1px solid transparent; border-radius: .375rem; background: var(--mf-accent); text-decoration: none; cursor: pointer; }
.mf-button:hover { background: var(--mf-hover); }
.mf-hero-copy .mf-button { margin-top: clamp(1.35rem, 2.8vw, 2.1rem); }
.mf-hero-figure { isolation: isolate; position: relative; overflow: hidden; background: #beb8ac; }
.mf-hero-figure img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 47% center; }
.mf-hero-figure::after { content: ""; width: clamp(3.5rem, 9vw, 8.5rem); aspect-ratio: 1; background: var(--mf-accent); position: absolute; right: 0; bottom: 0; clip-path: polygon(100% 0,100% 100%,0 100%); }
.mf-jump { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: .75rem; border: 1px solid var(--mf-line); background: var(--mf-white); }
.mf-jump a { display: flex; min-height: 3.7rem; align-items: center; padding: .75rem clamp(.9rem, 3vw, 2rem); font-weight: 600; }
.mf-jump a + a { border-left: 1px solid var(--mf-line); }
.mf-jump a, .mf-service-link { text-underline-offset: .25em; text-decoration-color: #727677; }
.mf-jump a:hover { background: #fafce6; }
.mf-works { padding-block: clamp(3.5rem, 8vw, 7rem); }
.mf-works h2, .mf-request h2, .mf-home-block h2 { font-size: clamp(1.8rem, 3.65vw, 3.3rem); letter-spacing: -.045em; }
.mf-service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 6vw, 6rem); padding: clamp(1.6rem, 4vw, 3rem) 0; border-top: 1px solid var(--mf-line); scroll-margin-top: 1.2rem; }
.mf-service:first-of-type { margin-top: clamp(1.4rem, 3vw, 2.6rem); }
.mf-service:last-child { border-bottom: 1px solid var(--mf-line); }
.mf-service:target h3 { text-decoration: underline; text-decoration-color: #929700; text-underline-offset: .2em; }
.mf-service h3 { max-width: 22ch; font-size: clamp(1.43rem, 2.8vw, 2.4rem); letter-spacing: -.04em; }
.mf-service h4 { font-size: clamp(1.02rem, 1.5vw, 1.22rem); }
.mf-service p { max-width: 52ch; margin-top: .7rem; color: var(--mf-muted); }
.mf-service-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .5rem; font-weight: 600; }
.mf-service-link:hover { text-decoration-color: currentColor; }
.mf-request { color: #f2f4f7; background: var(--mf-dark); padding-block: clamp(3.25rem, 7vw, 6.5rem); scroll-margin-top: 0; }
.mf-request-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(1.6rem, 5vw, 5rem); align-items: start; }
.mf-request-copy p { max-width: 33ch; color: #c6c9d0; margin-top: 1rem; font-size: clamp(1rem, 1.55vw, 1.15rem); }
.mf-footer { padding-block: 1.35rem; background: #1e2126; color: #f2f4f7; border-top: 1px solid #3a3e46; }
.mf-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mf-footer-inner a { min-height: 2.75rem; display: flex; align-items: center; text-underline-offset: .22em; }
.mf-footer-inner img { width: clamp(6rem, 12vw, 8.25rem); }

.mf-home-block { padding-block: clamp(2.7rem, 6.5vw, 6rem); background: #edeff3; }
.mf-home-head { display: grid; grid-template-columns: 1fr .76fr; align-items: end; gap: 1rem 2rem; }
.mf-home-head p { color: var(--mf-muted); max-width: 40ch; }
.mf-home-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-block: 1.8rem 1.25rem; }
.mf-home-items a { display: flex; flex-direction: column; gap: .55rem; min-height: 100%; padding: clamp(1rem, 2.3vw, 2rem); background: var(--mf-white); color: inherit; border: 1px solid var(--mf-line); border-top: 3px solid #a2a900; border-radius: .375rem; text-decoration: none; }
.mf-home-items a:hover { background: #fafce6; }
.mf-home-items h3 { font-size: clamp(1.12rem, 2vw, 1.45rem); letter-spacing: -.025em; }
.mf-home-items p { color: var(--mf-muted); }
.mf-home-items span { display: inline-block; margin-top: auto; padding-top: .4rem; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 53rem) {
  .mf-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .mf-hero-figure { aspect-ratio: 2 / 1; }
  .mf-hero h1 { font-size: clamp(1.65rem, 5.9vw, 3.6rem); }
  .mf-hero-copy { padding: clamp(1rem, 4.8vw, 2.4rem); }
  .mf-home-head, .mf-request-grid { grid-template-columns: 1fr; }
  .mf-home-items { grid-template-columns: 1fr; }
}
@media (max-width: 38rem) {
  .mf-page .mf-masthead-inner { min-height: 4rem; }
  .mf-page .mf-masthead-link { font-size: .9375rem; }
  .mf-jump { grid-template-columns: 1fr; }
  .mf-jump a { min-height: 2.9rem; }
  .mf-jump a + a { border-left: 0; border-top: 1px solid var(--mf-line); }
  .mf-service { grid-template-columns: 1fr; }
  .mf-service { gap: 1rem; }
  .mf-hero-figure { aspect-ratio: 1.55; }
}

.mf-request-grid { grid-template-columns: 1fr 1fr; }
.mf-intake { padding: clamp(1.4rem, 3.5vw, 3.4rem); color: var(--mf-ink); background: var(--mf-white); border-radius: .5rem; }
.mf-intake h3 { font-size: clamp(1.2rem, 2vw, 1.65rem); letter-spacing: -.024em; }
.mf-intake p { margin: .9rem 0 1.2rem; color: var(--mf-muted); max-width: 43ch; }
.mf-home-items a { line-height: 1.55; }
@media (max-width: 53rem) {
  .mf-request-grid { grid-template-columns: 1fr; }
}

/* Leave space for the existing FillStroy floating back-to-top control. */
@media (max-width: 38rem) {
  .mf-home-items a { padding-inline-end: 3.35rem; }
}

.mf-contact-row { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.2rem; }
.mf-phone { color: var(--mf-ink); font-weight: 600; white-space: nowrap; }
