@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: #000000;
  color: #ffffff;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-repeat: repeat;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.site-clock {
  position: fixed;
  top: 24px;
  right: 24px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666666;
  z-index: 10;
  pointer-events: none;
}

@media (max-width: 700px) {
  .site-clock {
    display: none;
  }
}

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

a {
  color: #ffffff;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

main {
  flex: 1;
  padding: 96px 0 120px;
}

.mini-nav {
  padding: 32px 0 0;
}

.mini-nav .text-link {
  font-size: 12px;
  border-bottom: none;
  padding-bottom: 0;
  opacity: 0.7;
}

.mini-nav .text-link:hover {
  opacity: 1;
}

.content-block {
  width: 100%;
  max-width: 100%;
}

.content-block-fixed {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.intro-columns {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.intro-left {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.intro-right {
  flex: 0 0 200px;
  width: 200px;
}

.intro-right p {
  margin-bottom: 14px;
}

.intro-right p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .intro-columns {
    flex-direction: column;
    gap: 32px;
  }
  .intro-left {
    display: block;
  }
  .intro-right {
    flex: 1 1 auto;
    width: 100%;
  }
}

.page-column {
  max-width: 760px;
  margin: 0 auto;
}

.project-section {
  position: relative;
  left: 50%;
  width: 60vw;
  transform: translateX(-50%);
  margin-top: 120px;
}

@media (max-width: 700px) {
  .project-section {
    position: static;
    width: 100%;
    transform: none;
    padding: 0 24px;
    margin-top: 64px;
  }
}

h1.site-title.site-title-wrap {
  display: block;
  white-space: normal;
  max-width: 100%;
}

h1.site-title,
h1,
h2,
.muted,
.section-label,
.project-row .no,
.project-row .title,
.btn,
.text-link,
.field label,
.progress,
footer.site-footer .wrap {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

h1.site-title {
  display: inline-block;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 104px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.marquee-wrap {
  position: relative;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  overflow: hidden;
  margin: 48px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 80px;
  margin: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
  .marquee-text[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 700px) {
  .marquee-text { font-size: 24px; letter-spacing: 0.08em; padding-right: 48px; }
  .marquee-track { animation-duration: 14s; }
}

h1 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 32px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

p {
  margin: 0 0 16px;
  color: #d2d2d2;
  font-size: 13px;
  text-align: justify;
  text-justify: inter-word;
}

.lede {
  font-size: 13px;
  margin: 0 0 20px;
  text-align: justify;
  text-justify: inter-word;
}

.muted {
  color: #888888;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-label {
  display: flex;
  gap: 40px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888888;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #333333;
  text-align: left;
}

.section-label .col-no { width: 90px; flex-shrink: 0; }
.section-label .col-title { width: 220px; flex-shrink: 0; }

.project-list {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.project-row {
  display: flex;
  gap: 40px;
  padding: 24px 0;
  border-bottom: 1px solid #333333;
  align-items: baseline;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}

.project-row:hover {
  opacity: 0.6;
}

.project-row:hover .title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.project-row .no {
  font-size: 13px;
  color: #888888;
  width: 90px;
  flex-shrink: 0;
}

.project-row .title {
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: 220px;
  flex-shrink: 0;
}

.project-row .desc {
  font-size: 13px;
  color: #d2d2d2;
  margin: 0;
  text-align: left;
  flex: 1;
}

.tbd {
  color: #666666;
}

.actions {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 64px;
  flex-wrap: wrap;
}

.confirmation .actions {
  justify-content: center;
}

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 30px;
  border: 1px solid #ffffff;
  background: #000000;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: #ffffff;
  color: #000000;
}

.btn.primary {
  background: #ffffff;
  color: #000000;
}

.btn.primary:hover {
  background: #000000;
  color: #ffffff;
}

.btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn:disabled:hover {
  background: #000000;
  color: #ffffff;
}

.text-link {
  display: inline-block;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 3px;
}

.text-link:hover {
  opacity: 0.6;
}

footer.site-footer {
  padding: 32px 0;
  border-top: 1px solid #333333;
}

footer.site-footer .wrap {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666666;
  display: flex;
  justify-content: space-between;
}

footer.site-footer a {
  color: #666666;
  text-decoration: none;
}

footer.site-footer a:hover {
  color: #ffffff;
}

/* Form / apply flow */

.progress {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 48px;
}

.progress-track {
  height: 1px;
  background: #333333;
  margin-top: 12px;
  position: relative;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.3s ease;
}

.step {
  display: none;
  text-align: left;
}

.step.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

.step h1 {
  text-align: center;
  margin-bottom: 56px;
}

.step .lede {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 46ch;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.field {
  margin-bottom: 26px;
  text-align: left;
}

.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #ffffff;
}

.field .hint {
  font-size: 13px;
  color: #888888;
  margin-top: 6px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  text-align: left;
  max-width: none;
}

textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

input:focus,
textarea:focus {
  outline: none;
  border-bottom: 2px solid #ffffff;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  text-align: left;
}

.checkbox-row input {
  margin-top: 4px;
}

.consent .checkbox-row {
  border: 1px solid #ffffff;
  padding: 16px;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 44px;
}

.step-actions .btn.back {
  border-color: #555555;
  color: #888888;
  background: #000000;
}

.step-actions .btn.back:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.confirmation {
  text-align: center;
}

.confirmation .lede,
.confirmation .muted {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.confirmation .mark {
  font-size: 32px;
  margin-bottom: 24px;
}

.error-msg {
  font-size: 13px;
  color: #ff6b6b;
  margin-top: -12px;
  margin-bottom: 20px;
  display: none;
  text-align: left;
}

.error-msg.show {
  display: block;
}

@media (max-width: 700px) {
  h1.site-title { font-size: 24px; letter-spacing: 0.08em; white-space: normal; display: block; }
  .content-block, .page-column { width: 100% !important; }
  .section-label .col-title, .project-row .title { width: 140px; }
  .section-label, .project-row { gap: 20px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 24px; }
  .section-label, .project-row { gap: 12px; }
  .section-label .col-no, .project-row .no { width: 60px; }
  .section-label .col-title, .project-row .title { width: 100px; }
}
