/* Briedo pause page, V2: one screen over the founder's wave photograph.
   Tokens come from src/styles/variables.css (navy ink, warm paper, brand blue,
   Instrument Serif display, IBM Plex Sans text). Fonts and the photograph are
   served from this origin; the page has no JavaScript and makes no third-party
   request. The desktop layout fits one viewport; smaller screens, zoom and large
   text simply scroll. */

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-latin.woff2') format('woff2');
}

:root {
  --color-navy: #0F1923;
  --color-deep: #0B2A44;
  --color-paper: #F8F7F4;
  --color-ink-soft: #26313D;
  --color-muted: #5B6370;
  --color-line: #E2E0D9;
  --color-blue: #2873AA;
  --color-blue-brand: #60B2E5;
  --color-blue-brand-hover: #4FA3DB;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--color-deep);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* The photograph covers the whole page (not just the first screen), under a
   restrained navy wash that keeps white text above 4.5:1 on the brightest foam. */
.backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
body::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Deeper on the left, where the headline sits, and along the bottom for the
     footer; lighter on the right so the wave itself stays visible. */
  background:
    linear-gradient(180deg, rgba(8, 28, 46, 0) 55%, rgba(8, 28, 46, 0.78) 100%),
    linear-gradient(90deg, rgba(11, 42, 68, 0.84) 0%, rgba(11, 42, 68, 0.68) 48%, rgba(11, 42, 68, 0.30) 100%);
}
@media (max-width: 900px) {
  body::before {
    background: linear-gradient(180deg, rgba(11, 42, 68, 0.74) 0%, rgba(11, 42, 68, 0.6) 50%, rgba(8, 28, 46, 0.8) 100%);
  }
}

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 4px;
}
.panel :focus-visible { outline-color: var(--color-blue); }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 10px 14px;
  background: #fff;
  color: var(--color-navy);
  border-radius: 6px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── One screen: header, centred content, footer ─────────────────────────── */
.screen {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: clamp(16px, 3.2vh, 32px);
}
.brand { display: inline-flex; border-radius: 4px; }
.brand img { display: block; width: 104px; height: auto; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(8, 28, 46, 0.86);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-blue-brand);
}

.main {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 4.4vh, 48px);
  padding-block: clamp(4px, 1.5vh, 20px);
}

h1 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, min(6.2vw, 10vh), 5.75rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.lede {
  max-width: 46ch;
  margin: clamp(10px, 1.8vh, 18px) 0 0;
  font-size: clamp(1.0625rem, min(1.6vw, 2.8vh), 1.375rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

/* ── The two panels ─────────────────────────────────────────────────────── */
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}

.panel {
  padding: clamp(18px, 3vh, 30px) clamp(20px, 2.4vw, 32px);
  border-radius: 14px;
  background: rgba(248, 247, 244, 0.96);
  box-shadow: 0 24px 60px -28px rgba(3, 14, 26, 0.6);
  color: var(--color-navy);
}
.panel__title {
  margin: 0 0 clamp(12px, 2vh, 18px);
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, min(2.1vw, 3.6vh), 1.875rem);
  font-weight: 400;
  line-height: 1.15;
}
.panel p {
  margin: 0 0 10px;
  font-size: 0.96875rem;
  color: var(--color-ink-soft);
}

/* What Briedo was built to do: three stages joined by arrows. */
.flow {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow__step {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 10px 16px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: #fff;
}
.flow__step + .flow__step { margin-top: clamp(22px, 3.4vh, 28px); }
.flow__step + .flow__step::before {
  content: '';
  position: absolute;
  left: 27px;
  top: calc(-1 * clamp(22px, 3.4vh, 28px) + 3px);
  width: 2px;
  height: calc(clamp(22px, 3.4vh, 28px) - 10px);
  background: var(--color-blue);
}
.flow__step + .flow__step::after {
  content: '';
  position: absolute;
  left: 23px;
  top: -8px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--color-blue);
}
.flow__label { font-size: 0.96875rem; font-weight: 500; line-height: 1.35; }
.flow__detail { font-size: 0.84375rem; line-height: 1.45; color: var(--color-muted); }

.flow__step--core {
  border-color: var(--color-deep);
  background: var(--color-deep);
  color: #fff;
}
.flow__step--core .flow__detail { color: rgba(255, 255, 255, 0.86); }

/* The invitation and its one call to action. */
.cta-row { margin-top: clamp(14px, 2.4vh, 22px) !important; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid var(--color-blue-brand);
  border-radius: 9px;
  background: var(--color-blue-brand);
  color: var(--color-navy);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}
.cta:hover {
  border-color: var(--color-blue-brand-hover);
  background: var(--color-blue-brand-hover);
}
.cta__arrow { font-size: 1.1em; }
.panel .addresses {
  margin: 10px 0 0;
  font-size: 0.84375rem;
  color: var(--color-muted);
}
.addresses a { color: var(--color-blue); }

@media (prefers-reduced-motion: no-preference) {
  .cta { transition: background 0.18s var(--ease), transform 0.18s var(--ease); }
  .cta:hover { transform: translateY(-1px); }
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
  padding-block: clamp(12px, 2.6vh, 24px);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.84375rem;
  color: rgba(255, 255, 255, 0.9);
}
.bottom p { margin: 0; }
.bottom__line {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: #fff;
}

/* ── Smaller screens: stack, and let the page scroll ─────────────────────── */
@media (max-width: 900px) {
  .columns { grid-template-columns: minmax(0, 1fr); }
  .main { justify-content: flex-start; padding-block: 12px 28px; }
  h1 { font-size: clamp(2.375rem, 9.5vw, 4rem); }
  .lede { font-size: 1.125rem; }
}
@media (max-width: 520px) {
  .status { padding: 6px 10px; font-size: 0.6875rem; letter-spacing: 0.06em; }
  .panel { padding: 18px; }
  .cta { width: 100%; justify-content: space-between; }
}
