/* ============================================================
   PAGES.CSS — page templates, archive, about, contact, journal
   ============================================================ */

/* ============================================================
   GENERIC PAGE HERO
   ============================================================ */

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero--has-image {
  min-height: 50vh;
}

.page-hero--no-image {
  min-height: 200px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.page-hero__image {
  position: absolute;
  inset: 0;
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.85) 0%, rgba(17,17,17,0.3) 60%, transparent 100%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-10);
  padding-top: var(--space-10);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 300;
  color: var(--cp-cream);
  line-height: 1.15;
  margin-top: var(--space-4);
}

.page-hero--no-image .page-hero__title {
  color: var(--color-text);
}

/* Page content prose */
.page-content {
  max-width: 760px;
}

/* ============================================================
   JOURNAL ARCHIVE
   ============================================================ */

.journal-archive__header {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-12);
}

.journal-archive__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 300;
  color: var(--color-text);
  margin-block: var(--space-3) var(--space-4);
}

.journal-archive__desc {
  color: var(--cp-muted-light);
  max-width: 56ch;
  margin-bottom: var(--space-8);
}

.journal-archive__filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--cp-muted-light);
  transition: all var(--duration-fast) var(--ease-out);
  text-decoration: none;
}

.filter-pill:hover {
  border-color: var(--cp-gold);
  color: var(--cp-gold);
}

.filter-pill--active {
  background: var(--cp-gold);
  border-color: var(--cp-gold);
  color: #111111;
}

.filter-pill__count {
  font-size: 10px;
  opacity: 0.7;
}

/* Journal featured post */
.journal-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration-base);
}

.journal-featured:hover {
  border-color: var(--color-border-mid);
}

.journal-featured__image {
  display: block;
  position: relative;
  overflow: hidden;
}

.journal-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-xl) var(--ease-out);
}

.journal-featured:hover .journal-featured__image img {
  transform: scale(1.04);
}

.journal-featured__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.15);
  transition: background var(--duration-base);
}

.journal-featured__body {
  padding: var(--space-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-5);
  background: var(--color-bg-alt);
}

.journal-featured__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.journal-featured__date,
.journal-featured__read {
  font-size: var(--text-xs);
  color: var(--cp-muted);
}

.journal-featured__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  line-height: 1.2;
}

.journal-featured__title a {
  color: var(--color-text);
  transition: color var(--duration-fast);
}

.journal-featured__title a:hover {
  color: var(--cp-gold);
}

.journal-featured__excerpt {
  color: var(--cp-muted-light);
  line-height: 1.8;
  font-size: var(--text-base);
}

@media (max-width: 768px) {
  .journal-featured {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .journal-featured__image { min-height: 280px; }
  .journal-featured__body  { padding: var(--space-8); }
}

/* Journal card additions */
.journal-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.journal-card__date {
  font-size: var(--text-xs);
  color: var(--cp-muted);
}

.journal-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-4);
}

.journal-card__read {
  font-size: var(--text-xs);
  color: var(--cp-muted);
}

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

.about-intro__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-16);
  align-items: flex-start;
}

@media (max-width: 900px) {
  .about-intro__inner {
    grid-template-columns: 1fr;
  }
}

.about-intro__text .eyebrow {
  margin-bottom: var(--space-4);
}

.about-intro__text h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  line-height: 1.2;
}

.about-intro__body p {
  color: var(--cp-muted-light);
  line-height: 1.85;
  margin-bottom: var(--space-5);
  max-width: none;
}

.about-stat-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-8);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.about-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-stat__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--cp-gold);
  line-height: 1;
}

.about-stat__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cp-muted);
}

/* About values */
.about-values {
  background: rgba(255,255,255,0.01);
  border-top: 1px solid var(--color-border);
}

.value-card {
  padding: var(--space-8) 0;
}

.value-card__line {
  width: 32px;
  height: 1px;
  background: var(--cp-gold);
  margin-bottom: var(--space-5);
}

.value-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.value-card__text {
  font-size: var(--text-sm);
  color: var(--cp-muted-light);
  line-height: 1.8;
  max-width: 28ch;
}

/* Team cards */
.team-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration-base), transform var(--duration-base);
}

.team-card:hover {
  border-color: var(--color-border-mid);
  transform: translateY(-4px);
}

.team-card__photo {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-xl) var(--ease-out);
}

.team-card:hover .team-card__photo img {
  transform: scale(1.04);
}

.team-card__info {
  padding: var(--space-6);
}

.team-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.team-card__role {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cp-gold);
  margin-bottom: var(--space-4);
}

.team-card__bio {
  font-size: var(--text-sm);
  color: var(--cp-muted-light);
  line-height: 1.7;
  max-width: none;
}

/* ============================================================
   EXPERIENCES ARCHIVE
   ============================================================ */

.experiences-archive__header {
  padding-block: var(--space-12);
}

.experiences-archive__filter {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

/* ============================================================
   GENERIC RELATED SECTIONS
   ============================================================ */

.related-posts,
.related-experiences {
  background: var(--color-bg-alt);
}

/* ============================================================
   SERVICE PAGE
   ============================================================ */

.service-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.service-hero__bg {
  position: absolute;
  inset: 0;
}

.service-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero__bg--color {
  background: var(--color-bg-alt);
}

.service-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.92) 0%, rgba(17,17,17,0.3) 60%, transparent 100%);
}

.service-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-12);
}

.service-hero__inner {
  max-width: 720px;
}

.service-hero__icon {
  width: 56px;
  height: 56px;
  color: var(--cp-gold);
  margin-bottom: var(--space-6);
}

.service-hero__icon svg {
  width: 100%;
  height: 100%;
}

.service-hero__title {
  color: var(--cp-cream);
  margin-block: var(--space-4) var(--space-5);
}

.service-hero__tagline {
  font-size: var(--text-xl);
  color: rgba(247,244,239,0.75);
  max-width: 52ch;
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.service-hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.service-intro__inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-12);
  align-items: flex-start;
}

@media (max-width: 900px) {
  .service-intro__inner {
    grid-template-columns: 1fr;
  }
}

.service-intro__text .eyebrow { margin-bottom: var(--space-4); }

.service-intro__features {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.service-intro__features-heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.service-features-list__item {
  font-size: var(--text-sm);
  color: var(--cp-muted-light);
  padding-left: var(--space-6);
  position: relative;
  line-height: 1.6;
}

.service-features-list__item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cp-gold);
  font-weight: 600;
}

.service-process__grid {
  margin-top: var(--space-4);
}

.process-step {
  padding: var(--space-8) 0;
}

.process-step__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: rgba(201,169,110,0.15);
  display: block;
  margin-bottom: var(--space-4);
  line-height: 1;
}

.process-step .divider--short { margin-block: var(--space-4); }

.process-step__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.process-step__text {
  font-size: var(--text-sm);
  color: var(--cp-muted-light);
  line-height: 1.8;
  max-width: 32ch;
}

.service-enquiry__inner {
  display: grid;
  grid-template-columns: 1fr 540px;
  gap: var(--space-16);
  align-items: flex-start;
}

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

.service-enquiry__text .eyebrow { margin-bottom: var(--space-4); }

.service-enquiry__text h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

/* ============================================================
   SERVICES OVERVIEW PAGE
   ============================================================ */

.service-pillar-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration-base), transform var(--duration-base), box-shadow var(--duration-base);
  display: flex;
  flex-direction: column;
}

.service-pillar-card:hover {
  border-color: rgba(201,169,110,0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.service-pillar-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.service-pillar-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-xl) var(--ease-out);
}

.service-pillar-card:hover .service-pillar-card__image img {
  transform: scale(1.05);
}

.service-pillar-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.6), transparent 60%);
}

.service-pillar-card__icon {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  width: 36px;
  height: 36px;
  color: var(--cp-gold);
}

.service-pillar-card__icon svg { width: 100%; height: 100%; }

.service-pillar-card__icon-only {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  color: var(--cp-gold);
  border-bottom: 1px solid var(--color-border);
  background: rgba(201,169,110,0.04);
}

.service-pillar-card__icon-only svg { width: 40px; height: 40px; }

.service-pillar-card__body {
  padding: var(--space-6) var(--space-6) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
}

.service-pillar-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.2;
}

.service-pillar-card__tagline {
  font-size: var(--text-sm);
  color: var(--cp-muted-light);
  line-height: 1.7;
}

.service-pillar-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.service-pillar-card__features li {
  font-size: var(--text-xs);
  color: var(--cp-muted);
  padding-left: var(--space-5);
  position: relative;
  line-height: 1.5;
}

.service-pillar-card__features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cp-gold);
  font-size: 10px;
}

.service-pillar-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ============================================================
   LANDING PAGE
   ============================================================ */

.landing-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(17,17,17,0.97);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
}

.landing-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.landing-header__logo img { height: 40px; width: auto; }

.landing-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.landing-hero__bg { position: absolute; inset: 0; }
.landing-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.landing-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(17,17,17,0.6) 0%, rgba(17,17,17,0.5) 100%);
}

.landing-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-block: var(--space-16);
}

.landing-hero__sub {
  font-size: var(--text-lg);
  color: rgba(247,244,239,0.75);
  max-width: 52ch;
  margin-block: var(--space-5) var(--space-8);
  line-height: 1.7;
}

.landing-hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.landing-content__prose { max-width: 76ch; margin-inline: auto; }

.landing-footer {
  background: #111111;
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-6);
}

.landing-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.landing-footer__copy { font-size: var(--text-xs); color: var(--cp-muted); }
.landing-footer__copy a { color: var(--cp-gold); }
.landing-footer__address { font-style: normal; font-size: var(--text-xs); color: var(--cp-muted); }

/* ============================================================
   PRESS PAGE
   ============================================================ */

.press-intro__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-12);
  align-items: flex-start;
}

@media (max-width: 900px) {
  .press-intro__inner { grid-template-columns: 1fr; }
}

.press-meta-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.press-meta-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.press-meta-row {
  display: flex;
  justify-content: space-between;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
  gap: var(--space-4);
}

.press-meta-row:last-child { border-bottom: none; }
.press-meta-label { color: var(--cp-muted); flex-shrink: 0; }
.press-meta-value { color: var(--color-text); text-align: right; }

/* ============================================================
   SOCIAL SHARE COMPONENT
   ============================================================ */

.social-share {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.social-share__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cp-muted);
}

.social-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--cp-muted-light);
  transition: all var(--duration-fast);
  background: none;
  cursor: pointer;
  text-decoration: none;
}

.social-share__btn svg { width: 16px; height: 16px; }
.social-share__btn:hover { border-color: var(--cp-gold); color: var(--cp-gold); }
.social-share__btn--copy.copied { border-color: var(--cp-gold); color: var(--cp-gold); }

.social-share--floating {
  position: sticky;
  top: 120px;
  flex-direction: column;
  gap: var(--space-2);
}

/* ============================================================
   PRESS PAGE
   ============================================================ */

.press-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration-base), transform var(--duration-base);
}

.press-item:hover {
  border-color: var(--color-border-mid);
  transform: translateY(-3px);
}

.press-item__logo {
  aspect-ratio: 16/7;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.press-item__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-6);
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity var(--duration-base);
}

.press-item:hover .press-item__logo img { opacity: 0.9; }

.press-item__body { padding: var(--space-6); }

.press-item__date {
  font-size: var(--text-xs);
  color: var(--cp-muted);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: var(--space-3);
}

.press-item__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  margin-bottom: var(--space-3);
}

.press-item__title a {
  color: var(--color-text);
  transition: color var(--duration-fast);
}

.press-item__title a:hover { color: var(--cp-gold); }

.press-item__excerpt {
  font-size: var(--text-sm);
  color: var(--cp-muted-light);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Press contact layout */
.press-contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: flex-start;
}

@media (max-width: 768px) {
  .press-contact__inner { grid-template-columns: 1fr; }
}

.press-contact__text .eyebrow { margin-bottom: var(--space-4); }

.press-contact__text h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.press-contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.press-contact__email {
  font-size: var(--text-lg);
  color: var(--cp-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.press-download-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.press-download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.press-download-item:last-child { border-bottom: none; }

.press-download-item__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 2px;
}

.press-download-item__desc {
  display: block;
  font-size: var(--text-xs);
  color: var(--cp-muted);
}

/* ============================================================
   LANDING PAGE
   ============================================================ */

.landing-header {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border);
}

.landing-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.landing-hero__bg {
  position: absolute;
  inset: 0;
}

.landing-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.4) 60%, transparent 100%);
}

.landing-hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.landing-hero__title {
  color: var(--cp-cream);
  margin-bottom: var(--space-6);
}

.landing-hero__subtitle {
  font-size: var(--text-xl);
  color: rgba(247,244,239,0.7);
  margin-bottom: var(--space-8);
  line-height: 1.6;
  max-width: 52ch;
}

.landing-hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.landing-content { max-width: 760px; }

.landing-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-6) 0;
}

.landing-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.landing-footer p {
  font-size: var(--text-xs);
  color: var(--cp-muted);
  max-width: none;
}

.landing-footer a { color: var(--cp-muted-light); transition: color var(--duration-fast); }
.landing-footer a:hover { color: var(--cp-gold); }
