@font-face {
  font-family: "Geist";
  src: url("./assets/geist-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --canvas: #fff;
  --text: #000;
  --border: #e9e9e9;
  --muted: #686868;
  font-family: "Geist", sans-serif;
  font-synthesis: none;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { background: var(--canvas); scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--canvas); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.site-shell { display: grid; grid-template-columns: 320px minmax(0, 1fr); align-items: start; min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; height: 100dvh; min-height: 0; border-right: 1px solid var(--border); background: #fff; }
.sidebar-inner { display: flex; flex-direction: column; height: 100%; padding: 0 40px; overflow-y: auto; }
.sidebar-inner > * { flex-shrink: 0; }
.intro { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 56px 0 24px; }
.intro h1 { max-width: 239px; margin: 0; font-size: 30px; font-weight: 560; line-height: 1.267; letter-spacing: -.035em; }
.intro p, .status-item > p:not(.eyebrow) { width: 100%; max-width: 239px; margin: 0; font-size: 14px; line-height: 23px; }
.button { display: inline-flex; align-items: center; min-height: 32px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; font-size: 12px; transition: transform 180ms ease, box-shadow 180ms ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(0,0,0,.08); }
.button:focus-visible, .social-links a:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.status { display: flex; flex-direction: column; gap: 20px; padding: 24px 0; border-top: 1px solid var(--border); }
.status-item { display: flex; flex-direction: column; gap: 2px; opacity: .72; }
.status-item strong { font-weight: 580; }
.eyebrow { margin: 0; font-size: 12px; line-height: 16px; }
.sidebar-footer { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding: 40px 0; border-top: 1px solid var(--border); font-size: 11px; line-height: 16px; opacity: .72; }
.sidebar-footer p { margin: 0; }
.sidebar-footer .site-credit { grid-column: 1 / -1; text-align: left; justify-self: start; }
#lisbon-status { min-block-size: 0; font-variant-numeric: tabular-nums; }
.social-links { display: flex; gap: 12px; font-size: 12px; }
.social-links a:hover { opacity: .55; }

.projects { display: flex; flex-direction: column; gap: 72px; min-width: 0; padding: 24px 24px 80px; }
.project-card { display: flex; flex-direction: column; width: 100%; animation: card-arrive 700ms cubic-bezier(.16,1,.3,1) both; }
.project-card:nth-child(2) { animation-delay: 70ms; }
.project-card:nth-child(3) { animation-delay: 140ms; }
.project-card:nth-child(4) { animation-delay: 210ms; }
.project-media { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: var(--border); }
.project-media img, .project-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.16,1,.3,1); }
.project-card:hover .project-media img, .project-card:hover .project-media video { transform: scale(1.025); }
.project-card:focus-visible { outline: 0; }
.project-card:focus-visible .project-media { outline: 2px solid #000; outline-offset: 4px; }
.project-content { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 4px 0; }
.project-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.project-title-row h2 { margin: 0; font-size: clamp(22px,2vw,28px); font-weight: 560; line-height: 1.1; letter-spacing: -.035em; }
.project-tag { display: inline-flex; align-items: center; padding: 4px 10px; border: 1px solid #e6e6e6; border-radius: 4px; background: #f2f2f2; font-size: 11px; font-weight: 500; color: #555; line-height: 1.4; white-space: nowrap; }
.project-description { max-width: 650px; margin: 0; font-size: 14px; line-height: 22px; }
.project-content .result { margin: -4px 0 0; font-size: 12px; font-weight: 580; line-height: 18px; }

.project-media-placeholder { display: grid; place-items: center; isolation: isolate; background: #f7f7f7; }
.placeholder-word { position: relative; z-index: 2; font-size: clamp(42px,9vw,110px); font-weight: 620; letter-spacing: -.08em; }
.orb { position: absolute; border-radius: 50%; filter: blur(54px); opacity: .72; }
.orb-a { width: 32%; aspect-ratio: 1; left: 19%; top: 7%; background: #ff27ef; }
.orb-b { width: 28%; aspect-ratio: 1; right: 22%; bottom: 4%; background: #6541ff; }
.orb-c { width: 22%; aspect-ratio: 1; left: 43%; top: 38%; background: #060606; }
.warranty-visual { align-content: center; justify-items: center; gap: 16px; background: #e9e9e9; }
.checkout-visual { grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(8px,2vw,24px); padding:clamp(30px,8vw,100px); background:#000; }
.checkout-panel { width:100%; height:76%; border:1px solid #fff; border-radius:18px; background:linear-gradient(#fff 0 16%,#e9e9e9 16% 17%,#fff 17% 36%,#e9e9e9 36% 38%,#fff 38% 72%,#000 72% 80%,#fff 80%); }
.panel-a { transform:translateY(5%); }
.panel-b { transform:translateY(-4%); }
.panel-c { transform:translateY(3%); }
.vehicle-line { width: min(52%,520px); height: 130px; border: 2px solid #000; border-radius: 80px 80px 26px 26px; box-shadow: inset 0 -26px 0 #fff; }
.status-chip { padding: 9px 14px; border: 1px solid #000; border-radius: 999px; background: #fff; font-size: 13px; }
.date-line { font-size: clamp(20px,3vw,34px); font-weight: 560; letter-spacing: -.04em; }

@keyframes card-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (min-width:1280px) { .site-shell { grid-template-columns:360px minmax(0,1fr); } .sidebar-inner { padding-inline:56px; } .intro h1,.intro p,.status-item>p:not(.eyebrow){max-width:248px;} }
@media (max-width:980px) {
  .site-shell { display:block; }
  .sidebar { position:relative; height:auto; min-height:0; border-right:0; }
  .sidebar-inner { height:auto; padding:0 28px; overflow:visible; }
  .intro { padding-top:48px; }
  .intro h1,.intro p,.status-item>p:not(.eyebrow){max-width:520px;}
  .status { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sidebar-footer { display:grid; grid-template-columns:1fr auto; align-items:end; margin-top:0; padding:24px 0 32px; }
  .sidebar-footer p:first-of-type { grid-column:1/-1; }
  .site-shell > .sidebar-footer { margin-inline:28px; }
}
@media (max-width:560px) {
  .sidebar-inner { padding:0 20px; }
  .intro { gap:20px; padding-top:36px; }
  .intro h1 { max-width:330px; font-size:28px; line-height:35px; }
  .status { grid-template-columns:1fr; }
  .sidebar-footer { display:flex; align-items:flex-start; }
  .site-shell > .sidebar-footer { margin-inline:20px; }
  .projects { gap:52px; padding:12px 12px 56px; }
  .project-media { aspect-ratio:4/3; }
  .project-content { padding:16px 4px 0; }
  .vehicle-line { width:68%; height:86px; }
}
@media (prefers-reduced-motion:reduce) { html{scroll-behavior:auto;} *,::before,::after{transition-duration:.01ms!important;animation-duration:.01ms!important;} }
