/* Innerwork Systems: shared base for index.html and prijzen.html.
   Tokens, buttons, header and menu, the hero, section heads, pastel tiles, the dark booking section and the footer. */
:root {
  color-scheme: light;
  --white: #FFFFFF;
  --black: #0D0D0F;
  --ink: #0D0D0F;
  --mute: #5E5E66;
  --mute-dark: #A4A4AE;
  --line: #E7E7EA;
  --line-dark: #26262B;
  --sage: #B7C4A9;
  --champagne: #F0E3A2;
  --blush: #F5C8D8;
  --lilac: #D8CCF4;
  --mist: #EFEFEC;

  --f-display: "Bricolage Grotesque", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --t-hero: clamp(3.3rem, 10.6vw, 10.5rem);
  --t-h2: clamp(2.5rem, 6.4vw, 5.6rem);
  --t-h3: clamp(1.5rem, 2.2vw, 1.9rem);

  --radius: 22px;
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0;
  background: var(--white); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; margin: 0; line-height: 0.95; letter-spacing: -0.045em; text-wrap: balance; font-optical-sizing: auto; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2.5px solid var(--black); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .m-teaser :focus-visible { outline-color: var(--white); }

.wrap { max-width: 1360px; margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }
@media (min-width: 760px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
.dark { background: var(--black); color: var(--white); }
.section { padding-block: clamp(84px, 11vw, 160px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  border-radius: 999px; padding: 15px 26px; text-decoration: none; cursor: pointer;
  font-weight: 600; font-size: 0.98rem; border: 1.5px solid var(--black);
  background: var(--black); color: var(--white); transition: transform .25s, background .25s, color .25s, border-color .25s;
}
.pill:hover { transform: translateY(-2px); }
.pill.ghost { background: transparent; color: var(--black); }
.pill.ghost:hover { background: var(--black); color: var(--white); }
.pill.light { background: var(--white); color: var(--black); border-color: var(--white); }
.pill.light:hover { background: var(--blush); border-color: var(--blush); }
.pill.ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.28); }
.pill.ghost-light:hover { border-color: var(--white); }
.pill svg { width: 16px; height: 16px; transition: transform .25s; }
.pill:hover svg { transform: translateX(3px); }
.pill.sm { padding: 10px 18px; font-size: 0.9rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.header.scrolled { background: rgba(255,255,255,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.on-dark { background: rgba(13,13,15,.55); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header.on-dark .burger { color: var(--white); }
.header.on-dark .logo-img { filter: invert(1); }
.header.on-dark .pill { background: var(--white); color: var(--black); border-color: var(--white); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-block: 16px; }
.burger { justify-self: start; display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 8px 0; cursor: pointer; color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.burger i { display: grid; gap: 5px; width: 24px; }
.burger i::before, .burger i::after { content: ""; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 1.28rem; letter-spacing: -0.04em; white-space: nowrap; }
.logo-img { height: 30px; width: auto; display: block; }
.menu .logo-img, .footer .logo-img { filter: invert(1); }
.header .pill { justify-self: end; }
.header-end { justify-self: end; display: flex; align-items: center; gap: 22px; }
.hlink { font-weight: 600; font-size: 0.92rem; text-decoration: none; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s; padding-bottom: 2px; }
.hlink:hover, .hlink[aria-current="page"] { background-size: 100% 1.5px; }
.header.on-dark .hlink { color: var(--white); }
@media (max-width: 640px) { .hlink { display: none; } }
@media (max-width: 640px) {
  .burger span { display: none; }
  .header .pill { padding: 9px 14px; font-size: 0.85rem; }
  .header .pill svg { display: none; }
  .logo { font-size: 1.12rem; }
  .logo-img { height: 25px; }
}
.cta-short { display: none; }
@media (max-width: 480px) { .cta-long { display: none; } .cta-short { display: inline; } }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 70; background: var(--black); color: var(--white);
  display: grid; grid-template-rows: auto 1fr auto;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  clip-path: inset(0 0 100% 0); transition: clip-path .6s cubic-bezier(.77,0,.18,1); visibility: hidden;
}
.menu.open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu > .wrap { width: 100%; }
.menu-top { display: flex; justify-content: space-between; align-items: center; padding-block: 16px; }
.menu-close { background: none; border: 0; color: var(--white); cursor: pointer; font-weight: 600; display: inline-flex; gap: 10px; align-items: center; padding: 8px 0; }
.menu-close svg { width: 22px; height: 22px; }
.menu nav { display: grid; align-content: center; gap: 4px; }
.menu nav a {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 8vw, 6.4rem); letter-spacing: -0.045em; line-height: 1.04;
  text-decoration: none; display: flex; align-items: baseline; gap: 18px; width: fit-content;
  transform: translateY(30px); opacity: 0; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .6s, color .2s;
}
.menu nav a small { font-family: var(--f-body); font-size: 0.8rem; font-weight: 500; letter-spacing: .1em; color: var(--mute-dark); }
.menu nav a:hover { color: var(--blush); }
.menu.open nav a { transform: none; opacity: 1; }
.menu.open nav a:nth-child(2) { transition-delay: .05s; } .menu.open nav a:nth-child(3) { transition-delay: .1s; }
.menu.open nav a:nth-child(4) { transition-delay: .15s; } .menu.open nav a:nth-child(5) { transition-delay: .2s; }
.menu.open nav a:nth-child(6) { transition-delay: .25s; }
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; color: var(--mute-dark); font-size: 0.92rem; border-top: 1px solid var(--line-dark); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: calc(env(safe-area-inset-top, 0px) + clamp(150px, 20vw, 240px)); padding-bottom: clamp(90px, 11vw, 150px); isolation: isolate; --mx: 0; --my: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; opacity: .85; transition: translate 1.2s cubic-bezier(.2,.8,.2,1); }
.blob.b1 { width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; left: -16vw; bottom: -30vw; background: var(--blush); animation: drift1 16s ease-in-out infinite alternate; translate: calc(var(--mx) * 60px) calc(var(--my) * 40px); }
.blob.b2 { width: 38vw; height: 38vw; max-width: 560px; max-height: 560px; left: 18vw; bottom: -26vw; background: var(--lilac); animation: drift2 19s ease-in-out infinite alternate; translate: calc(var(--mx) * -50px) calc(var(--my) * -30px); }
.blob.b3 { width: 30vw; height: 30vw; max-width: 460px; max-height: 460px; right: -8vw; top: -6vw; background: var(--champagne); opacity: .55; animation: drift1 22s ease-in-out infinite alternate-reverse; translate: calc(var(--mx) * 40px) calc(var(--my) * 50px); }
@keyframes drift1 { to { transform: translate(6vw, -4vw) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-5vw, -6vw) scale(.92); } }
.hero-title { font-size: var(--t-hero); max-width: 12ch; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; animation: rise 1s cubic-bezier(.2,.8,.2,1) both; }
.hero-title .line:nth-child(2) > span { animation-delay: .08s; }
.hero-title .line:nth-child(3) > span { animation-delay: .16s; }
@keyframes rise { from { transform: translateY(105%); } }
.hero-title em { font-style: normal; position: relative; white-space: nowrap; }
.hero-title em::after {
  content: ""; position: absolute; left: 0.02em; right: 0.02em; bottom: 0.08em; height: 0.16em; z-index: -1;
  background: var(--champagne); border-radius: 0.1em; transform-origin: left; animation: swipe .9s .8s cubic-bezier(.7,0,.2,1) both;
}
@keyframes swipe { from { transform: scaleX(0); } }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 36px 60px; margin-top: clamp(40px, 5vw, 64px); }
.hero-foot p { max-width: 50ch; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: #2E2E35; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Section heads ---------- */
.head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 72px); max-width: 860px; }
.head h2 { font-size: var(--t-h2); }
.head p { color: var(--mute); max-width: 56ch; font-size: 1.1rem; }
.dark .head p { color: var(--mute-dark); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(44px, 6vw, 72px); }
.head-row .head { margin-bottom: 0; }
.t-sage { background: var(--sage); } .t-champ { background: var(--champagne); } .t-blush { background: var(--blush); } .t-mist { background: var(--mist); } .t-lilac { background: var(--lilac); }

/* ---------- Contact (dark) ---------- */
.contact { position: relative; overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; right: -18vw; top: -10vw; border-radius: 50%; filter: blur(90px); opacity: .16;
  background: radial-gradient(circle, var(--blush), var(--lilac) 55%, transparent 70%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
.contact-head { display: grid; gap: 26px; align-content: start; }
.contact-head h2 { font-size: clamp(3rem, 6.6vw, 6rem); }
.contact-head p { color: var(--mute-dark); max-width: 42ch; font-size: 1.1rem; }
.agenda { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.agenda li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.02rem; }
.agenda b { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.03em; color: var(--c); }
.mailrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--mute-dark); font-size: 0.95rem; }
.mailrow code { font-family: var(--f-body); font-weight: 600; font-size: 1.05rem; color: var(--white); user-select: all; }
.copy { background: transparent; border: 1.5px solid var(--line-dark); color: var(--mute-dark); border-radius: 999px; padding: 6px 14px; font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.copy:hover { border-color: var(--white); color: var(--white); }

@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; } }

.footer { border-top: 1px solid var(--line-dark); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding-block: 30px; color: var(--mute-dark); font-size: 0.9rem; }
.footer .logo { color: var(--white); }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--white); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 22px; padding-block: 18px calc(26px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-dark); color: var(--mute-dark); font-size: 0.82rem; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--white); }

/* Legal pages and footer: a detail still to fill in before going live: hard to miss on purpose. */
.todo { background: rgba(240,227,162,.55); outline: 1.5px dashed #B8A64A; outline-offset: 1px; border-radius: 4px; padding: 0 4px; font-weight: 600; color: var(--black); }

/* ---------- Call-to-action strip ---------- */
.cta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(22px, 3vw, 30px) clamp(22px, 3vw, 34px); border-radius: var(--radius); background: var(--mist); }
.cta-row p { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: -0.03em; line-height: 1.15; max-width: 32ch; text-wrap: balance; }
.cta-row.on-mist { background: var(--white); }
.cta-acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Floating call to action (phones) ---------- */
.float-cta { display: none; }
@media (max-width: 760px) {
  .float-cta { position: fixed; z-index: 45; left: var(--gl); right: var(--gr); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 6px; padding: 6px; border-radius: 999px;
    background: rgba(255,255,255,.84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.5), 0 0 0 1px rgba(13,13,15,.06);
    translate: 0 calc(100% + 40px); transition: translate .5s cubic-bezier(.2,.8,.2,1); }
  .float-cta.show { translate: 0 0; }
  .float-cta .pill { flex: 1; justify-content: center; padding: 13px 16px; font-size: 0.95rem; }
  .float-cta .pill.ghost { flex: 0 0 auto; border-color: rgba(13,13,15,.18); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
}
