:root {
  --bg: #f6f2ec;
  --bga: #fafafa;
  --fg: #211f1c;
  --muted: #efe9e0;
  --muted-fg: #6b665e;
  --primary: #a07d55;
  --accent: #e6dccb;
  --border: rgba(33, 31, 28, 0.12);
  --nav-h: 68px;
  --font-display: "Linux Libertine", Linux Libertine, serif;
  --font-title: "Linux Libertine", Linux Libertine, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --background: linear-gradient(222deg, rgba(229,232,225, 0.41) 0%, rgba(229,232,225, 0.41) 21%,transparent 21%, transparent 63%,rgba(101,101,101, 0.05) 63%, rgba(101,101,101, 0.05) 99%,rgba(35,35,35, 0.04) 99%, rgba(35,35,35, 0.04) 100%),linear-gradient(267deg, rgba(229,232,225, 0.28) 0%, rgba(229,232,225, 0.28) 23%,transparent 23%, transparent 48%,rgba(229,232,225, 0.41) 48%, rgba(229,232,225, 0.41) 98%,rgba(47,47,47, 0.08) 98%, rgba(47,47,47, 0.08) 100%),linear-gradient(78deg, rgba(229,232,225, 0.41) 0%, rgba(229,232,225, 0.41) 40%,transparent 40%, transparent 64%,rgba(100,100,100, 0) 64%, rgba(100,100,100, 0) 84%,rgba(35,35,35, 0.04) 84%, rgba(35,35,35, 0.04) 100%),linear-gradient(136deg, rgba(135,135,135, 0.1) 0%, rgba(135,135,135, 0.1) 14%,transparent 14%, transparent 67%,rgba(229,232,225, 0.41) 67%, rgba(229,232,225, 0.41) 68%,rgba(229,232,225, 0.2) 68%, rgba(229,232,225, 0.2) 100%),linear-gradient(90deg, rgba(229,232,225, 0.41),rgba(229,232,225, 0.41));
}
@font-face {
  font-family: "Linux Libertine", serif;
  src: url(fonts/LinLibertine_aBL.ttf);
  src: url(fonts/LinLibertine_aDRS.ttf);
  src: url(fonts/LinLibertine_DZI.ttf);
  src: url(fonts/LinLibertine_RB.ttf);
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/inter-400.woff2) format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/inter-500.woff2) format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/inter-600.woff2) format("woff2");
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/jetbrains-mono-400.woff2) format("woff2");
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/jetbrains-mono-500.woff2) format("woff2");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { animation: none; } }
section[id], header[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
::selection { background: rgba(160, 125, 85, .25); }

.container { max-width: 1350px; margin: 0 auto; padding: 0 0px; }
.italic { font-style: italic; font-weight: 400; }
.accent-text { color: var(--primary); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 2px;
}
.eyebrow-cont {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--primary);
  margin-bottom: 4px;
}
.eyebrow-cont::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--primary);
}
.tag {
  font-family: var(--font-mmono);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--muted-fg);
}
.tag.light { letter-spacing: .05em; color: rgba(246, 242, 236, 0.692); line-height: 2; }

.h-serif, .h-italic { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.h-serif { font-size: clamp(28px, 5vw, 48px); line-height: 1.43; }
.h-italic { font-size: clamp(28px, 4.5vw, 41px); font-style: italic; color: var(--primary); font-weight: 700; }
.btn {   max-width: fit-content;}
.btn {   display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .2em;
  transition: background .25s, color .25s;
  cursor: pointer;
}
.btn-dark { background: var(--fg); color: var(--bg); }
.btn-dark:hover { background: var(--primary); color: var(--bg); }
.btn-light { background: var(--bg); color: var(--fg); }
.btn-light:hover { background: var(--primary); color: var(--bg); }
.btn-outline { background: transparent; color: var(--fg); border: 1px solid var(--fg); }
.btn-outline:hover { background: var(--fg); color: var(--bg); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  min-height: var(--nav-h);
  padding: 18px 24px;
  background: rgba(246,242,236,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s, background .3s;
}
.nav.is-scrolled { box-shadow: 0 6px 20px -12px rgba(33,31,28,.35); background: rgba(246,242,236,.95); }
.nav-brand { font-family: var(--font-mono); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; min-width: 0; }
.nav-brand .accent { color: var(--primary); }
.nav-links { display: none; gap: 32px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.nav-links a[aria-current="page"] { color: var(--primary); }
.nav-links a[aria-current="page"]::after {
  content: ""; display: block; height: 1px; margin-top: 4px;
  background: var(--primary);
}
@media (min-width: 768px) { .nav-links { display: flex; } }

/* Burger */
.nav-burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px;
  background: transparent; border: 1px solid var(--border); border-radius: 4px;
  cursor: pointer; z-index: 70;
}
.nav-burger span {
  display: block; height: 1.5px; width: 100%;
  background: var(--fg); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
  transform-origin: center;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 768px) { .nav-burger { display: none; } }

/* Mobile menu panel */
@media (max-width: 767px) {
  .nav-links {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); right: 0;
    width: min(320px, 82vw); height: calc(100dvh - var(--nav-h));
    padding: 40px 32px;
    gap: 24px;
    background: var(--bg);
    border-left: 1px solid var(--border);
    font-size: 14px; letter-spacing: .2em;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    z-index: 60;
  }
  .nav-links a {
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav.is-open .nav-links { transform: translateX(0); }
}
.nav-backdrop {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 55;
  background: rgba(33,31,28,.35);
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .3s;
}
.nav-backdrop:not([hidden]) { opacity: 1; }
body.nav-open { overflow: hidden; }

/* Reveal */
@keyframes revealUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.reveal { animation: revealUp .9s var(--ease) both; }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }

/* Hero */
.hero { padding: 64px 24px 96px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: end; }
.hero-headline h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 10vw, 128px);
  line-height: .9;
  letter-spacing: -.02em;
}
.hero-side .lead { font-size: 18px; color: var(--muted-fg); margin-bottom: 33px; }
.hero-image { max-width: 2000px; margin: 80px auto 0; padding: 0 2px; }
.hero-image img { aspect-ratio: 21/9; object-fit: cover; width: 100%; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 2fr 1fr; }
}
  .hero-image img { max-height:700px; }

/* Section base */
.section { padding: 128px 24px; border-top: 1px solid var(--border); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 80px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.about-copy { display: grid; gap: 29px; font-size: 18px; color: var(--muted-fg); }
.about-facts {
  list-style: none; display: grid; gap: 24px;
  margin-top: 12px; padding-top: 36px; border-top: 1px solid var(--border);
}
.about-facts li { display: flex; flex-direction: column; gap: 6px; }
.about-facts-k { font-family: var(--font-display); font-style: italic; font-weight: 700; color: var(--primary); font-size: 26px; line-height: 1; }
.about-facts-v { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-fg); }
@media (min-width: 640px) { .about-facts { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 4fr 7fr; gap: 96px; }
}

/* Services */
.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px; justify-content: center;
}
.service {
  position: relative;
  background: var(--bga); border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; z-index: 3;
  height: 3px; width: 100%; background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: 0 26px 54px -30px rgba(33, 31, 28, .5); }
.service:hover::before { transform: scaleX(1); }
.service-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--muted); }
.service-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(33, 31, 28, .28), rgba(33, 31, 28, 0) 45%);
  opacity: 0; transition: opacity .35s;
}
.service:hover .service-media::after { opacity: 1; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service:hover .service-media img { transform: scale(1.05); }
.service-num {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(33, 31, 28, .72); color: var(--bg);
  padding: 6px 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em;
  backdrop-filter: blur(4px);
}
.service-body { padding: 32px; display: flex; flex-direction: column; gap: 24px; flex: 1; }
.service-body h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: 12px; font-weight: 700; transition: color .25s; }
.service:hover .service-body h3 { color: var(--primary); }
.service-lead { font-size: 14px; color: var(--fg); line-height: 1.6; }
.service-block { border-top: 1px solid var(--border); padding-top: 20px; }
.service-cases { margin-top: auto; }
.service-eyebrow { font-size: 14px; margin-bottom: 12px; }
.service-list { list-style: none; display: grid; gap: 8px; }
.service-list li { display: flex; gap: 12px; font-size: 14px; color: rgba(33,31,28,.82); line-height: 1.45; }
.service-list li span { color: var(--primary); font-family: var(--font-mono); flex-shrink: 0; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--fg); border: 1px solid var(--border); padding: 4px 12px;
  transition: border-color .2s, color .2s;
}
.service-tag:hover { border-color: var(--primary); color: var(--primary); }
.service-link { cursor: pointer; }
.service-link:hover { color: inherit; }
.service-more {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .18em;
  color: var(--primary); display: inline-flex; align-items: center; gap: 8px;
  transition: gap .2s;
}
.service-link:hover .service-more { gap: 14px; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } .service-body { padding: 40px; } }
@media (min-width: 1500px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  #services .container { max-width: 2000px; }
}

/* Gallery */
.gallery { background: var(--fg); color: var(--bg); padding: 128px 24px; }
#work .container { max-width: 1850px; }
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.gallery-intro .h-serif { color: var(--bg); font-size: clamp(36px, 5vw, 64px); margin-bottom: 24px; }
.gallery-list {
  display: flex;
  gap: 32px;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(246,242,236,.35) transparent;
}
.gallery-list::-webkit-scrollbar { height: 6px; }
.gallery-list::-webkit-scrollbar-thumb { background: rgba(246,242,236,.35); border-radius: 3px; }
.gallery-list::-webkit-scrollbar-track { background: rgba(246,242,236,.08); border-radius: 3px; }
.project { cursor: pointer; flex: 0 0 auto; width: clamp(240px, 74vw, 320px); scroll-snap-align: start; }
.project-cover { position: relative; overflow: hidden; margin-bottom: 24px; }
.project-cover img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover .project-cover img { transform: scale(1.03); }
.project-cover .cta {
  position: absolute; bottom: 16px; right: 16px;
  background: var(--bg); color: var(--fg);
  padding: 8px 16px; font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: .18em;
  opacity: 0; transition: opacity .25s;
}
.project:hover .project-cover .cta { opacity: 1; }
.project-meta { display: flex; justify-content: space-between; align-items: end; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.project-meta h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.project-meta .sub { font-family: var(--font-mono); font-size: 13px; color: rgba(246,242,236,.4); text-transform: uppercase; margin-top: 4px; }
.project-meta .year { font-family: var(--font-mono); font-size: 10px; }
@media (min-width: 1024px) {
  .gallery-grid { gap: 64px; }
}

/* Process */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.step {
  position: relative; overflow: hidden;
  padding: 36px 32px;
  background: var(--bga); border: 1px solid var(--border);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--primary); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: 0 22px 48px -28px rgba(33, 31, 28, .45); }
.step:hover::before { transform: scaleX(1); }
.step-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.step .num { font-family: var(--font-display); font-style: italic; font-weight: 700; color: var(--primary); font-size: 42px; line-height: 1; }
.step-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted-fg); }
.step h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 12px; font-weight: 700; }
.step p { font-size: 14px; color: var(--muted-fg); line-height: 1.65; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }

/* Testimonials */
.testimonials { background: rgba(230, 220, 203, .3); }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.quote-mark { font-family: var(--font-display); font-style: italic; color: var(--primary); font-size: 48px; line-height: 1; }
.quote { font-family: var(--font-display); font-size: 18px; margin: 24px 0; }
.quote-cite { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted-fg); }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

/* CTA Section */
.cta-section {
  background: var(--fg);
  color: var(--bg);
  padding: 128px 24px;.lb-details { display: flex; flex-direction: column; gap: 40px; align-items: center; }
  text-align: center;
}
.cta-content { max-width: 720px; margin: 0 auto; }
.cta-content .h-serif { color: var(--bg); font-size: clamp(36px, 5vw, 64px); margin-bottom: 24px; }
.cta-content .lead { font-size: 18px; color: rgba(246,242,236,.7); margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btn { padding: 20px 48px; font-size: 12px; letter-spacing: .22em; border: 1px solid var(--primary); }
.cta-btn:hover { background: var(--primary); color: var(--bg); border-color: transparent; }
@media (min-width: 768px) { .cta-content .lead { font-size: 20px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: stretch; }
.contact-intro { display: flex; flex-direction: column; }

.contact-info { margin-top: 48px; border-top: 1px solid var(--border); }
.contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--primary);
}
.contact-row dd {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.5;
  color: var(--fg);
}
.contact-link {
  display: inline-block;
  position: relative;
  width: fit-content;
}
.contact-row dd .contact-link { display: block; }
.contact-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.contact-link:hover { color: var(--primary); }
.contact-link:hover::after { transform: scaleX(1); }
@media (min-width: 560px) {
  .contact-row { grid-template-columns: 190px 1fr; gap: 1px; align-items: baseline; }
}
.contact-card {   max-width: fit-content;}
.contact-card {
  background: var(--fg); color: var(--bg);
  padding: 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 44px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 40%;
  background: radial-gradient(circle at center, rgba(160,125,85,.4), transparent 70%);
  pointer-events: none;
}
.contact-card-head { position: relative; }
.contact-card-copy {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.55;
  margin-top: 42px;
  color: #e2dfdf;
}
.contact-card-copy .italic { color: var(--primary); }

.contact-card-foot {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 39px;
}
.contact-card-links {
  display: grid;
  gap: 4px;
  padding-top: 26px;
  border-top: 1px solid rgba(246, 242, 236, 0.16);
}
.contact-card-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 25px;
  padding: 7px 30;
  border-bottom: 1px solid rgba(246, 242, 236, 0.1);
}
.contact-card-link:last-child { border-bottom: none; }
.contact-card-link-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: rgba(246, 242, 236, 0.55);
  flex-shrink: 0;
}
.contact-card-link-value {
  font-family: var(--font-display);
  font-size: 18px;
  color: #f6f2ec;
  transition: color .25s;
  text-align: right;
}
.contact-card-link:hover .contact-card-link-value { color: var(--primary); }

.contact-card-btn {
  align-self: stretch;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1.05fr .95fr; gap: 72px; }
  .contact-card { padding: 56px; }
}

/* Footer */
.footer { padding: 48px 24px; border-top: 1px solid var(--border); }
.footer-row { display: flex; flex-direction: column; gap: 24px; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted-fg); }
.footer-links { display: flex; gap: 32px; }
@media (min-width: 768px) { .footer-row { flex-direction: row; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(33, 31, 28, .96);
  backdrop-filter: blur(6px);
  overflow-y: auto;
  color: var(--bg);
  animation: revealUp .5s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox-topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  background: rgba(33, 31, 28, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.lightbox-title h2 { font-family: var(--font-display); font-size: 18px; font-weight: 600;} 
.lightbox-title .eyebrow { margin-bottom: 4px; }
.lb-close {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: var(--bg);
  cursor: pointer; font-size: 14px;
  transition: background .2s, border-color .2s;
}
.lb-close:hover { background: var(--primary); border-color: var(--primary); }
.lightbox-body { display: grid; grid-template-columns: 1fr; gap: 48px; padding: 48px 24px; }
.lb-image-wrap { position: relative; background: rgba(255,255,255,.05); }
.lb-image-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 999px;
  background: rgba(246,242,236,.9); color: var(--fg); border: none;
  cursor: pointer; font-size: 24px; line-height: 1;
  transition: background .2s, color .2s;
}
.lb-nav:hover { background: var(--primary); color: var(--bg); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-caption { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1); font-family: var(--font-display); font-style: italic; font-size: 14px; }
.lb-thumbs { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lb-thumbs button { aspect-ratio: 1; overflow: hidden; background: none; border: none; padding: 0; cursor: pointer; opacity: .4; transition: opacity .2s; }
.lb-thumbs button:hover { opacity: .8; }
.lb-thumbs button.active { opacity: 1; box-shadow: inset 0 0 0 1px var(--primary); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-details { display: grid; gap: 40px; }
.lb-details p { color: rgba(246,242,236,.8); }
.lb-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; font-family: var(--font-mono); font-size: 14px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; }
.lb-meta dt { color: var(--primary); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; }
.lb-list { list-style: none; display: grid; gap: 8px; }
.lb-list li { font-size: 14px; color: rgba(246,242,236,.9); display: flex; gap: 12px; }
.lb-list li::before { content: '—'; color: var(--primary); font-family: var(--font-mono); }
.lb-materials { list-style: none; display: grid; gap: 16px; }
.lb-materials .name { font-family: var(--font-display); font-size: 18px; }
.lb-materials .detail { font-size: 14px; color: rgba(246,242,236,.6); margin-top: 4px; }

@media (min-width: 1024px) {
  .lightbox-body { grid-template-columns: 8fr 4fr; }
  .lb-thumbs { grid-template-columns: repeat(6, 1fr); }
}

/* Musterbeispiele */
.muster-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.muster-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--muted);
 
}
.muster-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.muster-item:hover img { transform: scale(1.06); }
@media (min-width: 640px) { .muster-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .muster-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
@media (min-width: 1280px) { .muster-grid { grid-template-columns: repeat(5, 1fr); } }
.muster-section {
  background-color: #211f1c;
}