/* Paphos Hub landing — imported from the Claude Design project "Paphos Hub.dc.html" */

:root {
  --ph-accent: #E8B84B;
  --ph-bg: #0D0C0A;
  --ph-ink: #F3EFE6;
  --ph-on-accent: #151208;
  --ph-pad-x: clamp(20px, 4vw, 56px);
}

html {
  background: var(--ph-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

@keyframes ph-pulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

.ph {
  background: var(--ph-bg);
  color: var(--ph-ink);
  font-family: "Golos Text", system-ui, sans-serif;
  min-height: 100vh;
}

.ph-h2 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 40px);
}

/* ============ NAV ============ */

.ph-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--ph-pad-x);
  background: linear-gradient(180deg, rgba(13,12,10,.85), rgba(13,12,10,0));
  backdrop-filter: blur(2px);
}

.ph-nav__brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.ph-logo {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .02em;
}

.ph-logo--small { font-size: 16px; }

.ph-logo__accent { color: var(--ph-accent); }

.ph-nav__tagline {
  font-size: 11px;
  color: rgba(243,239,230,.45);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ph-nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.ph-nav__links a {
  color: rgba(243,239,230,.75);
  text-decoration: none;
}

.ph-nav__links a:hover { color: var(--ph-ink); }

/* ============ HERO ============ */

.ph-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

.ph-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Warm sunset placeholder until uploads/hero.png lands in app/assets/images */
.ph-hero__bg--fallback {
  background:
    radial-gradient(ellipse 55% 65% at 72% 42%, rgba(232,184,75,.28), transparent 65%),
    radial-gradient(ellipse 70% 80% at 85% 70%, rgba(140,50,80,.35), transparent 70%),
    linear-gradient(200deg, #3A1D2E 0%, #2A1420 45%, #0D0C0A 100%);
}

.ph-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(13,12,10,.92) 0%,
    rgba(13,12,10,.64) 34%,
    rgba(13,12,10,.12) 62%,
    rgba(13,12,10,0) 82%);
}

.ph-hero__fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13,12,10,0), var(--ph-bg));
}

.ph-hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 var(--ph-pad-x);
}

.ph-hero__content {
  width: min(38vw, 560px);
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.ph-hero__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ph-accent);
}

.ph-hero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ph-accent);
  animation: ph-pulse 2.4s ease-in-out infinite;
}

.ph-hero__title {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.ph-hero__subtitle {
  margin: 0;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.55;
  color: rgba(243,239,230,.8);
  max-width: 44ch;
  text-wrap: pretty;
}

.ph-hero__note {
  font-size: 13px;
  color: rgba(243,239,230,.5);
}

/* ============ BUTTONS ============ */

.ph-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Golos Text", sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.ph-btn--accent {
  background: var(--ph-accent);
  color: var(--ph-on-accent);
}

.ph-btn--accent:hover { filter: brightness(1.1); }

.ph-btn--ghost {
  background: transparent;
  color: var(--ph-ink);
  font-weight: 500;
  font-size: 15px;
  padding: 13px 30px;
  border: 1px solid rgba(243,239,230,.25);
}

.ph-btn--ghost:hover {
  border-color: var(--ph-accent);
  color: var(--ph-accent);
}

.ph-btn__arrow { font-size: 18px; }

/* ============ SECTIONS ============ */

.ph-section {
  padding: 100px var(--ph-pad-x) 40px;
  scroll-margin-top: 60px;
}

.ph-section--about { padding-bottom: 100px; }

.ph-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.ph-section__title { margin-bottom: 44px; }

.ph-section__hint {
  font-size: 14px;
  color: rgba(243,239,230,.5);
}

/* ============ GALLERY ============ */

.ph-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
}

.ph-card {
  cursor: pointer;
  background: #161411;
  border: 1px solid rgba(243,239,230,.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ph-card:hover { border-color: rgba(243,239,230,.25); }

.ph-card__media { position: relative; }

.ph-card__img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ph-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  background: var(--ph-accent);
  color: var(--ph-on-accent);
  padding: 4px 10px;
  border-radius: 999px;
}

.ph-badge--upper {
  position: static;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 12px;
}

.ph-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ph-card__name {
  font-weight: 600;
  font-size: 16px;
}

.ph-card__topic {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(243,239,230,.72);
}

.ph-card__detail {
  display: none;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(243,239,230,.1);
  flex-direction: column;
  gap: 10px;
}

.ph-card.is-open .ph-card__detail { display: flex; }

.ph-card__detail-text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(243,239,230,.6);
}

.ph-card__more {
  font-size: 13px;
  color: var(--ph-accent);
  font-weight: 600;
}

.ph-card__date {
  font-size: 12px;
  color: rgba(243,239,230,.4);
}

/* ============ SCHEDULE ============ */

.ph-featured {
  display: flex;
  flex-wrap: wrap;
  background: linear-gradient(120deg, #1C1810, #161411);
  border: 1px solid rgba(243,239,230,.12);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 20px;
}

.ph-featured__media {
  flex: 1 1 320px;
  min-height: 320px;
  align-self: stretch;
}

.ph-featured__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-featured__body {
  flex: 2 1 460px;
  padding: clamp(28px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  align-items: flex-start;
}

.ph-featured__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.ph-featured__when {
  font-size: 14px;
  color: rgba(243,239,230,.6);
}

.ph-featured__topic {
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.25;
  text-wrap: balance;
}

.ph-featured__speaker {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(243,239,230,.75);
  max-width: 60ch;
}

.ph-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ph-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: #141210;
  border: 1px solid rgba(243,239,230,.07);
  border-radius: 12px;
  padding: 16px 22px;
}

.ph-row:hover { border-color: rgba(243,239,230,.2); }

.ph-row[hidden] { display: none; }

.ph-row__date {
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
  color: var(--ph-accent);
  min-width: 88px;
}

.ph-row__name {
  font-weight: 600;
  font-size: 15px;
  min-width: 160px;
}

.ph-row__topic {
  flex: 1;
  font-size: 14px;
  color: rgba(243,239,230,.65);
  min-width: 220px;
}

.ph-row__status {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ph-row__status--open { color: var(--ph-accent); }
.ph-row__status--soon { color: rgba(243,239,230,.5); }
.ph-row__status--past { color: rgba(243,239,230,.35); }

.ph-center {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ============ ABOUT ============ */

.ph-about {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.ph-about__text {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.ph-about__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(243,239,230,.8);
  max-width: 56ch;
  text-wrap: pretty;
}

.ph-about__motto {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ph-accent);
}

.ph-about__img {
  flex: 1 1 420px;
  height: 340px;
  min-width: 0;
  object-fit: cover;
  border-radius: 16px;
}

/* ============ FOOTER ============ */

.ph-footer {
  border-top: 1px solid rgba(243,239,230,.1);
  padding: 48px var(--ph-pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}

.ph-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ph-footer__note {
  font-size: 13px;
  color: rgba(243,239,230,.5);
}

.ph-footer__links {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  font-size: 14px;
}

.ph-footer__links a {
  color: rgba(243,239,230,.75);
  text-decoration: none;
}

.ph-footer__links a:hover { color: var(--ph-accent); }

/* ============ MOBILE ============ */

@media (max-width: 720px) {
  .ph-nav__tagline { display: none; }
  .ph-nav__links { gap: 16px; }

  .ph-hero__content {
    width: 100%;
    min-width: 0;
  }

  .ph-hero__shade {
    background: linear-gradient(90deg,
      rgba(13,12,10,.92) 0%,
      rgba(13,12,10,.72) 60%,
      rgba(13,12,10,.4) 100%);
  }
}
