/* PORTFOLIO — shared stylesheet
   Fonts are centralized as CSS variables below so swapping typefaces later
   only means editing this block — nothing else in the site's CSS
   references a font name directly.

   Font (20 October 2026): Helvetica Neue LT Pro from Marlene's Adobe Fonts
   web project https://use.typekit.net/jnq5aug.css, linked in the <head> of
   every page, so the site looks the same on every device (before, it used
   whatever Helvetica the device had: Helvetica Neue on Apple devices,
   Arial or Roboto elsewhere).
   Weights, as before: 500 (65 Medium) for the name, titles, menu, years and
   Back; 400 (Regular) for the text boxes; 700 (Bold) for "KOFFER17." and
   "GlogauAIR.". The web project holds all three (plus Condensed Bold,
   not used).
   Helvetica Neue and Arial below only show if Adobe Fonts can't load. */

:root {
  --font-primary: "helvetica-neue-lt-pro", 'Helvetica Neue', Arial, sans-serif;
  --font-weight-medium: 500; /* 65 Medium */
}

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

html, body {
  width: 100%;
  height: 100%;
}

body {
  background: #000;
  overflow: hidden;
}

/* ---------- Booting / landing page ---------- */

.boot-video {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  object-fit: cover;
  object-position: center;
}

.boot-name {
  position: absolute;
  left: 50%;
  top: 59%;
  transform: translate(-50%, -50%);
  z-index: 10;

  font-family: var(--font-primary);
  font-weight: var(--font-weight-medium);
  font-size: 18pt;
  color: #ffffff;
  opacity: 0.6;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.boot-name:hover,
.boot-name:focus-visible {
  opacity: 1;
}

/* ---------- phones and tablets held upright (20 October 2026) ----------
   phone.js adds the class "rot" to <html> when a touch screen is held
   upright. The page is then drawn turned 90 degrees clockwise: it lies
   on its side and fills the screen, so visitors turn the phone. --lw and
   --lh are the page's own (sideways) width and height, set by phone.js. */

/* scrolling pages: the fixed layers turn; the document keeps scrolling,
   and an upward swipe moves the photos along */
html.rot[data-rotate="layers"] .stage,
html.rot[data-rotate="layers"] .titles,
html.rot[data-rotate="layers"] .fixed-type {
  inset: auto;
  top: 0;
  left: 0;
  width: var(--lw);
  height: var(--lh);
  transform-origin: 0 0;
  transform: translateX(var(--lh)) rotate(90deg);
}

/* one-screen pages (homepage, contact): the whole page turns */
html.rot[data-rotate="body"] body {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--lw);
  height: var(--lh);
  overflow: hidden;
  transform-origin: 0 0;
  transform: translateX(var(--lh)) rotate(90deg);
}
html.rot[data-rotate="body"] .boot-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
