/*
 * Final compact multi-page overrides.
 * Kept separate so older page experiments cannot enlarge the current layouts.
 */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  min-height: 480px;
  padding: 0;
  border-bottom: 1px solid var(--black);
}

.page-hero h1,
.page-hero .page-title {
  max-width: none;
  margin: 38px 0 30px;
  font-size: clamp(64px, 7.5vw, 120px);
  font-weight: 650;
  line-height: 0.88;
  letter-spacing: -0.01em;
}

@media (max-width: 900px) {
  .site-nav {
    height: 100dvh;
    min-height: 100vh;
    justify-content: flex-start;
    overflow-y: auto;
    padding-top: 108px;
  }

  .page-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .home-hero-content {
    min-height: 440px;
  }

  .home-hero-media {
    height: 260px;
  }

  .page-hero-copy {
    padding: 42px var(--page-pad);
  }

  .page-hero-media {
    height: 240px;
  }

  .page-hero h1,
  .page-hero .page-title {
    font-size: clamp(56px, 17vw, 84px);
  }
}

/* Royal-blue editorial system */
.blue-text {
  color: var(--blue);
}

.page-hero-copy {
  position: relative;
}

.page-hero-copy::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(34px, 4vw, 64px);
  height: 9px;
  background: var(--blue);
  content: "";
}

.section-number,
.catalog-code,
.product-kicker {
  color: var(--blue);
}

.home-enquiry {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  background: var(--white);
  border-top: 1px solid var(--black);
}

.home-enquiry-copy {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(44px, 6vw, 86px) var(--page-pad);
  color: var(--white);
  background: var(--blue);
}

.home-enquiry-copy .eyebrow {
  color: var(--white);
}

.home-enquiry-copy h2 {
  max-width: 660px;
  margin: 28px 0;
  font-size: clamp(54px, 6vw, 92px);
  font-weight: 650;
  line-height: 0.88;
  text-transform: uppercase;
}

.home-enquiry-copy p:last-child {
  max-width: 500px;
  margin: 0;
  font-size: 20px;
}

.home-enquiry-form {
  padding: clamp(44px, 6vw, 86px) var(--page-pad);
}

.home-enquiry-form > .eyebrow {
  margin-bottom: 28px;
}

.catalog-intro {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.catalog-intro .section-title {
  max-width: 1000px;
  margin: 0;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.catalog-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--paper);
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  transition:
    color 260ms var(--ease),
    background 260ms var(--ease);
}

.catalog-card:hover,
.catalog-card:focus-visible {
  color: var(--white);
  background: var(--blue);
}

.catalog-card:focus-visible {
  z-index: 1;
  outline-offset: -4px;
}

.catalog-visual {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 0.82;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid currentColor;
}

.catalog-code {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.catalog-card:hover .catalog-code,
.catalog-card:focus-visible .catalog-code {
  color: var(--white);
}

.garment-shape {
  position: relative;
  width: 42%;
  height: 54%;
  background: var(--black);
  clip-path: polygon(20% 0, 35% 9%, 65% 9%, 80% 0, 100% 25%, 84% 38%, 77% 29%, 77% 100%, 23% 100%, 23% 29%, 16% 38%, 0 25%);
  transition:
    background 260ms var(--ease),
    transform 420ms var(--ease);
}

.catalog-card:hover .garment-shape,
.catalog-card:focus-visible .garment-shape {
  background: var(--white);
  transform: scale(1.08) rotate(-2deg);
}

.garment-shape.hoodie::before {
  position: absolute;
  top: -6%;
  left: 34%;
  width: 32%;
  height: 27%;
  background: var(--paper);
  border-radius: 50% 50% 35% 35%;
  content: "";
}

.catalog-card:hover .garment-shape.hoodie::before,
.catalog-card:focus-visible .garment-shape.hoodie::before {
  background: var(--blue);
}

.garment-shape.trouser {
  width: 34%;
  height: 60%;
  clip-path: polygon(4% 0, 96% 0, 86% 100%, 56% 100%, 50% 35%, 44% 100%, 14% 100%);
}

.garment-shape.shorts {
  width: 38%;
  height: 42%;
  clip-path: polygon(3% 0, 97% 0, 88% 100%, 57% 100%, 50% 52%, 43% 100%, 12% 100%);
}

.garment-shape.jacket {
  width: 46%;
  height: 56%;
  clip-path: polygon(20% 0, 42% 8%, 50% 20%, 58% 8%, 80% 0, 100% 26%, 83% 38%, 76% 29%, 76% 100%, 51% 100%, 50% 25%, 49% 100%, 24% 100%, 24% 29%, 17% 38%, 0 26%);
}

.garment-shape.polo::after {
  position: absolute;
  top: 0;
  left: 42%;
  width: 16%;
  height: 25%;
  background: var(--paper);
  content: "";
  clip-path: polygon(0 0, 100% 0, 65% 100%, 50% 45%, 35% 100%);
}

.catalog-card:hover .garment-shape.polo::after,
.catalog-card:focus-visible .garment-shape.polo::after {
  background: var(--blue);
}

.catalog-meta {
  display: grid;
  min-height: 144px;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 22px 20px 20px;
}

.catalog-meta h2 {
  margin: 0 0 8px;
  font-size: clamp(29px, 2.3vw, 40px);
  font-weight: 650;
  line-height: 0.95;
  text-transform: uppercase;
}

.catalog-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.catalog-card:hover .catalog-meta p,
.catalog-card:focus-visible .catalog-meta p {
  color: rgba(255, 255, 255, 0.78);
}

.catalog-arrow {
  font-size: 28px;
  line-height: 1;
}

.catalog-note {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
  padding-top: clamp(52px, 7vw, 92px);
}

.catalog-note .lead {
  margin: 0;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  min-height: calc(100vh - var(--header-height));
  border-bottom: 1px solid var(--black);
}

.product-stage {
  position: sticky;
  top: var(--header-height);
  display: flex;
  height: calc(100vh - var(--header-height));
  min-height: 630px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(38px, 5vw, 70px) var(--page-pad);
  color: var(--white);
  background: var(--blue);
}

.product-stage .back-link {
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-stage h1 {
  max-width: 760px;
  margin: 24px 0;
  font-size: clamp(66px, 8.2vw, 132px);
  font-weight: 650;
  line-height: 0.82;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.product-stage .product-kicker {
  color: var(--white);
}

.product-stage .garment-shape {
  position: absolute;
  right: -8%;
  bottom: -8%;
  width: 44%;
  height: 42%;
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(8deg);
}

.product-stage-note {
  position: relative;
  z-index: 1;
  max-width: 470px;
  margin: 0;
  font-size: 20px;
}

.product-order {
  padding: clamp(50px, 7vw, 96px) var(--page-pad);
}

.product-order-head {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) 1fr;
  gap: 34px;
  margin-bottom: 42px;
}

.product-order h2 {
  max-width: 680px;
  margin: 0 0 18px;
  font-size: clamp(50px, 5.5vw, 82px);
  font-weight: 650;
  line-height: 0.9;
  text-transform: uppercase;
}

.product-order-head p {
  max-width: 630px;
  margin: 0;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 0 54px;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.product-specs div {
  padding: 16px 18px 14px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.product-specs dt {
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.product-specs dd {
  margin: 8px 0 0;
  font-size: 18px;
}

.instagram-link {
  color: #85a0ff;
}

.instagram-link:hover,
.instagram-link:focus-visible {
  color: var(--white);
}

.direct-contact .instagram-link {
  color: var(--blue);
}

@media (max-width: 1100px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail-layout {
    grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  }
}

@media (max-width: 760px) {
  .home-enquiry,
  .catalog-intro,
  .catalog-note,
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .home-enquiry-copy {
    min-height: 400px;
  }

  .product-stage {
    position: relative;
    top: auto;
    height: auto;
    min-height: 500px;
  }

  .product-order-head {
    grid-template-columns: 1fr;
  }
}

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

  .catalog-meta {
    min-height: 120px;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }

  .product-stage h1 {
    font-size: clamp(60px, 20vw, 92px);
  }
}

/* Responsive navigation repair */
.menu-icon {
  position: relative;
  width: 25px;
  height: 14px;
  background: transparent;
  box-shadow: none;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  right: 0;
  width: 25px;
  height: 1px;
  background: currentColor;
  content: "";
  transition:
    top 220ms var(--ease),
    transform 260ms var(--ease);
}

.menu-icon::before {
  top: 2px;
}

.menu-icon::after {
  top: 11px;
}

@media (max-width: 900px) {
  .site-header {
    z-index: 70;
    isolation: isolate;
  }

  .header-inner {
    position: relative;
    z-index: 1;
  }

  .brand,
  .menu-toggle {
    position: relative;
    z-index: 102;
  }

  .menu-toggle {
    min-width: 82px;
    gap: 10px;
  }

  .site-nav {
    z-index: 100;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    min-height: 100vh;
    gap: 0;
    justify-content: flex-start;
    padding: 102px var(--page-pad) 30px;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--black);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -102%, 0);
    transition:
      transform 520ms var(--ease),
      opacity 280ms ease,
      visibility 0s linear 520ms;
  }

  .site-nav::before {
    position: fixed;
    z-index: -1;
    inset: 0 auto 0 0;
    width: 8px;
    background: var(--blue);
    content: "";
  }

  .site-nav > a:not(.button) {
    display: flex;
    min-height: 66px;
    align-items: center;
    padding: 5px 0 2px;
    border-bottom: 1px solid #3b3b3b;
    font-size: clamp(43px, 10vw, 68px);
    opacity: 0;
    transform: translateY(24px);
    transition:
      color 180ms ease,
      border-color 180ms ease,
      opacity 360ms var(--ease),
      transform 480ms var(--ease);
  }

  .site-nav > a:not(.button)::after {
    right: auto;
    bottom: -1px;
    width: 72px;
  }

  .site-nav .button {
    min-height: 56px;
    margin-top: 24px;
    opacity: 0;
    transform: translateY(24px);
    transition:
      color 200ms ease,
      background 200ms ease,
      border-color 200ms ease,
      opacity 360ms var(--ease),
      transform 480ms var(--ease);
  }

  .menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition:
      transform 520ms var(--ease),
      opacity 280ms ease,
      visibility 0s;
  }

  .menu-open .site-nav > a,
  .menu-open .site-nav .button {
    opacity: 1;
    transform: translateY(0);
  }

  .menu-open .site-nav > a:nth-child(1) { transition-delay: 110ms; }
  .menu-open .site-nav > a:nth-child(2) { transition-delay: 155ms; }
  .menu-open .site-nav > a:nth-child(3) { transition-delay: 200ms; }
  .menu-open .site-nav > a:nth-child(4) { transition-delay: 245ms; }
  .menu-open .site-nav > a:nth-child(5) { transition-delay: 290ms; }

  .menu-open .menu-icon {
    transform: none;
  }

  .menu-open .menu-icon::before,
  .menu-open .menu-icon::after {
    top: 6px;
  }

  .menu-open .menu-icon::before {
    transform: rotate(45deg);
  }

  .menu-open .menu-icon::after {
    transform: rotate(-45deg);
  }
}

/* Orchestrated motion */
@keyframes header-arrive {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-line-arrive {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes image-settle {
  from { opacity: 0; transform: scale(1.09); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes blue-wipe {
  0% { transform: scaleX(1); transform-origin: left; }
  55% { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

@keyframes whatsapp-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(65, 105, 225, 0); }
  50% { box-shadow: 0 0 0 8px rgba(65, 105, 225, 0.22); }
}

.site-header {
  animation: header-arrive 620ms var(--ease) backwards;
}

.home-hero-top,
.home-hero .display,
.home-hero-bottom {
  opacity: 0;
  animation: hero-line-arrive 720ms var(--ease) both;
}

.home-hero-top { animation-delay: 120ms; }
.home-hero .display { animation-delay: 210ms; }
.home-hero-bottom { animation-delay: 320ms; }

.home-hero-media,
.page-hero-media,
.split-media {
  position: relative;
  overflow: hidden;
}

.home-hero-media img,
.page-hero-media img {
  animation: image-settle 1100ms var(--ease) 160ms both;
}

.home-hero-media::after,
.page-hero-media::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: var(--blue);
  content: "";
  pointer-events: none;
  animation: blue-wipe 980ms var(--ease) 130ms both;
}

.page-hero-copy > * {
  opacity: 0;
  animation: hero-line-arrive 720ms var(--ease) both;
}

.page-hero-copy > *:nth-child(1) { animation-delay: 110ms; }
.page-hero-copy > *:nth-child(2) { animation-delay: 190ms; }
.page-hero-copy > *:nth-child(3) { animation-delay: 280ms; }

.reveal {
  filter: blur(3px);
  transform: translateY(28px);
  transition:
    opacity 720ms var(--ease),
    transform 720ms var(--ease),
    filter 600ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  filter: blur(0);
  transform: translateY(0);
}

.catalog-card {
  min-height: 0;
  justify-content: flex-start;
  padding: 0;
}

.button span,
.catalog-arrow {
  display: inline-block;
  transition: transform 240ms var(--ease);
}

.button:hover span,
.button:focus-visible span,
.catalog-card:hover .catalog-arrow,
.catalog-card:focus-visible .catalog-arrow {
  transform: translateX(6px);
}

.split-media img {
  transition: transform 900ms var(--ease), filter 500ms ease;
}

.split-media:hover img {
  filter: contrast(1.04);
  transform: scale(1.035);
}

.whatsapp-float {
  animation: whatsapp-breathe 2600ms ease-in-out infinite;
}

.scroll-progress {
  position: fixed;
  z-index: 75;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  background: var(--blue);
}

@media (max-width: 620px) {
  :root {
    --page-pad: 20px;
  }

  .site-nav {
    padding: 88px 20px 24px;
  }

  .site-nav > a:not(.button) {
    min-height: 60px;
    font-size: clamp(40px, 12.5vw, 54px);
  }

  .site-nav .button {
    margin-top: 18px;
  }

  .home-hero-content {
    padding-inline: 20px;
  }

  .home-hero-media,
  .page-hero-media,
  .split-media {
    height: 260px;
  }

  .home-enquiry-copy {
    min-height: 340px;
    padding: 48px 20px;
  }

  .home-enquiry-copy h2 {
    font-size: clamp(52px, 16vw, 72px);
  }

  .home-enquiry-form,
  .product-order {
    padding: 48px 20px;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }

  .catalog-visual {
    aspect-ratio: 1 / 0.68;
  }

  .catalog-meta {
    padding: 19px 18px 17px;
  }

  .catalog-meta h2 {
    font-size: 34px;
  }

  .product-stage {
    min-height: 440px;
    padding: 36px 20px;
  }

  .product-order-head {
    gap: 20px;
  }

  .product-order h2 {
    font-size: clamp(50px, 16vw, 68px);
  }

  .footer-contact a {
    overflow-wrap: anywhere;
  }

  .overview-row:hover,
  .category-row:hover {
    padding-inline: 0;
  }

  .overview-row:active,
  .category-row:active {
    color: var(--white);
    background: var(--blue);
  }
}
