@font-face {
  font-family: Inter;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/InterVariable.woff2");
}
@font-face {
  font-family: Serif;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/SourceSerif4Variable-Roman.ttf.woff2");
}
:root {
  font-family: Inter, sans-serif;
  font-synthesis: none;
  color: var(--stage-ink);
  background: #101b2b;
  --stage-ink: #f5f2ec;
  --stage-muted: #b4c2d1;
  --ink: #17263a;
  --muted: #384d63;
  --accent: #f5826b;
  --accent-deep: #873329;
  --line: rgba(48, 70, 93, 0.2);
  --glass: linear-gradient(
    145deg,
    rgba(250, 249, 246, 0.92),
    rgba(237, 242, 246, 0.86) 60%,
    rgba(226, 234, 241, 0.84)
  );
  --edge: rgba(255, 255, 255, 0.64);
  --radius: 27px;
  --shadow: 0 28px 75px rgba(3, 10, 21, 0.28), 0 3px 9px rgba(3, 10, 21, 0.12);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow: hidden;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  border: 0;
  background: none;
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button:hover {
  color: var(--accent-deep);
}
header button:hover,
.home button:hover,
footer button:hover {
  color: var(--accent);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 4px;
}
header button:focus-visible,
.home button:focus-visible,
footer button:focus-visible {
  outline-color: var(--accent);
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
p {
  line-height: 1.6;
}
h2 {
  font-family: Inter, sans-serif;
  font-weight: 430;
  font-size: clamp(34px, 3.4vw, 46px);
  letter-spacing: -0.065em;
  line-height: 1.12;
  margin: 8px 0 12px;
}
h3 {
  font-weight: 500;
  font-size: 17px;
}
.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  padding: 14px;
}
.skip:focus {
  top: 20px;
}
header {
  position: fixed;
  top: 36px;
  left: 4.2vw;
  right: 4.2vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
}
.brand {
  padding: 0;
  font-family: Inter, sans-serif;
  font-weight: 480;
  font-size: 22px;
  letter-spacing: -0.055em;
  text-align: left;
}
.brand span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 7px;
}
.utility {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 11px;
}
.utility button {
  padding: 10px 0;
}
.utility span {
  padding-left: 8px;
}
.utility .preview-dot {
  border: 1px solid #b4c2d159;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  padding: 0;
  font:
    14px Serif,
    serif;
}
td-world {
  display: block;
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: #101b2b;
}
.field-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
/* Recess the material while keeping the sculpture above the shading. */
td-world:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    96deg,
    #02060d00 8%,
    #02060d14 32%,
    #02060d57 62%,
    #02060d7a 80%,
    #02060d8c 100%
  );
}
td-world canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s;
  z-index: 3;
}
td-world.ready canvas {
  opacity: 1;
}
td-world .fallback {
  position: absolute;
  left: 38%;
  top: 9%;
  width: min(54vw, 780px);
  height: 79%;
  opacity: 1;
  pointer-events: none;
  z-index: 3;
}
td-world.ready .fallback {
  opacity: 0;
  transition: opacity 0.9s;
}
td-world:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg width='192' height='192' viewBox='0 0 192 192' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.67 .83' numOctaves='3' seed='19' stitchTiles='stitch' result='noise'/%3E%3CfeDiffuseLighting in='noise' surfaceScale='.45' diffuseConstant='1' lighting-color='%23a8b5c4'%3E%3CfeDistantLight azimuth='225' elevation='46'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='192' height='192' filter='url(%23grain)'/%3E%3C/svg%3E");
  background-size: 192px 192px;
  mix-blend-mode: soft-light;
}
main {
  position: fixed;
  inset: 0;
  outline: none;
  z-index: 2;
}
.home {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.home-caption {
  position: absolute;
  left: 4.4vw;
  top: 27%;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
h1 {
  position: absolute;
  left: 4.1vw;
  top: 34%;
  font-family: Inter, sans-serif;
  font-weight: 440;
  font-size: clamp(60px, 6.1vw, 96px);
  line-height: 1.075;
  letter-spacing: -0.068em;
  font-optical-sizing: auto;
}
h1 em {
  font-weight: inherit;
  font-style: normal;
}
.home-note {
  position: absolute;
  right: 6vw;
  bottom: 25%;
  width: 230px;
  pointer-events: auto;
  font-size: 13px;
}
.note-line {
  display: block;
  width: 30px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 19px;
}
.home-use {
  font-size: 12px;
  margin-bottom: 14px;
}
.text-button {
  padding: 13px 0;
  font-size: 11px;
  border-bottom: 1px solid var(--accent);
  text-align: left;
  color: var(--accent);
  transition:
    border-color 0.2s,
    color 0.2s;
}
.home .text-button:hover {
  color: var(--stage-ink);
  border-color: var(--stage-ink);
}
.text-button span {
  margin-left: 12px;
}
.home-description {
  position: absolute;
  left: 4.4vw;
  bottom: 20%;
  width: 300px;
  font-size: 12px;
  max-width: 26vw;
  color: var(--stage-muted);
}
td-motif-guide {
  display: block;
}
.motif-label {
  font-size: 11px;
  line-height: 1.5;
}
.motif-versions {
  display: flex;
  gap: 5px;
  margin: 10px 0 8px;
}
.motif-versions button {
  font-size: 11px;
  min-width: 45px;
  min-height: 36px;
  padding: 5px 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-variant-numeric: tabular-nums;
  color: var(--stage-muted);
}
.motif-versions button:hover {
  color: var(--accent);
}
.motif-versions button[aria-pressed="true"] {
  color: var(--stage-ink);
  background: #ecf2fa0d;
  border-color: #d2dfeb38;
  box-shadow: inset 0 1px 0 #ffffff12;
}
.motif-description {
  font-size: 10px;
  min-height: 32px;
  color: var(--stage-muted);
}
.motif-caption {
  position: fixed;
  left: 6vw;
  bottom: 22%;
  width: 250px;
  z-index: 1;
  pointer-events: none;
}
html[data-scene="home"] .motif-caption {
  visibility: hidden;
}
.motif-legend {
  font-size: 12px;
}
.motif-legend span {
  display: inline-block;
  width: 20px;
  height: 1px;
  vertical-align: middle;
  margin-right: 10px;
  background: var(--accent);
}
.motif-state {
  margin: 7px 0 0 30px;
  font-size: 10px;
  color: var(--stage-muted);
  font-variant-numeric: tabular-nums;
}
/* Geometry belongs to the panel; material and scrolling belong to the shared surface. */
.panel {
  position: absolute;
  right: 5vw;
  top: 16%;
  width: min(650px, 56vw);
  max-height: calc(84dvh - 145px);
  overflow: visible;
}
.project {
  width: min(680px, 58vw);
  top: 14%;
  max-height: calc(86dvh - 145px);
}
td-surface {
  display: flex;
  flex-direction: column;
  position: relative;
  max-height: inherit;
  min-height: 0;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--glass);
  color: var(--ink);
  color-scheme: light;
  -webkit-backdrop-filter: blur(24px) saturate(1.05);
  backdrop-filter: blur(24px) saturate(1.05);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 #ffffffd9;
  overflow: hidden;
  animation: surface-arrive 0.44s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
td-surface:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 1px 0 0 #ffffff52,
    inset -1px -1px 0 #526a871c;
  z-index: 3;
}
td-surface:after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: calc(var(--radius) - 5px);
  pointer-events: none;
  z-index: 3;
}
.surface-heading {
  flex: none;
  padding: 24px 30px 10px;
  position: relative;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.surface-heading h2 {
  margin-bottom: 14px;
}
td-surface[data-scrolled] .surface-heading {
  border-bottom-color: var(--line);
}
.surface-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  margin: 0 10px 10px 0;
  padding: 0 20px 23px 30px;
  scrollbar-width: thin;
  scrollbar-color: rgba(57, 78, 105, 0.5) transparent;
  scrollbar-gutter: stable;
  outline-offset: -3px;
}
.surface-scroll:focus-visible {
  outline: 1px solid #526a8766;
  border-radius: 6px;
}
.surface-scroll::-webkit-scrollbar {
  width: 5px;
}
.surface-scroll::-webkit-scrollbar-track {
  background: transparent;
  margin: 8px 0;
}
.surface-scroll::-webkit-scrollbar-thumb {
  background: #394e6955;
  border-radius: 20px;
}
.surface-scroll::-webkit-scrollbar-thumb:hover {
  background: #394e6980;
}
.surface-scroll > td-listening,
.surface-scroll > td-mission,
.surface-scroll > td-brief {
  display: block;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.panel .eyebrow {
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.close {
  font-size: 24px;
  font-weight: 250;
  width: 32px;
  height: 32px;
  line-height: 28px;
  border: 1px solid #ffffff69;
  border-radius: 50%;
  background: #f8fafc66;
  flex: none;
}
.close:hover {
  background: #ffffffa8;
}
.panel p {
  font-size: 13px;
}
.tabs,
.segments {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.tabs {
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  gap: 23px;
}
.tabs button {
  padding: 12px 0;
  font-size: 12px;
  min-height: 42px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs button[aria-selected="true"] {
  border-color: var(--accent-deep);
  color: var(--ink);
}
.segments {
  background: #829bb31c;
  border: 1px solid #526a8733;
  border-radius: 12px;
  padding: 3px;
}
.segments button {
  padding: 8px 10px;
  border-radius: 8px;
  min-height: 34px;
  font-size: 10px;
  flex: 1;
  white-space: nowrap;
}
.segments button[aria-pressed="true"] {
  background: #fffffff0;
  box-shadow:
    inset 0 1px 0 #fff,
    0 2px 7px #122a4512;
}
.player-controls {
  display: flex;
  gap: 10px;
  margin: 17px 0 12px;
}
.player-controls .segments:first-child {
  flex: 1;
}
.version-caption {
  font-size: 10px !important;
  color: var(--muted);
  margin-bottom: 13px;
}
.media-window {
  position: relative;
  aspect-ratio: 16/9;
  background:
    radial-gradient(ellipse at 35% 5%, #ffffff73, transparent 70%),
    linear-gradient(145deg, #b8c9d752, #829bb32b);
  border: 1px solid #ffffff80;
  box-shadow:
    inset 0 1px 0 #fff8,
    inset 0 0 35px #243c570d;
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.media-window.vertical {
  width: min(100%, 256px);
  aspect-ratio: 4/5;
  margin-inline: auto;
}
.media-window video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
}
.media-empty {
  padding: 26px;
  text-align: center;
  max-width: 310px;
  z-index: 1;
}
.media-empty .empty-icon {
  display: block;
  font-family: Serif, serif;
  font-size: 42px;
  line-height: 1;
  margin-bottom: 15px;
  color: var(--accent-deep);
}
.media-empty p {
  font-size: 12px;
}
.media-empty small {
  display: block;
  font-size: 10px;
  line-height: 1.6;
  margin-top: 8px;
  color: var(--muted);
}
.player-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 12px 0 19px;
}
.player-bottom button {
  font-size: 10px;
  min-height: 34px;
  padding: 7px 0;
}
.player-bottom button:disabled {
  opacity: 0.55;
}
.case-title {
  font-family: Inter, sans-serif;
  font-weight: 460;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.045em;
  margin-bottom: 9px;
}
.case-description {
  margin-bottom: 22px;
}
td-surface .text-button {
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}
td-surface .text-button:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.about-content > p {
  margin-bottom: 17px;
}
.about-content > .about-lead {
  font-size: 24px;
  font-weight: 430;
  line-height: 1.38;
  letter-spacing: -0.045em;
  margin-bottom: 23px;
  max-width: 440px;
}
.about-questions {
  margin: 22px 0 18px;
}
.contact-intro {
  margin-bottom: 15px;
}
.contact-email {
  padding: 5px 0 14px;
}
.email-address {
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  padding: 15px 0 12px;
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 460;
  letter-spacing: -0.045em;
  line-height: 1.5;
  overflow-wrap: anywhere;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.email-address span {
  font-size: 16px;
  color: var(--accent-deep);
}
.email-address:hover {
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}
.contact-email .email-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
.copy-email {
  font-size: 11px;
  min-height: 40px;
  padding: 9px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-email .email-status {
  font-size: 11px;
  margin-top: 5px;
}
.email-status:empty {
  display: none;
}
.disclosure {
  font-size: 10px !important;
  color: var(--muted);
  margin-top: 9px;
}
.detail {
  margin-top: 17px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 11px;
}
.detail summary {
  cursor: pointer;
  padding: 7px 0;
  min-height: 30px;
}
.detail p {
  margin: 10px 0;
}
.link-fallback {
  width: 100%;
  font-size: 11px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff80;
}
.copy-status {
  font-size: 11px !important;
  color: var(--muted);
}
.mission-content {
  min-height: 185px;
}
.mission-content p {
  margin-bottom: 18px;
  max-width: 470px;
}
.method-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 30px 0 24px;
}
.method-map:before {
  content: "";
  height: 1px;
  background: #8a9bad;
  position: absolute;
  top: 9px;
  left: 12%;
  right: 12%;
}
.method-map button {
  position: relative;
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
  padding: 0 4px;
}
.method-map button:before {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  background: #edf2f6;
  border: 1px solid #647b94;
  border-radius: 50%;
  margin: 0 auto 13px;
  box-shadow: 0 0 0 5px #e3eaf0;
}
.method-map button[aria-pressed="true"]:before {
  background: var(--accent-deep);
  box-shadow:
    0 0 0 5px #e3eaf0,
    0 0 0 6px #8a9bad;
}
.method-body {
  min-height: 100px;
}
.method-body h3 {
  margin-bottom: 10px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 12px;
}
.faq summary {
  cursor: pointer;
}
.faq p {
  margin: 12px 0 0;
}
.form-intro {
  max-width: 490px;
  margin-bottom: 20px;
  font-size: 12px !important;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
}
.field.wide {
  grid-column: 1/-1;
}
.field label {
  font-size: 11px;
  font-weight: 500;
}
.field label span {
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  border: 1px solid #657b92;
  background: #ffffff8c;
  border-radius: 9px;
  padding: 11px;
  width: 100%;
  font-size: 13px;
  min-height: 42px;
  box-shadow: inset 0 1px 2px #122a4508;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #53647a;
  opacity: 1;
}
.field textarea {
  resize: vertical;
  min-height: 76px;
  max-height: 180px;
}
.field small {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}
.field .error {
  color: #813127;
}
.field [aria-invalid="true"] {
  border-color: #a44e35;
}
.submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}
.primary {
  border: 1px solid #ba5746;
  background: var(--accent);
  color: var(--ink);
  padding: 13px 21px;
  border-radius: 11px;
  font-size: 12px;
  box-shadow:
    inset 0 1px 0 #ffd6c780,
    0 4px 12px #47271c1c;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.primary:hover {
  color: var(--ink);
  background: #ff9b80;
  box-shadow:
    inset 0 1px 0 #ffded399,
    0 5px 15px #47271c26;
}
.primary:disabled {
  opacity: 0.6;
}
.submit-row small {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}
.form-status {
  font-size: 11px !important;
  margin-top: 14px;
  color: #813f30;
}
.form-status:empty {
  display: none;
}
.preview-warning {
  margin-top: 15px !important;
  font-size: 10px !important;
  color: var(--muted);
}
.privacy-link {
  font-size: 10px;
  text-decoration: underline;
  padding: 0;
}
td-dock {
  position: fixed;
  bottom: 63px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: var(--glass);
  color: var(--ink);
  -webkit-backdrop-filter: blur(20px) saturate(1.05);
  backdrop-filter: blur(20px) saturate(1.05);
  border: 1px solid var(--edge);
  border-radius: 20px;
  box-shadow:
    0 1px 0 #ffffffb0 inset,
    0 12px 35px #030a1540;
  padding: 6px;
}
td-dock nav {
  display: flex;
  gap: 4px;
}
td-dock button {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 13px 20px;
  border-radius: 14px;
  font-size: 11px;
  white-space: nowrap;
  transition: background 0.2s;
}
td-dock button[aria-current="page"] {
  background: #afc0d566;
  box-shadow:
    inset 0 1px 0 #fff8,
    0 1px 4px #122a4512;
}
td-dock button[data-view="project"] {
  background: var(--accent);
  color: var(--ink);
  box-shadow: inset 0 1px 0 #ffd6c780;
}
td-dock button[data-view="project"]:hover {
  background: #ff9b80;
}
td-dock button[data-view="project"][aria-current="page"] {
  box-shadow:
    inset 0 0 0 1px #17263a80,
    inset 0 1px 0 #ffd6c780;
}
td-dock svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}
footer {
  position: fixed;
  bottom: 22px;
  left: 4.4vw;
  right: 4.4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.025em;
  z-index: 3;
  color: var(--stage-muted);
}
footer button {
  font-size: 10px;
  padding: 8px 0;
}
dialog {
  border: 1px solid var(--edge);
  background: var(--glass);
  -webkit-backdrop-filter: blur(26px);
  backdrop-filter: blur(26px);
  color: var(--ink);
  color-scheme: light;
  border-radius: var(--radius);
  padding: 32px;
  max-width: 510px;
  width: calc(100% - 36px);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 #fff;
}
dialog::backdrop {
  background: #030a1566;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
dialog .close {
  float: right;
}
dialog h2 {
  font-size: 32px;
  margin: 12px 30px 20px 0;
}
dialog p {
  font-size: 13px;
  margin-bottom: 16px;
}
dialog a,
.noscript a {
  color: var(--accent-deep);
  text-underline-offset: 3px;
}
.noscript {
  position: fixed;
  bottom: 140px;
  left: 20px;
  right: 20px;
  padding: 20px;
  background: #fff;
  color: var(--ink);
  z-index: 20;
  font-size: 13px;
}
@keyframes surface-arrive {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (min-width: 1600px) {
  .panel {
    right: 10vw;
  }
  .home-note {
    right: 12vw;
  }
}
@media (max-height: 760px) and (min-width: 761px) {
  header {
    top: 22px;
  }
  .panel,
  .project {
    top: 13%;
    max-height: calc(87dvh - 130px);
  }
  .surface-heading {
    padding: 19px 26px 7px;
  }
  .surface-heading h2 {
    font-size: 36px;
    margin-bottom: 12px;
  }
  .surface-scroll {
    padding-left: 26px;
    padding-bottom: 20px;
  }
  td-dock {
    bottom: 48px;
  }
  footer {
    bottom: 10px;
  }
  .home-description {
    bottom: 22%;
  }
  h1 {
    top: 32%;
  }
  .motif-caption {
    bottom: 22%;
  }
}
@media (max-width: 760px) {
  .material-field {
    left: auto;
    right: 0;
    width: 220%;
  }
  header {
    top: 24px;
    left: 24px;
    right: 24px;
  }
  .brand {
    font-size: 21px;
  }
  .utility {
    gap: 16px;
  }
  .utility #motion {
    font-size: 0;
    min-width: 30px;
  }
  .utility #motion span {
    font-size: 13px;
    padding: 0;
  }
  .home-caption {
    left: 26px;
    top: 24%;
    font-size: 8px;
  }
  h1 {
    left: 23px;
    top: 29%;
    font-size: clamp(41px, calc(14.5vw - 5.4px), 80px);
    line-height: 1.1;
    letter-spacing: -0.067em;
  }
  .home-note {
    left: 27px;
    right: auto;
    bottom: 24%;
    width: 140px;
    font-size: 11px;
  }
  .note-line {
    margin-bottom: 12px;
  }
  .home-use {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .motif-label {
    font-size: 10px;
  }
  .motif-versions {
    gap: 3px;
    margin: 7px 0;
  }
  .motif-versions button {
    min-width: 35px;
    min-height: 36px;
    padding: 4px 7px;
    font-size: 10px;
  }
  .motif-description {
    font-size: 9px;
    min-height: 31px;
  }
  .home-note .text-button {
    font-size: 10px;
  }
  .home-note .text-button span {
    margin-left: 6px;
  }
  .home-description,
  .motif-caption {
    display: none;
  }
  .panel,
  .project {
    left: 14px;
    right: 14px;
    top: 112px;
    width: auto;
    max-height: calc(100dvh - 244px);
    --radius: 23px;
  }
  .surface-heading {
    padding: 20px 23px 8px;
  }
  .surface-heading h2 {
    font-size: 35px;
    margin-bottom: 13px;
  }
  .surface-scroll {
    margin-right: 8px;
    margin-bottom: 10px;
    padding: 0 16px 21px 23px;
  }
  .panel p {
    font-size: 12px;
  }
  .panel .eyebrow {
    font-size: 8px;
  }
  .tabs {
    gap: 19px;
    margin-bottom: 17px;
  }
  .tabs button {
    font-size: 11px;
  }
  .player-controls {
    flex-wrap: wrap;
  }
  .player-controls .segments {
    flex: 1;
  }
  .player-controls .segments:first-child {
    flex-basis: 100%;
  }
  .segments button {
    padding: 7px 9px;
  }
  .case-title {
    font-size: 20px;
  }
  .media-empty {
    padding: 18px;
  }
  .media-empty .empty-icon {
    font-size: 30px;
  }
  .media-empty small {
    font-size: 9px;
  }
  .form-grid {
    gap: 15px;
  }
  .field {
    grid-column: 1/-1;
  }
  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
  }
  .submit-row {
    flex-wrap: wrap;
    gap: 12px;
  }
  .method-map button {
    font-size: 8px;
  }
  .mission-content {
    min-height: 200px;
  }
  td-dock {
    bottom: 54px;
    padding: 5px;
    border-radius: 18px;
    width: max-content;
    max-width: calc(100% - 24px);
  }
  td-dock button {
    padding: 13px 14px;
    font-size: 11px;
    gap: 6px;
  }
  td-dock svg {
    width: 16px;
    height: 16px;
  }
  footer {
    bottom: 13px;
    left: 24px;
    right: 24px;
    justify-content: center;
  }
  footer > span {
    display: none;
  }
}
@media (max-width: 380px) {
  td-dock button {
    padding: 12px 10px;
    font-size: 10px;
  }
  .surface-heading {
    padding: 18px 19px 7px;
  }
  .surface-scroll {
    padding-left: 19px;
    padding-right: 13px;
  }
  .home-caption {
    top: 23%;
  }
  .home-note {
    width: 128px;
    bottom: 23%;
  }
  .home-note .text-button {
    font-size: 9px;
  }
}
@media (max-height: 500px) {
  header {
    top: 12px;
    left: 20px;
    right: 20px;
  }
  .brand {
    font-size: 19px;
  }
  .brand span {
    font-size: 8px;
    margin-top: 3px;
  }
  .panel,
  .project {
    top: 72px;
    max-height: calc(100dvh - 165px);
  }
  .surface-heading {
    padding: 13px 20px 5px;
  }
  .surface-heading h2 {
    font-size: 30px;
    margin-bottom: 9px;
  }
  .surface-scroll {
    padding-left: 20px;
    padding-bottom: 16px;
  }
  td-dock {
    bottom: 25px;
  }
  td-dock button {
    padding: 10px 13px;
  }
  footer,
  .home-description {
    display: none;
  }
  .home-caption {
    top: 24%;
  }
  h1 {
    top: 32%;
    font-size: clamp(38px, 7vw, 64px);
  }
  .home-note {
    right: 5vw;
    left: auto;
    bottom: 28%;
    width: 180px;
  }
  .home-note .note-line,
  .home-use {
    display: none;
  }
  .home-note .text-button {
    font-size: 9px;
  }
}
@media (max-width: 500px) and (max-height: 500px) {
  .home-note {
    left: 26px;
    right: auto;
    bottom: 24%;
    width: 135px;
  }
  .home-caption {
    top: 24%;
  }
  h1 {
    top: 32%;
    font-size: 41px;
  }
  .motif-description {
    display: none;
  }
}
@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  td-surface,
  td-dock,
  dialog {
    background: #edf2f6;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-contrast: more), (prefers-reduced-transparency: reduce) {
  td-surface,
  td-dock,
  dialog {
    background: #edf2f6;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .material-field {
    visibility: hidden;
  }
  td-world:before,
  td-world:after {
    display: none;
  }
  .home-caption,
  .home-note,
  .home-description,
  footer {
    color: var(--stage-ink);
  }
}
@media (forced-colors: active) {
  :root {
    --stage-ink: CanvasText;
    --stage-muted: CanvasText;
    --ink: CanvasText;
    --muted: CanvasText;
    --accent: LinkText;
    --accent-deep: LinkText;
    color: CanvasText;
    background: Canvas;
  }
  td-world {
    display: none;
  }
  td-surface,
  td-dock,
  dialog {
    background: Canvas;
    border: 1px solid CanvasText;
    box-shadow: none;
  }
  .primary {
    border: 1px solid ButtonText;
  }
  td-dock button[aria-current="page"] {
    outline: 2px solid Highlight;
  }
  .segments button[aria-pressed="true"],
  .tabs button[aria-selected="true"],
  .motif-versions button[aria-pressed="true"] {
    outline: 2px solid Highlight;
  }
  .motif-legend span {
    background: CanvasText;
  }
}

[data-motif-layer] {
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
td-world [data-motif-layer="outer"] {
  opacity: 0.58;
}
td-world [data-motif-layer="inner"] {
  opacity: 0.64;
}
td-world [data-motif-layer="accent"] {
  opacity: 0.86;
}
td-world[data-version="6"] [data-motif-layer="outer"],
td-world[data-version="3"] [data-motif-layer="outer"],
td-world[data-version="3"] [data-motif-layer="inner"] {
  opacity: 0;
}
td-world[data-version="6"] [data-motif-layer="accent"] {
  opacity: 0.9;
}
td-world[data-version="3"] [data-motif-layer="accent"] {
  opacity: 0.94;
}

td-world[data-version="8"] [data-motif-layer="outer"] {
  opacity: 0.2;
}
td-world[data-version="8"] [data-motif-layer="accent"] {
  opacity: 0.9;
}
@media (max-width: 500px) and (max-height: 500px) {
  .home-note .text-button {
    display: none;
  }
}
@media (max-width: 500px) and (max-height: 380px) {
  .home-note {
    display: none;
  }
  .surface-heading .eyebrow {
    display: none;
  }
  .surface-heading {
    padding-top: 10px;
    padding-bottom: 5px;
  }
  .surface-heading h2 {
    font-size: 28px;
    margin-top: 4px;
    margin-bottom: 6px;
  }
  .panel-heading {
    height: 22px;
  }
  .close {
    width: 26px;
    height: 26px;
    line-height: 22px;
  }
}

.segments button,
.motif-versions button {
  position: relative;
}
.segments button[aria-pressed="true"],
.motif-versions button[aria-pressed="true"] {
  font-weight: 530;
}
.segments button[aria-pressed="true"]:after,
.motif-versions button[aria-pressed="true"]:after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 40%;
  right: 40%;
  height: 1px;
  background: var(--accent-deep);
}
.motif-versions button[aria-pressed="true"]:after {
  background: var(--accent);
}
td-dock button[aria-current="page"] {
  font-weight: 520;
}
td-dock button[aria-current="page"] svg {
  stroke-width: 1.45;
}

.media-empty .empty-icon {
  color: var(--accent-deep);
  font-size: 0;
  line-height: 0;
}
.empty-icon svg {
  width: 25px;
  height: 43px;
  display: block;
  margin: auto;
}

.preview-media-note {font-size:10px!important; opacity:.65; margin:8px 0 0;}

.film-label {font-size:11px!important;letter-spacing:.02em;margin:10px 0 4px!important;opacity:.7}
.film-credits {font-size:10px;line-height:1.65;color:var(--ink);margin:6px 0 14px;opacity:.75}
.film-credits p {font-size:10px!important;margin:8px 0!important}
.film-credits summary {cursor:pointer}
.film-credits a {color:inherit}
.prepared-draft {display:grid;gap:16px;margin-top:18px;font-size:12px}
.draft-open {display:block;text-decoration:none;text-align:center}
.prepared-draft textarea {width:100%;margin-top:10px}
.contact-delivery-note {font-size:10px!important;opacity:.7}
