:root {
  --orange: #d6a63a;
  --orange-light: #edc66a;
  --navy: #671b2b;
  --navy-dark: #351018;
  --ink: #21191a;
  --gray: #716568;
  --soft: #faf7f0;
  --line: #e6ddd1;
  --white: #fffdf8;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(53, 16, 24, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: "Manrope", sans-serif; background: var(--white); }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: "Barlow Condensed", sans-serif; }

.site-header {
  height: 78px; display: flex; align-items: center; gap: 28px; padding: 0 clamp(22px, 4vw, 68px);
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: white;
  background: rgba(53, 16, 24, .94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(214,166,58,.24);
  transition: .25s ease;
}
.site-header.scrolled { height: 68px; background: rgba(53,16,24,.98); box-shadow: 0 10px 30px rgba(53,16,24,.22); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 21px; white-space: nowrap; letter-spacing: -.5px; }
.brand img { display: block; width: 275px; height: 51px; object-fit: contain; object-position: left center; }
.brand strong { font-weight: 800; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px;
  color: var(--navy-dark); background: linear-gradient(135deg, var(--orange), #edc66a); font-weight: 800; transform: skew(-5deg);
}
.nav-links { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); font-size: 13px; font-weight: 700; }
.nav-links a { position: relative; padding: 30px 0 26px; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; bottom: 18px; left: 0; width: 0; height: 2px; background: var(--orange); transition: width .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange-light); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.button {
  border: 0; display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 54px; padding: 0 25px;
  color: white; background: var(--orange); border-radius: 7px; font: 800 13px "Manrope", sans-serif; text-transform: uppercase;
  letter-spacing: .2px; box-shadow: 0 12px 26px rgba(103, 27, 43, .22); transition: transform .2s, background .2s, box-shadow .2s;
}
.button:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 15px 30px rgba(103,27,43,.28); }
.button-sm { min-height: 44px; padding: 0 19px; font-size: 11px; }
.menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; background: transparent; border: 0; padding: 9px; }
.menu-toggle span { height: 2px; display: block; background: white; margin: 6px 0; transition: .25s; }

.hero { min-height: 640px; height: 78vh; max-height: 760px; position: relative; overflow: hidden; display: flex; align-items: center; color: white; }
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("assets/site-images/hero-residential.jpg");
  background-size: 58% 100%; background-position: left center; background-repeat: no-repeat; transform: scale(1.02);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,8,10,.91) 0%, rgba(6,8,10,.78) 43%, rgba(6,8,10,.08) 60%, rgba(6,8,10,0) 100%); }
.hero-content { position: relative; z-index: 3; width: min(570px, 51vw); margin-left: clamp(35px, 4vw, 68px); padding-top: 70px; }
.eyebrow { display: block; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow.light { color: var(--orange-light); }
.hero h1 { font-size: clamp(50px, 5.1vw, 76px); line-height: .94; letter-spacing: -2px; margin-bottom: 18px; text-transform: none; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-content > p { width: min(470px, 100%); color: #f0f1f2; font-size: 14px; line-height: 1.58; }
.hero-actions { display: flex; gap: 12px; margin: 24px 0 0; }
.button-outline { background: transparent; border: 1px solid rgba(255,255,255,.7); box-shadow: none; }
.button-outline:hover { color: var(--ink); background: white; box-shadow: none; }
.hero-gallery { position: absolute; right: -10px; top: 0; width: 55vw; height: 100%; z-index: 2; transform: none; }
.hero-tile { position: absolute; overflow: hidden; border: 3px solid white; background-size: cover; background-position: center; box-shadow: var(--shadow); transition: .5s; }
.hero-tile:hover { transform: scale(1.025); z-index: 5; }
.hero-tile span { position: absolute; left: 20px; bottom: 16px; padding: 7px 10px; background: rgba(0,0,0,.65); font: 700 14px "Barlow Condensed"; text-transform: uppercase; letter-spacing: 1px; }
.hero-tile.court { width: 58%; height: 52%; left: 0; top: 0; background-image: url("assets/services/basketball.jpg"); background-position: center 58%; clip-path: polygon(0 0, 100% 0, 69% 100%, 30% 100%); }
.hero-tile.track { width: 58%; height: 52%; right: 0; top: 0; background-image: url("assets/site-images/hero-track.jpg"); clip-path: polygon(31% 0, 100% 0, 100% 100%, 0 100%); }
.hero-tile.commercial { width: 78%; height: 52%; right: 0; bottom: 0; background-image: url("assets/site-images/hero-commercial.jpg"); clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); }
.scroll-cue { position: absolute; z-index: 4; left: 30px; bottom: 38px; writing-mode: vertical-rl; color: rgba(255,255,255,.62); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; }
.scroll-cue span { color: var(--orange); margin-top: 9px; }

.section { padding: 66px clamp(24px, 4vw, 65px); }
.section-heading { max-width: 1320px; margin: 0 auto 30px; display: flex; justify-content: center; text-align: center; }
.section-heading h2, .projects h2, .contact h2, .why h2 { font-size: clamp(36px, 4vw, 58px); line-height: .98; letter-spacing: -1.2px; margin-bottom: 0; text-transform: none; }
.services .section-heading > p { display: none; }
.service-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 13px; }
.service-card { min-height: 390px; position: relative; overflow: hidden; padding: 0 18px 20px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); box-shadow: 0 3px 9px rgba(53,16,24,.1); transition: .3s; }
.service-card::before { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: .35s; }
.service-card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; transform: translateY(-5px); box-shadow: var(--shadow); }
.service-photo { height: 170px; margin: 0 -18px; background-position: center; background-size: cover; }
.service-residential .service-photo { background-image: url("assets/services/residential.jpg"); }
.service-commercial .service-photo { background-image: url("assets/services/commercial.jpg"); }
.service-basketball .service-photo { background-image: url("assets/services/basketball.jpg"); }
.service-track .service-photo { background-image: url("assets/services/track.jpg"); }
.service-pickleball .service-photo { background-image: url("assets/services/pickleball.jpg"); }
.service-specialty .service-photo { background-image: url("assets/services/specialty.jpg"); }
.service-icon { position: relative; width: 50px; height: 50px; display: grid; place-items: center; margin: -25px auto 20px; color: white; background: var(--navy); border-radius: 50%; font-size: 23px; font-weight: 800; border: 3px solid white; box-shadow: 0 0 0 2px var(--navy); }
.service-card:nth-child(3n) .service-icon { background: var(--navy); }
.service-card h3 { font-size: 21px; line-height: 1.08; margin-bottom: 14px; text-align: center; }
.service-card p { color: #594d50; font-size: 10px; line-height: 1.65; min-height: 66px; text-align: center; }
.service-link { display: flex; justify-content: center; gap: 8px; align-items: center; margin-top: 18px; color: var(--navy); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.service-link span { color: var(--orange); font-size: 18px; transition: transform .2s; }
.service-card:hover .service-link span, .service-card:focus-visible .service-link span { transform: translateX(4px); }

.why { padding: 32px clamp(24px, 5vw, 80px) 40px; background: #f5efe4; color: var(--ink); }
.why > .eyebrow { text-align: center; margin-bottom: 27px; }
.why-list { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.why-item { display: grid; grid-template-columns: 62px 1fr; gap: 18px; align-items: center; padding: 4px 30px; border-right: 1px solid #ded1bf; }
.why-item:first-child { padding-left: 0; }
.why-item:last-child { border: 0; padding-right: 0; }
.why-icon { width: 56px; height: 56px; display: grid; place-items: center; color: var(--navy); font: 800 37px/1 "Barlow Condensed"; }
.why-item h3 { font-size: 20px; margin-bottom: 6px; }
.why-item p { color: #4f5760; font-size: 10px; line-height: 1.55; margin: 0; }

.process { background: var(--soft); }
.process-line { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #cbd1d7; }
.process-line article { position: relative; padding: 45px 28px 10px 0; }
.process-line article::before { content: ""; position: absolute; width: 11px; height: 11px; top: -6px; left: 0; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px #f2f4f6; }
.process-line span { color: var(--orange); font: 700 12px "Manrope"; }
.process-line h3 { font-size: 26px; margin: 12px 0 8px; }
.process-line p { color: var(--gray); font-size: 12px; line-height: 1.7; max-width: 235px; }

.projects { padding: 105px clamp(24px, 5vw, 80px); background: var(--navy-dark); color: white; }
.projects-top { max-width: 1370px; margin: 0 auto 48px; display: flex; justify-content: space-between; align-items: end; }
.projects-top > p { max-width: 410px; color: #98a0a8; font-size: 13px; line-height: 1.7; }
.project-grid { max-width: 1370px; margin: 0 auto; display: grid; grid-template-columns: 1.25fr .75fr 1fr; grid-auto-rows: 250px; gap: 13px; }
.project-card { position: relative; overflow: hidden; background-size: cover; background-position: center; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent 66%); transition: background .3s; }
.project-card::before { content: ""; position: absolute; inset: 0; background: inherit; transition: transform .7s; }
.project-card:hover::before { transform: scale(1.07); }
.project-card > div { position: absolute; left: 25px; bottom: 22px; z-index: 2; }
.project-card span { color: var(--orange-light); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; }
.project-card h3 { font-size: 25px; margin: 5px 0 1px; }
.project-card p { color: #c6cbd1; font-size: 10px; margin: 0; }
.project-large { grid-row: span 2; }
.project-gym { background-image: url("assets/site-images/project-gym.jpg"); }
.project-home { background-image: url("assets/site-images/project-home.jpg"); }
.project-pickle { background-image: url("assets/site-images/project-pickleball.jpg"); }
.project-lobby { background-image: url("assets/site-images/project-lobby.jpg"); }

.testimonials { display: grid; grid-template-columns: 110px 1fr 190px; gap: 35px; align-items: center; padding: 76px max(7vw, 30px); background: white; }
.quote-mark { color: var(--orange); font: 800 110px/1 "Barlow Condensed"; text-align: center; }
.testimonial-copy > p { max-width: 900px; font: 600 clamp(20px, 2.3vw, 31px)/1.45 "Manrope"; letter-spacing: -.7px; margin-bottom: 25px; }
.testimonial-copy div { display: flex; gap: 12px; align-items: center; font-size: 11px; }
.testimonial-copy div span { color: var(--gray); padding-left: 12px; border-left: 1px solid var(--line); }
.testimonial-rating { border-left: 1px solid var(--line); padding-left: 35px; }
.testimonial-rating strong { display: block; font: 700 46px "Barlow Condensed"; }
.testimonial-rating span { display: block; color: var(--orange); font-size: 14px; letter-spacing: 2px; }
.testimonial-rating small { color: var(--gray); font-size: 9px; text-transform: uppercase; }
.service-area-callout .quote-mark { font-size: 58px; }
.service-area-callout .testimonial-rating span { letter-spacing: .5px; font-weight: 800; }

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 8vw, 130px); padding: 105px clamp(28px, 8vw, 130px); background: var(--navy); color: white; }
.contact-copy > p { max-width: 520px; margin: 25px 0 45px; color: #b9c7db; font-size: 13px; line-height: 1.8; }
.contact-details { display: flex; gap: 42px; flex-wrap: wrap; }
.contact-details a, .contact-location { display: flex; flex-direction: column; }
.contact-details small { color: #8fa4c0; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 5px; }
.contact-details strong { font-size: 13px; }
.quote-form { position: relative; background: white; color: var(--ink); padding: clamp(28px, 4vw, 50px); box-shadow: 0 22px 60px rgba(0,0,0,.25); }
.quote-form label { display: block; margin-bottom: 18px; color: #4d5660; font-size: 9px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid #d7dce1; border-radius: 3px; background: #fafbfc; color: var(--ink); font: 500 12px "Manrope"; outline: 0; transition: .2s; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(255,90,0,.09); }
.quote-form textarea { resize: vertical; }
.form-submit { width: 100%; }
.form-note { color: #89919b; text-align: center; font-size: 9px; margin: 12px 0 0; }
.form-success { display: none; margin-top: 15px; padding: 12px; background: #e9f8ee; color: #176b36; font-size: 12px; font-weight: 700; text-align: center; }
.form-success.show { display: block; }

footer { padding: 65px clamp(28px, 7vw, 110px) 23px; background: #261015; color: white; }
.footer-main { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 50px; padding-bottom: 52px; }
.footer-brand p, .footer-main > div > p { max-width: 240px; color: #88919c; font-size: 11px; line-height: 1.7; margin-top: 18px; }
.footer-brand .brand img { width: 300px; height: 56px; }
.footer-main h4 { margin-bottom: 18px; color: #8f98a4; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
.footer-main > div:not(.footer-brand) a { display: block; width: fit-content; margin: 9px 0; color: #d3d6d9; font-size: 11px; }
.footer-main a:hover { color: var(--orange-light); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid #292d31; color: #717980; font-size: 9px; }

@media (max-width: 1050px) {
  .nav-links { gap: 16px; }
  .nav-links a:nth-child(4), .nav-links a:nth-child(5) { display: none; }
  .hero-gallery { opacity: .58; width: 52vw; right: -110px; }
  .hero-content { width: 65vw; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .why-list { grid-template-columns: repeat(2, 1fr); gap: 25px 0; }
  .why-item:nth-child(2) { border-right: 0; }
  .why-item:nth-child(3) { padding-left: 0; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-large { grid-row: span 1; }
}

@media (max-width: 760px) {
  .site-header { height: 67px; padding: 0 19px; }
  .site-header .brand img { width: 215px; height: 42px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; cursor: pointer; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 67px 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 28px 25px;
    background: var(--navy-dark); transform: translateX(100%); transition: .3s; z-index: 49;
  }
  .menu-open .nav-links { transform: translateX(0); }
  .nav-links a, .nav-links a:nth-child(4), .nav-links a:nth-child(5) { display: block; padding: 18px 3px; border-bottom: 1px solid #2b2f33; font: 700 29px "Barlow Condensed"; }
  .nav-links a::after { display: none; }
  .hero { min-height: 700px; height: auto; padding: 105px 0 50px; align-items: flex-start; }
  .hero-bg { background-size: cover; }
  .hero-overlay { background: linear-gradient(90deg, rgba(6,8,10,.96), rgba(6,8,10,.67)); }
  .hero-content { width: auto; margin: 0 23px; padding: 28px 0 0; }
  .hero h1 { font-size: clamp(51px, 14vw, 70px); letter-spacing: -1.5px; }
  .hero-content > p { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-bottom: 38px; }
  .hero-gallery { display: block; opacity: .55; width: 65vw; right: -25vw; }
  .scroll-cue { display: none; }
  .section { padding: 76px 20px; }
  .section-heading, .projects-top { display: block; }
  .section-heading > p, .projects-top > p { margin-top: 22px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .service-card { min-height: 320px; }
  .why { padding: 45px 20px; }
  .why-list { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .why-item, .why-item:first-child, .why-item:nth-child(3), .why-item:last-child { padding: 22px 0; border-right: 0; border-bottom: 1px solid #d6dbe0; }
  .why-item:last-child { border-bottom: 0; }
  .process-line { grid-template-columns: 1fr; border: 0; }
  .process-line article { padding: 15px 0 28px 35px; border-left: 1px solid #cbd1d7; }
  .process-line article::before { top: 18px; left: -6px; }
  .projects { padding: 76px 20px; }
  .project-grid { grid-template-columns: 1fr; grid-auto-rows: 290px; }
  .testimonials { grid-template-columns: 1fr; gap: 10px; padding: 65px 25px; }
  .quote-mark { text-align: left; height: 60px; }
  .testimonial-rating { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
  .contact { grid-template-columns: 1fr; padding: 75px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 38px 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
