:root { scroll-padding-top: 90px; }
html { scroll-behavior: smooth; }
body { letter-spacing: 0; }
.brand-name { font-family: Georgia, serif; font-size: 26px; font-weight: 500; line-height: 1.3; max-width: 600px; }
#home { min-height: min(800px, 90svh); }
#home > div:first-child { padding-top: 120px; padding-bottom: 110px; }
#home h1 { font-size: 56px; line-height: 1.12; }
#contact-form { scroll-margin-top: 20px; }
#contact-form form { max-width: 900px; width: 100%; margin: 0 auto; border-radius: 4px; }
#contact-form label { line-height: 1.5; }
#contact-form input, #contact-form select, #contact-form textarea { border-radius: 3px; }
.inquiry-note { font-size: 13px; color: #52606e; line-height: 1.7; }
.inquiry-note a { text-decoration: underline; }
footer a { overflow-wrap: anywhere; }
.service-card h3 { overflow-wrap: anywhere; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #b08b34; outline-offset: 4px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px; background: white; color: #142036; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.content-page { color: #18253a; background: #fafaf8; font-family: Geist, Arial, sans-serif; }
.page-header { max-width: 1280px; padding: 24px 40px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid #deded8; }
.page-brand { display: flex; gap: 14px; align-items: center; flex-shrink: 0; }
.page-brand > span:first-child { font-family: Georgia, serif; font-size: 30px; font-weight: bold; }
.brand-dot { color: #b18c35; }
.page-brand > span:last-child { font-size: 12px; line-height: 1.4; }
.page-header nav { display: flex; gap: 26px; font-size: 14px; }
.page-header a:hover, .page-footer a:hover { color: #a77e29; }
.call { border: 1px solid #cfb575; border-radius: 4px; padding: 10px 14px; font-size: 14px; white-space: nowrap; }
.page-intro { max-width: 1200px; margin: auto; padding: 84px 40px 60px; border-bottom: 1px solid #deded8; }
.kicker { color: #9b762c; font-size: 12px; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.content-page h1 { font-family: Georgia, serif; font-size: 52px; font-weight: 400; line-height: 1.15; margin: 0 0 24px; }
.page-intro > p:last-child, .message-page > p { font-size: 18px; line-height: 1.75; color: #57616c; max-width: 650px; }
.article-section { max-width: 1200px; margin: auto; padding: 72px 40px 110px; min-height: 340px; }
.empty-rule { display: block; width: 48px; height: 2px; background: #c1a04d; margin-bottom: 24px; }
.empty-articles h2 { font-family: Georgia, serif; font-size: 28px; font-weight: 400; margin-bottom: 12px; }
.empty-articles p { font-size: 16px; line-height: 1.7; color: #62707b; margin-bottom: 28px; }
.text-link { text-decoration: underline; text-underline-offset: 5px; line-height: 1.7; }
.message-page { max-width: 1000px; min-height: 55vh; padding: 88px 40px; margin: auto; }
.message-page > p { margin-bottom: 22px; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 14px 22px; border-radius: 4px; background: #17263a; color: white; font-size: 15px; }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.page-footer { background: #101b2d; color: #e4e5e6; padding: 50px max(24px, calc((100% - 1120px)/2)); display: grid; grid-template-columns: 1.2fr 1fr .6fr; gap: 36px; font-size: 14px; line-height: 1.8; }
.page-footer strong { color: white; font-family: Georgia, serif; font-size: 22px; font-weight: 400; }
.page-footer p { color: #b4bdc8; margin-top: 14px; }
.page-footer a { display: block; margin-bottom: 8px; }
.copyright { grid-column: 1/-1; padding-top: 24px; border-top: 1px solid #334052; font-size: 12px; }
.prose { max-width: 820px; padding: 60px 40px 90px; margin: auto; font-size: 17px; line-height: 1.9; }
.prose h2 { font-family: Georgia, serif; font-size: 28px; margin: 30px 0 12px; }
.prose p { margin-bottom: 20px; color: #4f5c68; }
.prose a { text-decoration: underline; overflow-wrap: anywhere; }
@media (max-width: 1023px) { #home h1 { font-size: 44px; } .page-header { gap: 18px; padding: 20px 24px; } .page-header nav { gap: 18px; } .page-brand > span:last-child { display: none; } }
@media (min-width: 768px) and (max-width: 1023px) { #services .grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 639px) {
  .brand-name { font-size: 23px; }
  #home { min-height: 680px; min-height: min(740px, 92svh); }
  #home > div:first-child { padding-top: 112px; padding-bottom: 132px; }
  #home h1 { font-size: 36px; }
  #home .mt-10 { margin-top: 28px; }
  #contact-form form { padding: 24px; }
  .mobile-menu ul { gap: 24px; }
  .mobile-menu li a { font-size: 26px; }
  .page-header { flex-wrap: wrap; gap: 18px; }
  .page-header nav { order: 3; width: 100%; justify-content: space-between; gap: 14px; font-size: 13px; }
  .page-intro { padding: 54px 24px 36px; }
  .content-page h1 { font-size: 38px; overflow-wrap: anywhere; }
  .page-intro > p:last-child, .message-page > p { font-size: 16px; }
  .article-section { padding: 42px 24px 65px; min-height: 290px; }
  .empty-articles h2 { font-size: 26px; }
  .message-page { padding: 64px 24px; }
  .page-footer { grid-template-columns: 1fr; gap: 24px; }
  .prose { padding: 28px 24px 60px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
