/* IVM Live concept pages (concepts.ivmlive.com). Simple luxury: black, ink, one red used sparingly, Inter Tight
   self-hosted, generous room, no monospace. Mobile first; wider screens add columns and scale. */

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(fonts/inter-tight-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: italic;
  font-weight: 600 900;
  font-display: swap;
  src: url(fonts/inter-tight-latin-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #070707;
  --bg-2: #0d0d0d;
  --ink: #f4f4f4;
  --ink-2: rgba(244, 244, 244, 0.72);
  --ink-3: rgba(244, 244, 244, 0.52);
  --line: rgba(244, 244, 244, 0.13);
  --red: #e4131c;
  --red-deep: #c50f17;
  --gutter: clamp(20px, 5.2vw, 72px);
  --max: 1240px;
  --bar: 64px;
  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: var(--bar); }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 40; }
.skip:focus { left: 16px; background: var(--ink); color: var(--bg); padding: 8px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.nowrap { white-space: nowrap; }

/* ---------- the bar: logo and the sticky booking pill ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--bar);
  background: rgba(7, 7, 7, 0.8);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(244, 244, 244, 0.07);
}
.bar-in {
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.pill, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.pill { min-height: 42px; padding: 0 18px; font-size: 15px; }
.pill:hover, .btn:hover { background: var(--red-deep); }
.pill:active, .btn:active { transform: scale(0.98); }

/* ---------- hero: the render, whole and uncropped, with its label ---------- */
.hero-media { margin: 0; background: var(--bg); }
.hero-media img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - var(--bar) - 64px);
  max-height: calc(100svh - var(--bar) - 64px);
  object-fit: contain;
  margin: 0 auto;
}
.label {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter) 0;
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}
.label strong { font-weight: 600; color: var(--ink-2); }
.label::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--red);
}
.hero-copy { padding-top: clamp(48px, 9vw, 128px); padding-bottom: clamp(64px, 10vw, 144px); }
.eyebrow {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.55rem, 8.2vw, 7.25rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 700;
  text-wrap: balance;
}
.scroll {
  margin-top: clamp(40px, 6vw, 72px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.scroll .ring {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.2s ease;
}
.scroll:hover .ring { border-color: var(--ink-2); }
.scroll svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 12vw, 168px) 0; border-top: 1px solid var(--line); }
h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.1rem, 6vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.lead { margin: 24px 0 0; max-width: 36em; font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--ink-2); }

/* the idea in three lines */
.lines { margin: clamp(40px, 6vw, 72px) 0 0; }
.line { display: grid; gap: 8px; padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--line); }
.line:last-child { border-bottom: 1px solid var(--line); }
.line dt { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.line dd {
  margin: 0;
  max-width: 30em;
  font-size: clamp(1.35rem, 3.2vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 500;
  text-wrap: pretty;
}

/* why now */
.why {
  margin: clamp(28px, 4vw, 44px) 0 0;
  max-width: 24em;
  font-size: clamp(1.45rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.022em;
  font-weight: 500;
  text-wrap: pretty;
}
.signal { margin: clamp(36px, 5vw, 56px) 0 0; padding: 2px 0 2px 22px; border-left: 2px solid var(--red); max-width: 44em; }
.signal blockquote { margin: 0; font-style: italic; font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.4; }
.signal .sig { margin: 0; font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.45; }
.signal .src { margin: 12px 0 0; font-size: 14px; color: var(--ink-3); }

/* proof */
.cases { display: grid; gap: clamp(80px, 11vw, 150px); margin-top: clamp(56px, 8vw, 112px); }
.case-media { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #000; }
.case-media img, .case-media video { width: 100%; height: 100%; object-fit: cover; }
.case-copy { display: grid; gap: 14px; margin-top: clamp(24px, 3vw, 40px); }
h3 { margin: 0; font-size: clamp(1.75rem, 3.6vw, 2.9rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; }
.case-meta { margin: 12px 0 0; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.case-text { margin: 0; max-width: 34em; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); }
.strip {
  list-style: none;
  margin: clamp(20px, 2.6vw, 30px) calc(var(--gutter) * -1) 0;
  padding: 0 var(--gutter);
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar { display: none; }
.strip li { flex: 0 0 76%; scroll-snap-align: start; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #000; }
.strip img { width: 100%; height: 100%; object-fit: cover; }

/* films: the browser's controls until tapped, then they come back */
.film-play {
  display: none;
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88px;
  height: 88px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(7, 7, 7, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.js .film-play { display: flex; }
.film-play:hover { transform: scale(1.06); background: rgba(7, 7, 7, 0.6); }
.film-play svg { width: 30px; height: 30px; margin-left: 5px; fill: currentColor; }
.js .film.playing .film-play { display: none; }

/* Created. Crafted. Built. Delivered. */
.process { padding: clamp(96px, 14vw, 210px) 0; border-top: 1px solid var(--line); overflow: hidden; }
.process p {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: clamp(3rem, 14vw, 9.5rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.process i { font-style: normal; color: var(--red); }

/* the ask */
.cta { padding: clamp(96px, 13vw, 184px) 0; border-top: 1px solid var(--line); text-align: center; }
.cta h2 { margin: 0 auto; }
.cta .lead { margin: 24px auto 0; }
.btn { margin-top: 44px; min-height: 58px; padding: 0 32px; font-size: 17px; }
.or { margin: 20px 0 0; font-size: 15px; color: var(--ink-3); }
.sign { margin: 56px 0 0; font-size: 15px; color: var(--ink-2); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 calc(56px + env(safe-area-inset-bottom)); }
.foot .brand img { height: 24px; margin-bottom: 28px; }
.foot p { margin: 0 0 10px; max-width: 62em; font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.foot a { color: var(--ink-2); text-underline-offset: 3px; }

/* the home page (says nothing about any prospect) */
.home-main { min-height: calc(100vh - var(--bar)); min-height: calc(100svh - var(--bar)); display: grid; align-content: center; padding: 80px 0; }
.home-main .btn { margin-top: 48px; }

@media (min-width: 760px) {
  .strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-left: 0; margin-right: 0; padding: 0; overflow: visible; }
  .label { font-size: 14px; }
}
@media (min-width: 900px) {
  body { font-size: 18px; }
  .line { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: baseline; }
  .case-copy { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
  .case-text { padding-top: 6px; }
}
@media (max-width: 380px) {
  .pill { padding: 0 14px; font-size: 14px; }
  .brand img { height: 26px; }
}
