:root {
  --ink: #142422;
  --muted: #61706d;
  --navy: #0b2f2d;
  --navy-2: #154541;
  --blue: #176f68;
  --gold: #f2bd66;
  --green: #1e9a68;
  --paper: #f7f5ef;
  --cream: #f2efe6;
  --white: #fffef9;
  --line: rgba(20, 36, 34, 0.13);
  --shadow: 0 24px 80px rgba(11, 47, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 94% 2%, rgba(242, 189, 102, 0.17), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

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

button {
  cursor: pointer;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(242, 189, 102, 0.9);
  outline-offset: 3px;
}

.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
}

.pp-shell {
  width: min(100% - 56px, 1280px);
  margin-inline: auto;
}

.pp-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 239, 0.93);
  backdrop-filter: blur(18px);
}

.pp-nav {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pp-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border-radius: 15px;
  text-decoration: none;
}

.pp-brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px 14px 14px 4px;
  background: var(--navy);
  color: var(--gold);
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.06em;
  box-shadow: 0 9px 24px rgba(11, 47, 45, 0.2);
}

.pp-brand-copy {
  display: grid;
  gap: 1px;
}

.pp-brand-copy strong {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.pp-brand-copy small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pp-nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pp-nav-links a {
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.pp-nav-links a:hover {
  background: rgba(11, 47, 45, 0.07);
}

.pp-nav-links .pp-nav-cta {
  margin-left: 4px;
  padding-inline: 18px;
  background: var(--navy);
  color: var(--white);
}

.pp-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-block: 22px 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.pp-breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}

.pp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px 36px 36px 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.pp-hero-media {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #dce4dd;
}

.pp-hero-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  content: "";
  background: linear-gradient(transparent, rgba(11, 47, 45, 0.42));
  pointer-events: none;
}

.pp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pp-hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 70px);
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 189, 102, 0.2), transparent 17rem),
    var(--navy);
  color: var(--white);
}

.pp-eyebrow {
  margin: 0 0 9px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pp-hero-copy h1,
.pp-section-heading h2,
.pp-fit-card h2,
.pp-directory-hero h1 {
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.pp-hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 5.5vw, 78px);
  line-height: 0.95;
}

.pp-subtitle {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 750;
}

.pp-price {
  margin: 28px 0 0;
  color: var(--gold);
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 600;
  line-height: 1;
}

.pp-intro {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: 15px;
}

.pp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.pp-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 10px;
  font-weight: 850;
}

.pp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.pp-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 13px;
  background: transparent;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.pp-button:hover {
  transform: translateY(-1px);
}

.pp-button-primary {
  border-color: var(--gold);
  background: linear-gradient(135deg, #ffd27d, #f2b74f);
  color: var(--navy);
  box-shadow: 0 12px 30px rgba(214, 147, 41, 0.3);
}

@keyframes pp-cta-glow {
  0%, 100% { box-shadow: 0 12px 30px rgba(214, 147, 41, 0.24); }
  50% { box-shadow: 0 14px 40px rgba(242, 189, 102, 0.5); }
}

.pp-button-primary {
  animation: pp-cta-glow 3.6s ease-in-out infinite;
}

.pp-price-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  line-height: 1.5;
}

.pp-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.pp-specs div {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px 16px 16px 5px;
  background: rgba(255, 254, 249, 0.9);
}

.pp-specs span,
.pp-fact-card span {
  display: block;
  color: var(--blue);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pp-specs strong,
.pp-fact-card strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.pp-section {
  padding-block: 82px;
}

.pp-section-soft {
  border-block: 1px solid var(--line);
  background: rgba(255, 254, 249, 0.66);
}

.pp-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.45fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 30px;
}

.pp-section-heading h2,
.pp-fit-card h2 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 0.98;
}

.pp-section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.pp-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pp-fit-card {
  min-width: 0;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 26px 26px 26px 7px;
  background: var(--white);
}

.pp-fit-card h2 {
  font-size: clamp(30px, 3.2vw, 46px);
}

.pp-fit-card p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

.pp-fit-card.pp-fit-dark {
  border-color: transparent;
  background: var(--navy);
  color: var(--white);
}

.pp-fit-card.pp-fit-dark p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.pp-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.pp-fact-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f1f3ed;
}

.pp-layout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pp-layout-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px 19px 19px 6px;
  background: var(--white);
}

.pp-layout-image {
  position: relative;
  display: block;
  width: 100%;
  height: 270px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.pp-layout-image img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
  transition: transform 220ms ease;
}

.pp-layout-image:hover img {
  transform: scale(1.025);
}

.pp-layout-image span {
  position: absolute;
  right: 11px;
  bottom: 11px;
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 9px;
  font-weight: 900;
}

.pp-layout-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.pp-layout-body h3 {
  margin: 0;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.05;
}

.pp-layout-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.pp-layout-meta span {
  padding: 6px 8px;
  border-radius: 7px;
  background: #f1f3ed;
  color: #52615e;
  font-size: 10px;
  font-weight: 800;
}

.pp-layout-price {
  margin: 16px 0 0;
  color: var(--blue);
  font-size: 16px;
  font-weight: 950;
}

.pp-layout-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.pp-layout-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
}

.pp-layout-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.pp-layout-actions a:first-child {
  grid-column: 1 / -1;
  border-color: var(--gold);
  background: var(--gold);
}

.pp-layout-actions a:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.pp-related-grid,
.pp-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pp-related-card,
.pp-directory-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px 18px 18px 6px;
  background: var(--white);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pp-related-card:hover,
.pp-directory-card:hover {
  box-shadow: 0 18px 45px rgba(11, 47, 45, 0.12);
  transform: translateY(-3px);
}

.pp-related-card img,
.pp-directory-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.pp-related-copy,
.pp-directory-copy {
  padding: 17px;
}

.pp-related-copy span,
.pp-directory-copy span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pp-related-copy h3,
.pp-directory-copy h2 {
  margin: 5px 0 0;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 25px;
  line-height: 1.05;
}

.pp-related-copy p,
.pp-directory-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.pp-source-note {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  padding: 30px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 16px;
  background: var(--white);
}

.pp-source-note h2 {
  margin: 0;
  font-size: 20px;
}

.pp-source-note p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.pp-footer {
  padding-block: 38px;
  background: var(--navy);
  color: var(--white);
}

.pp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pp-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.pp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pp-footer a {
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.pp-directory-hero {
  padding-block: 72px 50px;
}

.pp-directory-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.92;
}

.pp-directory-hero > p:last-child {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.pp-directory-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}

.pp-directory-toolbar input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f4f5f0;
  color: var(--ink);
}

.pp-directory-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.pp-layout-modal[hidden] {
  display: none;
}

.pp-layout-modal {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 14px;
  background: rgba(5, 23, 22, 0.92);
  backdrop-filter: blur(14px);
}

.pp-modal-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px 14px;
  color: var(--white);
}

.pp-modal-title {
  min-width: 0;
}

.pp-modal-title strong,
.pp-modal-title span {
  display: block;
}

.pp-modal-title strong {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 20px;
}

.pp-modal-title span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

.pp-modal-controls {
  display: flex;
  gap: 7px;
  align-items: center;
}

.pp-modal-controls button {
  min-width: 42px;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.pp-modal-controls .pp-modal-close {
  background: var(--gold);
  color: var(--navy);
}

.pp-modal-stage {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  cursor: grab;
  touch-action: none;
}

.pp-modal-stage.dragging {
  cursor: grabbing;
}

.pp-modal-stage img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  user-select: none;
  transform: translate(-50%, -50%);
  transform-origin: center;
  will-change: transform;
}

.pp-floating-cta {
  position: fixed;
  z-index: 800;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(30, 154, 104, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.pp-floating-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.pp-floating-cta.is-visible:hover {
  box-shadow: 0 16px 42px rgba(30, 154, 104, 0.46);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1000px) {
  .pp-hero {
    grid-template-columns: 1fr;
  }

  .pp-hero-media {
    min-height: 520px;
  }

  .pp-specs,
  .pp-layout-grid,
  .pp-related-grid,
  .pp-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pp-section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 760px) {
  .pp-shell {
    width: min(100% - 28px, 1280px);
  }

  .pp-nav {
    min-height: 72px;
  }

  .pp-brand-copy small,
  .pp-nav-links a:not(.pp-nav-cta) {
    display: none;
  }

  .pp-nav-links .pp-nav-cta {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 10px;
  }

  .pp-hero {
    border-radius: 24px 24px 24px 7px;
  }

  .pp-hero-media {
    min-height: 390px;
  }

  .pp-hero-copy {
    padding: 30px 24px 34px;
  }

  .pp-hero-copy h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .pp-actions,
  .pp-actions .pp-button {
    width: 100%;
  }

  .pp-specs,
  .pp-fit-grid,
  .pp-facts-grid,
  .pp-layout-grid,
  .pp-related-grid,
  .pp-directory-grid,
  .pp-source-note {
    grid-template-columns: 1fr;
  }

  .pp-section {
    padding-block: 58px;
  }

  .pp-layout-image {
    height: 300px;
  }

  .pp-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .pp-directory-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .pp-modal-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .pp-modal-controls {
    width: 100%;
  }

  .pp-modal-controls button {
    flex: 1;
  }

  .pp-floating-cta {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }
}
