/* Bias Consulting — shared styles */

@font-face {
  font-family: "League Gothic";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/league-gothic-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "League Gothic";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/league-gothic-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal; font-display: swap; font-weight: 400 900;
  src: url("fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal; font-display: swap; font-weight: 400 900;
  src: url("fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #4a68b0;        /* blue from the poster, darkened slightly for readable text */
  --blue-deep: #2b3f73;   /* headings and text on cream */
  --cream: #f4ecd6;       /* text and details on blue */
  --paper: #f8f3e7;       /* creamy white page background */
  --ink: #23315a;
  --ink-soft: #4b5578;
  --line: #ddd3bb;

  --display: "League Gothic", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --text: "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;

  --strip: 25vw;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body { margin: 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; }
img, svg { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }
.sub :focus-visible { outline-color: var(--blue); }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--cream); color: var(--blue-deep); padding: 0.6rem 1rem; z-index: 20; text-decoration: none; }
.skip:focus { top: 1rem; }

/* ========== Landing page ========== */
.landing {
  background: var(--blue); color: var(--cream);
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.brand {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin: 0; color: var(--cream); line-height: 0.85;
}
.brand .big {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(7rem, 26vw, 19rem); letter-spacing: 0.01em;
}
.brand .small {
  font-family: var(--text); font-weight: 400;
  font-size: clamp(1.1rem, 2.6vw, 1.9rem); letter-spacing: 0.04em;
  line-height: 1.2; margin-top: 0.6rem;
}
.choices { display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; }

.btn {
  display: inline-block; font: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  padding: 0.75rem 1.4rem; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1.5px solid currentColor; transition: background-color .15s, color .15s;
}
.landing .btn { color: var(--cream); background: transparent; }
.landing .btn:hover { background: var(--cream); color: var(--blue); }
.landing-foot { text-align: center; font-size: 0.8125rem; line-height: 1.6; opacity: 0.9; }
.landing-foot a { color: var(--cream); }

/* ========== Subpages: blue strip + cream content ========== */
.sub { background: var(--paper); color: var(--ink); }

.strip {
  position: fixed; inset: 0 auto 0 0; width: var(--strip);
  background: var(--blue); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
/* "B" centred in the strip, 60 % of the window height */
.monogram { display: flex; justify-content: center; color: var(--cream); text-decoration: none; }
.mono-b { height: 60vh; width: min(calc(60vh * 0.53), calc(var(--strip) * 0.55)); fill: currentColor; }
.monogram:hover { color: #fff; }
.strip nav { position: absolute; left: 0; right: 0; bottom: 2rem; }
.strip nav ul { list-style: none; margin: 0; padding: 0 1.5rem; display: grid; gap: 0.6rem; text-align: center; }
.strip nav a { color: var(--cream); text-decoration: none; font-weight: 600; font-size: 1.2rem; }
.strip nav a:hover, .strip nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.2em; }

.content { margin-left: var(--strip); padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 5rem); }
.content > * { max-width: 50rem; }

.content a { color: var(--blue); text-underline-offset: 0.18em; }
.content a:hover { color: var(--blue-deep); }

h1, h2 { font-family: var(--display); font-weight: 400; color: var(--blue-deep); letter-spacing: 0.005em; }
h1 { font-size: clamp(3.5rem, 8vw, 6.5rem); line-height: 0.92; margin: 0 0 1.25rem; }
h2 { font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1; margin: 0 0 1rem; }
h3 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 0.35rem; color: var(--ink); }
.intro { font-size: 1.3rem; line-height: 1.5; color: var(--ink-soft); max-width: 40ch; margin: 0; }

.block { padding-top: clamp(3rem, 7vw, 5rem); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 48ch; margin: 0 0 2rem; }
p { max-width: 65ch; }

/* Ruled lists (services, situations) */
.ruled { list-style: none; margin: 0; padding: 0; }
.ruled li { border-top: 1.5px solid var(--blue); padding-block: 1.25rem; }
.ruled li:last-child { border-bottom: 1.5px solid var(--blue); }
.ruled p { margin: 0; color: var(--ink-soft); }

/* Steps: a real sequence */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s) "."; display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--blue); margin-bottom: 0.35rem; }
.steps p { margin: 0; color: var(--ink-soft); }

.facts { margin: 1.5rem 0 0; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* Form */
form.inquiry { display: grid; gap: 1.15rem; max-width: 36rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: #fffdf8;
  border: 1.5px solid var(--line); border-radius: 6px; padding: 0.75rem 0.9rem; width: 100%;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(74, 104, 176, 0.2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-note { font-size: 0.875rem; color: var(--ink-soft); margin: 0; }
.sub .btn-solid { background: var(--blue); color: var(--cream); border-color: var(--blue); }
.sub .btn-solid:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--cream); }
.hidden { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.todo { background: #ffe58a; color: #3b2f00; padding: 0 0.25em; border-radius: 2px; font-weight: 600; }

.content-foot { margin-top: clamp(4rem, 8vw, 6rem); padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--ink-soft); }
.content-foot address { font-style: normal; }

/* ========== Small screens: strip becomes a top bar ========== */
@media (max-width: 48rem) {
  .strip {
    position: sticky; top: 0; z-index: 10; width: 100%; flex-direction: row; align-items: center; justify-content: space-between;
    padding: 0.75rem 1.25rem;
  }
  .strip nav { position: static; }
  /* keep headings visible below the pinned bar when jumping to #kontakt etc. */
  .content [id] { scroll-margin-top: 5rem; }
  .strip nav a { font-size: 1rem; }
  .mono-b { height: 2.75rem; width: 1.15rem; }
  .strip nav ul { display: flex; gap: 1.1rem; padding: 0; }
  .content { margin-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
