/* Authored openings for five projects. Original case studies continue below. */
.project-experience { --ink: #24212c; --muted: #635d70; --accent: #5b4e75; position: relative; color: var(--ink); padding: 120px max(32px, calc((100vw - 1320px)/2)) 36px; overflow: clip; }
.experience-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(24px,5vw,80px); align-items: center; min-height: min(720px, calc(100svh - 160px)); }
.experience-copy { position: relative; z-index: 2; min-width: 0; }
.experience-kicker { display: block; font: 11px var(--font-mono, monospace); letter-spacing: .12em; margin-bottom: 26px; color: var(--muted); }
.project-experience h1 { font-size: clamp(46px,5.5vw,82px); line-height: 1.08; letter-spacing: -.055em; color: inherit; margin: 0 0 24px; font-weight: 500; }
.experience-lead { max-width: 430px; font-size: 17px; line-height: 1.8; color: var(--muted); margin: 0 0 30px; }
.experience-meta { display: flex; justify-content: space-between; gap: 18px; align-items: center; border-top: 1px solid currentColor; padding-top: 20px; margin-top: 24px; font-size: 11px; color: var(--muted); }
.experience-meta a { color: inherit; white-space: nowrap; text-underline-offset: 5px; }
.project-experience .product-studio { height: clamp(400px,45vw,610px); border: 0; border-radius: 0; background: transparent; overflow: hidden; }
.project-experience .product-studio::before { display: none; }
.project-experience .studio-status { bottom: 8px; left: 0; right: 0; max-width: none; text-align: center; font-size: 11px; color: var(--muted); }
.project-experience .is-ready .studio-status { top: 10px; bottom: auto; opacity: .7; }
.project-experience .studio-poster { background: transparent; }
.experience-controls { visibility: hidden; }
.is-experience-ready .experience-controls { visibility: visible; }
.experience-controls button, .experience-reset { font: inherit; font-size: 13px; cursor: pointer; min-height: 44px; padding: 10px 18px; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; }
.experience-controls button[aria-pressed='true'] { color: var(--control-text, #fff); background: var(--accent); border-color: var(--accent); }
.experience-controls button:disabled { opacity: .35; cursor: default; }
.experience-controls button:focus-visible, .project-experience a:focus-visible, .project-experience input:focus-visible, .experience-reset:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.experience-controls input[type='range'] { display: block; width: 100%; height: 36px; margin: 8px 0 0; accent-color: var(--accent); cursor: pointer; }
.experience-control-label { display: flex; justify-content: space-between; align-items: center; font-size: 12px; gap: 20px; }
.experience-message { min-height: 3.4em; font-size: 13px; line-height: 1.7; margin: 20px 0 0; color: var(--muted); }
.experience-stage-wrap { position: relative; min-width: 0; }
.experience-reset { display: block; margin: 12px auto 0; border: 0; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); }
.experience-original { scroll-margin-top: 100px; }
.experience-original h2 { font-size: clamp(30px,4vw,54px); line-height: 1.15; }

/* CMF: an open material sheet with physical swatches. */
.experience-cmf { --accent: #695082; --finish: #ffc799; --muted: #625970; background: #ede7f2; }
.experience-cmf .experience-stage-wrap::before { content: ''; position: absolute; inset: 12% 4% 16%; border-radius: 50%; background: var(--finish); opacity: .44; transition: background .4s; }
.experience-cmf h1 em { font-family: Georgia, 'Songti SC', serif; font-weight: 400; }
.cmf-swatches { display: flex; gap: 12px; margin-bottom: 26px; }
.cmf-swatches button { display: grid; justify-items: center; gap: 10px; width: 86px; border: 1px solid transparent; border-radius: 8px; padding: 12px 6px; }
.cmf-swatches button[aria-pressed='true'] { background: #ffffff55; border-color: #695082; color: var(--ink); }
.cmf-swatches i { display: block; width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(130deg,var(--swatch) 45%,var(--shell) 46%); box-shadow: inset 0 0 0 1px #0001, 0 4px 6px #31244412; }
.cmf-finish { max-width: 290px; border-top: 1px solid #69508244; padding-top: 18px; }
.cmf-finish .range-ends { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }

/* Wall Station: a changing pool of daylight inside an entryway alcove. */
.experience-home { --ink: #eee8db; --muted: #c2c5b5; --accent: #d5bc88; --control-text: #24312b; --daylight: .82; background: #263a32; }
.experience-home h1 { font-family: 'Songti SC', 'STSong', Georgia, serif; font-weight: 400; letter-spacing: -.035em; }
.experience-home .experience-layout { grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); }
.home-alcove { background: #121c17; border-radius: 44% 44% 3px 3px; }
.home-alcove::before { content: ''; position: absolute; inset: 0; background: linear-gradient(125deg,#d9d2b7,#6c7566); border-radius: inherit; opacity: var(--daylight); }
.home-alcove .product-studio { height: clamp(470px,46vw,640px); }
.home-alcove .studio-status { color: #f0eddd; background: #18271d99; padding: 7px; bottom: 8px; margin: 0 20px; }
.home-moments { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.home-daylight { max-width: 360px; padding: 20px 0 0; border-top: 1px solid #c2c5b544; }
.experience-home .experience-reset { color: #e1ddce; }

/* Queue Guidance: a service ticket and spatial route, rather than a product card. */
.experience-queue { --ink: #163d59; --muted: #4d6e85; --accent: #245f91; background: #edf4f8; }
.experience-queue .experience-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.experience-queue h1 { font-size: clamp(54px,7vw,102px); font-weight: 650; }
.queue-interactive-ticket { padding: 26px 30px; max-width: 430px; background: #fff; border-radius: 3px; box-shadow: 0 12px 32px #2555770b; position: relative; }
.ticket-heading { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); border-bottom: 1px dashed #b5c6d2; padding-bottom: 17px; }
.ticket-number { display: block; font: 500 clamp(66px,7vw,104px)/1.15 var(--font-mono, monospace); letter-spacing: -.08em; margin: 15px 0; }
.queue-interactive-ticket h2 { font-size: 22px; font-weight: 500; margin: 0; }
.queue-steps { display: flex; justify-content: space-between; margin: 22px 0; gap: 8px; }
.queue-steps button { border-radius: 5px; border-color: #afc4d4; flex: 1; padding: 10px 8px; }
.queue-navigation { display: flex; justify-content: space-between; gap: 14px; }
.queue-navigation button { border: 0; padding: 0 10px; }
.queue-floor { position: relative; }
.queue-floor::before { content: ''; position: absolute; inset: 65% -10% -5%; background: repeating-linear-gradient(90deg,#57809c22 0 1px, transparent 1px 60px), repeating-linear-gradient(0deg,#57809c22 0 1px,transparent 1px 60px); transform: perspective(240px) rotateX(45deg); mask-image: linear-gradient(transparent,#000,transparent); }

/* TouchColor: a large paper-like workspace with an actual drawable 3D surface. */
.experience-touch { --ink: #413477; --muted: #645981; --accent: #7660ba; background: #f8eaa8; }
.experience-touch .experience-layout { grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); }
.experience-touch h1 { font-weight: 700; font-size: clamp(58px,6.6vw,94px); letter-spacing: -.07em; }
.experience-touch h1 span { display: block; font-size: .43em; font-weight: 400; letter-spacing: -.03em; margin-top: 18px; }
.touch-workspace { background: #ece5f6; border-radius: 12px; border-top: 12px solid #e1d7f0; }
.touch-workspace .product-studio { height: clamp(450px,46vw,630px); }
.touch-tools { display: flex; flex-wrap: wrap; gap: 10px; max-width: 355px; }
.touch-tools button:first-child { flex-basis: 100%; background: var(--accent); color: #fff; border-color: var(--accent); }
.touch-tools button[aria-pressed='true'] { background: #413477; }
.experience-touch .experience-message { max-width: 340px; }

/* Supercar: low panoramic framing and a continuous orbit dial / light sweep. */
.experience-car { --ink: #dbe3ed; --muted: #aab5c5; --accent: #bdcddd; --control-text: #132032; background: #101c2e; padding-top: 112px; }
.car-experience-top { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.experience-car h1 { font-size: clamp(38px,4.3vw,66px); margin-bottom: 0; }
.experience-car .experience-kicker { margin-bottom: 16px; }
.car-experience-top p { max-width: 330px; font-size: 14px; margin-bottom: 0; }
.experience-car .product-studio { height: clamp(310px,34vw,460px); }
.car-panorama { position: relative; margin-top: 8px; background: radial-gradient(ellipse at 50% 50%,#71829940,transparent 65%); }
.car-panorama::before { content: ''; position: absolute; left: 8%; right: 8%; bottom: 5%; height: 35%; border: 1px solid #b4c9df22; border-radius: 50%; }
.car-instruments { display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: center; gap: 48px; }
.car-views { display: flex; gap: 6px; flex-wrap: wrap; }
.car-views button { border: 0; padding: 10px 14px; }
.car-orbit { border-bottom: 1px solid #b4c9df55; }
.experience-car .experience-message { margin: 0; min-height: 0; }
.experience-car .experience-reset { display: inline-block; margin: 0; padding: 0 12px; }
@media (max-width: 800px) {
  .project-experience { padding: 96px 24px 28px; }
  .project-experience .experience-layout { grid-template-columns: 1fr; gap: 22px; min-height: 0; }
  .project-experience h1 { font-size: clamp(42px,10vw,65px); margin-bottom: 16px; }
  .experience-kicker { margin-bottom: 18px; font-size: 10px; }
  .experience-lead { font-size: 15px; margin-bottom: 20px; }
  .project-experience .product-studio, .home-alcove .product-studio, .touch-workspace .product-studio { height: 390px; }
  .experience-stage-wrap { grid-row: 2; }
  .experience-home .experience-copy { grid-row: 1; }
  .experience-controls { max-width: none; }
  .cmf-swatches { margin-bottom: 18px; }
  .experience-message { margin-top: 14px; min-height: 0; }
  .experience-meta { line-height: 1.7; }
  .queue-interactive-ticket { max-width: none; padding: 20px; }
  .ticket-number { font-size: 68px; margin: 8px 0; }
  .ticket-heading { padding-bottom: 12px; }
  .queue-steps { margin: 16px 0 8px; }
  .car-experience-top { display: block; }
  .car-experience-top p { margin-top: 16px; max-width: 500px; }
  .experience-car .product-studio { height: 300px; }
  .car-instruments { grid-template-columns: 1fr 1fr; gap: 22px; }
  .car-views { grid-column: 1 / -1; justify-content: center; }
  .experience-car .experience-meta { align-items: start; }
}
@media (max-width: 360px) {
  .project-experience { padding-left: 18px; padding-right: 18px; }
  .project-experience h1 { font-size: 40px; }
  .project-experience .product-studio { height: 340px; }
  .experience-car .product-studio { height: 250px; }
  .home-moments { gap: 6px; }
  .home-moments button { padding: 10px 12px; }
  .experience-meta { align-items: start; }
}
@media (prefers-reduced-motion: reduce) { .project-experience * { transition: none !important; } }
