:root {
  --black: #090908;
  --panel: #111110;
  --panel-2: #181716;
  --line: rgba(242, 239, 230, 0.16);
  --bone: #f0ece2;
  --muted: #a8a49c;
  --red: #c62226;
  --red-dark: #8e1116;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--bone); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
section[id], footer[id] { scroll-margin-top: 84px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.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; }

.site-header { position: fixed; z-index: 20; top: 0; width: 100%; height: 84px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; padding: 0 4vw; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.scrolled { background: rgba(9, 9, 8, .93); backdrop-filter: blur(16px); border-color: var(--line); }
.brand { display: inline-flex; flex-direction: column; line-height: 1; letter-spacing: .07em; }
.brand span { font-size: clamp(20px, 2vw, 29px); font-weight: 600; }
.brand b { color: var(--red); font-weight: 600; }
.brand small { margin-top: 7px; font-size: 8px; letter-spacing: .28em; color: #c9c4b8; }
.main-nav { justify-self: center; display: flex; gap: clamp(18px, 2.5vw, 42px); align-items: center; }
.main-nav a { position: relative; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 1px; background: var(--red); transition: width .25s; }
.main-nav a:hover::after { width: 100%; }
.menu-toggle { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 1px solid var(--red); background: var(--red); color: white; cursor: pointer; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: 11px; transition: .25s ease; }
.button:hover { background: #e32a2f; border-color: #e32a2f; transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 20px; }
.button-ghost { background: transparent; border-color: rgba(255,255,255,.6); }
.button-ghost:hover { background: var(--bone); border-color: var(--bone); color: var(--black); }

.hero { position: relative; min-height: 820px; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; background: url("assets/cairo-vision-hero.png") center / cover no-repeat; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,6,5,.98) 0%, rgba(6,6,5,.76) 35%, rgba(6,6,5,.15) 68%, rgba(6,6,5,.35) 100%), linear-gradient(0deg, rgba(6,6,5,.85), transparent 35%); }
.hero-content { position: relative; z-index: 2; width: min(830px, 62vw); margin-left: 4vw; padding-top: 72px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 25px; color: #c4bfb5; font-size: 10px; text-transform: uppercase; letter-spacing: .19em; font-weight: 600; }
.eyebrow span { display: inline-block; width: 34px; height: 1px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-family: var(--serif); font-size: clamp(62px, 7.7vw, 122px); font-weight: 500; line-height: .88; letter-spacing: -.045em; }
h1 em { color: #cdc6b9; font-weight: 500; }
.hero-copy { max-width: 620px; margin-bottom: 34px; color: #c8c3ba; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; gap: 14px; }
.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; width: min(720px, 100%); margin-top: 68px; border-top: 1px solid var(--line); }
.hero-meta div { display: grid; grid-template-columns: auto 1fr; gap: 15px; align-items: center; padding: 18px 22px 18px 0; }
.hero-meta div + div { border-left: 1px solid var(--line); padding-left: 22px; }
.hero-meta strong { color: var(--red); font-size: 10px; }
.hero-meta span { color: #c9c5bc; font-size: 11px; letter-spacing: .04em; }
.scroll-cue { position: absolute; z-index: 2; right: 4vw; bottom: 40px; font-size: 9px; text-transform: uppercase; letter-spacing: .2em; writing-mode: vertical-rl; display: flex; gap: 12px; align-items: center; }
.scroll-cue span { color: var(--red); font-size: 18px; }

.credibility-strip { min-height: 106px; padding: 24px 4vw; display: flex; align-items: center; gap: 4vw; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0c0c0b; overflow: hidden; }
.credibility-strip > p { flex: 0 0 auto; margin: 0; color: var(--red); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.work-ticker { display: flex; align-items: center; gap: 26px; white-space: nowrap; color: #c8c3b8; font-family: var(--serif); font-size: 16px; }
.work-ticker i { width: 4px; height: 4px; background: var(--red); border-radius: 50%; }

.heritage-section { padding: 90px 4vw; display: grid; grid-template-columns: .42fr 1.05fr 1fr; gap: clamp(35px, 6vw, 90px); align-items: center; border-bottom: 1px solid var(--line); background: #10100f; }
.heritage-number { min-height: 260px; display: grid; grid-template-columns: auto 1fr; align-content: center; padding-right: 35px; border-right: 1px solid var(--line); }
.heritage-number strong { font-family: var(--serif); font-size: clamp(90px, 10vw, 160px); line-height: .75; font-weight: 500; letter-spacing: -.08em; }
.heritage-number > span { color: var(--red); font-family: var(--serif); font-size: clamp(42px, 5vw, 72px); line-height: .7; }
.heritage-number small { grid-column: 1 / -1; margin-top: 24px; color: #8f8b83; text-transform: uppercase; letter-spacing: .22em; font-size: 9px; }
.heritage-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 4vw, 64px); line-height: 1; letter-spacing: -.035em; font-weight: 500; }
.heritage-copy > p:last-child { margin: 25px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.heritage-image { position: relative; margin: 0; min-height: 340px; overflow: hidden; border: 1px solid var(--line); background: #090908; }
.heritage-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.05); }
.heritage-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.8), transparent 50%); }
.heritage-image figcaption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; color: rgba(255,255,255,.78); font-size: 8px; text-transform: uppercase; letter-spacing: .16em; }

.section { padding: 96px 4vw; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr); gap: 8vw; align-items: end; margin-bottom: 52px; }
.section-heading h2, .package-intro h2, .support-content h2, .final-cta h2 { margin: 0; font-family: var(--serif); font-size: clamp(44px, 5.3vw, 82px); line-height: .98; letter-spacing: -.035em; font-weight: 500; }
.section-heading > p, .package-intro > p, .support-content > p, .final-cta-copy > p { color: var(--muted); line-height: 1.75; }

.equipment-section { background: var(--black); }
.catalogue-tools { display: flex; justify-content: space-between; gap: 25px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.search-box { flex: 1; max-width: 430px; display: flex; align-items: center; gap: 12px; }
.search-box svg { width: 20px; fill: none; stroke: var(--muted); stroke-width: 1.5; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font-size: 13px; }
.filter-list { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.filter { padding: 10px 15px; border: 1px solid transparent; background: transparent; color: #88847d; cursor: pointer; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.filter:hover, .filter.active { border-color: var(--line); color: var(--bone); background: #151513; }
.catalogue-note { margin: 25px 0 18px; color: #77736d; font-size: 10px; letter-spacing: .03em; }
.catalogue-note span { margin-right: 10px; padding: 4px 7px; background: rgba(198,34,38,.12); color: #e25558; text-transform: uppercase; letter-spacing: .12em; }
.equipment-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.equipment-card { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0d0d0c; transition: background .25s, transform .25s; }
.equipment-card:hover { background: #151513; transform: translateY(-3px); }
.equipment-visual { position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 100%; height: auto; margin: 0; display: grid; place-items: center; overflow: hidden; background: #ffffff; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.equipment-image-button { width: 100%; height: 100%; margin: 0; padding: 0; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; overflow: hidden; }
.equipment-visual img { width: 100%; height: 100%; max-width: 100%; display: block; object-fit: cover; object-position: center; padding: 0; box-sizing: border-box; filter: saturate(.84) contrast(1.04); transition: filter .35s ease; }
.equipment-visual img.equipment-product { padding: 0; object-fit: cover; object-position: center; background: #f1f0ec; filter: saturate(.94) contrast(1.03); }
.equipment-card:hover .equipment-visual img { filter: saturate(1) contrast(1.06); }
.image-review { width: calc(100% - 20px); height: calc(100% - 20px); display: grid; place-content: center; gap: 7px; border: 1px dashed rgba(255,255,255,.22); background: #151514; text-align: center; }
.image-review span { color: var(--red); font-size: 8px; text-transform: uppercase; letter-spacing: .16em; }
.image-review b { color: #aaa69d; font-size: 10px; font-weight: 500; }
.visual-index { position: absolute; z-index: 2; left: 13px; top: 12px; color: #d5d0c6; font-size: 8px; letter-spacing: .12em; }
.visual-source { position: absolute; z-index: 2; right: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 5px 7px; background: rgba(5,5,5,.68); color: rgba(255,255,255,.7); font-size: 6px; text-transform: uppercase; letter-spacing: .12em; backdrop-filter: blur(8px); }
.equipment-card-info { padding: 23px; }
.equipment-topline { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 14px; color: #89857d; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.availability { color: #65a86d; }
.availability::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.availability[data-state="request"] { color: #d0a969; }
.availability[data-state="confirm"] { color: #d66b6e; }
.equipment-card h3 { margin-bottom: 8px; font-size: 18px; font-weight: 500; }
.equipment-card h3 a { display: inline-block; }
.equipment-card-info > p { min-height: 42px; color: #8f8b84; font-size: 12px; line-height: 1.6; }
.equipment-card-info small { min-height: 30px; margin: 14px 0 0; display: block; color: #c2bdb3; font-size: 9px; line-height: 1.55; }
.camera-card { grid-column: span 1; }
.camera-specs { margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.camera-specs div { min-width: 0; padding: 10px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.camera-specs dt { margin-bottom: 4px; color: #77736d; font-size: 7px; text-transform: uppercase; letter-spacing: .12em; }
.camera-specs dd { margin: 0; color: #c2bdb3; font-size: 9px; line-height: 1.5; }
.manufacturer-source { margin-top: 13px; display: inline-flex; align-items: center; gap: 8px; color: #aaa69e; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.detail-link { color: #ddd8ce; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.detail-link:hover { color: white; }
.equipment-detail-section { min-height: 80vh; background: var(--black); }
.equipment-back { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 32px; color: #aaa69e; font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }
.equipment-back:hover { color: white; }
.equipment-detail-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); align-items: start; border: 1px solid var(--line); background: #0d0d0c; }
.equipment-detail-gallery { min-width: 0; align-self: start; padding: 5px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); background: #070707; outline: none; }
.equipment-detail-gallery[data-gallery-length="1"] { min-height: 0; }
.equipment-detail-gallery:focus-visible { box-shadow: inset 0 0 0 1px var(--red); }
.equipment-detail-media { position: relative; min-width: 0; min-height: 0; width: 100%; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; border: 1px solid #777; border-radius: 8px; background: #f2f2f2; }
.equipment-gallery-dark .equipment-detail-media, .equipment-gallery-dark .equipment-gallery-thumbnail { background: #1b1b1b; }
.equipment-detail-media > button[data-gallery-hero] { width: 100%; height: 100%; padding: 0; display: grid; place-items: center; border: 0; background: transparent; cursor: zoom-in; }
.equipment-detail-media picture { width: 100%; height: 100%; display: grid; place-items: center; }
.equipment-detail-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; touch-action: pan-y pinch-zoom; }
.equipment-gallery-thumbnails { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; overflow: hidden; }
.equipment-gallery-thumbnail { min-width: 0; width: 100%; height: auto; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 1px solid #5f5f5f; border-radius: 7px; background: #f2f2f2; cursor: pointer; opacity: .76; transition: border-color .2s ease, opacity .2s ease, transform .2s ease; }
.equipment-gallery-thumbnail:hover { border-color: var(--red); opacity: 1; }
.equipment-gallery-thumbnail.active { display: none; }
.equipment-gallery-thumbnail:focus-visible { outline: 2px solid var(--red); outline-offset: -3px; }
.equipment-gallery-thumbnail img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.equipment-gallery-arrow { position: absolute; z-index: 4; top: 50%; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(8,8,8,.72); color: white; cursor: pointer; pointer-events: auto; transform: translateY(-50%); transition: border-color .2s ease, background .2s ease; }
.equipment-gallery-arrow:hover, .equipment-gallery-arrow:focus-visible { border-color: var(--red); background: rgba(8,8,8,.92); outline: none; }
.equipment-gallery-previous { left: 16px; }
.equipment-gallery-next { right: 16px; }
.equipment-gallery-count { position: absolute; z-index: 3; right: 14px; bottom: 13px; padding: 6px 9px; border-radius: 999px; background: rgba(8,8,8,.76); color: #fff; font-size: 9px; letter-spacing: .12em; }
.equipment-detail-copy { min-width: 0; padding: clamp(32px, 4vw, 60px); }
.equipment-detail-copy h1 { margin: 0 0 18px; font-size: clamp(42px, 4.6vw, 72px); line-height: .98; }
.equipment-detail-copy > p { color: var(--muted); line-height: 1.75; }
.equipment-detail-status { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: #89857d; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.equipment-detail-price { margin-top: 22px; }
.technical-specifications { margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.technical-specifications summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; cursor: pointer; list-style: none; color: #ddd8ce; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.technical-specifications summary::-webkit-details-marker { display: none; }
.technical-specifications summary span { color: var(--red); font-size: 18px; font-weight: 400; transition: transform .2s ease; }
.technical-specifications[open] > summary span, .technical-specification[open] > summary span { transform: rotate(45deg); }
.technical-specification-sections { border-top: 1px solid var(--line); }
.technical-specification { border-bottom: 1px solid var(--line); }
.technical-specification:last-of-type { border-bottom: 0; }
.technical-specification > summary { padding: 14px 0; color: #aaa69e; font-size: 8px; }
.technical-specification > p { margin: 0; padding: 0 0 16px; color: #d1ccc2; font-size: 11px; line-height: 1.65; }
.technical-specification-sections > .manufacturer-source { margin: 16px 0; }
.equipment-detail-actions { margin-top: 28px; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.equipment-detail-actions .button { flex: 0 0 auto; }
.image-lightbox { width: min(94vw, 1500px); height: min(92vh, 1050px); max-width: none; max-height: none; margin: auto; padding: 46px; border: 1px solid rgba(255,255,255,.22); background: #080807; color: white; overflow: hidden; }
.image-lightbox::backdrop { background: rgba(0,0,0,.9); backdrop-filter: blur(5px); }
.image-lightbox img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; touch-action: pinch-zoom; }
.image-lightbox-close { position: absolute; z-index: 2; top: 10px; right: 14px; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.65); color: white; cursor: pointer; font-size: 24px; line-height: 1; }
.lens-family-options { margin-top: 15px; border-top: 1px solid var(--line); }
.lens-family-option { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.lens-family-option strong { display: block; color: #ddd8ce; font-size: 10px; font-weight: 500; line-height: 1.45; }
.lens-family-option small, .lens-family-rates small { min-height: 0; margin: 4px 0 0; color: #77736d; font-size: 7px; text-transform: uppercase; letter-spacing: .08em; }
.lens-family-rates { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.lens-family-rates span { color: #8f8b84; font-size: 7px; text-transform: uppercase; letter-spacing: .06em; }
.lens-family-rates b { display: block; color: #c2bdb3; font-size: 10px; font-weight: 500; }
.lens-family-rates small { grid-column: 1 / -1; }
.lens-family-book { align-self: start; padding: 5px 0; border: 0; border-bottom: 1px solid var(--red); background: transparent; color: #ddd8ce; cursor: pointer; font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.card-action { width: 100%; padding: 14px 0 2px; display: flex; justify-content: space-between; border: 0; border-top: 1px solid var(--line); background: transparent; color: #ddd8ce; cursor: pointer; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; text-align: left; }
.card-action span { color: var(--red); font-size: 18px; }
.empty-state { padding: 60px; text-align: center; color: var(--muted); }

.package-section { display: grid; grid-template-columns: .8fr 1.7fr; gap: 8vw; padding: 120px 4vw; background: var(--bone); color: var(--black); }
.package-intro > p { margin-top: 28px; color: #5e5a53; }
.text-link { padding: 0 0 8px; border: 0; border-bottom: 1px solid #222; background: transparent; cursor: pointer; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; }
.text-link span { margin-left: 20px; color: var(--red); font-size: 18px; }
.package-cards { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid rgba(0,0,0,.18); border-top: 1px solid rgba(0,0,0,.18); }
.package-card { position: relative; min-height: 440px; padding: 28px; display: flex; flex-direction: column; border-right: 1px solid rgba(0,0,0,.18); border-bottom: 1px solid rgba(0,0,0,.18); }
.package-card:hover { background: #e5dfd2; }
.package-no { color: var(--red); font-size: 10px; }
.package-image { width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 24px 0 28px; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(0,0,0,.18); background: #ffffff; }
.package-image img { width: 100%; height: 100%; padding: 10px; display: block; object-fit: contain; object-position: center; filter: saturate(.86) contrast(1.03); transition: transform .5s ease, filter .4s ease; }
.package-card:hover .package-image img { filter: saturate(1) contrast(1.05); }
.package-icon { height: 150px; margin: 35px 0; position: relative; }
.package-icon::before, .package-icon::after { content: ""; position: absolute; border: 2px solid #292724; }
.camera-mini::before { width: 130px; height: 74px; left: 18px; top: 32px; }
.camera-mini::after { width: 55px; height: 55px; border-radius: 50%; left: 95px; top: 41px; box-shadow: -64px 60px 0 -22px #292724; }
.lens-mini::before { width: 82px; height: 82px; left: 42px; top: 30px; border-radius: 50%; box-shadow: inset 0 0 0 15px #f0ece2, inset 0 0 0 17px #292724; }
.lens-mini::after { width: 36px; height: 98px; left: 64px; top: 22px; border-radius: 5px; transform: rotate(90deg); }
.monitor-mini::before { width: 126px; height: 74px; left: 18px; top: 25px; box-shadow: inset 0 0 0 7px #f0ece2, inset 0 0 0 9px #292724; }
.monitor-mini::after { width: 68px; height: 2px; left: 48px; top: 112px; border: 0; background: #292724; box-shadow: 0 12px 0 #292724; }
.package-card h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.package-card p { color: #646058; font-size: 12px; line-height: 1.7; }
.package-card button { margin-top: auto; padding: 14px 0 0; display: flex; justify-content: space-between; border: 0; border-top: 1px solid rgba(0,0,0,.2); background: transparent; cursor: pointer; text-transform: uppercase; font-size: 9px; letter-spacing: .12em; }

.process-section { padding: 110px 4vw; display: grid; grid-template-columns: .6fr 1.6fr; gap: 8vw; background: #0b0b0a; border-bottom: 1px solid var(--line); }
.process-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(44px, 4.7vw, 76px); line-height: .96; letter-spacing: -.035em; font-weight: 500; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); }
.process-grid article { min-height: 300px; padding: 25px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid b { color: var(--red); font-size: 9px; }
.process-grid h3 { margin: 95px 0 12px; font-family: var(--serif); font-size: 25px; line-height: 1.05; font-weight: 500; }
.process-grid p { margin: 0; color: #88847d; font-size: 10px; line-height: 1.7; }

.work-section { background: #0d0d0c; }
.work-toolbar { margin: -12px 0 30px; padding: 17px 0; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.work-toolbar > div:first-child { display: flex; align-items: center; gap: 12px; }
.work-toolbar strong { color: var(--red); font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1; }
.work-toolbar span { color: #8b877f; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.work-filters { display: flex; align-items: center; gap: 7px; }
.work-filter { padding: 9px 14px; border: 1px solid transparent; background: transparent; color: #77736d; cursor: pointer; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.work-filter:hover, .work-filter.active { border-color: var(--line); background: #171715; color: var(--bone); }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.work-card { position: relative; min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: #11110f; border: 1px solid var(--line); transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.work-card[hidden] { display: none; }
.work-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.24); box-shadow: 0 22px 45px rgba(0,0,0,.32); }
.work-card:hover .work-poster, .work-card:hover .poster-pair img { transform: scale(1.025); filter: grayscale(0) saturate(.94) contrast(1.02); }
.work-poster, .poster-pair { width: 100%; aspect-ratio: 2 / 3; background: #080807; border-bottom: 1px solid var(--line); }
.work-poster { display: block; padding: 9px; object-fit: contain; object-position: center; filter: grayscale(.12) saturate(.9) contrast(1.04); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.work-poster-cover { padding: 0; object-fit: cover; object-position: center; }
.work-poster-contain { padding: 12%; object-fit: contain; background: radial-gradient(circle at 50% 42%, #481316, #0a0909 66%); }
.poster-pair { position: relative; overflow: hidden; }
.poster-pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(.12) saturate(.9) contrast(1.04); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.poster-pair img:last-child { inset: auto 14px 14px auto; z-index: 2; width: 43%; height: 43%; object-fit: cover; border: 5px solid #11110f; box-shadow: 0 12px 32px rgba(0,0,0,.55); }
.poster-pair::after { content: "S1 + S2"; position: absolute; z-index: 3; left: 12px; bottom: 12px; padding: 6px 8px; background: var(--red); color: white; font-size: 7px; font-weight: 700; letter-spacing: .12em; }
.work-meta { padding: 17px 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.work-meta span { color: rgba(255,255,255,.72); font-size: 8px; text-transform: uppercase; letter-spacing: .14em; }
.work-meta b { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: white; font-size: 8px; }
.work-copy { margin-top: auto; padding: 16px 18px 21px; }
.work-copy::before { content: ""; width: 32px; height: 2px; margin: 0 0 14px; display: block; background: var(--red); }
.work-copy p { margin: 0 0 9px; min-height: 1.9em; display: flex; align-items: flex-end; justify-content: flex-end; color: white; font-family: var(--serif); font-size: clamp(25px, 2vw, 36px); line-height: .95; text-align: right; }
.work-copy h3 { margin: 0 0 7px; min-height: 2em; font-family: var(--serif); font-size: clamp(19px, 1.35vw, 24px); line-height: 1.04; font-weight: 500; }
.work-copy small { color: rgba(255,255,255,.58); font-size: 7px; text-transform: uppercase; letter-spacing: .12em; }
.work-copy i { margin: 0 0 13px; display: inline-flex; padding: 7px 9px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.38); color: rgba(255,255,255,.75); font-size: 7px; font-style: normal; text-transform: uppercase; letter-spacing: .12em; }
.work-archive .work-poster { filter: grayscale(1) contrast(1.12); }
.credit-note { margin: 18px 0 0; color: #66625c; font-size: 8px; }
.portfolio-categories { margin-top: 55px; border-top: 1px solid var(--line); }
.portfolio-category { padding: 34px 24px; border-bottom: 1px solid var(--line); }
.portfolio-category > h3 { margin: 0 0 20px; font-family: var(--serif); font-size: 26px; font-weight: 500; }
.portfolio-category-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.portfolio-identity { min-height: 110px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); background: var(--panel); }
.portfolio-identity span { color: var(--red); font-size: 8px; text-transform: uppercase; letter-spacing: .14em; }
.portfolio-identity strong { color: #d4cfc5; font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.25; }

.support-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; }
.support-image { position: relative; padding: 45px; display: flex; align-items: flex-end; background: linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.65)), url("assets/cairo-vision-hero.png") 70% center / auto 115% no-repeat; border-right: 1px solid var(--line); overflow: hidden; }
.support-image span { font-family: var(--serif); font-size: clamp(50px, 5vw, 84px); line-height: .9; }
.support-content { padding: 100px 7vw; background: #10100f; }
.support-content h2 { font-size: clamp(42px, 4.5vw, 70px); }
.support-list { margin-top: 60px; }
.support-list div { display: grid; grid-template-columns: 50px 1fr; padding: 24px 0; border-top: 1px solid var(--line); }
.support-list strong { grid-row: span 2; color: var(--red); font-size: 10px; }
.support-list h3 { margin-bottom: 6px; font-size: 16px; font-weight: 500; }
.support-list p { margin: 0; color: #85817a; font-size: 12px; }
.trust-list { margin-top: 0; }

.learn-section { background: #090908; }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.journal-card { min-height: 350px; padding: 30px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.journal-card span { color: var(--red); font-size: 9px; text-transform: uppercase; letter-spacing: .15em; }
.journal-card h3 { margin-top: 80px; font-family: var(--serif); font-size: 27px; line-height: 1.2; font-weight: 500; }
.journal-card a { margin-top: auto; color: #aaa69e; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }

.final-cta { padding: 120px 4vw; display: grid; grid-template-columns: 1.5fr .6fr; gap: 12vw; align-items: end; background: var(--red-dark); }
.final-cta .eyebrow span { background: white; }
.final-cta-copy > p { color: #e1cacc; }
.final-cta .button { margin-top: 20px; border-color: var(--bone); background: var(--bone); color: var(--black); }
.contact-section a { color: white; }
.contact-section strong { color: white; font-weight: 600; }

.footer { padding: 75px 4vw 35px; display: grid; grid-template-columns: 1.45fr repeat(3, .78fr); gap: clamp(28px, 4vw, 65px); border-top: 1px solid var(--line); background: #070706; color: #8c8880; font-size: 11px; }
.footer > div, .footer > address { display: flex; flex-direction: column; gap: 8px; }
.footer h3 { margin: 0 0 12px; color: #d4cfc5; font-size: 9px; text-transform: uppercase; letter-spacing: .15em; }
.footer p { margin: 0 0 8px; color: #77736c; }
.footer a:hover, .footer button:hover { color: var(--bone); }
.footer button { width: max-content; padding: 0 0 6px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: #8c8880; cursor: pointer; font-size: 11px; }
.footer-brand p { max-width: 360px; margin: 25px 0 20px; line-height: 1.75; }
.footer-brand strong { margin-bottom: 20px; color: #d6d1c7; font-family: var(--serif); font-size: 20px; line-height: 1.1; font-weight: 500; }
.footer-brand button { color: #d6d1c7; text-transform: uppercase; letter-spacing: .11em; font-size: 8px; }
.footer-brand button span { margin-left: 12px; color: var(--red); font-size: 15px; }
.footer-contact { margin: 0; font-style: normal; }
.footer-contact span { margin-top: 6px; color: #aaa69e; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.footer-contact a { width: max-content; max-width: 100%; color: #d4cfc5; font-size: 11px; overflow-wrap: anywhere; }
.footer-contact b { color: #8c8880; font-size: 10px; font-weight: 400; }
.instagram-icon { width: 14px; height: 14px; margin-left: 5px; fill: none; stroke: currentColor; stroke-width: 1.7; vertical-align: -3px; }
.footer > small { grid-column: 1 / -1; margin-top: 45px; padding-top: 20px; display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 25px; border-top: 1px solid var(--line); color: #5d5953; text-transform: uppercase; letter-spacing: .12em; font-size: 7px; }

.enquiry-dialog { width: min(650px, calc(100% - 30px)); max-height: 92vh; overflow-y: auto; padding: 45px; border: 1px solid #393734; background: #111110; color: var(--bone); box-shadow: 0 40px 100px rgba(0,0,0,.7); }
.enquiry-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(6px); }
.enquiry-dialog h2 { font-family: var(--serif); font-size: 50px; line-height: 1; font-weight: 500; }
.dialog-intro { color: var(--muted); font-size: 12px; }
.dialog-close { position: absolute; right: 18px; top: 14px; border: 0; background: transparent; color: white; font-size: 28px; cursor: pointer; }
.enquiry-dialog form { display: grid; gap: 17px; margin-top: 30px; }
.enquiry-dialog label { display: grid; gap: 7px; color: #aaa69d; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.enquiry-dialog input, .enquiry-dialog select, .enquiry-dialog textarea { width: 100%; padding: 14px; border: 1px solid var(--line); outline: 0; background: #191917; color: white; text-transform: none; letter-spacing: normal; font-size: 13px; }
.enquiry-dialog input:focus, .enquiry-dialog select:focus, .enquiry-dialog textarea:focus { border-color: var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-status { color: #a8c9aa; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .main-nav { position: fixed; inset: 84px 0 auto; padding: 30px 4vw; display: none; flex-direction: column; align-items: flex-start; background: rgba(9,9,8,.98); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .menu-toggle { display: grid; gap: 5px; width: 32px; padding: 6px; border: 0; background: transparent; }
  .menu-toggle span:not(.sr-only) { display: block; height: 1px; background: white; }
  .header-cta { justify-self: end; }
  .equipment-grid { grid-template-columns: repeat(3, 1fr); }
  .heritage-section { grid-template-columns: .55fr 1fr; }
  .heritage-image { grid-column: 1 / -1; min-height: 420px; }
  .package-section { grid-template-columns: 1fr; }
  .process-section { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: 1.3fr repeat(2, 1fr); }
  .footer-contact { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid var(--line); }
  .equipment-detail-grid { grid-template-columns: 1fr; }
  .equipment-detail-gallery { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .equipment-detail-gallery[data-gallery-length="1"] { min-height: 0; }
}

@media (max-width: 760px) {
  .site-header { height: 72px; padding: 0 20px; gap: 15px; }
  .main-nav { top: 72px; }
  .header-cta { display: none; }
  .brand small { display: none; }
  .hero { min-height: 760px; }
  .hero-media { background-position: 63% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(6,6,5,.97), rgba(6,6,5,.38)), linear-gradient(0deg, rgba(6,6,5,.9), transparent); }
  .hero-content { width: auto; margin: 0 20px; padding-top: 72px; }
  h1 { font-size: clamp(54px, 16vw, 78px); }
  .hero-copy { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-meta { margin-top: 45px; grid-template-columns: 1fr; }
  .hero-meta div { padding: 13px 0; }
  .hero-meta div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .scroll-cue { display: none; }
  .credibility-strip { display: block; padding: 22px 20px; }
  .work-ticker { margin-top: 15px; overflow-x: auto; font-size: 14px; }
  .section, .package-section, .process-section { padding: 80px 20px; }
  .heritage-section { padding: 75px 20px; grid-template-columns: 1fr; gap: 35px; }
  .heritage-number { min-height: 0; padding: 0 0 35px; border-right: 0; border-bottom: 1px solid var(--line); }
  .heritage-number strong { font-size: 110px; }
  .heritage-image { grid-column: auto; min-height: 320px; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 35px; }
  .section-heading h2, .package-intro h2, .support-content h2, .final-cta h2 { font-size: 46px; }
  .catalogue-tools { align-items: stretch; flex-direction: column; }
  .filter-list { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
  .camera-card { grid-column: span 1; }
  .equipment-card-info { padding: 16px; }
  .equipment-card h3 { font-size: 15px; }
  .equipment-card-info > p { display: none; }
  .image-lightbox { width: calc(100vw - 20px); height: calc(100svh - 20px); padding: 38px 10px 10px; }
  .equipment-detail-gallery { min-height: 0; padding: 4px; gap: 4px; }
  .equipment-detail-gallery[data-gallery-length="1"] { min-height: 0; }
  .equipment-gallery-thumbnails { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .equipment-gallery-thumbnail { min-width: 0; }
  .equipment-gallery-arrow { width: 36px; height: 36px; }
  .equipment-detail-copy { padding: 28px 20px; }
  .equipment-detail-copy h1 { font-size: 44px; }
  .equipment-detail-actions { align-items: stretch; flex-direction: column; }
  .package-cards { grid-template-columns: 1fr; }
  .package-card { min-height: 340px; }
  .package-image { height: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid article { min-height: 250px; }
  .process-grid h3 { margin-top: 70px; }
  .work-toolbar { align-items: flex-start; flex-direction: column; }
  .work-filters { width: 100%; overflow-x: auto; padding-bottom: 3px; }
  .work-filter { flex: 0 0 auto; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card, .work-card.work-featured { grid-column: span 1; min-height: 0; }
  .work-copy p, .work-featured .work-copy p { font-size: clamp(26px, 7vw, 40px); }
  .support-section { grid-template-columns: 1fr; }
  .support-image { min-height: 500px; }
  .support-content { padding: 80px 20px; }
  .journal-grid { grid-template-columns: 1fr; }
  .journal-card { min-height: 280px; }
  .final-cta { padding: 80px 20px; grid-template-columns: 1fr; gap: 45px; }
  .footer { grid-template-columns: 1fr 1fr; padding: 55px 20px 30px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer > small { grid-column: 1 / -1; }
  .enquiry-dialog { padding: 35px 20px; }
  .enquiry-dialog h2 { font-size: 40px; }
}

@media (max-width: 430px) {
  .equipment-grid, .work-grid { grid-template-columns: 1fr; }
  .camera-card { grid-column: span 1; }
  .camera-specs { grid-template-columns: 1fr; }
  .work-card, .work-card.work-featured { grid-column: span 1; min-height: 0; }
  .poster-pair img:last-child { width: 40%; height: 40%; }
  .equipment-visual { aspect-ratio: 16 / 9; }
  .process-grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .footer > small { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* Separate page views. Each URL now exposes one focused part of the catalogue. */
body[data-page] main > section { display: none; }
body[data-page="home"] main > .hero,
body[data-page="equipment"] main > .equipment-section,
body[data-page="equipment-detail"] main > .equipment-detail-section,
body[data-page="portfolio"] main > .work-section,
body[data-page="about"] main > .heritage-section,
body[data-page="about"] main > .support-section,
body[data-page="contact"] main > .final-cta { display: block; }
body[data-page]:not([data-page="home"]) main > section:first-of-type:not(.hero),
body[data-page="equipment"] .equipment-section,
body[data-page="equipment-detail"] .equipment-detail-section,
body[data-page="portfolio"] .work-section,
body[data-page="about"] .heritage-section,
body[data-page="contact"] .final-cta { padding-top: clamp(8rem, 12vw, 11rem); }
.main-nav a[aria-current="page"] { color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Booking flow ─────────────────────────────────────── */
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.card-rate { font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.card-rate small { color: var(--muted); font-weight: 500; font-size: 10px; }

.booking-dialog { width: min(760px, calc(100% - 30px)); max-height: 92vh; overflow-y: auto; padding: 45px; border: 1px solid #393734; background: #111110; color: var(--bone); box-shadow: 0 40px 100px rgba(0,0,0,.7); }
.booking-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(6px); }
.booking-dialog h2 { font-family: var(--serif); font-size: 44px; line-height: 1; font-weight: 500; margin-bottom: 12px; }
.booking-dialog .dialog-close { position: absolute; top: 16px; right: 18px; width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; color: var(--bone); font-size: 19px; cursor: pointer; }
.booking-dialog .dialog-close:hover { border-color: var(--red); color: var(--red); }
.booking-dialog .dialog-intro { color: var(--muted); font-size: 13px; max-width: 520px; }

.booking-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.bp-dot { width: 7px; height: 7px; border-radius: 50%; background: #2c2b29; transition: background .25s; }
.bp-dot.active { background: var(--red); }
.booking-progress em { margin-left: 6px; font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }

.booking-items { display: grid; gap: 10px; margin-top: 24px; max-height: 44vh; overflow-y: auto; padding-right: 4px; }
.booking-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); background: #161514; transition: border-color .2s; }
.booking-item.picked { border-color: var(--red); }
.booking-item h4 { margin: 0 0 3px; font-size: 14px; font-weight: 600; }
.bi-stock { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #7fae8b; }
.bi-stock.low { color: #d8a24a; }
.bi-side { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.bi-rate { font-size: 13px; font-weight: 700; white-space: nowrap; }
.bi-rate small { color: var(--muted); font-weight: 500; }
.bi-qty { display: flex; align-items: center; gap: 10px; }
.bi-qty button { width: 30px; height: 30px; border: 1px solid var(--line); background: transparent; color: var(--bone); font-size: 15px; cursor: pointer; line-height: 1; }
.bi-qty button:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.bi-qty button:disabled { opacity: .3; cursor: default; }
.bi-qty b { min-width: 16px; text-align: center; font-size: 14px; }

.booking-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; }
.booking-note { color: var(--muted); font-size: 12px; }
.button:disabled { opacity: .35; cursor: default; transform: none; }

.booking-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 22px; }
.booking-dates label { display: grid; gap: 7px; color: #aaa69d; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.booking-dates input, .booking-dates select { width: 100%; padding: 14px; border: 1px solid var(--line); outline: 0; background: #191917; color: white; text-transform: none; letter-spacing: normal; font-size: 13px; color-scheme: dark; }
.booking-dates input:focus, .booking-dates select:focus { border-color: var(--red); }

.booking-error { margin: 14px 0 0; color: #e0766f; font-size: 12px; }

.booking-lock { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 11px 15px; border: 1px solid rgba(216,162,74,.35); background: rgba(216,162,74,.07); font-size: 12px; color: #d8cfc0; }
.booking-lock strong { color: #d8a24a; font-variant-numeric: tabular-nums; }
.lock-pulse { width: 7px; height: 7px; border-radius: 50%; background: #d8a24a; animation: lockpulse 1.4s infinite; flex-shrink: 0; }
@keyframes lockpulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.booking-summary { margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line); background: #161514; }
.booking-summary.compact { margin-top: 20px; }
.summary-line { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; color: var(--muted); font-size: 13px; }
.summary-line span:last-child { color: var(--bone); white-space: nowrap; }
.summary-total { display: flex; justify-content: space-between; padding-top: 13px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 700; }
.summary-deposit { display: flex; justify-content: space-between; margin-top: 6px; color: var(--muted); font-size: 11px; }

#booking-form { display: grid; gap: 4px; margin-top: 4px; }

.booking-confirm { text-align: center; padding: 20px 0 6px; }
.confirm-mark { width: 58px; height: 58px; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #7fae8b; color: #7fae8b; font-size: 24px; background: rgba(127,174,139,.08); }
.confirm-card { max-width: 420px; margin: 24px auto 28px; padding: 20px 24px; border: 1px solid var(--line); background: #161514; text-align: left; display: grid; gap: 9px; }
.confirm-card div { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; }
.confirm-card span { color: var(--muted); }
.confirm-card strong { color: var(--red); letter-spacing: .06em; }
.confirm-total { padding-top: 11px; border-top: 1px solid var(--line); font-weight: 700; }

@media (max-width: 640px) {
  .booking-dialog { padding: 35px 18px; }
  .booking-dialog h2 { font-size: 34px; }
  .booking-dates { grid-template-columns: 1fr; }
  .booking-item { flex-direction: column; align-items: flex-start; }
  .bi-side { width: 100%; justify-content: space-between; }
}

.card-foot { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.card-foot .card-action { width: auto; border-top: 0; padding: 0; gap: 10px; }

/* ── Two-tier portfolio ───────────────────────────────── */
.works-primary { padding: 38px 24px; }
.works-secondary { padding: 28px 24px 14px; }
.works-tier-title { margin: 0 0 28px; font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: -.01em; }
.works-tier-muted { color: #9a9a94; font-size: 22px; }

.works-grid { display: grid; gap: 18px; }
.works-grid-primary { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.works-grid-sub { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }

.works-card { border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: border-color .25s, transform .25s; }
.works-card:hover { border-color: rgba(198,34,38,.55); transform: translateY(-4px); }
.works-grid-primary .works-card { padding: 16px 16px 20px; }
.works-grid-sub .works-card { padding: 10px 10px 14px; }

.works-poster { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: #181716; }
.works-poster img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; filter: saturate(.92); transition: transform .4s; }
.works-card:hover .works-poster img { transform: scale(1.04); }
.poster-fallback { display: flex; align-items: flex-end; height: 100%; padding: 18px; background: linear-gradient(160deg, #201d1a 0%, #121110 60%), radial-gradient(circle at 80% 10%, rgba(198,34,38,.25), transparent 55%); }
.poster-fallback span { font-family: var(--serif); font-size: 24px; line-height: 1.1; color: #cdc6b9; }

.co-badge { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 2px; background: rgba(184,51,42,.15); color: #b8332a; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; backdrop-filter: blur(4px); }

.works-copy { padding-top: 14px; }
.works-type { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .18em; font-weight: 600; }
.works-grid-primary .works-title { margin: 0 0 5px; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.1; }
.works-grid-sub .works-title { margin: 0 0 4px; font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 1.25; }
.works-subtitle { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.works-grid-sub .works-subtitle { font-size: 11px; }

.works-divider { margin: 6px 24px; border: 0; border-top: 1px solid var(--line); }

@media (max-width: 640px) {
  .works-primary, .works-secondary { padding: 36px 0 12px; }
  .works-divider { margin: 10px 0; }
  .works-grid-primary { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .works-grid-sub { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
}
.works-poster img.poster-contain { object-fit: contain; padding: 12px; box-sizing: border-box; background: #181716; }

/* SVG north-east arrow (replaces the ↗ character) */
.arrow-ne { width: 13px; height: 13px; flex-shrink: 0; stroke: var(--red); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; vertical-align: -1px; }
.card-action .arrow-ne { width: 15px; height: 15px; }

/* Production-type tier selector */
.tier-select { display: flex; align-items: center; gap: 10px; margin: 22px 0 6px; }
.tier-label { font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-right: 4px; }
.tier-btn { padding: 10px 22px; border: 1px solid var(--line); background: transparent; color: var(--bone); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: .2s; }
.tier-btn:hover { border-color: #555; }
.tier-btn.active { border-color: var(--red); background: rgba(198,34,38,.12); color: #fff; }
.tier-hint { margin: 6px 0 0; font-size: 12px; color: #d8a24a; }
.booking-items.tier-pending { opacity: .45; pointer-events: none; }

/* DB-driven catalogue */
.catalogue-category { grid-column: 1 / -1; margin: 38px 0 0; padding: 18px 0 12px; font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--bone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.catalogue-category:first-child { margin-top: 0; border-top: 0; }
.tier-rates { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; margin: 10px 0 4px; font-size: 12px; color: var(--muted); }
.tier-rates b { color: var(--bone); font-size: 14px; }
.tier-rates small { color: #7c786f; font-size: 10px; }
.bi-category { margin: 18px 0 4px; font-family: var(--serif); font-size: 17px; font-weight: 500; color: #cdc6b9; border-bottom: 1px solid var(--line); padding-bottom: 7px; }
.bi-category:first-child { margin-top: 0; }

/* Enquiry-only technician systems */
.enquire-strip { margin-top: 48px; padding: 28px; border: 1px solid var(--line); background: var(--panel); }
.enquire-strip h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-bottom: 6px; }
.enquire-strip > p { color: var(--muted); font-size: 13px; max-width: 560px; }
.enquire-list { display: grid; gap: 10px; margin-top: 18px; }
.enquire-item { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid var(--line); background: #161514; font-size: 13px; transition: border-color .2s; }
.enquire-item:hover { border-color: var(--red); }
.enquire-item span { flex: 1; font-weight: 600; }
.enquire-item b { color: var(--muted); font-weight: 600; white-space: nowrap; }
.enquire-item b small { font-size: 10px; }
