:root {
  --bg: #000;
  --fg: #fff;
  --brand: 'Antonio', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --footer: 'Nothing You Could Do', cursive;

  --gap: clamp(16px, 3vw, 32px);
  --logo: clamp(220px, 28vw, 440px);
  --h1: clamp(24px, 5vw, 52px);
  --sub: clamp(12px, 1.8vw, 18px);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--brand);
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #444;
  color: #fff;
  padding: .5rem .75rem;
  border-radius: 6px;
  text-decoration: none;
  z-index: 10;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ===== Desktop / default layout (grid, vertical divider) ===== */
main {
  flex: 1;
  display: grid;
  place-items: center;
  grid-template-columns: 1fr 2px 1fr;
  gap: 0;
  padding: clamp(24px, 5vw, 56px) var(--gap) 96px;
}

.pane {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pane a {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
}

.brandmark {
  width: var(--logo);
  height: auto;
  display: block;
  transition: transform 0.2s ease;
}
.pane a:hover .brandmark { transform: scale(1.02); }

.brand {
  margin: 0;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.brand .top { display: block; font-weight: 700; font-size: var(--h1); }
.brand .sub { display: block; font-weight: 700; font-size: var(--sub); letter-spacing: .14em; opacity: .9; }

/* Divider (vertical by default) */
.divider {
  width: 2px;
  height: min(72vh, 720px);
  min-height: 260px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    rgba(255,255,255,0.6),
    rgba(255,255,255,0)
  );
}

/* Footer */
footer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  text-align: center;
  font-family: var(--footer);
  font-size: clamp(16px, 2.2vw, 22px);
  padding: 10px 12px;
  background: transparent;
  color: var(--fg);
  pointer-events: none;
}

/* ===== Mobile PORTRAIT: centered stack + horizontal divider ===== */
@media (max-width: 900px) and (orientation: portrait) {
  main {
    display: flex;               /* center the whole stack */
    flex-direction: column;
    justify-content: center;     /* vertical center */
    align-items: center;         /* horizontal center */
    gap: clamp(14px, 4vh, 24px);
    padding: clamp(16px, 5vh, 36px) var(--gap) 80px;
    min-height: calc(100svh - 56px); /* account for footer */
  }

  /* Fit both logos comfortably using the shorter side of the screen */
  .brandmark { width: clamp(160px, 42vmin, 320px); }

  /* Slightly smaller type on very small screens */
  :root {
    --h1: clamp(20px, 5.5vmin, 40px);
    --sub: clamp(11px, 2.8vmin, 16px);
  }

  .divider {
    width: 60%;
    height: 2px;
    min-height: 0;               /* override desktop min-height */
    background: linear-gradient(
      to right,
      rgba(255,255,255,0),
      rgba(255,255,255,0.6),
      rgba(255,255,255,0)
    );
  }
}

/* ===== Mobile LANDSCAPE: centered row + vertical divider ===== */
@media (max-width: 900px) and (orientation: landscape) {
  main {
    display: flex;
    flex-direction: row;         /* side-by-side */
    justify-content: center;     /* horizontal center */
    align-items: center;         /* vertical center */
    gap: clamp(14px, 4vw, 24px);
    padding: clamp(10px, 4vh, 20px) var(--gap) 72px;
    min-height: calc(100svh - 56px);
  }

  /* Use vmin so sizing respects the shorter side (height) */
  .brandmark { width: clamp(120px, 28vmin, 240px); }

  :root {
    --h1: clamp(18px, 4.5vmin, 34px);
    --sub: clamp(10px, 2.4vmin, 14px);
  }

  .divider {
    width: 2px;
    height: 60%;
    min-height: 0;
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0),
      rgba(255,255,255,0.6),
      rgba(255,255,255,0)
    );
  }
}
