:root {
  --sky: #5cc3f0;
  --sky-deep: #1fa5e3;
  --sky-pale: #e4f5fd;
  --yellow: #ffd500;
  --yellow-deep: #f2c200;
  --ink: #0b3a53;
  --ink-soft: #3d6276;
  --line: #cfe6f2;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --dock-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--dock-h);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(40px, 5.4vw, 68px); }
p { margin: 0; text-wrap: pretty; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 4px;
}
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: #fff;
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 92px; }
.brand img { width: 146px; height: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 16px; padding: 6px 0; border-bottom: 3px solid transparent; transition: border-color .2s; }
.nav a:hover, .nav a.active { border-color: var(--yellow); }

/* ---------- Buttons: slanted like the arrow in the logo ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 16px/1 var(--body); text-decoration: none; white-space: nowrap;
  padding: 14px 22px; border: 2px solid transparent; border-radius: 4px;
  transform: skewX(-8deg);
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-lg { padding: 18px 30px; font-size: 18px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #0f4c6c; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-deep); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white-line { border-color: var(--ink); color: var(--ink); }
.btn-white-line:hover { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--sky); min-height: min(760px, calc(100vh - 92px)); display: flex; align-items: center; padding: 72px 0 150px; }
.hero-photo {
  position: absolute; inset: 0 0 0 50%; margin: 0;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.hero-seam {
  position: absolute; inset: 0 0 0 calc(50% - 34px); background: var(--yellow);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-copy { position: relative; }
.hero h1 { font-size: clamp(50px, 6.6vw, 92px); font-weight: 800; max-width: 620px; }
.lede { margin-top: 24px; font-size: 20px; font-weight: 500; max-width: 500px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* The one orchestrated moment: the band sweeps up on load */
.js .hero-seam { animation: sweep 1.2s var(--ease) .2s both; }
@keyframes sweep { from { transform: translate(-14%, 100%); } }

/* ---------- Services ---------- */
.section { padding: 112px 0; }
.services-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.services-side { position: sticky; top: 112px; }
.services-side > p { margin-top: 20px; color: var(--ink-soft); max-width: 420px; }
.slant-photo {
  margin: 36px 0 0; aspect-ratio: 4 / 3; overflow: hidden;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}
.slant-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li { padding: 26px 0; border-top: 2px solid var(--line); }
.service-list li:first-child { border-top: 0; padding-top: 0; }
.service-list h3 { font-size: 34px; margin-bottom: 8px; }
.service-list p { color: var(--ink-soft); max-width: 58ch; }

/* ---------- How it starts ---------- */
.how { background: var(--yellow); padding: 96px 0; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.step-num { display: block; font: italic 800 72px/1 var(--display); margin-bottom: 12px; }
.steps h3 { font-size: 28px; margin-bottom: 8px; }
.steps p { font-size: 17px; }

/* ---------- Crew ---------- */
.crew { background: var(--sky-pale); padding: 96px 0; }
.crew-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.crew-copy h2 { font-size: clamp(38px, 4.4vw, 56px); margin-bottom: 18px; }
.crew-copy p { color: var(--ink-soft); max-width: 50ch; }
.crew-photo { margin: 0; }
.crew-photo img { object-position: center 40%; }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--sky); padding: 104px 0; }
.banner-bg { position: absolute; inset: 0; background: url("assets/photos/tower-1.jpg") center 35% / cover no-repeat; }
.banner-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(92, 195, 240, .98) 0%, rgba(92, 195, 240, .9) 50%, rgba(92, 195, 240, .55) 100%); }
.cta-inner { position: relative; }
.cta-inner p { margin-top: 12px; font-size: 20px; font-weight: 500; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cta-actions .btn-yellow { background: var(--yellow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d5e8f2; padding: 56px 0 96px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; align-items: center; }
.footer-grid img { width: 200px; height: auto; }
.site-footer a { text-underline-offset: 3px; }
.site-footer a:hover { color: #fff; }

/* ---------- Always-visible dock ---------- */
.dock { position: fixed; z-index: 50; right: 24px; bottom: 24px; display: flex; box-shadow: 0 10px 28px rgba(11, 58, 83, .35); transform: skewX(-8deg); border-radius: 4px; overflow: hidden; }
.dock a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 600 16px/1 var(--body); padding: 17px 20px; transition: background-color .2s; }
.dock svg { width: 18px; height: 18px; fill: currentColor; }
.dock-call { background: var(--ink); color: #fff; }
.dock-call:hover { background: #0f4c6c; }
.dock-schedule { background: var(--yellow); color: var(--ink); }
.dock-schedule:hover { background: var(--yellow-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero { display: block; min-height: 0; padding: 56px 0 0; }
  .hero-photo { position: relative; inset: auto; height: 340px; margin-top: 44px; clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); order: 2; }
  .hero { display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy { order: 1; }
  .hero-seam { display: none; }
  .services-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-side { position: static; }
  .crew-inner { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; --dock-h: 72px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 72px; }
  .brand img { width: 116px; }
  .header-cta { display: none; }
  .section { padding: 72px 0; }
  .how { padding: 72px 0; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .service-list h3 { font-size: 30px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .crew { padding: 72px 0; }
  .dock { left: 12px; right: 12px; bottom: 12px; }
  .dock a { justify-content: center; }
  .dock-schedule { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-seam { animation: none; }
  * { transition: none !important; }
}
