:root {
  --paper: #fbf7f0;
  --surface: #fffdf9;
  --ink: #211a1a;
  --muted: #746861;
  --line: #d8cdc3;
  --red: #a40b24;
  --red-dark: #750c20;
  --motion-state: running;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
.container { width: min(100% - 96px, 1280px); margin-inline: auto; }
.hero-copy { padding-top: clamp(44px, 5vw, 64px); position: relative; z-index: 1; }
.eyebrow { color: var(--red); text-transform: uppercase; letter-spacing: .17em; font-size: 12px; font-weight: 700; margin: 0 0 22px; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h1 { font-size: clamp(48px, 6.4vw, 90px); letter-spacing: -.055em; line-height: 1.07; margin: 0; }
.full-stop { color: var(--red); }
.intro { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 20px 0 0; }
.mobile-break { display: none; }
.scene-frame { width: 100%; overflow: hidden; margin-top: -24px; }
.construction-scene { display: block; width: 100%; height: auto; max-height: 380px; }
.scene-caption { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.site-address { font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.motion-toggle { border: 0; background: none; display: inline-flex; gap: 7px; align-items: center; color: var(--muted); font: inherit; font-size: 11px; cursor: pointer; min-height: 34px; padding: 7px 0 7px 12px; }
.motion-toggle[hidden] { display: none; }
.motion-indicator { display: block; width: 8px; height: 9px; border-inline: 2px solid currentColor; }
.motion-toggle[aria-pressed="true"] .motion-indicator { border: 0; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.motion-toggle:hover { color: var(--ink); }
.projects { padding-top: 21px; padding-bottom: 32px; }
.section-heading { display: flex; align-items: baseline; gap: 24px; margin-bottom: 20px; }
.section-heading h2 { margin: 0; font-size: 31px; letter-spacing: -.035em; }
.section-heading p { color: var(--muted); font-size: 12px; margin: 0; }
.section-heading::after { content: ''; height: 1px; background: var(--line); flex: 1; align-self: center; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.project-grid > li { min-width: 0; }
.project { border: 1px solid var(--line); padding: 22px; min-height: 206px; display: flex; flex-direction: column; height: 100%; position: relative; }
a.project { color: inherit; text-decoration: none; background: var(--surface); transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
a.project:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 8px 20px #211a1a09; }
.project-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.project-logo { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; }
.project h3 { margin: 0; font-size: 25px; line-height: 1.14; letter-spacing: -.045em; }
.project-description { margin: 0 0 22px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.project-bottom { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.project-path { font-size: 11px; color: var(--muted); }
.status { font-size: 10px; letter-spacing: .1em; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.status-live { color: var(--red); display: inline-flex; align-items: center; gap: 7px; }
.status-live::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.project-arrow { width: 17px; height: 17px; margin-left: auto; transition: transform 220ms ease; }
a.project:hover .project-arrow { transform: translate(2px, -2px); }
.project-upcoming { background: transparent; }
.project-upcoming .project-top { min-height: 42px; }
.project-upcoming h3 { color: #615752; }
.project-upcoming .status { color: var(--muted); font-size: 9px; letter-spacing: .13em; }
.footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; padding-block: 25px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.developer { color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
#projects:focus { outline: none; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: white; padding: 12px; z-index: 5; }
.skip-link:focus { top: 16px; }
.construction-scene .motion { animation-play-state: var(--motion-state); }
.crane { --cycle: 20s; --phase: -3s; }
.crane-trolley { animation: trolley var(--cycle) var(--phase) infinite cubic-bezier(.45, 0, .3, 1); }
.hoist-cable { transform-origin: 0 0; animation: cable var(--cycle) var(--phase) infinite cubic-bezier(.45, 0, .3, 1); }
.hoist-load { animation: load var(--cycle) var(--phase) infinite cubic-bezier(.45, 0, .3, 1); }
.load-sway { transform-origin: 0 0; animation: sway 5s ease-in-out infinite alternate; }
.beacon { animation: beacon 4s infinite ease-in-out; }
.shuttle { animation: shuttle 34s -12s infinite linear; }
.worker-walk { animation: worker 16s -6s infinite alternate ease-in-out; }
.cloud-drift { animation: drift 55s infinite alternate ease-in-out; }
.window-light { animation: window 14s infinite ease-in-out; }
@keyframes trolley { 0%, 15% { transform: translateX(14px); } 42%, 67% { transform: translateX(125px); } 90%, 100% { transform: translateX(14px); } }
@keyframes cable { 0%, 5% { transform: scaleY(var(--cable-low, 1.85)); } 18%, 42% { transform: scaleY(var(--cable-high, .65)); } 55%, 65% { transform: scaleY(var(--cable-mid, 1.6)); } 76%, 90% { transform: scaleY(var(--cable-high, .65)); } 100% { transform: scaleY(var(--cable-low, 1.85)); } }
@keyframes load { 0%, 5% { transform: translateY(var(--drop-low, 111px)); } 18%, 42% { transform: translateY(var(--drop-high, 39px)); } 55%, 65% { transform: translateY(var(--drop-mid, 96px)); } 76%, 90% { transform: translateY(var(--drop-high, 39px)); } 100% { transform: translateY(var(--drop-low, 111px)); } }
@keyframes sway { from { transform: rotate(-1.8deg); } to { transform: rotate(1.8deg); } }
@keyframes beacon { 0%, 65%, 100% { opacity: .35; } 72%, 82% { opacity: 1; } }
@keyframes shuttle { 0% { transform: translateX(-180px); } 40%, 48% { transform: translateX(925px); } 100% { transform: translateX(1810px); } }
@keyframes worker { from { transform: translateX(0); } to { transform: translateX(65px); } }
@keyframes drift { to { transform: translateX(70px); } }
@keyframes window { 0%, 20%, 90%, 100% { opacity: .15; } 35%, 70% { opacity: .85; } }
@media (min-width: 1650px) { .construction-scene { max-height: 440px; } }
@media (max-width: 900px) {
  .container { width: calc(100% - 48px); }
  .hero-copy { padding-top: 48px; }
  .scene-frame { margin-top: 22px; }
  .construction-scene { width: 130%; max-width: none; margin-left: -15%; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project { min-height: 216px; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 40px); }
  .hero-copy { padding-top: 44px; }
  .eyebrow { font-size: 10px; margin-bottom: 17px; }
  h1 { font-size: clamp(44px, 12.5vw, 62px); max-width: 9ch; line-height: 1.02; }
  .intro { font-size: 14px; line-height: 1.6; margin-top: 19px; }
  .mobile-break { display: initial; }
  .scene-frame { margin-top: 20px; }
  .construction-scene { width: 210%; margin-left: -52%; }
  .crane-1250 { display: none; }
  .scene-caption { height: 34px; }
  .projects { padding-top: 23px; padding-bottom: 30px; }
  .section-heading { gap: 14px; margin-bottom: 16px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading p { font-size: 10px; }
  .section-heading::after { display: none; }
  .project-grid { grid-template-columns: 1fr; gap: 12px; }
  .project { padding: 20px; min-height: 0; }
  .project-top { margin-bottom: 12px; }
  .project-description { margin-bottom: 18px; }
  .project h3 { font-size: 25px; }
  .project-upcoming .project-top { min-height: 0; }
  .footer { align-items: flex-start; flex-direction: column; gap: 4px; padding-block: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .construction-scene .motion { animation: none; }
  .hoist-load { transform: translateY(60px); }
  .shuttle { transform: translateX(880px); }
  .motion-toggle { display: none; }
  a.project, .project-arrow { transition: none; }
  a.project:hover { transform: none; }
}
