/* Public product gallery. Document colors reproduce the sample, independent of UI theme. */
.showcase,
.culture-section {
  scroll-margin-top: calc(var(--nav-height) + 12px);
}
.showcase {
  padding-block: clamp(52px, 6vw, 94px);
}
.showcase-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.showcase-head h2,
.culture-statement h2 {
  font-size: clamp(32px, 3.7vw, 56px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.06em;
  margin: 0;
}
.showcase-head p {
  font-size: 15px;
  color: var(--muted);
}
.showcase-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.showcase-tabs:empty {
  display: none;
}
.study-tab {
  position: relative;
  color: var(--muted);
  font-size: 15px;
  font-weight: 550;
  min-height: 48px;
  padding: 8px 2px 12px;
}
.study-tab::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}
.study-tab:hover,
.study-tab[aria-selected="true"] {
  color: var(--ink);
}
.study-tab[aria-selected="true"]::after {
  transform: scaleX(1);
}
.showcase-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.18fr;
  min-height: 390px;
  overflow: hidden;
  isolation: isolate;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.study-copy {
  padding: clamp(26px, 3.2vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.study-domain {
  font: 500 12px var(--mono);
  letter-spacing: 0.035em;
  color: var(--accent);
}
.study-copy h3 {
  font-weight: 580;
  font-size: clamp(28px, 2.65vw, 42px);
  line-height: 1.22;
  letter-spacing: -0.055em;
  margin: 12px 0 14px;
  text-wrap: balance;
}
.study-copy > p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 32em;
}
.study-copy dl {
  display: grid;
  gap: 5px;
  margin: 20px 0 22px;
  font-size: 13px;
}
.study-copy dl div {
  display: flex;
  gap: 16px;
}
.study-copy dt {
  color: var(--muted);
}
.study-copy dd {
  margin: 0;
  color: var(--ink);
}
.study-link {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--panel);
  align-self: flex-start;
}
.study-link span {
  display: inline-block;
  transition: transform 200ms ease;
}
.study-link:hover span {
  transform: translate(2px, -2px);
}
.study-visual {
  --light: #f2eee4;
  --shade: #c8bdad;
  --grid: #594b3f12;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 385px;
  color: #312d2b;
  background:
    radial-gradient(ellipse at 22% 16%, var(--light), transparent 65%),
    linear-gradient(135deg, var(--light), var(--shade));
}
.study-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(140deg, #0008, transparent 62%, #000);
}
.study-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    112deg,
    transparent 25%,
    #fff6 46%,
    transparent 62%
  );
  transform: translateX(-130%);
  opacity: 0;
}
.exhibit {
  position: relative;
  width: min(78%, 410px);
  aspect-ratio: 1.48;
  transform: perspective(950px) rotateX(var(--pitch, 0deg))
    rotateY(var(--yaw, 0deg));
  transition: transform 220ms ease-out;
}
.specimen-caption {
  position: absolute;
  right: 20px;
  bottom: 13px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #4c4848;
}
.visual-paper,
.paper-back,
.folder-edge,
.blueprint-back {
  position: absolute;
  border-radius: 4px;
}
.folder-edge {
  inset: 13% 1% -1% 2%;
  background: linear-gradient(100deg, #693e48, #4b2937);
  transform: rotate(-8deg);
  box-shadow: 0 14px 30px #42302126;
}
.folder-edge::before {
  content: "";
  position: absolute;
  bottom: 99%;
  left: 0;
  width: 36%;
  height: 11px;
  background: #643b47;
  border-radius: 4px 12px 0 0;
}
.paper-back {
  inset: 3% 3% 0;
  background: #d9d4c7;
  border: 1px solid #c3baaa;
  transform: rotate(4deg);
}
.visual-paper {
  inset: 0 5% 3%;
  padding: 6% 7%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fffdf6;
  box-shadow:
    0 2px 4px #493e2920,
    0 15px 32px #493e2921;
  transform: rotate(-3deg);
}
.paper-top,
.legal-ref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.paper-top {
  padding-bottom: 8px;
  border-bottom: 1px solid #9f8f7f70;
  color: #6b5856;
  font-size: clamp(10px, 1vw, 13px);
}
.paper-top strong,
.legal-ref strong,
.record-id,
.mark-proof small {
  font-family: var(--mono);
}
.law-document {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.law-document p {
  position: relative;
  z-index: 1;
  font-family: Georgia, serif;
  font-size: clamp(17px, 1.65vw, 26px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: #3e3031;
}
.law-document img {
  width: 40%;
  height: auto;
}
.legal-ref {
  padding-top: 9px;
  border-top: 1px solid #9f8f7f70;
  font-size: 11px;
  color: #6b5856;
}
.legal-ref strong {
  color: #543939;
  font-size: 13px;
}
.screening-study .study-visual {
  --light: #e4f0ee;
  --shade: #9db8b3;
  --grid: #235a511e;
}
.record {
  position: absolute;
  width: 84%;
  padding: 5% 7%;
  border-radius: 7px;
  display: grid;
  gap: 9px;
  overflow: hidden;
}
.record-input {
  left: 0;
  top: 0;
  transform: rotate(-5deg);
  border: 1px solid #acc1b9;
  background: #eff6f1;
  box-shadow: 0 14px 30px #27403b22;
}
.record-match {
  right: 0;
  bottom: 0;
  transform: rotate(2deg);
  background: linear-gradient(140deg, #294c48, #1d3838);
  color: #f2faf7;
  box-shadow: 0 18px 32px #1f40364a;
}
.record-caption {
  font-size: 12px;
  letter-spacing: 0.06em;
}
.record strong {
  font:
    500 clamp(15px, 1.55vw, 23px)/1.15 Georgia,
    serif;
}
.record-id {
  font-size: 12px;
  border-top: 1px solid #728e8366;
  padding-top: 7px;
}
.match-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  left: 0;
  opacity: 0;
  background: #c6ffeb;
  box-shadow: 0 0 20px 7px #93dfc066;
}
.trademark-study .study-visual {
  --light: #f7eee9;
  --shade: #c8aca6;
  --grid: #77434719;
}
.mark-proof {
  position: absolute;
  top: 11%;
  width: 46%;
  height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 6% 2%;
  border: 1px solid #fdf4ea88;
  border-radius: 7px;
  box-shadow: 0 18px 30px #5c373329;
}
.proof-first {
  left: 4%;
  background: #fefaf1;
  color: #4d3331;
  transform: rotate(-7deg);
}
.proof-second {
  right: 3%;
  top: 17%;
  background: linear-gradient(140deg, #864e5b, #57303e);
  color: #fff7ef;
  transform: rotate(5deg);
}
.mark-proof span,
.mark-proof small {
  font-size: 11px;
  letter-spacing: 0.08em;
}
.mark-proof b {
  font: 600 clamp(33px, 3.9vw, 60px)/1 var(--serif);
  letter-spacing: -0.13em;
}
.proof-second b {
  font-family: var(--sans);
  font-weight: 450;
  letter-spacing: 0.05em;
}
.patent-study .study-visual {
  --light: #edf0f5;
  --shade: #acb9cc;
  --grid: #314c7520;
}
.blueprint-back {
  inset: 3% 5% 1%;
  transform: rotate(6deg);
  background:
    repeating-linear-gradient(0deg, transparent 0 14px, #ffffff16 15px),
    repeating-linear-gradient(90deg, #4a6178 0 14px, #6d8499 15px);
  box-shadow: 0 18px 32px #20304833;
}
.patent-paper {
  transform: rotate(-4deg);
  background: #fafcff;
  color: #203349;
}
.patent-paper img {
  width: 100%;
  height: 64%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.patent-paper .paper-top,
.patent-paper .legal-ref,
.patent-paper .legal-ref strong {
  color: #42556a;
}
.culture-section {
  background: var(--rail);
  border-top: 1px solid var(--line);
}
.culture-layout {
  display: grid;
  grid-template-columns: 1fr 1.17fr;
  gap: clamp(40px, 8vw, 126px);
  padding-block: clamp(60px, 7vw, 102px);
}
.culture-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--accent);
}
.culture-label::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}
.culture-statement h2 {
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(38px, 4.5vw, 67px);
  letter-spacing: -0.065em;
}
.culture-copy > p {
  font-size: clamp(20px, 1.8vw, 27px);
  font-weight: 550;
  line-height: 1.55;
  text-wrap: balance;
}
.principles {
  margin: 20px 0 0;
}
.principles div {
  display: grid;
  grid-template-columns: 5em 1fr;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.principles dt {
  font-weight: 600;
  font-size: 14px;
}
.principles dd {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.company-footer {
  position: relative;
  isolation: isolate;
  background: #17171b;
  color: #f4f2ed;
  border-top: 1px solid #333139;
}
.company-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 0 110%, #59404c50, transparent 55%);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.8fr) repeat(3, 1fr);
  gap: 36px;
  padding-block: 58px 40px;
}
.footer-signature {
  align-self: start;
  justify-self: start;
  display: block;
}
.footer-signature img {
  display: block;
  width: clamp(154px, 16vw, 224px);
  max-width: 100%;
  height: auto;
}
.footer-main nav {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 9px;
}
.footer-main h2 {
  font-size: 13px;
  font-weight: 600;
  color: #eeebeb;
  margin: 0 0 5px;
}
.company-footer a {
  color: #c3bfc3;
  font-size: 14px;
}
.footer-main nav a,
.footer-base a {
  text-underline-offset: 5px;
}
.company-footer a:hover,
.company-footer a:focus-visible {
  color: #fff4f7;
  text-decoration: underline;
}
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-block: 20px 24px;
  border-top: 1px solid #ffffff27;
}
.footer-base small,
.footer-base a {
  color: #b9b5bb;
  font-size: 12px;
}
.footer-base a span {
  display: inline-block;
  margin-left: 6px;
}
@keyframes specimen-arrive {
  from {
    opacity: 0.1;
    translate: 0 14px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes sheet-settle {
  from {
    translate: 0 14%;
    rotate: 5deg;
  }
  to {
    translate: 0 0;
    rotate: 0deg;
  }
}
@keyframes trace-match {
  0% {
    left: 3%;
    opacity: 0;
  }
  18% {
    opacity: 0.9;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    left: 98%;
    opacity: 0;
  }
}
@keyframes align-proof {
  from {
    translate: 12% -8%;
    rotate: 5deg;
  }
  to {
    translate: 0 0;
    rotate: 0deg;
  }
}
@keyframes reveal-drawing {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes exhibit-light {
  0% {
    transform: translateX(-125%);
    opacity: 0;
  }
  32% {
    opacity: 0.64;
  }
  100% {
    transform: translateX(128%);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .was-viewed .study-copy > * {
    animation: specimen-arrive 0.52s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .was-viewed .study-copy h3 {
    animation-delay: 45ms;
  }
  .was-viewed .study-copy p {
    animation-delay: 70ms;
  }
  .was-viewed .study-copy dl,
  .was-viewed .study-link {
    animation-delay: 100ms;
  }
  .was-viewed .visual-paper,
  .was-viewed .record-match {
    animation: sheet-settle 0.88s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .was-viewed .paper-back {
    animation: sheet-settle 1.05s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .was-viewed .match-scan {
    animation: trace-match 1s 0.25s ease-out both;
  }
  .was-viewed .proof-second {
    animation: align-proof 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .was-viewed .patent-paper img {
    animation: reveal-drawing 0.85s 0.14s cubic-bezier(0.3, 0.05, 0.3, 1) both;
  }
  .was-viewed .study-visual::after {
    animation: exhibit-light 1.2s 0.1s ease-out both;
  }
  .culture-section.was-viewed .principles div,
  .company-footer.was-viewed nav {
    animation: specimen-arrive 0.6s ease-out both;
  }
  .was-viewed .principles div:nth-child(2),
  .company-footer.was-viewed nav:nth-of-type(2) {
    animation-delay: 65ms;
  }
  .was-viewed .principles div:nth-child(3),
  .company-footer.was-viewed nav:nth-of-type(3) {
    animation-delay: 130ms;
  }
}
@media (max-width: 900px) {
  .showcase-panel {
    grid-template-columns: 1fr 1fr;
  }
  .study-copy {
    padding: 25px;
  }
  .exhibit {
    width: 88%;
  }
  .footer-main {
    gap: 20px;
  }
}
@media (max-width: 720px) {
  .showcase {
    padding-block: 44px;
  }
  .showcase-head {
    display: block;
    margin-bottom: 14px;
  }
  .showcase-head p {
    margin-top: 8px;
    font-size: 14px;
  }
  .showcase-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
    margin-bottom: 14px;
  }
  .study-tab {
    text-align: left;
    padding: 7px 3px;
    font-size: 14px;
    min-height: 42px;
  }
  .study-tab {
    -webkit-tap-highlight-color: transparent;
  }
  .study-tab[aria-selected="true"] {
    color: var(--accent);
  }
  .study-tab::after {
    height: 2px;
  }
  .showcase-panel {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 13px;
  }
  .study-copy {
    padding: 24px;
  }
  .study-copy h3 {
    font-size: 27px;
    margin: 8px 0 10px;
  }
  .study-copy > p {
    font-size: 14px;
    line-height: 1.75;
  }
  .study-copy dl {
    margin: 14px 0;
  }
  .study-link {
    font-size: 13px;
  }
  .study-visual {
    min-height: 0;
    aspect-ratio: 1.63;
  }
  .exhibit {
    width: min(66%, 260px);
  }
  .specimen-caption {
    font-size: 10px;
    bottom: 7px;
    right: 10px;
  }
  .paper-top,
  .legal-ref {
    font-size: 9px;
    padding-block: 3px;
  }
  .legal-ref strong {
    font-size: 10px;
  }
  .law-document p {
    font-size: clamp(12px, 3.4vw, 18px);
  }
  .law-document img {
    width: 35%;
  }
  .mark-proof span,
  .mark-proof small,
  .record-caption,
  .record-id {
    font-size: 9px;
  }
  .record {
    gap: 4px;
  }
  .record strong {
    font-size: 14px;
  }
  .mark-proof b {
    font-size: 36px;
  }
  .culture-layout {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 44px;
  }
  .culture-label {
    margin-bottom: 12px;
  }
  .culture-statement h2 {
    font-size: 34px;
  }
  .culture-statement h2 br {
    display: none;
  }
  .principles div {
    gap: 8px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
    padding-block: 36px 27px;
  }
  .footer-signature {
    grid-column: 1/-1;
  }
  .footer-signature img {
    width: 156px;
  }
  .footer-main nav {
    gap: 3px;
  }
  .footer-main nav a {
    padding-block: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .exhibit,
  .study-tab::after,
  .study-link span {
    transition: none;
  }
  .exhibit {
    transform: none;
  }
}
