:root {
  color-scheme: dark;
  --ink: #f5f1e8;
  --muted: #aaa49a;
  --line: rgba(245, 241, 232, 0.2);
  --accent: #DBFB51;
  --bg: #151515;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
a { color: inherit; }

.site-header,
.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* The brand SVG viewBox fits the ink, not the padded square source image. */
.site-header { padding: 8px 0; }
.wordmark { display: block; flex: 0 1 420px; min-width: 0; line-height: 0; text-decoration: none; }
.wordmark-rotator { position: relative; display: block; width: 100%; aspect-ratio: 2 / 1; overflow: hidden; }
.wordmark-logo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; animation: wordmark-color-cycle 20s steps(1, end) infinite; }
.wordmark-logo--white { opacity: 1; }
.wordmark-logo--orange { animation-delay: 5s; }
.wordmark-logo--blue { animation-delay: 10s; }
.wordmark-logo--pink { animation-delay: 15s; }
@keyframes wordmark-color-cycle { 0%, 24.99% { opacity: 1; } 25%, 100% { opacity: 0; } }
.citymark { display: block; flex: 0 0 auto; width: auto; height: 18px; }

.site-footer { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.08em; }
main { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.hero { min-height: min(72vh, 720px); display: flex; flex-direction: column; justify-content: center; padding: 96px 0; }
.eyebrow,
.section-label { margin: 0 0 24px; color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
h1 { max-width: 980px; margin: 0; font-size: clamp(3.2rem, 8vw, 8.5rem); font-weight: 700; letter-spacing: -0.085em; line-height: 0.92; }
.intro { max-width: 520px; margin: 48px 0 0 auto; font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.25; }

.manifesto,
.works,
.contact { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 48px 0; }
.manifesto p,
.works p,
.contact p { max-width: 680px; margin: 0 0 18px; font-size: clamp(1.2rem, 2vw, 1.8rem); letter-spacing: -0.03em; line-height: 1.15; }

/* Only the paragraph initials use the chunky, angled brand lettering. */
.brand-initial { display: inline-block; width: 0.95em; height: 1.3em; margin-right: -0.06em; vertical-align: -0.24em; }
.brand-initial img { display: block; width: 100%; height: 100%; object-fit: contain; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.site-footer { display: grid; grid-template-columns: 1fr auto; margin-top: 72px; padding: 24px 0 20px; row-gap: 20px; }
.footer-mascot { display: block; grid-column: 1 / -1; justify-self: center; width: 88px; max-width: 100%; height: auto; object-fit: contain; opacity: 1; visibility: visible; }

@media (max-width: 700px) {
  .site-header,
  .site-footer,
  main { width: min(100% - 32px, var(--max)); }
  .site-header { gap: 12px; }
  .wordmark { flex-basis: 260px; }
  .citymark { height: 16px; }
  .hero { min-height: 70vh; padding: 64px 0; }
  .intro { margin: 40px 0 0; }
  .manifesto,
  .works,
  .contact { grid-template-columns: 1fr; gap: 8px; }
  .site-footer { align-items: start; grid-template-columns: 1fr; gap: 8px; }
  .footer-mascot { margin-top: 12px; }
}

/* Current production contact and motion styles, with the development card removed. */
.works-stage { position: relative; min-width: 0; height: 260px; overflow: hidden; }
#tower-paper { display: block; width: 100%; height: 100%; }
.contact-form { margin-top: 36px; max-width: 680px; }
.contact-form label { display: block; margin-bottom: 10px; color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.email-row { display: flex; gap: 10px; }
.contact-form input[type="email"], .contact-form textarea { display: block; width: 100%; border: 1px solid var(--line); border-radius: 0; padding: 14px 16px; background: transparent; color: var(--ink); font: inherit; }
.contact-form textarea { min-height: 112px; margin-bottom: 10px; resize: vertical; }
.contact-form button { border: 1px solid var(--accent); border-radius: 0; padding: 14px 16px; background: var(--accent); color: var(--bg); font: inherit; font-weight: 700; cursor: pointer; }
.contact-form button:hover,.contact-form button:focus-visible { background: var(--ink); border-color: var(--ink); }
.form-note:empty { display: none; }
.form-note { color: var(--muted); font-size: 0.8rem !important; letter-spacing: 0 !important; }
.form-note.is-error { color: #ff9d9d; }
.character-count { align-self: center; margin-right: auto; color: var(--muted); font-size: .75rem; letter-spacing: .04em; }
.trap { position: absolute; left: -9999px; opacity: 0; }
.manifesto,.works,.contact { opacity: 0; transform: translateY(22px) rotate(-0.5deg); transition: opacity 520ms ease, transform 700ms cubic-bezier(.22,.8,.24,1); }
.manifesto.is-visible,.works.is-visible,.contact.is-visible { opacity: 1; transform: none; }
.cursor-mark { position: fixed; z-index: 20; width: 18px; height: 7px; border-radius: 45% 55% 48% 52%; background: var(--accent); box-shadow: 0 0 8px rgba(219,251,81,.45); transform: translate(-50%,-50%) rotate(var(--turn)); pointer-events: none; animation: cursor-fade 900ms ease-out forwards; }
@keyframes cursor-fade { from { opacity: .95; } to { opacity: 0; transform: translate(-50%,-50%) rotate(var(--turn)) scale(.25); } }
@media (max-width: 700px) {
  .email-row { flex-direction: column; }
  .contact-form button { width: 100%; }
  .cursor-mark { display: none; }
  .manifesto,.works,.contact { transform: translateY(14px); }
}
@media (prefers-reduced-motion: reduce) {
  .wordmark-logo { animation: none; opacity: 0; }
  .wordmark-logo--white { opacity: 1; }
  .manifesto,.works,.contact { opacity: 1; transform: none; transition: none; }
  .cursor-mark { display: none; }
}



.tower-boxes { display: flex; justify-content: space-between; align-items: flex-end; gap: clamp(18px, 4vw, 52px); min-height: 250px; padding: 22px 18px 10px; }
.tower-box { position: relative; flex: 1 1 0; width: min(180px, 30%); aspect-ratio: 1.08; min-height: 130px; border: 0; padding: 0; background: transparent; cursor: pointer; transform: translateY(0); transition: transform 180ms ease, filter 180ms ease; }
.tower-box:hover,.tower-box:focus-visible { filter: drop-shadow(0 12px 0 rgba(219,251,81,.18)); transform: translateY(-6px); }
.tower-box--welders { animation: tower-bob 3.4s ease-in-out infinite; }
.tower-box--v1ce { animation: tower-bob 3.9s ease-in-out -1.1s infinite; }
.tower-box--lvg { animation: tower-bob 3.2s ease-in-out -2s infinite; }
.tower-box__face,.tower-box__top,.tower-box__side { position: absolute; display: block; background: var(--accent); border: 2px solid #090909; }
.tower-box__face { inset: 14% 16% 4% 0; z-index: 2; }
.tower-box__top { left: 0; right: 16%; top: 0; height: 16%; transform: skewX(-35deg); transform-origin: left bottom; z-index: 3; }
.tower-box__side { right: 0; top: 14%; bottom: 4%; width: 17%; transform: skewY(-35deg); transform-origin: left top; background: #9eba34; z-index: 1; }
.tower-box__mark { position: absolute; inset: 10% 16%; display: grid; place-items: center; color: #090909; font: 900 clamp(4rem, 8vw, 7rem)/.8 Arial, sans-serif; letter-spacing: -.12em; }
.tower-box__fastener { position: absolute; width: 8px; height: 8px; border: 2px solid #090909; border-radius: 50%; background: #6d7a2b; }
.tower-box__fastener--tl { left: 7%; top: 7%; }.tower-box__fastener--tr { right: 7%; top: 7%; }.tower-box__fastener--bl { left: 7%; bottom: 7%; }.tower-box__fastener--br { right: 7%; bottom: 7%; }
.tower-project { margin: 18px auto 0; max-width: 620px; border-top: 2px solid var(--accent); padding-top: 14px; }
.tower-project h3 { margin: 0 0 4px; color: var(--accent); font-size: clamp(1.2rem, 2vw, 1.6rem); }
.tower-project p { margin: 0; font-size: 1rem; color: var(--ink); }
@keyframes tower-bob { 0%,100% { transform: translateY(3px) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@media (max-width: 700px) { .tower-boxes { gap: 10px; padding-inline: 4px; min-height: 180px; } .tower-box { min-height: 100px; } .tower-box__mark { font-size: clamp(3rem, 15vw, 5rem); } .tower-box__fastener { width: 6px; height: 6px; border-width: 1px; } }
@media (prefers-reduced-motion: reduce) { .tower-box { animation: none; } }

.tower-box { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

.tower-box { overflow: visible; }
.tower-project { position: absolute; z-index: 5; left: 50%; bottom: calc(100% - 2px); width: min(220px, 180%); margin: 0; border: 0; padding: 0 0 12px; transform: translateX(-50%); text-align: center; pointer-events: none; }
.tower-project::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 10px; background: var(--accent); }
.tower-project strong,.tower-project small { display: block; }
.tower-project strong { color: var(--accent); font-size: clamp(1rem, 2vw, 1.35rem); line-height: 1; }
.tower-project small { margin-top: 6px; color: var(--ink); font-size: .78rem; line-height: 1.2; }

.tower-box { appearance: none; -webkit-appearance: none; }
.tower-project { width: min(320px, 260%); min-height: 82px; padding: 0 14px 12px; background: transparent; box-shadow: none; }
.tower-project::after { display: none; }
.tower-project strong { white-space: nowrap; }
.tower-project small { max-width: 290px; margin-inline: auto; }
@media (max-width: 700px) {
  .tower-project { width: min(300px, 72vw); min-height: 76px; padding-inline: 8px; }
  .tower-project strong { font-size: 1rem; }
  .tower-project small { font-size: .72rem; }
}

.works-stage { overflow: visible; }
.tower-project { width: min(380px, 320%); background: transparent; box-shadow: none; }
.tower-project small { display: block; max-width: 340px; margin-inline: auto; }
@media (max-width: 700px) {
  .tower-project { width: min(320px, 78vw); }
  .tower-project small { max-width: 300px; }
}

.tower-project,
.tower-project * { background: transparent !important; border: 0 !important; box-shadow: none !important; text-shadow: none !important; }
.tower-project { width: min(520px, 420%); min-height: 104px; padding: 0 20px 14px; outline: 0; }
.tower-project strong { display: block; white-space: nowrap; }
.tower-project small { display: block; max-width: 440px; margin: 8px auto 0; }
@media (max-width: 700px) {
  .tower-project { width: min(340px, 86vw); min-height: 88px; padding-inline: 8px; }
  .tower-project small { max-width: 310px; }
}

.tower-box:hover,
.tower-box:focus-visible { filter: none; }


.header-tools { display: flex; align-items: center; gap: 22px; }
.header-merch { color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.header-merch:hover, .header-merch:focus-visible { color: var(--ink); }
.merch { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 48px 0; border-top: 1px solid var(--line); }
.merch p { max-width: 680px; margin: 0 0 18px; font-size: clamp(1.2rem, 2vw, 1.8rem); letter-spacing: -.03em; line-height: 1.15; }
.merch-note { color: var(--muted); font-size: .85rem !important; letter-spacing: 0 !important; }
@media (max-width: 700px) {
  .header-tools { gap: 12px; }
  .header-merch { font-size: .68rem; }
  .merch { grid-template-columns: 1fr; gap: 8px; }
  .works-stage { height: 360px; }
  .tower-boxes { min-height: 190px; }
  .tower-project { top: calc(100% + 14px); bottom: auto; }
}


/* Mobile spacing and sharp city label cleanup. */
.citymark-text { display: none; }
@media (max-width: 700px) {
  .citymark-image { display: none; }
  .citymark-text { display: block; height: auto; color: var(--accent); font-size: 0.68rem; line-height: 1; letter-spacing: 0.08em; white-space: nowrap; }
  .works { padding-top: 24px; padding-bottom: 24px; }
  .works .section-label { margin-bottom: 10px; }
  .works-stage { height: 290px; }
  .tower-boxes { min-height: 170px; padding-top: 82px; padding-bottom: 0; }
  .tower-project { top: auto; bottom: calc(100% + 18px); min-height: 0; padding-bottom: 0; }
  .tower-project strong { line-height: 1.08; }
  .tower-project small { margin-top: 5px; }
}
