/* The investor portal's styles: the sign-in page, the portal, the team page and the "not found"
   page. They are the company site's own rules for these pages, as they stood when the portal
   left that site in December 2026, and nothing of its other pages. */

@font-face {
  font-family: "Inter Tight";
  src: url("fonts/InterTight.woff2") format("woff2");
  font-weight: 200 600;
  font-display: swap;
}

:root {
  color-scheme: light;

  --white: #ffffff;
  --black: #000000;
  --ink: oklch(0.24 0.055 262);
  --ink-2: oklch(0.46 0.03 262);
  --line: oklch(0.24 0.055 262 / 0.16);
  --on-dark-2: oklch(1 0 0 / 0.72);

  --sans: "Inter Tight", system-ui, sans-serif;

  --gutter: 2rem;
  --header-height: 3.75rem;
  --section-gap: clamp(5rem, 11vw, 10.5rem);
  --heading-gap: clamp(2rem, 4.2vw, 4rem);
  --logo-mark: 2.25rem;
  --column: min(calc(100vw - var(--gutter) * 2), 73.5rem);
  --hero-title-size: 2.625rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

html { font-size: 100%; }

/* No scrollbar gutter: a classic scrollbar drew a white strip down the right edge of the black
   sign-in page. The page still scrolls by wheel, trackpad, keys and touch. */

html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul { margin: 0; padding: 0; font-weight: inherit; }
ul { list-style: none; }

/* 100vw includes a classic scrollbar and 100% does not, so this centres the column in
   the whole window while the black bar still runs edge to edge. */
.column {
  width: var(--column);
  margin-left: calc((100vw - var(--column)) / 2);
  margin-right: 0;
}

.site-footer :focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -60px;
  z-index: 20;
  padding: 0.625rem 0.875rem;
  background: var(--white);
  color: var(--ink);
  font-size: 0.9375rem;
}

.skip-link:focus { top: 0.5rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line); /* a shadow, so the header keeps its exact height */
}

/* The row sits low in the bar: the logo rests on the bottom padding, and every link's baseline
   lands on the baseline of the "conifer" wordmark. */
.site-header-inner {
  display: flex;
  align-items: flex-end;
  gap: 3.5rem;
  height: var(--header-height);
  padding-bottom: 0.875rem;
}
@media (min-width: 1100px) {
  :root { --row: min(calc(100vw - 3.75rem), 83.333333rem); }
  .site-header-inner { width: var(--row); margin-left: calc((100vw - var(--row)) / 2); }
}

.site-nav { display: flex; gap: 2rem; }

.site-nav a {
  display: inline-flex;
  align-items: flex-end;
  min-height: 2.75rem;
  padding-bottom: 0.5rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
}

.site-nav a:hover { text-decoration: underline; text-underline-offset: 0.375rem; text-decoration-thickness: 1px; }

/* Logo lockup: every proportion is scaled from --logo-mark. */
.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: calc(var(--logo-mark) * 20 / 95.04);
  color: var(--ink);
  text-decoration: none;
}

.logo-on-dark { color: var(--white); }

.logo-mark {
  display: block;
  flex: 0 0 auto;
  width: var(--logo-mark);
  height: var(--logo-mark);
}

.logo-rule {
  flex: 0 0 auto;
  width: 1px;
  height: calc(var(--logo-mark) * 2 / 3);
  background: currentColor;
  opacity: 0.45;
}

.logo-word {
  font-size: calc(var(--logo-mark) * 72 / 95.04);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 0.9;
}

.site-header .logo { margin-left: calc(var(--logo-mark) * -0.047); } /* optical: the outer scales sit inside their box */

h1 {
  font-size: var(--hero-title-size);
  font-weight: 400;
  letter-spacing: -0.016em;
  line-height: 1.14;
  text-wrap: balance;
}

/* Footer: a full-width black band, closing the page the way the product bar opens it */
.site-footer { background: var(--black); color: var(--white); }

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  font-size: 0.875rem;
}

.site-footer-inner p { color: var(--on-dark-2); }

@media (max-width: 809px) {
  :root { --gutter: 1.25rem; --header-height: 4rem; --logo-mark: 1.875rem; }
  .site-header-inner { gap: 1.25rem; }

  h1 { font-size: clamp(1.5rem, 7.4vw, 2.125rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* The portal and the team page */
.page-head { padding-block: clamp(4rem, 8vw, 7.5rem) var(--heading-gap); }
.page-head h1 { max-width: 20em; color: var(--ink); font-size: clamp(2.375rem, 5vw, 4.5rem); letter-spacing: -0.028em; line-height: 1.05; }
.page-line a { color: inherit; text-underline-offset: 0.1875rem; text-decoration-thickness: 1px; }
.page-line { max-width: 34em; margin-top: 1.25rem; color: var(--ink-2); font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.4; }
.dark-pill { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: 1.75rem; padding-inline: 1.375rem; border-radius: 62.4375rem; background: var(--ink); color: var(--white); font-size: 1rem; font-weight: 500; text-decoration: none; }
.dark-pill:hover { background: oklch(0.33 0.06 262); }
.block { padding-block: 0 clamp(3.5rem, 7vw, 7rem); }
.block:last-of-type { padding-bottom: var(--section-gap); }
.block > h2 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); font-weight: 400; letter-spacing: -0.02em; }
.block-line { max-width: 44em; margin-top: 1.125rem; font-size: 1.125rem; line-height: 1.45; }
.block a { color: inherit; text-underline-offset: 0.1875rem; text-decoration-thickness: 1px; }
.page-head h1 + .page-line { margin-top: 1.25rem; }

/* Short pages: the footer sits at the bottom of the window. */
body { display: flex; flex-direction: column; min-height: 100dvh; }
main { flex: 1 0 auto; }

/* One row while it fits; on phones, two rows, so every item stays visible. */
.site-nav-right { margin-left: auto; }
@media (max-width: 899px) {
  .site-header-inner { gap: 1.5rem; }
  .site-nav { gap: 1.25rem; }
  .site-nav a, .nav-dropdown summary { font-size: 0.9375rem; }
}
@media (max-width: 679px) {
  .site-header-inner { flex-wrap: wrap; gap: 0 0.75rem; height: auto; padding-block: 0.5rem 0.25rem; }
  .site-nav-right { gap: 0.875rem; }
  .site-nav-left { order: 3; flex-basis: 100%; gap: 1.25rem; }
  .site-nav a, .nav-dropdown summary { min-height: 2.25rem; }
}
@media (max-width: 379px) {
  .site-header .logo-rule, .site-header .logo-word { display: none; }
}

/* Products dropdown */
.nav-dropdown { position: relative; display: inline-flex; }
.nav-dropdown summary { display: inline-flex; align-items: flex-end; gap: 0.375rem; min-height: 2.75rem; padding-bottom: 0.5rem; color: var(--ink); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.01em; line-height: 1; cursor: pointer; list-style: none; }
.nav-dropdown summary svg { margin-bottom: 0.3em; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary:hover { text-decoration: underline; text-underline-offset: 0.375rem; text-decoration-thickness: 1px; }
.nav-dropdown svg { width: 0.625rem; height: 0.375rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 120ms linear; }
.nav-dropdown[open] svg { transform: rotate(180deg); }
.nav-dropdown-panel { position: absolute; top: calc(100% + 0.875rem); left: -0.875rem; z-index: 30; display: flex; flex-direction: column; width: max-content; min-width: calc(100% + 1.75rem); padding: 0.5rem 0; background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 0.75rem 1.75rem rgb(0 0 0 / 0.1); }
.site-nav .nav-dropdown-panel a { min-height: 2.25rem; padding-inline: 0.875rem; }
.site-nav .nav-dropdown-panel a:hover { background: oklch(0.97 0.004 262); text-decoration: none; }
@media (max-width: 809px) {
  .nav-dropdown summary { font-size: 0.9375rem; }
  .nav-dropdown-panel { top: calc(100% + 0.625rem); }
}
@media (max-width: 679px) {
  .nav-dropdown-panel { top: calc(100% + 0.25rem); }
}
@media (prefers-reduced-motion: reduce) { .nav-dropdown svg { transition: none; } }

/* Forms */
.form-row input, .form-row select, .form-row textarea { display: block; width: 100%; min-height: 3rem; padding: 0.6875rem 0.875rem; border: 1px solid oklch(0.24 0.055 262 / 0.34); border-radius: 0; background: var(--white); color: var(--ink); font: inherit; font-size: 1.0625rem; line-height: 1.4; }
.form-row textarea { resize: vertical; }
.form-row input:focus-visible, .form-row select:focus-visible, .form-row textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: -1px; }
.form-row [aria-invalid] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.form-row label { color: var(--ink); font-size: 1.0625rem; font-weight: 500; }
.form-error { margin-top: 0.375rem; color: var(--ink); font-size: 0.9375rem; font-weight: 500; }
.form-status { color: var(--ink); font-size: 1rem; line-height: 1.4; }
button.dark-pill { border: 0; font-family: inherit; cursor: pointer; }
button.dark-pill:disabled { opacity: 0.6; cursor: default; }
.form-actions { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 7fr); gap: 0.5rem 1.5rem; padding-block: 0.875rem; }
.form-actions { align-items: center; padding-top: 1.125rem; }
.form-actions button { grid-column: 2; justify-self: start; margin-top: 0; }
.form-actions .form-status { grid-column: 2; max-width: 42.5rem; }
.login-form { display: grid; gap: 1.25rem; width: min(100%, 27.5rem); }
.login-form .form-row label { display: block; margin-bottom: 0.5rem; }
.login-form button { justify-self: start; margin-top: 0.25rem; }
.login-help { color: var(--ink-2); font-size: 1rem; }

@media (max-width: 809px) {
  .form-actions { grid-template-columns: 1fr; }
  .form-actions button, .form-actions .form-status { grid-column: 1; }
}

/* Footer legal links */
.site-footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.75rem; }
.site-footer-meta nav { display: flex; gap: 1.25rem; }
.site-footer-meta a { color: inherit; text-decoration: none; }
.site-footer-meta a:hover { text-decoration: underline; text-underline-offset: 0.1875rem; text-decoration-thickness: 1px; }

/* Hover: underlines draw in from the left and leave to the right. */
:root {
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-quick: 450ms;
}
/* Hover: underlines draw in from the left and leave to the right; images ease in. */
.site-nav > a, .nav-dropdown summary, .site-footer-meta a { position: relative; }
.site-nav > a::after, .nav-dropdown summary::after, .site-footer-meta a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(50% - 0.85em);
  height: 1px;
  background: currentColor;
  scale: 0 1;
  transform-origin: right;
  transition: scale var(--t-quick) var(--ease);
}
.nav-dropdown summary::after { right: 16px; }
.site-header .site-nav > a::after, .site-header .nav-dropdown summary::after { bottom: 0.05rem; }
.site-nav > a:hover, .nav-dropdown summary:hover, .site-footer-meta a:hover { text-decoration: none; }
.site-nav > a:hover::after, .nav-dropdown summary:hover::after, .site-footer-meta a:hover::after { scale: 1 1; transform-origin: left; }

@media (prefers-reduced-motion: reduce) {
  .site-nav > a::after, .nav-dropdown summary::after, .site-footer-meta a::after { transition: none; }
}

/* The portal: who is signed in, asks, updates, email */
.portal-me { padding-block-end: clamp(1.5rem, 3vw, 2.5rem); }
.portal-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem; font-size: 1.125rem; }
.portal-who #me-name { font-weight: 500; }
.portal-email { color: var(--ink-2); }
.text-button { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 1rem; text-decoration: underline; text-underline-offset: 0.1875rem; text-decoration-thickness: 1px; cursor: pointer; min-height: 2.75rem; }
.portal-empty { margin-top: 1.25rem; color: var(--ink-2); font-size: 1.125rem; }
.asks { margin: clamp(1.25rem, 2vw, 1.75rem) 0 0; padding: 0; list-style: none; }
.asks > li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 7fr); gap: 0.5rem 1.5rem; padding-block: 1.25rem; border-top: 1px solid var(--line); }
.asks > li:last-child { border-bottom: 1px solid var(--line); }
.ask-title { font-size: 1.125rem; font-weight: 500; }
.ask-body { max-width: 44em; color: var(--ink-2); font-size: 1.125rem; line-height: 1.45; }
.ask-body p + p, .ask-body .ask-actions { margin-top: 0.75rem; }
.ask-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; }
.ask-actions .dark-pill { margin-top: 0; }
.ask-done .ask-title, .ask-done .ask-body { color: var(--ink-2); }
.ask-tag { display: inline-block; margin-left: 0.5rem; padding: 0.125rem 0.5rem; border: 1px solid var(--line); font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); vertical-align: 0.15em; }
.ask-help { display: grid; gap: 0.75rem; margin-top: 0.75rem; max-width: 36rem; }
.ask-help textarea { display: block; width: 100%; min-height: 6rem; padding: 0.6875rem 0.875rem; border: 1px solid oklch(0.24 0.055 262 / 0.34); border-radius: 0; background: var(--white); color: var(--ink); font: inherit; font-size: 1.0625rem; line-height: 1.4; resize: vertical; }
.ask-help .dark-pill { justify-self: start; margin-top: 0; }
.updates { margin-top: clamp(1.25rem, 2vw, 1.75rem); }
.update { padding-block: 1.75rem; border-top: 1px solid var(--line); scroll-margin-top: 6rem; }
.update:last-child { border-bottom: 1px solid var(--line); }
.update-date { color: var(--ink-2); font-size: 1rem; }
.update h3 { margin-top: 0.375rem; font-size: clamp(1.375rem, 2vw, 1.625rem); font-weight: 500; letter-spacing: -0.01em; }
.update-body { max-width: 40em; margin-top: 0.875rem; font-size: 1.125rem; line-height: 1.55; }
.update-body p + p { margin-top: 1em; }
.update-body a { color: inherit; text-underline-offset: 0.1875rem; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.update-meta { margin-top: 0.75rem; color: var(--ink-2); font-size: 0.9375rem; }
.check-row { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 2.75rem; margin-top: 1rem; font-size: 1.125rem; cursor: pointer; }
.check-row input { width: 1.25rem; height: 1.25rem; accent-color: var(--ink); }
#portal-status { margin-top: 1rem; }
.admin-mode { padding: 0.875rem 1rem; border: 1px solid var(--line); font-size: 1rem; }
.admin-form .form-row, .admin-form .form-actions { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 7fr); gap: 0.5rem 1.5rem; padding-block: 0.875rem; }
.admin-form .form-row label { padding-top: 0.75rem; }
.admin-form .form-row > div { max-width: 42.5rem; }
.admin-form .form-row .check-row { margin-top: 0; padding-top: 0; }
.admin-form .form-actions button { grid-column: 2; justify-self: start; margin-top: 0; }
.admin-form .form-actions .form-status { grid-column: 2; max-width: 42.5rem; overflow-wrap: anywhere; }
.outbox { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.outbox > li { padding-block: 1rem; border-top: 1px solid var(--line); }
.outbox > li:last-child { border-bottom: 1px solid var(--line); }
.outbox summary { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: baseline; cursor: pointer; font-size: 1.0625rem; min-height: 2.75rem; align-content: center; }
.outbox .ob-subject { font-weight: 500; }
.outbox .ob-meta { color: var(--ink-2); font-size: 0.9375rem; }
.outbox iframe { display: block; width: 100%; max-width: 40rem; height: 38rem; margin-top: 0.75rem; border: 1px solid var(--line); background: var(--white); }
@media (max-width: 760px) {
  .asks > li, .admin-form .form-row, .admin-form .form-actions { grid-template-columns: 1fr; }
  .admin-form .form-row label { padding-top: 0; }
  .admin-form .form-actions button, .admin-form .form-actions .form-status { grid-column: 1; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 4.75rem; }
.pw-toggle { position: absolute; top: 0; right: 0; height: 100%; display: flex; align-items: center; justify-content: center; min-width: 4.25rem; padding: 0 0.875rem; border: 0; background: none; color: var(--ink); font: inherit; font-size: 0.9375rem; font-weight: 500; text-decoration: underline; text-underline-offset: 0.1875rem; text-decoration-thickness: 1px; cursor: pointer; }
.pw-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.pw-caps { margin-top: 0.375rem; color: var(--ink); font-size: 0.9375rem; }
.portal-note { margin-top: 0.5rem; color: var(--ink-2); font-size: 0.9375rem; }
.update-body h4 { margin-top: 1.75rem; font-size: 1.1875rem; font-weight: 600; }
.update-body h4:first-child { margin-top: 0; }
.update-body h4 + p, .update-body h4 + ol, .update-body h4 + ul { margin-top: 0.625rem; }
.update-body ol, .update-body ul { margin: 1em 0 0; padding-left: 1.375rem; }
.update-body li + li { margin-top: 0.625rem; }
.update-body li::marker { color: var(--ink-2); }
.update-body strong { font-weight: 600; }
.update-body p + ol, .update-body p + ul, .update-body ol + p, .update-body ul + p { margin-top: 1em; }
.people { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.people > li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) auto; gap: 0.25rem 1.5rem; align-items: baseline; padding-block: 1rem; border-top: 1px solid var(--line); }
.people > li:last-child { border-bottom: 1px solid var(--line); }
.person-name { font-size: 1.0625rem; font-weight: 500; }
.person-firm { display: block; color: var(--ink-2); font-weight: 400; font-size: 0.9375rem; }
.person-info { color: var(--ink-2); font-size: 0.9375rem; overflow-wrap: anywhere; }
.invite-results { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.text-button.is-armed { font-weight: 600; }
.form-actions .text-button { grid-column: 2; justify-self: start; }
@media (max-width: 760px) { .people > li { grid-template-columns: 1fr; } }

/* Sign-in (the owner's brand banner): black ground, the light
   "conifer" weight for the title, the crescent mark bleeding off the right edge,
   and plain square buttons. Colours are the banner's own. */
.gate { --g-white: #f4f3ef; --g-blue: #4abde7; --g-grey: #9a9a9f; position: relative; overflow: hidden; display: flex; align-items: center; min-height: calc(100svh - var(--header-height)); background: #000; color: var(--g-white); }
.gate-mark { position: absolute; top: 50%; right: 0; height: clamp(20rem, 66vh, 31.25rem); width: auto; transform: translateY(-50%); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent); pointer-events: none; }
.gate-inner { position: relative; z-index: 1; padding-block: clamp(3rem, 8vh, 6rem); }
.gate-copy { width: min(100%, 34rem); }
.gate h1 { font-size: clamp(3rem, 5.6vw, 5.25rem); font-weight: 300; line-height: 1; letter-spacing: -0.035em; white-space: nowrap; }
.gate-line { margin-top: 1rem; color: var(--g-grey); font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.4; }
.gate-form { display: grid; gap: 0.75rem; max-width: 24rem; margin-top: clamp(2.5rem, 5vh, 3.5rem); }
.gate-form[hidden] { display: none; }
.gate-email { display: grid; gap: 0.75rem; }
.gate-btn { display: flex; align-items: center; justify-content: center; gap: 0.75rem; width: 100%; height: 3rem; padding: 0 1.25rem; border: 1px solid oklch(0.96 0.005 90 / 0.38); border-radius: 4px; background: transparent; color: var(--g-white); font: inherit; font-size: 1rem; font-weight: 500; cursor: pointer; }
.gate-btn:hover { border-color: var(--g-white); }
.gate-btn-light { border-color: var(--g-white); background: var(--g-white); color: #000; }
.gate-btn-light:hover { background: #ffffff; }
.gate-btn:focus-visible, .gate .text-button:focus-visible, .gate a:focus-visible { outline: 2px solid var(--g-blue); outline-offset: 2px; }
.gate-btn:disabled { opacity: 0.55; cursor: default; }
.google-g { width: 1.125rem; height: 1.125rem; flex: none; }
.gate-or { display: flex; align-items: center; gap: 0.875rem; color: var(--g-grey); font-size: 0.875rem; }
.gate-or::before, .gate-or::after { content: ""; flex: 1; border-top: 1px solid oklch(0.96 0.005 90 / 0.16); }
.gate-or[hidden] { display: none; }
.gate .form-row input { height: 3rem; min-height: 0; border: 1px solid oklch(0.96 0.005 90 / 0.24); border-radius: 4px; background: transparent; color: var(--g-white); }
.gate .form-row input::placeholder { color: var(--g-grey); }
.gate .form-row input:focus-visible { outline: none; border-color: var(--g-blue); box-shadow: 0 0 0 1px var(--g-blue); }
.gate .form-row [aria-invalid] { border-color: var(--g-white); box-shadow: none; }
.gate .form-error { color: var(--g-white); }
.gate-h { font-size: 1.75rem; font-weight: 400; letter-spacing: -0.02em; }
.gate-h:focus { outline: none; }
.gate-sent { color: var(--g-grey); font-size: 1.0625rem; line-height: 1.45; overflow-wrap: anywhere; }
.gate-sent strong { color: var(--g-white); font-weight: 500; }
.gate-pending { padding: 0.75rem 0.875rem; border-left: 2px solid var(--g-blue); background: oklch(1 0 0 / 0.05); color: var(--g-white); font-size: 0.9375rem; line-height: 1.45; }
.gate-actions { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.gate .text-button { color: var(--g-white); }
.gate-status { max-width: 24rem; margin-top: 1rem; color: var(--g-white); }
.gate-help { margin-top: 2rem; color: var(--g-grey); font-size: 0.9375rem; }
.gate-help a { color: var(--g-white); text-underline-offset: 0.1875rem; text-decoration-thickness: 1px; }
@media (max-width: 860px) {
  .gate { align-items: flex-start; min-height: calc(100svh - var(--header-height)); }
  .gate-mark { top: 0; right: -45%; height: 16rem; transform: none; opacity: 0.22; }
  .gate-inner { padding-block: 3rem 4rem; }
  .gate-copy { width: 100%; max-width: 30rem; }
  .gate h1 { white-space: normal; }
}

/* Footer in the brand banner's black and off-white. The header stays white. */
.site-footer { background: #000; color: #f4f3ef; box-shadow: 0 -1px 0 oklch(1 0 0 / 0.12); }
.site-footer .logo { color: #f4f3ef; }

/* Calls: days, then that day's times, then one confirm row. */
.cal { margin-top: clamp(1.25rem, 2vw, 1.75rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.cal-days { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: thin; }
.cal-day, .cal-time { flex: none; min-height: 2.75rem; padding: 0 1rem; border: 1px solid oklch(0.24 0.055 262 / 0.24); border-radius: 4px; background: var(--white); color: var(--ink); font: inherit; font-size: 0.9375rem; font-weight: 500; cursor: pointer; }
.cal-day:hover, .cal-time:hover { border-color: var(--ink); }
.cal-day[aria-selected="true"], .cal-time[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.cal-day:focus-visible, .cal-time:focus-visible { outline: 2px solid #4abde7; outline-offset: 2px; }
.cal-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: 0.5rem; max-width: 44rem; margin-top: 1rem; }
.cal-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; max-width: 44rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.cal-confirm[hidden] { display: none; }
.cal-pick { flex: 1 0 100%; font-size: 1.0625rem; font-weight: 500; }
.cal-confirm input { flex: 1 1 16rem; height: 2.75rem; padding: 0 0.875rem; border: 1px solid oklch(0.24 0.055 262 / 0.34); border-radius: 4px; background: var(--white); color: var(--ink); font: inherit; font-size: 1rem; }
.cal-confirm input:focus-visible { outline: none; border-color: #4abde7; box-shadow: 0 0 0 1px #4abde7; }
.cal-confirm .dark-pill { margin-top: 0; }
.cal-tz { margin-top: 1rem; color: var(--ink-2); font-size: 0.875rem; }
.cal-mine { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.cal-mine[hidden] { display: none; }
.cal-booked { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; max-width: 44rem; padding: 0.875rem 1rem; border-left: 2px solid #4abde7; background: oklch(0.97 0.01 230); font-size: 1rem; }
.cal-booked + .cal-booked { margin-top: 0.5rem; }
.cal-booked-when { font-weight: 500; }
#cal-status { margin-top: 0.75rem; }
