:root { --glass-op: 0.35; --glass-blur: 16px; --ink: #322E2B; --muted: #6E6862; --faint: #A6A19C; --line: #E3DFDA; --paper: #FEFEFE; }

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); font-family: 'Poppins', sans-serif; color: var(--ink); }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--muted); }
::selection { background: var(--ink); color: var(--paper); }
img, video { max-width: 100%; }

.grid-overlay { position: fixed; inset: 0; z-index: 1; pointer-events: none; background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='-80 -80 160 160'%3E%3Cline x1='0' y1='-80' x2='0' y2='80' stroke='rgba(100,100,100,0.05)' stroke-width='1'/%3E%3Cline x1='-80' y1='0' x2='80' y2='0' stroke='rgba(100,100,100,0.05)' stroke-width='1'/%3E%3Cline x1='0' y1='-6' x2='0' y2='6' stroke='rgba(80,80,80,0.13)' stroke-width='1'/%3E%3Cline x1='-6' y1='0' x2='6' y2='0' stroke='rgba(80,80,80,0.13)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  background-repeat: repeat;
}
.aurora-blob { position: absolute; filter: blur(48px); border-radius: 50%; }
@keyframes auroraDrift1 { 0%,100% { transform: translate(-10%, -8%) scale(1); } 33% { transform: translate(10%, 6%) scale(1.15); } 66% { transform: translate(-4%, 10%) scale(0.92); } }
@keyframes auroraDrift2 { 0%,100% { transform: translate(8%, 6%) scale(1.08); } 33% { transform: translate(-10%, -10%) scale(0.94); } 66% { transform: translate(6%, -6%) scale(1.12); } }
@keyframes auroraDrift3 { 0%,100% { transform: translate(-6%, 8%) scale(1); } 33% { transform: translate(10%, -8%) scale(1.18); } 66% { transform: translate(-10%, 2%) scale(0.9); } }
.drift-1 { animation: auroraDrift1 8s ease-in-out infinite; }
.drift-2 { animation: auroraDrift2 9s ease-in-out infinite; }
.drift-3 { animation: auroraDrift3 8.5s ease-in-out infinite; }
.drift-2-rev { animation: auroraDrift2 7s ease-in-out infinite reverse; }
.drift-1-rev { animation: auroraDrift1 9s ease-in-out infinite reverse; }
.drift-3-slow { animation: auroraDrift3 10s ease-in-out infinite; }
.drift-2-slow { animation: auroraDrift2 9.5s ease-in-out infinite; }

.page { position: relative; z-index: 2; overflow-x: clip; }

.nav { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; align-items: center; gap: 28px; padding: 14px 28px; background: rgba(255,255,255,0.6); backdrop-filter: blur(20px) saturate(150%); border: 1px solid rgba(255,255,255,0.55); border-radius: 999px; box-shadow: 0 12px 30px rgba(50,46,43,0.1); }
.nav a { font-size: 13px; }
.nav a.brand { font-weight: 600; }
.nav a.muted { color: var(--muted); }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 900ms cubic-bezier(0.16,1,0.3,1), transform 900ms cubic-bezier(0.16,1,0.3,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
/* Branding reveals opacity-only: a transform on this section would become the
   containing block for its sticky cards and break the stacking cascade. */
.brand-section[data-reveal], .brand-section[data-reveal].is-visible { transform: none; }
@keyframes posterMaskReveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0% 0 0); } }

.glass { background: rgba(255,255,255,0.5); backdrop-filter: blur(20px) saturate(150%); border: 1px solid rgba(255,255,255,0.55); box-shadow: 0 20px 40px rgba(50,46,43,0.08); }
.glass-thin { background: rgba(255,255,255,var(--glass-op)); backdrop-filter: blur(var(--glass-blur)); border: 1px solid rgba(255,255,255,0.55); box-shadow: 0 20px 40px rgba(50,46,43,0.08); }

.section-title { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 40px; }
.subsection-title { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-weight: 700; font-size: 24px; margin: 0 0 24px; }

/* Hero */
.hero-section { padding: 24px 6vw 0; margin-top: 88px; }
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/hero-font-BebasNeue-400-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/hero-font-BebasNeue-400-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/hero-font-Rajdhani-400-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/hero-font-Rajdhani-400-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/hero-font-Rajdhani-500-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/hero-font-Rajdhani-500-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/hero-font-Rajdhani-600-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/hero-font-Rajdhani-600-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/hero-font-Rajdhani-700-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/hero-font-Rajdhani-700-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@keyframes diamondBreathe { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.06); } }
@keyframes diamondSpinCW { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes diamondSpinCCW { from { transform: translate(-50%,-50%) rotate(360deg); } to { transform: translate(-50%,-50%) rotate(0deg); } }
@keyframes diamondNucleusPulse { 0%,100% { box-shadow: 0 0 4px 1px rgba(255,255,255,0.85), 0 0 10px 3px rgba(180,210,255,0.35); } 50% { box-shadow: 0 0 7px 2px rgba(255,255,255,1), 0 0 18px 6px rgba(210,190,255,0.5); } }
@keyframes diamondScan { 0% { top: -2%; } 100% { top: 102%; } }
.diamond-hero { position: relative; width: 100%; height: 92vh; min-height: 620px; border-radius: 32px; overflow: hidden; background: #f1f0ee; cursor: none; font-family: 'Rajdhani', sans-serif; border: 1px solid rgba(255,255,255,0.55); mask-image: url(#hero-mosaic-mask); -webkit-mask-image: url(#hero-mosaic-mask); mask-mode: alpha; -webkit-mask-mode: alpha; mask-repeat: no-repeat; mask-size: 100% 100%; clip-path: inset(0 round 32px); }
.diamond-hero-shadow-wrap { filter: drop-shadow(0 40px 90px rgba(50,46,43,0.32)) drop-shadow(0 16px 32px rgba(50,46,43,0.18)); }
.diamond-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; user-select: none; pointer-events: none; }
.diamond-bottom-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 28%; background: linear-gradient(180deg, rgba(241,240,238,0) 0%, rgba(241,240,238,0.85) 70%, rgba(241,240,238,1) 100%); pointer-events: none; z-index: 4; }
.diamond-mask { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; }
.diamond-scanline { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), rgba(200,225,255,0.4), transparent); filter: blur(1.5px); animation: diamondScan 8s linear infinite; pointer-events: none; z-index: 5; }
.diamond-corner { position: absolute; width: 32px; height: 32px; z-index: 6; pointer-events: none; }
.diamond-left { position: absolute; left: 48px; top: 62%; transform: translateY(-50%); display: flex; gap: 18px; z-index: 6; max-width: 260px; mix-blend-mode: difference; }
.diamond-right { position: absolute; right: 48px; top: 62%; transform: translateY(-50%); text-align: right; z-index: 6; display: flex; gap: 18px; mix-blend-mode: difference; }
.diamond-left *, .diamond-right * { color: #FFFFFF !important; }
.diamond-vert { writing-mode: vertical-rl; font-family: 'Rajdhani', sans-serif; font-size: 11px; letter-spacing: 0.35em; color: rgba(60,60,56,0.45); white-space: nowrap; }
.diamond-left .diamond-vert { transform: rotate(180deg); }
.diamond-eyebrow { font-family: 'Rajdhani', sans-serif; font-size: clamp(14px,1.1vw,22px); letter-spacing: 0.3em; font-weight: 600; text-transform: uppercase; color: rgba(70,70,66,0.7); }
.diamond-name { font-family: 'Bebas Neue', sans-serif; font-size: clamp(48px,6vw,88px); line-height: 0.92; letter-spacing: 0.01em; color: #2a2a27; margin-top: 14px; }
.diamond-rule { height: 1px; background: rgba(40,40,36,0.25); margin: 22px 0; }
.diamond-label { font-family: 'Rajdhani', sans-serif; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(90,90,86,0.55); }
.diamond-discipline { font-family: 'Bebas Neue', sans-serif; font-size: clamp(20px,1.8vw,30px); letter-spacing: 0.04em; color: #333330; margin-top: 4px; }
.diamond-tags { font-family: 'Rajdhani', sans-serif; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(90,90,86,0.5); margin-top: 6px; }
.diamond-cs { font-family: 'Bebas Neue', sans-serif; font-size: clamp(38px,4vw,56px); color: #2a2a27; }
.diamond-links { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.diamond-link { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: clamp(16px,1.6vw,28px); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(60,60,56,0.75); border-bottom: 1px solid rgba(60,60,56,0.3); padding-bottom: 3px; transition: color 0.25s ease, border-color 0.25s ease, letter-spacing 0.25s ease; }
.diamond-link:hover { color: #6b6b66; border-color: #6b6b66; letter-spacing: 0.16em; }
.diamond-ticker { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; z-index: 6; mix-blend-mode: difference; font-family: 'Bebas Neue', sans-serif; font-size: clamp(13px,1.1vw,17px); letter-spacing: 0.08em; color: #ffffff; white-space: nowrap; }
.diamond-ticker-div { width: 1px; height: 12px; background: rgba(255,255,255,0.6); flex-shrink: 0; }
.diamond-orbits { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.diamond-ring-wrap { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.diamond-ring { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%,-50%); }
/* Circular Designs — interactive physics circle field */
.circle-field-section { padding: 0 6vw 160px; max-width: 1800px; margin: 0 auto; }
.circle-field { position: relative; width: 100%; height: 980px; touch-action: none; }
.circle-item { position: absolute; top: 0; left: 0; border-radius: 50%; overflow: hidden; background: #EDEAE4; box-shadow: 0 8px 20px rgba(50,46,43,0.08); will-change: transform; display: flex; align-items: center; justify-content: center; will-change: transform; }
.circle-item-art { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; will-change: transform; }
/* box-shadow forces full rasterization of the masked circular layer on every animated
   transform frame (35 elements at once during the physics settle burst pegs the render
   thread); drop it only while a body is actively moving, restore once it sleeps */
.circle-item.circle-item-moving { box-shadow: none; }
.circle-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.circle-item-placeholder { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-weight: 700; color: rgba(50,46,43,0.16); font-size: 20px; }
@media (max-width: 900px) { .circle-field { height: 1200px; } }
@media (max-width: 560px) { .circle-field { height: 1000px; } .circle-item-placeholder { font-size: 14px; } }

.diamond-ring-spin { position: absolute; left: 0; top: 0; }
.diamond-speck { position: absolute; top: 0; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; }
.diamond-nucleus { position: absolute; left: 0; top: 0; width: 5px; height: 5px; border-radius: 50%; background: radial-gradient(circle,#fff 0%,#e6e6ff 100%); transform: translate(-50%,-50%); animation: diamondNucleusPulse 2.2s ease-in-out infinite; }
@media (max-width: 900px) {
  .diamond-hero { height: 78vh; min-height: 520px; }
  .diamond-left, .diamond-right { top: auto; bottom: 80px; transform: none; }
  .diamond-left { left: 24px; }
  .diamond-right { right: 24px; }
  .diamond-vert { display: none; }
  .diamond-ticker { font-size: 10px; gap: 10px; bottom: 20px; }
}
@media (max-width: 560px) {
  .diamond-hero { height: 100vh; min-height: 640px; max-height: 780px; }
  .diamond-left, .diamond-right { max-width: none; text-align: center; }
  .diamond-left { top: 26px; left: 50%; right: auto; bottom: auto; transform: translateX(-50%); width: 92%; }
  .diamond-left .diamond-rule { margin: 14px auto; }
  .diamond-mid { position: absolute; top: 420px; left: 0; width: 100%; text-align: center; }
  .diamond-right { top: auto; bottom: 92px; left: 50%; right: auto; transform: translateX(-50%); width: 92%; display: block; }
  .diamond-right .diamond-cs, .diamond-right .diamond-rule { display: none; }
  .diamond-links { align-items: center; }
  .diamond-name { font-size: clamp(40px, 12.5vw, 62px); }
  .diamond-discipline { font-size: clamp(15px, 4.5vw, 20px); }
  .diamond-link { font-size: clamp(12px, 3.6vw, 16px); }
  .diamond-ticker { position: absolute; left: 0; right: 0; bottom: 16px; transform: none; width: 100%; padding: 0 16px; box-sizing: border-box; justify-content: center; flex-wrap: wrap; white-space: normal; text-align: center; }
}

/* About */
.about-section { padding: 100px 6vw 60px; max-width: 1200px; margin: 0 auto; }
.about-top { display: grid; grid-template-columns: minmax(340px, 500px) 1fr; gap: 56px; align-items: start; margin-bottom: 48px; }
.about-right { padding-top: 4px; display: flex; flex-direction: column; gap: 4px; }
.about-quote { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; letter-spacing: -0.04em; color: #EAEAEA; text-align: center; max-width: 560px; margin: 120px auto 0; text-transform: lowercase; }
.about-heading { font-family: 'Bebas Neue', sans-serif; font-weight: 400; text-transform: lowercase; font-size: clamp(48px,7.5vw,120px); letter-spacing: -0.02em; line-height: 0.9; color: #EAEAEA; margin: 0 0 16px; }

.about-body { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size: clamp(18px,2.2vw,26px); line-height: 1.5; letter-spacing: -0.015em; margin: 0; max-width: none; }
.ab-ch { color: #FFFFFF; }
.statement-section { padding: 180px 4vw 160px; max-width: none; margin: 0 auto; text-align: center; overflow: hidden; }
.mosaic-reveal { position: relative; display: inline-block; }
.mosaic-tile { position: absolute; background: var(--paper); }
.statement-inner { position: relative; }
.statement-text { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-weight: 700; letter-spacing: -0.04em; font-size: clamp(38px, 9vw, 260px); line-height: 0.9; margin: 0; color: #EAEAEA; text-transform: uppercase; white-space: normal; overflow-wrap: break-word; }
.statement-blur { filter: blur(9px); opacity: 0.55; }
.statement-sharp { position: absolute; inset: 0; padding: 0; display: flex; align-items: center; justify-content: center; mask-image: radial-gradient(circle 0px at 50% 50%, black 0%, transparent 100%); -webkit-mask-image: radial-gradient(circle 0px at 50% 50%, black 0%, transparent 100%); pointer-events: none; }
#about-photo-mosaic { mask-image: url(#about-photo-mosaic-mask); -webkit-mask-image: url(#about-photo-mosaic-mask); mask-mode: alpha; -webkit-mask-mode: alpha; mask-repeat: no-repeat; mask-size: 100% 100%; clip-path: inset(0 round 32px); }
.about-photo { border-radius: 24px; overflow: hidden; padding: 8px; aspect-ratio: 3/4.3; }
.about-photo-shadow-wrap { filter: drop-shadow(0 24px 60px rgba(50,46,43,0.28)) drop-shadow(0 8px 20px rgba(50,46,43,0.16)); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; border-radius: 24px; }
.about-card { display: none; }
.about-eyebrow { display: none; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; max-width: 620px; margin-top: 48px; }
.about-grid-label { font-size: 17px; font-weight: 600; color: #A6A19C; margin-bottom: 10px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.about-grid-value { font-size: 18px; line-height: 26px; color: #A6A19C; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }

/* Services process list (black card) */
.services-process { background: transparent; border-radius: 20px; padding: clamp(28px,5vw,64px) clamp(24px,6vw,72px); container-type: inline-size; }
.services-process-eyebrow { color: rgba(0,0,0,0.55); font-size: clamp(12px,1.4cqw,14px); letter-spacing: 0.05em; margin-bottom: 16px; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; }
.services-process-title { color: #000000; font-size: clamp(28px,4.2cqw,44px); font-weight: 500; line-height: 1.2; margin: 0 0 48px; max-width: 640px; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; }
.services-process-list { display: flex; flex-direction: column; }
.services-process-row { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 12px 24px; padding: 20px 0; border-top: 1px solid rgba(0,0,0,0.14); position: relative; }
.services-process-num { color: rgba(0,0,0,0.55); font-size: clamp(12px,1.3cqw,14px); font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; grid-column: 1 / -1; grid-row: 1; }
.services-process-heading { color: rgba(0,0,0,0.28); font-size: clamp(22px,3.4cqw,34px); font-weight: 500; line-height: 1.1; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; grid-column: 1 / -1; grid-row: 2; }
.services-process-desc { color: #000000; font-size: clamp(14px,1.6cqw,16px); line-height: 1.5; text-align: right; max-width: 60%; margin-left: auto; grid-row: 3; grid-column: 2; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; }
.services-process-row:nth-child(odd) .services-process-heading { color: #000000; }
@media (max-width: 620px) {
  .services-process-row { grid-template-columns: 1fr; }
  .services-process-desc { text-align: left; max-width: 100%; margin-left: 0; grid-column: 1; }
  .services-process-num { grid-column: 1; }
}
.services-section { padding: 460px 6vw 520px; max-width: none; margin: 0; }
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 48px; max-width: 1100px; margin: 60px auto 0; justify-items: center; }
.service-card { position: relative; cursor: default; }
.service-icon { width: 128px; height: 128px; border-radius: 28px; border: 1px solid rgba(255,255,255,0.75); box-shadow: 0 12px 26px rgba(50,46,43,0.08), inset 0 1.5px 1px rgba(255,255,255,0.9), inset 0 0 20px rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; transition: transform 320ms cubic-bezier(0.22,1,0.36,1); }
.service-card:hover .service-icon { transform: translateY(-6px); }
.service-desc { position: absolute; bottom: 118px; left: 50%; transform: translateX(-50%) translateY(8px); width: 220px; padding: 16px; background: #FFFFFF; border: 1px solid #EFEBE5; border-radius: 16px; box-shadow: 0 20px 40px rgba(50,46,43,0.14), inset 0 1px 0 rgba(255,255,255,0.7); text-align: center; z-index: 5; pointer-events: none; opacity: 0; transition: opacity 320ms ease, transform 320ms cubic-bezier(0.22,1,0.36,1); }
.service-card:hover .service-desc { opacity: 1; transform: translateX(-50%) translateY(0); }
.service-desc h4 { font-size: 14px; font-weight: 600; margin: 0 0 6px; color: var(--ink); }
.service-desc p { font-size: 12px; color: var(--muted); margin: 0; line-height: 17px; }

/* Software */
.software-section { padding: 0 6vw 120px; max-width: none; margin: 0; }
.software-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.software-card { padding: 28px; border-radius: 24px; box-shadow: 0 14px 30px rgba(50,46,43,0.05); transition: transform 260ms cubic-bezier(0.22,1,0.36,1), box-shadow 260ms; }
.software-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(50,46,43,0.12); }
.software-name { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.software-desc { font-size: 10px; line-height: 14px; color: var(--ink); margin: 0; text-transform: uppercase; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-weight: 900; -webkit-text-stroke: 1.4px var(--ink); }


.recentwork-section { padding: 0 6vw 120px; max-width: none; margin: 0; position: relative; }
.recentwork-grid { display: flex; flex-direction: column; gap: 40px; overflow: hidden; padding: 30px 0; width: 100vw; position: relative; left: 50%; margin-left: -50vw; -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%); }
/* background depth layers — scattered, softly blurred echoes of the gallery sitting
   behind the sharp foreground rows. filter:blur() is applied to each small, bounded
   image element itself (a cheap one-time raster the compositor then just transforms),
   never backdrop-filter over the moving content — that's the pattern that caused the
   earlier freeze. Two layers drift at their own slower speed for a subtle parallax. */
.rw-bg-layer { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; display: flex; align-items: center; }
.rw-bg-track { display: flex; align-items: center; gap: 90px; width: max-content; will-change: transform; }
.rw-bg-track-far { animation: rwScrollLeft 130s linear infinite; }
.rw-bg-track-mid { animation: rwScrollRight 105s linear infinite; }
.recentwork-section.rw-paused .rw-bg-track { animation-play-state: paused; }
.rw-bg-tile { display: block; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.rw-bg-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rw-bg-far { height: 130px; opacity: 0.13; filter: blur(14px) saturate(0.85) contrast(0.9); }
.rw-bg-mid { height: 190px; opacity: 0.28; filter: blur(6px) saturate(0.9) contrast(0.95); }
.rw-row { overflow: visible; position: relative; z-index: 1; }
.rw-row-track { display: flex; flex-direction: row; align-items: center; gap: 28px; width: max-content; will-change: transform; }
.rw-row-left .rw-row-track { animation: rwScrollLeft 90s linear infinite; }
.rw-row-right .rw-row-track { animation: rwScrollRight 90s linear infinite; }
.recentwork-section.rw-paused .rw-row-track { animation-play-state: paused; }
@keyframes rwScrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rwScrollRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.rw-tile { position: relative; display: block; flex-shrink: 0; border-radius: 14px; overflow: hidden; background: var(--faint); box-shadow: 0 10px 26px rgba(50,46,43,0.1); transition: transform 220ms ease; }
.rw-tile:hover { transform: scale(1.06) translateY(-4px) !important; z-index: 3; opacity: 1 !important; }
.rw-tile img { height: 100%; width: 100%; object-fit: cover; display: block; }
/* size/depth variants create the scattered "galaxy" illusion — fixed height only;
   width comes from each tile's own aspect-ratio (set inline, true to its real photo
   dimensions) so nothing is cropped, letterboxed, or stretched off-ratio, and layout
   never waits on image decode since the ratio is known upfront, not measured */
.rw-g1 { height: 260px; opacity: 1; transform: translateY(-6px); }
.rw-g2 { height: 190px; opacity: 0.82; transform: translateY(14px) scale(0.94); }
.rw-g3 { height: 150px; opacity: 0.62; transform: translateY(-2px) scale(0.86); }
.rw-lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity 380ms cubic-bezier(0.22,1,0.36,1), backdrop-filter 380ms cubic-bezier(0.22,1,0.36,1); background: rgba(255,255,255,0.4); backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px); }
.bg-lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 32px; opacity: 0; pointer-events: none; transition: opacity 420ms cubic-bezier(0.22,1,0.36,1), backdrop-filter 420ms cubic-bezier(0.22,1,0.36,1); background: rgba(20,18,16,0.4); backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px); }
.bg-lightbox.is-open { opacity: 1; pointer-events: auto; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.bg-lightbox-frame { position: relative; width: 100%; height: 100%; max-width: 1400px; background: rgba(255,255,255,0.55); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); border: 1px solid rgba(255,255,255,0.6); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.35); transform: scale(0.97); opacity: 0; transition: opacity 420ms cubic-bezier(0.22,1,0.36,1), transform 420ms cubic-bezier(0.22,1,0.36,1); }
.bg-lightbox.is-open .bg-lightbox-frame { transform: scale(1); opacity: 1; }
.bg-lightbox-frame iframe { width: 100%; height: 100%; border: 0; display: block; background: #FFFFFF; }
.bg-lightbox-close { position: absolute; top: 20px; right: 20px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: #FFFFFF; border: 1px solid rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 22px; line-height: 1; color: #1A1A1A; box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
.rw-lightbox.is-open { opacity: 1; pointer-events: auto; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rw-lightbox-frame { position: relative; padding: 16px; max-width: calc(100vw - 48px); max-height: calc(100vh - 48px); display: flex; align-items: center; justify-content: center; border-radius: 24px; background: linear-gradient(150deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.35) 42%, rgba(255,255,255,0.45) 100%); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); border: 1px solid rgba(255,255,255,0.7); box-shadow: 0 20px 50px rgba(0,0,0,0.16); transform: scale(0.94); filter: blur(8px); transition: transform 380ms cubic-bezier(0.22,1,0.36,1), filter 380ms cubic-bezier(0.22,1,0.36,1); }
.rw-lightbox.is-open .rw-lightbox-frame { transform: scale(1); filter: blur(0px); }
.rw-lightbox-frame img { display: block; max-width: calc(100vw - 80px); max-height: calc(100vh - 80px); width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.rw-lightbox-close { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; background: #FFFFFF; border: 1px solid rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 20px; line-height: 1; color: var(--ink); box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
@media (max-width: 900px) {
  .rw-g1 { height: 180px; }
  .rw-g2 { height: 140px; }
  .rw-g3 { height: 110px; }
}
.reel-section { position: relative; }
.sticky-viewport { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 60px; overflow: visible; height: auto; min-height: 62vh; padding: 20px 0; }
.perspective-scene { perspective: 850px; width: 100%; height: 62vh; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.reel-focus-bracket { position: absolute; top: 50%; width: 32px; height: clamp(80px, 11vw, 138px); transform: translateY(-50%); border-color: #C3AEE8; pointer-events: none; z-index: 3; transition: left 120ms ease, right 120ms ease; }
.reel-focus-bracket-left { border-left: 4px solid; border-top: 4px solid; border-bottom: 4px solid; border-right: none; }
.reel-focus-bracket-right { border-right: 4px solid; border-top: 4px solid; border-bottom: 4px solid; border-left: none; }
.cylindrical-reel { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
.reel-item { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: -0.04em; text-transform: uppercase; line-height: 0.95; font-size: clamp(40px, 6.5vw, 108px); color: var(--ink); white-space: nowrap; backface-visibility: visible; transform: rotateX(calc(var(--i) * var(--seg, -32.7273deg))) translateZ(clamp(160px, 20vw, 250px)) scale(var(--rscale, 1)); opacity: var(--dim, 1); }
.reel-item-text { display: inline-block; }
.exp-wheel-panel { cursor: pointer; max-width: 640px; width: min(620px, 90%); text-align: center; margin-top: -30px; position: relative; padding: 32px; }
#sw-wheel-desc-text { display: inline-block; }
.exp-wheel-meta { font-size: 15px; color: var(--faint); margin-bottom: 12px; }
.exp-wheel-desc { margin: 0 auto; font-size: 15px; line-height: 22px; color: var(--muted); white-space: pre-line; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 420ms cubic-bezier(0.22,1,0.36,1), opacity 300ms ease; max-width: 560px; }
.exp-wheel-panel.is-open .exp-wheel-desc { max-height: 400px; opacity: 1; }
.sw-desc-plain { font-size: clamp(28px, 3vw, 38px); line-height: 1.4; letter-spacing: -0.03em; color: #A6A19C; font-weight: 400; font-family: 'Rajdhani', sans-serif; max-width: 760px; margin: 0 auto; text-transform: none; }
.sw-panel-plain[data-reveal]:not(.is-visible) { transform: translateY(36px); }
.sw-panel-plain[data-reveal] { transition: opacity 950ms cubic-bezier(0.16,1,0.3,1), transform 950ms cubic-bezier(0.16,1,0.3,1); }
.sw-desc-plain { transition: opacity 600ms ease; }
.sw-desc-plain.is-swapping { opacity: 0; }
/* Experience cards */
.timeline-section { padding: 260px 6vw 520px; max-width: none; margin: 0; overflow-x: hidden; }
.exp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; margin-top: 144px; }
.exp-col { display: flex; flex-direction: column; gap: 24px; }
.exp-col-offset { margin-top: 96px; }
.exp-card { position: relative; box-sizing: border-box; border: 4px solid transparent; border-radius: 20px; overflow: hidden; cursor: default; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); transition: border-color 260ms ease, box-shadow 260ms ease, margin-top 260ms cubic-bezier(0.22,1,0.36,1); }
.exp-card:hover, .exp-card.exp-hover { margin-top: -10px; margin-bottom: 10px; z-index: 200; }
.exp-card-inner { position: relative; height: 100%; background: #17161a; overflow: hidden; border-radius: 16px; container-type: inline-size; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.exp-card-parallax[data-reveal] { opacity: 0; filter: blur(18px); transform: translateY(40px); transition: opacity 700ms cubic-bezier(0.16,1,0.3,1), filter 700ms cubic-bezier(0.16,1,0.3,1), transform 700ms cubic-bezier(0.16,1,0.3,1); }
.exp-card-parallax[data-reveal].is-visible { opacity: 1; filter: blur(0px); transform: translateY(0); }
.exp-card-photo { aspect-ratio: 1/1.35; overflow: hidden; position: relative; background: linear-gradient(150deg, #232228 0%, #17161a 100%); }
.exp-card-photo img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.exp-card-photo-initial { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.exp-card-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.6) 100%); pointer-events: none; z-index: 1; }
.exp-card-photo-initial { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-weight: 700; font-size: 48px; color: rgba(255,255,255,0.16); }
.exp-card-label { position: absolute; bottom: 4.5cqw; left: 6.5cqw; right: 6.5cqw; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1.3cqw 2.6cqw; z-index: 2; pointer-events: none; transition: opacity 200ms ease; }
.exp-card:hover .exp-card-label, .exp-card.exp-hover .exp-card-label { opacity: 0; }
.exp-card-name { font-size: clamp(11px, 5.4cqw, 17px); font-weight: 600; color: #FFFFFF; line-height: 1.25; }
.exp-card-year { font-size: clamp(10px, 4.8cqw, 16px); font-weight: 700; color: #2FFFE0; flex-shrink: 0; }
.exp-card-reveal { position: absolute; inset: 0; background: rgba(10,8,12,0.35); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); padding: 7cqw; padding-top: 9cqw; display: flex; flex-direction: column; justify-content: flex-start; transform: translateY(100%); opacity: 0; }
.exp-card-reveal.reveal-open { background: linear-gradient(150deg, rgba(20,16,22,0.6) 0%, rgba(10,8,12,0.45) 42%, rgba(15,12,16,0.55) 100%); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); transform: translateY(0); opacity: 1; justify-content: flex-start; }
.exp-card-role { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-weight: 700; font-size: clamp(12px, 7cqw, 22px); color: #FFFFFF; margin-bottom: 1.3cqw; line-height: 1.25; }
.exp-card-duration { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size: clamp(9px, 4.4cqw, 15px); color: rgba(255,255,255,0.7); margin-bottom: 3.2cqw; }
.exp-card-desc { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size: clamp(8px, 4.2cqw, 15px); line-height: 1.4; color: rgba(255,255,255,0.85); white-space: pre-line; }
.exp-card-desc .exp-nowrap { white-space: nowrap; }
@media (max-width: 1024px) {
  .exp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exp-col-offset { margin-top: 48px; }
}
@media (max-width: 560px) {
  .exp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .exp-col { gap: 14px; }
  .exp-col-offset { margin-top: 0; }
}

/* Branding / Brand list */
.brand-section { padding: 0 6vw 480px; max-width: none; margin: 0; --brand-top: 120px; --brand-exposed: 56px; --brand-hold: 900px; }
.selected-projects-banner { padding: 0; mask-image: url(#selected-projects-mosaic-mask); -webkit-mask-image: url(#selected-projects-mosaic-mask); mask-mode: alpha; -webkit-mask-mode: alpha; mask-repeat: no-repeat; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; }
.selected-projects-banner img { width: 100%; display: block; }
.brand-section { padding: 0 6vw 480px; max-width: none; margin: 700px 0 0; --brand-top: 120px; --brand-exposed: 56px; --brand-hold: 900px; }
#brand-list::after { content: ''; display: block; height: calc(var(--brand-exposed) * 3 + var(--brand-hold)); }
.brand-item { cursor: pointer; margin-bottom: 24px; display: block; border-radius: 28px; position: sticky; top: calc(var(--brand-top) + var(--i) * var(--brand-exposed)); z-index: calc(var(--i) + 1); background: linear-gradient(150deg, rgba(255,255,255,0.62) 0%, rgba(255,255,255,0.4) 42%, rgba(255,255,255,0.5) 100%); backdrop-filter: blur(30px) saturate(185%); -webkit-backdrop-filter: blur(30px) saturate(185%); border: 1px solid rgba(255,255,255,0.7); box-shadow: 0 -12px 30px rgba(50,46,43,0.09), 0 18px 40px rgba(50,46,43,0.07), inset 0 1.5px 1px rgba(255,255,255,0.9), inset 0 -1px 1px rgba(255,255,255,0.45), inset 0 0 40px rgba(255,255,255,0.22); }
.brand-label { height: var(--brand-exposed); display: flex; align-items: center; gap: 16px; padding: 0 32px; border-bottom: 1px solid rgba(255,255,255,0.5); }
.brand-label-num { font-size: 14px; letter-spacing: 0.08em; color: var(--faint); font-weight: 600; font-variant-numeric: tabular-nums; }
.brand-label-name { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); }
.brand-item-body { padding: 40px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; min-height: 420px; }
.brand-item:first-child { box-shadow: 0 18px 40px rgba(50,46,43,0.07), inset 0 1.5px 1px rgba(255,255,255,0.9), inset 0 -1px 1px rgba(255,255,255,0.45), inset 0 0 40px rgba(255,255,255,0.22); }
.brand-item:nth-child(1) { --i: 0; }
.brand-item:nth-child(2) { --i: 1; }
.brand-item:nth-child(3) { --i: 2; }
.brand-item:nth-child(4) { --i: 3; }
.brand-cover { border-radius: 20px; overflow: hidden; aspect-ratio: 3/2; background-size: cover; background-position: center; }
.brand-eyebrow { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 10px; }
.brand-title { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 700; font-size: 26px; margin: 0 0 12px; color: var(--ink); }
.brand-desc { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size: 15px; line-height: 22px; color: var(--faint); margin: 0 0 16px; }
.brand-cta { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size: 13px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* Carousel videos */
.carousel-videos-section { padding: 0 6vw 120px; }
.carousel-videos-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.carousel-video { width: 100%; aspect-ratio: 3/4; border-radius: 20px; object-fit: cover; display: block; box-shadow: 0 20px 40px rgba(50,46,43,0.12); }
@media (max-width: 900px) { .carousel-videos-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; -webkit-overflow-scrolling: touch; } .carousel-video { flex: 0 0 62%; scroll-snap-align: start; } }
.logo-section { padding: 260px 6vw 480px; max-width: none; margin: 0; }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.logo-card { border-radius: 24px; overflow: hidden; background: #FFFFFF; box-shadow: 0 6px 18px rgba(50,46,43,0.06); border: 1px solid var(--line); }
.logo-label { margin-top: 14px; text-align: center; color: #A6A19C; font-family: 'Rajdhani', sans-serif; font-size: 16px; line-height: 1.4; letter-spacing: 0.02em; text-transform: uppercase; }
.logo-cover { aspect-ratio: 1/1; background-size: 76%; background-position: center; background-repeat: no-repeat; box-sizing: border-box; }
.logo-label { padding: 18px 20px; }
.logo-label h4 { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 400; font-size: 18px; margin: 0; color: var(--ink); }

/* Web Page */
.webpage-section { padding: 0 6vw 100px; max-width: 1400px; margin: 0; }
.webpage-layout { display: grid; grid-template-columns: minmax(0, 1000px) minmax(280px, 1fr); gap: 56px; align-items: center; }
.webpage-frame { border-radius: 24px; overflow: hidden; position: relative; width: 100%; aspect-ratio: 16/14; }
.webpage-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.webpage-copy-eyebrow { font-family: 'Rajdhani', sans-serif; font-weight: 500; text-transform: uppercase; font-size: clamp(14px,2vw,22px); letter-spacing: 0.05em; color: #1A1A1A; padding-bottom: 14px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.webpage-copy-title { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-weight: 800; font-size: 34px; line-height: 1.08; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 24px 0; }
.webpage-copy-desc { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0 0 18px 0; }
.webpage-copy-desc:last-child { margin-bottom: 0; }

/* Factory bento grid — rows of two variable-width tiles (flex ratios matched to the Canva reference), last row full-width */
.factory-section { padding: 160px 6vw 120px; max-width: none; margin: 0; }
.factory-grid { display: flex; flex-direction: column; gap: 16px; }
.factory-row { display: flex; gap: 16px; }
.factory-tile { display: block; border-radius: 20px; overflow: hidden; background: var(--paper); }
.factory-tile img { width: 100%; height: 100%; display: block; object-fit: cover; }
.factory-tile-glass { background: linear-gradient(150deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 42%, rgba(255,255,255,0.07) 100%); backdrop-filter: blur(8px) saturate(150%); -webkit-backdrop-filter: blur(8px) saturate(150%); border: 1px solid rgba(255,255,255,0.35); box-shadow: 0 14px 32px rgba(0,0,0,0.05), inset 0 1.5px 1px rgba(255,255,255,0.3), inset 0 -1px 1px rgba(255,255,255,0.1); }
.factory-tile-glass2 { background: rgba(255,255,255,0); backdrop-filter: none; -webkit-backdrop-filter: none; border: 1px solid rgba(255,255,255,0.08); box-shadow: none; }
.factory-placeholder { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #f4f2ee, #f4f2ee 10px, #eae7e1 10px, #eae7e1 20px); border: 1.5px dashed var(--faint); }
.factory-placeholder span { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); text-align: center; padding: 0 16px; }

/* Video Editing */
.video-section { padding: 40px 6vw 600px; max-width: none; margin: 0; }
.film-strip { border-radius: 0; overflow: hidden; padding: 24px 0; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.film-holes { display: flex; justify-content: space-between; gap: 4px; padding: 0 24px 10px; }
#film-holes-bottom { padding: 10px 14px 0; }
.film-hole { width: 9px; height: 9px; border-radius: 2px; background: var(--ink); opacity: 0.35; flex-shrink: 0; }
.film-reels { display: flex; overflow: hidden; padding: 0 24px; }
@keyframes filmReelsMarquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.film-reels-track { display: flex; gap: 14px; flex: 0 0 auto; padding-right: 14px; animation: filmReelsMarquee 40s linear infinite; }
.film-reel { flex: 0 0 auto; width: 420px; aspect-ratio: 1080/1350; border-radius: 14px; overflow: hidden; background: #17130F; }
.film-reel video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Poster Series */
.ps2-glass-wrap { padding: 40px 0 0 40px; border-radius: 32px; overflow: hidden; }
.ps2-wrap { position: relative; display: flex; align-items: stretch; gap: 48px; }
.ps2-left { width: 36%; max-width: 340px; flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; }
.ps2-left .poster-caption-source { padding-bottom: 10px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.ps2-left .poster-caption-desc { max-width: none; font-size: 15px; line-height: 22px; margin-top: 8px; }
.ps2-frame { position: relative; flex: 1 1 58%; max-width: none; min-width: 0; aspect-ratio: 1140/1440; align-self: flex-start; margin-top: -40px; }
.ps2-frame-inner { position: absolute; inset: 0; border-radius: 0 32px 32px 0; overflow: hidden; background: #EDEAE4; box-shadow: 0 20px 40px rgba(50,46,43,0.08); }
.ps2-nav-float { position: absolute; top: 24px; left: -420px; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 28px; width: 680px; box-shadow: 0 20px 40px rgba(23,19,15,0.14), inset 0 0 0 1px rgba(255,255,255,0.6); }
.ps2-marquee-track .poster-thumb { flex: 0 0 90px; width: 90px; border-radius: 0; border-left: 1px solid rgba(255,255,255,0.25); }
.ps2-marquee-track .poster-thumb:first-child { border-left: none; }
@media (max-width: 800px) {
  .ps2-glass-wrap { border-radius: 18px; }
  .ps2-wrap { gap: 12px; padding-top: 46px; }
  .ps2-left { width: 34%; max-width: none; justify-content: flex-start; margin-top: 18px; margin-left: -24px; margin-bottom: 40px; }
  .ps2-left .poster-caption-source { font-size: 6px; padding-bottom: 3px; margin-bottom: 4px; }
  .ps2-left .poster-caption-title { font-size: clamp(9px, 2.8vw, 12px); margin-bottom: 4px; }
  .ps2-left .poster-caption-desc { font-size: 6px; line-height: 1.25; margin-top: 2px; }
  .ps2-frame { position: absolute; top: -46px; left: calc(34% - 6px); right: 0; bottom: 0; margin-top: 0; aspect-ratio: auto; align-self: auto; }
  .ps2-frame-inner { border-radius: 0; }
  .ps2-nav-float { width: 220px; left: -110px; top: 8px; padding: 10px; gap: 7px; border-radius: 12px; }
  .ps2-nav-float .poster-arrow { width: 16px; height: 16px; min-width: 16px; font-size: 9px; }
  .ps2-marquee-track .poster-thumb { flex: 0 0 38px; width: 38px; }
  .poster-thumbs { width: 100%; }
}
.poster-section { padding: 0 6vw 100px; max-width: none; margin: 0; }
.poster-frame { position: relative; width: 100%; margin: 0 auto; aspect-ratio: 1242/980; box-shadow: 0 20px 40px rgba(50,46,43,0.08); border-radius: 10px; overflow: hidden; }
.poster-inner { position: relative; width: 100%; height: 100%; border-radius: 10px; overflow: hidden; }
.poster-hero-photo { position: absolute; top: 0; right: 0; height: 100%; width: 63%; }
.poster-hero-bg { width: 100%; height: 100%; background-size: cover; background-position: center; }
.poster-nav { position: absolute; top: 22px; left: 20px; right: 48%; display: flex; align-items: center; gap: 10px; padding: 16px; border-radius: 24px; box-shadow: 0 20px 40px rgba(23,19,15,0.14), inset 0 1px 0 rgba(255,255,255,0.7); z-index: 3; }
.poster-arrow { cursor: pointer; width: 24px; height: 24px; min-width: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.poster-arrow.prev { background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.poster-arrow.next { background: #17130F; color: var(--paper); }
.poster-thumbs { display: flex; gap: 6px; overflow: hidden; flex: 1; min-width: 0; position: relative; }
.ps2-marquee-track { display: flex; width: max-content; animation: ps2Marquee 22s linear infinite; }
.ps2-marquee-track.is-paused { animation-play-state: paused; }
@keyframes ps2Marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.poster-thumb { cursor: pointer; position: relative; flex: 1; min-width: 0; aspect-ratio: 3/4; border-radius: 6px; overflow: hidden; transition: box-shadow 320ms ease, transform 320ms cubic-bezier(0.22,1,0.36,1); }
.poster-thumb-bg { width: 100%; height: 100%; background-size: cover; background-position: center; }
.poster-caption { position: absolute; top: 132px; left: 20px; right: 48%; bottom: 24px; display: flex; flex-direction: column; justify-content: center; }
.poster-caption-source { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-bottom: 10px; margin-bottom: 18px; border-bottom: 1px solid var(--line); max-width: 340px; animation: posterMaskReveal 420ms cubic-bezier(0.65,0,0.35,1) both; }
.poster-caption-title { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 800; font-size: 46px; line-height: 1.0; letter-spacing: -0.015em; color: #17130F; margin: 0 0 18px; max-width: 340px; animation: posterMaskReveal 750ms cubic-bezier(0.65,0,0.35,1) 80ms both; }
.poster-caption-desc { font-size: 13px; font-weight: 500; line-height: 19px; color: var(--faint); margin: 0; max-width: 340px; animation: posterMaskReveal 550ms cubic-bezier(0.65,0,0.35,1) 480ms both; }

/* Graph Tech */
.graphtech-section { padding: 0 6vw 120px; max-width: none; margin: 0; }
.graphtech-grid { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border-radius: 20px; background: rgba(255,255,255,0.22); backdrop-filter: blur(14px) saturate(150%); border: 1px solid rgba(255,255,255,0.5); }
.gt-cell { position: relative; overflow: hidden; background: rgba(255,255,255,0.28); flex: none; }
.graphtech-grid > .gt-cell:nth-child(1), .graphtech-grid > .gt-cell:last-child { aspect-ratio: 773/2000; }
.gt-middle-stack { flex: none; display: flex; flex-direction: column; gap: 0px; }
.gt-middle-stack .gt-cell { width: 100%; aspect-ratio: 1545/2000; }
.gt-inner { position: absolute; inset: 8%; background-size: contain; background-repeat: no-repeat; background-position: center; }
.factory-tile .gt-inner { position: static; inset: auto; width: 100%; height: 100%; background: none; display: flex; align-items: center; justify-content: center; }
.gt-guide { position: absolute; inset: 8%; pointer-events: none; }
.gt-vline { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed rgba(50,46,43,0.5); display: none; }
.gt-hline { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed rgba(50,46,43,0.5); display: none; }
.gt-dot { position: absolute; width: 6px; height: 6px; background: var(--paper); border: 1px solid rgba(50,46,43,0.6); display: none; }
[data-gt-corner] { opacity: 0; transform: scale(0.9); }
@keyframes cardBounce { 0% { transform: scale(1); } 35% { transform: scale(1.045); } 60% { transform: scale(0.985); } 80% { transform: scale(1.012); } 100% { transform: scale(1); } }
.card-bounce { animation: cardBounce 550ms cubic-bezier(0.34,1.56,0.64,1) both; }


/* Case study */
.casestudy-section { padding: 0 6vw 100px; max-width: none; margin: 0; --cs-top: 120px; --cs-exposed: 56px; --cs-hold: 500px; }
#casestudy-list::after { content: ''; display: block; height: calc(var(--cs-exposed) * 2 + var(--cs-hold)); }
.cs-item { top: calc(var(--cs-top) + var(--i) * var(--cs-exposed)); padding-top: 28px; }
.cs-item .brand-item-body { padding-top: 36px; }
.casestudy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.casestudy-slot { border-radius: 8px; aspect-ratio: 4/3; background-size: cover; background-position: center; }

/* Stats */
.stats-section { padding: 100px 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #14120F; }
.stats-item { padding: 40px 5vw; border-right: 1px solid rgba(255,255,255,0.14); border-bottom: 1px solid rgba(255,255,255,0.14); display: flex; flex-direction: column; }
.stats-item:last-child { border-right: none; }
.stats-dots { color: rgba(255,255,255,0.35); font-size: 10px; letter-spacing: 4px; margin-bottom: 20px; }
.stats-num { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-weight: 700; font-size: clamp(48px, 6vw, 84px); line-height: 0.95; color: #FFFFFF; letter-spacing: -0.02em; margin-bottom: 20px; display: flex; align-items: baseline; }
.stats-odo { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; }
.stats-odo-digit { position: relative; height: 1em; overflow: hidden; display: inline-block; }
.stats-odo-digit-strip { display: flex; flex-direction: column; will-change: transform; }
.stats-odo-digit-strip span { height: 1em; line-height: 1; display: block; }
.stats-odo-suffix { display: inline-block; }
.stats-label { font-family: 'Rajdhani', sans-serif; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #FFFFFF; font-weight: 600; margin-bottom: 8px; }
.stats-desc { font-family: 'Rajdhani', sans-serif; font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; color: rgba(255,255,255,0.45); line-height: 1.5; margin: 0; max-width: 260px; }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-item:nth-child(2n) { border-right: none; }
}
@media (max-width: 500px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-item { border-right: 1px solid rgba(255,255,255,0.14); padding: 10px 2vw; }
  .stats-item:last-child { border-right: none; }
  .stats-dots { font-size: 6px; letter-spacing: 2px; margin-bottom: 6px; }
  .stats-num { font-size: clamp(16px, 5vw, 22px); margin-bottom: 6px; }
  .stats-label { font-size: 6px; margin-bottom: 4px; }
  .stats-desc { font-size: 5px; line-height: 1.3; }
}

/* Meta bar */
.meta-bar-section { padding: 96px 0 0; }
.meta-bar { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); background: #14120F; padding: 40px 5vw; border-top: 1px solid rgba(255,255,255,0.14); border-bottom: 1px solid rgba(255,255,255,0.14); }
.meta-bar-item { display: flex; flex-direction: column; gap: 8px; }
.meta-bar-label { font-family: 'Rajdhani', sans-serif; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.meta-bar-value { font-family: 'Rajdhani', sans-serif; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; color: #FFFFFF; font-weight: 500; }
.meta-bar-cross { position: absolute; width: 13px; height: 13px; transform: translate(-50%, -50%); pointer-events: none; }
.meta-bar-cross::before, .meta-bar-cross::after { content: ''; position: absolute; background: rgba(255,255,255,0.3); }
.meta-bar-cross::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-0.5px); }
.meta-bar-cross::after { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-0.5px); }
.meta-bar-cross-tl { top: 0; left: 0; }
.meta-bar-cross-tr { top: 0; left: 100%; }
.meta-bar-cross-bl { top: 100%; left: 0; }
.meta-bar-cross-br { top: 100%; left: 100%; }
.meta-bar-br { display: none; }
@media (max-width: 700px) {
  .meta-bar { grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 14px 4vw; }
  .meta-bar-label { font-size: 6px; }
  .meta-bar-value { font-size: 7.5px; }
  .meta-bar-br { display: inline; }
}

/* My Design Process */
.process-section { position: relative; }
.process-pinwrap { position: relative; }
.process-mobile-pinwrap { display: none; }
/* JS-driven toggle (not just the @media query) — nested iframes/preview
   embeds sometimes evaluate viewport-width media queries against a stale or
   larger initial layout width, so drive the actual show/hide from measured
   window.innerWidth via a body class as the source of truth. */
body.is-process-mobile .process-pinwrap { display: none; }
body.is-process-mobile .process-mobile-pinwrap { display: block; position: relative; }
body:not(.is-process-mobile) .process-mobile-pinwrap { display: none; }
.process-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.process-header { padding: 56px 5vw 0; flex-shrink: 0; }
.process-header-inner { max-width: 640px; }
.process-header-inner h2 { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-weight: 700; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.01em; color: var(--ink); }
.process-header-inner p { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size: 18px; line-height: 1.55; color: #000; margin: 0; }
.process-track { position: relative; display: flex; align-items: stretch; height: min(56vh, 480px); margin-top: 48px; margin-left: 5vw; width: max-content; border-left: 1px solid var(--line); will-change: transform; flex-shrink: 0; }
.process-track::before, .process-track::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: var(--line); pointer-events: none; }
.process-track::before { top: 0; }
.process-track::after { bottom: 0; }
.process-grid-cross { position: absolute; width: 13px; height: 13px; transform: translate(-50%, -50%); pointer-events: none; }
.process-grid-cross::before, .process-grid-cross::after { content: ''; position: absolute; background: var(--line); }
.process-grid-cross::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-0.5px); }
.process-grid-cross::after { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-0.5px); }
.process-step { position: relative; flex: 0 0 auto; width: min(64vw, 880px); display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); border-right: 1px solid var(--line); }
.process-step-text { position: relative; border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; container-type: inline-size; }
.process-step-head { border-bottom: 1px solid var(--line); padding: 16px 28px; flex-shrink: 0; background: var(--ink); }
.process-step-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.06em; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.process-step-title { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-weight: 700; font-size: clamp(20px,2.2vw,28px); margin: 0; letter-spacing: -0.01em; color: #FFFFFF; text-transform: uppercase; }
.process-step-body { padding: 14px 28px; flex: 1; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.process-step-tag { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.process-step-desc { flex: 1; display: flex; align-items: center; }
.process-step-desc p { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-weight: 700; font-size: clamp(15px, 6cqw, 24px); line-height: 1.4; color: var(--ink); margin: 0; }
.process-step-photo { position: relative; height: 100%; overflow: hidden; }
.process-step-photo-inner { position: absolute; inset: 0; background: none; transition: clip-path 900ms cubic-bezier(0.22,1,0.36,1); }
.process-step-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.process-mobile { display: none; color: var(--ink); padding: 70px 0; }
.process-mobile-list { border-top: 1px solid var(--line); display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; -webkit-overflow-scrolling: touch; }
.process-mobile-item { padding: 0; border-bottom: none; border-right: 1px solid var(--line); flex: 0 0 85%; scroll-snap-align: start; }
.process-mobile-item-head { background: #17130F; padding: 22px 24px 18px; }
.process-mobile-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.05em; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.process-mobile-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); padding: 16px 24px 0; }
.process-mobile-header { padding-bottom: 40px; padding-left: 24px; padding-right: 24px; }
.process-mobile-heading { font-family: 'Bebas Neue', sans-serif; font-weight: 400; text-transform: lowercase; font-size: clamp(32px, 10vw, 56px); letter-spacing: -0.02em; line-height: 0.9; margin: 0 0 20px; color: #EFEDE9; }
.process-mobile-heading-desc { font-family: 'Rajdhani', sans-serif; font-size: 7px; line-height: 1.55; letter-spacing: 0.02em; text-transform: uppercase; text-align: right; color: #A6A19C; margin: 0; }
@media (max-width: 560px) {
  .process-mobile-heading-desc { font-size: 7px; line-height: 1.5; }
}
.process-mobile-photo { position: relative; width: 100%; aspect-ratio: 1/1; margin: 20px 0; overflow: hidden; border-radius: 0; }
.process-mobile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.process-mobile-title { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-weight: 800; font-size: 26px; margin: 0; letter-spacing: -0.01em; text-transform: uppercase; color: #FFFFFF; }
.process-mobile-desc { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; padding: 0 24px 36px; }
@media (max-width: 900px) {
  .process-pinwrap { display: none; }
  .process-mobile-pinwrap { display: block; position: relative; }
  .process-mobile-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
  .process-mobile-list { overflow-x: visible; scroll-snap-type: none; flex-wrap: nowrap; width: max-content; will-change: transform; }
  .process-mobile-item { scroll-snap-align: none; flex: 0 0 320px; width: 320px; }
}

/* Testimonials */

/* Testimonials */
.testimonials-section { padding: 0 6vw 100px; max-width: none; margin: 0; }
.tm-featured { display: flex; flex-wrap: wrap; justify-content: center; gap: 64px 32px; max-width: 980px; margin: 0 auto 40px; font-family: 'Poppins', Helvetica, sans-serif; }
.tm-card-wrap { width: 460px; flex: 1 1 260px; max-width: 460px; transition: filter 0.4s ease; display: flex; }
.tm-featured.tm-blur .tm-card-wrap { filter: blur(10px); pointer-events: none; }
.tm-card { background: #fff; border-radius: 24px; padding: 24px 24px 32px; box-shadow: 0 20px 40px rgba(0,0,0,0.12); position: relative; width: 100%; display: flex; flex-direction: column; }
.tm-banner { position: relative; width: 100%; height: 280px; border-radius: 16px; overflow: hidden; }
.tm-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-banner-scrim { position: absolute; inset: 0; background: rgba(255,255,255,0.55); pointer-events: none; }
.tm-avatar { width: 180px; height: 180px; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.15); margin: -90px auto 0; position: relative; overflow: hidden; background: #fff; }
.tm-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-name { margin: 24px 0 0; text-align: center; font-size: 44px; font-weight: 800; color: #262626; letter-spacing: -0.01em; line-height: 1.1; font-family: Helvetica, Arial, sans-serif; }
.tm-title { margin: 8px 0 0; text-align: center; font-size: 19px; font-weight: 500; color: #4d4d4d; font-family: Helvetica, Arial, sans-serif; }
.tm-quotebox { margin: 28px 0 0; background: #f1f0ee; border-radius: 14px; padding: 22px 24px; }
.tm-quotebox p { margin: 0; text-align: center; font-size: 15px; line-height: 1.6; color: #5c5c5c; font-family: Helvetica, Arial, sans-serif; }
.tm-cta-row { display: flex; justify-content: center; margin-top: auto; padding-top: 28px; }
.tm-cta { background: #111; color: #fff; border: none; border-radius: 999px; padding: 16px 28px; font-family: Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 160ms ease; }
.tm-cta:hover { background: #000; }
.tm-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: safe center; justify-content: center; padding: 24px 20px; overflow-y: auto; background: rgba(255,255,255,0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 0; pointer-events: none; }
.tm-modal.is-open { opacity: 1; pointer-events: auto; transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1); }
.tm-modal-close { position: fixed; top: 24px; right: 24px; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(0,0,0,0.6); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; z-index: 2; }
.tm-modal-inner { width: 100%; max-width: 640px; transform: translateY(16px) scale(0.97); opacity: 0; transition: opacity 0.4s ease, transform 0.4s ease; }
.tm-modal.is-open .tm-modal-inner { opacity: 1; transform: translateY(0) scale(1); transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1) 0.06s, transform 0.55s cubic-bezier(0.22,1,0.36,1) 0.06s; }
.tm-video-frame { width: 100%; max-height: 52vh; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,0.28); background: #000; }
.tm-video-frame video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.tm-sign { width: calc(100% - 40px); margin: -32px auto 0; position: relative; z-index: 2; background: rgba(255,255,255,0.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.65); border-radius: 16px; padding: 22px 28px; box-shadow: 0 10px 28px rgba(0,0,0,0.14); box-sizing: border-box; }
.tm-sign p { margin: 0; text-align: center; font-size: 15px; line-height: 1.6; color: #262626; font-family: Helvetica, Arial, sans-serif; white-space: pre-line; max-height: 38vh; overflow-y: auto; }
.tm-sign p.tm-sign-meta { margin-top: 16px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial-card { padding: 32px; border-radius: 28px; }
.testimonial-quote { font-size: 16px; line-height: 24px; color: var(--ink); margin: 0 0 20px; font-style: italic; }
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.testimonial-role { font-size: 13px; color: var(--faint); }

/* Contact */
.contact-section { padding: 0 0 0; max-width: none; margin: 0 auto; text-align: center; }
.contact-hero-wrap { position: relative; }
.contact-hero-img { width: 100%; height: auto; aspect-ratio: 1920/1080; display: block; mask-image: url(#contact-hero-mosaic-mask); -webkit-mask-image: url(#contact-hero-mosaic-mask); mask-mode: alpha; -webkit-mask-mode: alpha; mask-repeat: no-repeat; mask-size: 100% 100%; }
.contact-links-overlay { position: absolute; left: 0; right: 0; bottom: 6%; }
.contact-title { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-weight: 700; letter-spacing: -0.02em; font-size: clamp(28px, 4vw, 48px); margin: 0 0 24px; }
.contact-desc { font-size: 16px; color: var(--muted); margin: 0 0 32px; }
.contact-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.contact-link { font-size: 16px; font-weight: 600; color: #fff; transition: opacity 0.2s; }
.contact-link:hover { opacity: 0.7; }

@media (max-width: 900px) {
  .about-top { grid-template-columns: 1fr; }
  .tm-featured { flex-direction: column; align-items: center; }
  .about-photo { max-width: 280px; margin: 0 auto; }
  .webpage-layout { grid-template-columns: 1fr !important; }
  .webpage-layout .webpage-frame { order: -1; aspect-ratio: 4/5; }
  .brand-section { --brand-top: 96px; --brand-exposed: 34px; --brand-hold: 480px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .poster-frame { aspect-ratio: 4/3.3; }
  .poster-hero-photo { width: 58%; height: 100%; top: 0; right: 0; }
  .poster-nav { left: 12px; right: 60%; top: 14px; padding: 10px; border-radius: 12px; gap: 8px; }
  .poster-nav .poster-arrow { width: 20px; height: 20px; min-width: 20px; font-size: 11px; }
  .poster-caption { left: 16px; right: 60%; top: 70px; bottom: 16px; }
  .poster-caption-source { font-size: 8px; padding-bottom: 5px; margin-bottom: 8px; }
  .poster-caption-title { margin-bottom: 8px; }
  .poster-caption-desc { max-width: none; }
  .casestudy-grid { grid-template-columns: repeat(2, 1fr); max-width: 260px; margin: 0 auto; gap: 10px; }
}
@media (max-width: 600px) {
  .brand-item-body { grid-template-columns: 1fr; gap: 16px; padding: 20px; min-height: 0; }
  .brand-cover { aspect-ratio: 16/9; width: 100%; }
  .cs-item .brand-item-body { padding-top: 20px; }
  .services-grid { grid-template-columns: repeat(4, 1fr); gap: 16px 10px; }
  .service-icon { width: 52px; height: 52px; border-radius: 14px; }
  .service-icon svg { width: 20px !important; height: 20px !important; }
}

@media (max-width: 600px) {
  .services-intro-desc { font-size: 7px !important; max-width: 160px !important; }
}

@media (max-width: 700px) {
  .bg-lightbox { padding: 0; }
  /* height comes from JS (natural artboard height * fit scale) instead of 100%,
     so the frame scrolls to reveal the whole proportionally-scaled composition */
  .bg-lightbox-frame { border-radius: 0; max-width: none; height: auto; max-height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .bg-lightbox-frame iframe { transform-origin: top left; }
  .bg-lightbox-close { top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; width: 36px; height: 36px; }
}

/* ---- Mobile responsive system pass ----
   Desktop rules above are untouched; everything here is scoped to ≤900px/≤600px
   and only overrides same-specificity selectors, recomposing proportions
   (spacing, type, component size) rather than shrinking a fixed layout. */
@media (max-width: 900px) {
  .nav { gap: 16px; padding: 10px 18px; }
  .nav a { font-size: 11px; }
  .hero-section { margin-top: 72px; padding-top: 16px; }
  .about-section { padding: 64px 6vw 40px; }
  .about-quote { margin: 64px auto 0; font-size: clamp(22px, 6vw, 32px); }
  .statement-section { padding: 100px 4vw 90px; }
  .services-section { padding: 140px 6vw 160px; }
  .software-section { padding: 0 6vw 70px; }
  .sw-desc-plain { font-size: clamp(20px, 5.2vw, 26px); }
  .exp-wheel-panel { margin-top: -70px; }
  .timeline-section { padding: 120px 6vw 200px; }
  .exp-grid { margin-top: 72px; }
  .brand-section { margin: 320px 0 0; padding: 0 6vw 220px; }
  .carousel-videos-section { padding: 0 6vw 70px; }
  .logo-section { padding: 120px 6vw 200px; }
  .webpage-section { padding: 0 6vw 60px; }
  .factory-section { padding: 90px 6vw 70px; }
  .video-section { padding: 30px 6vw 280px; }
  .film-reel { width: 260px; }
  .poster-section { padding: 0 6vw 60px; }
  .poster-caption-title { font-size: clamp(13px, 3.5vw, 17px); }
  .poster-caption-desc { font-size: 9px; line-height: 1.35; }
  .graphtech-section { padding: 0 6vw 70px; }
  .casestudy-section { padding: 0 6vw 60px; --cs-hold: 280px; }
  .testimonials-section { padding: 0 6vw 60px; }
  .tm-card-wrap { width: 100%; max-width: 460px; }
  .tm-name { font-size: 28px; }
  .tm-title { font-size: 14px; }
  .tm-avatar { width: 120px; height: 120px; margin: -60px auto 0; }
  .tm-banner { height: 180px; }
}
@media (max-width: 600px) {
  .nav { gap: 12px; padding: 8px 14px; }
  .nav a { font-size: 10px; }
  .section-title { margin: 0 0 24px; }
  .about-section { padding: 48px 6vw 32px; }
  .about-quote { margin: 40px auto 0; font-size: clamp(19px, 6.5vw, 26px); }
  .statement-section { padding: 70px 4vw 60px; }
  .services-section { padding: 90px 6vw 100px; }
  .timeline-section { padding: 80px 6vw 120px; }
  .exp-grid { margin-top: 48px; }
  .brand-section { margin: 200px 0 0; padding: 0 6vw 140px; --brand-hold: 450px; }
  .brand-title { font-size: 18px; }
  .brand-desc { font-size: 12px; line-height: 17px; margin: 0 0 10px; }
  .logo-section { padding: 80px 6vw 120px; }
  .logo-label h4 { font-size: 15px; }
  .factory-section { padding: 60px 6vw 48px; }
  .factory-row { height: 140px !important; }
  .factory-grid { gap: 10px; }
  .factory-row { gap: 10px; }
  .video-section { padding: 24px 6vw 160px; }
  .film-reel { width: 210px; }
  .poster-caption-title { font-size: clamp(11px, 4vw, 14px); }
  .graphtech-section { padding: 0 6vw 48px; }
  .casestudy-section { --cs-hold: 180px; }
  .tm-name { font-size: 24px; }
  .tm-avatar { width: 96px; height: 96px; margin: -48px auto 0; }
  .tm-banner { height: 140px; }
  .tm-card { padding: 16px 16px 22px; border-radius: 18px; }
  .tm-title { font-size: 12px; }
  .tm-quotebox { padding: 14px 16px; margin-top: 18px; }
  .tm-quotebox p { font-size: 13px; line-height: 1.5; }
  .tm-cta { padding: 12px 20px; font-size: 13px; }
  .contact-title { font-size: clamp(22px, 6vw, 30px); }
  .contact-link { font-size: 9px; }
  .contact-links { gap: 10px; }
  .contact-links-overlay { bottom: 2%; }
}
