:root {
  color-scheme: light;
  --bg: #f7f5f1;
  --surface: #fffdfa;
  --ink: #20211f;
  --muted: #686963;
  --line: #dedbd4;
  --red: #c8281d;
  --green: #23513f;
  --max: 1320px;
  --gutter: clamp(22px, 4.4vw, 76px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 114px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
::selection { background: #e8b9b1; color: #20211f; }
.skip-link { position: fixed; left: 18px; top: 14px; z-index: 200; padding: 16px 22px; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 110; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.site-header { position: sticky; z-index: 100; top: 0; padding: 0 var(--gutter); background: rgba(247,245,241,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 30px #20211f06; }
.header-inner { min-height: 102px; max-width: var(--max); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 20px; flex-shrink: 0; }
.brand-logo { width: 55px; height: 68px; display: block; flex-shrink: 0; overflow: visible; }
.brand-name { font-size: .9375rem; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.main-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); }
.main-nav a { font-size: .9375rem; padding: 14px 0; position: relative; }
.main-nav a::after { content: ''; position: absolute; bottom: 7px; left: 0; width: 100%; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--red); }
.menu-toggle { display: none; }
.hero { padding: clamp(62px, 6.5vw, 102px) var(--gutter) clamp(76px, 7vw, 114px); overflow: hidden; }
.hero-inner { max-width: var(--max); margin: auto; display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,.92fr); gap: clamp(32px,5.5vw,82px); align-items: center; }
.kicker, .section-label { margin: 0; font-size: .75rem; line-height: 1.5; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.kicker { color: var(--red); margin-bottom: 30px; }
.hero h1 { margin: 0; font-size: clamp(2.75rem,4.9vw,4.5rem); line-height: 1.045; font-weight: 500; letter-spacing: -.049em; overflow-wrap: break-word; }
.hero h1 span { color: #74756e; }
.lead { max-width: 570px; margin: 29px 0 0; font-size: 1.0625rem; line-height: 1.75; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; padding: 13px 24px; font-size: .9375rem; font-weight: 500; border: 1px solid var(--ink); border-radius: 4px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: #41433e; transform: translateY(-2px); }
.btn-secondary { border-color: #b8b7af; }
.btn-secondary:hover { background: white; }
.btn span { font-size: 1.25rem; }
.hero-visual { min-width: 0; perspective: 1400px; }
.plan { position: relative; width: 100%; aspect-ratio: 1; background: #fdfcf9; border: 1px solid #dedbd4; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 80px #272d2510; transition: transform .45s ease; }
.plan-grid { position: absolute; inset: 0; background-image: linear-gradient(#eae7e1 1px, transparent 1px),linear-gradient(90deg,#eae7e1 1px,transparent 1px); background-size: 7.7% 7.7%; opacity: .68; }
.floorplan-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.walls path { fill: none; stroke: #81847c; stroke-width: 3; stroke-linecap: square; stroke-linejoin: miter; }
.walls.outer path { stroke: #666b61; stroke-width: 3.5; }
.route-guide { fill: none; stroke: #23513f24; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.route-line { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: routeDraw 6s cubic-bezier(.4,0,.2,1) infinite; }
.route-start, .route-end { fill: var(--green); }
.route-start { animation: startPoint 6s ease infinite; }
.route-end { animation: endPoint 6s ease infinite; }
@keyframes routeDraw { 0%,10% { stroke-dashoffset: 100; opacity: 0; } 18% { opacity: 1; } 65%,84% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes startPoint { 0%,10%,100% { opacity: .2; } 18%,84% { opacity: 1; } }
@keyframes endPoint { 0%,50%,100% { opacity: .2; } 65%,84% { opacity: 1; } }
.section { padding: clamp(74px,7.5vw,114px) var(--gutter); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
h2 { font-size: clamp(2rem,3.4vw,3.375rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; }
.about-short { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.two-col { margin-top: 32px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(40px,8vw,125px); }
.two-col h2 { margin: 0; max-width: 550px; }
.body-copy p, .method-copy p { margin: 0 0 19px; font-size: 1.0625rem; line-height: 1.75; color: var(--muted); }
.body-copy p:last-child { margin-bottom: 0; }
.section-top { margin-bottom: 38px; }
.section-top h2 { margin: 18px 0 0; max-width: 870px; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 28px 29px 33px; border: 1px solid var(--line); background: #fffdfaab; border-radius: 12px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.service-card > span { color: var(--red); font-size: .75rem; letter-spacing: .06em; }
.service-card h3 { margin: 38px 0 16px; max-width: 330px; font-size: clamp(1.375rem,1.8vw,1.75rem); font-weight: 500; line-height: 1.16; letter-spacing: -.028em; }
.service-card p { margin: auto 0 0; line-height: 1.65; font-size: 1rem; color: var(--muted); }
@media (hover: hover) { .service-card:hover { background: white; transform: translateY(-4px); box-shadow: 0 14px 36px #20211f08; } }
.projects { background: #eeece6; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-showcase { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: start; gap: 38px 20px; }
.real-project { min-width: 0; }
.real-project-image { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 10px; background: #deded5; }
.real-project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.project-image-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 65%,#1b241b0a); pointer-events: none; }
@media (hover: hover) { .real-project:hover img { transform: scale(1.035); } }
.real-project-info { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 14px; padding: 16px 0 0; }
.real-project-info h3 { margin: 0; font-size: 1.1875rem; font-weight: 500; line-height: 1.35; letter-spacing: -.02em; }
.project-index { font-size: .75rem; line-height: 1.6; color: #777970; }
.methods { background: var(--surface); }
.methods-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(40px,8vw,125px); margin-top: 30px; align-items: start; }
.method-copy h2 { margin: 0 0 23px; }
.method-copy p { max-width: 510px; margin-bottom: 0; }
.method-list > div { display: grid; grid-template-columns: 1fr 1.12fr; gap: 20px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); }
.method-list > div:last-child { border-bottom: 1px solid var(--line); }
.method-list span { font-size: 1.125rem; }
.method-list small { font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.contact { padding: clamp(78px,8vw,122px) var(--gutter); background: #232622; color: #f7f5f1; }
.contact-inner { max-width: var(--max); margin: auto; }
.contact .section-label { color: #b6bbb2; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: clamp(40px,8vw,125px); margin-top: 35px; }
.contact h2 { margin: 0; max-width: 560px; }
.contact-details { display: flex; align-items: flex-start; flex-direction: column; padding-top: 4px; }
.contact-details a { display: inline-block; max-width: 100%; font-size: clamp(1.25rem,2.35vw,2.125rem); line-height: 1.45; letter-spacing: -.02em; border-bottom: 1px solid #72796d; padding-bottom: 4px; overflow-wrap: anywhere; transition: color .2s ease, border-color .2s ease; }
.contact-details a:hover { color: #efb2a8; border-color: #efb2a8; }
.contact-details a.contact-phone { margin-top: 20px; font-size: 1.25rem; }
.contact-details p { margin: 27px 0 0; font-size: .9375rem; line-height: 1.65; color: #b6bbb2; }
.site-footer { max-width: calc(var(--max) + var(--gutter)*2); margin: auto; padding: 27px var(--gutter); display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 30px; }
.site-footer .brand-logo { width: 44px; height: 54px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: .875rem; }
.footer-links a { padding: 10px 0; }
.footer-links a:hover { color: var(--red); }
.copyright { font-size: .8125rem; color: var(--muted); line-height: 1.6; }
.reveal { opacity: 1; transform: none; }
.reveal.pending { opacity: 0; transform: translateY(16px); }
.reveal.visible { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
@media (min-width: 1600px) { .hero { padding-top: 115px; padding-bottom: 125px; } }
@media (max-width: 1180px) {
  .project-showcase { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px 24px; }
  .hero h1 { font-size: clamp(2.65rem,4.8vw,3.6rem); }
  .hero-inner { gap: 36px; }
  .service-card { padding: 24px; }
  .site-footer { grid-template-columns: 60px 1fr; gap: 12px 26px; }
  .footer-links { justify-content: flex-end; }
  .copyright { grid-column: 1 / -1; text-align: right; }
}
@media (max-width: 980px) {
  html { scroll-padding-top: 104px; }
  .header-inner { min-height: 90px; }
  .brand-logo { width: 47px; height: 58px; }
  .brand { gap: 15px; }
  .brand-name { font-size: .875rem; }
  .hero-inner { grid-template-columns: minmax(0,1.1fr) minmax(0,.85fr); gap: 30px; }
  .hero h1 { font-size: clamp(2.35rem,4.4vw,2.875rem); }
  .lead { font-size: 1rem; line-height: 1.65; margin-top: 23px; }
  .kicker { font-size: .75rem; margin-bottom: 24px; }
  .hero-actions { gap: 9px; margin-top: 26px; }
  .btn { padding: 12px 18px; gap: 13px; }
  .two-col, .methods-grid, .contact-grid { gap: 40px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .main-nav { gap: 24px; }
  .method-list > div { grid-template-columns: 1fr; gap: 7px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 98px; }
  .header-inner { min-height: 84px; gap: 15px; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: .875rem; }
  .js .menu-toggle { display: block; position: relative; width: 46px; height: 46px; border: 1px solid #cecec4; border-radius: 50%; background: transparent; flex-shrink: 0; }
  .menu-toggle span { position: absolute; left: 13px; right: 13px; top: 18px; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle span:last-child { top: 25px; }
  .menu-toggle.active span:first-child { top: 21px; transform: rotate(45deg); }
  .menu-toggle.active span:last-child { top: 21px; transform: rotate(-45deg); }
  .js .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 20px var(--gutter) 30px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px #20211f0a; max-height: calc(100dvh - 90px); overflow-y: auto; }
  .js .main-nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .js .main-nav a { font-size: 1.375rem; padding: 19px 0; }
  .js .main-nav a::after { bottom: 10px; width: 36px; }
  .hero { padding-top: 54px; padding-bottom: 65px; }
  .hero-inner { grid-template-columns: minmax(0,1fr); gap: 44px; }
  .hero h1 { font-size: clamp(2.5rem,7.6vw,3.75rem); max-width: 640px; }
  .hero-visual { width: min(100%,480px); justify-self: center; }
  .plan { border-radius: 16px; }
  .lead { max-width: 560px; }
  .two-col, .methods-grid, .contact-grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .section { padding-top: 70px; padding-bottom: 70px; }
  h2 { font-size: clamp(2rem,6.1vw,2.6rem); }
  .body-copy p, .method-copy p { font-size: 1rem; }
  .method-list > div { grid-template-columns: 1fr 1.12fr; gap: 20px; }
  .contact { padding-top: 70px; padding-bottom: 70px; }
  .contact-details a { font-size: clamp(1.45rem,4.8vw,2.125rem); }
}
@media (max-width: 480px) {
  .brand-logo { width: 42px; height: 52px; }
  .brand-name { font-size: .8125rem; }
  .brand { gap: 12px; }
  .hero h1 { font-size: clamp(2.125rem,8.8vw,2.65rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .btn { padding: 13px 10px; font-size: .875rem; gap: 8px; }
  .service-grid, .project-showcase { grid-template-columns: minmax(0,1fr); }
  .service-card { padding: 25px; }
  .service-card h3 { margin-top: 30px; margin-bottom: 14px; font-size: 1.5rem; }
  .project-showcase { gap: 31px; }
  .real-project-image { aspect-ratio: 16 / 10; }
  .site-footer { grid-template-columns: 50px 1fr; padding-top: 25px; padding-bottom: 25px; }
  .footer-links { column-gap: 20px; }
  .copyright { text-align: left; padding-top: 9px; }
  .method-list > div { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 16px; }
  .method-list span { font-size: 1rem; }
  .method-list small { font-size: .875rem; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding: 13px 0; }
  html:not(.js) .main-nav { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .route-line { stroke-dashoffset: 0; opacity: 1; }
  .route-start, .route-end { opacity: 1; }
  .reveal.pending { opacity: 1; transform: none; }
}

/* Compact company card */
.hero h1 { max-width: 650px; }
.hero h1 span { display: block; }
.services { border-top: 1px solid var(--line); background: var(--surface); }
.section-top h2 { margin-top: 0; }
.service-card h3 { margin-bottom: 0; }
.contact-grid { margin-top: 0; }
.site-footer { display: flex; justify-content: flex-end; min-height: 72px; }
@media (max-width: 480px) { .hero-actions { display: flex; } .hero-actions .btn { min-width: 160px; } .service-card h3 { margin-bottom: 0; } }
