:root {
  --bg: #e8ead9;
  --panel: #fbf7ee;
  --ink: #15120f;
  --muted: #797065;
  --line: rgba(21,18,15,.12);
  --card: rgba(255,255,255,.62);
  --accent: #ff8c4f;
  --lime: #b9ff2d;
  --shadow: 0 28px 90px rgba(21,18,15,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(185,255,45,.26), transparent 22rem),
    radial-gradient(circle at 88% 22%, rgba(255,140,79,.28), transparent 26rem),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
.site-header {
  position: sticky;
  top: 1rem;
  z-index: 20;
  width: min(1240px, calc(100% - 2rem));
  margin: 1rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .72rem .8rem .72rem .95rem;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(21,18,15,.08);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 900; letter-spacing: -.05em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--panel);
  font-size: .9rem;
}
.header-actions { display: flex; align-items: center; gap: .9rem; }
.nav { display: flex; gap: .45rem; color: var(--muted); font-weight: 800; font-size: .88rem; }
.nav a { padding: .62rem .85rem; border-radius: 999px; }
.nav a:hover { background: rgba(21,18,15,.06); color: var(--ink); }
.language-select select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .62rem 2rem .62rem .85rem;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  font-weight: 800;
}
main { width: min(1240px, calc(100% - 2rem)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .55fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2rem, 4vw, 3.4rem);
}
.eyebrow { color: var(--accent); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; margin: 0 0 1rem; }
h1 { margin: 0; font-size: clamp(3.4rem, 8vw, 7.6rem); line-height: .86; letter-spacing: -.085em; max-width: 920px; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: .95; letter-spacing: -.06em; }
.hero-copy { max-width: 44rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.65; margin: 1.25rem 0 0; }
.hero-card {
  min-height: 18rem;
  padding: 1.25rem;
  border-radius: 2rem;
  background: var(--lime);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.hero-card span { color: rgba(21,18,15,.62); font-weight: 800; }
.hero-card strong { display: block; margin-top: .4rem; font-size: clamp(2.2rem, 5vw, 4rem); line-height: .9; letter-spacing: -.08em; }
.toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 1rem;
  border-top: 1px solid var(--line);
}
.toolbar p { margin: .4rem 0 0; color: var(--muted); font-weight: 700; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter, .carousel-btn, .project-link, .contact-link, .secondary, .primary {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .78rem 1rem;
  background: rgba(255,255,255,.55);
  color: var(--ink);
  font-weight: 900;
}
.filter.active, .primary { background: var(--ink); color: var(--panel); border-color: var(--ink); }
.grid { padding: 1rem 0 6rem; }
.showcase-shell {
  border: 1px solid rgba(255,255,255,.65);
  border-radius: clamp(1.6rem, 3vw, 2.6rem);
  padding: clamp(1rem, 2.5vw, 2rem);
  background: rgba(251,247,238,.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.showcase-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0 0 1rem;
}
.showcase-topline p { margin: 0; color: var(--muted); font-weight: 800; }
.carousel-actions { display: flex; gap: .5rem; }
.carousel-btn {
  width: 3rem;
  height: 3rem;
  padding: 0;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--panel);
  border-color: var(--ink);
}
.work-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 31%);
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1px;
  padding: .4rem .2rem 1.1rem;
  scrollbar-width: thin;
}
.work-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: clamp(520px, 64vh, 690px);
  border-radius: 2rem;
  padding: 1.05rem;
  background: var(--card-bg, #f7eee7);
  box-shadow: 0 18px 48px rgba(21,18,15,.12);
  transition: transform .28s ease, box-shadow .28s ease;
}
.work-card:hover { transform: translateY(-10px); box-shadow: 0 28px 80px rgba(21,18,15,.17); }
.card-tags { display: flex; justify-content: space-between; gap: .6rem; margin-bottom: 1rem; }
.card-tags span {
  border-radius: 999px;
  padding: .55rem .72rem;
  background: rgba(255,255,255,.72);
  font-size: .78rem;
  font-weight: 900;
}
.card-media-link { display: block; margin-top: auto; }
.work-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 270px;
  border-radius: 1.45rem;
  background: rgba(255,255,255,.48);
  overflow: hidden;
}
.work-thumb { width: 100%; height: auto; max-height: 360px; object-fit: contain; display: block; }
.media-badge {
  position: absolute;
  left: .8rem;
  bottom: .8rem;
  border-radius: 999px;
  padding: .5rem .72rem;
  background: rgba(21,18,15,.86);
  color: white;
  font-weight: 900;
  font-size: .8rem;
}
.card-copy { padding: 1rem .25rem .1rem; }
.card-copy h3 { margin: 0; font-size: clamp(2rem, 3vw, 3.25rem); line-height: .92; letter-spacing: -.075em; }
.card-copy p { margin: .8rem 0 0; color: rgba(21,18,15,.68); line-height: 1.55; }
.project-link { display: inline-flex; margin-top: .9rem; padding: .7rem .9rem; background: rgba(255,255,255,.7); }
.empty { border: 1px dashed var(--line); border-radius: 1.5rem; padding: 2rem; color: var(--muted); background: rgba(255,255,255,.45); }
.about, .contact {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 2rem;
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}
.about p:last-child { margin: 0; font-size: clamp(1.2rem, 3vw, 2.2rem); line-height: 1.35; letter-spacing: -.04em; }
.contact-card { border: 1px solid var(--line); border-radius: 1.6rem; background: rgba(255,255,255,.48); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: 0 10px 40px rgba(23,20,18,.07); }
.contact-card p { margin: 0 0 1.2rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.6; }
.contact-link { display: inline-flex; align-items: center; background: var(--ink); color: var(--panel); word-break: break-word; }
.footer { width: min(1240px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; }
.dialog { display: none; }
.project-page { padding: 3rem 0 4rem; }
.back-link { display: inline-flex; margin-bottom: 1.4rem; color: var(--muted); font-weight: 900; }
.project-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .85fr); gap: clamp(1rem, 4vw, 3rem); align-items: start; }
.project-image-wrap { border: 1px solid rgba(255,255,255,.64); border-radius: 2rem; background: rgba(255,255,255,.5); box-shadow: var(--shadow); overflow: hidden; }
.project-image, .project-video { width: 100%; height: auto; display: block; }
.project-video { background: #111; }
.project-info { position: sticky; top: 6rem; padding: 1.4rem; border: 1px solid rgba(255,255,255,.64); border-radius: 2rem; background: rgba(251,247,238,.78); box-shadow: var(--shadow); }
.project-info h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: .9; margin-bottom: 1rem; }
.project-description { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.6; }
.project-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.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; }
@media (max-width: 980px) {
  .hero, .about, .contact, .project-hero { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .work-carousel { grid-auto-columns: minmax(290px, 70%); }
  .project-info { position: static; }
}
@media (max-width: 720px) {
  body { background: var(--bg); }
  .site-header { top: .6rem; width: min(100% - 1rem, 720px); align-items: flex-start; flex-direction: column; border-radius: 1.4rem; }
  .header-actions { width: 100%; align-items: flex-start; flex-direction: column; gap: .7rem; }
  .nav { width: 100%; justify-content: space-between; gap: .2rem; }
  .nav a { padding: .55rem .45rem; }
  .language-select, .language-select select { width: 100%; }
  main { width: min(100% - 1rem, 720px); }
  .hero { padding-top: 2.6rem; }
  h1 { font-size: clamp(3.2rem, 15vw, 5.2rem); }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; padding: .66rem .86rem; }
  .showcase-shell { padding: .8rem; border-radius: 1.6rem; }
  .showcase-topline { align-items: flex-start; }
  .showcase-topline p { font-size: .9rem; }
  .carousel-btn { width: 2.6rem; height: 2.6rem; }
  .work-carousel { grid-auto-columns: minmax(255px, 84%); gap: .9rem; padding-bottom: .7rem; }
  .work-card { min-height: 470px; border-radius: 1.45rem; padding: .85rem; }
  .work-media { min-height: 240px; border-radius: 1.1rem; }
  .work-thumb { max-height: 310px; }
  .card-copy h3 { font-size: 2.15rem; }
  .footer { flex-direction: column; width: min(100% - 1rem, 720px); }
}
