:root {
  --red: #cc0021;
  --black: #080808;
  --paper: #f4f3f0;
  --white: #fff;
  --muted: #777;
  --line: rgba(8, 8, 8, .13);
  --radius: 28px;
  --container: min(1440px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--black); background: var(--paper); font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: var(--container); margin-inline: auto; }
.noise { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }

header { position: absolute; inset: 0 0 auto; z-index: 40; color: #fff; }
.nav { width: var(--container); height: 96px; margin: auto; display: flex; align-items: center; gap: 32px; border-bottom: 1px solid rgba(255,255,255,.22); }
.logo { width: 130px; height: 54px; object-fit: contain; }
.catalog-menu-link { margin-left: 22px; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 600; }
.nav-links a { opacity: .76; }
.nav-links a:hover { opacity: 1; }
.nav-cta { min-height: 50px; padding: 0 23px; border-radius: 0 28px 28px 0; display: flex; align-items: center; background: var(--red); font-weight: 700; }
.mobile-toggle { display: none; margin-left: auto; border: 0; color: #fff; background: none; font-size: 26px; }

.case-hero { --hero-image-top: 145px; position: relative; min-height: 800px; overflow: hidden; color: #fff; background: #080808; }
.case-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.78) 42%, rgba(0,0,0,.14) 100%), url("sculpture-cases/sculpture-hero.webp") center var(--hero-image-top)/100% auto no-repeat; }
.case-hero::after { content: "NEW"; position: absolute; right: -1.5%; bottom: 20px; color: transparent; font-size: clamp(120px, 19vw, 340px); font-weight: 800; line-height: .78; letter-spacing: -.08em; -webkit-text-stroke: 1px rgba(255,255,255,.12); }
.case-hero__content { position: relative; z-index: 2; padding-top: 194px; padding-bottom: 150px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; color: rgba(255,255,255,.56); font-size: 13px; }
.breadcrumbs span { color: var(--red); }
.breadcrumbs b { color: rgba(255,255,255,.82); }
.hero-label, .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-label { margin-top: 45px; color: #fff; }
.hero-label::before, .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
h1 { max-width: 1080px; margin: 20px 0 28px; font-size: clamp(66px, 8vw, 126px); line-height: .86; letter-spacing: -.066em; }
.hero-lead { max-width: 820px; margin: 0; color: rgba(255,255,255,.72); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; }
.hero-link { width: fit-content; margin-top: 34px; display: flex; align-items: center; gap: 18px; font-weight: 750; }
.hero-link span { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; display: grid; place-items: center; }
.case-hero__facts { position: absolute; z-index: 3; inset: auto 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact-row div { min-height: 102px; padding-right: 28px; border-right: 1px solid rgba(255,255,255,.16); display: flex; align-items: center; gap: 15px; }
.fact-row div:not(:first-child) { padding-left: 28px; }
.fact-row div:last-child { border-right: 0; }
.fact-row strong { font-size: 27px; white-space: nowrap; }
.fact-row span { color: rgba(255,255,255,.58); font-size: 13px; }

.workflow { padding: 88px 0 74px; }
.section-intro { display: grid; grid-template-columns: .9fr 1.1fr; align-items: end; gap: 70px; }
.section-intro h2, .project-head h2, .project-cta h2 { margin: 14px 0 0; font-size: clamp(48px, 5.4vw, 80px); line-height: .94; letter-spacing: -.055em; }
.section-intro p { max-width: 650px; justify-self: end; margin: 0; color: #656565; font-size: 18px; line-height: 1.65; }
.workflow-list { margin: 54px 0 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(6, 1fr); list-style: none; }
.workflow-list li { min-height: 128px; padding: 24px 18px; border-right: 1px solid var(--line); display: grid; align-content: space-between; gap: 22px; font-weight: 750; }
.workflow-list li:last-child { border-right: 0; }
.workflow-list span { color: var(--red); font-size: 12px; letter-spacing: .12em; }

.project-case { padding: 90px 0 105px; border-top: 1px solid var(--line); }
.project-case--dark { color: #fff; background: #090909; }
.project-head { margin-bottom: 42px; display: grid; grid-template-columns: 90px minmax(0, .9fr) minmax(340px, .7fr); gap: 42px; align-items: start; }
.project-index { padding-top: 4px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.project-head h2 { max-width: 690px; margin-top: 12px; }
.project-summary > p { margin: 0 0 26px; color: #606060; font-size: 18px; line-height: 1.62; }
.project-case--dark .project-summary > p { color: rgba(255,255,255,.66); }
.project-meta { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.project-case--dark .project-meta { border-color: rgba(255,255,255,.16); }
.project-meta li { padding: 12px 0; border-bottom: 1px solid var(--line); color: #666; font-size: 14px; line-height: 1.45; }
.project-case--dark .project-meta li { border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.6); }
.project-meta b { min-width: 104px; display: inline-block; color: currentColor; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-item { position: relative; aspect-ratio: 4/3; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #111; cursor: zoom-in; box-shadow: 0 16px 42px rgba(8,8,8,.12); }
.gallery-item::after { content: "+"; position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(8,8,8,.48); backdrop-filter: blur(10px); font-size: 24px; transition: transform .25s, background .25s; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.08) brightness(.96); transition: transform .45s, filter .35s; }
.gallery-item:hover img { transform: scale(1.025); filter: saturate(.94) contrast(1.04) brightness(1); }
.gallery-item:hover::after { transform: rotate(90deg); background: var(--red); }

.project-cta { padding: 86px 0; color: #fff; background: linear-gradient(115deg, #6e0012, var(--red) 58%, #e00025); }
.project-cta__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.project-cta .eyebrow { color: #fff; }
.project-cta .eyebrow::before { background: #fff; }
.project-cta p { max-width: 620px; margin: 0 0 28px; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.6; }
.project-cta a { width: fit-content; min-height: 52px; padding: 0 25px; border-radius: 26px 0 0 26px; display: flex; align-items: center; color: #090909; background: #fff; font-weight: 800; }

footer { padding: 40px 0; color: rgba(255,255,255,.5); background: #050505; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
footer .logo { width: 120px; }

.gallery-dialog { width: min(1120px, calc(100vw - 48px)); max-width: none; padding: 0; border: 0; border-radius: 24px; overflow: visible; color: #fff; background: transparent; }
.gallery-dialog::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(12px); }
.gallery-dialog figure { margin: 0; }
.gallery-dialog img { width: 100%; max-height: calc(100vh - 150px); border-radius: 20px; object-fit: contain; background: #090909; }
.gallery-dialog figcaption { min-height: 42px; padding-top: 13px; text-align: center; color: rgba(255,255,255,.74); }
.gallery-dialog__close, .gallery-dialog__nav { position: absolute; z-index: 2; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(8,8,8,.62); cursor: pointer; backdrop-filter: blur(10px); }
.gallery-dialog__close { top: -19px; right: -19px; width: 46px; height: 46px; font-size: 28px; }
.gallery-dialog__nav { top: 50%; width: 50px; height: 50px; transform: translateY(-50%); font-size: 22px; }
.gallery-dialog__nav--prev { left: -25px; }
.gallery-dialog__nav--next { right: -25px; }

@media (max-width: 1020px) {
  :root { --container: min(100% - 36px, 820px); }
  .nav { height: 78px; }
  .catalog-menu-link { margin-left: auto; }
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: block; margin-left: 0; }
  .case-hero { --hero-image-top: 103px; min-height: 760px; }
  .case-hero__content { padding-top: 175px; }
  .section-intro, .project-cta__inner { grid-template-columns: 1fr; gap: 28px; }
  .section-intro p { justify-self: start; }
  .workflow-list { grid-template-columns: repeat(3, 1fr); }
  .workflow-list li:nth-child(3) { border-right: 0; }
  .workflow-list li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .project-head { grid-template-columns: 58px 1fr; }
  .project-summary { grid-column: 2; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  :root { --container: calc(100vw - 28px); --radius: 22px; }
  .catalog-menu-link { font-size: 0; }
  .case-hero { min-height: 790px; }
  .case-hero::before { background: linear-gradient(0deg, rgba(0,0,0,.98) 20%, rgba(0,0,0,.8) 62%, rgba(0,0,0,.18) 100%), url("sculpture-cases/sculpture-hero.webp") center var(--hero-image-top)/100% auto no-repeat; }
  .case-hero::after { display: none; }
  .case-hero__content { padding-top: 150px; padding-bottom: 210px; }
  .hero-label { margin-top: 30px; }
  h1 { font-size: clamp(50px, 15vw, 68px); }
  .hero-lead { font-size: 16px; }
  .fact-row { grid-template-columns: 1fr; }
  .fact-row div, .fact-row div:not(:first-child) { min-height: 58px; padding: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .fact-row div:last-child { border-bottom: 0; }
  .fact-row strong { min-width: 72px; font-size: 20px; }
  .workflow { padding: 64px 0 52px; }
  .section-intro h2, .project-head h2, .project-cta h2 { font-size: 46px; }
  .workflow-list { margin-top: 36px; grid-template-columns: repeat(2, 1fr); }
  .workflow-list li { min-height: 100px; padding: 18px 12px; }
  .workflow-list li:nth-child(3) { border-right: 1px solid var(--line); }
  .workflow-list li:nth-child(2n) { border-right: 0; }
  .workflow-list li:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .project-case { padding: 66px 0 74px; }
  .project-head { margin-bottom: 30px; grid-template-columns: 1fr; gap: 18px; }
  .project-summary { grid-column: 1; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery-item { border-radius: 18px; }
  .project-cta { padding: 66px 0; }
  .footer-row { display: block; }
  .footer-row p { margin-top: 24px; line-height: 1.8; }
  .gallery-dialog { width: calc(100vw - 24px); }
  .gallery-dialog__close { top: 8px; right: 8px; }
  .gallery-dialog__nav { top: auto; bottom: 52px; }
  .gallery-dialog__nav--prev { left: 8px; }
  .gallery-dialog__nav--next { right: 8px; }
}

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