.cinema-v2 {
  --paper: #f4f3ed;
  --yellow: #fece00;
  --steel: #cfd3d8;
  --night: #181b19;
}
.cinema-v2 .head-inner { min-height: 76px; }
.cinema-nav, .cinema-nav-inline { display: flex; align-items: center; gap: clamp(12px,2vw,32px); }
.cinema-nav-inline a { display: flex; align-items: center; min-height: 44px; font-size: .86rem; font-weight: 750; }
.cinema-nav-inline a:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-button {
  display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
  gap: 9px; padding: 6px 11px; color: inherit; background: transparent; border: 1px solid #ffffff55;
  font: 750 .875rem Manrope,Arial,sans-serif; cursor: pointer;
}
.menu-button:hover, .cinema-nav:has(.site-menu:popover-open) .menu-button { color: var(--yellow); border-color: currentColor; }
.burger { display: inline-block; width: 19px; height: 2px; background: currentColor; box-shadow: 0 6px currentColor, 0 -6px currentColor; }
.site-menu {
  position: fixed; inset: 76px max(var(--gutter), calc((100vw - 1370px)/2)) auto auto;
  width: min(770px, calc(100% - 2 * var(--gutter))); max-height: calc(100dvh - 96px);
  margin: 0; padding: clamp(15px,3vw,30px); overflow: auto; overscroll-behavior: contain;
  background: #20241f; color: #f4f4ed; border: 1px solid #747971; border-top: 3px solid var(--yellow);
  box-shadow: 0 25px 65px #0d100e83;
}
.directory { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.directory h3 { padding-bottom: 8px; color: var(--yellow); font-size: .9rem; }
.directory ul { margin: 0; padding: 0; list-style: none; }
.directory a { display: flex; align-items: center; min-height: 40px; font-size: .88rem; line-height: 1.35; }
.directory a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-directory { padding-bottom: 26px; }
.cinema-v2 :focus-visible { outline-color: #3274da; }
.cinema-v2 :is(.site-head,.site-foot,.market-section,.hero) :focus-visible { outline-color: #ffe16b; outline-offset: 3px; }
.cinema-v2 .cinema-hero { min-height: clamp(530px,72svh,730px); }
.cinema-v2 .cinema-content { padding-block: 55px; }
.cinema-v2 .cinema-content h1 { font-size: clamp(5.1rem,10.4vw,10.65rem); line-height: .84; margin-block: 20px 20px; }
.cinema-v2 .hero-desc { max-width: 39ch; }
.cinema-v2 .actions { margin-top: 22px; }
.cinema-v2 .section-head { margin-bottom: clamp(20px,3.2vw,40px); }
.cinema-v2 :is(.section-head,.enquiry) h2 { font: 800 clamp(2.7rem,5.35vw,5.6rem)/.94 var(--display); text-transform: uppercase; }
.cinema-v2 .products, .market-section, .project-section, .client-section { padding-block: clamp(50px,6.4vw,96px); }
.cinema-v2 .product-label h3 { font-size: clamp(1rem,1.8vw,1.45rem); }
.cinema-v2 .product { background: transparent; border: 0; }
.cinema-v2 .product:hover h3, .cinema-v2 .product:focus-visible h3 { text-decoration: underline; text-underline-offset: 4px; }
.cinema-v2 .product-label { padding: 14px 8px 16px; }
.foundry .product-photo {
  --cut: clamp(13px,2.3vw,34px);
  clip-path: polygon(var(--cut) 0,100% 0,100% calc(100% - var(--cut)),calc(100% - var(--cut)) 100%,0 100%,0 var(--cut));
  border-bottom: 4px solid var(--yellow);
}
.market-section { background: var(--night); color: #f4f4ed; }
.market-section .section-head > p { color: #c6c9bf; }
.market-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.market-card { display: grid; align-content: end; isolation: isolate; overflow: hidden; position: relative; min-height: clamp(230px,24vw,390px); background: #343934; }
.market-card img, .market-card::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.market-card img { z-index: -2; object-fit: cover; }
.market-card::after { z-index: -1; content: ""; background: linear-gradient(0deg,#101410fa 0%,#101410b5 32%,transparent 72%); }
.market-copy { padding: 18px clamp(13px,1.7vw,24px); }
.market-card h3 { font: 800 clamp(1.42rem,2.4vw,2.4rem)/.98 var(--display); text-transform: uppercase; }
.market-card p { font-size: .875rem; line-height: 1.5; color: #e0e0d7; margin-top: 8px; }
.market-card:hover h3, .market-card:focus-visible h3 { color: var(--yellow); }
.project-section { background: #e6e7df; }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(12px,2.5vw,36px); }
.project-card { background: var(--paper); color: var(--ink); display: block; }
.project-image { aspect-ratio: 1.75; overflow: hidden; background: #414640; }
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.project-copy { padding: clamp(16px,2.7vw,34px); }
.project-copy .eyebrow { color: #4b5349; }
.project-copy h3 { font-size: clamp(1.29rem,2.4vw,2.2rem); letter-spacing: -.04em; margin-block: 8px 6px; }
.project-copy p:last-child { line-height: 1.58; color: var(--muted); max-width: 49ch; }
.project-card:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.client-section { background: var(--paper); }
.client-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.wordmark {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border-block: 1px solid #bfc3b8; padding: 18px 8px; min-height: 100px;
  color: #323732; font-weight: 800; line-height: 1.1; letter-spacing: -.035em;
}
.client-mark {
  display: grid; place-items: center; flex: 0 0 35px; width: 35px; height: 35px;
  background: #343833; color: #f5f6ef; font: 800 1.45rem/.9 var(--display);
}
.mark-f { clip-path: polygon(0 0,100% 0,80% 83%,0 100%); }
.mark-n { clip-path: polygon(0 21%,100% 0,100% 79%,0 100%); }
.mark-o { border-radius: 50%; }
.mark-t { clip-path: polygon(0 0,100% 0,100% 72%,50% 100%,0 72%); }
.mark-v { clip-path: polygon(0 0,100% 0,86% 100%,14% 100%); }
.mill .cinema-hero { background: #202521; }
.mill .cinema-back { inset-inline-start: 51%; }
.mill .cinema-back img { object-position: center; }
.mill .cinema-back::after { background: linear-gradient(90deg,#2025217a,transparent 22%); }
.mill .cinema-content h1 { font-size: clamp(4.15rem,7.4vw,8.2rem); }
.mill .cinema-content { z-index: 1; }
.mill .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 22px; }
.mill .product { display: grid; grid-template-columns: minmax(0,.45fr) minmax(0,.55fr); align-items: center; background: #e4e7e2; }
.mill .product-photo {
  clip-path: polygon(0 0,100% 0,100% 14%,91% 14%,91% 86%,100% 86%,100% 100%,0 100%,0 86%,9% 86%,9% 14%,0 14%);
  aspect-ratio: 1.42; border-block: 5px solid #757e77;
}
.mill .product-label { padding-inline: 16px 8px; }
.mill .market-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.mill .market-card { min-height: clamp(210px,19vw,320px); }
.mill .market-card::after { background: linear-gradient(20deg,#101410ef 4%,#10141092 33%,transparent 76%); }
.mill .project-card { display: grid; grid-template-columns: 1fr 1fr; }
.mill .project-image { aspect-ratio: auto; min-height: 210px; }
.plate .site-head { border-top: 4px solid var(--yellow); }
.plate .site-menu { inset-block-start: 80px; }
.plate .cinema-hero { text-align: center; background: #1a1f1b; }
.plate .cinema-back { inset: clamp(10px,2vw,26px); border: 1px solid #cfdbcf70; }
.plate .cinema-back img { object-position: center 43%; }
.plate .cinema-back::after { background: radial-gradient(ellipse at center,#101310e6 8%,#101310ba 46%,#10131035 100%); }
.plate .cinema-content h1 { font-size: clamp(5rem,9.55vw,10rem); }
.plate .hero :is(.eyebrow,.actions) { justify-content: center; }
.plate .hero-desc { margin-inline: auto; }
.plate .market-grid { grid-template-columns: 1.3fr .9fr .9fr .9fr; }
.plate .product-photo {
  aspect-ratio: 1.6; border-inline: 8px solid #747c76; border-block: 4px solid #929a94;
  clip-path: polygon(7% 0,93% 0,100% 15%,100% 85%,93% 100%,7% 100%,0 85%,0 15%);
}
.plate .product:nth-child(4) .product-photo { clip-path: ellipse(50% 50% at 50% 50%); border: 5px solid #8e948e; border-radius: 50%; }
.plate .product-label { text-align: center; }
.plate .project-section { background: #222622; color: #f4f4ed; }
.plate .project-section .section-head > p { color: #d0d4cb; }
.plate .project-card { border-bottom: 5px solid var(--yellow); }
.cinema-v2 .enquiry-inner { min-height: 184px; }
@media (prefers-reduced-motion: no-preference) {
  .market-card img, .project-image img { transition: transform .58s var(--ease); }
  :is(.market-card,.project-card):is(:hover,:focus-visible) img { transform: scale(1.065); }
  .mill .cinema-wipe { background: #717971; animation-duration: .8s; }
  .plate .cinema-back { animation: frame-in 1.2s var(--ease) backwards; }
  .plate .cinema-wipe { display: none; }
  .site-menu:popover-open { animation: menu-in .24s var(--ease) backwards; }
}
@keyframes frame-in { from { opacity: .2; transform: scale(.98); } to { opacity: 1; transform: none; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 920px) {
  .cinema-nav-inline { gap: 13px; }
  .cinema-nav-inline a { font-size: .81rem; }
  .wordmark { flex-direction: column; text-align: center; }
  .client-mark { flex-basis: auto; }
  .mill .project-card { grid-template-columns: 1fr; }
  .mill .project-image { aspect-ratio: 1.55; min-height: 0; }
  .market-grid, .plate .market-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .cinema-v2 .head-inner { min-height: 66px; }
  .cinema-nav-inline { display: none; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .site-menu, .plate .site-menu { inset-block-start: 66px; max-height: calc(100dvh - 82px); }
  .plate .site-menu { inset-block-start: 70px; }
  .directory { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .directory a { min-height: 44px; }
  .cinema-v2 .cinema-hero { min-height: clamp(440px,66svh,590px); }
  .cinema-v2 .cinema-content h1 { font-size: clamp(3.9rem,13.4vw,6rem); }
  .mill .cinema-hero { display: flex; flex-direction: column-reverse; }
  .mill .cinema-content { padding-block: 42px 28px; }
  .mill .cinema-back { position: relative; inset: auto; width: 100%; height: 28svh; min-height: 165px; }
  .mill .cinema-back::after { background: linear-gradient(180deg,#2025219a,transparent 28%); }
  .mill .cinema-wipe { display: none; }
  .mill .product-grid, .mill .market-grid { gap: 10px; }
  .mill .product { display: block; }
  .mill .product-label { padding-inline: 9px; }
  .plate .cinema-content .actions { margin-inline: 4px; }
  .client-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 460px) {
  .market-grid, .mill .market-grid, .plate .market-grid { gap: 8px; }
  .market-card, .mill .market-card { min-height: 192px; }
  .market-copy { padding: 10px; }
  .market-card p { font-size: .8rem; }
  .client-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-grid { grid-template-columns: 1fr; }
}

/* Keep the Foundry directory aligned with the brand row and the footer note. */
.foundry .site-foot .footer-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  margin-inline: auto;
  gap: 24px;
  padding-block: 24px 32px;
  border-top: 1px solid #565c52;
}
.foundry .footer-directory h3 { padding-bottom: 11px; }
.foundry .footer-directory a { display: flex; width: fit-content; min-height: 39px; }
@media (max-width: 760px) {
  .foundry .site-foot { --gutter: clamp(24px, 7vw, 42px); }
  .foundry .site-foot .footer-directory { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px 20px; }
  .foundry .footer-directory a { min-height: 44px; }
}
