/* A quiet editorial layout keeps the supplied artwork prominent. */
.undertow-case-page {
  --ut-copy: #b7bfc5;
  --ut-muted: #838f99;
  --ut-accent: #a4bdcc;
  --ut-rule: #2b3338;
  background: #000;
  color: #eceff0;
}

.undertow-case-page .section-shell {
  max-width: calc(1280px + 2 * var(--gutter));
}

.undertow-case-page :is(section[id], figure[id], details[id]) {
  scroll-margin-top: 110px;
}
.undertow-case-page .ut-section[id] { scroll-margin-top: -86px; }

.undertow-case-page .eyebrow {
  color: var(--ut-muted);
  letter-spacing: .13em;
}

.undertow-case-page .back-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--ut-muted);
}

.undertow-case-page :is(a, summary):focus-visible {
  outline-color: var(--ut-accent);
}

.ut-opening {
  padding-top: 126px;
}

.ut-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
  align-items: end;
  gap: 56px;
  margin-top: 30px;
}

.ut-title-row h1 {
  margin-top: 14px;
  font-size: clamp(56px, 5.6vw, 76px);
  font-weight: 450;
  line-height: 1.17;
  letter-spacing: -.035em;
}

.ut-intro {
  max-width: 36em;
  padding-bottom: 3px;
}

.ut-intro p {
  color: var(--ut-copy);
  font-size: 17px;
  line-height: 1.9;
}

.ut-intro p + p {
  margin-top: 12px;
}

.ut-design-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  margin-top: 24px;
  padding: 13px 24px;
  border: 1px solid #e7f4ff;
  border-radius: 999px;
  background: linear-gradient(115deg, #cce5f4, #edf4ff 52%, #dfd9f4);
  color: #162633;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  box-shadow: 0 0 18px #a3d8fa33, 0 0 34px #a999f526, inset 0 1px 0 #ffffffb3;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.ut-design-entry::after {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 16 16 4M4 4h12v12' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ut-design-entry:hover { transform: translateY(-2px); box-shadow: 0 0 22px #a3d8fa66, 0 0 42px #a999f544, inset 0 1px 0 #ffffffb3; }
.ut-design-entry:focus-visible { outline: 2px solid var(--ut-accent); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .ut-design-entry, .ut-design-entry:hover { transition: none; transform: none; }
}
@media (forced-colors: active) {
  .ut-design-entry { background: ButtonFace; color: ButtonText; border-color: ButtonText; box-shadow: none; }
}

.design-archive-reader {
  width: min(1200px, calc(100vw - 64px));
  height: 90svh;
  margin: auto;
  background: #000;
  border-radius: 12px;
  outline: 1px solid #ffffff26;
}

.design-archive-reader .lightbox-shell { padding: 20px 28px; }
.design-archive-reader .lightbox-top { border-bottom: 0; }
.design-archive-reader .gallery-reader-intro {
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 24px 0 32px;
}
.design-archive-reader .reader-intro-title h2 { font-size: clamp(30px, 4vw, 48px); }
.design-archive-reader .reader-intro-copy { justify-self: start; max-width: none; padding-bottom: 0; }
.design-archive-reader .reader-intro-summary { font-size: 14px; }

@media (max-width: 768px) {
  .design-archive-reader {
    width: 100vw;
    height: 100svh;
    margin: 0;
    border-radius: 0;
    outline: none;
  }
  .design-archive-reader .lightbox-shell { padding: 16px 18px calc(12px + env(safe-area-inset-bottom, 0px)); }
}

.ut-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 30px 0 26px;
  padding-top: 18px;
  border-top: 1px solid var(--ut-rule);
}

.ut-facts dt {
  margin-bottom: 7px;
  color: var(--ut-muted);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .04em;
}

.ut-facts dd {
  margin: 0;
  color: #d1d8dd;
  font-size: 14px;
  line-height: 1.75;
}

.ut-figure {
  min-width: 0;
  margin: 0;
}

.ut-image-frame {
  position: relative;
  overflow: hidden;
  background: #000;
}

.ut-image-frame > img {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
}

.ut-figure figcaption {
  margin-top: 12px;
  color: var(--ut-muted);
  font-size: 12px;
  line-height: 1.75;
}

.ut-hero {
  margin-top: 0;
}

.ut-index {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 34px;
  margin-top: 26px;
  padding: 15px 0 19px;
  border-bottom: 1px solid var(--ut-rule);
}

.ut-index a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  color: #c1cbd2;
  font-size: 13px;
  line-height: 1.65;
}

.ut-index a span {
  color: var(--ut-muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.ut-section {
  padding-top: 86px;
}

.ut-section-head {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  margin-bottom: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--ut-rule);
}

.ut-number {
  padding-top: 6px;
  color: var(--ut-accent);
  font-size: 12px;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
}

.ut-section-head h2 {
  font-size: clamp(29px, 3vw, 38px);
  font-weight: 450;
  line-height: 1.38;
  letter-spacing: -.025em;
}

.ut-lead {
  max-width: 38em;
  padding-top: 3px;
  color: var(--ut-copy);
  font-size: 16px;
  line-height: 1.9;
}

.ut-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  margin-bottom: 30px;
}

.ut-copy-grid p,
.ut-notes > p,
.ut-story-copy p,
.ut-product-copy p {
  color: var(--ut-copy);
  font-size: 16px;
  line-height: 1.95;
}

.ut-pathway {
  margin: 30px 0 34px;
  padding: 21px 0;
  border-top: 1px solid var(--ut-rule);
  border-bottom: 1px solid var(--ut-rule);
}

.ut-pathway {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.ut-pathway li {
  min-width: 0;
  padding-inline: 22px;
  color: #cbd4db;
  font-size: 14px;
  line-height: 1.8;
}

.ut-pathway li:first-child {
  padding-left: 0;
}

.ut-pathway li + li {
  border-left: 1px solid var(--ut-rule);
}


.ut-space-elevations {
  display: grid;
  gap: 28px;
}

.ut-notes {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: start;
  gap: 60px;
  margin-top: 32px;
}

.ut-details {
  min-width: 0;
}

.ut-details summary,
.ut-disclosure-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #3a4852;
  border-radius: 999px;
  background: #080c10;
  color: #d5e0e7;
  font-size: 14px;
  line-height: 1.6;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.ut-details summary,
.ut-archive > summary {
  list-style: none;
  cursor: pointer;
}

.ut-archive > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #cbd8e0;
  font-size: 14px;
  line-height: 1.8;
}

.ut-disclosure-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  min-width: 0;
}

.ut-disclosure-topic {
  color: var(--ut-copy);
}

.ut-disclosure-topic::before {
  content: "·";
  margin-right: 8px;
  color: var(--ut-muted);
}

.ut-disclosure-closed,
.ut-disclosure-open {
  font-weight: 500;
}

.ut-disclosure-open { display: none; }
.ut-details[open] > summary .ut-disclosure-closed,
.ut-archive[open] > summary .ut-disclosure-closed { display: none; }
.ut-details[open] > summary .ut-disclosure-open,
.ut-archive[open] > summary .ut-disclosure-open { display: inline; }

.ut-disclosure-chevron {
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform .18s ease;
}

.ut-details[open] > summary .ut-disclosure-chevron,
.ut-archive[open] > summary .ut-disclosure-chevron { transform: rotate(180deg); }

.ut-details summary:focus-visible,
.ut-archive > summary:focus-visible {
  outline: 2px solid var(--ut-accent);
  outline-offset: 4px;
}

.ut-details summary::-webkit-details-marker,
.ut-archive > summary::-webkit-details-marker { display: none; }
.ut-notes + .ut-figure { margin-top: 44px; }
.ut-archive > summary h2 { font-size: 26px; margin-top: 8px; }

.ut-details summary::marker,
.ut-archive > summary::marker {
  content: "";
}

.ut-details-body {
  padding: 20px 4px 24px;
}

.ut-details-body article + article {
  margin-top: 25px;
  padding-top: 23px;
  border-top: 1px solid var(--ut-rule);
}

.ut-details-body h3 {
  margin-bottom: 10px;
  color: #d8e0e5;
  font-size: 16px;
  line-height: 1.65;
}

.ut-details-body p {
  color: var(--ut-copy);
  font-size: 14px;
  line-height: 1.95;
}

.ut-details-body p + p {
  margin-top: 10px;
}

.ut-details-body .ut-problem,
.ut-decisions .ut-problem {
  color: var(--ut-muted);
}

.ut-story-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 72px;
}

.ut-story-copy {
  max-width: 38em;
}

.ut-story-copy p + p,
.ut-product-copy p + p {
  margin-top: 18px;
}

.ut-turnarounds {
  display: grid;
  gap: 30px;
  margin-top: 42px;
}

.ut-scenes {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  align-items: start;
  gap: 24px;
  margin-top: 34px;
}
.ut-scenes > .ut-figure:first-child { grid-row: span 2; }

.ut-film {
  margin-top: 36px;
  position: relative;
  aspect-ratio: var(--ut-film-ratio,2206/946);
  background: #000;
}
.ut-opening-film { margin: 0 0 48px; }

.ut-film video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000;
}

.ut-film figcaption,
.ut-film > p {
  margin-top: 12px;
  color: var(--ut-muted);
  font-size: 12px;
  line-height: 1.8;
}

.ut-product-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 64px;
}

.ut-product-copy h3 {
  margin-bottom: 18px;
  font-size: 24px;
  line-height: 1.55;
  letter-spacing: -.015em;
}

.ut-variants {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
  margin-top: 38px;
}

.ut-product-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: start;
  gap: 28px;
  margin-top: 40px;
}

.ut-product-pair--balanced {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ut-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ut-process li {
  min-width: 0;
  padding-top: 19px;
  border-top: 1px solid var(--ut-rule);
}

.ut-process li > span {
  color: var(--ut-accent);
  font-size: 12px;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
}

.ut-process h3 {
  margin-top: 0;
  margin-bottom: 11px;
  color: #dce4e9;
  font-size: 18px;
  line-height: 1.6;
}

.ut-process p {
  color: var(--ut-copy);
  font-size: 14px;
  line-height: 1.9;
}

.ut-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 30px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--ut-rule);
  color: var(--ut-muted);
  font-size: 13px;
  line-height: 1.8;
}

.ut-tools strong {
  color: #c7d3dc;
  font-weight: 400;
}

.ut-decisions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 0;
}

.ut-process-note { max-width: 680px; margin-top: 32px; }

.ut-decisions article {
  padding-top: 21px;
  border-top: 1px solid var(--ut-rule);
}

.ut-decisions h3 {
  margin-bottom: 17px;
  color: #dce4e9;
  font-size: 20px;
  line-height: 1.55;
}

.ut-decisions p {
  color: var(--ut-copy);
  font-size: 15px;
  line-height: 1.95;
}

.ut-decisions p + p {
  margin-top: 12px;
}

.ut-archive {
  margin-top: 0;
  border-top: 1px solid var(--ut-rule);
}

.ut-archive > summary {
  padding-block: 22px;
}

.ut-archive-heading {
  margin: 0 0 25px;
  color: var(--ut-muted);
  font-size: 13px;
  line-height: 1.85;
}

.ut-archive-heading p {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.ut-archive .media-case-boards {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 32px;
}

.ut-archive .media-case-board + .media-case-board {
  margin-top: 28px;
}

@media (hover: hover) and (pointer: fine) {
  .undertow-case-page .back-link:hover,
  .ut-index a:hover,
  .ut-details summary:hover,
  .ut-archive > summary:hover {
    color: #e3edf3;
  }
  .ut-details summary:hover,
  .ut-archive > summary:hover .ut-disclosure-action {
    border-color: #647c8c;
    background: #10191f;
  }
}

@media (max-width: 1100px) {
  .ut-title-row { gap: 36px; }
  .ut-section-head { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 20px; }
  .ut-copy-grid { gap: 32px; }
  .ut-story-grid { gap: 40px; }
  .ut-product-intro { gap: 36px; }
  .ut-notes { gap: 36px; }
  .ut-process { gap: 22px; }
  .ut-decisions { gap: 26px; }
  .ut-pathway li { padding-inline: 15px; }
}

@media (max-width: 900px) {
  .ut-title-row { align-items: start; }
  .ut-intro p { font-size: 16px; }
  .ut-section-head { grid-template-columns: minmax(0, 1fr); }
  .ut-section-head .ut-lead { grid-column: auto; max-width: none; }
  .ut-section-head h2 { font-size: 32px; }
  .ut-variants { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .ut-process { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
}

@media (max-width: 600px) {
  .undertow-case-page { --gutter: 22px; }
  .ut-opening { padding-top: 122px; }
  .ut-title-row { grid-template-columns: 1fr; gap: 23px; margin-top: 24px; }
  .ut-title-row .eyebrow { font-size: 10px; letter-spacing: .09em; }
  .ut-title-row h1 { margin-top: 12px; font-size: 46px; line-height: 1.2; }
  .ut-intro { max-width: none; padding-bottom: 0; }
  .ut-intro p { font-size: 15px; line-height: 1.9; }
  .ut-facts { grid-template-columns: 1fr; gap: 17px; margin: 25px 0 24px; padding-top: 18px; }
  .ut-facts dt { margin-bottom: 3px; }
  .ut-facts dd { font-size: 14px; }
  .ut-figure figcaption { margin-top: 10px; font-size: 12px; }
  .ut-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 18px; margin-top: 20px; padding: 11px 0 16px; }
  .ut-index a { gap: 8px; min-height: 36px; font-size: 12px; }
  .ut-section { padding-top: 56px; }
  .undertow-case-page .ut-section[id] { scroll-margin-top: -56px; }
  .ut-section-head { grid-template-columns: minmax(0, 1fr); gap: 9px 12px; margin-bottom: 25px; padding-top: 19px; }
  .ut-number { padding-top: 4px; font-size: 11px; }
  .ut-section-head h2 { font-size: 28px; line-height: 1.45; }
  .ut-section-head .ut-lead { padding-top: 0; font-size: 15px; line-height: 1.9; }
  .ut-copy-grid { grid-template-columns: 1fr; gap: 18px; margin-bottom: 25px; }
  .ut-copy-grid p,
  .ut-notes > p,
  .ut-story-copy p,
  .ut-product-copy p { font-size: 15px; line-height: 1.95; }
  .ut-pathway { margin: 26px 0; padding: 0; }
  .ut-pathway { grid-template-columns: 1fr; }
  .ut-pathway li,
  .ut-pathway li:first-child { display: flex; align-items: baseline; gap: 20px; padding: 13px 0; font-size: 14px; }
  .ut-pathway li + li { border-left: 0; border-top: 1px solid var(--ut-rule); }
  .ut-space-elevations { gap: 24px; }
  .ut-notes { grid-template-columns: 1fr; gap: 24px; margin-top: 25px; }
  .ut-details summary,
  .ut-archive > summary { font-size: 14px; }
  .ut-details-body p { font-size: 15px; }
  .ut-story-grid,
  .ut-product-intro { grid-template-columns: 1fr; gap: 26px; }
  .ut-story-copy { max-width: none; }
  .ut-story-copy p + p,
  .ut-product-copy p + p { margin-top: 16px; }
  .ut-turnarounds { gap: 26px; margin-top: 30px; }
  .ut-scenes { grid-template-columns: 1fr; gap: 26px; margin-top: 27px; }
  .ut-scenes > .ut-figure:first-child { grid-row: auto; }
  .ut-film { margin-top: 28px; }
  .ut-product-copy h3 { font-size: 22px; margin-bottom: 14px; }
  .ut-variants { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 16px; margin-top: 29px; }
  .ut-product-pair,
  .ut-product-pair--balanced { grid-template-columns: 1fr; gap: 26px; margin-top: 29px; }
  .ut-process { grid-template-columns: 1fr; gap: 24px; }
  .ut-process li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 16px; padding-top: 19px; }
  .ut-process li > span { grid-row: 1 / 3; padding-top: 3px; }
  .ut-process h3 { margin: 0; font-size: 19px; }
  .ut-process p { grid-column: auto; font-size: 15px; }
  .ut-tools { gap: 8px 22px; margin-top: 27px; font-size: 13px; }
  .ut-decisions { grid-template-columns: 1fr; gap: 28px; }
  .ut-decisions article { padding-top: 19px; }
  .ut-decisions h3 { margin-bottom: 13px; font-size: 21px; }
  .ut-decisions p { font-size: 15px; }
  .ut-archive { margin-top: 0; }
  .ut-archive > summary { flex-wrap: wrap; gap: 16px; padding-block: 18px; }
  .ut-archive-heading { margin-bottom: 20px; font-size: 13px; }
  .ut-archive .media-case-board + .media-case-board { margin-top: 20px; }
}

@media (max-width: 360px) {
  .undertow-case-page { --gutter: 18px; }
  .ut-title-row h1 { font-size: 43px; }
  .ut-section-head h2 { font-size: 25px; }
  .ut-index { gap: 8px 12px; }
  .ut-index a { font-size: 11px; }
}
