@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;500;600&display=swap');

:root {
  --green: #7fba3a;
  --green-dark: #527d1e;
  --sand: #bfad8d;
  --ink: #1b1d1a;
  --muted: #62665f;
  --paper: #f7f6f2;
  --white: #fff;
  --line: rgba(27, 29, 26, .15);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --page: min(1280px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, textarea, select { font: inherit; }
::selection { color: var(--ink); background: rgba(127, 186, 58, .35); }

.container { width: var(--page); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 18px; background: var(--white); }
.skip-link:focus { top: 16px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--white);
  background: transparent;
}
.site-header.light { position: relative; color: var(--ink); background: var(--white); }
.nav { width: var(--page); height: 92px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: max-content; }
.brand-logo { width: 100px; height: auto; }
.brand-mark { color: var(--green); font: 400 46px/.8 var(--serif); letter-spacing: -2px; }
.brand-mark sup { font-size: .48em; vertical-align: super; }
.brand-rule { width: 1px; height: 34px; background: currentColor; opacity: .3; }
.brand-copy { font-size: 10px; line-height: 1.35; letter-spacing: .16em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 500; }
.nav-links a { position: relative; }
.nav-links a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--green); transition: right .25s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; border: 1px solid var(--green); background: var(--green); color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: .25s ease; }
.button:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); }
.button-arrow { position: relative; display: inline-block; width: 15px; height: 1px; background: currentColor; }
.button-arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.button.outline { background: transparent; color: inherit; border-color: currentColor; }
.button.outline:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; color: inherit; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 6px auto; background: currentColor; transition: .2s ease; }

.hero { position: relative; min-height: 100svh; overflow: hidden; color: var(--white); background: #31362d; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-image, url("images/jst2-hero.jpg")) center/cover no-repeat; animation: heroDrift 18s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,17,14,.74) 0%, rgba(15,17,14,.32) 48%, rgba(15,17,14,.08) 75%), linear-gradient(0deg, rgba(15,17,14,.76) 0%, transparent 46%); }
@keyframes heroDrift { from { transform: scale(1.01); } to { transform: scale(1.08) translateX(-1%); } }
.hero-content { position: relative; z-index: 2; width: var(--page); min-height: 100svh; margin: auto; padding: 172px 0 245px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.eyebrow { margin: 0 0 18px; color: var(--green); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.hero h1, .page-hero h1 { max-width: 820px; margin: 0; font: 400 clamp(56px, 8vw, 118px)/.91 var(--serif); letter-spacing: -.035em; }
.hero-lead { max-width: 590px; margin: 28px 0 0; color: rgba(255,255,255,.84); font-size: clamp(16px, 1.6vw, 20px); }
.scroll-cue { margin-top: 38px; display: flex; align-items: center; gap: 14px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.scroll-cue::after { content: ""; width: 58px; height: 1px; background: var(--green); }

.choice-grid { position: relative; z-index: 5; width: var(--page); margin: -188px auto 0; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 24px 70px rgba(18,22,16,.16); }
.choice { min-height: 310px; padding: 44px; display: flex; flex-direction: column; justify-content: space-between; background: var(--white); border-right: 1px solid var(--line); transition: .35s ease; }
.choice:last-child { border-right: 0; background: var(--sand); }
.choice:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(18,22,16,.12); }
.choice-number { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.choice-number::after { content: ""; width: 13px; height: 13px; margin: 2px 3px 0 12px; flex: 0 0 auto; color: var(--green-dark); border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transition: transform .25s ease; }
.choice:hover .choice-number::after { transform: translate(4px,-4px); }
.choice h2 { min-height: 1.9em; max-width: 500px; margin: 28px 0 12px; font: 400 clamp(38px, 4.5vw, 65px)/.95 var(--serif); letter-spacing: -.025em; }
.choice p { max-width: 500px; margin: 0; color: rgba(27,29,26,.68); font-size: 14px; }

.section { padding: clamp(90px, 12vw, 170px) 0; }
.section.white { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(48px, 9vw, 140px); align-items: start; }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.kicker::before { content: ""; width: 30px; height: 2px; background: var(--green); }
.display { margin: 0; font: 400 clamp(40px, 5.2vw, 76px)/1.02 var(--serif); letter-spacing: -.025em; }
.body-large { margin: 28px 0 0; color: var(--muted); font-size: clamp(17px, 1.7vw, 21px); }
.stats { margin-top: 70px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.stat { padding: 34px 20px 0 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 34px; }
.stat:last-child { border: 0; }
.stat strong { display: block; font: 400 clamp(34px, 4vw, 58px)/1 var(--serif); color: var(--green-dark); }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.statement { padding: clamp(90px, 12vw, 150px) 0; color: var(--white); background: var(--ink); }
.statement blockquote { max-width: 1000px; margin: 0; font: 400 clamp(38px, 6vw, 82px)/1.03 var(--serif); letter-spacing: -.025em; }
.statement blockquote em { color: var(--green); font-style: normal; }
.statement p { margin: 30px 0 0; color: rgba(255,255,255,.55); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

.cta-row { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.cta-row .button { justify-self: end; }

.page-hero { position: relative; min-height: 76svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: #30352c; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; }
.page-hero.bauservice::before { background-image: var(--hero-image, url("images/jst2-bauservice-hero.jpg")); background-position: center 44%; }
.page-hero.facility::before { background-image: var(--hero-image, url("images/jst2-facility-hero.jpg")); background-position: center 58%; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,18,15,.76), rgba(16,18,15,.12)), linear-gradient(0deg, rgba(16,18,15,.72), transparent 62%); }
.page-hero-inner { position: relative; z-index: 2; width: var(--page); margin: 0 auto; padding: 190px 0 78px; }
.page-hero h1 { font-size: clamp(58px, 8vw, 112px); }
.page-hero .eyebrow { color: var(--green); }
.page-hero-lead { max-width: 610px; margin: 24px 0 0; color: rgba(255,255,255,.8); font-size: 18px; }

.content-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(55px, 10vw, 150px); }
.sticky-label { position: sticky; top: 40px; height: max-content; }
.prose { max-width: 760px; }
.prose p { margin: 0 0 28px; color: var(--muted); font-size: clamp(17px, 1.45vw, 20px); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .closing { margin-top: 55px; padding: 34px 0 0; border-top: 1px solid var(--line); color: var(--ink); font: 400 clamp(29px, 3vw, 43px)/1.15 var(--serif); }
.service-list { margin-top: 80px; display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); }
.service-item { padding: 28px 20px 28px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.service-item:nth-child(even) { padding-left: 30px; border-left: 1px solid var(--line); }
.service-item span { display: block; margin-bottom: 7px; color: var(--green-dark); font-size: 11px; font-weight: 600; letter-spacing: .12em; }

.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 10vw, 150px); align-items: start; }
.contact-details { margin-top: 45px; display: grid; gap: 24px; }
.contact-details small { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.contact-details a:hover { color: var(--green-dark); }
.contact-form { padding: clamp(30px, 5vw, 64px); background: var(--white); box-shadow: 0 20px 70px rgba(22,27,18,.08); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #c8c9c4; border-radius: 0; outline: 0; }
.field textarea { min-height: 125px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; color: var(--muted); font-size: 12px; }
.consent input { margin-top: 5px; accent-color: var(--green); }
.contact-form .button { margin-top: 8px; border: 0; cursor: pointer; }
.form-note { margin: 18px 0 0; color: var(--muted); font-size: 11px; }

.site-footer { padding: 70px 0 28px; color: rgba(255,255,255,.7); background: #171916; }
.footer-top { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 60px; padding-bottom: 60px; }
.footer-brand .brand-mark { font-size: 70px; }
.footer-brand .brand-logo { width: 135px; }
.footer-brand p { max-width: 320px; margin: 24px 0 0; color: rgba(255,255,255,.48); font-size: 13px; }
.footer-col h3 { margin: 0 0 18px; color: var(--white); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.footer-col a, .footer-col span { display: block; margin: 7px 0; font-size: 13px; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.footer-legal { display: flex; gap: 24px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

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

@media (max-width: 850px) {
  :root { --page: calc(100vw - 36px); }
  .nav { height: 76px; }
  .brand-mark { font-size: 40px; }
  .brand-copy, .brand-rule { display: none; }
  .menu-toggle { display: block; position: relative; z-index: 3; }
  .nav-links { position: fixed; inset: 0; padding: 120px 32px 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; color: var(--ink); background: var(--paper); transform: translateX(100%); transition: transform .35s ease; }
  .nav-links.open { transform: none; }
  .nav-links a { font: 400 34px/1.1 var(--serif); }
  .nav-links .button { margin-top: 10px; font: 600 12px/1 var(--sans); }
  .menu-toggle.active { color: var(--ink); }
  .menu-toggle.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle.active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero-content { padding: 135px 0 310px; justify-content: flex-end; }
  .hero::before { background-position: center center; animation: none; transform: scale(1.015); }
  .hero h1 { font-size: clamp(54px, 16vw, 78px); }
  .scroll-cue { display: none; }
  .choice-grid { margin-top: -250px; grid-template-columns: 1fr; }
  .choice { min-height: 235px; padding: 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .choice h2 { font-size: 40px; margin-top: 20px; }
  .section { padding: 90px 0; }
  .intro-grid, .content-layout, .contact-grid, .cta-row { grid-template-columns: 1fr; gap: 42px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .cta-row .button { justify-self: start; }
  .sticky-label { position: static; }
  .service-list { grid-template-columns: 1fr; }
  .service-item:nth-child(even) { padding-left: 0; border-left: 0; }
  .page-hero { min-height: 70svh; }
  .page-hero.bauservice::before { background-position: 62% center; }
  .page-hero.facility::before { background-position: 61% center; }
  .page-hero-inner { padding: 150px 0 58px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full, .consent { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 440px) {
  .hero-content { padding-bottom: 320px; }
  .hero-lead { font-size: 15px; }
  .choice { min-height: 218px; }
  .choice p { font-size: 13px; }
  .statement blockquote { font-size: 39px; }
  .contact-form { padding: 28px 20px; }
}
