:root {
  --blue: #5b9bff;
  --blue-light: #a7d8ff;
  --ink: #1f2937;
  --muted: #6b7280;
  --background: #f8fafc;
  --accent: #deebf3;
  --white: #fff;
  --line: #dce4eb;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--background);
  font-family: Montserrat, Futura, Avenir, "Century Gothic", system-ui, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 18px max(24px, calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 190px;
  height: auto;
  object-fit: contain;
}

nav { display: flex; gap: 32px; }

nav a,
.text-link,
.project-copy a,
footer > a {
  position: relative;
  text-decoration: none;
}

nav a {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
}

nav a::after,
.text-link::after,
.project-copy a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

nav a:hover::after,
.text-link:hover::after,
.project-copy a:hover::after { transform: scaleX(1); transform-origin: left; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--blue);
  border-radius: 3px;
  color: var(--white);
  background: var(--blue);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.button:hover { color: var(--blue); background: transparent; transform: translateY(-2px); }
.button-small { justify-self: end; min-height: 40px; padding: 0 18px; font-size: .8rem; }

main > section,
footer {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - 77px);
  padding: 110px 0 90px;
  overflow: hidden;
  text-align: center;
}

.eyebrow,
.section-label,
.project-copy > p:first-child {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1 {
  position: relative;
  max-width: 1120px;
  margin: 24px 0 30px;
  font-size: clamp(4rem, 8.8vw, 8.2rem);
  font-weight: 500;
  letter-spacing: -.07em;
  line-height: .88;
}

.hero h1 span { color: var(--blue); }

.hero-text {
  position: relative;
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.hero-actions { position: relative; display: flex; align-items: center; gap: 30px; margin-top: 38px; }
.text-link { font-size: .9rem; font-weight: 700; }

.hero-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(54vw, 700px);
  transform: translate(-50%, -50%) rotate(-8deg);
  opacity: .065;
}

.hero-symbol img { width: 100%; }

.manifesto {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.manifesto h2,
.section-heading h2 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.05;
}

.manifesto > div > p {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.services { padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; margin-bottom: 70px; }
.section-heading .section-label { margin-top: 13px; }

.service-list { border-top: 1px solid var(--line); }

.service-list details {
  border-bottom: 1px solid var(--line);
  transition: background .25s ease;
}

.service-list summary {
  display: block;
  cursor: pointer;
  list-style: none;
}

.service-list .service-summary {
  display: grid;
  grid-template-columns: 1fr 1.45fr auto;
  gap: 40px;
  align-items: baseline;
  padding: 34px 0;
  transition: padding .25s ease, color .25s ease;
}

.service-list summary::marker { content: ""; }
.service-list summary::-webkit-details-marker { display: none; }
.service-list summary:hover .service-summary { padding-inline: 14px; color: var(--blue); }
.service-list summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.service-list .service-summary strong { font-size: 1.3rem; }
.service-list .service-summary > span,
.service-list details > p { color: var(--muted); }
.service-list .service-summary i { color: var(--blue); font-size: 1.5rem; font-style: normal; transition: transform .25s ease; }
.service-list details[open] { background: color-mix(in srgb, var(--accent) 45%, transparent); }
.service-list details[open] .service-summary i { transform: rotate(45deg); }
.service-list details > p { width: 58%; margin: -8px 0 0 40%; padding: 0 48px 32px 0; }

.work { padding: 120px 0; }

.project {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 470px;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.project-visual { display: grid; place-items: center; padding: 70px; overflow: hidden; }
.project-visual img { max-width: 72%; max-height: 230px; object-fit: contain; transition: transform .5s ease; }
.project:hover .project-visual img { transform: scale(1.04); }

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  border-left: 1px solid var(--line);
}

.project-copy h3 { margin: 8px 0 18px; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 500; letter-spacing: -.05em; }
.project-copy > p:not(:first-child) { margin: 0; color: var(--muted); }
.project-copy a { align-self: flex-start; margin-top: 34px; color: var(--blue); font-size: .86rem; font-weight: 700; }
.project-bontebok .project-visual { background: #f0f1f3; }
.project-sporttimer .project-visual { background: #dff3ff; }
.project-marcescencia .project-visual { background: #f5f0e8; }
.project-marcescencia .project-visual img { max-width: 88%; mix-blend-mode: multiply; }

.contact {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  padding: 100px 30px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  text-align: center;
}

.contact::before {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: var(--blue);
  filter: blur(140px);
  opacity: .19;
  content: "";
}

.contact > * { position: relative; }
.contact > img { width: 66px; margin-bottom: 28px; }
.contact > p { margin: 0 0 12px; color: var(--blue-light); }
.contact h2 { margin: 0 0 38px; font-size: clamp(2.6rem, 6vw, 5.5rem); font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.button-light { border-color: var(--white); color: var(--ink); background: var(--white); }
.button-light:hover { color: var(--white); }

.site-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1.35fr;
  gap: 70px;
  padding: 72px 0 34px;
  color: var(--muted);
  font-size: .82rem;
}

.site-footer p { margin: 0; }
.footer-brand > p { max-width: 300px; margin-top: 20px; }

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-column p {
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 700;
}

.footer-column a { text-decoration: none; transition: color .2s ease; }
.footer-column a:hover { color: var(--blue); }

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 30px;
  margin-top: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .75rem;
}

.reveal { transition: opacity .7s ease, transform .7s ease; }
.reveal-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(28px); }

@media (max-width: 800px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  main > section, footer { width: min(calc(100% - 32px), var(--max-width)); }
  .hero { min-height: calc(100svh - 71px); padding: 90px 0 72px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 5.2rem); }
  .hero-symbol { width: min(105vw, 520px); }
  .manifesto, .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .manifesto, .services, .work { padding: 82px 0; }
  .section-heading { margin-bottom: 44px; }
  .service-list .service-summary { grid-template-columns: 1fr auto; gap: 10px; }
  .service-list .service-summary > span { grid-column: 1; }
  .service-list .service-summary i { grid-column: 2; grid-row: 1 / 3; }
  .service-list details > p { width: auto; margin: -5px 40px 0 0; padding: 0 0 28px; }
  .project { grid-template-columns: 1fr; min-height: 0; }
  .project-visual { min-height: 300px; padding: 50px; }
  .project-copy { padding: 36px 28px 42px; border-top: 1px solid var(--line); border-left: 0; }
  .contact { width: 100%; margin-top: 50px; padding: 82px 24px; }
  .site-footer { grid-template-columns: 1.2fr 1fr; gap: 50px 28px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .site-header { padding-block: 14px; }
  .brand img { width: 158px; }
  .button-small { min-height: 38px; padding-inline: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-actions .button { width: 100%; }
  .project-visual { min-height: 250px; padding: 36px; }
  .site-footer { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

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