/*
Theme Name: Production Medical v21
Theme URI: https://productionmedical.co.uk
Author: Production Medical
Description: Editorial WordPress theme for doctor-led production medicine and PM One private medical concierge. V21 retains the established coral V19 visual system and introduces the approved PM One identity.
Version: 21.0.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: production-medical
*/

@font-face {
  font-family: "PM Display";
  src: url("assets/fonts/PM-Archivo-DisplayBlack.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "PM Display";
  src: url("assets/fonts/PM-Archivo-DisplaySemibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "PM Text";
  src: url("assets/fonts/PM-Archivo-TextRegular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "PM Text";
  src: url("assets/fonts/PM-Archivo-TextMedium.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --pm-night: #06191f;
  --pm-night-deep: #031014;
  --pm-slate: #123039;
  --pm-mineral: #e9e4da;
  --pm-ivory: #f6f2ea;
  --pm-paper: #fbf9f4;
  --pm-coral: #f04b43;
  --pm-coral-dark: #c83e38;
  --pm-coral-readable: #a4322e;
  --pm-one-navy: #0d1b34;
  --pm-one-gold: #c9a86a;
  --pm-ink: #0b222a;
  --pm-muted: #65777b;
  --pm-mist: #afbdbe;
  --pm-rule: rgba(11, 34, 42, .16);
  --pm-rule-light: rgba(246, 242, 234, .18);
  --pm-max: 1320px;
  --pm-shadow: 0 30px 90px rgba(3, 16, 20, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--pm-ink);
  background: var(--pm-ivory);
  font-family: "PM Text", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.pm-menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; }
::selection { color: var(--pm-paper); background: var(--pm-coral); }

.pm-shell { width: min(calc(100% - 56px), var(--pm-max)); margin-inline: auto; }
.pm-section { position: relative; padding: clamp(92px, 10vw, 156px) 0; overflow: hidden; }
.pm-section--night { color: var(--pm-ivory); background: var(--pm-night); }
.pm-section--mineral { background: var(--pm-mineral); }
.pm-section--ivory { background: var(--pm-ivory); }
.pm-section--one { color: var(--pm-ivory); background: var(--pm-night); }
.pm-section--contact { color: var(--pm-ivory); background: var(--pm-night-deep); }

.pm-kicker, .pm-index, .pm-label {
  margin: 0 0 1.2rem;
  color: var(--pm-ink);
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.pm-kicker::before {
  content: "";
  display: inline-block;
  width: 31px;
  height: 4px;
  margin: 0 12px 2px 0;
  background: var(--pm-coral);
  transform: skewX(-32deg);
}
.pm-kicker--light { color: var(--pm-ivory); }
.pm-kicker--coral { color: var(--pm-coral); }
.pm-section h2, .pm-section h3, .pm-hero h1 {
  font-family: "PM Display", Arial, Helvetica, sans-serif;
  text-wrap: balance;
}
.pm-section h2 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(2.65rem, 5.7vw, 5.7rem);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.055em;
}
.pm-lead {
  max-width: 780px;
  margin: 1.75rem 0 0;
  color: #51666c;
  font-size: clamp(1.08rem, 1.55vw, 1.33rem);
  line-height: 1.55;
}
.pm-lead--light { color: #bac7c8; }
.pm-section-head { margin-bottom: clamp(44px, 6vw, 82px); }
.pm-section-head--split {
  display: grid;
  grid-template-columns: minmax(190px, .38fr) minmax(0, 1fr);
  gap: clamp(52px, 9vw, 150px);
  align-items: start;
}

.pm-skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: .75rem 1rem;
  color: var(--pm-paper);
  background: var(--pm-coral);
  font-weight: 600;
}
.pm-skip-link:focus { top: 1rem; }

/* Header */
.pm-site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  color: var(--pm-ivory);
  border-bottom: 1px solid rgba(246, 242, 234, .14);
  background: linear-gradient(to bottom, rgba(3, 16, 20, .78), rgba(3, 16, 20, .18));
  transition: background .25s ease, backdrop-filter .25s ease;
}
.pm-site-header.is-scrolled {
  background: rgba(3, 16, 20, .94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.pm-header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.pm-brand { display: inline-flex; width: min(246px, 52vw); }
.pm-brand img { width: 100%; height: auto; }
.pm-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.pm-nav a {
  color: var(--pm-ivory);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.pm-nav a:hover, .pm-nav a:focus-visible { color: var(--pm-coral); }
.pm-nav .pm-nav-cta {
  padding: .72rem 1rem;
  border: 1px solid var(--pm-coral);
  color: var(--pm-night-deep);
  background: var(--pm-coral);
}
.pm-nav .pm-nav-cta:hover, .pm-nav .pm-nav-cta:focus-visible { color: var(--pm-night-deep); background: #ff6960; }
.pm-menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--pm-ivory);
  border: 1px solid rgba(246, 242, 234, .28);
  background: transparent;
  cursor: pointer;
}
.pm-menu-button span { display: block; width: 20px; height: 1px; margin: 5px auto; background: currentColor; }

/* Hero */
.pm-hero {
  position: relative;
  min-height: max(820px, 100svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--pm-ivory);
  background: var(--pm-night-deep);
}
.pm-hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/images/pm-hero-backstage.webp");
  background-position: center center;
  background-size: cover;
  transform: scale(1.01);
}
.pm-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 16, 20, .96) 0%, rgba(3, 16, 20, .88) 34%, rgba(3, 16, 20, .24) 72%, rgba(3, 16, 20, .1) 100%),
    linear-gradient(0deg, rgba(3, 16, 20, .78) 0%, transparent 42%);
}
.pm-hero::after {
  content: "";
  position: absolute;
  top: 116px;
  right: 0;
  width: 41vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 75, 67, .8));
}
.pm-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  padding-bottom: 132px;
}
.pm-hero-copy { max-width: 940px; }
.pm-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 8.5vw, 8.6rem);
  font-weight: 800;
  line-height: .82;
  letter-spacing: -.067em;
  text-transform: uppercase;
}
.pm-hero h1 span { color: var(--pm-coral); }
.pm-hero-intro {
  max-width: 720px;
  margin: 2.2rem 0 0;
  color: #ced7d7;
  font-size: clamp(1.08rem, 1.65vw, 1.38rem);
  line-height: 1.58;
}
.pm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.2rem; }
.pm-button {
  display: inline-flex;
  min-height: 54px;
  padding: .9rem 1.2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}
.pm-button:hover, .pm-button:focus-visible { transform: translateY(-3px); }
.pm-button--coral { border-color: var(--pm-coral); color: var(--pm-night-deep); background: var(--pm-coral); }
.pm-button--coral:hover, .pm-button--coral:focus-visible { color: var(--pm-night-deep); background: #ff6960; }
.pm-button--ghost { color: var(--pm-paper); border-color: rgba(246, 242, 234, .5); background: rgba(3, 16, 20, .2); }
.pm-button--ghost:hover, .pm-button--ghost:focus-visible { border-color: var(--pm-paper); background: rgba(246, 242, 234, .08); }
.pm-button--dark { border-color: var(--pm-night); color: var(--pm-paper); background: var(--pm-night); cursor: pointer; }
.pm-hero-rail {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 74px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-inline: max(28px, calc((100vw - var(--pm-max)) / 2));
  border-top: 1px solid rgba(246, 242, 234, .18);
  background: rgba(3, 16, 20, .72);
  backdrop-filter: blur(15px);
}
.pm-hero-rail span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 26px;
  color: #c2cecf;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pm-hero-rail span + span { border-left: 1px solid rgba(246, 242, 234, .16); }
.pm-hero-rail span::before { content: ""; width: 6px; height: 6px; background: var(--pm-coral); }

/* Routes */
.pm-route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(11, 34, 42, .22); }
.pm-route-card {
  min-height: 590px;
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4.5vw, 62px);
  transition: transform .3s ease, box-shadow .3s ease;
}
.pm-route-card:hover { position: relative; z-index: 2; transform: translateY(-7px); box-shadow: var(--pm-shadow); }
.pm-route-card--night { color: var(--pm-ivory); background: var(--pm-night); }
.pm-route-card--coral { color: var(--pm-night-deep); background: var(--pm-coral); }
.pm-route-card .pm-index { color: inherit; opacity: .8; }
.pm-route-card--coral .pm-index { opacity: 1; }
.pm-route-card h3 {
  margin: .35rem 0 1.35rem;
  font-size: clamp(2rem, 3.5vw, 3.7rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.05em;
}
.pm-route-card > p:not(.pm-index) { max-width: 560px; color: #b9c5c6; }
.pm-route-card--coral > p:not(.pm-index) { color: rgba(3, 16, 20, .84); }
.pm-clean-list { margin: 1.7rem 0 0; padding: 0; list-style: none; }
.pm-clean-list li { position: relative; padding: .72rem 0 .72rem 24px; border-top: 1px solid currentColor; border-color: rgba(246, 242, 234, .18); }
.pm-clean-list li::before { content: "/"; position: absolute; left: 0; color: var(--pm-coral); font-weight: 600; }
.pm-route-card--coral .pm-clean-list li::before { color: var(--pm-night); }
.pm-route-card--coral .pm-clean-list li { border-color: rgba(3, 16, 20, .24); }
.pm-text-link {
  margin-top: auto;
  padding-top: 2.6rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}
.pm-text-link span { display: inline-block; margin-left: .4rem; transition: transform .2s ease; }
.pm-text-link:hover span { transform: translate(4px, -4px); }

/* Experience */
.pm-experience { background: linear-gradient(135deg, var(--pm-night-deep), var(--pm-night) 65%, #0d2a31); }
.pm-experience::before {
  content: "EXPERIENCE";
  position: absolute;
  top: 36px;
  right: -12px;
  color: rgba(246, 242, 234, .025);
  font-family: "PM Display", sans-serif;
  font-size: clamp(7rem, 18vw, 18rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.07em;
  pointer-events: none;
}
.pm-experience-intro { position: relative; z-index: 1; max-width: 930px; margin-bottom: clamp(48px, 6vw, 84px); }
.pm-credit-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--pm-rule-light);
  border-left: 1px solid var(--pm-rule-light);
}
.pm-credit {
  position: relative;
  min-height: 238px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  overflow: hidden;
  color: inherit;
  border-right: 1px solid var(--pm-rule-light);
  border-bottom: 1px solid var(--pm-rule-light);
  border-top: 0;
  border-left: 0;
  border-radius: 0;
  background: rgba(246, 242, 234, .025);
  font: inherit;
  text-align: left;
  outline: none;
  isolation: isolate;
  cursor: pointer;
  appearance: none;
  transition: color .25s ease, background .25s ease;
}
.pm-credit::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--pm-coral);
  transform: translateY(102%);
  transition: transform .3s cubic-bezier(.22,.76,.24,1);
}
.pm-credit::after {
  content: "/";
  position: absolute;
  top: 12px;
  right: 18px;
  color: var(--pm-coral);
  font-family: "PM Display", sans-serif;
  font-size: 2rem;
  transition: color .25s ease, transform .25s ease;
}
.pm-credit strong {
  position: relative;
  z-index: 1;
  font-family: "PM Display", sans-serif;
  font-size: clamp(1.3rem, 2vw, 2.05rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  transition: transform .3s cubic-bezier(.22,.76,.24,1);
}
.pm-credit-label {
  position: relative;
  z-index: 1;
  margin-top: .75rem;
  color: #a8b8ba;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: .62;
  transform: translateY(5px);
  transition: color .25s ease, opacity .25s ease, transform .25s ease;
}
.pm-credit-projects {
  position: relative;
  z-index: 1;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: var(--pm-night-deep);
  opacity: 0;
  transform: translateY(12px);
  transition: max-height .34s cubic-bezier(.22,.76,.24,1), margin .3s ease, opacity .22s ease, transform .3s ease;
}
.pm-credit-projects > span {
  position: relative;
  display: block;
  padding: .25rem 0 .25rem 15px;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: .015em;
}
.pm-credit-projects > span::before { content: "/"; position: absolute; left: 0; color: var(--pm-paper); }
.pm-credit:hover::before, .pm-credit:focus-visible::before, .pm-credit.is-active::before { transform: translateY(0); }
.pm-credit:hover::after, .pm-credit:focus-visible::after, .pm-credit.is-active::after { color: var(--pm-night); transform: rotate(-12deg); }
.pm-credit:hover, .pm-credit:focus-visible, .pm-credit.is-active { color: var(--pm-night-deep); }
.pm-credit:hover strong, .pm-credit:focus-visible strong, .pm-credit.is-active strong { transform: translateY(-2px); }
.pm-credit:hover .pm-credit-label, .pm-credit:focus-visible .pm-credit-label, .pm-credit.is-active .pm-credit-label { color: var(--pm-night-deep); opacity: .72; transform: translateY(0); }
.pm-credit:hover .pm-credit-projects, .pm-credit:focus-visible .pm-credit-projects, .pm-credit.is-active .pm-credit-projects { max-height: 116px; margin-top: .65rem; opacity: 1; transform: translateY(0); }
.pm-credit:focus-visible { box-shadow: inset 0 0 0 3px var(--pm-paper); }
.pm-credit--wide { grid-column: span 2; }
.pm-credit-note {
  position: relative;
  z-index: 1;
  max-width: 1020px;
  margin: 2rem 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--pm-coral);
  color: #93a5a8;
  font-size: .78rem;
  line-height: 1.55;
}

/* Production feature */
.pm-feature-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(50px, 8vw, 120px); align-items: stretch; }
.pm-feature-media {
  min-height: 820px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--pm-shadow);
}
.pm-feature-media--production { background-image: linear-gradient(to top, rgba(3, 16, 20, .24), transparent 45%), url("assets/images/pm-production-bay.webp"); }
.pm-feature-copy { align-self: center; padding: 30px 0; }
.pm-numbered-list { margin-top: 3.1rem; border-top: 1px solid var(--pm-rule); }
.pm-numbered-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--pm-rule);
}
.pm-numbered-list article > span { color: var(--pm-coral-readable); font-size: .68rem; font-weight: 600; letter-spacing: .12em; }
.pm-numbered-list h3 { margin: 0; font-size: 1.18rem; font-weight: 600; letter-spacing: -.025em; }
.pm-numbered-list p { margin: .42rem 0 0; color: #5d7075; font-size: .9rem; line-height: 1.5; }

/* PM One */
.pm-section--one::before {
  content: "PM ONE";
  position: absolute;
  right: -10px;
  bottom: -20px;
  color: rgba(246, 242, 234, .025);
  font-family: "PM Display", sans-serif;
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.09em;
}
.pm-one-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(380px, .78fr) minmax(0, 1.22fr); gap: clamp(55px, 8vw, 130px); align-items: center; }
.pm-one-media {
  position: relative;
  min-height: 820px;
  background-image: linear-gradient(to top, rgba(3, 16, 20, .6), transparent 44%), url("assets/images/pm-one-wellness.webp");
  background-position: center center;
  background-size: cover;
  box-shadow: 0 35px 100px rgba(0, 0, 0, .34);
}
.pm-one-media::after { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(246, 242, 234, .28); pointer-events: none; }
.pm-image-label {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: .95rem 1.1rem;
  color: #d8e0e0;
  background: rgba(3, 16, 20, .82);
  backdrop-filter: blur(12px);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
}
.pm-one-brand-lockup {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.pm-one-brand-lockup img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
}
.pm-one-brand-copy { min-width: 0; }
.pm-one-brand-copy strong {
  display: block;
  color: var(--pm-ivory);
  font-family: "PM Text", Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: lowercase;
}
.pm-one-brand-copy small {
  display: block;
  margin-top: .38rem;
  color: var(--pm-one-gold);
  font-size: .52rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.pm-one-copy h2 { max-width: 820px; }
.pm-journey { margin-top: 2.7rem; border-top: 1px solid var(--pm-rule-light); }
.pm-journey > div {
  display: grid;
  grid-template-columns: 48px minmax(120px, .38fr) 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--pm-rule-light);
}
.pm-journey span { color: var(--pm-coral); font-size: .66rem; font-weight: 600; letter-spacing: .12em; }
.pm-journey strong { font-family: "PM Display", sans-serif; font-size: 1.1rem; font-weight: 600; }
.pm-journey p { margin: 0; color: #aab9bb; font-size: .88rem; }
.pm-clinical-note { margin-top: 1.7rem; color: #899c9f; font-size: .78rem; line-height: 1.55; }

/* Partners */
.pm-partner-grid {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(560px, 1.28fr);
  gap: clamp(64px, 8vw, 118px);
  align-items: center;
}
.pm-partner-copy { position: relative; z-index: 3; padding-block: 72px; }
.pm-partner-visual { position: relative; display: flex; flex-direction: column; min-height: 0; }
.pm-partner-media {
  position: relative;
  min-height: 580px;
  background-image: linear-gradient(90deg, rgba(3, 16, 20, .28), transparent 42%), url("assets/images/pm-hospitality-wellness.webp");
  background-position: left center;
  background-size: cover;
  box-shadow: var(--pm-shadow);
}
.pm-partner-media::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(246, 242, 234, .3);
  pointer-events: none;
}
.pm-partner-panel {
  position: relative;
  z-index: 2;
  width: calc(100% - 56px);
  margin: -62px 0 0 clamp(-96px, -6.5vw, -64px);
  padding: clamp(30px, 4vw, 52px);
  color: var(--pm-ivory);
  background: rgba(6, 25, 31, .97);
  box-shadow: var(--pm-shadow);
}
.pm-panel-quote {
  margin: 0 0 2.2rem;
  font-family: "PM Display", sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -.045em;
}
.pm-panel-quote span { color: var(--pm-coral); }
.pm-partner-panel .pm-clean-list li { color: #c6d0d1; }

/* Principles */
.pm-principle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--pm-rule); border-left: 1px solid var(--pm-rule); }
.pm-principle-grid article {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--pm-rule);
  border-bottom: 1px solid var(--pm-rule);
  background: rgba(255, 255, 255, .28);
  transition: background .25s ease, transform .25s ease;
}
.pm-principle-grid article:hover { background: var(--pm-paper); transform: translateY(-5px); }
.pm-principle-grid span { color: var(--pm-coral-readable); font-size: .68rem; font-weight: 600; letter-spacing: .13em; }
.pm-principle-grid h3 { margin: auto 0 .9rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -.035em; }
.pm-principle-grid p { margin: 0; color: #5d7075; font-size: .9rem; }

/* Contact */
.pm-contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(55px, 9vw, 140px); align-items: start; }
.pm-contact-copy h2 { max-width: 720px; }
.pm-contact-direct { margin-top: 2.3rem; }
.pm-contact-direct a { color: var(--pm-paper); font-family: "PM Display", sans-serif; font-size: clamp(1.15rem, 2vw, 1.65rem); font-weight: 600; text-decoration-color: var(--pm-coral); text-decoration-thickness: 3px; }
.pm-form { position: relative; padding: clamp(28px, 4vw, 50px); color: var(--pm-ink); background: var(--pm-paper); box-shadow: var(--pm-shadow); }
.pm-form::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 7px; background: var(--pm-coral); }
.pm-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pm-field--full { grid-column: 1 / -1; }
.pm-field label { display: block; margin-bottom: .45rem; font-size: .67rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pm-field input, .pm-field textarea, .pm-field select {
  width: 100%;
  padding: .88rem .9rem;
  color: var(--pm-ink);
  border: 1px solid #b9c4c2;
  border-radius: 0;
  background: #fff;
  outline: none;
}
.pm-field textarea { min-height: 145px; resize: vertical; }
.pm-field input:focus, .pm-field textarea:focus, .pm-field select:focus { border-color: var(--pm-coral); box-shadow: 0 0 0 3px rgba(240, 75, 67, .16); }
.pm-form-note { margin: 1rem 0 0; color: #647478; font-size: .75rem; }
.pm-turnstile-wrap { margin-top: 1.2rem; }
.pm-security-label {
  margin: 0 0 .5rem;
  color: var(--pm-ink);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cf-turnstile { min-height: 65px; max-width: 100%; }
.pm-turnstile-preview {
  min-height: 65px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: #52666b;
  border: 1px solid #b9c4c2;
  background: #fff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pm-form-actions { margin-top: 1.3rem; }
.pm-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.pm-alert { margin: 0 0 1.3rem; padding: 1rem; border-left: 4px solid var(--pm-coral); background: rgba(240, 75, 67, .11); font-weight: 600; }
.pm-alert--error { border-color: #9d312d; }

/* Legal pages */
.pm-page-hero { padding: 175px 0 80px; color: var(--pm-ivory); background: var(--pm-night); }
.pm-page-hero h1 { max-width: 950px; margin: 0; font-family: "PM Display", sans-serif; font-size: clamp(3.2rem, 7vw, 7rem); font-weight: 600; line-height: .96; letter-spacing: -.055em; }
.pm-page-content { padding: 80px 0 130px; background: var(--pm-ivory); }
.pm-prose { max-width: 860px; }
.pm-prose h2 { margin: 3rem 0 1rem; font-family: "PM Display", sans-serif; font-size: 2rem; line-height: 1.12; letter-spacing: -.03em; }
.pm-prose h3 { margin: 2rem 0 .7rem; font-family: "PM Display", sans-serif; font-size: 1.3rem; }
.pm-prose p, .pm-prose li { color: #4f6469; }

/* Footer */
.pm-footer { padding: 58px 0 32px; color: var(--pm-ivory); background: #020b0e; }
.pm-footer-top { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; padding-bottom: 46px; }
.pm-footer-brand { width: min(276px, 70vw); }
.pm-footer-tagline { margin: 1.2rem 0 0; color: #8fa0a3; font-size: .86rem; }
.pm-footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .8rem 1.5rem; }
.pm-footer-nav a { color: var(--pm-ivory); font-size: .72rem; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.pm-footer-nav a:hover { color: var(--pm-coral); }
.pm-footer-bottom { padding-top: 26px; border-top: 1px solid rgba(246, 242, 234, .13); color: #73878a; font-size: .7rem; }
.pm-footer-bottom p { margin: .35rem 0; }

@media (max-width: 1120px) {
  .pm-hero h1 { font-size: clamp(4rem, 9.4vw, 7.2rem); }
  .pm-credit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pm-credit--wide { grid-column: span 1; }
  .pm-principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-one-grid { grid-template-columns: minmax(320px, .75fr) minmax(0, 1.25fr); gap: 55px; }
  .pm-partner-grid { grid-template-columns: minmax(270px, .65fr) minmax(500px, 1.35fr); gap: 66px; }
}

@media (max-width: 920px) {
  .pm-shell { width: min(calc(100% - 40px), var(--pm-max)); }
  .pm-menu-button { display: block; }
  .pm-nav {
    position: fixed;
    inset: 86px 0 auto;
    min-height: calc(100vh - 86px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 2rem 20px;
    background: rgba(3, 16, 20, .985);
  }
  .pm-nav.is-open { display: flex; }
  .pm-nav a { padding: 1rem 0; border-bottom: 1px solid rgba(246, 242, 234, .13); font-size: .9rem; }
  .pm-nav .pm-nav-cta { margin-top: 1rem; padding: 1rem; text-align: center; }
  .pm-section-head--split, .pm-route-grid, .pm-feature-grid, .pm-one-grid, .pm-partner-grid, .pm-contact-grid { grid-template-columns: 1fr; }
  .pm-section-head--split { gap: 1.5rem; }
  .pm-route-card { min-height: 520px; }
  .pm-feature-media { min-height: 610px; }
  .pm-one-media { min-height: 760px; max-width: 650px; }
  .pm-partner-grid { gap: 54px; }
  .pm-partner-copy { padding-block: 0; }
  .pm-partner-visual { min-height: 0; }
  .pm-partner-media { min-height: 640px; }
  .pm-partner-panel { width: calc(100% - 48px); margin: -78px 24px 0; }
  .pm-footer-top { grid-template-columns: 1fr; }
  .pm-footer-nav { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .pm-shell { width: min(calc(100% - 28px), var(--pm-max)); }
  .pm-header-inner { min-height: 74px; }
  .pm-nav { inset-top: 74px; min-height: calc(100vh - 74px); }
  .pm-brand { width: 220px; }
  .pm-hero { min-height: 820px; }
  .pm-hero-media { background-position: 63% center; }
  .pm-hero-shade { background: linear-gradient(90deg, rgba(3,16,20,.98) 0%, rgba(3,16,20,.78) 64%, rgba(3,16,20,.22) 100%), linear-gradient(0deg, rgba(3,16,20,.88), transparent 45%); }
  .pm-hero-inner { padding-top: 130px; padding-bottom: 152px; }
  .pm-hero h1 { font-size: clamp(3.2rem, 16vw, 5.1rem); line-height: .84; }
  .pm-hero-intro { max-width: 94%; font-size: 1rem; }
  .pm-actions { flex-direction: column; align-items: stretch; }
  .pm-button { width: 100%; }
  .pm-hero-rail { min-height: 116px; grid-template-columns: repeat(2, 1fr); padding-inline: 14px; }
  .pm-hero-rail span { padding: 0 10px; font-size: .55rem; }
  .pm-hero-rail span:nth-child(3) { border-left: 0; }
  .pm-hero-rail span:nth-child(n+3) { border-top: 1px solid rgba(246, 242, 234, .16); }
  .pm-section { padding: 78px 0; }
  .pm-section h2 { font-size: clamp(2.45rem, 12vw, 3.8rem); }
  .pm-route-card { min-height: 0; padding: 30px 24px; }
  .pm-route-card .pm-text-link { margin-top: 2rem; }
  .pm-credit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-credit { min-height: 202px; padding: 18px; }
  .pm-credit strong { font-size: 1.3rem; }
  .pm-credit-label { font-size: .5rem; }
  .pm-credit-projects > span { padding-left: 12px; font-size: .64rem; }
  .pm-feature-media { min-height: 430px; }
  .pm-one-media { min-height: 610px; }
  .pm-partner-grid { gap: 42px; }
  .pm-partner-media { min-height: 480px; background-position: 58% center; }
  .pm-partner-media::after { inset: 12px; }
  .pm-partner-panel { width: calc(100% - 20px); margin: -54px 10px 0; padding: 28px 24px; }
  .pm-journey > div { grid-template-columns: 38px 1fr; }
  .pm-journey p { grid-column: 2; }
  .pm-principle-grid { grid-template-columns: 1fr; }
  .pm-principle-grid article { min-height: 245px; }
  .pm-form-grid { grid-template-columns: 1fr; }
  .pm-field--full { grid-column: auto; }
}

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