/* Phil Stacey - Gold & Navy Editorial (matches the client index.html) */

html {
  scroll-behavior: smooth;
}
:target {
  scroll-margin-top: 90px;
}
body {
  font-family: "Inter", -apple-system, sans-serif !important;
  color: #171a21;
  background: #faf7f2;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .wp-block-heading, .wp-block-site-title {
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 600;
  line-height: 1.12;
}
h2.wp-block-heading {
  font-size: clamp(32px, 4.5vw, 46px);
  letter-spacing: -0.01em;
}
.ps-hero-title {
  font-size: clamp(44px, 6.5vw, 76px) !important;
  letter-spacing: -0.015em;
}
.ps-hero-title em {
  font-style: italic;
  color: #c19a5b;
}
.ps-lede, .ps-hero-lede {
  max-width: 640px;
}
.ps-journey .ps-lede,
.ps-contact .ps-lede {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.wp-block-button__link {
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.ps-btn-gold .wp-block-button__link {
  box-shadow: 0 10px 30px -10px rgba(193, 154, 91, 0.6);
}
.ps-btn-gold .wp-block-button__link:hover {
  background-color: #d0a967 !important;
  transform: translateY(-2px);
}
.ps-btn-ghost .wp-block-button__link {
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  background: transparent;
}
.ps-btn-ghost .wp-block-button__link:hover {
  border-color: rgba(255, 255, 255, 0.7) !important;
  transform: translateY(-2px);
}
.ps-btn-dark .wp-block-button__link:hover {
  background-color: #131a28 !important;
  transform: translateY(-2px);
}

/* Photo placeholders */
.ps-photo {
  position: relative;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.ps-photo .ps-photo-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.ps-hero-photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(200deg, rgba(193, 154, 91, 0.35), rgba(193, 154, 91, 0.06)), #232e45;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.ps-hero-photo::after {
  content: "";
  position: absolute;
  top: -14px;
  left: -14px;
  width: 100%;
  height: 100%;
  border: 1.5px solid rgba(193, 154, 91, 0.4);
  border-radius: 18px;
  z-index: -1;
}
.ps-about-photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(200deg, #f1ece3, #e2d9c8);
  border: none;
  box-shadow: 0 18px 50px -18px rgba(23, 26, 33, 0.25);
}
.ps-about-photo .ps-photo-label {
  color: #9b8e74;
}
.ps-about-photo::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 100%;
  height: 100%;
  border: 1.5px solid #c19a5b;
  border-radius: 18px;
  z-index: -1;
  opacity: 0.5;
}
.ps-mission-photo {
  aspect-ratio: 1 / 1;
  background: linear-gradient(200deg, rgba(193, 154, 91, 0.3), rgba(193, 154, 91, 0.05)), #232e45;
}
.ps-calendar-art {
  aspect-ratio: 4 / 5;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(200deg, rgba(193, 154, 91, 0.4), rgba(193, 154, 91, 0.08)), #232e45;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  transform: rotate(2.5deg);
}
.ps-calendar-art .ps-photo-label {
  font-size: 13px;
}

/* Hero stat strip */
.ps-hero-strip {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  gap: 1px !important;
}
.ps-hero-strip .wp-block-column {
  background: rgba(19, 26, 40, 0.75);
  padding: 22px 18px;
}
.ps-strip-num {
  font-family: "Fraunces", Georgia, serif !important;
  margin-bottom: 4px;
}
.ps-strip-label {
  margin-top: 0;
}

/* Cards */
.ps-timeline .wp-block-column,
.ps-works-grid .wp-block-column {
  display: flex;
}
.ps-card,
.ps-work-card {
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ps-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px -18px rgba(23, 26, 33, 0.25);
}
.ps-work-card {
  box-shadow: 0 18px 50px -18px rgba(23, 26, 33, 0.25);
}
.ps-tag {
  background: rgba(193, 154, 91, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-block;
  align-self: flex-start;
}

/* Quote */
.ps-quote {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 22px;
  border-left: 3px solid #c19a5b;
  padding-left: 22px;
  margin-top: 28px;
  margin-bottom: 28px;
  line-height: 1.45;
}
.ps-quote p {
  line-height: 1.45;
}

/* Mission points */
.ps-dot {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(193, 154, 91, 0.18);
  border: 1px solid rgba(193, 154, 91, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin: 0;
}

/* Newsletter */
.ps-newsletter {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 40px auto 0;
}
.ps-newsletter input {
  flex: 1;
  min-width: 0;
  padding: 15px 22px;
  border-radius: 999px;
  border: 1.5px solid #f1ece3;
  background: #ffffff;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s;
}
.ps-newsletter input:focus {
  border-color: #c19a5b;
}
.ps-newsletter button {
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  background: #c19a5b;
  color: #131a28;
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(193, 154, 91, 0.6);
  transition: transform 0.18s ease, background 0.18s ease;
}
.ps-newsletter button:hover {
  transform: translateY(-2px);
  background: #d0a967;
}
@media (max-width: 560px) {
  .ps-newsletter {
    flex-direction: column;
  }
}

/* Social links */
.ps-socials .wp-social-link {
  background: #ffffff !important;
  border: 1px solid #f1ece3;
  transition: transform 0.18s ease, background 0.18s ease;
}
.ps-socials .wp-social-link a {
  color: #4a4f5a;
}
.ps-socials .wp-social-link:hover {
  background: #1b2436 !important;
  transform: translateY(-3px);
}
.ps-socials .wp-social-link:hover a {
  color: #c19a5b;
}

/* Site header (Twenty Twenty-Five template part) */
header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 100;
}
header.wp-block-template-part > .wp-block-group {
  background: rgba(19, 26, 40, 0.92) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
header.wp-block-template-part .wp-block-site-title a {
  color: #ffffff;
  text-decoration: none;
  font-size: 21px;
}
header.wp-block-template-part .wp-block-navigation a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}
header.wp-block-template-part .wp-block-navigation a:hover {
  color: #c19a5b;
}
header.wp-block-template-part .wp-block-navigation__responsive-container-open {
  color: #ffffff;
}
.ps-nav-cta a {
  background: #c19a5b;
  color: #131a28 !important;
  padding: 9px 20px !important;
  border-radius: 999px;
  font-weight: 600 !important;
}
.ps-nav-cta a:hover {
  background: #d0a967;
  color: #131a28 !important;
}

/* Site footer */
footer.wp-block-template-part > .wp-block-group {
  background: #131a28 !important;
  color: rgba(255, 255, 255, 0.6);
}
footer.wp-block-template-part p,
footer.wp-block-template-part a,
footer.wp-block-template-part .wp-block-site-title a {
  color: rgba(255, 255, 255, 0.6) !important;
}
footer.wp-block-template-part a:hover {
  color: #c19a5b !important;
}
/* Hero strip: keep cells centered and labels on one line */
.ps-hero-strip .wp-block-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ps-strip-num {
  font-size: clamp(19px, 2.1vw, 26px) !important;
}
@media (max-width: 781px) {
  .ps-strip-num {
    font-size: 26px !important;
  }
}

/* Sticky header: clear the WP admin bar when logged in */
body.admin-bar header.wp-block-template-part {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar header.wp-block-template-part {
    top: 46px;
  }
}
@media screen and (max-width: 600px) {
  body.admin-bar header.wp-block-template-part {
    top: 0; /* admin bar scrolls away at this width */
  }
}

/* Nav links: readable on the navy header (theme ink color was winning) */
header.wp-block-template-part .wp-block-navigation a,
header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content,
header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__label {
  color: rgba(255, 255, 255, 0.88) !important;
}
header.wp-block-template-part .wp-block-navigation a:hover,
header.wp-block-template-part .wp-block-navigation a:hover .wp-block-navigation-item__label,
header.wp-block-template-part .wp-block-navigation a:focus,
header.wp-block-template-part .wp-block-navigation a:focus .wp-block-navigation-item__label {
  color: #c19a5b !important;
}
header.wp-block-template-part .wp-block-navigation .ps-nav-cta a,
header.wp-block-template-part .wp-block-navigation .ps-nav-cta a:hover,
header.wp-block-template-part .wp-block-navigation .ps-nav-cta a:focus,
header.wp-block-template-part .wp-block-navigation .ps-nav-cta .wp-block-navigation-item__label {
  color: #131a28 !important;
}
