/* ==========================================================
   Event theme – World Architecture Day 2026 home page
   Loaded after style.css / responsive.css; all rules are
   scoped with the "ph-" prefix so the template stays intact.
   ========================================================== */

:root {
  --ph-brand-900: #111b24;
  --ph-brand-800: #1a2a38;
  --ph-brand-700: #23415a;
  --ph-brand-500: #2f6a8f;
  --ph-gold: #e8b56a;
  --ph-gold-soft: #f6ead7;
  --ph-tint: #f5f1ea;
  --ph-navy: #1a2a38;
  --ph-accent: #d9622b;
  --ph-accent-dark: #b84d1d;
  --ph-ink: #1c242c;
  --ph-muted: #5f6b76;
  --ph-line: #e3dccf;
  --ph-radius: 14px;
  --ph-shadow: 0 18px 40px -18px rgba(17, 27, 36, 0.35);
  --ph-font: 'Outfit', 'Roboto', sans-serif;
  --ph-grid: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2740%27 height=%2740%27 viewBox=%270 0 40 40%27%3E%3Cpath d=%27M40 0H0V40%27 fill=%27none%27 stroke=%27%23ffffff%27 stroke-opacity=%270.08%27 stroke-width=%271%27/%3E%3Cpath d=%27M20 0V40M0 20H40%27 fill=%27none%27 stroke=%27%23ffffff%27 stroke-opacity=%270.035%27 stroke-width=%271%27/%3E%3C/svg%3E");
}

.ph-page,
.ph-page p,
.ph-page h1,
.ph-page h2,
.ph-page h3,
.ph-page h4 {
  font-family: var(--ph-font);
}

/* ---------- Header ---------- */
.ph-header.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
}
.ph-header.header.sticky {
  position: fixed;
  padding: 10px 0;
  background: rgba(17, 27, 36, 0.96);
  border-bottom-color: transparent;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.45);
}
.ph-header .ph-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ph-header .ph-logo {
  min-width: 0;
}
.ph-header .ph-logo img {
  max-height: 58px;
  width: auto;
  max-width: 100%;
}
.ph-header.sticky .ph-logo img {
  max-height: 46px;
}

/* ---------- Buttons ---------- */
.ph-btn {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--ph-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1;
  text-transform: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ph-btn:hover,
.ph-btn:focus {
  text-decoration: none;
  transform: translateY(-2px);
}
.ph-btn-accent {
  color: #fff;
  background: var(--ph-accent);
  box-shadow: 0 12px 24px -10px rgba(217, 98, 43, 0.7);
}
.ph-btn-accent:hover,
.ph-btn-accent:focus {
  color: #fff;
  background: var(--ph-accent-dark);
}
.ph-btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.ph-btn-ghost:hover,
.ph-btn-ghost:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}
.ph-btn-sm {
  height: 42px;
  padding: 0 22px;
  font-size: 14px;
}

/* ---------- Hero (centred, full-width photo behind a blueprint veil) ---------- */
.ph-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--ph-brand-900);
  padding: 150px 0 140px;
}
.ph-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}
.ph-hero:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(47, 106, 143, 0.55) 0%, rgba(17, 27, 36, 0) 65%),
    radial-gradient(circle at 85% 100%, rgba(217, 98, 43, 0.22) 0%, rgba(217, 98, 43, 0) 45%),
    linear-gradient(160deg, #1d3448 0%, #111b24 70%);
}
.ph-hero:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: var(--ph-grid);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 80%);
  mask-image: radial-gradient(ellipse at center, transparent 30%, #000 80%);
}
.ph-hero .container {
  position: relative;
  z-index: 2;
}

/* blueprint skyline along the bottom of the hero */
.ph-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 220px;
  color: rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

/* floating outline blocks – on the outer edges, clear of the centred text */
.ph-shape {
  position: absolute;
  z-index: 2;
  width: 74px;
  height: 74px;
  border: 2px solid rgba(232, 181, 106, 0.75);
  border-radius: 4px;
  transform: rotate(45deg);
  animation: ph-float 8s ease-in-out infinite;
  pointer-events: none;
}
.ph-shape:after {
  content: '';
  position: absolute;
  inset: 12px;
  background: var(--ph-accent);
  opacity: 0.85;
  border-radius: 2px;
}
.ph-shape-1 {
  top: 24%;
  left: 7%;
}
.ph-shape-2 {
  top: 30%;
  right: 8%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  animation-delay: -3s;
}
.ph-shape-2:after {
  inset: 9px;
  border-radius: 50%;
  background: var(--ph-gold);
}
.ph-shape-3 {
  bottom: 30%;
  left: 13%;
  width: 0;
  height: 0;
  border: 0;
  border-left: 26px solid transparent;
  border-right: 26px solid transparent;
  border-bottom: 44px solid rgba(232, 181, 106, 0.55);
  border-radius: 0;
  transform: rotate(-14deg);
  animation-delay: -5s;
}
.ph-shape-3:after {
  display: none;
}
@keyframes ph-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}


.ph-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.ph-acronym {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--ph-brand-900);
  background: linear-gradient(90deg, var(--ph-accent) 0%, #f2b77a 100%);
  box-shadow: 0 10px 20px -10px rgba(217, 98, 43, 0.8);
}
.ph-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(232, 181, 106, 0.18);
  border: 1px solid rgba(232, 181, 106, 0.55);
}
.ph-badge i {
  color: var(--ph-gold);
}

.ph-hero-kicker {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}
.ph-hero-title {
  max-width: 900px;
  margin: 0 auto 28px;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}
.ph-hero-title span {
  display: block;
  color: #f2a571;
}

.ph-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.ph-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.ph-meta li i {
  color: var(--ph-accent);
}

/* countdown */
.ph-countdown {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.ph-count {
  width: 92px;
  padding: 14px 6px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 3px solid var(--ph-accent);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.ph-count strong {
  display: block;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.ph-count small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.ph-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- Conference days strip ---------- */
.ph-days {
  position: relative;
  z-index: 5;
  margin-top: -64px;
  padding: 0;
  background: linear-gradient(180deg, transparent 0 64px, var(--ph-tint) 64px);
}
.ph-day-card {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 18px;
  border-radius: var(--ph-radius);
  background: #fff;
  box-shadow: var(--ph-shadow);
  border: 1px solid var(--ph-line);
}
.ph-day-no {
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(145deg, var(--ph-brand-500) 0%, var(--ph-brand-700) 100%);
}
.ph-day-no b {
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  color: #fff;
}
.ph-day-no i {
  font-size: 26px;
  color: #fff;
}
.ph-day-card-fee .ph-day-no {
  background: linear-gradient(145deg, #f2b77a 0%, var(--ph-accent-dark) 100%);
}
.ph-day-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--ph-ink);
}
.ph-day-card small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ph-muted);
}
.ph-day-card small i {
  margin-right: 3px;
  color: var(--ph-brand-500);
}
.ph-day-card-fee small i {
  color: var(--ph-accent-dark);
}

/* ---------- Events ---------- */
.ph-events {
  padding: 64px 0 56px;
  background: var(--ph-tint);
}
.ph-events .ph-eyebrow:after {
  content: '';
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--ph-accent);
}
.ph-events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.ph-event {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px 24px;
  border-radius: var(--ph-radius);
  background: #fff;
  border: 1px solid var(--ph-line);
  box-shadow: 0 10px 30px -22px rgba(17, 27, 36, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ph-event:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--ph-accent) 0%, var(--ph-gold) 100%);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.ph-event:hover {
  transform: translateY(-4px);
  border-color: #d9cfbf;
  box-shadow: var(--ph-shadow);
}
.ph-event:hover:before {
  transform: scaleX(1);
}
.ph-event-no {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px #d9cfbf;
}
.ph-event-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 12px;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(145deg, var(--ph-brand-500) 0%, var(--ph-brand-700) 100%);
}
.ph-event h3 {
  margin: 0 0 6px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--ph-brand-900);
}
.ph-event-fee {
  margin: 0 0 20px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--ph-accent-dark);
}
.ph-event-fee i {
  font-size: 20px;
}
.ph-event-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--ph-brand-700);
}
.ph-event-btn i {
  transition: transform 0.2s ease;
}
.ph-event-btn:hover,
.ph-event-btn:focus {
  color: var(--ph-accent-dark);
  text-decoration: none;
}
.ph-event-btn:hover i {
  transform: translateX(4px);
}

/* department chips */
.ph-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.ph-chips li {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ph-brand-700);
  background: var(--ph-tint);
  border: 1px solid var(--ph-line);
}

/* ---------- Organisers ---------- */
.ph-hosts {
  padding: 48px 0 52px;
  background: #fff;
}
.ph-hosts-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr;
  align-items: center;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.ph-host {
  text-align: center;
}
.ph-host-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
  border-radius: 50%;
  font-size: 24px;
  color: var(--ph-brand-700);
  background: var(--ph-tint);
  box-shadow: inset 0 0 0 1px var(--ph-line);
}
.ph-host-icon-alt {
  color: var(--ph-accent-dark);
  background: #fbe9df;
  box-shadow: inset 0 0 0 1px #f3cdb7;
}
.ph-host small {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ph-brand-500);
}
.ph-host strong {
  display: block;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--ph-ink);
}
.ph-host > span:not(.ph-host-icon) {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--ph-muted);
}
.ph-host-sep {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
}
.ph-host-sep:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px dashed var(--ph-line);
}
.ph-host-sep i {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 13px;
  color: #fff;
  background: var(--ph-brand-700);
}

/* ---------- Registration ---------- */
.ph-register {
  position: relative;
  padding: 56px 0 48px;
  background: var(--ph-tint);
  color: var(--ph-ink);
}
.ph-section-head {
  margin-bottom: 28px;
}
.ph-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ph-brand-500);
}
.ph-eyebrow:before {
  content: '';
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--ph-accent);
}
.ph-section-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--ph-brand-900);
}

/* registration pass (ticket-style summary) */
.ph-pass {
  position: sticky;
  top: 96px;
  border-radius: var(--ph-radius);
  background: #fff;
  box-shadow: var(--ph-shadow);
}
.ph-pass-top {
  position: relative;
  overflow: hidden;
  padding: 28px 28px 26px;
  border-radius: var(--ph-radius) var(--ph-radius) 0 0;
  color: #fff;
  background: linear-gradient(150deg, var(--ph-brand-500) 0%, var(--ph-brand-700) 55%, var(--ph-brand-900) 100%);
}
.ph-pass-top:after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--ph-grid);
  background-size: 40px 40px;
  pointer-events: none;
}
.ph-pass-top > * {
  position: relative;
  z-index: 1;
}
.ph-pass-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.ph-pass-title {
  margin: 2px 0 14px;
  font-size: 20px;
  font-weight: 800;
  color: #f2b77a;
}
.ph-fee {
  margin: 0 0 8px;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
}
.ph-fee-note {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ph-brand-900);
  background: var(--ph-gold-soft);
}
.ph-pass-cut {
  position: relative;
  height: 26px;
}
.ph-pass-cut:before,
.ph-pass-cut:after {
  content: '';
  position: absolute;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ph-tint);
}
.ph-pass-cut:before { left: -13px; }
.ph-pass-cut:after { right: -13px; }
.ph-pass-list {
  position: relative;
  margin: 0;
  padding: 10px 28px 28px;
  list-style: none;
}
.ph-pass-list:before {
  content: '';
  position: absolute;
  top: -13px;
  left: 22px;
  right: 22px;
  border-top: 2px dashed var(--ph-line);
}
.ph-pass-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ph-ink);
}
.ph-pass-list li:last-child {
  margin-bottom: 0;
}
.ph-pass-list li i {
  flex: 0 0 18px;
  margin-top: 4px;
  color: var(--ph-brand-500);
}

/* form */
.ph-form-card {
  height: 100%;
  padding: 32px 34px 28px;
  border-radius: var(--ph-radius);
  background: #fff;
  box-shadow: var(--ph-shadow);
  border: 1px solid var(--ph-line);
  border-top: 4px solid var(--ph-brand-500);
}
.ph-form-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ph-brand-900);
}
.ph-form-card .ph-form-sub {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--ph-muted);
}
.ph-form-card label {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ph-ink);
}
.ph-form-card .form-group {
  margin-bottom: 20px;
}
.ph-form-card .form-control {
  height: 50px;
  padding: 0 16px;
  font-size: 15px;
  color: var(--ph-ink);
  background: #fbf9f5;
  border: 1px solid var(--ph-line);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ph-form-card .form-control::placeholder {
  color: #a3a9ae;
}
.ph-form-card .form-control:focus {
  background: #fff;
  border-color: var(--ph-brand-500);
  box-shadow: 0 0 0 4px rgba(47, 106, 143, 0.15);
  outline: none;
}
.ph-form-card form {
  margin: 0;
}
.ph-form-card .text-center br {
  display: none;
}
.ph-form-card .text-center {
  margin-top: 4px;
}
.ph-form-card input[type="submit"].btn {
  width: 100%;
  max-width: 320px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  font-family: var(--ph-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, var(--ph-brand-700) 0%, var(--ph-brand-500) 100%);
  box-shadow: 0 14px 26px -12px rgba(35, 65, 90, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ph-form-card input[type="submit"].btn:hover,
.ph-form-card input[type="submit"].btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -12px rgba(35, 65, 90, 0.9);
}

/* ---------- Footer ---------- */
.ph-footer {
  padding: 22px 0;
  background: var(--ph-brand-900);
  border-top: 4px solid var(--ph-accent);
}
.ph-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.ph-footer p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.7);
}
.ph-footer .ph-footer-name strong {
  color: #f2b77a;
}

.ph-page .BackTo {
  display: none;
  background: var(--ph-brand-500);
  box-shadow: 0 10px 20px -8px rgba(17, 27, 36, 0.6);
}

/* ---------- Status modals ---------- */
.ph-modal .modal-dialog {
  margin-top: 14vh;
}
.ph-modal .modal-content {
  border: 0;
  border-radius: var(--ph-radius);
  overflow: hidden;
  box-shadow: var(--ph-shadow);
}
.ph-modal .modal-body {
  padding: 36px 30px 30px;
  text-align: center;
}
.ph-modal p {
  color: var(--ph-ink);
  font-size: 16px;
  line-height: 1.6;
}
.ph-modal .ph-modal-link {
  display: inline-block;
  margin-top: 14px;
  cursor: pointer;
  font-weight: 700;
  color: var(--ph-brand-700);
}
.ph-modal .ph-modal-link:hover {
  color: var(--ph-brand-500);
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .ph-hero-title { font-size: 44px; }
  .ph-shape { display: none; }
}
@media (max-width: 991px) {
  .ph-events-grid { grid-template-columns: repeat(2, 1fr); }
  .ph-hero { padding: 130px 0 120px; }
  .ph-hero-title { font-size: 38px; }
  .ph-pass { position: relative; top: auto; margin-bottom: 24px; }
}
@media (max-width: 767px) {
  .ph-header .ph-logo img { max-height: 42px; }
  .ph-hero { padding: 110px 0 110px; }
  .ph-hero-title { font-size: 30px; }
  .ph-skyline { height: 130px; }
  .ph-hero-kicker { font-size: 16px; }
  .ph-days .col-md-4 { margin-bottom: 14px; }
  .ph-days .row { margin-bottom: -14px; }
  .ph-hosts { padding: 40px 0; }
  .ph-hosts-grid { grid-template-columns: 1fr; gap: 18px; }
  .ph-host-sep { width: auto; height: 36px; }
  .ph-host-sep:before { top: 50%; bottom: auto; left: 0; right: 0; border-left: 0; border-top: 1px dashed var(--ph-line); }
  .ph-section-title { font-size: 28px; }
  .ph-register { padding: 40px 0 28px; }
  .ph-form-card { padding: 28px 20px; }
  .ph-pass-top { padding: 24px 22px; }
  .ph-pass-list { padding: 10px 22px 24px; }
  .ph-footer-inner { justify-content: center; text-align: center; }
}
@media (max-width: 575px) {
  .ph-events-grid { grid-template-columns: 1fr; }
  .ph-events { padding: 48px 0 40px; }
  .ph-meta li { font-size: 14px; }
  .ph-countdown { gap: 8px; }
  .ph-count { width: 70px; padding: 10px 4px; }
  .ph-count strong { font-size: 24px; }
  .ph-count small { font-size: 10px; letter-spacing: 1px; }
  .ph-btn { height: 46px; padding: 0 22px; }
  .ph-btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
}
@media (max-width: 399px) {
  .ph-header .ph-btn-sm { padding: 0 14px; }
  .ph-header .ph-btn-sm i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-shape { animation: none; }
  .ph-event, .ph-event:before, .ph-event-btn i { transition: none; }
  .ph-btn, .ph-form-card input[type="submit"].btn { transition: none; }
}

.ph-page sup {
  font-size: 60%;
  top: -0.6em;
}
.ph-meta li span,
.ph-pass-list li span {
  display: inline;
}

/* selects match the text inputs */
.ph-form-card select.form-control {
  height: 50px !important;
  padding: 0 12px;
  cursor: pointer;
}

/* ==========================================================
   Refinements – form icons, event colours, fee table
   ========================================================== */

/* form fields with leading icons */
.ph-field {
  position: relative;
}
.ph-field > i {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 2;
  width: 16px;
  text-align: center;
  font-size: 15px;
  color: #9aa3ab;
  transform: translateY(-50%);
  pointer-events: none;
  transition: color 0.2s ease;
}
.ph-form-card .ph-field .form-control {
  padding-left: 44px;
}
.ph-field:focus-within > i {
  color: var(--ph-accent);
}
.ph-form-card .ph-field-select select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235f6b76' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}
.ph-form-card .ph-field-select select.form-control:invalid {
  color: #a3a9ae;
}
.ph-form-card .ph-field-select select option {
  color: var(--ph-ink);
}
.ph-form-card {
  border-top-color: var(--ph-accent);
}

/* amount + submit row */
.ph-form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 2px dashed var(--ph-line);
}
.ph-form-total {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ph-muted);
}
.ph-form-total strong {
  display: block;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--ph-brand-900);
}
.ph-form-total strong i {
  font-size: 22px;
}
.ph-form-card .ph-form-foot input[type="submit"].btn {
  width: auto;
  min-width: 220px;
  padding: 0 34px;
  background: linear-gradient(90deg, var(--ph-accent-dark) 0%, var(--ph-accent) 100%);
  box-shadow: 0 14px 26px -12px rgba(217, 98, 43, 0.75);
}
.ph-form-card .ph-form-foot input[type="submit"].btn:hover,
.ph-form-card .ph-form-foot input[type="submit"].btn:focus {
  box-shadow: 0 18px 30px -12px rgba(217, 98, 43, 0.85);
}
.ph-form-secure {
  margin: 14px 0 0;
  font-size: 13px;
  text-align: right;
  color: var(--ph-muted);
}
.ph-form-secure i {
  margin-right: 4px;
  color: #3d8b5f;
}

/* event cards – one colour per event */
.ph-event-1 { --ev-a: #d4a24c; --ev-b: #9c6d1e; }
.ph-event-2 { --ev-a: #3f7fa8; --ev-b: #23415a; }
.ph-event-3 { --ev-a: #e0773f; --ev-b: #b84d1d; }
.ph-event-4 { --ev-a: #3a9a8e; --ev-b: #22685f; }
.ph-event:before {
  background: linear-gradient(90deg, var(--ev-a) 0%, var(--ev-b) 100%);
}
.ph-event-icon {
  background: linear-gradient(145deg, var(--ev-a) 0%, var(--ev-b) 100%);
  box-shadow: 0 10px 20px -10px var(--ev-b);
}
.ph-event-fee {
  color: var(--ev-b);
}
.ph-event-body {
  width: 100%;
}
.ph-event-btn {
  justify-content: center;
  width: 100%;
  height: 42px;
  border-radius: 999px;
  color: var(--ph-brand-900);
  background: var(--ph-tint);
  border: 1px solid var(--ph-line);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ph-event-btn:hover,
.ph-event-btn:focus {
  color: #fff;
  background: var(--ev-b);
  border-color: var(--ev-b);
}

/* organiser / audience separator */
.ph-host-sep i {
  width: 42px;
  height: 42px;
  font-size: 17px;
  background: var(--ph-accent);
  box-shadow: 0 0 0 6px #fff, 0 10px 20px -8px rgba(217, 98, 43, 0.7);
}

/* fee table in the event pass */
.ph-pass-list {
  padding-bottom: 18px;
}
.ph-pass-fees {
  padding: 0 28px 26px;
}
.ph-pass-fees-head {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ph-muted);
}
.ph-pass-fees ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ph-pass-fees li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
  padding: 9px 12px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  font-size: 14px;
  color: var(--ph-ink);
  background: #faf8f4;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.ph-pass-fees li b {
  font-weight: 800;
  color: var(--ph-brand-700);
}
.ph-pass-fees li.is-active {
  background: var(--ph-gold-soft);
  border-left-color: var(--ph-accent);
}
.ph-pass-fees li.is-active b {
  color: var(--ph-accent-dark);
}

@media (max-width: 767px) {
  .ph-pass-fees { padding: 0 22px 22px; }
  .ph-form-foot { justify-content: center; text-align: center; }
  .ph-form-card .ph-form-foot input[type="submit"].btn { width: 100%; }
  .ph-form-secure { text-align: center; }
}
@media (max-width: 575px) {
  .ph-events-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ph-event { padding: 18px 14px 14px; }
  .ph-event-no { display: none; }
  .ph-event-icon { width: 44px; height: 44px; margin-bottom: 12px; font-size: 18px; }
  .ph-event h3 { font-size: 16px; }
  .ph-event-fee { margin-bottom: 14px; font-size: 19px; }
  .ph-event-fee i { font-size: 15px; }
  .ph-event-btn { height: 38px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-field > i, .ph-event-btn, .ph-pass-fees li { transition: none; }
}
.ph-form-card {
  height: auto;
}
.ph-form-total .ph-form-hint {
  font-size: 16px;
  font-weight: 700;
  color: var(--ph-muted);
}
