/* Stormcatch Group - stormcatch.nl */

:root {
  /* Group / page */
  --page-bg: #0d1117;
  --page-text: #e6e8eb;
  --page-muted: #9aa3ad;
  --line: rgba(255, 255, 255, 0.12);

  /* Stormcatch Webprojects (from logo) */
  --wp-blue: #3a89b0;
  --wp-blue-dark: #2f6f8f;
  --wp-blue-light: #cae0ea;
  --wp-ink: #18171c;
  --wp-bg: #ffffff;

  /* Stormcatch BV (from stormcatch.com) */
  --bv-navy: #060f2b;
  --bv-navy-2: #161843;
  --bv-gold: #f4d27a;
  --bv-yellow: #ffce00;
  --bv-text: #ffffff;

  --radius: 20px;
  --gap: 20px;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-bv: "Rubik", "Open Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--page-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Header */

.site-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 28px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--page-muted);
}

.site-header h1 {
  margin: 0;
  max-width: 30ch;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.25;
  font-weight: 600;
}

/* Grid: 50 / 50 */

.grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}

.tile {
  border-radius: var(--radius);
  min-width: 0;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tile:hover {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

/* Toggle (always visible part of the tile) */

.tile__toggle {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  min-height: clamp(380px, 58vh, 600px);
  padding: 40px 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

.tile__toggle:focus-visible {
  outline: 3px solid var(--focus, #ffce00);
  outline-offset: -6px;
  border-radius: var(--radius);
}

.tile__logo {
  height: 110px;
  display: flex;
  align-items: center;
}

.tile__logo img {
  max-height: 100%;
  width: auto;
}

.tile__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tile__name {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.tile__summary {
  font-size: 17px;
  line-height: 1.45;
}

.tile__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}

.tile__chevron {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid currentColor;
  position: relative;
  transition: transform 0.3s ease;
}

.tile__chevron::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.tile.is-open .tile__chevron {
  transform: rotate(180deg);
}

/* Panel (details, revealed on click) */

.tile__panel-inner {
  padding: 0 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.js .tile__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.js .tile__panel > .tile__panel-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.js .tile.is-open .tile__panel {
  grid-template-rows: 1fr;
}

.js .tile.is-open .tile__panel > .tile__panel-inner {
  opacity: 1;
}

.js .tile.is-open .tile__toggle {
  min-height: 0;
}

.tile h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.tile p {
  margin: 0;
}


.lead {
  font-size: 16.5px;
}

/* Shared: facts list */

.facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--facts-line, var(--line));
}

.facts div {
  min-width: 0;
}

.facts dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

.facts dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.facts a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* Shared: buttons */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn .icon {
  margin-right: 8px;
  flex-shrink: 0;
}

.btn:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus, #ffce00);
  outline-offset: 3px;
}

/* Webprojects tile */

.tile--webprojects {
  background: var(--wp-bg);
  color: var(--wp-ink);
  --facts-line: #e3e8ec;
  --focus: var(--wp-blue);
}

.tile--webprojects .tile__summary {
  color: #4a5560;
}

.tile--webprojects .tile__more {
  color: var(--wp-blue-dark);
}

.tile--webprojects .facts a {
  color: var(--wp-blue-dark);
}

.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  padding: 6px 12px;
  border-radius: 6px;
  background: #eef5f9;
  color: var(--wp-blue-dark);
  font-size: 14px;
  font-weight: 600;
}

.clients__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7780;
}

.clients__list {
  font-weight: 600;
  color: var(--wp-ink);
}

.btn--wp {
  background: var(--wp-blue);
  color: #fff;
}

.btn--wp:hover {
  background: var(--wp-blue-dark);
}

.btn--wp-ghost {
  border-color: var(--wp-blue);
  color: var(--wp-blue-dark);
}

.btn--wp-ghost:hover {
  background: #eef5f9;
}

/* Stormcatch BV tile */

.tile--bv {
  background: radial-gradient(120% 90% at 100% 0%, var(--bv-navy-2) 0%, var(--bv-navy) 60%);
  color: var(--bv-text);
  font-family: var(--font-bv);
  border: 1px solid rgba(244, 210, 122, 0.18);
  --facts-line: rgba(244, 210, 122, 0.25);
  --focus: var(--bv-yellow);
}

.tile--bv .tile__name {
  font-weight: 800;
}

.tile--bv .tile__more {
  color: var(--bv-gold);
}

.tile--bv .lead,
.tile--bv .audience {
  font-family: var(--font-body);
}

.tile--bv .audience {
  color: #c4c9d6;
  font-size: 15px;
}

.tagline {
  font-size: 20px;
  font-weight: 700;
  color: var(--bv-gold);
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checks li {
  position: relative;
  padding: 12px 14px 12px 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.35;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 15px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--bv-yellow);
}

.highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.highlights li {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--bv-gold);
  color: var(--bv-gold);
  font-size: 14px;
  font-weight: 500;
}

.tile--bv .facts a {
  color: var(--bv-gold);
}

.btn--bv {
  background: var(--bv-yellow);
  color: var(--bv-navy);
}

.btn--bv:hover {
  background: var(--bv-gold);
}

.btn--bv-ghost {
  border-color: var(--bv-gold);
  color: var(--bv-gold);
}

.btn--bv-ghost:hover {
  background: rgba(244, 210, 122, 0.1);
}

/* Footer */

.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--page-muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--page-text);
}

/* Responsive */

@media (max-width: 820px) {
  .grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .site-header,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tile__toggle {
    min-height: 0;
    padding: 28px 22px 22px;
    gap: 20px;
  }

  .tile__panel-inner {
    padding: 0 22px 26px;
  }

  .checks,
  .facts {
    grid-template-columns: 1fr;
  }

  .tile__logo {
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .tile,
  .tile__chevron,
  .js .tile__panel,
  .js .tile__panel > .tile__panel-inner {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
