@font-face {
  font-family: Unna;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./unna-bold.ttf") format("truetype");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./inter-medium.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --green: #2a3610;
  --soft-green: #566d3a;
  --body: #3f3f3f;
  --rail-width: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #fff; color: var(--body); font-family: Inter, Arial, sans-serif; font-weight: 500; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible { outline: 3px solid var(--soft-green); outline-offset: 6px; }
.skip-link { position: absolute; z-index: 20; left: 20px; top: 0; padding: 12px 20px; color: #fff; background: var(--green); transform: translateY(-110%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 5; top: 0; left: 0; width: 100%; display: flex; align-items: flex-start; justify-content: space-between; }
.brand { display: flex; width: 152px; min-height: 63px; margin-left: 35px; align-items: center; justify-content: center; background: #fff; }
.brand img { width: 116px; }
.hero { position: relative; min-height: 770px; height: min(82vh, 960px); padding-inline: var(--rail-width); background: #fff; display: flex; align-items: center; justify-content: center; }
.hero-content { width: 100%; max-width: 1360px; margin: auto; padding: 120px 20px; position: relative; text-align: center; }
.hero-content h1 { margin: 0 auto 25px; max-width: 720px; color: var(--green); font-family: Unna, Georgia, serif; font-size: 60px; font-weight: 700; line-height: 1.1; letter-spacing: .9px; }
.hero-content p { margin: 0 auto; max-width: 650px; color: var(--soft-green); font-family: Unna, Georgia, serif; font-size: 30px; font-weight: 700; line-height: 1.3; letter-spacing: .45px; }
.hero-rail { position: absolute; right: 0; top: 0; bottom: 0; width: var(--rail-width); background: #fff; display: flex; align-items: center; flex-direction: column; justify-content: space-between; padding: 135px 0 45px; color: var(--soft-green); }
.rail-social { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.rail-social span { writing-mode: vertical-rl; font-size: 13px; letter-spacing: 1px; display: flex; align-items: center; gap: 24px; }
.rail-social span::after { content: ""; width: 1px; height: 50px; background: currentColor; }
.rail-social a { padding: 6px; }
.rail-social svg { display: block; width: 17px; height: 17px; fill: currentColor; }
.rail-copyright { writing-mode: vertical-rl; font-size: 11px; letter-spacing: .8px; line-height: 1.5; }

.site-footer { padding: 40px 30px 25px; background: #fff; }
.footer-inner { max-width: 1320px; margin: auto; }
.footer-brand { display: block; width: 135px; margin: 0 auto 40px; }
.footer-middle { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; border-top: 1px solid #e5e5e5; border-bottom: 1px solid #ddd; padding: 40px 0; }
.contact-info { font-size: 16px; line-height: 1.7; font-style: normal; }
.contact-line { display: flex; flex-wrap: wrap; margin-bottom: 6px; }
.contact-line p { margin: 0; padding: 0 25px; }
.contact-line p:first-child { padding-left: 0; position: relative; }
.contact-line p:first-child::after { content: ""; position: absolute; right: 0; top: 6px; width: 1px; height: 15px; background: var(--body); transform: rotate(15deg); }
.contact-info a:hover { color: var(--soft-green); text-decoration: underline; text-underline-offset: 4px; }
.footer-social { display: flex; align-items: center; gap: 25px; padding-top: 4px; color: var(--soft-green); font-size: 13px; letter-spacing: .5px; white-space: nowrap; }
.footer-social a { display: flex; padding: 6px; }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-copyright { margin: 23px 0 0; font-size: 11px; letter-spacing: .6px; color: #777; }

@media (max-width: 1024px) {
  :root { --rail-width: 62px; }
  .hero { min-height: 660px; height: 78vh; max-height: 820px; }
  .hero-content { padding: 110px 32px; }
  .hero-content h1 { font-size: 50px; }
  .hero-content p { font-size: 27px; }
  .footer-middle { flex-direction: column; align-items: center; gap: 24px; }
  .contact-info { text-align: center; }
  .contact-line { justify-content: center; }
}

@media (max-width: 640px) {
  :root { --rail-width: 0px; }
  .brand { margin-left: 18px; min-height: 72px; width: 144px; }
  .brand img { width: 116px; }
  .hero { height: 76svh; min-height: 610px; max-height: 800px; }
  .hero-content { padding: 110px 26px; }
  .hero-content h1 { font-size: clamp(37px, 9.8vw, 54px); letter-spacing: .45px; line-height: 1.12; margin-bottom: 19px; }
  .hero-content p { max-width: 320px; font-size: 24px; letter-spacing: .2px; line-height: 1.25; }
  .hero-rail { display: none; }
  .site-footer { padding: 32px 26px 24px; }
  .footer-brand { margin-bottom: 28px; }
  .footer-middle { padding: 26px 0; }
  .contact-info { font-size: 14px; width: 100%; }
  .contact-line { display: block; margin-bottom: 12px; }
  .contact-line p { padding: 3px 0; }
  .contact-line p:first-child::after { display: none; }
  .address-link { display: inline-block; max-width: 320px; }
  .footer-copyright { font-size: 10px; text-align: center; line-height: 1.7; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
