:root {
  --bg: #f3f3f3;
  --ink: #555;
  --strong: #1c1c1c;
  --muted: #888;
  --line: #e0e0e0;
  --green: #99cc00;
  --measure: 1080px;
  --font: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: Outfit, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
}
.boot {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
body.is-ready .boot {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.boot-logo {
  display: flex;
  align-items: center;
  gap: 1px;
  color: var(--strong);
}
.boot-logo svg { width: 68px; height: 68px; }
.boot-logo .word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 68px;
  letter-spacing: -0.06em;
  line-height: 0.85;
  padding-top: 6px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #444; text-decoration: none; }
a:hover { color: var(--green); }
button, summary { font: inherit; color: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(var(--measure), calc(100% - 40px));
  margin-inline: auto;
}

header.site {
  position: relative;
  padding: 28px 0 18px;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 1px;
  color: var(--strong);
  flex: none;
}
.logo:hover { color: var(--strong); }
.logo svg { width: 40px; height: 40px; display: block; }
.logo .word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -0.06em;
  line-height: 0.85;
  padding-top: 4px;
}
nav.site ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.site a {
  font-size: 15px;
  letter-spacing: 0.01em;
  color: #3a3a3a;
}
nav.site a[aria-current="page"] { color: var(--green); }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex: none;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #1c1c1c;
  position: absolute;
  left: 11px;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}
.menu-btn span { top: 21px; }
.menu-btn span::before { content: ""; top: -7px; }
.menu-btn span::after { content: ""; top: 7px; }
body.nav-open .menu-btn span { background: transparent; }
body.nav-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
body.nav-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }
.lang-desk { display: flex; gap: 4px; margin-left: 18px; }
.lang-desk button, .lang button {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #888;
  padding: 6px 4px;
  letter-spacing: 0.06em;
}
.lang-desk button[aria-pressed="true"], .lang button[aria-pressed="true"] { color: #1c1c1c; }
.menu-options { display: none; }

.hero, .frame, .gallery img, .card img, .person img, .logo-grid img, .panel img {
  background: #e7e7e7;
}

.slider { position: relative; }
.slides {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e7e7e7;
}
.slides figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.slides figure.is-on { opacity: 1; z-index: 1; pointer-events: none; visibility: visible; }
.slides img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.slides figcaption {
  position: absolute;
  left: 22px;
  bottom: 28px;
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.slides figure.is-on figcaption,
.slides figure.is-on figcaption a { pointer-events: auto; }
.slides figcaption a { color: #fff; }
.slider .ctrl {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 42px;
  height: 64px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.slider .prev { left: 6px; }
.slider .next { right: 6px; }
.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 0;
}
.dots button {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 99px;
  background: #c8c8c8;
  padding: 0;
  cursor: pointer;
}
.dots button[aria-current="true"] {
  width: 22px;
  background: var(--green);
}

.page { padding-bottom: 28px; }
h1, h2, h3 { font-weight: 400; color: #333; letter-spacing: 0; }
h2 { font-size: 28px; margin: 36px 0 16px; }
.prose h2:first-child { margin-top: 8px; }
.center { text-align: center; }
.prose ul { padding-left: 18px; }
.prose li { margin: 4px 0; }

.tabs { margin: 8px 0 28px; }
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.tablist button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 8px 0 10px;
  margin-bottom: -1px;
  cursor: pointer;
  color: #444;
}
.tablist button img { width: 28px; height: 28px; object-fit: contain; background: transparent; }
.tablist button[aria-selected="true"] {
  color: var(--green);
  border-bottom-color: var(--green);
}
.panel { display: none; }
.panel.is-on { display: block; }
.panel img + img { margin-top: 12px; }

.logo-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px 22px;
  padding: 0;
  margin: 0 0 20px;
  align-items: center;
}
.logo-grid img { width: 100%; object-fit: contain; background: transparent; }

.filters { display: flex; gap: 28px; margin: 6px 0 22px; }
.filters details { position: relative; }
.filters summary {
  cursor: pointer;
  list-style: none;
  letter-spacing: 0.04em;
}
.filters summary::-webkit-details-marker { display: none; }
.filters summary:after { content: " ▾"; color: #aaa; font-size: 12px; }
.filters details ul {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 100%;
  min-width: 180px;
  margin: 6px 0 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
}
.filters a, .filters button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 6px 14px;
  cursor: pointer;
}
.filters a[aria-current="true"], .filters button[aria-current="true"] { color: var(--green); }

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 22px;
}
.card.full { grid-column: 1 / -1; }
.card h3 { margin: 10px 0 0; font-size: 18px; font-weight: 400; }
.card .meta { color: var(--muted); font-size: 14px; }
.card.is-hidden { display: none; }
.empty { display: none; color: var(--muted); }
.empty.is-on { display: block; }

.project-head {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  align-items: start;
  margin: 22px 0 8px;
}
.project-head h1 { margin: 0; font-size: 28px; font-weight: 400; }
dl.meta { margin: 0; }
dl.meta div { display: grid; grid-template-columns: 11em 1fr; gap: 8px; margin: 0 0 6px; }
dl.meta dt { color: #777; }
dl.meta dd { margin: 0; color: #333; }
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.gallery img { width: 100%; }

.people {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 16px;
}
.person h3 { margin: 8px 0 0; font-size: 16px; font-weight: 400; text-align: center; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
  margin: 8px 0 10px;
}
.principles h3 { margin: 0 0 4px; font-size: 18px; font-weight: 400; color: #333; }
.principles p { margin: 0; }

.contact-photo { margin-bottom: 8px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 18px;
  margin: 18px 0 22px;
}
.contact-grid h2 { margin: 0 0 8px; font-size: 22px; }
.socials { display: flex; gap: 10px; align-items: center; }
.socials a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.socials svg { width: 22px; height: 22px; fill: #444; }
.socials a:hover svg { fill: var(--green); }
.map { margin: 0 0 10px; }
.map iframe { width: 100%; height: 420px; border: 0; background: #e7e7e7; }

.band { padding: 18px 0 6px; }
.kicker {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lead {
  margin: 0;
  max-width: 40rem;
  color: #333;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 300;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 148px;
  padding: 18px 16px;
  background: #fff;
  color: #333;
}
.tile strong { font-weight: 600; font-size: 17px; }
.tile span { color: #777; font-size: 15px; line-height: 1.4; }
.tile:hover strong { color: var(--green); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.chips a {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 99px;
  padding: 8px 14px;
  font-size: 14px;
}
.chips a:hover { border-color: var(--green); color: var(--green); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 14px;
  margin-top: 8px;
}
.work-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.more { margin: 14px 0 0; }
.more a { border-bottom: 1px solid var(--green); }
.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  background: #fff;
  padding: 22px;
  margin-top: 8px;
}
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  display: inline-block;
  background: #1c1c1c;
  color: #fff;
  padding: 12px 16px;
}
.btn:hover { background: var(--green); color: #1c1c1c; }
.btn-line { background: transparent; color: #1c1c1c; border: 1px solid #1c1c1c; }
.btn-line:hover { border-color: var(--green); }

.site-foot {
  padding: 36px 0 48px;
  font-size: 14px;
  line-height: 1.7;
}
.site-foot a { border-bottom: 1px dotted #444; }

@media (max-width: 800px) {
  .wrap { width: min(var(--measure), calc(100% - 28px)); }
  .logo svg { width: 32px; height: 32px; }
  .logo .word { font-size: 32px; }
  header.site {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--bg);
  }
  .lang-desk { display: none; }
  header.site .bar { position: relative; z-index: 70; background: var(--bg); }
  .logo, .menu-btn { position: relative; z-index: 80; }
  .menu-btn { display: block; }
  body.nav-open { overflow: hidden; }
  nav.site {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    inset: 0;
    z-index: 50;
    background: #f3f3f3;
    padding: 108px 28px 32px;
    overflow: auto;
    visibility: hidden;
    pointer-events: none;
  }
  nav.site.is-open { visibility: visible; pointer-events: auto; }
  nav.site ul { flex-direction: column; gap: 8px; align-items: flex-start; }
  nav.site ul a {
    font-size: clamp(36px, 10vw, 52px);
    line-height: 1.12;
    font-weight: 300;
    letter-spacing: -0.03em;
    color: #1c1c1c;
  }
  .menu-options { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
  .lang { display: flex; gap: 16px; }
  .lang button { font-size: 18px; padding: 0; }
  .menu-phone, .menu-mail { font-size: 16px; color: #555; }
  .grid, .gallery, .people, .principles, .contact-grid, .logo-grid, .project-head, .work-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tiles { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; }
  .lead { font-size: 22px; }
  .tile { min-height: 0; }
  .card.full, .project-head, .contact-grid { grid-column: auto; grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .slides figcaption { font-size: 16px; left: 12px; bottom: 10px; }
  dl.meta div { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 520px) {
  .grid, .gallery, .work-grid, .tiles { grid-template-columns: 1fr; }
  .lead { font-size: 20px; }
  .cta-actions { width: 100%; }
  .btn { text-align: center; }
}
