/* Straxis case-study presentation. The rest of the one-day version stays intact. */
:root { --straxis-navy:#171717; --straxis-red:#b84400; --straxis-line:#d8d5d0; }

.case .case-number {
  border-top:7px solid var(--straxis-navy);
  padding-top:52px;
  color:#333333;
}
.case .case-label b {
  background:none;
  color:#333333;
  padding:0;
  font-size:14px;
  font-weight:650;
}
.case .case-title-row { margin:20px 0 42px; gap:34px; }
.case .case-title-row h3 { font-size:clamp(38px,4.2vw,58px); line-height:1.2; letter-spacing:-.065em; font-weight:700; }
.case .case-title-row>span { color:#171717; font-size:20px; font-weight:550; }

.case .case-brief {
  margin:0 0 48px;
  padding:15px 0;
  background:transparent;
  border-top:1px solid #d8d5d0;
  border-bottom:1px solid #d8d5d0;
}
.case .case-brief .case-facts {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:66px;
  row-gap:0;
  counter-reset:none;
}
.case .case-brief .case-facts>div,
.case .case-brief .case-facts>div:first-child {
  display:grid;
  grid-template-columns:165px minmax(0,1fr);
  gap:12px;
  min-height:82px;
  padding:16px 0;
  border-bottom:1px solid var(--straxis-line);
}
.case .case-brief .case-facts>div:nth-last-child(-n+2) { border-bottom:0; }
.case .case-brief .case-facts dt {
  display:block;
  color:#171717;
  font-size:16px;
  font-weight:700;
  line-height:1.65;
}
.case .case-brief .case-facts dt::before { display:none; }
.case .case-brief .case-facts dd {
  padding:0;
  color:#171717;
  font-size:17px;
  font-weight:450;
  line-height:1.7;
}

.case .workbench {
  display:grid;
  grid-template-columns:minmax(0,56fr) minmax(0,44fr);
  background:#f8f8f5;
  border:0;
}
.case .workbench-bar {
  grid-column:1/-1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid #d8d5d0;
  border-bottom:1px solid #d8d5d0;
  background:transparent;
  color:#171717;
  padding:22px 0 23px;
  font-size:31px;
  letter-spacing:-.045em;
}
.case .workbench-bar strong { font-weight:700; }
.case .workbench-bar .bench-hint { color:#333333; font-size:16px; font-weight:600; letter-spacing:0; }
.case .case-image-wrap { background:var(--straxis-navy); border:0; min-width:0; }
.case .viewer-caption {
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:var(--straxis-navy);
  color:#fff;
  padding:17px 45px;
  font-size:16px;
  font-weight:700;
}
.case .viewer-caption>span:last-child {
  color:#f0efec;
  font-size:14px;
  font-weight:600;
}
.case .case-image {
  height:850px;
  padding:0 44px 38px;
  background:var(--straxis-navy);
  scrollbar-color:#d8d5d0 #171717;
}
.case .artwork { width:min(100%,500px); margin-inline:auto; }
.case .artwork img { width:100%; height:auto; }
.case .case-image::-webkit-scrollbar { width:9px; }
.case .case-image::-webkit-scrollbar-track { background:#171717; }
.case .case-image::-webkit-scrollbar-thumb { background:#d8d5d0; }

.case .live-note {
  min-width:0;
  padding:30px 45px 27px 52px;
  background:#f8f8f5;
  display:flex;
  flex-direction:column;
}
.case .note-heading { border:0; padding:0; margin-bottom:23px; gap:18px; align-items:baseline; }
.case .note-position { color:var(--straxis-red); font:700 15px/1.3 "Yu Gothic",Meiryo,sans-serif; letter-spacing:0; }
.case .note-heading>span:nth-child(2),
.case .note-heading b { color:#333333; font-size:15px; font-weight:650; line-height:1.45; }
.case .note-heading br { display:none; }
.case .note-copy { padding:0; min-height:0; }
.case .note-title {
  color:#171717;
  font-size:clamp(27px,2.7vw,35px);
  font-weight:700;
  line-height:1.48;
  letter-spacing:-.055em;
  margin:0 0 27px;
}
.case .note-dual { display:block; margin:0; }
.case .note-dual>div,
.case .note-dual>div:nth-child(2) {
  background:transparent;
  border:0;
  border-top:1px solid #d8d5d0;
  padding:17px 0 19px;
}
.case .note-kicker,
.case .note-dual>div:nth-child(2) .note-kicker {
  display:block;
  color:#171717;
  font-size:16px;
  font-weight:700;
  letter-spacing:0;
}
.case .note-dual>div:nth-child(2) .note-kicker { color:var(--straxis-red); }
.case .note-design,
.case .note-psych { margin:10px 0 0; color:#171717; font-size:18px; line-height:1.75; font-weight:450; }
.case .chapter-nav { margin-top:auto; border-top:1px solid #d8d5d0; padding-top:17px; }
.case .chapter-nav>p { color:#333333; font-size:14px; font-weight:600; margin:0 0 10px; }
.case .chapter-nav ol {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:20px;
  border:0;
  background:transparent;
}
.case .chapter-nav li,
.case .chapter-nav li:nth-child(-n+3),
.case .chapter-nav li:nth-child(n+4) {
  grid-column:auto;
  min-width:0;
  background:transparent;
  border:0;
  border-bottom:1px solid #d8d5d0;
}
.case .chapter-nav button,
.case .chapter-nav li .chapter-nav button {
  min-height:0;
  display:flex;
  flex-direction:row;
  align-items:baseline;
  justify-content:flex-start;
  text-align:left;
  gap:12px;
  width:100%;
  padding:8px 0;
  border:0;
  background:transparent;
  color:#333333;
  font-size:14px;
  font-weight:500;
  line-height:1.5;
  white-space:normal;
}
.case .chapter-nav .chapter-number { color:#666666; font-size:13px; font-weight:650; }
.case .chapter-nav button[aria-current] { color:var(--straxis-navy); font-weight:750; border-bottom:2px solid var(--straxis-navy); }
.case .chapter-nav button[aria-current] .chapter-number { color:var(--straxis-navy); }
.case .chapter-nav .chapter-arrow { display:none; }
.case .chapter-nav button:hover:not([aria-current]) { color:var(--straxis-navy); background:transparent; }

.case .mobile-note-trigger,
.case .mobile-note-top,
.case .mobile-note-backdrop { display:none; }

@media(max-width:1100px) and (min-width:901px) {
  .case .case-brief .case-facts { column-gap:30px; }
  .case .case-brief .case-facts>div,
  .case .case-brief .case-facts>div:first-child { grid-template-columns:135px minmax(0,1fr); }
  .case .case-brief .case-facts dd { font-size:16px; }
  .case .case-image { padding-inline:22px; }
  .case .live-note { padding:28px 28px 24px; }
  .case .note-design,.case .note-psych { font-size:16px; }
  .case .chapter-nav button { font-size:12px; }
}

@media(max-width:900px) {
  .case .case-number { padding-top:32px; }
  .case .case-title-row { display:block; margin:19px 0 27px; }
  .case .case-title-row h3 { font-size:clamp(32px,7.5vw,43px); }
  .case .case-title-row>span { display:block; font-size:17px; margin-top:8px; }
  .case .case-brief { margin-bottom:36px; padding:6px 0; }
  .case .case-brief .case-facts { grid-template-columns:1fr; }
  .case .case-brief .case-facts>div,
  .case .case-brief .case-facts>div:first-child {
    display:block;
    min-height:0;
    padding:15px 0;
    border-bottom:1px solid var(--straxis-line);
  }
  .case .case-brief .case-facts>div:nth-last-child(2) { border-bottom:1px solid var(--straxis-line); }
  .case .case-brief .case-facts dt { font-size:15px; }
  .case .case-brief .case-facts dd { font-size:16px; line-height:1.7; margin-top:4px; }
  .case .workbench { display:block; }
  .case .workbench-bar { font-size:25px; padding:17px 0; }
  .case .workbench-bar .bench-hint { display:none; }
  .case .case-image-wrap { position:relative; }
  .case .viewer-caption { min-height:57px; padding:12px 15px; font-size:14px; }
  .case .viewer-caption>span:last-child { font-size:12px; }
  .case .case-image { height:clamp(500px,70svh,740px); padding:0 12px 25px; }
  .case .artwork { width:min(100%,500px); }
  .case .mobile-note-trigger {
    display:flex;
    position:sticky;
    bottom:0;
    z-index:5;
    align-items:center;
    justify-content:space-between;
    gap:9px;
    width:100%;
    min-height:65px;
    border:0;
    border-top:1px solid #d8d5d0;
    background:#f8f8f5;
    color:var(--straxis-navy);
    padding:13px 17px;
    text-align:left;
    font-size:16px;
    font-weight:750;
  }
  .case .mobile-note-scene { margin-left:auto; font-size:12px; font-weight:600; color:#333333; }
  .case .mobile-note-trigger>span:last-child { font-size:22px; font-weight:450; }
  .case .mobile-note-backdrop {
    display:block;
    position:fixed;
    inset:0;
    z-index:999;
    background:rgba(23,23,23,.53);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .24s ease,visibility .24s ease;
  }
  .case .live-note {
    position:fixed;
    inset:auto 0 0;
    z-index:1000;
    width:100%;
    height:min(84svh,760px);
    min-height:0;
    display:block;
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:0 22px 28px;
    border-top:5px solid var(--straxis-navy);
    background:#f8f8f5;
    transform:translateY(105%);
    visibility:hidden;
    pointer-events:none;
    transition:transform .28s ease,visibility .28s ease;
  }
  .case.note-sheet-open .mobile-note-backdrop { opacity:1; visibility:visible; pointer-events:auto; }
  .case.note-sheet-open .live-note { transform:translateY(0); visibility:visible; pointer-events:auto; }
  .case .mobile-note-top {
    display:flex;
    position:sticky;
    top:0;
    z-index:1;
    align-items:center;
    justify-content:space-between;
    min-height:60px;
    border-bottom:1px solid #d8d5d0;
    background:#f8f8f5;
    font-size:19px;
  }
  .case .mobile-note-close { border:0; background:transparent; color:var(--straxis-navy); padding:12px 0 12px 16px; font-size:15px; font-weight:650; }
  .case .mobile-note-close span { font-size:22px; font-weight:400; margin-left:5px; }
  .case .note-heading { margin:20px 0 18px; }
  .case .note-position { font-size:14px; }
  .case .note-heading>span:nth-child(2),.case .note-heading b { font-size:14px; }
  .case .note-title { font-size:clamp(25px,6.3vw,31px); margin-bottom:24px; }
  .case .note-kicker,.case .note-dual>div:nth-child(2) .note-kicker { font-size:15px; }
  .case .note-design,.case .note-psych { font-size:16px; line-height:1.75; }
  .case .chapter-nav { margin-top:18px; }
  .case .chapter-nav ol { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:15px; }
  .case .chapter-nav li,.case .chapter-nav li:nth-child(-n+3),.case .chapter-nav li:nth-child(n+4) { border-right:0; border-bottom:1px solid #d8d5d0; }
  .case .chapter-nav button { min-height:0; padding:10px 0; font-size:13px; text-align:left; }
  body.straxis-sheet-lock { overflow:hidden; }
}

@media(max-width:390px) {
  .case .mobile-note-trigger { font-size:14px; }
  .case .mobile-note-scene { font-size:11px; }
  .case .case-image { height:66svh; }
}

@media(prefers-reduced-motion:reduce) {
  .case .live-note,.case .mobile-note-backdrop { transition:none; }
}

/* Portfolio first view: tall LP artwork presented as angled sheets. */
.hero {
  overflow:hidden;
  padding-top:76px;
  background:radial-gradient(ellipse 44% 72% at 72% 48%,#f0f0ed 0%,#ffffff 69%,#fff 100%);
}
.hero-grid {
  grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);
  gap:44px;
  align-items:center;
}
.hero h1 {
  max-width:690px;
  margin:0 0 30px;
  color:#171717;
  font-size:clamp(46px,4.85vw,72px);
  line-height:1.32;
  letter-spacing:-.075em;
  font-weight:700;
}
.hero h1 em { color:inherit; }
.hero-lead {
  max-width:610px;
  margin:0;
  color:#171717;
  font-size:clamp(17px,1.4vw,20px);
  line-height:1.9;
  font-weight:500;
}
.hero-actions { margin-top:32px; }
.hero-actions .button {
  min-width:0;
  padding:8px 0 9px;
  border-bottom:1px solid #171717;
  background:transparent;
  color:#171717;
  font-size:17px;
  gap:34px;
}
.hero-actions .button:hover { background:transparent; color:#b84400; border-color:#b84400; }
.hero-meta { margin-top:65px; gap:0; flex-wrap:nowrap; border-top:1px solid #d8d5d0; }
.hero-meta>span {
  display:block;
  flex:1;
  min-width:0;
  min-height:0;
  padding:18px 17px 5px;
  border:0;
  border-right:1px solid #d8d5d0;
  background:transparent;
  color:#333333;
  font-size:12px;
  line-height:1.65;
}
.hero-meta>span:first-child { padding-left:0; }
.hero-meta>span:last-child { border-right:0; }
.hero-meta b { color:#171717; font-size:14px; line-height:1.5; font-weight:650; }
.hero-visual {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:21px;
  height:690px;
  min-width:0;
  padding:57px 8px 40px;
  isolation:isolate;
}
.hero-visual:after {
  content:"";
  position:absolute;
  z-index:-1;
  left:4%;right:0;bottom:34px;
  height:43px;
  border-radius:50%;
  background:rgba(23,23,23,.14);
  filter:blur(24px);
}
.visual-note { top:21px;left:20px;color:#333333;font-size:11px;letter-spacing:.14em; }
.hero-frame,
.hero-frame-one,
.hero-frame-two {
  position:relative;
  width:min(47%,278px);
  max-width:none;
  height:575px;
  margin:0;
  padding:0;
  overflow:hidden;
  border:0;
  border-radius:1px;
  background:white;
  box-shadow:0 23px 28px rgba(23,23,23,.16),0 5px 10px rgba(23,23,23,.09);
  transform-origin:center bottom;
}
.hero-frame:before { display:none; }
.hero-frame-one { transform:perspective(1300px) rotateY(-13deg) rotateX(1.5deg) translateY(-10px); }
.hero-frame-two { transform:perspective(1300px) rotateY(-13deg) rotateX(1.5deg) translateY(13px); }
.hero-frame img { width:100%;height:100%;max-width:none;object-fit:cover;object-position:top; }
.scroll-cue { justify-content:center;gap:16px;max-width:140px;margin-top:0;padding:0 0 24px;border:0;color:#171717;font-size:11px;letter-spacing:.13em; }
.scroll-cue span:last-child { font-size:23px; }

@media(max-width:1100px) {
  .hero-grid { gap:26px; }
  .hero h1 { font-size:clamp(40px,4.9vw,55px); }
  .hero-visual { height:600px;padding-inline:0;gap:14px; }
  .hero-frame,.hero-frame-one,.hero-frame-two { height:500px; }
  .hero-meta { margin-top:40px; }
  .hero-meta>span { padding-inline:10px; }
}
@media(max-width:900px) {
  .hero { padding-top:54px; }
  .hero-grid { display:flex;flex-direction:column;align-items:stretch;gap:0; }
  .hero-copy { display:contents; }
  .hero h1 { order:1;max-width:none;margin:0 0 24px;font-size:clamp(40px,7vw,56px); }
  .hero-lead { order:2;font-size:17px; }
  .hero-actions { order:3;margin-top:25px; }
  .hero-visual { order:4;width:100%;max-width:650px;height:570px;margin:20px auto 0;padding:38px 8px 35px;gap:22px; }
  .hero-frame,.hero-frame-one,.hero-frame-two { width:min(46%,270px);height:490px; }
  .hero-meta { order:5;width:100%;margin:0 0 22px; }
  .scroll-cue { margin-top:0; }
}
@media(max-width:600px) {
  .hero { padding-top:42px; }
  .hero h1 { font-size:clamp(36px,9vw,50px);line-height:1.3;letter-spacing:-.075em; }
  .hero-lead { font-size:15px;line-height:1.85; }
  .hero-lead-break { display:none; }
  .hero-actions .button { font-size:15px; }
  .hero-visual { max-width:440px;height:390px;margin-top:23px;padding:24px 0 20px;gap:9px; }
  .visual-note { top:0;left:0;font-size:9px; }
  .hero-frame,.hero-frame-one,.hero-frame-two { width:48%;height:340px; }
  .hero-frame-one { transform:perspective(800px) rotateY(-11deg) translateY(-7px); }
  .hero-frame-two { transform:perspective(800px) rotateY(-11deg) translateY(10px); }
  .hero-meta { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:0; }
  .hero-meta>span,.hero-meta>span:last-child { grid-column:auto;display:block;min-width:0;min-height:0;padding:12px 9px 0;border:0;border-right:1px solid #d8d5d0;background:transparent;font-size:10px; }
  .hero-meta>span:first-child { padding-left:0; }
  .hero-meta>span:last-child { border-right:0; }
  .hero-meta b { display:block;font-size:11px;white-space:normal; }
}
@media(max-width:380px) {
  .hero h1 { font-size:34px; }
  .hero-visual { height:345px; }
  .hero-frame,.hero-frame-one,.hero-frame-two { height:295px; }
  .hero-meta>span { font-size:9px; }
  .hero-meta b { font-size:10px; }
}

