/* Tech Office Haarlem */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-wght-normal.woff2?v=0640890476") format("woff2");
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/fonts/mulish-latin-wght-normal.woff2?v=8d1d33d6be") format("woff2");
}
@font-face {
  font-family: "Mulish";
  font-style: italic;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/fonts/mulish-latin-wght-italic.woff2?v=7380fb751b") format("woff2");
}

:root {
  --ink: #1f1f1f;
  --cream: #fefaf6;
  --white: #fff;
  --muted: #666;
  --muted-on-yellow: #4a4434;
  --yellow: #fcdb67;
  --blue: #6788fc;
  --orange: #fc9167;
  --grey: #8c8c8c;
  --line: rgb(31 31 31 / 0.14);
  --shadow: 0 12px 32px rgb(31 31 31 / 0.07);
  --shadow-lift: 0 18px 44px rgb(31 31 31 / 0.12);
  --radius: 20px;
  --font-head: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Mulish", ui-sans-serif, system-ui, sans-serif;
  --gutter: 20px;
  --edge-h: 50px;
  color-scheme: light;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; }
figure { margin: 0; }
blockquote { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4, h5, h6, .h3, .h4, .h5, .h6 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 1.25rem + 3.4vw, 4rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 1.9vw, 3rem); font-weight: 700; line-height: 1.15; }
h3, .h3 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.3rem); font-weight: 600; line-height: 1.2; }
h4, .h4 { font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem); font-weight: 700; line-height: 1.25; }
h5, .h5 { font-size: clamp(1.2rem, 1.12rem + 0.25vw, 1.3rem); font-weight: 600; line-height: 1.3; }
h6, .h6 { font-size: clamp(1rem, 0.96rem + 0.15vw, 1.1rem); font-weight: 600; line-height: 1.35; }

.container { width: min(1140px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1rem + 0.2vw, 1.15rem); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font: 500 1rem/1.2 var(--font-head);
  color: var(--white); background: var(--ink);
  border: 1px solid var(--ink); border-radius: 8px;
  padding: 13px 34px;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn-light { background: rgb(31 31 31 / 0.07); color: var(--ink); border-color: transparent; padding: 11px 26px; font-size: 0.92rem; }
.btn-light:hover { background: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-small { padding: 10px 22px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* Header */
.site-header { position: relative; z-index: 20; background: var(--yellow); }
.header-bar { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand img { width: 173px; height: auto; }
.site-nav { flex: 1; display: flex; align-items: center; }
.site-nav ul { display: flex; gap: 36px; list-style: none; margin: 0 auto; padding: 0; }
.site-nav ul a {
  display: block; padding: 6px 0;
  font: 500 0.95rem var(--font-head); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav ul a:hover { border-bottom-color: rgb(31 31 31 / 0.35); }
.site-nav ul a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 10px;
  background: var(--ink); color: var(--white); cursor: pointer; place-items: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: grid; }

@media (max-width: 860px) {
  .header-bar { min-height: 68px; }
  .brand img { width: 140px; }
  .nav-toggle { display: grid; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 4px var(--gutter) 24px; background: var(--yellow);
    box-shadow: 0 16px 24px rgb(31 31 31 / 0.12);
  }
  .nav-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; margin: 0; }
  .site-nav ul a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid rgb(31 31 31 / 0.12); }
  .site-nav ul a[aria-current="page"] { border-bottom-color: rgb(31 31 31 / 0.12); text-decoration: underline; text-decoration-thickness: 2px; }
  .header-cta { align-self: flex-start; }
}

/* Sections, bands and brush edges */
.section { position: relative; padding: clamp(56px, 8vw, 110px) 0; }
.section-tight { padding: clamp(40px, 6vw, 80px) 0; }
.band-yellow { background-color: var(--yellow); --muted: var(--muted-on-yellow); }
.bg-blob-right { background: var(--yellow) url("/assets/img/bg-yellow-blob-right.webp?v=0540474ad6") right bottom / cover no-repeat; }
.bg-blob-left { background: var(--yellow) url("/assets/img/bg-yellow-blob-left.webp?v=090febb818") left bottom / cover no-repeat; }
.bg-blob-corner { background: var(--yellow) url("/assets/img/bg-yellow-blob-corner.webp?v=133c66f1a5") left bottom / min(1600px, 140%) auto no-repeat; }
.bg-blob-corner-hero { background: var(--yellow) url("/assets/img/bg-yellow-blob-corner.webp?v=133c66f1a5") left 70% / cover no-repeat; }
.bg-cream-brush { background: var(--cream) url("/assets/img/bg-cream-brush.webp?v=865abeb5fd") center / cover no-repeat; }
/* Single-column layouts get tall: a covering blob would run through the text. */
@media (max-width: 900px) {
  .bg-blob-right, .bg-blob-left, .bg-blob-corner, .bg-blob-corner-hero { background-image: none; }
}

.edge-top::before, .edge-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--edge-h); z-index: 1;
  background: var(--cream); pointer-events: none;
  -webkit-mask: url("/assets/img/brush-edge.svg?v=1436584d34") center top / 260% 100% no-repeat;
  mask: url("/assets/img/brush-edge.svg?v=1436584d34") center top / 260% 100% no-repeat;
}
.edge-top::before { top: -1px; }
.edge-bottom::after { bottom: -1px; transform: rotate(180deg); }

.section-title { text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.decorated { overflow: hidden; }
.deco { position: absolute; pointer-events: none; }
.deco-tl { top: clamp(28px, 4vw, 56px); left: max(16px, 50% - 520px); width: 96px; }
.deco-tr { top: clamp(36px, 5vw, 64px); right: max(16px, 50% - 500px); width: 56px; }
.deco-hero { top: 28px; left: max(16px, 50% - 360px); width: 110px; opacity: 0.85; }
@media (max-width: 767px) {
  :root { --gutter: 16px; --edge-h: 24px; }
  .deco { display: none; }
}

/* Hero */
.hero { position: relative; padding: clamp(40px, 6vw, 90px) 0 clamp(88px, 10vw, 140px); }
.hero-center { text-align: center; padding-top: clamp(56px, 8vw, 110px); }
.hero-center .lead { margin-inline: auto; max-width: 40em; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero-text .lead { max-width: 30em; }
.stars { display: flex; gap: 6px; margin: 28px 0 0; }
.stars .icon { width: 26px; height: 26px; }
.hero-media { position: relative; padding-bottom: 44px; }
.hero-media .photo-frame img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.stat-card {
  position: absolute; left: clamp(-28px, -2vw, 0px); bottom: 0;
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border-radius: 18px; padding: 14px 26px 14px 16px;
  box-shadow: var(--shadow-lift);
}
.stat-card img { width: 64px; }
.stat-number { font: 700 clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem)/1.05 var(--font-head); margin: 0; font-variant-numeric: tabular-nums; }
.stat-label { margin: 2px 0 0; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; width: 100%; margin-inline: auto; }
  .stat-card { left: 16px; }
}

/* Photos */
.photo-frame { border: 10px solid var(--ink); border-radius: 26px; overflow: hidden; background: var(--ink); position: relative; }
.photo-frame img { width: 100%; }
.photo-frame-thin { border: 0; border-radius: var(--radius); }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-intro { align-items: start; }
.split-intro h2 { font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.6rem); margin: 0; }
.split-intro p { margin: 0; color: var(--muted); }
.split-media .photo-frame img { aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-media .photo-frame { max-width: 560px; }
}

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font: 500 0.98rem/1.4 var(--font-head); }
.checklist .icon-check { width: 21px; height: 21px; margin-top: -1px; color: var(--ink); }
.icon-check .tick { stroke: var(--check-tick, var(--white)); }
.band-yellow { --check-tick: var(--yellow); }
.checklist-yellow .icon-check { color: var(--yellow); --check-tick: var(--ink); }
.checklist-small li { font-size: 0.9rem; }

/* Feature cards */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.feature-card-top, .company-logo {
  display: grid; place-items: center; min-height: 190px;
  background-image: url("/assets/img/card-pattern.webp?v=79fbdb63c0"); background-size: cover; background-position: center;
}
.feature-card-top img { width: 120px; }
.feature-card-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 26px 30px 30px; }
.feature-card-body p { flex: 1; color: var(--muted); font-size: 0.95rem; }
.tone-yellow { background-color: var(--yellow); }
.tone-blue { background-color: var(--blue); }
.tone-orange { background-color: var(--orange); }
.tone-grey { background-color: var(--grey); }

/* Client logos */
.clients {
  list-style: none; padding: 0; margin: 28px auto 36px; max-width: 980px;
  display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 28px 40px;
}
.clients img { height: 38px; width: auto; filter: grayscale(1); opacity: 0.75; transition: filter 0.2s, opacity 0.2s; }
.clients img:hover { filter: none; opacity: 1; }

/* Companies */
.company-list { display: grid; gap: 28px; max-width: 920px; margin-inline: auto; }
.company { display: grid; grid-template-columns: 38% 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.company-logo { min-height: 280px; }
.company-logo img { width: 150px; }
.company-body { padding: clamp(24px, 3vw, 40px); }
.company-body p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 700px) {
  .company { grid-template-columns: 1fr; }
  .company-logo { min-height: 200px; }
}

/* Testimonials and quotes */
.testimonial-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.quote > p { font-size: 1.02rem; }
.person { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; line-height: 1.4; }
.person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.photo-badge .badge {
  position: absolute; left: 16px; bottom: 16px; width: 150px;
  background: var(--white); border-radius: 12px; padding: 8px 12px;
}
.photo-badge > img:first-child { aspect-ratio: 4 / 5; object-fit: cover; }
.quote-plain { font: 600 1.1rem/1.5 var(--font-head); }
@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .photo-badge { max-width: 460px; }
}

.media-stack { position: relative; padding-bottom: 110px; }
.media-stack .photo-frame img { aspect-ratio: 4 / 3; object-fit: cover; }
.quote-card {
  position: absolute; right: -20px; bottom: 0; width: min(390px, 88%);
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-lift);
}
.quote-card img { width: 92px; height: 92px; border-radius: 12px; object-fit: cover; }
.quote-card p { font-style: italic; font-size: 0.92rem; line-height: 1.5; margin: 0 0 0.6em; }
.quote-card footer { font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
.quote-card footer strong { color: var(--ink); font-family: var(--font-head); font-size: 1rem; }
.quote-card-inline { position: static; width: auto; max-width: 460px; margin-top: 28px; }
.quote-bar { margin: 24px 0; padding-left: 20px; border-left: 4px solid var(--yellow); }
.quote-bar p { font-style: italic; font-weight: 700; font-size: 0.95rem; margin: 0; }
@media (max-width: 900px) {
  .media-stack { padding-bottom: 0; }
  .quote-card { position: relative; right: auto; margin: -48px 0 0 auto; }
}

/* Video */
.video { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); }
.video > img { width: 100%; height: 100%; object-fit: cover; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 78px; height: 78px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgb(255 255 255 / 0.92); color: var(--ink); box-shadow: var(--shadow-lift);
  transition: transform 0.2s;
}
.video-play:hover { transform: scale(1.08); }
.video-play .icon { width: 30px; height: 30px; margin-left: 4px; }
.caption-card {
  position: relative; width: 86%; margin: -34px auto 28px; text-align: center;
  background: var(--white); border-radius: 14px; padding: 14px 20px; box-shadow: var(--shadow-lift);
}
.caption-card p { font: 600 0.95rem/1.4 var(--font-head); margin: 0 0 0.25em; }
.caption-card footer { font-size: 0.85rem; }

/* Perks */
.why-title { max-width: 15em; margin-bottom: clamp(32px, 4vw, 56px); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; text-align: center; }
.perks img { width: 84px; margin: 0 auto 14px; }
.perks h3 { margin-bottom: 0.4em; }
.perks p { color: var(--muted); font-size: 0.92rem; max-width: 22em; margin: 0 auto; }
@media (max-width: 900px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } }

/* Job list */
.job-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 18px; }
.job-list li {
  position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1.3fr auto; align-items: center; gap: 12px 24px;
  background: var(--white); border-radius: 16px; padding: 22px 28px; box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.job-list li:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.job-list li:hover .btn-light { background: var(--ink); color: var(--white); }
.job-list h3 { margin: 0; }
.job-list h3 a { text-decoration: none; }
.job-list h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.job-meta { display: inline-flex; align-items: center; gap: 8px; font: 600 0.95rem var(--font-head); }
.job-meta .icon { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .job-list li { grid-template-columns: 1fr 1fr; }
  .job-list h3 { grid-column: 1 / -1; }
  .job-list .btn-light { display: none; }
}

/* FAQ and calls to action */
.faq-block { margin-top: clamp(64px, 8vw, 110px); }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 64px; }
.faq h2, .faq h3 { padding-left: 12px; border-left: 3px solid var(--white); }
.faq p { font-size: 0.95rem; color: var(--muted); }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }
.cta { margin-top: clamp(56px, 7vw, 100px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.cta > p:not(.btn-row) { max-width: 40em; margin-inline: auto; }
.section > .cta:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* Contact */
.contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.hero hr { border-top-color: rgb(31 31 31 / 0.2); max-width: 340px; margin-left: 0; }
.contact-list { display: grid; gap: 18px; margin: 0; }
.contact-list dt { font-size: 0.9rem; color: var(--muted); }
.contact-list dd { margin: 0; }
.contact-list a { display: inline-flex; align-items: center; gap: 10px; font: 600 1.15rem var(--font-head); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list .icon { width: 20px; height: 20px; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); box-shadow: 0 24px 56px rgb(31 31 31 / 0.14); }
.contact-card p { color: var(--muted); font-size: 0.95rem; }
.map { margin-top: 8px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: #ece7df; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.places { align-items: start; }
.places img { aspect-ratio: 1 / 1; object-fit: cover; }
.places figcaption { margin-top: 16px; font-family: var(--font-head); }
.talent-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  align-self: stretch; min-height: 320px; padding: 48px 32px; border-radius: var(--radius);
  background: var(--yellow) url("/assets/img/bg-yellow-blob-card.webp?v=e71d1aaf26") center / cover no-repeat;
}
.talent-card p { font-size: 0.95rem; max-width: 18em; }

/* Job pages */
.hero-job { text-align: center; padding: clamp(32px, 5vw, 64px) 0 clamp(72px, 8vw, 110px); }
.hero-job h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.1; }
.breadcrumb { margin: 0 0 18px; }
.breadcrumb a { display: inline-flex; align-items: center; gap: 8px; font: 600 0.9rem var(--font-head); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.job-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin: 0; }
.article { max-width: 820px; }
.tab-list { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.tab-list[hidden] { display: none; }
.tab-list button {
  font: 600 1rem var(--font-head); color: var(--muted); background: none; cursor: pointer;
  padding: 12px 20px; margin-bottom: -1px; border: 0; border-bottom: 3px solid transparent;
}
.tab-list button:hover { color: var(--ink); }
.tab-list button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tab-panel[hidden] { display: none; }
.tabs:not(.is-ready) .tab-panel + .tab-panel { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 1.6em 0 0.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: #b8962a; }
.job-apply { margin: 48px 0 0; }

/* 404 */
.not-found { padding: clamp(40px, 7vw, 100px) 0 clamp(100px, 11vw, 170px); }
.not-found-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.not-found-art img { width: min(100%, 480px); margin-inline: auto; }
.not-found-code {
  font: 700 clamp(5rem, 3rem + 8vw, 10rem)/0.9 var(--font-head); letter-spacing: -0.02em;
  margin: 0 0 0.12em; color: transparent; -webkit-text-stroke: 3px var(--ink);
}
.not-found h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.not-found .lead { max-width: 30em; }
.not-found-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 28px; font-size: 0.95rem; }
.not-found-links p { margin: 0; color: var(--muted); }
.not-found-links ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; }
.not-found-links a { font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .not-found-art img { animation: drift 7s ease-in-out infinite; }
  @keyframes drift { 50% { transform: translate(6px, -14px) rotate(-3deg); } }
}
@media (max-width: 820px) {
  .not-found-grid { grid-template-columns: 1fr; text-align: center; }
  .not-found-art img { width: 240px; }
  .not-found .lead { margin-inline: auto; }
  .not-found .btn-row, .not-found-links { justify-content: center; }
}

/* Footer */
.site-footer { padding: clamp(48px, 6vw, 72px) 0 24px; }
.footer-main { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand img { width: 250px; }
.footer-contact h2 { margin: 0 0 14px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 20px; font-size: 0.85rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); text-decoration: underline; }

/* Scroll reveal (only when JS runs; see site.js) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
