/* v47 (2026-11-23) Where our production strength comes from. A light bazaar backdrop behind the whole section; the six
   production areas on one screen in a 3 × 2 grid; a minimal, right-aligned closing line beside a Kemeraltı arch image. */
.ua { --ua-navy: #0f2238; --ua-text: #2b3646; --ua-accent: #7a5a2f; --ua-mat: #fbf8f2; --ua-ivory: #f3eee4; --ua-ease: cubic-bezier(.16, 1, .3, 1);
  position: relative; isolation: isolate; overflow: clip; background: var(--ua-ivory) !important; color: var(--ua-navy); }

/* Light backdrop */
.ua-bg { position: absolute; inset: 0; z-index: -1; }
.ua-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; filter: blur(3px) saturate(.85); transform: scale(1.04); }
.ua-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, var(--ua-ivory) 0, rgba(243, 238, 228, .84) 160px, rgba(243, 238, 228, .76) 50%, rgba(243, 238, 228, .86) 82%, var(--ua-ivory) 100%); }

.ua-wrap { max-width: 1360px; margin: 0 auto; padding: clamp(96px, 12vh, 150px) clamp(20px, 4.5vw, 64px) clamp(24px, 3vh, 40px); }
.ua-head { max-width: 58rem; margin: 0 auto clamp(36px, 5vh, 60px); text-align: center; }
.ua h2 { margin: 0; font: 500 clamp(40px, 4.4vw, 72px)/1.04 var(--r7-serif, "Cormorant Garamond", Georgia, serif); letter-spacing: -.012em; color: var(--ua-navy); text-wrap: balance; }
.ua h2 em { font-style: italic; color: var(--ua-accent); }
.ua-lede { margin: 18px auto 0; max-width: 40rem; font: 450 clamp(16.5px, 1.25vw, 19px)/1.6 var(--r7-sans, "Manrope", Arial, sans-serif); color: var(--ua-text); }

/* The six production areas: one screen, 3 × 2 */
.ua-grid { list-style: none; margin: 0 auto; padding: 0; max-width: min(1320px, calc((100vh - 330px) * 2.4 + 100px)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 26px); }
.ua-card a { display: block; height: 100%; padding: 10px; background: var(--ua-mat); color: var(--ua-navy); text-decoration: none;
  box-shadow: 0 1px 0 rgba(15, 34, 56, .05), 0 30px 56px -34px rgba(15, 34, 56, .42); transition: transform .6s var(--ua-ease), box-shadow .6s var(--ua-ease); }
.ua-ph { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e6dacb; }
.ua-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ua-ease); }
.ua-meta { display: flex; align-items: baseline; gap: 12px; padding: 14px 6px 0; }
.ua-no { font: 600 12px/1 var(--r7-sans, "Manrope", Arial, sans-serif); letter-spacing: .08em; color: var(--ua-accent); }
.ua-name { flex: 1; font: 500 clamp(22px, 1.9vw, 30px)/1.1 var(--r7-serif, "Cormorant Garamond", Georgia, serif); color: var(--ua-navy); }
.ua-arrow { font: 500 18px/1 var(--r7-sans, "Manrope", Arial, sans-serif); color: var(--ua-accent); transition: transform .5s var(--ua-ease); }
.ua-sub { list-style: none; display: flex; flex-wrap: wrap; margin: 8px 0 0; padding: 0 6px 6px 36px; font: 450 14px/1.55 var(--r7-sans, "Manrope", Arial, sans-serif); color: var(--ua-text); }
.ua-sub li:not(:last-child)::after { content: "·"; margin: 0 8px; color: rgba(122, 90, 47, .7); }
@media (hover: hover) and (pointer: fine) {
  .ua-card a:hover, .ua-card a:focus-visible { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(15, 34, 56, .05), 0 40px 66px -34px rgba(15, 34, 56, .52); }
  .ua-card a:hover .ua-ph img, .ua-card a:focus-visible .ua-ph img { transform: scale(1.06); }
  .ua-card a:hover .ua-arrow, .ua-card a:focus-visible .ua-arrow { transform: translateX(5px); }
}
.ua-card a:focus-visible { outline: 2px solid var(--ua-accent); outline-offset: 4px; }

/* Reveal: cards rise in order, the closing pair slides together */
.ua.is-armed .ua-card { opacity: 0; transform: translate3d(0, 46px, 0) scale(.97); transition: opacity .9s ease, transform 1.1s var(--ua-ease); transition-delay: calc(var(--i, 0) * 90ms); }
.ua.is-armed .ua-grid.is-in .ua-card { opacity: 1; transform: none; }

@media (max-width: 899px) { .ua-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 699px) {
  .ua h2 { font-size: clamp(34px, 9vw, 46px); }
  .ua-lede { font-size: 16px; }
  .ua-grid { gap: 10px; }
  .ua-card a { padding: 6px; }
  .ua-ph { aspect-ratio: 4 / 3; }
  .ua-meta { padding: 10px 4px 0; gap: 8px; }
  .ua-no { display: none; }
  .ua-name { font-size: 19px; line-height: 1.12; }
  .ua-arrow { font-size: 15px; }
  .ua-sub { margin-top: 5px; padding: 0 4px 4px; font-size: 12.5px; line-height: 1.45; }
  .ua-sub li:not(:last-child)::after { margin: 0 5px; }
}
@media (prefers-reduced-motion: reduce) { .ua-card a, .ua-ph img, .ua-arrow { transition: none !important; } }

/* v48 Closing strip. Default (no JS / reduced motion) is the finished band: photograph across, white text. */
.ua-quote { position: relative; }
.ua-q-pin { padding: clamp(32px, 6vh, 72px) 0 clamp(56px, 9vh, 104px); }
.ua-q-strip { position: relative; height: clamp(300px, 48vh, 520px); display: flex; align-items: center; justify-content: flex-end; }
.ua-q-photo { position: absolute; inset: 0; overflow: hidden; background: #d8c6ad; }
.ua-q-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; transform: scale(var(--qk, 1)); }
.ua-q-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 28, 48, .08) 0%, rgba(12, 28, 48, .2) 38%, rgba(12, 28, 48, .62) 100%); opacity: var(--qs, 1); }
.ua-q-text { position: relative; z-index: 2; max-width: 46rem; padding: 0 clamp(24px, 6vw, 104px); text-align: right; color: rgb(var(--qc, 246 243 235)); }
.ua-q-meta { margin: 0 0 16px; font: 600 11.5px/1.3 var(--r7-sans, "Manrope", Arial, sans-serif); letter-spacing: .14em; color: inherit; opacity: .85; }
.ua-q-meta::after { content: ""; display: inline-block; width: 36px; height: 1px; margin-left: 14px; vertical-align: middle; background: currentColor; }
.ua-q-line { margin: 0; font: 500 clamp(30px, 3.2vw, 50px)/1.16 var(--r7-serif, "Cormorant Garamond", Georgia, serif); letter-spacing: -.008em; color: inherit; }
.ua-q1, .ua-q2 { display: block; }
.ua-q2 { font-style: italic; }
.ua-q-strip ~ .ua-ai-note { margin: 12px clamp(24px, 6vw, 104px) 0; text-align: right; }
.ua.is-q .ua-q-pin { position: sticky; top: 0; height: 100vh; height: 100lvh; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; padding: clamp(64px, 9vh, 96px) 0 0; }
.ua.is-q .ua-quote { height: 170vh; height: 170svh; }
.ua.is-q .ua-q-photo { will-change: clip-path; }
.ua.is-q :is(.ua-q1, .ua-q2) { will-change: opacity, transform; }
@media (max-width: 699px) {
  .ua-q-strip { height: 66vh; height: 66svh; align-items: flex-end; }
  .ua-q-text { padding: 0 20px 28px; }
  .ua-q-line { font-size: clamp(26px, 7.4vw, 34px); }
  .ua-q-shade { background: linear-gradient(180deg, rgba(12, 28, 48, .05) 30%, rgba(12, 28, 48, .66) 100%); }
  .ua-q-strip ~ .ua-ai-note { text-align: center; margin: 12px 20px 0; }
}
.ua-quote { background: var(--ua-ivory); }

/* ---- v51 (owner, 2026-11-23): the workshop image as a framed picture on ivory, not a full-screen backdrop. It opens
   from a narrower frame as it enters; the heading follows below it in navy (always readable); then the six areas. */
.ua-bg { display: none; }
.ua-wrap { padding-top: clamp(64px, 9vh, 112px); }
.ua-intro { margin: 0 0 clamp(36px, 5vh, 60px); }
.ua-hero { margin: 0 auto; max-width: 1320px; aspect-ratio: 16 / 7.6; overflow: hidden; background: #e6dacb;
  clip-path: inset(0 var(--ua-in, 0%) 0 var(--ua-in, 0%)); box-shadow: 0 40px 80px -50px rgba(15, 34, 56, .45); }
.ua-hero img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transform: scale(var(--ua-z, 1)); will-change: transform; }
.ua-intro .ua-head { max-width: 1320px; margin: clamp(28px, 4vh, 48px) auto 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; text-align: left; }
.ua-intro .ua-head h2 { margin: 0; color: #0f2238; }
.ua-intro .ua-head h2 em { color: #7a5a2f; }
.ua-intro .ua-lede { margin: 0; max-width: 30rem; color: #2b3646; }
.ua.is-armed .ua-intro .ua-head > * { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .9s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.ua.is-armed .ua-intro .ua-head > :nth-child(2) { transition-delay: .12s; }
.ua.is-armed .ua-intro .ua-head.is-in > * { opacity: 1; transform: none; }
.ua-grid { padding-top: 0; }
@media (max-width: 899px) { .ua-intro .ua-head { grid-template-columns: 1fr; } .ua-hero { aspect-ratio: 4 / 4.4; } }
@media (prefers-reduced-motion: reduce) { .ua-hero { clip-path: none; } .ua-hero img { transform: none; } }

/* ---- v52 (owner, 2026-11-23): the workshop image behind the whole section, light and transparent, one continuous
   ground from the opening scene to the closing strip. It surfaces as the section scrolls in; the heading sits on it in
   navy and stays readable; the six areas continue on the same ground. */
.ua-bg { display: block; position: absolute; inset: 0; z-index: -1; overflow: clip; }
.ua-bg picture { position: sticky; top: 0; display: block; height: 100vh; height: 100lvh; overflow: hidden; }
.ua-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; filter: saturate(.85); transform: scale(var(--ua-z, 1.08)); will-change: transform; }
.ua-bg::before, .ua-bg::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; }
.ua-bg::before { top: 0; height: clamp(220px, 34vh, 340px); background: linear-gradient(180deg, #f3eee4 0%, rgba(243, 238, 228, .85) 35%, rgba(243, 238, 228, 0) 100%); }
.ua-bg::after { bottom: 0; height: clamp(220px, 30vh, 320px); background: linear-gradient(0deg, #f3eee4 0%, rgba(243, 238, 228, .85) 40%, rgba(243, 238, 228, 0) 100%); }
.ua-veil { position: sticky; top: 0; display: block; height: 100vh; height: 100lvh; margin-top: -100vh; margin-top: -100lvh; pointer-events: none;
  background: linear-gradient(90deg, rgba(243, 238, 228, .94) 0%, rgba(243, 238, 228, .86) 38%, rgba(243, 238, 228, .6) 70%, rgba(243, 238, 228, .48) 100%); opacity: var(--ua-v, 1); }
.ua-wrap { padding-top: clamp(140px, 22vh, 240px); }
.ua-intro { min-height: 64vh; display: flex; align-items: center; margin: 0 0 clamp(24px, 4vh, 48px); }
.ua-intro .ua-head { display: block; max-width: 40rem; margin: 0; text-align: left; }
.ua-intro .ua-head h2 { color: #0f2238; text-shadow: 0 1px 22px rgba(243, 238, 228, .9); }
.ua-intro .ua-head h2 em { color: #6e5029; }
.ua-intro .ua-lede { margin: 20px 0 0; max-width: 32rem; color: #1f2b3b; text-shadow: 0 1px 14px rgba(243, 238, 228, .95); }
@media (max-width: 699px) {
  .ua-intro { min-height: 58vh; align-items: flex-end; }
  .ua-veil { background: linear-gradient(0deg, rgba(243, 238, 228, .95) 0%, rgba(243, 238, 228, .84) 50%, rgba(243, 238, 228, .55) 100%); }
}
@media (prefers-reduced-motion: reduce) { .ua-bg img { transform: scale(1.02) !important; } }
.ua-quote { background: linear-gradient(180deg, rgba(243, 238, 228, 0) 0, rgba(243, 238, 228, .85) 160px, #f3eee4 300px) !important; }

/* CSP-safe stagger (no style attributes in markup) */
.ua-grid > li:nth-child(1) { --i: 0; }
.ua-grid > li:nth-child(2) { --i: 1; }
.ua-grid > li:nth-child(3) { --i: 2; }
.ua-grid > li:nth-child(4) { --i: 3; }
.ua-grid > li:nth-child(5) { --i: 4; }
.ua-grid > li:nth-child(6) { --i: 5; }
