/* Superior Site Services */

:root {
  --ink: #0c0e11;
  --ink-2: #1c2128;
  --steel: #1f4e86;
  --sky: #8fb6e6;
  --silver: #cdd3da;
  --silver-2: #e3e7ec;
  --paper: #f3f5f7;
  --white: #fff;
  --margin: clamp(16px, 2.2vw, 32px);
  --gap-section: clamp(96px, 12vw, 200px);
  --text: 1.125rem;
  --h2: clamp(2.5rem, 6.4vw, 6.5rem);
  --h3: clamp(1.5rem, 2.4vw, 2.25rem);
  --display: clamp(3rem, 10.4vw, 12rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: var(--text);
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, ul, ol, dl, dd, figure, h1, h2, h3 { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; }
.walls :focus-visible, .creds :focus-visible, .calc :focus-visible, .contact :focus-visible { outline-color: var(--white); }
::selection { background: var(--steel); color: var(--white); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
figcaption { margin-top: 10px; font-size: 1rem; }

.h2, .hero-title, .foot-name, .calc-num, .biglist, .stages strong, .creds-list strong, .people strong {
  font-weight: 900;
  font-stretch: 85%;
  font-variation-settings: "wdth" 85;
  text-transform: uppercase;
  letter-spacing: 0;
  word-spacing: .14em;
}
.h2 { font-size: var(--h2); line-height: .9; max-width: 16ch; }
.h3 { font-size: var(--h3); font-weight: 800; line-height: 1.1; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  font-weight: 800; font-size: 1.0625rem; text-decoration: none;
  border: 0; border-radius: 0; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s, color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--steel); }
.calc .btn-ink:hover, .contact .btn-ink:hover { background: #000; }
.btn-line { background: var(--paper); color: var(--ink); }
.btn-line:hover { background: var(--white); }

/* bar */
.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 32px;
  padding: 8px var(--margin);
  background: var(--paper);
}
.wordmark img { height: 72px; width: auto; }
.bar nav { display: flex; gap: 28px; margin-left: auto; }
.bar nav a { font-weight: 700; text-decoration: none; }
.bar nav a:hover { text-decoration: underline; text-decoration-color: var(--steel); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.bar-call { min-height: 44px; padding: 0 18px; }
.unit { text-transform: none; }

/* hero */
.hero {
  background: var(--silver);
  padding: clamp(24px, 4vw, 64px) var(--margin) 0;
  overflow: hidden;
}
.hero-title { font-size: var(--display); line-height: .92; }
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px); align-items: end;
  margin-top: clamp(28px, 4vw, 56px);
}
.hero-copy { padding-bottom: clamp(32px, 5vw, 80px); }
.lede { font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.4; font-weight: 500; max-width: 30ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-photo { margin-right: calc(var(--margin) * -1); transform: rotate(-3deg) translate(2%, 6%); transform-origin: bottom left; }
.hero-photo .crop { overflow: hidden; aspect-ratio: 16 / 10; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: drift 24s var(--ease) infinite alternate; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.14) translateX(-2%); } }

/* marquee */
.marquee { background: var(--ink); color: var(--sky); overflow: hidden; padding: 18px 0; position: relative; z-index: 1; }
.marquee-track { display: flex; width: max-content; animation: slide 60s linear infinite; }
.marquee span {
  font-weight: 900; font-stretch: 85%; font-variation-settings: "wdth" 85; word-spacing: .14em; text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.75rem); line-height: 1; padding-right: .9em; white-space: nowrap;
}
.marquee span::after { content: "/"; padding-left: .9em; color: var(--silver); }
@keyframes slide { to { transform: translateX(-50%); } }

/* commercial */
.commercial {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 96px);
  padding: var(--gap-section) var(--margin) var(--gap-section) 0;
  align-items: start;
}
.commercial-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.commercial-body > p { margin-top: 28px; max-width: 46ch; }
.biglist { font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.05; }
.biglist li { padding: .22em 0; }
.commercial .biglist { margin-top: 40px; }
.cols { columns: 2; column-gap: 32px; }
.cols li { break-inside: avoid; }

/* walls and pavers */
.walls {
  background: var(--ink); color: var(--paper);
  padding: var(--gap-section) var(--margin);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
}
.walls .h2 { color: var(--sky); }
.walls-head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.walls-head p { max-width: 44ch; }
.walls-wide { grid-column: 1 / -1; margin: 24px calc(var(--margin) * -1) 0; }
.walls-wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 60%; }
.walls-a { grid-column: 1 / 6; }
.walls-b { grid-column: 6 / 9; margin-top: 120px; }
.walls-c { grid-column: 9 / 13; margin-top: 48px; }
.walls-a img, .walls-b img, .walls-c img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.walls figcaption { color: var(--silver); }

/* athletic fields */
.fields {
  padding: var(--gap-section) var(--margin);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px; align-items: end;
}
.fields-head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; margin-bottom: 24px; }
.fields-head p { max-width: 44ch; }
.fields-after { grid-column: 1 / 9; margin-left: calc(var(--margin) * -1); }
.fields-after img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.fields-before { grid-column: 9 / 13; }
.fields-before img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.fields-after figcaption { padding-left: var(--margin); }

/* residential */
.residential { background: var(--silver-2); padding: var(--gap-section) var(--margin); }
.res-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.res-head p { max-width: 44ch; }
.stages {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 96px);
  align-items: end;
}
.stages li {
  display: flex; flex-direction: column; justify-content: flex-start; gap: 10px;
  padding: 20px 16px 24px;
}
/* each step sits lower, the way the lot comes down to finished grade */
.stages li:nth-child(1) { min-height: 380px; background: var(--ink); color: var(--paper); }
.stages li:nth-child(2) { min-height: 350px; background: #26303c; color: var(--paper); }
.stages li:nth-child(3) { min-height: 330px; background: #3e4b5b; color: var(--paper); }
.stages li:nth-child(4) { min-height: 300px; background: #8a96a5; color: var(--ink); }
.stages li:nth-child(5) { min-height: 280px; background: #b3bcc7; color: var(--ink); }
.stages li:nth-child(6) { min-height: 260px; background: var(--paper); color: var(--ink); }
.stages li:nth-child(7) { min-height: 250px; background: var(--steel); color: var(--white); }
.stages strong { font-size: clamp(1.3rem, 1.7vw, 1.85rem); line-height: .95; }
.stages span { font-size: 1rem; line-height: 1.4; }
.res-photo { margin-top: clamp(48px, 6vw, 96px); margin-left: 33%; }
.res-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* calculator */
.calc {
  background: var(--steel); color: var(--white);
  padding: var(--gap-section) var(--margin);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px) clamp(32px, 5vw, 96px);
}
.calc-copy p { margin-top: 24px; max-width: 40ch; }
.calc-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-self: end; }
.calc-form label { display: flex; flex-direction: column; font-weight: 800; font-size: 1.125rem; }
.calc-form label span { font-weight: 500; font-size: 1rem; }
.calc-form input {
  margin-top: 8px; width: 100%;
  font: inherit; font-weight: 900; font-size: clamp(2rem, 4vw, 3.5rem); font-variation-settings: "wdth" 85;
  font-variant-numeric: tabular-nums;
  background: var(--paper); color: var(--ink); border: 0; border-radius: 0; padding: 8px 14px;
}
.calc-form input:focus-visible { outline: 3px solid var(--sky); outline-offset: 0; }
.calc-out { grid-column: 2; }
.calc-num { font-size: clamp(4rem, 12vw, 12rem); line-height: .85; font-variant-numeric: tabular-nums; }
.calc-sub { font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 600; margin: 12px 0 28px; }

/* landscape */
.landscape {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 96px);
  padding: var(--gap-section) 0 0 var(--margin);
  align-items: center;
}
.svc { margin-top: 40px; display: grid; gap: 32px; }
.svc dt { font-size: var(--h3); font-weight: 800; line-height: 1.1; }
.svc dd { margin-top: 6px; max-width: 46ch; }
.landscape-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 50%; }

/* environmental */
.enviro {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px; padding: var(--gap-section) var(--margin);
}
.enviro .h2 { grid-column: 1 / -1; }
.enviro-a { grid-column: 1 / 8; }
.enviro-a img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.enviro-text { grid-column: 9 / 13; display: grid; gap: 28px; align-content: start; }
.enviro-b { grid-column: 4 / 13; margin-top: 32px; }
.enviro-b img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* credentials */
.creds { background: var(--ink); color: var(--paper); padding: var(--gap-section) var(--margin); }
.creds .h2 { color: var(--sky); max-width: 16ch; }
.creds-list { margin-top: clamp(40px, 6vw, 88px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.creds-list li { background: var(--ink-2); padding: 28px 24px 32px; }
.creds-list li:nth-child(1) { grid-column: 1 / -1; background: var(--steel); color: var(--white); }
.creds-list li:nth-child(1) strong { font-size: clamp(2rem, 5vw, 4.5rem); }
.creds-list li:nth-child(2) { grid-column: 1 / -1; }
.creds-list li:nth-child(2) strong { font-size: clamp(3.5rem, 11vw, 11rem); line-height: .85; color: var(--sky); }
.creds-list span { display: block; margin-top: 14px; font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 600; }
.creds-list strong { display: block; font-size: clamp(1.5rem, 2.4vw, 2.4rem); line-height: .95; }

/* team */
.team { padding: var(--gap-section) var(--margin); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); }
.team-head p { margin-top: 24px; max-width: 40ch; }
.people { display: grid; gap: 8px; align-content: start; }
.people li { display: flex; flex-direction: column; gap: 6px; padding: 12px 0 20px; }
.people strong { font-size: clamp(2.6rem, 6vw, 6rem); line-height: .9; }
.people span { font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 600; color: var(--steel); }
.builders { grid-column: 1 / -1; background: var(--silver-2); padding: clamp(24px, 3vw, 48px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 5vw, 96px); align-items: start; }
.builder-names { display: flex; flex-wrap: wrap; gap: 8px 40px; font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1.2; }

/* jobs */
.jobs { background: var(--silver); padding: clamp(72px, 9vw, 140px) var(--margin); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; }
.jobs p { max-width: 44ch; }
.jobs .btn { justify-self: start; grid-column: 2; }

/* contact */
.contact { background: var(--steel); color: var(--white); padding: var(--gap-section) var(--margin) clamp(64px, 8vw, 120px); }
.contact-copy { margin-top: 24px; max-width: 44ch; font-size: clamp(1.15rem, 1.6vw, 1.5rem); }
.contact-email {
  display: inline-block; margin-top: clamp(40px, 5vw, 72px);
  font-weight: 800; font-size: clamp(1rem, 5.2vw, 5.5rem); line-height: 1; letter-spacing: 0;
  text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .14em;
  overflow-wrap: anywhere; transition: color .2s;
}
.contact-email:hover { color: var(--sky); }
.contact-area { margin-top: 32px; font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.5rem); }

/* footer */
.foot { background: var(--silver); color: var(--ink); padding: clamp(48px, 6vw, 96px) var(--margin) 32px; }
.foot-logo { width: min(560px, 80vw); height: auto; }
.foot-small { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; margin-top: 40px; font-size: 1rem; }

/* entrances */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 75ms); }
.js .reveal.in { opacity: 1; transform: none; }
/* the first screen plays on load, without waiting for the observer */
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .8s var(--ease) both; }
.js .hero .hero-copy { animation-delay: .12s; }
.js .hero .hero-photo { transform: rotate(-3deg) translate(2%, 6%); animation: rise-photo 1s var(--ease) .22s both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes rise-photo { from { opacity: 0; transform: rotate(-3deg) translate(2%, 16%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transition: opacity .3s; transform: none; }
  .js .hero .reveal { animation: none; }
  .hero-photo img, .marquee-track { animation: none; }
  .btn:hover { transform: none; }
}

/* tablet */
@media (max-width: 1100px) {
  .stages { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .stages li { min-height: 0 !important; padding-bottom: 40px; }
  .res-head, .walls-head, .fields-head, .calc, .team, .jobs, .builders { grid-template-columns: minmax(0, 1fr); }
  .calc-out, .jobs .btn { grid-column: auto; }
  .res-photo { margin-left: 0; }
  .bar nav { gap: 20px; }
}

/* phone */
@media (max-width: 760px) {
  .bar { gap: 12px; justify-content: space-between; }
  .bar nav { display: none; }
  .wordmark img { height: 54px; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 0; }
  .hero-photo { margin-left: 8%; }
  .commercial { grid-template-columns: minmax(0, 1fr); padding-right: var(--margin); }
  .commercial-photo { margin-right: 15%; }
  .commercial-body { padding-left: var(--margin); }
  .cols { columns: 1; }
  .walls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 12px; }
  .walls-wide img { aspect-ratio: 4 / 3; }
  .walls-a { grid-column: 1 / -1; margin-right: 20%; }
  .walls-b { grid-column: 1 / 2; margin-top: 0; }
  .walls-c { grid-column: 2 / 3; margin-top: 64px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .fields > * { grid-column: 1 / -1 !important; }
  .fields-before { margin-left: 25%; }
  .stages { grid-template-columns: minmax(0, 1fr); }
  .stages li { flex-direction: row; align-items: baseline; gap: 16px; padding: 18px 16px; }
  .stages li strong { flex: 0 0 42%; }
  .calc-form { gap: 8px; }
  .calc-form label { font-size: 1rem; }
  .calc-form input { font-size: 2rem; padding: 6px 10px; }
  .landscape { grid-template-columns: minmax(0, 1fr); padding-right: var(--margin); }
  .landscape-photo { margin-left: 20%; margin-right: calc(var(--margin) * -1); }
  .enviro { grid-template-columns: minmax(0, 1fr); }
  .enviro > * { grid-column: 1 / -1 !important; }
  .enviro-a { margin-right: calc(var(--margin) * -1); }
  .enviro-b { margin-left: calc(var(--margin) * -1); margin-top: 0; }
  .creds-list { grid-template-columns: minmax(0, 1fr); }
  .builders { margin: 0 calc(var(--margin) * -1); }
  .foot-small { grid-template-columns: minmax(0, 1fr); }
}
