/* Palmer dark — pixel-match to Akihiko reference */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;1,14..32,400&display=swap");

@font-face {
  font-family: "Rawhide Raw 2016";
  src: url("https://raisethedeadclothing.com/wp-content/plugins/rtd-palmer/assets/fonts/rawhide-raw-2016.woff2") format("woff2"),
       url("https://raisethedeadclothing.com/wp-content/plugins/rtd-palmer/assets/fonts/rawhide-raw-2016.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Clingy";
  src: url("https://raisethedeadclothing.com/wp-content/plugins/rtd-palmer/assets/fonts/clingy.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bertolt Brecht";
  src: url("https://raisethedeadclothing.com/wp-content/plugins/rtd-palmer/assets/fonts/bertoltbrecht.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nowadays";
  src: url("https://raisethedeadclothing.com/wp-content/plugins/rtd-palmer/assets/fonts/nowadays-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Elena";
  src: url("https://raisethedeadclothing.com/wp-content/plugins/rtd-palmer/assets/fonts/elena-personal-use.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Amigh";
  src: url("https://raisethedeadclothing.com/wp-content/plugins/rtd-palmer/assets/fonts/amigh.otf") format("opentype"),
       url("https://raisethedeadclothing.com/wp-content/plugins/rtd-palmer/assets/fonts/amigh.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kionsa";
  src: url("https://raisethedeadclothing.com/wp-content/plugins/rtd-palmer/assets/fonts/kionsa-condensed.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Upstair Sans";
  src: url("https://raisethedeadclothing.com/wp-content/plugins/rtd-palmer/assets/fonts/upstair-sans.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Upstair Serif";
  src: url("https://raisethedeadclothing.com/wp-content/plugins/rtd-palmer/assets/fonts/upstair-serif.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Honick";
  src: url("https://raisethedeadclothing.com/wp-content/plugins/rtd-palmer/assets/fonts/honick-free-thin.otf") format("opentype");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mariella Noeve";
  src: url("https://raisethedeadclothing.com/wp-content/plugins/rtd-palmer/assets/fonts/mariella-noeve.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rimogles";
  src: url("https://raisethedeadclothing.com/wp-content/plugins/rtd-palmer/assets/fonts/rimogles.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --p-bg: #000000;
  --p-text: #ffffff;
  --p-muted: rgba(255, 255, 255, 0.48);
  --p-line: rgba(255, 255, 255, 0.22);
  --p-pad: clamp(18px, 3.6vw, 52px);
  --p-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body.rtd-palmer #main-header,
body.rtd-palmer #main-footer,
body.rtd-palmer .rtd-marquee,
body.rtd-palmer #sidebar,
body.rtd-palmer .et_pb_scroll_top {
  display: none !important;
}

body.rtd-palmer,
body.rtd-palmer #page-container,
body.rtd-palmer #main-content,
body.rtd-palmer .et_pb_section,
body.rtd-palmer .et_pb_row,
body.rtd-palmer .et_pb_column,
body.rtd-palmer .et_pb_code_inner {
  background: var(--p-bg) !important;
  color: var(--p-text) !important;
}

body.rtd-palmer .et_pb_section,
body.rtd-palmer .et_pb_row,
body.rtd-palmer .et_pb_column {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.rtd-palmer {
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 13px;
  line-height: 1.45;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  background: var(--p-bg) !important;
}

body.rtd-palmer a,
body.rtd-palmer button {
  cursor: none;
  color: inherit;
}

@media (max-width: 768px) {
  body.rtd-palmer,
  body.rtd-palmer a,
  body.rtd-palmer button {
    cursor: auto;
  }

  .palmer-cursor,
  .palmer-cursor-root,
  .palmer-cursor-lens,
  .palmer-cursor-ring {
    display: none !important;
  }
}

/*
 * Invert cursor:
 * 1) .palmer-cursor-lens — white disc + mix-blend-mode:difference = inverts
 *    whatever is under the circle (no solid flat color when blend works).
 * 2) .palmer-cursor-ring — empty outline only.
 * Both are direct fixed layers (no isolating wrapper).
 */
.palmer-cursor-root {
  display: contents;
}

.palmer-cursor-lens,
.palmer-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
  z-index: 2147483000;
  box-sizing: border-box;
  transition: width 0.28s var(--p-ease), height 0.28s var(--p-ease);
}

/* Circular canvas: JS paints inverted pixels under the cursor */
.palmer-cursor-lens {
  background: transparent;
  border: none;
  z-index: 2147483000;
  /* no mix-blend-mode — canvas already holds inverted colors */
  image-rendering: auto;
}

/* Empty circle outline (sits above the lens) */
.palmer-cursor-ring {
  background: transparent !important;
  border: 1.5px solid #ffffff;
  mix-blend-mode: difference;
  z-index: 2147483001;
}

.palmer-cursor-lens.is-hover,
.palmer-cursor-ring.is-hover {
  width: 44px;
  height: 44px;
}

@media (max-width: 768px) {
  .palmer-cursor-lens,
  .palmer-cursor-ring,
  .palmer-cursor-root {
    display: none !important;
  }
}

/* ========== Boot intro sequence ========== */
body.rtd-boot-active {
  overflow: hidden !important;
  background: #000 !important;
}

body.rtd-boot-active .palmer-cursor-lens,
body.rtd-boot-active .palmer-cursor-ring {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Hide PAGE with opacity only (visibility can't fade — caused black glitch) */
body.rtd-boot-active .palmer-dark,
body.rtd-boot-active #main-content,
body.rtd-boot-active #page-container,
body.rtd-boot-active #et-boc,
body.rtd-boot-active .et-l {
  opacity: 0 !important;
  transition: none !important;
}

body.rtd-boot-reveal .palmer-dark,
body.rtd-boot-reveal #main-content,
body.rtd-boot-reveal #page-container,
body.rtd-boot-reveal #et-boc,
body.rtd-boot-reveal .et-l {
  opacity: 1 !important;
  transition: opacity 1.4s ease !important;
}

body.rtd-boot-active h1.p-masthead {
  opacity: 0 !important;
}

/* Overlay shell — transparent; only .rtd-boot-bg is the black layer that fades */
.rtd-boot {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483600 !important;
  display: block !important;
  pointer-events: all;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.rtd-boot-bg {
  position: absolute;
  inset: 0;
  background: #000000;
  opacity: 1;
  z-index: 0;
  transition: opacity 1.4s ease;
  will-change: opacity;
}

.rtd-boot-bg.is-out {
  opacity: 0;
}

.rtd-boot-title {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2;
  margin: 0;
  padding: 8px 0 4px;
  font-family: "Mariella Noeve", Georgia, serif !important;
  font-size: clamp(52px, 11vw, 160px);
  font-weight: 400 !important;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-transform: uppercase;
  color: #ffffff !important;
  white-space: nowrap;
  display: inline-block;
  /* Centered with consistent top-left origin so pan doesn't jump */
  transform: translate(-50%, -50%) scaleY(2);
  transform-origin: center center;
  opacity: 0 !important;
  transition: none !important;
  will-change: transform, opacity;
  visibility: visible;
  pointer-events: none;
}

.rtd-boot-title.is-fading-in {
  opacity: 1 !important;
  transition: opacity 3s ease !important;
}

.rtd-boot-title.is-flying {
  /* transform driven entirely by JS for smooth pan */
  transition: none !important;
}

.rtd-boot-title sup {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.2em;
  font-weight: 500;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 0.1em;
  display: inline-block;
  transform: scaleY(0.5);
  transform-origin: left bottom;
}

@media (max-width: 768px) {
  .rtd-boot-title {
    font-size: clamp(24px, 7vw, 38px) !important;
    transform: translate(-50%, -50%) scaleY(1.5);
  }
}

/* Root */
.palmer-dark {
  background: var(--p-bg);
  color: var(--p-text);
  min-height: 100vh;
  overflow-x: clip;
}

.p-intro {
  overflow-x: visible;
}

.p-line {
  border: none;
  border-top: 1px solid var(--p-line);
  margin: 0;
  width: 100%;
}

/* Thin white section banner — black text */
.p-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: #ffffff;
  color: #000000;
  padding: 11px var(--p-pad);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.p-banner span {
  color: #000000;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .p-banner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 10px var(--p-pad);
    font-size: 10px;
  }
}

/* Intro — split text + photo, banner behind bottom third */
.p-intro {
  overflow: visible;
}

.p-intro-main {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto;
  align-items: start;
  position: relative;
  /* Room for large headline above the white bar */
  min-height: calc(clamp(200px, 26vw, 360px) + 33px + 24px);
}

.p-intro-left {
  display: flex;
  align-items: flex-start;
  /* Full width above the white bar so copy can fill the top */
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  /* Sit fully above the white bar (bar top ≈ clamp(200px, 26vw, 360px)) */
  padding: clamp(20px, 2.5vw, 36px) var(--p-pad) 0;
  padding-right: clamp(24px, 8vw, 120px);
  position: relative;
  z-index: 3;
  /* Keep text block in the band above the bar */
  min-height: clamp(180px, 24vw, 340px);
}

.p-intro-headline {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: "Honick", "Honick Free Thin", system-ui, sans-serif !important;
  /* Fluid type: fills the top band above the white bar */
  font-size: clamp(36px, 6.2vw, 92px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--p-text);
}

.p-intro-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  grid-column: 2;
  grid-row: 1;
  padding: clamp(24px, 3.5vw, 40px) var(--p-pad) clamp(28px, 4vw, 48px) 0;
  overflow: visible;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.p-intro-right .p-intro-visual {
  pointer-events: auto;
}

.p-intro-visual {
  position: relative;
  width: 62.5%;
  margin-left: auto;
  margin-right: clamp(20px, 3.2vw, 44px);
  margin-top: clamp(14px, 2vw, 28px);
  overflow: hidden;
  border-radius: clamp(6px, 0.8vw, 10px);
}

.p-intro-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.75;
  object-fit: cover;
  object-position: center center;
  display: block;
  position: relative;
  z-index: 2;
  border-radius: inherit;
}

.p-intro-banner {
  grid-column: 1 / -1;
  position: absolute;
  left: var(--p-pad);
  right: 0;
  width: auto;
  top: clamp(200px, 26vw, 360px);
  background: #ffffff;
  height: 33px;
  padding: 0;
  display: flex;
  align-items: center;
  z-index: 1;
  box-sizing: border-box;
}

.p-intro-banner-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: clamp(22.5px, 3.5vw, 35px);
  width: 57.5%;
  max-width: 57.5%;
  position: relative;
  z-index: 3;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #000000;
  padding: 0 clamp(8px, 1.2vw, 16px);
}

.p-intro-banner-labels span {
  color: #000000;
  white-space: nowrap;
  text-align: center;
  font-weight: 700;
}

/* Masthead block */
.p-title-block {
  padding: 0 var(--p-pad) 0;
  overflow: visible;
}

.p-masthead,
body.rtd-palmer h1.p-masthead {
  font-family: "Mariella Noeve", Georgia, serif !important;
  font-size: clamp(52px, 11vw, 160px);
  font-weight: 400 !important;
  letter-spacing: -0.02em;
  line-height: 0.9;
  margin: 0;
  padding: 8px 0 4px;
  text-transform: uppercase;
  color: var(--p-text);
  white-space: nowrap;
  display: inline-block;
  transform: scaleY(2);
  transform-origin: left top;
  margin-bottom: 0.9em;
}

.p-masthead sup {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.2em;
  font-weight: 500;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 0.1em;
  display: inline-block;
  transform: scaleY(0.5);
  transform-origin: left bottom;
}



/* Sub nav — site header at top of page */
.p-subnav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px var(--p-pad) 22px;
  font-size: 13px;
  color: var(--p-muted);
  line-height: 1.45;
}

.p-subnav-brand {
  justify-self: start;
  font-weight: 600;
  color: var(--p-text);
  font-size: clamp(14px, 1.5vw, 18px);
  letter-spacing: -0.01em;
}

.p-subnav-links {
  justify-self: center;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.p-subnav-links-title {
  color: #ffffff;
  font-weight: 600;
  font-size: clamp(14px, 1.5vw, 18px);
  margin: 0 0 3px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.p-subnav-links-list {
  font-size: clamp(12px, 1.05vw, 14px);
  font-weight: 400;
  color: #a0a0a0;
  line-height: 1.4;
  white-space: nowrap;
}

.p-nav-link {
  display: inline-block;
  text-decoration: none;
  color: #a0a0a0;
  font-weight: 400;
  transition: transform 0.28s var(--p-ease), color 0.2s;
  transform-origin: left center;
}

.p-nav-link:hover {
  color: #ffffff;
  transform: scale(1.14);
}

.p-nav-sep {
  color: #a0a0a0;
}

.p-subnav-right {
  justify-self: end;
  text-align: right;
  color: var(--p-text);
  font-weight: 500;
  font-size: clamp(14px, 1.5vw, 18px);
  letter-spacing: -0.01em;
}

/* Hero */
.p-hero {
  display: grid;
  grid-template-columns: 41% 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding: 40px var(--p-pad) 52px;
  align-items: start;
}

/* Fixed crop box — photo is enlarged and parallax-moves inside */
.p-hero-frame {
  width: 100%;
  aspect-ratio: 4 / 5.2;
  overflow: hidden;
  position: relative;
  background: #0a0a0a;
}

.p-hero-img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  transform: translate3d(-50%, -50%, 0) scale(1.28);
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
  user-select: none;
}

.p-hero-copy {
  padding-top: clamp(16px, 9vw, 108px);
  max-width: 480px;
}

.p-hero-copy p {
  font-family: "Honick", "Honick Free Thin", system-ui, sans-serif !important;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.03em;
  margin: 0 0 44px;
  color: var(--p-text);
}

.p-pill {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--p-text);
  background: transparent;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.p-pill:hover {
  background: var(--p-text);
  color: var(--p-bg);
  border-color: var(--p-text);
}

/* Grid labels row */
.p-grid-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 22px var(--p-pad) 18px;
  font-size: 13px;
  color: var(--p-muted);
}

.p-grid-labels span:last-child {
  text-align: right;
}

/* City grid — short bordered boxes */
.p-city-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 var(--p-pad);
  border: 1px solid var(--p-line);
  border-bottom: none;
}

.p-city-cell {
  height: clamp(64px, 8vw, 88px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--p-line);
  border-bottom: 1px solid var(--p-line);
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 400;
  color: var(--p-muted);
  text-decoration: none;
  text-transform: lowercase;
  transition: color 0.25s, background 0.25s;
}

.p-city-cell:last-child {
  border-right: none;
}

.p-city-cell:hover {
  color: var(--p-text);
  background: rgba(255, 255, 255, 0.03);
}

/* Spiral gallery — scroll-driven 3D staircase carousel */
.p-spiral {
  position: relative;
  height: 560vh;
  margin: 0;
}

.p-spiral-pin {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: visible;
  box-sizing: border-box;
}

.p-spiral-header {
  position: absolute;
  top: clamp(32px, 5vh, 56px);
  left: var(--p-pad);
  right: var(--p-pad);
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: auto;
  margin-bottom: 0;
  color: var(--p-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.p-spiral-eyebrow {
  color: var(--p-text);
}

.p-spiral-counter {
  color: var(--p-muted);
  font-variant-numeric: tabular-nums;
}

.p-spiral-counter-current {
  color: var(--p-text);
}

.p-spiral-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  perspective: clamp(1100px, 145vw, 1900px);
  perspective-origin: 50% 50%;
  overflow: visible;
  transform-style: preserve-3d;
}

.p-spiral-track {
  position: relative;
  width: clamp(260px, 32vw, 440px);
  height: clamp(360px, 48vw, 600px);
  transform-style: preserve-3d;
  will-change: transform;
}

.p-spiral-card {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform;
  border-radius: clamp(8px, 1vw, 14px);
  background: transparent;
  box-shadow: none;
  backface-visibility: visible;
}

.p-spiral-card-face {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #0a0a0a;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.p-spiral-card-face--back {
  transform: rotateY(180deg);
}

.p-spiral-card-face--back::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    128deg,
    rgba(88, 48, 156, 0.36) 0%,
    rgba(147, 98, 220, 0.96) 42%,
    rgba(124, 72, 200, 0.6) 68%,
    rgba(70, 38, 128, 0.3) 100%
  );
  mix-blend-mode: soft-light;
}

.p-spiral-card-face--back img {
  transform: scaleX(-1);
  filter: saturate(0.88) brightness(0.92);
}

/* Keep line name locked to the photo — reverse with the back face */
.p-spiral-card-face--back .p-spiral-style {
  transform: scaleX(-1);
}

.p-spiral-card.is-active .p-spiral-card-face {
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.p-spiral-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Clothing-line name centered on each gallery photo */
.p-spiral-style {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px 16px;
  font-family: "Upstair Sans", "Upstair Sans Regular", system-ui, sans-serif !important;
  font-size: clamp(34px, 5.2vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.55),
    0 8px 28px rgba(0, 0, 0, 0.65),
    0 0 48px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  user-select: none;
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.08) 42%,
    rgba(0, 0, 0, 0) 70%
  );
}

/* Footer */
.p-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px 52px;
  padding: 36px var(--p-pad);
  font-size: 13px;
  color: var(--p-muted);
}

.p-footer-links a {
  text-decoration: none;
  color: var(--p-muted);
  transition: color 0.2s;
}

.p-footer-links a:hover {
  color: var(--p-text);
}

.p-back-top-wrap {
  text-align: center;
  padding: 28px var(--p-pad) 40px;
}

.p-copyright {
  font-size: clamp(120px, 25vw, 320px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.78;
  padding: 8px var(--p-pad) 64px;
  color: var(--p-text);
  text-align: center;
  width: 100%;
}

/* Inner pages */
.p-page {
  padding: calc(var(--p-pad) + 40px) var(--p-pad) 80px;
}

.p-page h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}

.p-page p {
  color: var(--p-muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 560px;
}

.p-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 48px;
}

.p-product-card {
  text-decoration: none;
  color: var(--p-text);
}

.p-product-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
}

.p-product-card h4 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 4px;
}

.p-product-card span {
  font-size: 13px;
  color: var(--p-muted);
}

/* Scroll reveal — below fold only */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--p-ease), transform 0.9s var(--p-ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.p-hero[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .p-intro-main {
    grid-template-columns: 1fr;
  }

  .p-intro-right {
    order: -1;
    justify-content: flex-end;
    padding: clamp(20px, 3vw, 32px) var(--p-pad) clamp(24px, 4vw, 40px);
  }

  .p-intro-visual {
    width: min(62.5%, 280px);
  }

  .p-intro-banner {
    right: 0;
  }

  .p-intro-banner-labels {
    width: 100%;
    max-width: 100%;
    gap: 17.5px;
    padding: 0 clamp(6px, 2vw, 12px);
  }

  .p-masthead {
    font-size: clamp(36px, 9.5vw, 72px);
    white-space: nowrap;
  }

  .p-subnav {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .p-subnav-brand,
  .p-subnav-right {
    justify-self: start;
    text-align: left;
  }

  .p-subnav-links {
    justify-self: center;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .p-subnav-links-list {
    white-space: normal;
  }

  .p-hero {
    grid-template-columns: 1fr;
  }

  .p-hero-copy {
    padding-top: 0;
  }

  .p-city-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-city-cell:last-child {
    border-right: 1px solid var(--p-line);
  }

  .p-city-cell:nth-child(2n) {
    border-right: none;
  }

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

  .p-copyright {
    font-size: clamp(80px, 22vw, 180px);
  }
}

@media (max-width: 768px) {
  body.rtd-palmer #page-container,
  body.rtd-palmer #main-content,
  body.rtd-palmer .et_pb_section,
  body.rtd-palmer .et_pb_row,
  body.rtd-palmer .et_pb_column,
  body.rtd-palmer .et_pb_code_inner {
    overflow: visible !important;
  }

  .p-subnav {
    padding: 18px var(--p-pad) 16px;
    gap: 12px;
  }

  .p-subnav-brand,
  .p-subnav-right,
  .p-subnav-links {
    justify-self: start;
    text-align: left;
    width: 100%;
  }

  .p-subnav-links-list {
    line-height: 1.55;
  }

  .p-intro-main {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .p-intro-right {
    order: 1;
    padding: clamp(16px, 4vw, 24px) var(--p-pad) 0;
  }

  .p-intro-visual {
    width: min(72vw, 300px);
    margin-right: auto;
    margin-left: auto;
    margin-top: 0;
  }

  .p-intro-banner {
    order: 2;
    position: relative;
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    margin-top: -18px;
    margin-bottom: 4px;
  }

  .p-intro-banner-labels {
    width: 100%;
    max-width: 100%;
    font-size: 11px;
    gap: 8px;
    letter-spacing: 0.05em;
    padding: 0 12px;
  }

  .p-intro-left {
    order: 1;
    grid-column: 1 / -1;
    min-height: 0;
    padding: clamp(16px, 4vw, 28px) var(--p-pad) 12px;
  }

  .p-intro-headline {
    font-size: clamp(28px, 8.5vw, 48px);
    line-height: 1.05;
  }

  .p-intro-right {
    order: 2;
    grid-column: 1 / -1;
  }

  .p-title-block {
    overflow-x: hidden;
    padding-top: 4px;
  }

  .p-masthead,
  body.rtd-palmer h1.p-masthead {
    font-size: clamp(24px, 7vw, 38px) !important;
    transform: scaleY(1.5);
    transform-origin: left top;
    margin-bottom: 0.45em;
    white-space: nowrap;
  }

  .p-hero {
    padding: 28px var(--p-pad) 36px;
    gap: 24px;
  }

  .p-hero-copy p {
    font-size: clamp(18px, 5vw, 24px);
    margin-bottom: 28px;
  }

  .p-grid-labels {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px var(--p-pad) 14px;
    text-align: center;
  }

  .p-grid-labels span:last-child {
    text-align: center;
  }

  .p-city-grid {
    margin: 0 var(--p-pad);
  }

  .p-spiral {
    height: calc(100dvh + 52dvh * 4);
    min-height: calc(100vh + 52vh * 4);
  }

  .p-spiral-pin {
    min-height: 100dvh;
    min-height: 100vh;
  }

  .p-spiral-stage {
    perspective: 820px;
    height: 100dvh;
    height: 100vh;
  }

  .p-spiral-track {
    width: clamp(170px, 50vw, 250px);
    height: clamp(230px, 68vw, 340px);
  }

  .p-spiral-header {
    top: 18px;
    font-size: 10px;
  }

  .p-footer-links {
    gap: 20px 28px;
    padding: 28px var(--p-pad);
    font-size: 12px;
  }

  .p-back-top-wrap {
    padding: 20px var(--p-pad) 28px;
  }

  .p-copyright {
    font-size: clamp(64px, 20vw, 120px);
    padding-bottom: 40px;
    letter-spacing: -0.04em;
  }
}

@media (max-width: 600px) {
  .p-city-grid {
    grid-template-columns: 1fr;
  }

  .p-city-cell {
    border-right: none !important;
  }

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

  .p-intro-banner-labels {
    font-size: 10px;
    gap: 6px;
    letter-spacing: 0.03em;
  }

  .p-intro-banner {
    height: 30px;
  }

  .p-masthead,
  body.rtd-palmer h1.p-masthead {
    font-size: clamp(22px, 6.4vw, 32px) !important;
    transform: scaleY(1.4);
  }

  .p-spiral-track {
    width: clamp(155px, 58vw, 220px);
    height: clamp(210px, 78vw, 300px);
  }
}