/* ==========================================================================
   SisleLabs — holding page
   Two flat white blocks on the brand's painterly background. No gradients.
   Colours and typefaces from the "SisleLabs Prototype" brand guideline.
   ========================================================================== */

:root {
  /* Teal — primary. #0C8692 is step 5 of the guideline scale. */
  --teal-5:  #0c8692;
  --teal-6:  #0a6b75;
  --teal-7:  #075058;
  --teal-8:  #05363a;
  --teal-9:  #021b1d;

  --paper:   #ffffff;
  --ink:     #05363a;   /* body text on paper  — 11:1 */
  --ink-mid: #0a6b75;   /* labels on paper     — 6.1:1 */

  /* Futura is the primary typeface; Jost stands in where it isn't installed.
     Inter is the secondary typeface. */
  --font-display: "Futura", "Futura PT", "Jost", "Century Gothic", system-ui, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --gap:    clamp(0.5rem, 1vw, 0.75rem);
  --inset:  clamp(0.75rem, 2.2vw, 2rem);
  --pad:    clamp(1.5rem, 4vw, 3.5rem);
  --radius: clamp(1rem, 2vw, 1.75rem);
}

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

body {
  margin: 0;
  padding: var(--inset);
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;

  /* Brand painterly background. The flat teal shows if the image is missing. */
  background-color: var(--teal-8);
  background-image: url("../assets/bg-painting.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

h1 { margin: 0; }
p  { margin: 0; }
dl, dd { margin: 0; }

a { color: var(--teal-6); text-decoration: none; }
a:hover { color: var(--teal-5); text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--teal-5);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Frame — logo bar over one content panel, filling the viewport
   -------------------------------------------------------------------------- */
.frame {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-height: calc(100svh - (var(--inset) * 2));
}

/* Logo bar */
.bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.85rem, 1.6vw, 1.15rem) var(--pad);
  background: var(--paper);
  border-radius: 999px;
}

.lockup {
  display: inline-flex;
  color: var(--teal-5);
}

.lockup__svg {
  width: clamp(104px, 13vw, 148px);
  height: auto;
  fill: currentColor;
  display: block;
}

/* Content panel — content sits centred in the tall panel, using both axes */
.panel {
  flex: 1;
  display: grid;
  align-content: center;
  padding: var(--pad);
  background: var(--paper);
  border-radius: var(--radius);
}

.panel__body {
  display: grid;
  gap: clamp(2.25rem, 5vw, 4rem);
  width: 100%;
  max-width: 82rem;   /* keeps the columns together on very wide screens */
  margin-inline: auto;
}

.label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: clamp(1.25rem, 3vh, 2rem);
}

.title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 1.2rem + 3.6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--teal-9);
  margin-bottom: clamp(1.25rem, 3vh, 1.75rem);
}

.text {
  max-width: min(58ch, 100%);
  color: var(--ink);
}
.text + .text { margin-top: 1rem; }

/* Facts — a hairline list, no boxes */
.facts { display: grid; }

.fact {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(5, 54, 58, 0.16);
}
.fact:last-child { border-bottom: 1px solid rgba(5, 54, 58, 0.16); }

.fact dt {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.fact dd { color: var(--ink); }

/* Wide: message on the left, facts as a rail on the right */
@media (min-width: 60rem) {
  .panel__body {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: end;   /* both columns finish on the same line */
  }
}
