:root {
  --sunny-yellow: #ffe600;
  --sunny-yellow-soft: #fff4a8;
  --ink: #141414;
  --ink-soft: #242424;
  --warm-white: #f8f7f2;
  --line: rgba(20, 20, 20, 0.12);
  --muted: #6f716e;
  --header-height: 94px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand, .btn, .eyebrow, .team-role {
  letter-spacing: 0.02em;
}

h1, h2, h3 { font-weight: 760; line-height: 1.04; }
h2 { font-size: clamp(2.15rem, 4.4vw, 4rem); }
h3 { font-size: 1.45rem; }
a { color: inherit; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; background: #fff; color: #000; padding: .75rem 1rem; }
.section-pad { padding: clamp(5rem, 9vw, 8rem) 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.2rem;
  color: #4f514e;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--sunny-yellow); border-radius: 2px; }
.eyebrow.light { color: rgba(255,255,255,.78); }
.lead { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.55; }

.site-header {
  height: var(--header-height);
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(20,20,20,.06);
  transition: box-shadow .25s ease, background .25s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header.is-scrolled { box-shadow: 0 16px 45px rgba(20,20,20,.08); background: rgba(255,255,255,.985); }
.navbar { height: 100%; }
.navbar-brand { display: flex; align-items: center; padding: 0; }
.navbar-brand img { display: block; width: 176px; height: auto; max-height: 72px; object-fit: contain; object-position: left center; }
.nav-link { color: #30312f; font-size: .9rem; font-weight: 650; padding: .75rem .8rem !important; }
.nav-link:hover, .nav-link:focus { color: #000; }
.btn { border-radius: 999px; font-weight: 750; padding: .82rem 1.25rem; }
.btn-lg { padding: 1rem 1.45rem; font-size: 1rem; }
.btn-nav { padding: .72rem 1rem; color: #fff; }
.btn-accent { background: var(--sunny-yellow); color: #111; border-color: var(--sunny-yellow); }
.btn-accent:hover, .btn-accent:focus { background: #f0d900; border-color: #f0d900; color: #111; transform: translateY(-1px); }

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-height);
  overflow: hidden;
  background: #0f1110;
}
.hero-bg {
  position: absolute;
  inset: var(--header-height) 0 0;
  background-image: url('../img/sunnyside-construction-banner.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.015);
}
.hero-overlay {
  position: absolute;
  inset: var(--header-height) 0 0;
  background:
    linear-gradient(90deg, rgba(9,11,10,.78) 0%, rgba(9,11,10,.54) 46%, rgba(9,11,10,.12) 74%),
    linear-gradient(0deg, rgba(9,11,10,.56) 0%, rgba(9,11,10,.02) 48%);
}
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero h1 { margin: 0; font-size: clamp(3.3rem, 7vw, 7.4rem); max-width: 11ch; text-wrap: balance; }
.hero-copy { max-width: 720px; margin: 1.5rem 0 0; font-size: clamp(1.12rem, 1.8vw, 1.42rem); color: rgba(255,255,255,.88); line-height: 1.55; }
.hero-note { margin-left: auto; max-width: 330px; padding: 1.35rem 1.45rem; background: rgba(15,17,16,.78); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; backdrop-filter: blur(8px); }
.hero-note-kicker { display: block; margin-bottom: .35rem; color: var(--sunny-yellow); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.hero-note strong { font-size: .96rem; line-height: 1.55; }
.scroll-cue { position: absolute; z-index: 3; bottom: 26px; left: 50%; width: 36px; height: 52px; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.48); border-radius: 999px; }
.scroll-cue span { position: absolute; top: 10px; left: 50%; width: 4px; height: 10px; transform: translateX(-50%); background: var(--sunny-yellow); border-radius: 99px; animation: scrollCue 1.8s ease-in-out infinite; }
@keyframes scrollCue { 0%,100% { transform: translate(-50%,0); opacity: .45; } 50% { transform: translate(-50%,15px); opacity: 1; } }

.intro-section { background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { padding: 1.6rem 1.25rem; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 1.25rem; }
.trust-item span { display: block; margin-top: .2rem; color: var(--muted); font-size: .86rem; }

.services-section { background: var(--warm-white); }
.service-card { position: relative; padding: 2rem; background: #fff; border: 1px solid rgba(20,20,20,.09); border-radius: 22px; box-shadow: 0 12px 40px rgba(20,20,20,.04); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 22px 58px rgba(20,20,20,.09); }
.service-number { display: inline-flex; margin-bottom: 3rem; padding: .3rem .58rem; border-radius: 999px; background: var(--sunny-yellow-soft); font-size: .72rem; font-weight: 850; }
.service-card h3 { font-size: 1.75rem; }
.service-card p { color: var(--muted); }
.service-card ul { margin: 1.5rem 0 0; padding: 1.25rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.service-card li { position: relative; padding: .36rem 0 .36rem 1.15rem; font-size: .9rem; }
.service-card li::before { content: ""; position: absolute; left: 0; top: .94rem; width: 6px; height: 6px; background: var(--sunny-yellow); border-radius: 50%; }

.approach-section { background: #fff; }
.approach-panel { padding: clamp(2.2rem, 6vw, 5rem); color: #fff; background: var(--ink); border-radius: 28px; overflow: hidden; position: relative; }
.approach-panel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 270px; height: 270px; border: 70px solid rgba(255,230,0,.11); border-radius: 50%; }
.approach-panel h2 { position: relative; z-index: 1; max-width: 10ch; }
.approach-list { position: relative; z-index: 1; }
.approach-item { display: grid; grid-template-columns: 54px 1fr; gap: 1.15rem; padding: 1.35rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.approach-item:last-child { border-bottom: 0; }
.approach-item > span { width: 42px; height: 42px; display: grid; place-items: center; background: var(--sunny-yellow); color: #111; border-radius: 50%; font-weight: 850; font-size: .78rem; }
.approach-item h3 { margin-bottom: .3rem; font-size: 1.2rem; }
.approach-item p { margin: 0; color: rgba(255,255,255,.67); font-size: .93rem; }

.areas-section { background: #f5f4ef; }
.text-link { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.5rem; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--sunny-yellow); }
.text-link:hover { color: #000; }
.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; background: rgba(20,20,20,.13); border: 1px solid rgba(20,20,20,.1); border-radius: 20px; }
.area-card { min-height: 142px; padding: 1.6rem; background: #fff; display: flex; flex-direction: column; justify-content: end; transition: background .2s ease; }
.area-card:hover { background: #fffbe1; }
.area-card strong { font-size: 1.3rem; }
.area-card span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }

.team-section { background: #fff; }
.team-card { display: grid; grid-template-columns: minmax(0, 44%) 1fr; overflow: hidden; background: #f7f6f2; border-radius: 22px; min-height: 420px; }
.team-photo-wrap { min-height: 100%; overflow: hidden; }
.team-photo { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.team-card:hover .team-photo { transform: scale(1.025); }
.team-copy { padding: 2rem; align-self: center; }
.team-role { display: block; margin-bottom: .6rem; color: #6b6d69; font-size: .7rem; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.team-copy h3 { font-size: 2rem; }
.team-copy p { margin: 1rem 0 0; color: #62645f; font-size: .94rem; }

.cta-section { padding: 0 0 clamp(5rem, 8vw, 7rem); background: #fff; }
.cta-shell { overflow: hidden; background: var(--ink); border-radius: 28px; box-shadow: 0 24px 80px rgba(20,20,20,.12); }
.cta-copy-panel { padding: clamp(2.2rem, 5vw, 4.5rem); color: #fff; }
.cta-copy-panel h2 { font-size: clamp(2.5rem, 4.4vw, 4.7rem); }
.cta-copy-panel > p { color: rgba(255,255,255,.7); max-width: 48ch; }
.contact-methods { margin-top: 2.2rem; border-top: 1px solid rgba(255,255,255,.15); }
.contact-methods > a, .contact-methods > div { display: block; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.15); text-decoration: none; }
.contact-methods span { display: block; color: rgba(255,255,255,.52); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.contact-methods strong { display: block; margin-top: .18rem; font-size: 1.06rem; }
.contact-methods a:hover strong { color: var(--sunny-yellow); }
.form-panel { padding: clamp(2rem, 5vw, 4.5rem); background: #f6f5ef; }
.form-label { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.form-control, .form-select { min-height: 50px; border: 1px solid rgba(20,20,20,.14); border-radius: 10px; background: #fff; box-shadow: none !important; }
textarea.form-control { min-height: 130px; }
.form-control:focus, .form-select:focus { border-color: #857c17; }
.form-note { max-width: 330px; color: #787a75; line-height: 1.4; }
.form-status { min-height: 1.4rem; font-size: .88rem; font-weight: 700; }
.form-status.error { color: #9b1c1c; }

.site-footer { padding: 2rem 0; background: #f5f4ef; border-top: 1px solid rgba(20,20,20,.08); color: #61635f; font-size: .78rem; }
.footer-logo { width: 150px; height: auto; max-height: 80px; object-fit: contain; object-position: left center; opacity: .86; }
.site-footer a { color: var(--ink); font-weight: 800; text-decoration: none; }
.footer-divider { padding: 0 .35rem; }

@media (max-width: 991.98px) {
  :root { --header-height: 82px; }
  .site-header { height: auto; min-height: var(--header-height); }
  .navbar { min-height: var(--header-height); }
  .navbar-collapse { padding: 1rem 0 1.2rem; }
  .navbar-brand img { width: 150px; max-height: 62px; }
  .hero-bg, .hero-overlay { inset: var(--header-height) 0 0; }
  .hero-bg { background-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(9,11,10,.76), rgba(9,11,10,.42)), linear-gradient(0deg, rgba(9,11,10,.62), transparent 60%); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust-item:first-child, .trust-item:nth-child(3) { padding-left: 0; }
  .team-card { min-height: 380px; }
}

@media (max-width: 767.98px) {
  body { font-size: .96rem; }
  .section-pad { padding: 4.5rem 0; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-copy { font-size: 1.08rem; }
  .scroll-cue { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:first-child, .trust-item:nth-child(3) { padding: 1.15rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .area-grid { grid-template-columns: 1fr; }
  .area-card { min-height: 110px; }
  .team-card { grid-template-columns: 1fr; }
  .team-photo-wrap { aspect-ratio: 4 / 3; }
  .team-copy { padding: 1.6rem; }
  .cta-shell, .approach-panel { border-radius: 20px; }
  .footer-divider { display: none; }
  .site-footer span:not(#year) { display: block; margin-top: .35rem; }
}

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