:root {
  --navy: #0b1b2b;
  --navy-2: #13314c;
  --orange: #e8541a;
  --orange-dark: #b93e0f;
  --orange-soft: #fbe9de;
  --cream: #f6f1e9;
  --white: #ffffff;
  --ink: #16130e;
  --muted: #5f5d57;
  --line: #d8d2ca;
  --blue: #1a5cc8;
  --green: #1f8a54;
  --display: "Gabarito", "Segoe UI", sans-serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --max: 1240px;
  --z-header: 20;
  --z-menu: 30;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--navy);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: #f8f8f6;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  font-family: var(--display);
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

::selection {
  color: var(--white);
  background: var(--orange-dark);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.wrap {
  width: min(100%, calc(var(--max) + 48px));
  margin-inline: auto;
  padding-inline: 24px;
}

.narrow {
  width: min(100%, 820px);
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 14px;
  padding: 11px 15px;
  color: var(--white);
  background: var(--navy);
  border-radius: 6px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Navigation */
header.nav {
  position: fixed;
  z-index: var(--z-header);
  top: 0;
  right: 0;
  left: 0;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(11, 27, 43, 0.12);
  transition: color 240ms ease, background 240ms ease, border-color 240ms ease;
}

.page-home header.nav:not(.is-scrolled) {
  color: var(--white);
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.page-resources header.nav:not(.is-scrolled) {
  background: var(--orange);
  border-bottom-color: rgba(11, 27, 43, 0.2);
}

.nav .row {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: baseline;
  color: inherit;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 780;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}

.brand b {
  margin-inline: 0.04em;
  color: var(--orange);
  font-size: 0.8em;
}

.page-resources header.nav:not(.is-scrolled) .brand b {
  color: var(--navy);
}

.brand span {
  margin-left: 10px;
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  opacity: 0.68;
}

.links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.links > a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 5px;
  font-family: var(--display);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.links > a:not(.btn):hover,
.links > a:not(.btn).active {
  background: rgba(232, 84, 26, 0.12);
}

.page-home header.nav:not(.is-scrolled) .links > a:not(.btn):hover,
.page-home header.nav:not(.is-scrolled) .links > a:not(.btn).active {
  background: rgba(255, 255, 255, 0.1);
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  color: var(--navy);
  background: var(--orange);
  border: 0;
  border-radius: 6px;
  font-family: var(--display);
  font-size: 0.97rem;
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms var(--ease);
}

.btn:hover {
  color: var(--navy);
  background: #f06b35;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn.ghost {
  color: var(--navy);
  background: transparent;
  box-shadow: inset 0 0 0 1px currentcolor;
}

.btn.ghost:hover {
  color: var(--white);
  background: var(--navy);
}

.page-home header.nav:not(.is-scrolled) .links > .btn {
  color: var(--navy);
  background: var(--orange);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentcolor;
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle i {
  display: block;
  width: 21px;
  height: 2px;
  background: currentcolor;
  transition: transform 180ms var(--ease);
}

.menu-toggle i + i {
  margin-top: -13px;
  transform: translateY(7px);
}

.menu-toggle[aria-expanded="true"] i:first-of-type {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i:last-of-type {
  transform: translateY(-3px) rotate(-45deg);
}

/* Scroll-driven product inspection */
.sample-scroll {
  position: relative;
  height: 520vh;
  color: var(--white);
  background: var(--navy);
}

.sample-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(circle at calc(74% + var(--pointer-x, 0px)) calc(48% + var(--pointer-y, 0px)), rgba(232, 84, 26, 0.28), transparent 28%),
    linear-gradient(116deg, #0b1b2b 0 48%, #0e2438 48% 100%);
}

.sample-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 27, 43, 0.95), rgba(11, 27, 43, 0.18) 56%, rgba(11, 27, 43, 0));
}

.sample-layout {
  position: relative;
  z-index: 2;
  display: grid;
  height: 100%;
  grid-template-columns: minmax(360px, 0.78fr) minmax(500px, 1.22fr);
  align-items: center;
  gap: clamp(34px, 5vw, 86px);
  padding-top: 92px;
  padding-bottom: 34px;
}

.sample-copy {
  position: relative;
  z-index: 4;
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-dark);
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 680;
  letter-spacing: 0.015em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentcolor;
}

.sample-copy .eyebrow {
  color: #ff8b5d;
}

.sample-copy h1 {
  max-width: 11.5ch;
  margin: 20px 0 26px;
  color: var(--white);
  font-size: clamp(3.25rem, 4.6vw, 4.75rem);
  font-weight: 760;
  letter-spacing: -0.035em;
}

.sample-copy h1 em {
  display: inline;
  color: var(--orange);
  font-style: normal;
}

.sample-copy .lead {
  max-width: 41ch;
  margin-bottom: 30px;
  color: #d5dfe8;
  font-size: clamp(1.08rem, 1.5vw, 1.26rem);
  line-height: 1.55;
}

.sample-copy .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sample-copy .btn.ghost {
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.sample-copy .btn.ghost:hover {
  color: var(--navy);
  background: var(--white);
}

.sample-copy .tagline {
  margin: 23px 0 0;
  color: #9eb0c2;
  font-family: var(--display);
  font-size: 0.94rem;
  font-weight: 650;
}

.sample-deck {
  position: absolute;
  z-index: 2;
  inset: 90px 0 0 40%;
  perspective: 1500px;
  perspective-origin: 64% 48%;
  transform-style: preserve-3d;
}

.sample-deck::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 68%;
  width: min(46vw, 650px);
  aspect-ratio: 4 / 3;
  background: var(--orange);
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
  opacity: 0.18;
  transform: translate(-50%, -44%) rotate(-4deg) translateZ(-360px);
}

.sample-card {
  position: absolute;
  top: 50%;
  left: 68%;
  width: min(45vw, 640px);
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #efeeec;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translate3d(-50%, -50%, -300px) rotateY(-35deg) scale(0.82);
  transform-origin: center;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
}

.sample-card:first-child {
  z-index: 4;
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) rotateY(0deg) scale(1);
}

.sample-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #efeeec;
  user-select: none;
}

.sample-proof {
  position: absolute;
  z-index: 7;
  right: clamp(24px, 5vw, 78px);
  bottom: clamp(80px, 10vh, 116px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 10px 13px;
  color: var(--navy);
  background: var(--white);
  border-radius: 5px;
  font-family: var(--display);
  font-size: 0.83rem;
  font-weight: 680;
}

.sample-proof span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  background: var(--orange-soft);
  border-radius: 4px;
}

.sample-ui {
  position: absolute;
  z-index: 8;
  right: clamp(24px, 5vw, 78px);
  bottom: 32px;
  left: 45%;
  display: grid;
  grid-template-columns: auto minmax(100px, 220px) auto;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.sample-live {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 650;
}

.sample-live span:last-child {
  color: #90a4b7;
}

.sample-track {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.sample-track i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--orange);
  transform: scaleX(var(--sample-progress, 0));
  transform-origin: left;
}

.sample-dots {
  display: flex;
  gap: 2px;
}

.sample-dots button {
  position: relative;
  width: 38px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.sample-dots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  background: #9aabb9;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 180ms var(--ease), background 180ms ease;
}

.sample-dots button.is-active::before {
  width: 24px;
  background: var(--orange);
  border-radius: 4px;
}

.scroll-cue {
  position: absolute;
  z-index: 9;
  bottom: 34px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #91a4b5;
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.scroll-cue::before {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--orange) 0 50%, rgba(255, 255, 255, 0.2) 50% 100%);
}

/* Proof strip */
.proof {
  position: relative;
  z-index: 2;
  color: var(--navy);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.proof .row {
  display: flex;
  min-height: 140px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.proof .lbl {
  max-width: 36ch;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
}

.proof .thumbs {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.proof figure {
  margin: 0;
  text-align: center;
}

.proof figure img,
.proof-category-mark {
  width: 68px;
  height: 68px;
  object-fit: contain;
  background: #efeeec;
  border-radius: 5px;
}

.proof figcaption {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.proof-category-mark {
  position: relative;
  display: grid;
  place-items: center;
}

.proof-category-mark.spray {
  color: var(--navy);
  background: var(--orange-soft);
}

.proof-category-mark.pad {
  color: var(--white);
  background: var(--navy);
}

.proof-category-mark svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

/* Reference-matched apparel catalog */
.catalog-showcase {
  position: relative;
  overflow: hidden;
  padding-block: clamp(84px, 10vw, 148px);
  color: var(--white);
  background: var(--navy);
}

.catalog-showcase::after {
  content: "";
  position: absolute;
  top: -18%;
  right: -12%;
  width: 46vw;
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(232, 84, 26, 0.24), transparent 67%);
}

.catalog-showcase > .wrap {
  position: relative;
  z-index: 1;
}

.catalog-intro {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(460px, 1.1fr) minmax(260px, 0.6fr);
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(38px, 5vw, 66px);
}

.catalog-kicker {
  margin: 0;
  color: #ff9a70;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 680;
}

.catalog-intro h2 {
  max-width: 11ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.6rem, 5.2vw, 5rem);
}

.catalog-intro > p:last-child {
  max-width: 38ch;
  margin: 0;
  color: #b8c7d4;
}

.catalog-runway {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.7fr);
  grid-template-rows: repeat(2, minmax(280px, 1fr));
  gap: 12px;
}

.catalog-look {
  position: relative;
  display: grid;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #e9e7e4;
}

.catalog-look-main {
  grid-row: 1 / 3;
}

.catalog-look img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  transition: transform 600ms var(--ease);
}

.catalog-look:hover img {
  transform: scale(1.018);
}

.catalog-look figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--navy);
  font-family: var(--display);
  font-size: 0.94rem;
  font-weight: 650;
}

.catalog-look figcaption span {
  color: #ff8b5d;
}

/* Full-width resource index */
section {
  padding-block: clamp(76px, 9vw, 132px);
}

.playbooks-section {
  background: #f8f8f6;
}

.playbooks-section > .wrap {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(560px, 1.28fr);
  align-items: start;
  gap: clamp(54px, 8vw, 118px);
}

.sec-head {
  position: sticky;
  top: 126px;
}

.sec-head h2 {
  margin: 19px 0 22px;
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.sec-head p {
  max-width: 40ch;
  color: var(--muted);
}

.cards {
  display: block;
  counter-reset: resource;
}

.rc {
  position: relative;
  display: grid;
  min-height: 220px;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  gap: 8px 22px;
  align-items: start;
  padding: 28px 22px 26px 0;
  overflow: hidden;
  color: var(--navy);
  background: transparent;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: color 360ms var(--ease), background 360ms var(--ease), padding 360ms var(--ease);
  animation: resource-arrive linear both;
  animation-timeline: view();
  animation-range: entry 0 cover 32%;
}

.rc:last-child {
  border-bottom: 1px solid var(--line);
}

.rc::before {
  content: counter(resource, decimal-leading-zero);
  counter-increment: resource;
  grid-row: 1 / -1;
  color: var(--orange-dark);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 720;
}

.rc::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 420ms var(--ease-in-out);
}

.rc:hover,
.rc:focus-visible {
  color: var(--white);
  padding-right: 30px;
  padding-left: 22px;
}

.rc:hover::after,
.rc:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.rc:hover::before,
.rc:focus-visible::before,
.rc:hover .kw,
.rc:focus-visible .kw,
.rc:hover .go,
.rc:focus-visible .go {
  color: #ff9a70;
}

.rc .kw {
  grid-column: 2;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.rc h3 {
  grid-column: 2;
  margin: 4px 0 8px;
  color: inherit;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.rc p {
  grid-column: 2;
  max-width: 54ch;
  margin: 0;
  color: currentcolor;
  opacity: 0.76;
}

.rc .go {
  grid-column: 2;
  align-self: end;
  margin-top: 18px;
  color: var(--orange-dark);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 720;
}

.tool-badge {
  grid-column: 3;
  grid-row: 1;
  padding: 6px 8px;
  color: var(--white);
  background: var(--navy);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.rc:hover .tool-badge,
.rc:focus-visible .tool-badge {
  color: var(--navy);
  background: var(--orange);
}

@keyframes resource-arrive {
  from { clip-path: inset(0 0 0 12%); transform: translateX(34px); filter: blur(5px); }
  to { clip-path: inset(0); transform: translateX(0); filter: blur(0); }
}

/* Orange product statement */
.band {
  position: relative;
  overflow: hidden;
  color: var(--navy);
  background: var(--orange);
}

.band::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  aspect-ratio: 1;
  border: 1px solid rgba(11, 27, 43, 0.24);
  border-radius: 50%;
}

.band .grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.83fr) minmax(520px, 1.17fr);
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
}

.band .eyebrow,
.band h2,
.band p,
.band a,
.band b {
  color: var(--navy) !important;
}

.band h2 {
  margin: 18px 0 24px !important;
  font-size: clamp(2.6rem, 4.7vw, 4.8rem);
}

.band p {
  max-width: 54ch;
  font-size: 1.14rem;
}

.mono-list {
  display: grid;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid rgba(11, 27, 43, 0.3);
}

.mono-list > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(11, 27, 43, 0.3);
  font-weight: 650;
}

.mono-list .n {
  color: var(--navy);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 760;
}

.band-media {
  position: relative;
  min-height: 620px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.band-media img {
  position: absolute;
  width: min(34vw, 470px);
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #efeeec;
  box-shadow: 0 8px 8px rgba(11, 27, 43, 0.18);
  animation: product-table linear both;
  animation-timeline: view();
  animation-range: entry 0 cover 45%;
}

.band-media img:nth-child(1) {
  z-index: 3;
  top: 8%;
  left: 4%;
  transform: rotate(-7deg) translateZ(80px);
}

.band-media img:nth-child(2) {
  z-index: 2;
  top: 37%;
  right: 2%;
  transform: rotate(6deg) translateZ(20px);
}

.band-media img:nth-child(3) {
  z-index: 1;
  right: 15%;
  bottom: 0;
  transform: rotate(-2deg) translateZ(-60px) scale(0.82);
}

@keyframes product-table {
  from { translate: 0 90px; filter: blur(8px); }
  to { translate: 0 0; filter: blur(0); }
}

/* Request form */
.formwrap {
  color: var(--white);
  background: var(--navy);
}

.formcard {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(520px, 1.28fr);
  grid-template-rows: auto auto 1fr;
  gap: 0 clamp(54px, 8vw, 116px);
  align-items: start;
}

.formcard .eyebrow {
  grid-column: 1;
  color: #ff9a70 !important;
}

.formcard h2 {
  grid-column: 1;
  margin: 17px 0 20px !important;
  color: var(--white);
  font-size: clamp(2.7rem, 4.5vw, 4.7rem);
}

.formcard .sub {
  grid-column: 1;
  max-width: 40ch;
  margin: 0;
  color: #b8c8d7;
}

.formcard form {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.formcard .fields,
.tool .fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.formcard .full {
  grid-column: 1 / -1;
}

.formcard label,
.tool label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.8rem;
  font-weight: 680;
}

.formcard label {
  color: #d7e1e9;
}

.formcard input,
.formcard select,
.formcard textarea,
.tool input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--white);
  background: #10263a;
  border: 1px solid #66819b;
  border-radius: 5px;
}

.formcard textarea {
  min-height: 116px;
  resize: vertical;
}

.formcard input::placeholder,
.formcard textarea::placeholder {
  color: #b2c1ce;
  opacity: 1;
}

.formcard input:focus,
.formcard select:focus,
.formcard textarea:focus,
.tool input:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(232, 84, 26, 0.42);
  outline-offset: 2px;
}

.formcard .btn {
  margin-top: 20px;
}

/* Resources landing */
.resource-hero {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
  color: var(--navy);
  background: var(--orange);
}

.resource-hero .wrap {
  display: grid;
  min-height: 76svh;
  grid-template-columns: minmax(330px, 0.78fr) minmax(520px, 1.22fr);
  align-items: center;
  gap: 50px;
  padding-top: 116px;
  padding-bottom: 50px;
}

.resource-hero .eyebrow {
  color: var(--navy);
}

.resource-hero h1 {
  max-width: 10ch;
  margin: 22px 0 24px;
  font-size: clamp(3.8rem, 7vw, 6rem) !important;
}

.resource-hero .lead {
  max-width: 43ch !important;
  margin: 0 !important;
  color: #3b281f;
  font-size: 1.2rem;
}

.resource-objects {
  position: relative;
  min-height: 540px;
  perspective: 1200px;
  transform: rotateX(var(--object-rx, 0deg)) rotateY(var(--object-ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 240ms var(--ease);
}

.resource-object {
  position: absolute;
  width: min(34vw, 450px);
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #efeeec;
  box-shadow: 0 8px 8px rgba(11, 27, 43, 0.2);
}

.resource-object:nth-child(1) {
  z-index: 3;
  top: 2%;
  right: 4%;
  transform: translateZ(120px) rotate(4deg);
}

.resource-object:nth-child(2) {
  z-index: 2;
  bottom: 0;
  left: 0;
  transform: translateZ(20px) rotate(-7deg) scale(0.88);
}

.resource-object:nth-child(3) {
  z-index: 1;
  right: -4%;
  bottom: -8%;
  transform: translateZ(-80px) rotate(9deg) scale(0.68);
}

.resource-list-section {
  padding-top: clamp(68px, 8vw, 112px) !important;
  background: #f8f8f6;
}

.resources-product-strip {
  display: none;
}

.page-resources .cards {
  width: min(100%, 980px);
  margin-inline: auto;
}

.page-resources .rc {
  min-height: 250px;
}

/* Long-form guides */
.page-guide,
.page-thanks {
  background: #f8f8f6;
}

.arthead {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.arthead::after {
  content: "";
  position: absolute;
  top: 0;
  right: 8vw;
  width: clamp(140px, 18vw, 300px);
  height: 100%;
  background: var(--orange);
  clip-path: polygon(35% 0, 100% 0, 65% 100%, 0 100%);
  opacity: 0.92;
}

.arthead .wrap {
  position: relative;
  z-index: 2;
  padding-top: clamp(142px, 17vw, 210px);
  padding-bottom: clamp(74px, 9vw, 112px);
}

.arthead .wrap > div {
  max-width: 880px !important;
  margin: 0 !important;
}

.arthead .back {
  color: #c7d4df;
}

.arthead .kw {
  color: #ff9a70;
  font-size: 0.8rem;
  font-weight: 720;
  letter-spacing: 0.035em;
}

.arthead h1 {
  max-width: 13ch;
  margin: 18px 0 0;
  color: var(--white);
  font-size: clamp(3.3rem, 7vw, 6rem);
}

.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 680;
}

.article {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 108px) 0;
}

.article > .sub {
  max-width: 65ch;
  color: #373630 !important;
  font-size: clamp(1.2rem, 2vw, 1.42rem) !important;
  line-height: 1.55;
}

.article h2 {
  margin: clamp(50px, 7vw, 76px) 0 16px;
  font-size: clamp(2rem, 3.7vw, 3.2rem);
}

.article h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.article p,
.article li {
  max-width: 72ch;
}

.article p {
  margin-bottom: 20px;
}

.callout,
.dmnote,
.codebox {
  margin: 28px 0;
  padding: 22px 24px;
  color: var(--navy);
  background: var(--orange-soft);
  border: 1px solid #efc3ab;
  border-radius: 6px;
}

.dmnote {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check {
  display: grid;
  gap: 0;
  margin: 26px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.check li {
  position: relative;
  padding: 16px 8px 16px 42px;
  border-bottom: 1px solid var(--line);
}

.check li::before {
  content: "✓";
  position: absolute;
  top: 16px;
  left: 8px;
  color: var(--orange-dark);
  font-family: var(--display);
  font-weight: 800;
}

.step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  margin: 28px 0;
}

.step .num {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy);
  background: var(--orange);
  border-radius: 5px;
  font-family: var(--display);
  font-weight: 760;
}

.step h3 {
  margin-bottom: 8px;
}

.tool {
  margin: 34px 0;
  padding: clamp(24px, 4vw, 38px);
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

.tool h3 {
  margin-bottom: 24px;
  color: var(--white);
}

.tool label {
  color: #c9d6e1;
}

.tool input {
  color: var(--navy);
  background: var(--white);
  border-color: #9cacbb;
}

.tool .muted {
  color: #b7c6d3 !important;
}

.result {
  margin-top: 24px;
  padding: 22px;
  color: var(--navy);
  background: var(--orange);
  border-radius: 6px;
}

.result .big {
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 760;
}

.result .row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-top: 1px solid rgba(11, 27, 43, 0.26);
}

.result .hi {
  font-weight: 760;
}

.table-scroll {
  width: 100%;
  margin: 28px 0;
  overflow-x: auto;
  border-radius: 6px;
}

table.t {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  background: var(--white);
}

.t th,
.t td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  text-align: left;
}

.t th {
  color: var(--white);
  background: var(--navy);
  font-family: var(--display);
}

.page-thanks .hero {
  min-height: 76svh;
  display: grid;
  place-items: center;
  padding: 130px 0 70px;
  color: var(--navy);
  background: var(--orange);
}

.page-thanks .hero h1 {
  margin: 20px 0;
  font-size: clamp(4rem, 10vw, 6rem) !important;
}

.page-thanks .hero .lead {
  color: #3b281f;
  font-size: 1.22rem;
}

.page-thanks .hero .btn {
  color: var(--white);
  background: var(--navy);
}

/* Footer */
.ft {
  padding: 66px 0 34px;
  color: #b8c8d7;
  background: #07131f;
}

.ft .cols {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) 1fr 0.8fr;
  gap: 54px;
  align-items: start;
}

.ft .logo {
  display: none;
}

.ft .cols > div:first-child::before {
  content: "okiee.supply";
  display: block;
  margin-bottom: 14px;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.ft p {
  margin-bottom: 0;
}

.ft a {
  color: #d9e2ea;
}

.ft h4 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.fnav a {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  text-decoration: none;
}

.fnav a:hover {
  color: #ff9a70;
}

.fine {
  margin-top: 48px !important;
  padding-top: 24px;
  color: #8096a9;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
}

/* Catalog-led product display system */
.sample-card {
  aspect-ratio: 1;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  --sample-fill: #fbe9de;
}

.sample-card::before {
  content: "";
  position: absolute;
  inset: 5%;
  background: var(--sample-fill);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transform: rotate(-7deg) scale(0.9);
}

.sample-card.sample-toys { --sample-fill: #dce9f3; }
.sample-card.sample-feeding { --sample-fill: #f6f1e9; }
.sample-card.sample-beds { --sample-fill: #e7dcc8; }
.sample-card.sample-care { --sample-fill: #d9e8f3; }

.sample-card img {
  position: relative;
  z-index: 1;
  background: transparent;
  filter: drop-shadow(0 14px 10px rgba(0, 0, 0, 0.22));
}

.proof figure img {
  background: #dce9f3;
}

.resource-object,
.band-media img {
  aspect-ratio: 1;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 18px 10px rgba(11, 27, 43, 0.2));
}

.catalog-showcase {
  padding: 0;
  background: var(--navy);
}

.catalog-showcase::after {
  display: none;
}

.catalog-banner-home {
  position: relative;
  min-height: clamp(620px, 66vw, 900px);
  overflow: hidden;
}

.catalog-banner-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 27, 43, 0.9) 0, rgba(11, 27, 43, 0.56) 38%, rgba(11, 27, 43, 0.08) 72%);
}

.catalog-banner-home > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.catalog-banner-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.catalog-banner-copy > p {
  margin-bottom: 16px;
  color: #ff9a70;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 720;
}

.catalog-banner-copy h2 {
  max-width: 11ch;
  margin: 0 0 28px;
  color: var(--white);
  font-size: clamp(3rem, 5.5vw, 5.7rem);
}

.catalog-product-ribbon {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: -112px;
  padding-bottom: clamp(70px, 8vw, 110px);
}

.catalog-product-ribbon img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fbe9de;
  filter: drop-shadow(0 12px 9px rgba(0, 0, 0, 0.22));
  transition: transform 320ms var(--ease);
}

.catalog-product-ribbon img:nth-child(even) {
  background: #dce9f3;
}

.catalog-product-ribbon img:hover {
  transform: translateY(-10px);
}

.box-guide {
  position: fixed;
  z-index: 16;
  bottom: 18px;
  right: 18px;
  left: auto;
  display: grid;
  width: 92px;
  min-height: 92px;
  place-items: center;
  color: var(--navy);
  text-decoration: none;
  transition: transform 240ms var(--ease);
}

.box-guide img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 3px rgba(11, 27, 43, 0.24));
}

.box-guide span {
  position: absolute;
  bottom: 72%;
  left: 78%;
  width: max-content;
  padding: 7px 10px;
  color: var(--navy);
  background: var(--white);
  border-radius: 5px;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 720;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity 180ms ease, transform 220ms var(--ease);
}

.box-guide:hover,
.box-guide:focus-visible {
  transform: translateY(-7px) rotate(-2deg);
}

.box-guide:hover span,
.box-guide:focus-visible span {
  opacity: 1;
  transform: translate(0, 0);
}

/* Complete catalog page */
.page-catalog {
  background: var(--white);
}

.catalog-page-hero {
  position: relative;
  min-height: min(86svh, 860px);
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  padding-block: 0;
}

.catalog-page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.catalog-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 27, 43, 0.95), rgba(11, 27, 43, 0.52) 42%, rgba(11, 27, 43, 0.06) 72%);
}

.catalog-page-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: min(86svh, 860px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 110px;
  padding-bottom: 60px;
}

.catalog-page-hero-copy > p {
  margin-bottom: 18px;
  color: #ff9a70;
  font-family: var(--display);
  font-weight: 720;
}

.catalog-page-hero h1 {
  max-width: 11ch;
  margin: 0 0 32px;
  color: var(--white);
  font-size: clamp(3.3rem, 6.4vw, 6rem);
}

.catalog-page-hero-copy > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.catalog-page-hero-copy strong {
  color: var(--orange);
  font-family: var(--display);
  font-size: 3.4rem;
  line-height: 1;
}

.catalog-page-hero-copy span {
  max-width: 12ch;
  color: #d7e1e9;
  line-height: 1.2;
}

.catalog-jump {
  position: sticky;
  z-index: 12;
  top: 78px;
  overflow-x: auto;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(11, 27, 43, 0.14);
  backdrop-filter: blur(12px);
}

.catalog-jump .wrap {
  display: flex;
  width: max-content;
  min-width: min(100%, calc(var(--max) + 48px));
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding-block: 9px;
}

.catalog-jump a {
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 4px;
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 680;
  text-decoration: none;
  white-space: nowrap;
}

.catalog-jump a:hover,
.catalog-jump a.is-current {
  color: var(--white);
  background: var(--navy);
}

.collection-section {
  scroll-margin-top: 136px;
  --collection-bg: #fbe9de;
  --collection-ink: var(--navy);
  color: var(--collection-ink);
  background: var(--collection-bg);
  padding-block: 0;
}

.collection-blue { --collection-bg: #dce9f3; }
.collection-cream { --collection-bg: #f6f1e9; }
.collection-pink { --collection-bg: #f8d9d8; }
.collection-care { --collection-bg: #e4eef5; }
.collection-navy { --collection-bg: #10263a; --collection-ink: var(--white); }

.collection-banner {
  position: relative;
  min-height: clamp(520px, 59vw, 760px);
  overflow: hidden;
  background: var(--navy);
}

.collection-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.collection-banner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 27, 43, 0.84), rgba(11, 27, 43, 0.02) 62%);
}

.collection-banner-copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding-bottom: clamp(40px, 6vw, 76px);
}

.collection-banner-copy h2 {
  max-width: 12ch;
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.collection-banner-copy p {
  max-width: 52ch;
  margin: 0;
  color: #e6edf3;
  font-size: 1.1rem;
}

.collection-products {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  padding-top: clamp(58px, 7vw, 96px);
  padding-bottom: clamp(82px, 10vw, 140px);
}

.collection-count {
  position: sticky;
  top: 164px;
  display: flex;
  height: max-content;
  flex-direction: column;
}

.collection-count strong {
  color: currentcolor;
  font-family: var(--display);
  font-size: clamp(3.4rem, 6vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.collection-count span {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 680;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px clamp(10px, 1.4vw, 18px);
}

.product-tile {
  min-width: 0;
  padding: 0;
  color: currentcolor;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: zoom-in;
}

.product-canvas {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.32);
}

.collection-navy .product-canvas {
  background: rgba(255, 255, 255, 0.08);
}

.product-canvas::after {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(11, 27, 43, 0.14);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 240ms ease, transform 360ms var(--ease);
}

.collection-navy .product-canvas::after {
  border-color: rgba(255, 255, 255, 0.2);
}

.product-canvas img {
  position: relative;
  z-index: 1;
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 11px 8px rgba(11, 27, 43, 0.16));
  transition: transform 430ms var(--ease);
}

.product-title {
  display: block;
  min-height: 2.8em;
  padding: 13px 2px 0;
  font-family: var(--display);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.24;
}

.product-open {
  display: block;
  padding: 3px 2px 14px;
  font-size: 0.74rem;
  font-weight: 650;
  opacity: 0.62;
}

.product-tile:hover .product-canvas img,
.product-tile:focus-visible .product-canvas img {
  transform: translateY(-8px) scale(1.045) rotate(-1deg);
}

.product-tile:hover .product-canvas::after,
.product-tile:focus-visible .product-canvas::after {
  opacity: 1;
  transform: scale(1);
}

.reference-section {
  color: var(--white);
  background: var(--navy);
}

.reference-section .wrap {
  padding-top: clamp(80px, 9vw, 132px);
  padding-bottom: clamp(80px, 9vw, 132px);
}

.reference-intro {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(360px, 1.2fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 44px;
}

.reference-intro h2 {
  max-width: 10ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 5vw, 5rem);
}

.reference-intro p {
  max-width: 50ch;
  margin: 0;
  color: #b8c8d7;
}

.reference-details {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.reference-details details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.reference-details summary {
  min-height: 64px;
  padding: 18px 0;
  color: var(--white);
  font-family: var(--display);
  font-weight: 680;
  cursor: pointer;
}

.reference-details img {
  width: min(100%, 960px);
  max-height: 80vh;
  margin: 0 auto 34px;
  object-fit: contain;
}

.product-dialog {
  width: min(1040px, calc(100vw - 36px));
  max-height: calc(100svh - 36px);
  padding: 0;
  overflow: auto;
  color: var(--navy);
  background: var(--white);
  border: 0;
  border-radius: 8px;
}

.product-dialog::backdrop {
  background: rgba(11, 27, 43, 0.82);
  backdrop-filter: blur(5px);
}

.product-dialog-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  min-width: 68px;
  min-height: 44px;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

.product-dialog-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(320px, 0.95fr);
  min-height: 650px;
}

.product-dialog-stage {
  display: grid;
  place-items: center;
  background: #dce9f3;
}

.product-dialog-stage img {
  width: 92%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 16px 10px rgba(11, 27, 43, 0.18));
}

.product-dialog-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 72px clamp(34px, 5vw, 64px);
}

.product-dialog-copy > p:first-child {
  color: var(--orange-dark);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 720;
}

.product-dialog-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.product-dialog-copy .btn {
  margin-top: 18px;
}

@media (max-width: 1050px) {
  .sample-layout {
    grid-template-columns: minmax(330px, 0.9fr) minmax(430px, 1.1fr);
    gap: 18px;
  }

  .sample-copy h1 {
    font-size: clamp(3.05rem, 5.2vw, 4.25rem);
  }

  .sample-card {
    width: min(49vw, 580px);
  }

  .playbooks-section > .wrap,
  .band .grid,
  .formcard,
  .resource-hero .wrap {
    grid-template-columns: minmax(280px, 0.8fr) minmax(460px, 1.2fr);
    gap: 48px;
  }

  .band-media {
    min-height: 540px;
  }

  .catalog-intro {
    grid-template-columns: 0.5fr 1fr;
  }

  .catalog-intro > p:last-child {
    grid-column: 2;
  }
}

@media (max-width: 860px) {
  .sample-scroll {
    height: auto;
  }

  .sample-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
    background: var(--navy);
  }

  .sample-sticky::before {
    display: none;
  }

  .sample-layout {
    display: block;
    padding-top: 130px;
    padding-bottom: 54px;
  }

  .sample-copy {
    max-width: 680px;
  }

  .sample-deck {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 52px;
    perspective: none;
  }

  .sample-deck::before {
    display: none;
  }

  .sample-card,
  .sample-card:first-child {
    position: relative;
    top: auto;
    left: auto;
    z-index: auto !important;
    width: 100%;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .sample-proof {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 12px 0 0;
  }

  .sample-ui,
  .scroll-cue {
    display: none;
  }

  .playbooks-section > .wrap,
  .band .grid,
  .formcard,
  .resource-hero .wrap {
    grid-template-columns: 1fr;
  }

  .sec-head {
    position: relative;
    top: auto;
    max-width: 620px;
  }

  .catalog-intro {
    display: block;
  }

  .catalog-intro h2 {
    margin: 14px 0 22px;
  }

  .catalog-runway {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .catalog-look,
  .catalog-look-main {
    grid-row: auto;
    aspect-ratio: 3 / 2;
  }

  .catalog-look-main {
    grid-column: 1 / -1;
  }

  .band-media {
    min-height: 620px;
  }

.band-media img {
  height: auto;
    width: min(60vw, 500px);
  }

  .formcard form {
    grid-column: 1;
    grid-row: auto;
    margin-top: 40px;
  }

  .resource-hero .wrap {
    padding-top: 130px;
  }

  .resource-hero-copy {
    max-width: 690px;
  }

  .resource-objects {
    min-height: 570px;
  }

  .resource-object {
    width: min(62vw, 500px);
  }

  .ft .cols {
    grid-template-columns: 1fr 1fr;
  }

  .ft .cols > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .wrap {
    padding-inline: 18px;
  }

  .nav .row {
    min-height: 70px;
  }

  .brand span {
    display: none;
  }

  .js .menu-toggle {
    display: grid;
  }

  .js .links {
    position: fixed;
    z-index: var(--z-menu);
    top: 78px;
    right: 12px;
    left: 12px;
    display: grid;
    gap: 3px;
    padding: 10px;
    visibility: hidden;
    color: var(--navy);
    background: var(--white);
    box-shadow: 0 8px 8px rgba(11, 27, 43, 0.14);
    opacity: 0;
    transform: translateY(-10px);
    transition: visibility 180ms, opacity 180ms var(--ease), transform 180ms var(--ease);
  }

  .js .links.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .js .links > a {
    width: 100%;
    min-height: 48px;
  }

  .js .links > a.active:not(.btn) {
    color: var(--white);
    background: var(--navy);
  }

  html:not(.js) .links a:not(.btn) {
    display: none;
  }

  .sample-layout {
    padding-top: 116px;
  }

  .sample-copy h1 {
    font-size: clamp(3rem, 13.5vw, 4.2rem);
  }

  .sample-copy .lead {
    font-size: 1.07rem;
  }

  .proof .row {
    min-height: 0;
    flex-direction: column;
    padding-block: 34px;
    text-align: center;
  }

  .rc {
    min-height: 0;
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 24px 0;
  }

  .rc h3,
  .rc p,
  .rc .go,
  .rc .kw {
    grid-column: 2;
  }

  .tool-badge {
    display: none;
  }

  .rc:hover,
  .rc:focus-visible {
    padding-right: 14px;
    padding-left: 14px;
  }

  .band-media {
    min-height: 520px;
  }

  .band-media img {
    width: min(76vw, 420px);
  }

  .formcard .fields,
  .tool .fields {
    grid-template-columns: 1fr;
  }

  .formcard .full {
    grid-column: 1;
  }

  .resource-hero h1 {
    font-size: clamp(3.1rem, 13vw, 4.4rem) !important;
    overflow-wrap: break-word;
  }

  .resource-objects {
    min-height: 470px;
  }

  .resource-object {
    width: min(78vw, 430px);
  }

  .arthead::after {
    right: -80px;
    opacity: 0.45;
  }

  .article {
    padding-inline: 18px;
  }

  .result .row {
    align-items: flex-start;
  }

  .ft .cols {
    grid-template-columns: 1fr;
  }

  .ft .cols > div:first-child {
    grid-column: 1;
  }
}

@media (max-width: 520px) {
  .sample-deck {
    grid-template-columns: 1fr;
  }

  .catalog-runway {
    grid-template-columns: 1fr;
  }

  .catalog-look-main {
    grid-column: auto;
  }

  .sample-copy .cta-row .btn {
    width: 100%;
  }

  .proof .thumbs {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }

  .proof figure img,
  .proof-category-mark {
    width: 58px;
    height: 58px;
  }

  .band-media {
    min-height: 430px;
  }

  .band-media img {
    width: 82vw;
  }

  .resource-objects {
    min-height: 390px;
  }

  .resource-object {
    width: 82vw;
  }

  .article h2 {
    font-size: 2rem;
  }
}

@media (max-width: 1050px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .collection-products {
    grid-template-columns: 112px minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .catalog-banner-home,
  .collection-banner {
    min-height: 620px;
  }

  .catalog-banner-home > img,
  .catalog-page-hero > img {
    object-position: 62% center;
  }

  .catalog-product-ribbon {
    display: flex;
    margin-top: -70px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .catalog-product-ribbon img {
    width: min(42vw, 290px);
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .collection-products {
    grid-template-columns: 1fr;
  }

  .collection-count {
    position: static;
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
  }

  .reference-intro,
  .product-dialog-layout {
    grid-template-columns: 1fr;
  }

  .product-dialog-stage {
    min-height: 460px;
  }

  .product-dialog-copy {
    padding-top: 44px;
  }
}

@media (max-width: 760px) {
  .box-guide {
    display: none;
  }

  .box-guide span {
    display: none;
  }

  .catalog-page-hero,
  .catalog-page-hero-copy {
    min-height: 760px;
  }

  .catalog-page-hero-copy {
    justify-content: flex-end;
    padding-bottom: 62px;
  }

  .catalog-page-hero h1 {
    font-size: clamp(3rem, 13vw, 4.6rem);
  }

  .catalog-jump {
    top: 70px;
  }

  .catalog-jump .wrap {
    justify-content: flex-start;
    padding-inline: 10px;
  }

  .collection-section {
    scroll-margin-top: 124px;
  }

  .collection-banner,
  .catalog-banner-home {
    min-height: 560px;
  }

  .collection-banner-copy h2,
  .catalog-banner-copy h2 {
    font-size: clamp(2.8rem, 12vw, 4.4rem);
  }

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

  .product-title {
    min-height: 3.2em;
    font-size: 0.88rem;
  }

  .product-dialog-stage {
    min-height: 360px;
  }
}

@media (max-width: 460px) {
  .catalog-banner-home > img,
  .catalog-page-hero > img {
    object-position: 69% center;
  }

  .catalog-product-ribbon img {
    width: 58vw;
  }

  .collection-banner {
    min-height: 510px;
  }

  .collection-banner > img {
    object-position: center;
  }

  .collection-products {
    gap: 22px;
  }

  .product-grid {
    gap: 8px;
  }

  .product-open {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .sample-scroll {
    height: auto;
  }

  .sample-sticky {
    position: relative;
    height: auto;
  }

  .sample-card,
  .band-media img {
    filter: none !important;
  }
}

/* --- PDF download button + on-page math boxes (added) --- */
.pdf-btn{display:inline-flex;align-items:center;gap:9px;margin-top:18px;background:var(--navy);color:#fff;
  font-family:var(--body);font-weight:700;font-size:15px;padding:12px 20px;border-radius:12px;text-decoration:none;
  transition:transform .2s var(--ease),background .2s var(--ease)}
.pdf-btn:hover{background:var(--navy-2);transform:translateY(-2px)}
.pdf-btn svg{width:18px;height:18px;flex:none}
.pdf-btn .sz{font-weight:500;opacity:.7;font-size:13px}
.mathbox{border:1.5px solid var(--line);border-radius:16px;padding:22px 24px;margin:26px 0;background:#fff}
.mathbox .mtitle{font-family:var(--body);font-weight:800;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--orange);margin:0 0 14px}
.mathbox .formula{font-family:"Consolas","SF Mono",monospace;font-size:15px;line-height:1.85;background:var(--cream);
  border-radius:10px;padding:16px 18px;color:var(--ink);overflow-x:auto}
.mathbox table.mt{width:100%;border-collapse:collapse;margin-top:16px;font-size:15px}
.mathbox table.mt td{padding:9px 4px;border-bottom:1px solid var(--line)}
.mathbox table.mt td:last-child{text-align:right;font-weight:700;font-family:"Consolas",monospace;white-space:nowrap}
.mathbox table.mt tr:last-child td{border-bottom:none}
.mathbox .mfoot{font-size:14.5px;color:var(--muted);margin:14px 0 0;line-height:1.55}
@media(max-width:600px){.mathbox{padding:18px 16px}.mathbox .formula{font-size:13px}}
