/* ============================================
   GIEDI — Cyanotype Print Edition
   Papier blueprint imprimé, encre crème, tampon
   ============================================ */

:root {
  --paper: #1a4d7a;
  --paper-mid: #103e68;
  --paper-deep: #082b4d;
  --paper-shadow: #051a30;

  --ink: #f3e9d2;
  --ink-strong: #fdf6e3;
  --ink-soft: rgba(243, 233, 210, 0.55);
  --ink-faint: rgba(243, 233, 210, 0.18);
  --ink-ghost: rgba(243, 233, 210, 0.06);

  --stamp: #c9302c;
  --stamp-soft: rgba(201, 48, 44, 0.55);

  --grid-size: 22px;
  --bp-font-mono: 'Special Elite', 'Courier Prime', 'Courier New', monospace;
  --bp-font-display: 'Anton', 'Oswald', 'Impact', sans-serif;
  --bp-font-hand: 'Caveat', 'Patrick Hand', cursive;
}

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

html { scroll-behavior: smooth; }

/* ---- The "desk" — a darker surface holding the paper ---- */
body {
  background: var(--paper-shadow);
  color: var(--ink);
  font-family: var(--bp-font-mono);
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  cursor: crosshair;
}

/* ---- The paper itself: a giant sheet sitting on the desk ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.06), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(0,0,0,0.18), transparent 60%),
    linear-gradient(135deg, var(--paper) 0%, var(--paper-mid) 50%, var(--paper-deep) 100%);
  z-index: -3;
}

/* ---- Paper grain via SVG turbulence ---- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.96  0 0 0 0 0.92  0 0 0 0 0.84  0 0 0 0.16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 400px;
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -2;
  animation: grainShift 12s steps(5) infinite;
}

@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2px, 1px); }
  40% { transform: translate(1px, -2px); }
  60% { transform: translate(-1px, 2px); }
  80% { transform: translate(2px, 1px); }
}

/* ---- Faint engineering grid printed on the paper ---- */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(var(--ink-ghost) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-ghost) 1px, transparent 1px),
    linear-gradient(rgba(243,233,210,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243,233,210,0.025) 1px, transparent 1px);
  background-size:
    calc(var(--grid-size) * 5) calc(var(--grid-size) * 5),
    calc(var(--grid-size) * 5) calc(var(--grid-size) * 5),
    var(--grid-size) var(--grid-size),
    var(--grid-size) var(--grid-size);
  opacity: 0.6;
}

/* ---- Faint horizontal "fold" creases ---- */
.grid-overlay::before,
.grid-overlay::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 60px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.10) 50%, transparent 100%);
  opacity: 0.4;
}
.grid-overlay::before { top: 33vh; }
.grid-overlay::after { top: 66vh; }

/* ---- Custom crosshair cursor (drafting compass tip) ---- */
.cursor-cross {
  position: fixed;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.05s linear, opacity 0.2s;
  mix-blend-mode: screen;
}
.cursor-cross::before, .cursor-cross::after {
  content: '';
  position: absolute;
  background: var(--ink);
}
.cursor-cross::before {
  top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%);
}
.cursor-cross::after {
  left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%);
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--bp-font-display);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.95;
  color: var(--ink-strong);
  text-transform: uppercase;
}

h1 {
  font-stretch: condensed;
}

.label {
  font-family: var(--bp-font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
}

.label-accent { color: var(--stamp); }

/* ---- Layout ---- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 1;
}

/* ---- Top bar: like a printed sheet header ---- */
.topbar {
  position: fixed;
  top: 16px; left: 16px; right: 16px;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  border: 1px solid var(--ink-soft);
  background: rgba(8, 43, 77, 0.85);
  backdrop-filter: blur(2px);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

.topbar::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid var(--ink-faint);
  pointer-events: none;
}

.topbar .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.topbar .brand-mark {
  width: 32px; height: 32px;
}

.topbar nav {
  display: flex;
  gap: 36px;
}

.topbar nav a {
  color: var(--ink-soft);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
  padding: 4px 0;
}

.topbar nav a:hover { color: var(--stamp); }

.topbar nav a::before {
  content: '✕ ';
  opacity: 0;
  color: var(--stamp);
  margin-right: 4px;
  transition: opacity 0.2s;
}
.topbar nav a:hover::before { opacity: 1; }

.topbar .meta {
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.2em;
}

/* ---- Tape pieces at the corners (decorative) ---- */
.tape {
  position: fixed;
  width: 110px;
  height: 28px;
  background: rgba(243, 233, 210, 0.18);
  border: 1px dashed rgba(243, 233, 210, 0.3);
  z-index: 50;
  pointer-events: none;
  backdrop-filter: blur(1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.tape.tl { top: -10px; left: 30px; transform: rotate(-6deg); }
.tape.tr { top: -10px; right: 30px; transform: rotate(4deg); }
.tape.bl { bottom: -10px; left: 60px; transform: rotate(3deg); }
.tape.br { bottom: -10px; right: 60px; transform: rotate(-5deg); }

/* ---- Corner brackets — drawing border ---- */
.brackets {
  position: fixed;
  inset: 76px 28px 28px 28px;
  pointer-events: none;
  z-index: 5;
  border: 1px solid var(--ink-faint);
}
.brackets::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed var(--ink-ghost);
  pointer-events: none;
}
.brackets span {
  position: absolute;
  width: 24px; height: 24px;
}
.brackets span::before, .brackets span::after {
  content: '';
  position: absolute;
  background: var(--ink);
}
.brackets span::before { width: 24px; height: 1px; top: 50%; }
.brackets span::after { height: 24px; width: 1px; left: 50%; }
.brackets span:nth-child(1) { top: -1px; left: -1px; }
.brackets span:nth-child(2) { top: -1px; right: -1px; }
.brackets span:nth-child(3) { bottom: -1px; left: -1px; }
.brackets span:nth-child(4) { bottom: -1px; right: -1px; }

/* ---- Cartouche: architect's title block bottom-right ---- */
.cartouche {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 240px;
  background: rgba(8, 43, 77, 0.92);
  border: 1.5px solid var(--ink);
  font-family: var(--bp-font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 60;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.cartouche-title {
  background: var(--ink);
  color: var(--paper-deep);
  padding: 6px 12px;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.2em;
  display: flex;
  justify-content: space-between;
}
.cartouche-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cartouche-cell {
  padding: 6px 10px;
  border-top: 1px solid var(--ink-faint);
  border-right: 1px solid var(--ink-faint);
}
.cartouche-cell:nth-child(2n) { border-right: 0; }
.cartouche-cell .k { color: var(--ink-soft); display: block; font-size: 8px; }
.cartouche-cell .v { color: var(--ink); font-size: 11px; font-weight: 700; }
.cartouche-cell.full { grid-column: 1 / -1; }

@media (max-width: 1100px) {
  .cartouche { display: none; }
}

/* ---- Big diagonal "DRAFT" watermark ---- */
.watermark {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-22deg);
  font-family: var(--bp-font-display);
  font-size: clamp(8rem, 22vw, 22rem);
  color: var(--stamp);
  opacity: 0.06;
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  white-space: nowrap;
  font-weight: 900;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 60px 120px;
  position: relative;
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-bottom: 50px;
  font-size: 10px;
  color: var(--ink-soft);
  flex-wrap: wrap;
  align-items: center;
}

.hero-meta span {
  position: relative;
  padding-left: 14px;
  letter-spacing: 0.2em;
}
.hero-meta span::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--stamp);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(3.5rem, 13vw, 13rem);
  letter-spacing: 0;
  line-height: 0.85;
  margin-bottom: 50px;
  position: relative;
  font-weight: 900;
}

.hero h1 .word {
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.hero h1 .word span {
  display: inline-block;
  transform: translateY(110%);
  animation: wordRise 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 .outline {
  -webkit-text-stroke: 2px var(--ink);
  color: transparent;
  font-style: italic;
}

@keyframes wordRise {
  to { transform: translateY(0); }
}

.hero-tagline {
  max-width: 600px;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 60px;
  line-height: 1.85;
  opacity: 0;
  animation: fadeUp 1.1s ease-out 0.7s forwards;
  border-left: 2px solid var(--stamp);
  padding-left: 24px;
}

.hero-tagline strong {
  color: var(--ink-strong);
  font-weight: 700;
  background: rgba(201, 48, 44, 0.18);
  padding: 2px 6px;
  display: inline;
  box-decoration-break: clone;
}

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

.hero-cta-row {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease-out 1s forwards;
}

/* ---- Buttons: stamp-style ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--bp-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  cursor: crosshair;
  position: relative;
  transition: all 0.2s;
  font-weight: 700;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper-deep);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--stamp);
}

.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-stamp {
  border-color: var(--stamp);
  color: var(--stamp);
}
.btn-stamp:hover {
  background: var(--stamp);
  color: var(--ink-strong);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-ghost {
  border-color: var(--ink-soft);
  border-style: dashed;
  color: var(--ink-soft);
}

/* ---- Stamps ---- */
.stamp {
  display: inline-block;
  padding: 8px 16px;
  border: 2px solid var(--stamp);
  color: var(--stamp);
  font-family: var(--bp-font-display);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
  transform: rotate(-4deg);
  position: relative;
  background: rgba(201, 48, 44, 0.08);
}

.stamp::before, .stamp::after {
  content: '✕';
  position: absolute;
  font-size: 10px;
  color: var(--stamp);
  opacity: 0.6;
}
.stamp::before { top: 2px; left: 4px; }
.stamp::after { bottom: 2px; right: 4px; }

.stamp-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 2px solid var(--stamp);
  color: var(--stamp);
  font-family: var(--bp-font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(201, 48, 44, 0.1);
}

.stamp-coming-soon::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--stamp);
  border-radius: 50%;
  animation: blink 1.6s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---- Section ---- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-num {
  display: flex;
  gap: 30px;
  align-items: baseline;
  margin-bottom: 60px;
  position: relative;
  flex-wrap: wrap;
}

.section-num::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg,
    var(--ink-soft) 0px,
    var(--ink-soft) 8px,
    transparent 8px,
    transparent 14px
  );
}

.section-num .num {
  font-size: 11px;
  color: var(--stamp);
  letter-spacing: 0.25em;
  font-weight: 700;
  font-family: var(--bp-font-mono);
  text-transform: uppercase;
}

.section-num h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0;
  font-weight: 900;
}

.section-num .desc {
  margin-left: auto;
  max-width: 380px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.7;
  font-family: var(--bp-font-mono);
}

/* ---- Plate / drawing block with title ---- */
.plate {
  position: relative;
  border: 1.5px solid var(--ink);
  padding: 60px;
  margin: 80px 0;
  background: rgba(8, 43, 77, 0.45);
}

.plate::before {
  content: attr(data-label);
  position: absolute;
  top: -1px; left: -1px;
  background: var(--ink);
  color: var(--paper-deep);
  padding: 6px 18px;
  font-size: 10px;
  letter-spacing: 0.25em;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--bp-font-mono);
}

.plate::after {
  content: attr(data-rev);
  position: absolute;
  top: -1px; right: -1px;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  padding: 6px 18px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink);
  font-family: var(--bp-font-mono);
  text-transform: uppercase;
}

/* ---- Project grid ---- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1.5px solid var(--ink);
  background: var(--paper-deep);
}

.project-card {
  padding: 32px;
  position: relative;
  cursor: crosshair;
  transition: background 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  border-right: 1px dashed var(--ink-soft);
  background: transparent;
}
.project-card:last-child { border-right: 0; }

.project-card:hover {
  background: rgba(243, 233, 210, 0.04);
}

.project-card .pc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--ink-faint);
}

.project-card .pc-num {
  font-size: 10px;
  color: var(--stamp);
  letter-spacing: 0.25em;
  font-weight: 700;
}

.project-card .pc-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
  position: relative;
  padding: 12px;
  border: 1px dashed var(--ink-faint);
}

.project-card .pc-visual svg {
  max-width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.project-card:hover .pc-visual svg {
  transform: scale(1.04);
}

.project-card h3 {
  font-size: 38px;
  margin-bottom: 6px;
  letter-spacing: 0;
  font-weight: 900;
}

.project-card .pc-tag {
  font-size: 10px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 16px;
  font-weight: 700;
}

.project-card .pc-desc {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 24px;
}

.project-card .pc-link {
  font-size: 10px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--ink-faint);
  font-weight: 700;
}

.project-card .pc-link .arrow { transition: transform 0.3s; }
.project-card:hover .pc-link { color: var(--stamp); }
.project-card:hover .pc-link .arrow { transform: translateX(8px); }

/* ---- About / process ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
  margin-bottom: 24px;
  font-family: var(--bp-font-mono);
}

.about-text p::first-letter {
  font-family: var(--bp-font-display);
  font-size: 48px;
  float: left;
  line-height: 0.8;
  margin: 6px 10px 0 0;
  color: var(--stamp);
  font-weight: 900;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1.5px solid var(--ink);
  background: var(--paper-deep);
}

.stat {
  padding: 32px;
  border-right: 1px dashed var(--ink-soft);
  border-bottom: 1px dashed var(--ink-soft);
}
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }

.stat .stat-num {
  font-family: var(--bp-font-display);
  font-size: 60px;
  color: var(--stamp);
  line-height: 1;
  margin-bottom: 12px;
  font-weight: 900;
}

.stat .stat-label {
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ---- Footer ---- */
footer {
  border-top: 1.5px solid var(--ink);
  padding: 60px 60px 40px;
  margin-top: 100px;
  position: relative;
  z-index: 1;
  background: rgba(8, 43, 77, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid h4 {
  font-family: var(--bp-font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--stamp);
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-grid a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  font-size: 13px;
  transition: color 0.2s, padding-left 0.2s;
  position: relative;
}

.footer-grid a:hover {
  color: var(--stamp);
  padding-left: 16px;
}
.footer-grid a:hover::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--stamp);
}

.footer-bottom {
  max-width: 1400px;
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px dashed var(--ink-faint);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ============================================
   PROJECT PAGE STYLES
   ============================================ */

.project-hero {
  padding: 140px 60px 80px;
  position: relative;
}

.crumbs {
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 50px;
  font-weight: 700;
}
.crumbs a { color: var(--stamp); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 12px; color: var(--ink-faint); }

.project-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.project-hero h1 {
  font-size: clamp(3.5rem, 10vw, 9rem);
  letter-spacing: 0;
  line-height: 0.88;
  margin-bottom: 28px;
  font-weight: 900;
}

.project-hero .subtitle {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.85;
  font-family: var(--bp-font-mono);
}

.project-meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 50px;
  border: 1.5px solid var(--ink);
}

.project-meta-table tr { border-bottom: 1px dashed var(--ink-soft); }
.project-meta-table tr:last-child { border-bottom: 0; }

.project-meta-table td {
  padding: 12px 16px;
  border-right: 1px dashed var(--ink-soft);
}
.project-meta-table td:last-child { border-right: 0; }

.project-meta-table td:first-child {
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  width: 38%;
  font-size: 9px;
  font-weight: 700;
  background: rgba(243,233,210,0.04);
}

.project-meta-table td:last-child {
  color: var(--ink);
  font-weight: 700;
}

.project-visual-wrap {
  position: relative;
  padding: 32px;
  border: 1.5px solid var(--ink);
  background: rgba(8, 43, 77, 0.5);
}

.project-visual-wrap::before {
  content: 'FIG. 01';
  position: absolute;
  top: -1px; left: -1px;
  background: var(--ink);
  color: var(--paper-deep);
  padding: 4px 14px;
  font-size: 10px;
  letter-spacing: 0.25em;
  font-weight: 700;
  font-family: var(--bp-font-mono);
}

.project-visual-wrap::after {
  content: 'ÉCH. 1:1';
  position: absolute;
  bottom: -1px; right: -1px;
  background: var(--paper-deep);
  color: var(--ink);
  padding: 4px 14px;
  font-size: 10px;
  letter-spacing: 0.25em;
  font-weight: 700;
  font-family: var(--bp-font-mono);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

/* Features list */
.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1.5px solid var(--ink);
  background: var(--paper-deep);
  margin: 60px 0;
}

.feature {
  padding: 36px;
  position: relative;
  transition: background 0.3s;
  border-right: 1px dashed var(--ink-soft);
  border-bottom: 1px dashed var(--ink-soft);
}
.feature:nth-child(2n) { border-right: 0; }
.feature:nth-last-child(-n+2) { border-bottom: 0; }

.feature:hover { background: rgba(243, 233, 210, 0.04); }

.feature .feat-num {
  font-size: 10px;
  color: var(--stamp);
  letter-spacing: 0.25em;
  margin-bottom: 14px;
  font-weight: 700;
}

.feature h4 {
  font-family: var(--bp-font-display);
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--ink-strong);
  font-weight: 800;
}

.feature p {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.75;
}

/* Screens / mockups */
.screens-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 60px 0;
}

.screen {
  background: rgba(8, 43, 77, 0.4);
  border: 1.5px solid var(--ink);
  padding: 28px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.screen:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--stamp);
}

.screen .screen-label {
  font-size: 10px;
  color: var(--stamp);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 700;
}

.screen svg { width: 100%; height: auto; display: block; }

/* Waitlist */
.waitlist {
  margin: 80px 0;
  padding: 60px;
  border: 2px solid var(--ink);
  background: rgba(243, 233, 210, 0.04);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.waitlist::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed var(--ink-soft);
  pointer-events: none;
}

.waitlist h3 {
  font-family: var(--bp-font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
  font-weight: 900;
}

.waitlist p {
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.waitlist form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  border: 2px solid var(--ink);
}

.waitlist input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  padding: 18px 20px;
  font-family: var(--bp-font-mono);
  font-size: 13px;
}

.waitlist input::placeholder { color: var(--ink-soft); }

.waitlist button {
  background: var(--stamp);
  color: var(--ink-strong);
  border: none;
  padding: 18px 32px;
  font-family: var(--bp-font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: crosshair;
  transition: all 0.2s;
  font-weight: 700;
}

.waitlist button:hover { background: var(--ink); color: var(--paper-deep); }

.waitlist .ok-msg {
  margin-top: 20px;
  font-size: 11px;
  color: var(--stamp);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s;
  font-weight: 700;
}
.waitlist .ok-msg.show { opacity: 1; }

/* Dimension lines (decorative) */
.dim-line {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 9px;
  color: var(--ink-soft);
  letter-spacing: 0.25em;
  margin: 30px 0;
  font-weight: 700;
  text-transform: uppercase;
}

.dim-line::before, .dim-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ink-soft);
  position: relative;
}
.dim-line::before {
  background: linear-gradient(90deg, var(--ink-soft) 0%, var(--ink-soft) 100%);
}

/* end caps for dim lines using box-shadow */
.dim-line span {
  position: relative;
  padding: 0 4px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease-out, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Marquee — like a run of text on a printer */
.marquee {
  overflow: hidden;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding: 22px 0;
  margin: 80px 0;
  background: rgba(243, 233, 210, 0.04);
  position: relative;
}

.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper-deep), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--paper-deep), transparent);
}

.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-family: var(--bp-font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--ink-strong);
  letter-spacing: 0;
  font-weight: 900;
  text-transform: uppercase;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 60px;
}

.marquee-track .dot {
  width: 14px; height: 14px;
  background: var(--stamp);
  border-radius: 50%;
  flex-shrink: 0;
}

.marquee-track .outline {
  -webkit-text-stroke: 1.5px var(--ink-strong);
  color: transparent;
  font-style: italic;
}

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

/* Approval signature — handwritten feel */
.signature {
  font-family: var(--bp-font-hand);
  font-size: 32px;
  color: var(--stamp);
  transform: rotate(-4deg);
  display: inline-block;
}

/* Process steps in plate */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.process-step {
  padding: 0 28px;
  border-right: 1px dashed var(--ink-soft);
  position: relative;
}
.process-step:first-child { padding-left: 0; }
.process-step:last-child { border-right: 0; padding-right: 0; }

.process-step .step-num {
  font-family: var(--bp-font-display);
  font-size: 56px;
  color: var(--stamp);
  line-height: 1;
  margin-bottom: 20px;
  font-weight: 900;
  position: relative;
  display: inline-block;
}
.process-step .step-num::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 100%;
  margin-left: 6px;
  width: 30px;
  height: 1px;
  background: var(--stamp);
}

.process-step h4 {
  font-family: var(--bp-font-display);
  font-size: 22px;
  margin: 12px 0;
  font-weight: 800;
}

.process-step p {
  font-size: 12px;
  color: var(--ink);
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-card { border-right: 0; border-bottom: 1px dashed var(--ink-soft); }
  .project-card:last-child { border-bottom: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .project-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-list { grid-template-columns: 1fr; }
  .feature { border-right: 0; }
  .screens-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .topbar nav { display: none; }
  .topbar { padding: 10px 16px; top: 8px; left: 8px; right: 8px; }
  .container { padding: 0 24px; }
  .hero { padding: 110px 24px 80px; }
  .project-hero { padding: 110px 24px 60px; }
  .plate { padding: 28px 20px; }
  .section { padding: 60px 0; }
  .waitlist { padding: 36px 20px; }
  .section-num { flex-direction: column; gap: 12px; }
  .section-num .desc { margin-left: 0; }
  .process-grid { grid-template-columns: 1fr; gap: 28px; }
  .process-step { border-right: 0; padding: 0; border-bottom: 1px dashed var(--ink-soft); padding-bottom: 28px; }
  .brackets { display: none; }
  .tape { display: none; }
  body { cursor: auto; }
  .cursor-cross { display: none; }
  footer { padding: 40px 20px; }
}
