/* ============================================================
   CLASSIC FUTURE — classicfuture.com
   Hand-written rebuild of the original page. Owned code.
   Measured against the original export: one fluid centered
   column (max 510px incl. 20px side padding), 12px rhythm.
   ============================================================ */

/* ── Fonts ─────────────────────────────────────────────────── */
@font-face {
  font-family: "TWK Lausanne";
  src: url("/assets/media/assets/cDnUf04llObUxq9kUF9DS7Dn0.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TWK Lausanne";
  src: url("/assets/media/assets/4fUOEx0iMB2LIsziUnZvG3phKWk.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TWK Lausanne";
  src: url("/assets/media/assets/vt2HHezDYXdnqpr9K7j4KLxvPek.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Courier New Bold";
  src: url("/assets/media/assets/01grQv3DvwL2YSIUpku1GSh7xM.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ────────────────────────────────────────────────── */
:root {
  --bg: rgb(247, 247, 248);
  --card: rgb(255, 255, 255);
  --ink: rgb(0, 0, 0);
  --ink-soft: rgb(54, 54, 54);
  --muted: rgb(135, 135, 140);
  --muted-2: rgb(130, 130, 135);
  --line: rgb(236, 236, 238);
  --thumb-bg: rgb(231, 231, 233);
  --field-bg: rgba(187, 187, 187, 0.15);
  --field-bg-2: rgb(247, 247, 248);
  --news-bg: rgb(240, 245, 223);
  --news-btn: rgb(22, 28, 0);
  --accent: rgb(0, 153, 255);
  --black-card: rgb(10, 10, 10);

  --radius: 24px;
  --radius-thumb: 13px;
  --radius-btn: 12px;

  --font-sans: "TWK Lausanne", -apple-system, system-ui, sans-serif;
  --font-mono: "Courier New Bold", "Courier New", monospace;

  --text-m: 14.4px;   /* body */
  --text-s: 13.4px;   /* bylines */
  --lh: 1.3;

  --shadow-card:
    0.301094px 0.301094px 0.596135px -1.41667px rgba(0, 0, 0, 0.2),
    1.14427px 1.14427px 2.26553px -2.83333px rgba(0, 0, 0, 0.17),
    5px 5px 9.8995px -4.25px rgba(0, 0, 0, 0.04);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Base ──────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-m);
  line-height: var(--lh);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }

/* ── Page column ───────────────────────────────────────────── */
.stack {
  max-width: 510px;
  margin: 0 auto;
  padding: 60px 20px 198px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.stack > * { width: 100%; }

/* ── Appear-on-scroll (spring-like, matches the original) ──── */
.appear {
  opacity: 0.001;
  transform: translateY(50px);
}
.appear.appear-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms ease-out 100ms, transform 800ms var(--ease-out) 100ms;
}
@media (prefers-reduced-motion: reduce) {
  .appear { opacity: 1; transform: none; }
}

/* ── Wordmark ──────────────────────────────────────────────── */
.wordmark { width: 250px; height: 18px; align-self: center; }
.wordmark-spacer { height: 30px; width: 90px; align-self: center; }

/* ── Cards (shared) ────────────────────────────────────────── */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* ── Manifesto ─────────────────────────────────────────────── */
.manifesto {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.manifesto-intro {
  font-weight: 500;
  text-align: center;
  color: var(--ink);
}
.manifesto-intro a { color: var(--ink-soft); text-decoration: underline; }
.manifesto-divider { width: 100%; height: 1px; background: var(--line); margin: 24px 0 20px; }
.manifesto-body { display: flex; flex-direction: column; }
.manifesto-body p { color: var(--muted); }
.manifesto-body p + p { margin-top: 10px; }

/* ── Venture cards ─────────────────────────────────────────── */
.venture {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: var(--radius);
}
.venture-bg {
  position: absolute;
  inset: 4px;
  background: var(--thumb-bg);
  border-radius: var(--radius);
}
.venture-inner {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 300ms var(--ease-out);
}
.venture:hover .venture-inner { transform: translate(2px, -2px); }
.venture-thumb {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-thumb);
  object-fit: cover;
  background: var(--thumb-bg);
  flex: 0 0 auto;
}
.venture-text { min-width: 0; }
.venture-title {
  font-size: var(--text-m);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.venture-byline {
  font-size: var(--text-s);
  font-weight: 300;
  color: var(--muted-2);
}

/* ── Gallery carousel ──────────────────────────────────────── */
.gallery {
  position: relative;
  width: 100%;
  height: 588px;
  overflow: hidden;
  user-select: none;
}
.gallery-track {
  display: flex;
  height: 100%;
  gap: 0; /* slides touch — each image carries its own radius */
  will-change: transform;
}
.gallery-track.anim {
  transition: transform 950ms var(--ease-out);
}
.gallery-slide {
  flex: 0 0 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--thumb-bg);
  transform: translateZ(0);
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-arrow img { width: 24px; height: 24px; }
.gallery-arrow.prev { left: 2px; }
.gallery-arrow.next { right: 2px; }
.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
}
.dot { padding: 4px 3px; display: flex; }
.dot i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
  transition: opacity 300ms ease, transform 300ms ease;
}
.dot.on i { opacity: 1; transform: scale(1.25); }

/* ── TWK Lausanne card (between gallery and Connection) ────── */
.twk {
  background: var(--twk-bg, var(--black-card));
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow-card);
}
.twk-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--twk-bg, var(--black-card));
}
.twk-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1100ms ease;
}
.twk-slider img.on { opacity: 1; }
.twk-slider .gallery-dots { bottom: 12px; }
.twk-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  text-align: center;
}
.twk-text {
  font-size: 10px;
  font-weight: 300;
  color: var(--muted);
  max-width: 320px;
}
.twk-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 22px;
  background: var(--twk-btn-bg, #fff);
  color: var(--twk-btn-fg, var(--ink));
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  transition: opacity 200ms ease;
}
.twk-btn:hover { opacity: 0.85; }

/* ── Newsletter (CONNECTION) ───────────────────────────────── */
.newsletter {
  background: var(--news-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.newsletter-logo { width: 190px; height: 80px; margin: 14px 0 30px; }
.newsletter-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: -0.3px; /* original value, kept for fidelity */
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
}
.newsletter-text .conn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
}
.newsletter-cta { padding: 20px; }
.btn-block {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 40px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  transition: opacity 200ms ease;
}
.btn-block:hover { opacity: 0.85; }
.newsletter-cta .btn-block { background: var(--news-btn); }

/* ── Contact ───────────────────────────────────────────────── */
.contact {
  padding: 38px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.contact-heading { color: var(--muted); text-align: center; }
.contact form {
  width: 320px;
  max-width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact input,
.contact textarea {
  width: 280px;
  max-width: 100%;
  padding: 12px;
  border: none;
  border-radius: var(--radius-btn);
  background: var(--field-bg);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.contact textarea {
  height: 100px;
  background: var(--field-bg-2);
  resize: none;
}
.contact input::placeholder,
.contact textarea::placeholder { color: var(--muted); }
.contact .btn-block { background: var(--ink); font-weight: 600; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer p { color: var(--muted); }
.footer-divider { width: 100%; height: 1px; background: var(--line); }
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-btn);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease;
}
.footer-social a:hover { background: var(--thumb-bg); }
.footer-social svg { height: 18px; width: auto; fill: var(--ink); }
.footer-social img { height: 14px; width: auto; }
