/* lysdalen.com styles. Brand: direction 3 "Lys" (Lys red field, white working surfaces, Ink text). */
@font-face { font-family: "Forum"; src: url("/fonts/forum-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Brand: direction 3 "Lys". Lys red field, white working surfaces, Ink text. */
:root {
  --lys: #BE1530; --oxblood: #6A0B2C; --signal: #E8172E;
  --bg: #FFFFFF; --alt: #F5F5F5; --surface: #FFFFFF;
  --ink: #141414; --muted: #4A4A4A; --line: #E2E2E2;
  --accent: #BE1530; --accent-ink: #FFFFFF;
  --focus: #141414; --error: #6A0B2C;
  --radius: 4px;
  --serif: "Forum", "Times New Roman", serif;
  --sans: "Hanken Grotesk", ui-sans-serif, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141414; --alt: #1B1B1B; --surface: #1F1F1F;
    --ink: #EDEDED; --muted: #A9A9A9; --line: #333333;
    --focus: #FFFFFF; --error: #FF8A95;
  }
}
:root[data-theme="dark"] {
  --bg: #141414; --alt: #1B1B1B; --surface: #1F1F1F;
  --ink: #EDEDED; --muted: #A9A9A9; --line: #333333;
  --focus: #FFFFFF; --error: #FF8A95;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); font-synthesis: none; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.field { background: var(--lys); color: #FFFFFF; --focus: #FFFFFF; }
header { padding: 26px 0 0; }
.wordmark { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: .01em; color: #FFFFFF; text-decoration: none; }
.hero { padding: 72px 20px 80px; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -.01em; margin: 0 0 24px; max-width: 13ch; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: #FFFFFF; opacity: .92; max-width: 38em; margin: 0 0 36px; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); border: 2px solid var(--accent); border-radius: 0;
  padding: 13px 26px; font: inherit; font-weight: 600; letter-spacing: .01em; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--oxblood); border-color: var(--oxblood); }
.field .btn { background: #FFFFFF; color: var(--lys); border-color: #FFFFFF; }
.field .btn:hover { background: transparent; color: #FFFFFF; }
.btn:disabled { opacity: .6; cursor: progress; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }
section.alt { background: var(--alt); border-top: 0; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; margin: 0 0 28px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); padding: 24px 22px 26px; }
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 650; letter-spacing: .01em; }
.card h3::before { content: ""; display: block; width: 22px; height: 3px; background: var(--lys); margin-bottom: 14px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
ol.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
ol.steps li { counter-increment: s; }
ol.steps li::before { content: counter(s); display: block; font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--lys); margin-bottom: 10px; }
ol.steps strong { display: block; margin-bottom: 4px; font-weight: 650; }
ol.steps span { color: var(--muted); font-size: 16px; }
form { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--lys); padding: clamp(20px, 4vw, 40px); }
fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
legend { font-family: var(--serif); font-size: 24px; margin-bottom: 14px; padding: 0; }
.row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 16px; }
label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=url], input[type=tel], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1px solid #BDBDBD; border-radius: var(--radius); padding: 11px 12px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) input, :root:not([data-theme="light"]) select, :root:not([data-theme="light"]) textarea { border-color: #4A4A4A; } }
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
.tried :invalid:not(fieldset):not(form) { border: 2px solid var(--error); }
textarea { min-height: 104px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; margin-bottom: 12px; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--lys); }
.tried .check:has(:invalid) { outline: 2px solid var(--error); outline-offset: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin-top: 16px; font-weight: 600; }
.msg.err { color: var(--error); display: flex; gap: 10px; align-items: center; }
.msg.err::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--error); color: var(--bg); font-size: 14px; font-weight: 800; }
.done { text-align: center; padding: 40px 10px; }
.done h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin: 0 0 10px; }
.fine { color: var(--muted); font-size: 14px; }
footer { background: #141414; color: #CFCFCF; padding: 44px 0 52px; font-size: 14px; }
footer .wordmark { display: block; font-size: 26px; margin-bottom: 14px; }
footer a { color: #FFFFFF; }
footer { --focus: #FFFFFF; }
.intents { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.intent { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); cursor: pointer; font-weight: 400; }
.intent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--lys); }
.intent strong { display: block; font-size: 16px; color: var(--ink); }
.intent span { color: var(--muted); font-size: 14px; }
.intent:has(input:checked) { border-color: var(--lys); box-shadow: inset 0 0 0 1px var(--lys); }
[hidden] { display: none !important; }
.linkbox { max-width: 640px; margin: 0 auto; padding: 20px; border: 1px solid var(--line); background: var(--alt); }
.linkbox p { margin: 0 0 12px; }
.linkrow { display: flex; gap: 10px; margin-bottom: 10px; }
.linkrow input { flex: 1; min-width: 0; font-size: 14px !important; }
.linkbox a { color: var(--ink); }

/* Editorial layout: label column on the left, content on the right; hairline rules instead of cards. */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 22px; opacity: .9; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.textlink { color: #FFFFFF; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 2px; }
.textlink:hover { border-color: #FFFFFF; }
.split { display: grid; grid-template-columns: minmax(150px, 1fr) 3fr; gap: 24px 48px; }
.label { margin: 6px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lys); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .label { color: #FF6B78; } }
:root[data-theme="dark"] .label { color: #FF6B78; }
.letter .big { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; margin: 0 0 22px; max-width: 24ch; }
.letter p { max-width: 36em; }
.sig { font-family: var(--serif); font-size: 26px; line-height: 1.1; margin-top: 26px; }
.sig span { font-family: var(--sans); font-size: 14px; color: var(--muted); }
dl.rows { margin: 0; border-top: 1px solid var(--ink); }
dl.rows > div { display: grid; grid-template-columns: 1fr 2.4fr; gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
dl.rows dt { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
dl.rows dd { margin: 4px 0 0; color: var(--muted); }
.sectors { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 52px); line-height: 1.1; margin: 0 0 28px; }
.sectors i { font-style: normal; color: var(--lys); padding: 0 .12em; }
dl.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 24px; margin: 0 0 18px; border-top: 1px solid var(--line); padding-top: 18px; }
dl.cols dt { font-weight: 650; font-size: 15px; margin-bottom: 4px; }
dl.cols dd { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.split ol.steps { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.promises ul { list-style: none; padding: 0; margin: 0 0 22px; border-top: 1px solid var(--ink); }
.promises li { font-family: var(--serif); font-size: clamp(22px, 2.8vw, 30px); line-height: 1.25; padding: 16px 0; border-bottom: 1px solid var(--line); }
.intro { color: var(--muted); margin: -12px 0 24px; }
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; gap: 14px; }
  dl.rows > div { grid-template-columns: 1fr; }
}
.hero h1 { max-width: none; }
.hero h1 .nb { display: block; }
@media (min-width: 900px) {
  dl.cols { grid-template-columns: repeat(5, 1fr); }
  .split ol.steps { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 560px) and (max-width: 899px) {
  .split ol.steps { grid-template-columns: repeat(2, 1fr); }
}
.sectors span { white-space: nowrap; }
.sectors { font-size: clamp(28px, 4vw, 46px); }
section.dark { background: #141414; color: #EDEDED; border-top: 0; --ink: #EDEDED; --muted: #B5B5B5; --line: #333333; --focus: #FFFFFF; }
section.dark + section { border-top: 0; }
section.dark .label { color: #FF6B78; }
section.dark .big { font-family: var(--serif); font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin: 0 0 16px; }
section.dark .sub { max-width: 36em; margin: 0 0 30px; color: var(--muted); }
section.dark .cta { margin: 28px 0 0; }
section.dark .cta a { display: inline-block; color: #FFFFFF; background: var(--lys); padding: 13px 26px; font-weight: 600; text-decoration: none; }
section.dark .cta a:hover { background: var(--oxblood); }
.sectors { font-size: clamp(22px, 3.3vw, 34px); text-wrap: balance; }

/* v3: a more institutional finish. Forum stays the wordmark only; headings use Hanken Grotesk bold.
   Red is a signal (hero, primary buttons, labels), white and Mist carry the page, Oxblood and Ink the bands. */
:root { --display: var(--sans); }
h1, h2, legend, .done h3, .letter .big, dl.rows dt, .sectors, .promises li, section.dark .big, ol.steps li::before {
  font-family: var(--display); font-weight: 750; letter-spacing: -.025em; }
h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; }
.letter .big { font-weight: 650; letter-spacing: -.015em; line-height: 1.22; }
dl.rows dt { font-size: 24px; }
.promises li { font-weight: 600; letter-spacing: -.015em; }
.sectors { font-weight: 700; }
ol.steps li::before { font-size: 44px; }
legend { font-size: 22px; }
.sig { font-family: var(--serif); }
.nav { background: #FFFFFF; border-bottom: 1px solid #E2E2E2; position: sticky; top: 0; z-index: 10; }
.navrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.nav .wordmark { color: var(--lys); font-size: 30px; }
.nav nav { display: flex; align-items: center; gap: 26px; }
.nav nav a { color: #141414; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav nav a:not(.pill):hover { color: var(--lys); }
.nav .pill { background: var(--lys); color: #FFFFFF !important; padding: 10px 20px; border-radius: 999px; }
.nav .pill:hover { background: var(--oxblood); }
@media (max-width: 720px) { .nav nav a:not(.pill) { display: none; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav { background: #141414; border-color: #2A2A2A; }
  :root:not([data-theme="light"]) .nav .wordmark { color: #FFFFFF; } :root:not([data-theme="light"]) .nav nav a { color: #EDEDED; } }
:root[data-theme="dark"] .nav { background: #141414; border-color: #2A2A2A; }
.field header { display: none; }
.hero { padding-top: 84px; }
.btn, section.dark .cta a { border-radius: 999px; padding: 14px 28px; }
section.alt + section, section + section.alt { border-top: 0; }
section.dark { background: var(--oxblood); --line: rgba(255,255,255,.18); --muted: #E9C9D1; }
section.dark .label { color: #FFFFFF; opacity: .75; }
section.dark .cta a { background: #FFFFFF; color: var(--oxblood); }
section.dark .cta a:hover { background: #F2DCE2; }
section.dark .cta a::after, .textlink::after { content: " \2192"; }
section[id] { scroll-margin-top: 68px; }
@media (max-width: 420px) { .hero h1 { font-size: 34px; } }
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.wordmark .vent { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; line-height: 1; padding-left: .1em; }
.nav .wordmark .vent { color: #141414; }
footer .wordmark .vent { color: var(--signal); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav .wordmark .vent { color: var(--signal); } }
footer .wordmark { display: flex; flex-direction: column; width: max-content; }
.lede, .sub, .letter p { text-wrap: pretty; }
.nav .pill { white-space: nowrap; }
@media (max-width: 360px) { .nav .pill { padding: 9px 14px; font-size: 14px; } .nav .wordmark { font-size: 26px; } }
@media (max-width: 360px) { .hero h1 { font-size: 29px; } }

/* v4 balance: wider canvas, bigger type, a radar motif in the hero, form beside its heading. */
.wrap { max-width: 1200px; padding: 0 24px; }
.field { position: relative; overflow: hidden; }
.hero { padding: 104px 24px 112px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(40px, 6.6vw, 92px); line-height: .98; letter-spacing: -.035em; margin-bottom: 28px; }
.lede { font-size: clamp(18px, 1.6vw, 22px); max-width: 30em; }
.radar { position: absolute; right: -140px; top: 50%; width: min(760px, 62vw); height: auto; transform: translateY(-46%); pointer-events: none; }
@media (max-width: 900px) { .radar { right: -260px; opacity: .55; } }
@media (max-width: 560px) { .radar { display: none; } }
section { padding: 96px 0; }
.split { grid-template-columns: minmax(180px, 1fr) 3.2fr; gap: 24px 64px; }
.label { font-size: 12.5px; }
dl.rows dt { font-size: 26px; }
dl.rows dd { font-size: 17px; color: var(--ink); opacity: .78; }
dl.cols dt { font-size: 16px; }
dl.cols dd { font-size: 15.5px; }
.sectors { font-size: clamp(22px, 3vw, 40px); }
ol.steps strong { font-size: 18px; }
ol.steps span { font-size: 16.5px; }
section.dark .big { font-size: clamp(36px, 5vw, 64px); }
section.dark .sub { font-size: 18px; }
.formsplit { align-items: start; }
.formhead { position: sticky; top: 96px; }
.formhead h2 { margin-bottom: 12px; }
.formhead .intro { margin: 0; }
form { border-top: 0; border: 1px solid var(--line); }
@media (max-width: 720px) { .formhead { position: static; } section { padding: 64px 0; } .hero { padding: 64px 20px 72px; } }
.sectors { font-size: clamp(22px, 2.7vw, 36px); }
.formsplit .row { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
@media (max-width: 720px) { .split { grid-template-columns: 1fr; gap: 14px; } dl.rows > div { grid-template-columns: 1fr; } }

/* Mandate form inside the oxblood band */
.ctabtn { font: inherit; font-weight: 600; cursor: pointer; border: 0; border-radius: 999px; padding: 14px 28px; background: #FFFFFF; color: var(--oxblood); }
.ctabtn:hover { background: #F2DCE2; }
.ctabtn:disabled { opacity: .6; cursor: progress; }
.mform { margin-top: 32px; padding: 0; border: 0; background: transparent; }
.mform .row { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.mform label { color: #FFFFFF; }
.mform .opt { color: #E9C9D1; }
.mform input[type=text], .mform input[type=email], .mform select, .mform textarea {
  background: rgba(255,255,255,.08); color: #FFFFFF; border-color: rgba(255,255,255,.35); }
.mform select option { color: #141414; }
.mform ::placeholder { color: rgba(255,255,255,.55); }
.mform input:focus, .mform select:focus, .mform textarea:focus { border-color: #FFFFFF; }
.mform .check { color: #F3E3E7; margin: 6px 0 18px; }
.mform.tried :invalid:not(fieldset):not(form) { border: 2px solid #FFB3BE; }
.mform .msg.err { color: #FFD1D8; }
.mform .msg.err::before { background: #FFD1D8; color: var(--oxblood); }
.mform .sent { font-size: 18px; margin: 0; }
section.dark .cta a::after { content: none; }
.copy { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: copy; text-decoration: underline; text-underline-offset: 3px; }
.copy::after { content: " (copy)"; font-size: .85em; opacity: .7; text-decoration: none; display: inline-block; margin-left: 2px; }
.copy.ok::after { content: ""; }
footer .copy { color: #FFFFFF; }
