/* What every page of hooms.ai shares: tokens, type, buttons, the header with its menu,
   the components the homepage is built from, and the footer. Each page keeps its own
   layout: the homepage in home.css, the others in their own <style>. */

/* Light-only, like the app: the brand's imagery is white paper with thin lines. */
:root{
  color-scheme:light;
  --ground:#FFFFFF; --raised:#F5F5F5; --line:#E5E5E5; --strong-line:#D4D4D4;
  --ink:#171717; --strong:#404040; --fog:#525252; --muted:#737373; --faint:#A3A3A3; --ghost:#D4D4D4;
  --cta:#000000; --on-cta:#FFFFFF;
  --blue:#2563EB; --blue-ink:#1D4ED8; --blue-soft:#DBEAFF; --blue-bg:#EFF6FF; --hl:rgba(37,99,235,.16);
  --plan:#6D28D9; --plan-soft:#EDE9FE;
  --paper:#FFFFFF; --paper-line:#E5E5E5;
  /* The brand's dark surface (slides, the closing card). Blue on it is the lighter #3B82F6,
     because #2563EB on #171717 is only 3.5:1 (hooms-design-guidelines.md §2). */
  --dark:#171717; --dark-raised:#262626; --on-dark:#FFFFFF; --on-dark-2:#A3A3A3; --dark-line:#333333; --blue-on-dark:#3B82F6;
  /* Radii: btn 8, card 12, sheet 16. One soft shadow, for white cards on grey. */
  --card:12px; --sheet:16px;
  --shadow-card:0 2px 9px rgba(23,23,23,.05),0 9px 16px rgba(23,23,23,.04);
  /* One face for titles and text since 17 nov 2026 (brand/hooms-design-guidelines.md §4),
     served from fonts/ on our own host. The two roles keep their own variable. */
  --display:'Schibsted Grotesk',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  --body:'Schibsted Grotesk',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,'SF Mono',Menlo,monospace;
  --gutter:clamp(16px,4vw,40px);
  --wide:1360px;                    /* inset section cards; text stays in .wrap (1200) */
  --sec:clamp(72px,9vw,128px);      /* the space between sections */
  --bar:60px;
  --out:cubic-bezier(.22,.61,.36,1); /* the brand's settle: cubic out, no overshoot */
}

*{box-sizing:border-box}
/* hidden always hides, also on elements whose class gives them a display (.pform is flex). */
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ground);color:var(--ink);font:400 16px/1.55 var(--body);-webkit-font-smoothing:antialiased;overflow-x:hidden}
.wrap{max-width:calc(1200px + 2*var(--gutter));margin-inline:auto;padding-inline:var(--gutter)}
.wrap-wide{max-width:calc(var(--wide) + 2*var(--gutter));margin-inline:auto;padding-inline:var(--gutter)}
a{color:inherit}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:4px}
h1,h2,h3{font-family:var(--display);font-weight:600;text-wrap:balance;margin:0;letter-spacing:-.02em}
h3{font-size:clamp(20px,1.8vw,24px);line-height:1.25;letter-spacing:-.025em}
p{margin:0}
[id]{scroll-margin-top:calc(var(--bar) + 12px)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.eyebrow{font:600 11px/1 var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.mono{font-family:var(--mono);font-size:12px;color:var(--muted)}
.small{font-size:13.5px;line-height:1.5;color:var(--muted)}
.dot{color:var(--blue)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:600 15px/1 var(--body);padding:13px 18px;min-height:44px;border-radius:8px;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:opacity .15s,background .15s;white-space:nowrap}
.btn-cta{background:var(--cta);color:var(--on-cta)}.btn-cta:hover{opacity:.86}
.btn-quiet{border-color:var(--strong-line);color:var(--ink);background:transparent}.btn-quiet:hover{background:var(--raised)}
.btn-sm{padding:10px 14px;min-height:0;font-size:14px}
.btn[disabled]{opacity:.6;cursor:default}
.linkbtn{background:none;border:0;padding:0;font:inherit;color:var(--ink);text-decoration:underline;text-decoration-color:var(--strong-line);text-underline-offset:3px;cursor:pointer}
.linkbtn:hover{text-decoration-color:var(--ink)}

/* The wordmark is the outlined SVG (brand/marks/hooms-wordmark.svg), never live type. Each
   page holds it once as <symbol id="hooms-wm">; every use sets its height, and on dark
   ground --wm-dot makes the full stop the lighter blue. */
.wm{display:block;height:var(--wm-h,20px);width:calc(var(--wm-h,20px) * 4.398);overflow:visible}

/* Header. The wordmark, the menu centred, and the two actions. The black button is never
   hidden; Inloggen is for people who already have a dossier, so it stays a quiet text
   link. Below 960 px the menu folds into a panel under the bar. */
header{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:color-mix(in srgb,var(--ground) 92%,transparent);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;height:var(--bar);padding-inline:var(--gutter);max-width:calc(var(--wide) + 2*var(--gutter));margin-inline:auto}
.wordmark{justify-self:start;display:inline-flex;align-items:center;min-height:44px;color:var(--ink);text-decoration:none}
.nav{display:flex;align-items:center;gap:clamp(18px,2.2vw,32px);font-size:14.5px;color:var(--fog)}
.nav a{text-decoration:none;padding-block:7px;border-bottom:1.5px solid transparent;transition:color .15s,border-color .15s;white-space:nowrap}
.nav a:hover{color:var(--ink)}
.nav a[aria-current=page]{color:var(--ink);border-bottom-color:var(--ink)}
.nav .nav-login{display:none}
.acts{justify-self:end;display:flex;align-items:center;gap:18px}
.login{font-size:14.5px;color:var(--fog);text-decoration:none;white-space:nowrap}.login:hover{color:var(--ink)}
.menu-btn{display:none;align-items:center;gap:8px;background:transparent;border:1px solid var(--strong-line);border-radius:8px;padding:0 12px;height:38px;font:500 14px/1 var(--body);color:var(--ink);cursor:pointer}
.menu-btn:hover{background:var(--raised)}
.menu-ico{position:relative;width:14px;height:1.5px;background:currentColor;box-shadow:0 -4.5px 0 currentColor,0 4.5px 0 currentColor;transition:transform .2s,box-shadow .2s}
header.open .menu-ico{transform:rotate(45deg);box-shadow:0 0 0 transparent,0 0 0 transparent}
header.open .menu-ico::after{content:"";position:absolute;inset:0;background:currentColor;transform:rotate(90deg)}
@media (max-width:959px){
  .bar{grid-template-columns:auto 1fr auto}
  .nav{position:absolute;left:0;right:0;top:100%;display:none;flex-direction:column;align-items:stretch;gap:0;padding:4px var(--gutter) 12px;background:var(--ground);border-bottom:1px solid var(--line);box-shadow:0 18px 30px -26px rgba(0,0,0,.4)}
  header.open .nav{display:flex}
  .nav a{padding:14px 0;border-bottom:1px solid var(--line);font-size:17px;color:var(--ink)}
  .nav a:last-child{border-bottom:0}
  .nav a[aria-current=page]{border-bottom-color:var(--line);font-weight:600}
  .nav .nav-login{display:block;color:var(--fog)}
  .acts{gap:10px}
  .acts .login{display:none}
  .menu-btn{display:inline-flex;order:2;height:44px}
  .bar .btn-sm{min-height:44px}
}
@media (max-width:420px){
  .menu-btn{padding:0;width:44px;justify-content:center}
  .menu-btn .t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .bar{gap:12px}
  .bar .btn-sm{padding:10px 12px;font-size:13.5px}
}
@media (max-width:340px){ .wordmark .wm{--wm-h:17px} .bar{gap:8px} .bar .btn-sm{padding:10px 9px;font-size:13px} }

/* Sections: whitespace between them, no rules. A page built of .blk sections (all four
   now) spaces them by margin, so an inset card and open white space get the same gap. */
section{padding-block:clamp(60px,7vw,104px)}
main > .blk{padding-block:0;margin-block:var(--sec)}
main > .blk:first-child{margin-top:clamp(12px,2vw,24px)}
main > .blk:last-child{margin-bottom:clamp(56px,7vw,104px)}
.sec-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px 64px;align-items:end;margin-bottom:36px}
.sec-head h2{font-size:clamp(32px,3.8vw,50px);line-height:1.04;letter-spacing:-.035em}
.sec-head p{color:var(--fog);font-size:17px;max-width:36em}
.actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}

/* ── Components ───────────────────────────────────────────── */
/* Headlines: .h2 for a section, .h2-xl for a chapter. */
.h2{font-size:clamp(30px,3vw,40px);line-height:1.1;letter-spacing:-.035em}
.h2-xl{font-size:clamp(40px,4.6vw,64px);line-height:1.04;letter-spacing:-.04em}

/* The chapter label. Its dot is the brand's bronteken, the full stop of the wordmark. */
.pill{display:inline-flex;align-items:center;gap:8px;background:var(--ground);border:1px solid var(--line);border-radius:999px;font:500 14px/1 var(--body);padding:8px 14px;color:var(--strong);white-space:nowrap}
.pill::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--blue)}

/* Chips: grey for what anyone has, blue only for what is sourced or known. On a grey
   card a grey chip turns white. */
.chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.chip{display:inline-flex;align-items:center;font:500 15px/1.25 var(--body);padding:8px 14px;border-radius:999px;background:var(--raised);color:var(--strong)}
.chip.is-known{background:var(--blue-soft);color:var(--blue-ink)}

/* A small label inside a card: Nu, Met hooms, Voorbeeld. Fog, not muted: muted on grey is
   under 4.5:1 (design guidelines §3). */
.tag{display:inline-block;font:600 11px/1.2 var(--body);letter-spacing:.1em;text-transform:uppercase;padding:4px 8px;border-radius:6px;background:var(--raised);color:var(--fog);white-space:nowrap}

/* Section headers: split (claim left, paragraph right) or centred (a chapter). In a split
   header the pill has a row of its own, so the paragraph starts level with the claim and
   never above it, however long either is. */
.sec-split{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);column-gap:calc(100% / 12);row-gap:20px;align-items:start}
.sec-split > .pill{grid-column:1 / -1;justify-self:start}
.sec-split > p:not(.pill){color:var(--fog);font-size:17px;line-height:1.6;padding-top:.25em}
.sec-split > p b{color:var(--ink);font-weight:600}
.sec-center{max-width:760px;margin-inline:auto;text-align:center}
.sec-center .pill+h2{margin-top:20px}
.sec-center > p:not(.pill){color:var(--muted);font-size:17.5px;line-height:1.55;margin-top:16px}
@media (max-width:899px){ .sec-split{grid-template-columns:1fr} .sec-split > p:not(.pill){padding-top:0} }

/* Cards. .card is grey; .card-xl is a section's own sheet, inset in .wrap-wide; its
   content lines up with the text of .wrap where there is room. .card-white floats on grey. */
.card{background:var(--raised);border-radius:var(--card);padding:32px}
.card .chip:not(.is-known),.card-xl .chip:not(.is-known),.card .tag,.card-xl .tag{background:var(--ground)}
.card-xl{position:relative;background:var(--raised);border-radius:var(--sheet);padding:clamp(28px,5vw,64px);padding-inline:max(clamp(20px,5vw,64px),calc((100% - 1200px) / 2))}
.card-white{background:var(--ground);border:1px solid var(--line);border-radius:var(--card);box-shadow:var(--shadow-card)}
.card-white .tag,.card-white .chip:not(.is-known){background:var(--raised)}
@media (max-width:599px){ .card{padding:24px 20px} }

/* A feature: a line icon in a grey square, a title, one line. */
.feat{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:16px;align-items:start}
.feat-ico{grid-row:span 2;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--raised);color:var(--ink)}
.feat-ico svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.feat b,.feat h3,.feat h4{display:block;font:600 16px/1.35 var(--body);letter-spacing:-.005em;padding-top:1px}
.feat p{color:var(--fog);font-size:15px;line-height:1.5;margin-top:3px}
.card .feat-ico,.card-xl .feat-ico{background:var(--ground)}

/* A number and what it counts, with a hairline between columns. The number is in the
   HTML; site.js only counts up to it. */
.stats{display:grid;grid-template-columns:repeat(var(--cols,4),minmax(0,1fr));list-style:none;margin:0;padding:0}
.stat{padding:2px clamp(16px,2.4vw,32px);border-left:1px solid var(--line)}
.stat:first-child{border-left:0;padding-left:0}
.stat-n{display:block;font:600 clamp(36px,4vw,48px)/1 var(--display);letter-spacing:-.035em;font-variant-numeric:tabular-nums;white-space:nowrap}
.stat-l{display:block;color:var(--muted);font-size:14px;line-height:1.45;margin-top:12px;max-width:16em}
@media (max-width:767px){
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:28px}
  .stat:nth-child(odd){border-left:0;padding-left:0}
}

/* A phone in CSS: an ink bezel, the island, and the app's own screenshot. */
.phone{position:relative;width:var(--phone-w,300px);border:10px solid var(--ink);border-radius:44px;background:var(--ground);overflow:hidden;box-shadow:var(--shadow-card)}
.phone::before{content:"";position:absolute;z-index:1;top:9px;left:50%;width:32%;height:22px;transform:translateX(-50%);border-radius:12px;background:var(--ink)}
.phone .screen{display:block;padding-top:38px;background:var(--ground)}
.phone img{display:block;width:100%;height:auto}

/* The bouwtekening grid (site.js, I1): a canvas behind a card's content, faded out with
   a mask so it dissolves over several cells. radial centres on --gx/--gy; fade-x comes in
   from the right edge over --gf of the width. */
.has-grid{position:relative;isolation:isolate;overflow:hidden}
.grid-cv{position:absolute;inset:0;z-index:-1;width:100%;height:100%;pointer-events:none;-webkit-mask-image:var(--grid-mask);mask-image:var(--grid-mask)}
.grid-cv[data-grid=radial]{--grid-mask:radial-gradient(var(--gr,58% 78%) at var(--gx,74%) var(--gy,50%),#000 0%,rgba(0,0,0,.78) 25%,rgba(0,0,0,.45) 50%,rgba(0,0,0,.18) 75%,transparent 100%)}
.grid-cv[data-grid=fade-x]{--grid-mask:linear-gradient(to left,#000 0%,rgba(0,0,0,.78) calc(var(--gf,60%) * .25),rgba(0,0,0,.45) calc(var(--gf,60%) * .5),rgba(0,0,0,.18) calc(var(--gf,60%) * .75),transparent var(--gf,60%))}

/* Reveal (I5): section headers settle up 12 px as they come into view. Only with JS, so
   the text is there without it, and never with reduced motion. */
.js .rv{opacity:0;transform:translateY(12px);transition:opacity .45s var(--out),transform .45s var(--out)}
.js .rv.in{opacity:1;transform:none}

/* A closing card for the subpages: a grey sheet with the grid, the heading centred, one
   black button and a quiet one. The homepage closes on its dark pilot card instead. */
.cta-card{text-align:center;--gx:50%;--gy:50%;--gr:70% 120%}
.cta-card p{color:var(--fog);font-size:17px;line-height:1.55;margin:16px auto 0;max-width:30em}
.cta-card .actions{justify-content:center;margin-top:28px}

/* Footer: the wordmark and the brand line, three columns of links, contact on the right,
   and the copyright under a hairline. */
footer{border-top:1px solid var(--line);padding-block:56px 32px;color:var(--fog);font-size:14.5px;background:var(--ground)}
.foot{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,2.4fr) minmax(0,1fr);gap:40px clamp(24px,4vw,64px);align-items:start}
.foot-sign .wm{--wm-h:24px}
.foot-sign p{margin-top:14px;color:var(--ink);font-size:15px;max-width:16em}
.foot-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.foot-h{font:600 13.5px/1.2 var(--body);letter-spacing:0;color:var(--ink);margin:0 0 14px}
.foot ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.foot a{text-decoration:none}.foot a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.foot-contact{justify-self:end;text-align:right}
.foot-contact p+p{margin-top:10px}
.foot-legal{grid-column:1/-1;border-top:1px solid var(--line);padding-top:20px;font-size:13.5px;color:var(--muted)}
/* LinkedIn: its "in" mark in one colour, the quiet grey of the links around it. */
.social{display:inline-flex;align-items:center;gap:9px;color:var(--fog);text-decoration:none}
.social:hover{color:var(--ink)}
.social svg{flex:none;display:block}

@media (max-width:900px){
  .sec-head{grid-template-columns:1fr}
  .foot{grid-template-columns:1fr 1fr}
  .foot-nav{grid-column:1/-1;order:2}
  .foot-contact{justify-self:start;text-align:left}
  .foot-legal{order:3}
}
@media (max-width:559px){
  footer{padding-block:44px 28px}
  .foot{grid-template-columns:1fr}
  .foot-nav{grid-template-columns:1fr 1fr;row-gap:28px}
  .foot-contact{order:3}
  .foot-legal{order:4}
  .foot ul{gap:0}
  .foot ul a{display:inline-flex;align-items:center;min-height:44px}
}
/* On a touch screen every link in the footer, and Volg ons op LinkedIn on the subpages,
   is at least 44 px tall. */
@media (max-width:959px){
  .foot-contact a,.follow .social{display:inline-flex;align-items:center;min-height:44px}
  .foot-contact p+p{margin-top:0}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .rv{opacity:1;transform:none;transition:none}
}
