:root {
  color-scheme: light dark;
  --container: 1320px;
  --bg: #fff9f0;
  --surface: #fff0d6;
  --surface-deep: #f5ddb6;
  --ink: #30271d;
  --muted: #6b5b48;
  --line: #d7bea0;
  --accent: #a84605;
  --accent-deep: #823000;
  --on-accent: #fffaf2;
  --focus: #176b80;
  --header: rgba(255,249,240,.96);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #211b15;
    --surface: #2c241b;
    --surface-deep: #3b2e20;
    --ink: #fff7eb;
    --muted: #d8c3aa;
    --line: #684d34;
    --accent: #f17a2d;
    --accent-deep: #ffad73;
    --on-accent: #25170e;
    --focus: #75d6ec;
    --header: rgba(33,27,21,.96);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Trebuchet MS", "Segoe UI", sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 30; padding: 12px 16px; background: var(--accent); color: var(--on-accent); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 10; height: 72px; background: var(--header); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 90px; height: 58px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 28px; white-space: nowrap; }
.nav a { font-size: .94rem; font-weight: 700; text-decoration: none; }
.nav a:not(.nav-cta):hover { color: var(--accent-deep); }
.nav-cta { padding: 11px 18px; background: var(--accent); color: var(--on-accent); border-radius: 12px; }
.menu-toggle { display: none; }

.hero { height: 82vh; min-height: 680px; max-height: 880px; }
.hero-grid { height: 100%; display: grid; grid-template-columns: 54fr 46fr; align-items: stretch; }
.hero-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 5vw, 72px); background: var(--surface); border-radius: 16px 0 0 16px; }
.place { margin: 0 0 26px; color: var(--accent-deep); font-weight: 800; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-size: clamp(3.25rem, 4.2vw, 4.1rem); line-height: 1.02; letter-spacing: -.05em; font-weight: 800; }
h1 span { display: block; white-space: nowrap; }
.hero-text { max-width: 43ch; margin: 28px 0 0; color: var(--muted); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 12px; font-weight: 780; text-decoration: none; white-space: nowrap; transition: transform .25s ease, background-color .25s ease; }
.button:active, .nav-cta:active { transform: translateY(1px); }
.button.primary { background: var(--accent); color: var(--on-accent); }
.button.primary:hover { background: var(--accent-deep); color: var(--on-accent); }
.button.secondary { border: 1px solid var(--line); background: var(--bg); }
.hero-media { display: flex; flex-direction: column; min-width: 0; border-radius: 0 16px 16px 0; overflow: hidden; }
.hero-media picture { flex: 1; display: block; min-height: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.services { padding: 118px 0; }
.section-heading { max-width: 720px; margin-bottom: 58px; }
h2 { margin: 0; font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1.06; letter-spacing: -.045em; }
.section-heading p, .home-copy p, .business-copy p, .area-layout p, .contact-copy p { color: var(--muted); font-size: 1.08rem; }
.service-composition { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: auto auto; gap: 16px; }
.service-composition article { padding: 34px; border-radius: 16px; border: 1px solid var(--line); }
.service-main { grid-row: 1 / 3; min-height: 470px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--accent); color: var(--on-accent); }
.service-main p { max-width: 35ch; }
.service-main a { align-self: flex-start; margin-top: 22px; padding-bottom: 3px; border-bottom: 2px solid currentColor; font-weight: 800; text-decoration: none; }
.service-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-stack article:nth-child(1) { background: var(--surface); }
.service-stack article:nth-child(2) { background: var(--surface-deep); }
.service-footer { background: var(--bg); }
.service-composition h3 { margin: 0; font-size: 1.55rem; line-height: 1.15; }
.service-composition p { margin: 16px 0 0; }

.home-section { padding: 104px 0; background: var(--surface); }
.home-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(48px, 8vw, 112px); align-items: center; }
.home-layout figure { border-radius: 16px; overflow: hidden; }
.home-layout img { width: 100%; max-height: 520px; object-fit: cover; }
.home-copy p { max-width: 48ch; margin: 24px 0; }
.text-link, .business-copy a { color: var(--accent-deep); font-weight: 800; text-underline-offset: 5px; }

.business-section { padding: 104px 0; }
.business-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 8vw, 112px); align-items: center; }
.business-copy p { max-width: 40ch; }
.business-layout figure { border-radius: 16px; overflow: hidden; }
.business-layout img { width: 100%; max-height: 460px; object-fit: cover; }

.area-section { padding: 100px 0; background: var(--surface-deep); }
.area-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 84px; align-items: start; }
.area-layout p { max-width: 51ch; }
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.area-list span { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); font-weight: 760; }

.contact-section { padding: 112px 0; }
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: stretch; }
.contact-copy { padding: 30px 0; }
.contact-copy p { max-width: 42ch; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 28px; }
.contact-links a { color: var(--accent-deep); font-weight: 800; }
.map-card { min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.map-card span { color: var(--muted); }
.map-card strong { font-size: 1.4rem; }
.map-card em { color: var(--accent-deep); font-style: normal; font-weight: 800; }
.map-card:hover em { text-decoration: underline; }

.site-footer { padding: 52px 0 28px; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; }
.footer-main img { width: 84px; height: 54px; object-fit: contain; }
.footer-main strong, .footer-main span { display: block; }
.footer-main span, .disclaimer { color: var(--muted); }
.footer-main a { color: var(--accent-deep); font-weight: 750; }
.disclaimer { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .9rem; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .container { width: calc(100% - 32px); }
  .site-header, .header-inner { height: 68px; }
  .brand img { width: 78px; height: 50px; }
  .menu-toggle { display: grid; gap: 6px; width: 44px; height: 44px; place-content: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); }
  .menu-toggle span:not(.sr-only) { width: 20px; height: 2px; background: currentColor; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 12px 16px 18px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: grid; }
  .nav a { padding: 13px 8px; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { height: auto; min-height: 0; max-height: none; }
  .hero-grid { min-height: calc(100svh - 68px); grid-template-columns: 1fr; }
  .hero-copy { min-height: 62svh; padding: 46px 24px; border-radius: 16px 16px 0 0; }
  h1 { font-size: clamp(2.8rem, 10vw, 4.4rem); }
  h1 span { white-space: normal; }
  .hero-media { min-height: 390px; border-radius: 0 0 16px 16px; }
  .service-composition, .home-layout, .business-layout, .area-layout, .contact-layout { grid-template-columns: 1fr; }
  .service-main { grid-row: auto; min-height: 380px; }
  .home-layout, .business-layout, .area-layout, .contact-layout { gap: 44px; }
  .home-copy { order: -1; }
}

@media (max-width: 560px) {
  .hero-copy { min-height: 600px; padding-inline: 18px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-media { min-height: 280px; }
  .services, .home-section, .business-section, .area-section, .contact-section { padding: 76px 0; }
  .service-composition, .service-stack { grid-template-columns: 1fr; }
  .service-main { min-height: 310px; }
  .area-list { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
