/* A quiet, consistent layer for the existing MillionCars pages. */
:root {
  --muted: #62635e;
  --line: #ddded6;
  --radius: 8px;
  --surface: #eeeee8;
  --motion-duration: 650ms;
  --motion-ease: cubic-bezier(.2, .65, .3, 1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html { scroll-padding-top: 108px; }
body { overflow-wrap: break-word; }
main { overflow: clip; }
.wrap { width: min(var(--wrap), calc(100% - 112px)); }
h1, h2, h3 { text-wrap: balance; }
h1 { line-height: 1.045; }
h2 { font-size: clamp(36px, 3.5vw, 52px); line-height: 1.12; letter-spacing: -.048em; }
p { line-height: 1.72; }
button:focus-visible, a:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible,
[tabindex]:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }

.topline { font-size: 10px; letter-spacing: .055em; }
.topline .wrap { padding-block: 10px; }
.site-header {
  background: rgba(247, 247, 243, .96);
  transition: box-shadow 240ms ease, background 240ms ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px #15151508; }
.header-inner { height: 84px; gap: 28px; }
.wordmark { letter-spacing: -1.65px; }
.main-nav { gap: clamp(18px, 2vw, 30px); }
.main-nav a { font-size: 13px; padding-block: 16px; line-height: 1.4; }
.main-nav a::after { bottom: 5px; height: 2px; }
.header-phone {
  font-size: 13px;
  padding: 12px 16px;
  border: 1px solid #d8d9d1;
  border-radius: 7px;
  transition: border-color 200ms ease, background 200ms ease;
}
.eyebrow { font-size: 10px; letter-spacing: .11em; margin-bottom: 24px; }
.eyebrow > span { width: 5px; height: 5px; border-radius: 1px; }

.button {
  min-height: 58px;
  padding: 18px 25px;
  gap: 34px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  box-shadow: 0 0 0 transparent;
  transition: background 200ms ease, transform 240ms var(--motion-ease), box-shadow 240ms ease;
}
.button > span { transition: transform 240ms var(--motion-ease); }
.text-link { font-size: 13px; gap: 24px; }
.underlined-link { font-size: 13px; min-height: 48px; }
.round-arrow { width: 44px; height: 44px; font-size: 24px; transition: background 240ms ease, color 240ms ease, border-color 240ms ease, transform 240ms ease; }

.home-hero { min-height: 700px; }
.hero-content { padding-top: 68px; }
.home-hero h1 { font-size: clamp(54px, 5.7vw, 82px); line-height: 1.045; letter-spacing: -.055em; max-width: 790px; margin-bottom: 28px; }
.home-hero h1 span { color: #c4c5bf; }
.home-hero .hero-copy { font-size: 17px; line-height: 1.65; max-width: 540px; color: #e0e1db; }
.hero-kicker { font-size: 10px; letter-spacing: .15em; margin-bottom: 30px; }
.status-dot { box-shadow: 0 0 0 5px color-mix(in srgb, var(--red) 14%, transparent); }
.hero-actions { gap: 30px; }
.hero-bottom { margin-top: 44px; padding-block: 26px 30px; }
.hero-bottom > span { font-size: 11px; letter-spacing: .1em; }
.hero-bottom p { font-size: 12px; color: #d0d1c9; }
.hero-side { opacity: .8; }
.scroll-circle { margin-left: 48px; width: 46px; height: 46px; }
.trust-strip { background: #efefe9; }
.trust-strip .wrap { gap: 20px; }
.trust-strip span { padding-block: 25px; font-size: 13px; gap: 14px; line-height: 1.4; }
.trust-strip b { font-size: 10px; font-weight: 600; }

.section { padding-block: 96px; }
.section-intro { gap: 48px; margin-bottom: 42px; grid-template-columns: 1fr 2fr; }
.section-intro > .eyebrow { max-width: 240px; }
.intro-copy { max-width: 560px; font-size: 16px; }
.direction-grid { gap: 20px; }
.direction-card {
  border: 1px solid #dedfd5;
  border-radius: 12px;
  background: var(--surface);
  padding: 27px;
  transition: translate 320ms var(--motion-ease), box-shadow 320ms ease, border-color 240ms ease, background 240ms ease;
}
.direction-card .card-top { font-size: 10px; color: #66685f; line-height: 1.5; }
.card-top > span:first-child { font-weight: 600; }
.direction-art { height: 228px; }
.direction-art img { transition: transform 450ms var(--motion-ease); }
.card-bottom h3 { font-size: 29px; letter-spacing: -.04em; }
.direction-card p { font-size: 14px; line-height: 1.65; max-width: 300px; margin-top: 19px; }
.about-split { gap: 7%; padding-bottom: 96px; }
.about-image { border-radius: 12px; min-height: 510px; }
.about-image img { transition: transform 900ms var(--motion-ease); }
.image-note { padding: 12px 15px; border-radius: 5px; font-size: 9px; letter-spacing: .07em; }
.about-content { padding-top: 28px; }
.about-content p:not(.eyebrow) { max-width: 450px; font-size: 16px; }
.about-signature { margin-top: 32px; padding-top: 24px; }
.about-signature p { font-size: 13px !important; }
.about-signature p span { font-size: 11px; }
.gg-preview { padding-block: 86px; background: #1c1e1b; }
.gg-preview h2 { font-size: clamp(38px, 3.6vw, 54px); line-height: 1.1; }
.gg-preview p:not(.eyebrow) { font-size: 16px; line-height: 1.7; color: #b9bbb2; }
.fine-print { font-size: 11px; line-height: 1.6; color: #b4b7ab; }
.visual-caption { font-size: 9px; line-height: 1.6; color: #b4b7ab; }

.process-grid { gap: 30px; }
.step-number { padding-block: 22px 28px; font-size: 39px; color: #282b24; }
.step-number small { font-size: 19px; }
.process-grid h3 { font-size: 22px; line-height: 1.25; margin-bottom: 14px; }
.process-grid p { font-size: 14px; line-height: 1.7; }
.faq-list { max-width: 840px; }
.faq-list summary { min-height: 82px; padding-block: 26px; font-size: 19px; line-height: 1.45; }
.faq-list summary span { flex: 0 0 28px; text-align: center; }
.faq-answer { padding: 0 44px 28px 0; }
.faq-answer p { font-size: 15px; line-height: 1.75; }
.contact-banner { padding-block: 74px; }
.contact-banner h2 { font-size: clamp(37px, 3.75vw, 56px); line-height: 1.1; }
.contact-banner p:not(.eyebrow) { font-size: 16px; line-height: 1.7; color: #fff; }
.contact-banner .banner-phone { font-size: 17px; line-height: 1.6; margin-top: 22px; }

.breadcrumbs { padding-top: 26px; font-size: 11px; gap: 11px; }
.subhero { padding-block: 54px 74px; }
.subhero-grid { grid-template-columns: 1.06fr 1fr; gap: 34px; }
.subhero h1 { font-size: clamp(48px, 5.15vw, 76px); line-height: 1.055; letter-spacing: -.055em; margin-bottom: 26px; }
.subhero .hero-copy { font-size: 16px; line-height: 1.75; max-width: 520px; margin-bottom: 30px; }
.subhero-art { min-height: 360px; padding-bottom: 32px; }
.subhero-art img { object-fit: contain; }
body[data-page="/avtomobili/"] .subhero-art:has(img.cms-custom-image) {
  height: auto;
  min-height: 360px;
  aspect-ratio: 3 / 2;
  align-self: center;
  padding-bottom: 27px;
  max-width: 650px;
  width: 100%;
  justify-self: end;
}
body[data-page="/avtomobili/"] .subhero-art img.cms-custom-image { object-fit: contain !important; }
.art-label { left: 0; right: 0; bottom: 0; font-size: 9px; line-height: 1.5; letter-spacing: .065em; text-align: right; padding-top: 12px; }
.country-grid { gap: 30px; }
.country-grid article { padding-top: 26px; }
.country-grid article > span { font-size: 11px; }
.country-grid h3 { font-size: 40px; margin-block: 28px 18px; }
.country-grid p { max-width: 350px; font-size: 15px; line-height: 1.7; }
.photo-statement { min-height: 480px; padding-block: 58px; }
.photo-statement h2 { max-width: 700px; }
.photo-statement p { max-width: 560px; font-size: 16px; }
.editorial-list article { padding-block: 30px; }
.editorial-list h3 { font-size: 27px; line-height: 1.25; }
.editorial-list p { font-size: 15px; line-height: 1.72; }
.two-panels { gap: 24px; }
.two-panels > article { padding: 42px; border: 1px solid #dedfd5; border-radius: 12px; background: var(--surface); }
.panel-index { font-size: 11px; line-height: 1.5; }
.two-panels h3 { font-size: 35px; line-height: 1.15; }
.two-panels p { font-size: 15px; line-height: 1.7; }
.clean-list li { padding-block: 16px; font-size: 14px; line-height: 1.5; }
.dark-section { background: #1c1e1b; }
.checklist-grid > div > p:not(.eyebrow) { font-size: 15px; color: #b9bbb2; }
.dark-section .editorial-list p { font-size: 14px; color: #b9bbb2; }
.attachment-tabs button { padding-block: 26px; min-height: 78px; transition: color 220ms ease, padding 220ms ease; }
.attachment-tabs button > span { font-size: 11px; }
.attachment-panel { border: 1px solid #dedfd5; border-radius: 12px; min-height: 320px; padding: 38px; }
.attachment-panel p { font-size: 15px; line-height: 1.75; }
.page-heading { padding-block: 62px 48px; }
.page-heading h1 { font-size: clamp(50px, 6.1vw, 88px); line-height: 1.07; }
.large-copy { font-size: 18px; max-width: 800px; }
.wide-image { border-radius: 12px; }
.legal-grid { gap: 30px 50px; }
.legal-grid dt { font-size: 12px; }
.legal-grid dd { font-size: 16px; }
.contact-grid { gap: 24px; }
.contact-main, .contact-social { border-radius: 12px; padding: 40px; }
.contact-main h2 { font-size: 35px; line-height: 1.15; }
.giant-phone { font-size: clamp(29px, 3.05vw, 44px); letter-spacing: -.045em; line-height: 1.35; display: inline-block; }
.contact-main > p { font-size: 13px; color: #c3c5bb; }
.secondary-phone { padding-block: 20px; font-size: 18px; line-height: 1.5; }
.secondary-phone span { font-size: 12px; color: #b6baad; }
.contact-social { background: var(--surface); border: 1px solid #dedfd5; }
.contact-social > a { min-height: 82px; padding-block: 23px; font-size: 28px; transition: color 180ms ease, padding 240ms ease; }
.contact-social > a.email-link { font-size: 21px; overflow-wrap: anywhere; }
.location-grid { gap: 7%; }
.location-grid p:not(.eyebrow) { font-size: 15px; max-width: 480px; }
.office-map { height: 390px; border-radius: 12px; border-color: #d8dad0; }
.office-address { line-height: 1.6; margin-block: 22px; }
.office-actions { gap: 14px; margin-top: 16px; }
.prose { max-width: 880px; }
.prose p { font-size: 16px; line-height: 1.8; }

.footer { padding-top: 62px; }
.footer-top { padding-bottom: 38px; align-items: center; }
.footer-top > p { font-size: 13px; color: #b1b4a9; line-height: 1.7; }
.back-top { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.footer-grid { padding-block: 42px; gap: 32px; }
.footer-grid > div { gap: 15px; }
.footer-grid .muted { color: #a6aa9c; font-size: 11px; letter-spacing: .04em; }
.footer-grid a { font-size: 13px; line-height: 1.5; color: #c7c9be; }
.footer-grid .footer-phone { font-size: 23px; letter-spacing: -.04em; }
.footer-bottom { font-size: 11px; line-height: 1.6; color: #a0a496; padding-block: 23px; }
.floating-contact { width: 54px; height: 54px; right: 24px; bottom: 24px; box-shadow: 0 6px 25px #15151522; }
.floating-contact svg { width: 23px; height: 23px; }

dialog { border-radius: 14px; box-shadow: 0 24px 100px #0004; }
.dialog-inner { padding: 42px; }
.dialog-close { width: 44px; height: 44px; top: 15px; right: 16px; border-radius: 50%; }
.dialog-inner h2 { font-size: 43px; line-height: 1.1; }
.dialog-inner > p.muted { font-size: 14px; line-height: 1.65; }
.dialog-inner label { font-size: 12px; color: #5c6055; margin-bottom: 20px; line-height: 1.5; }
.dialog-inner input, .dialog-inner select, .dialog-inner textarea {
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid #d2d5c9;
  border-radius: 7px;
  background: #fff9;
  font-size: 15px;
  margin-top: 7px;
  transition: border-color 180ms ease, background 180ms ease;
}
.dialog-inner input:focus, .dialog-inner select:focus, .dialog-inner textarea:focus { background: white; border-color: var(--red); }
.form-note { font-size: 11px !important; line-height: 1.65; }
.dialog-alternative { font-size: 12px; gap: 16px; line-height: 1.6; }

/* Native page transitions keep ordinary links, history and keyboard behavior. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-leave 160ms ease both; }
::view-transition-new(root) { animation: page-enter 230ms ease both; }
@keyframes page-leave { to { opacity: 0; } }
@keyframes page-enter { from { opacity: 0; } to { opacity: 1; } }
html[data-motion="off"]::view-transition-old(root),
html[data-motion="off"]::view-transition-new(root),
html:has(body[data-motion="off"])::view-transition-old(root),
html:has(body[data-motion="off"])::view-transition-new(root) { animation: none !important; }

@media (hover: hover) and (pointer: fine) {
  .header-phone:hover { border-color: #babeb1; background: #fff8; }
  .button:hover { transform: translateY(-2px); box-shadow: 0 6px 16px #15151510; }
  .button.red:hover { background: color-mix(in srgb, var(--red) 84%, #151515); }
  .button:hover > span { transform: translate(2px, -2px); }
  .direction-card:hover { background: #f2f2ec; border-color: #c4c9b8; translate: 0 -5px; box-shadow: 0 14px 30px #15151508; }
  .direction-card:hover .round-arrow { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(4deg); }
  .about-image:hover img { transform: scale(1.035); }
  .contact-social > a:hover { color: var(--red); padding-left: 5px; }
  .attachment-tabs button:hover { color: var(--red); padding-left: 7px; }
  .dialog-close:hover { background: #e6e8dd; }
}

/* Reveal is progressive enhancement: content is visible if JavaScript is absent. */
html.motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity var(--motion-duration) var(--motion-ease), transform var(--motion-duration) var(--motion-ease), translate 320ms var(--motion-ease), box-shadow 320ms ease, border-color 240ms ease, background 240ms ease;
  transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0ms, 0ms, 0ms, 0ms;
}
html.motion-ready [data-reveal].is-visible { opacity: 1; transform: none; }
html.motion-ready [data-reveal]:focus-within { opacity: 1; transform: none; transition: none; }
html[data-motion="off"], body[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] *, body[data-motion="off"] * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-motion="off"] [data-reveal], body[data-motion="off"] [data-reveal] { opacity: 1 !important; transform: none !important; }

@media (min-width: 1600px) {
  .home-hero { min-height: 760px; }
  .hero-content { padding-top: 82px; }
  .hero-bottom { margin-top: 58px; }
}
@media (max-width: 1200px) {
  .wrap { width: calc(100% - 72px); }
  .header-inner { gap: 18px; }
  .wordmark { font-size: 29px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 12px; }
  .header-phone { font-size: 12px; padding: 11px 13px; }
  .direction-card { padding: 23px; }
  .direction-art { height: 195px; }
  .card-bottom h3 { font-size: 26px; }
  .direction-card p { font-size: 13px; }
  .subhero-grid { gap: 24px; }
  .contact-main, .contact-social { padding: 32px; }
  .giant-phone { font-size: 34px; }
  .contact-social > a.email-link { font-size: 19px; }
}
@media (max-width: 960px) {
  .wrap { width: calc(100% - 56px); }
  .header-inner { height: 78px; }
  .header-phone { display: none; }
  .main-nav { gap: 20px; }
  .main-nav a { font-size: 12px; }
  .section { padding-block: 76px; }
  .section-intro { grid-template-columns: 1fr; gap: 12px; margin-bottom: 36px; }
  .section-intro > .eyebrow { max-width: none; margin-bottom: 12px; }
  .direction-grid { gap: 12px; }
  .direction-card { padding: 19px; }
  .direction-art { height: 155px; }
  .direction-card .card-top { font-size: 9px; }
  .card-top > span:nth-child(2) { font-size: 8px; }
  .card-bottom h3 { font-size: 24px; }
  .round-arrow { width: 36px; height: 36px; }
  .about-split { gap: 6%; padding-bottom: 76px; }
  .about-image { min-height: 440px; }
  .about-content { padding-top: 12px; }
  .about-content p:not(.eyebrow) { font-size: 14px; }
  .gg-preview h2 { font-size: 39px; }
  .gg-preview p:not(.eyebrow) { font-size: 14px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .faq-list { max-width: 100%; margin: 0; }
  .subhero-grid { grid-template-columns: 1.05fr 1fr; gap: 20px; }
  .subhero h1 { font-size: 51px; }
  .subhero .hero-copy { font-size: 15px; }
  body[data-page="/avtomobili/"] .subhero-art:has(img.cms-custom-image) { min-height: 290px; }
  .two-panels > article { padding: 30px; }
  .two-panels h3 { font-size: 32px; }
  .contact-banner > .wrap { grid-template-columns: 1.2fr 1fr; gap: 6%; }
  .contact-banner h2 { font-size: 40px; }
  .contact-banner p:not(.eyebrow) { font-size: 14px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; gap: 32px; }
  .footer-bottom { font-size: 10px; }
  .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 18px; }
  .giant-phone { font-size: 30px; }
  .secondary-phone { font-size: 16px; }
  .secondary-phone span { font-size: 11px; }
  .contact-social > a.email-link { font-size: 18px; }
  .office-map { height: 350px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 88px; }
  .wrap { width: calc(100% - 40px); }
  .topline .wrap { font-size: 9px; padding-block: 8px; letter-spacing: .025em; }
  .header-inner { height: 72px; gap: 12px; }
  .wordmark { font-size: 30px; }
  .menu-toggle { width: 44px; height: 44px; justify-content: center; align-items: center; padding: 10px; gap: 6px; }
  .main-nav { top: 72px; padding: 12px 20px 24px; gap: 0; border-radius: 0 0 12px 12px; box-shadow: 0 14px 25px #1515150a; }
  .main-nav a { font-size: 18px; min-height: 54px; padding-block: 15px; }
  .main-nav .mobile-phone { font-size: 17px; min-height: 52px; }
  .home-hero { min-height: 680px; }
  .hero-content { padding-top: 42px; }
  .hero-kicker { font-size: 9px; letter-spacing: .12em; margin-bottom: 27px; }
  .home-hero h1 { font-size: clamp(43px, 10.2vw, 64px); letter-spacing: -.05em; line-height: 1.075; margin-bottom: 25px; }
  .home-hero .hero-copy { font-size: 15px; max-width: 390px; line-height: 1.7; }
  .hero-actions { gap: 20px; flex-direction: column; align-items: flex-start; }
  .button { min-height: 56px; font-size: 13px; padding: 17px 23px; gap: 34px; }
  .text-link { font-size: 12px; min-height: 44px; padding-block: 8px; }
  .hero-bottom { margin-top: 30px; padding-block: 23px; gap: 15px; }
  .hero-bottom > span { font-size: 9px; letter-spacing: .04em; }
  .hero-bottom p { font-size: 10px; max-width: 130px; }
  .hero-bottom i { padding-inline: 6px; }
  .scroll-circle { display: none; }
  .trust-strip .wrap { gap: 0 18px; }
  .trust-strip span { font-size: 12px; padding-block: 20px; gap: 10px; line-height: 1.45; }
  .trust-strip b { font-size: 10px; }
  .section { padding-block: 64px; }
  h2 { font-size: clamp(34px, 8.5vw, 42px); line-height: 1.13; letter-spacing: -.045em; }
  .eyebrow { font-size: 10px; margin-bottom: 22px; }
  .section-intro { gap: 10px; margin-bottom: 32px; }
  .intro-copy { font-size: 15px; max-width: 100%; }
  .direction-grid { grid-template-columns: 1fr; gap: 18px; }
  .direction-card { padding: 25px; border-radius: 12px; }
  .direction-card .card-top { font-size: 10px; }
  .card-top > span:nth-child(2) { font-size: 9px; max-width: 170px; }
  .direction-art { height: 225px; }
  .direction-art img { max-height: 225px; }
  .card-bottom h3 { font-size: 31px; }
  .round-arrow { width: 44px; height: 44px; }
  .direction-card p { font-size: 15px; max-width: 100%; margin-top: 16px; }
  .about-split { grid-template-columns: 1fr; gap: 30px; padding-bottom: 64px; }
  .about-image { min-height: 340px; }
  .about-content { padding-top: 0; }
  .about-content h2 { font-size: 38px; }
  .about-content p:not(.eyebrow) { font-size: 15px; }
  .image-note { font-size: 8px; left: 16px; bottom: 16px; padding: 10px 12px; }
  .gg-preview { padding-block: 60px; }
  .gg-preview-grid { gap: 40px; }
  .gg-preview h2 { font-size: 38px; }
  .gg-preview p:not(.eyebrow) { font-size: 15px; }
  .visual-caption, .fine-print { font-size: 10px; }
  .process-grid { gap: 28px 22px; }
  .step-number { font-size: 34px; padding-block: 19px 22px; }
  .process-grid h3 { font-size: 20px; line-height: 1.25; }
  .process-grid p { font-size: 13px; line-height: 1.7; }
  .faq-list summary { font-size: 17px; min-height: 78px; padding-block: 23px; gap: 17px; }
  .faq-answer { padding-right: 20px; }
  .faq-answer p { font-size: 14px; }
  .contact-banner { padding-block: 56px; }
  .contact-banner > .wrap { grid-template-columns: 1fr; gap: 30px; }
  .contact-banner h2 { font-size: 38px; }
  .contact-banner p:not(.eyebrow) { font-size: 15px; }
  .contact-banner .banner-phone { font-size: 18px; margin-top: 22px; }
  .breadcrumbs { font-size: 10px; padding-top: 22px; gap: 10px; }
  .subhero { padding-block: 36px 42px; }
  .subhero-grid { grid-template-columns: 1fr; gap: 25px; }
  .subhero h1 { font-size: clamp(41px, 10vw, 62px); line-height: 1.08; letter-spacing: -.05em; }
  .subhero .hero-copy { font-size: 15px; line-height: 1.75; margin-bottom: 26px; }
  .subhero-art { min-height: 250px; padding-bottom: 29px; }
  body[data-page="/avtomobili/"] .subhero-art:has(img.cms-custom-image) { height: auto; min-height: 230px; max-width: 520px; width: 100%; padding-bottom: 27px; }
  .art-label { font-size: 9px; line-height: 1.4; }
  .country-grid { gap: 27px; }
  .country-grid article { grid-template-columns: 62px 1fr; gap: 6px 15px; padding-top: 24px; }
  .country-grid h3 { font-size: 33px; margin: 0 0 14px; }
  .country-grid article > span { font-size: 10px; padding-top: 8px; }
  .country-grid p { font-size: 14px; }
  .photo-statement { min-height: 380px; padding-block: 42px; }
  .photo-statement h2 { font-size: 36px; }
  .photo-statement p { font-size: 14px; max-width: 350px; }
  .editorial-list article { grid-template-columns: 25px 1fr 15px; gap: 12px; padding-block: 26px; }
  .editorial-list h3 { font-size: 24px; }
  .editorial-list p { font-size: 14px; }
  .two-panels > article { padding: 29px; }
  .two-panels h3 { font-size: 33px; }
  .two-panels p { font-size: 14px; }
  .clean-list li { font-size: 13px; }
  .dark-section { padding-block: 62px; }
  .checklist-grid > div > p:not(.eyebrow), .dark-section .editorial-list p { font-size: 14px; }
  .attachment-tabs button { min-height: 72px; font-size: 23px; padding-block: 22px; }
  .attachment-panel { min-height: 280px; padding: 29px; }
  .attachment-panel p { font-size: 14px; }
  .page-heading { padding-block: 43px 38px; }
  .page-heading h1 { font-size: clamp(43px, 10.6vw, 65px); line-height: 1.08; }
  .large-copy { font-size: 16px; line-height: 1.7; }
  .wide-image { height: 290px; border-radius: 0; }
  .legal-grid { gap: 24px; }
  .legal-grid dt { font-size: 11px; }
  .legal-grid dd { font-size: 15px; }
  .contact-grid { grid-template-columns: 1fr; gap: 18px; }
  .contact-main, .contact-social { padding: 29px; }
  .contact-main h2 { font-size: 34px; }
  .giant-phone { font-size: clamp(29px, 8vw, 38px); line-height: 1.3; }
  .secondary-phone { font-size: 17px; padding-block: 19px; }
  .secondary-phone span { font-size: 11px; }
  .contact-social > a { font-size: 29px; min-height: 80px; padding-block: 24px; }
  .contact-social > a.email-link { font-size: 22px; }
  .location-grid { gap: 32px; }
  .location-grid p:not(.eyebrow) { font-size: 15px; }
  .office-map { height: 340px; border-radius: 12px; }
  .office-address { font-size: 18px !important; }
  .prose p { font-size: 15px; }
  .footer { padding-top: 44px; }
  .footer-top { gap: 24px; padding-bottom: 28px; align-items: flex-start; }
  .footer-top > p { font-size: 13px; max-width: 300px; }
  .back-top { top: 0; font-size: 11px; min-height: 36px; }
  .footer-grid { padding-block: 34px; gap: 30px 22px; }
  .footer-grid > div { gap: 15px; }
  .footer-grid .footer-phone { font-size: 28px; }
  .footer-grid a { font-size: 13px; }
  .footer-grid .muted { font-size: 11px; }
  .footer-bottom { font-size: 10px; line-height: 1.7; padding-bottom: 90px; gap: 16px; }
  .floating-contact { width: 52px; height: 52px; right: 18px; bottom: 18px; }
  dialog { width: min(620px, calc(100% - 24px)); border-radius: 12px; }
  .dialog-inner { padding: 34px 25px 28px; }
  .dialog-inner h2 { font-size: 39px; }
  .dialog-close { top: 9px; right: 9px; }
  .dialog-inner .eyebrow { font-size: 9px; max-width: 245px; }
  .dialog-inner label { font-size: 12px; margin-bottom: 17px; }
  .dialog-inner input, .dialog-inner select, .dialog-inner textarea { font-size: 16px; min-height: 49px; }
  .form-note { font-size: 11px !important; }
  .dialog-alternative { font-size: 12px; gap: 14px; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 32px); }
  .home-hero h1 { font-size: 40px; }
  .hero-bottom > span { font-size: 8px; }
  .hero-bottom p { font-size: 9px; max-width: 110px; }
  .direction-card { padding: 22px; }
  .direction-art { height: 195px; }
  .process-grid { gap: 24px 16px; }
  .process-grid h3 { font-size: 18px; }
  .contact-main, .contact-social { padding: 25px; }
  .giant-phone { font-size: 28px; }
  .secondary-phone { font-size: 15px; }
  .secondary-phone span { font-size: 10px; }
}
@media (hover: none) {
  .button:hover, .floating-contact:hover, .direction-card:hover .direction-art img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.motion-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
}
