:root {
  --zephy-blue: #081a56;
  --zephy-gold: #d4a030;
  --zephy-black: #020202;
  --zephy-white: #ffffff;
  --zephy-muted: rgba(255,255,255,0.75);
  --zephy-ink: #121621;
  --zephy-soft: #f5f7fb;
  --zephy-border: rgba(8,26,86,0.12);
  --zephy-shadow: 0 18px 50px rgba(8,26,86,0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fbfaf6;
  color: var(--zephy-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  height: auto;
  max-width: 100%;
}

.zephy-container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px;
  width: 100%;
}

.site-header {
  background: rgba(251,250,246,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(8,26,86,0.08);
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 50;
}

.header-inner {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 170px 1fr auto;
  min-height: 84px;
}

.brand img,
.custom-logo {
  display: block;
  max-height: 54px;
  object-fit: contain;
  width: auto;
}

.primary-navigation ul,
.site-footer ul {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-navigation a {
  color: rgba(8,26,86,0.82);
  font-size: 0.88rem;
  font-weight: 600;
}

.primary-navigation a:hover {
  color: var(--zephy-gold);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.btn,
.wp-block-button__link,
.button,
button[type="submit"],
input[type="submit"] {
  align-items: center;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
.wp-block-button__link:hover,
.button:hover {
  transform: translateY(-1px);
}

.btn-gold,
.is-style-zephy-gold .wp-block-button__link,
.wp-block-button__link {
  background: var(--zephy-gold);
  box-shadow: 0 12px 28px rgba(212,160,48,0.24);
  color: var(--zephy-black);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(8,26,86,0.16);
  color: var(--zephy-blue);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(8,26,86,0.18);
  color: var(--zephy-blue);
}

.menu-toggle {
  background: transparent;
  border: 1px solid rgba(8,26,86,0.18);
  border-radius: 6px;
  display: none;
  height: 42px;
  padding: 9px;
  width: 42px;
}

.menu-toggle span {
  background: var(--zephy-blue);
  display: block;
  height: 2px;
  margin: 5px 0;
}

.hero {
  background: #fbfaf6;
  color: var(--zephy-blue);
  overflow: hidden;
  padding: 96px 0 42px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.78fr);
}

.eyebrow {
  color: var(--zephy-gold);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: inherit;
  line-height: 1.08;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.7rem);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.5rem);
}

h3 {
  font-size: 1.35rem;
}

.hero p,
.section-heading p {
  color: rgba(18,22,33,0.72);
  font-size: 1.15rem;
  max-width: 760px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-portrait {
  aspect-ratio: 0.88 / 1;
  background: linear-gradient(145deg, rgba(8,26,86,0.08), rgba(212,160,48,0.16));
  border: 1px solid rgba(8,26,86,0.12);
  border-radius: 18px;
  box-shadow: 22px 22px 0 rgba(212,160,48,0.18), var(--zephy-shadow);
  display: grid;
  overflow: hidden;
  place-items: center;
}

.hero-portrait span {
  color: rgba(8,26,86,0.62);
  font-weight: 700;
  padding: 24px;
  text-align: center;
}

.marquee {
  border-top: 1px solid rgba(8,26,86,0.10);
  color: var(--zephy-blue);
  font-weight: 800;
  margin-top: 70px;
  overflow: hidden;
  padding-top: 24px;
  white-space: nowrap;
}

.marquee span {
  animation: zephy-marquee 28s linear infinite;
  display: inline-block;
  padding-left: 100%;
}

@keyframes zephy-marquee {
  to {
    transform: translateX(-100%);
  }
}

.section {
  padding: 82px 0;
}

.section-dark {
  background: var(--zephy-blue);
  color: var(--zephy-white);
}

.section-soft {
  background: var(--zephy-soft);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading p,
.section-dark p {
  color: var(--zephy-muted);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-card,
.service-card,
.stat-card {
  background: var(--zephy-white);
  border: 1px solid var(--zephy-border);
  border-radius: 8px;
  box-shadow: var(--zephy-shadow);
  padding: 26px;
}

.content-card img {
  border-radius: 6px;
  margin: -8px 0 18px;
}

.service-card h3,
.content-card h2,
.content-card h3 {
  color: var(--zephy-blue);
}

.stat-card {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: var(--zephy-white);
  text-align: center;
}

.stat-card strong {
  color: var(--zephy-gold);
  display: block;
  font-size: 2.1rem;
  line-height: 1;
}

.archive-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.text-link {
  color: var(--zephy-blue);
  font-weight: 800;
}

.page-shell,
.single-content {
  padding-bottom: 84px;
  padding-top: 70px;
}

.page-header {
  margin-bottom: 32px;
}

.page-header h1 {
  color: var(--zephy-blue);
}

.entry-content > * {
  max-width: 900px;
}

.entry-content .alignwide {
  max-width: 1180px;
}

.featured-media img {
  border-radius: 8px;
  box-shadow: var(--zephy-shadow);
  margin-bottom: 32px;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-list span {
  background: var(--zephy-soft);
  border-radius: 6px;
  color: var(--zephy-blue);
  font-weight: 700;
  padding: 8px 12px;
}

.site-footer {
  background: var(--zephy-black);
  color: var(--zephy-muted);
  padding: 46px 0;
}

.footer-grid {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.2fr 1fr auto;
}

.footer-logo {
  max-height: 58px;
  width: auto;
}

.site-footer a {
  color: var(--zephy-muted);
}

.site-footer a:hover {
  color: var(--zephy-gold);
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

input,
select,
textarea {
  border: 1px solid var(--zephy-border);
  border-radius: 6px;
  font: inherit;
  min-height: 46px;
  padding: 12px 14px;
  width: 100%;
}

textarea {
  min-height: 140px;
}

.donation-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.donation-amounts a {
  border: 1px solid var(--zephy-gold);
  border-radius: 6px;
  color: var(--zephy-blue);
  font-weight: 800;
  padding: 12px 18px;
}

.zephy-product-type {
  background: var(--zephy-gold);
  border-radius: 6px;
  color: var(--zephy-black);
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 10px;
  padding: 5px 8px;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 150px auto 42px;
  }

  .menu-toggle {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

  .primary-navigation,
  .header-actions {
    display: none;
  }

  body.nav-open .primary-navigation,
  body.nav-open .header-actions {
    display: flex;
  }

  body.nav-open .primary-navigation {
    grid-column: 1 / -1;
  }

  body.nav-open .primary-navigation ul {
    align-items: flex-start;
    flex-direction: column;
  }

  body.nav-open .header-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

/* Gerold-inspired ZEPHY direction */
.hero-gerold {
  min-height: calc(100vh - 84px);
  padding: 82px 0 34px;
}

.hero-copy h1 {
  font-size: clamp(4rem, 10.5vw, 9.6rem);
  letter-spacing: 0;
  line-height: .88;
  margin-bottom: 28px;
  max-width: 840px;
  text-transform: uppercase;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 span:nth-child(2) {
  color: transparent;
  -webkit-text-stroke: 2px var(--zephy-blue);
}

.hero-copy p {
  color: rgba(18,22,33,0.72);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  max-width: 680px;
}

.hero-visual {
  position: relative;
}

.hero-badge {
  align-items: center;
  background: var(--zephy-white);
  border: 1px solid rgba(8,26,86,0.10);
  border-radius: 10px;
  bottom: 28px;
  box-shadow: var(--zephy-shadow);
  display: flex;
  gap: 12px;
  left: -34px;
  max-width: 240px;
  padding: 16px 18px;
  position: absolute;
}

.hero-badge strong {
  color: var(--zephy-gold);
  font-size: 2.4rem;
  line-height: 1;
}

.hero-badge span {
  color: var(--zephy-blue);
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.25;
}

.section-about {
  background: var(--zephy-white);
}

.about-split {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
}

.zephy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.zephy-tags li {
  border: 1px solid rgba(8,26,86,0.12);
  border-radius: 999px;
  color: var(--zephy-blue);
  font-weight: 800;
  padding: 8px 14px;
}

.section-showcase .content-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  box-shadow: none;
  color: var(--zephy-white);
}

.section-showcase .content-card h3,
.section-showcase .text-link {
  color: var(--zephy-white);
}

.service-card {
  box-shadow: none;
  min-height: 260px;
  position: relative;
}

.service-card::after {
  color: rgba(212,160,48,0.35);
  content: "↗";
  font-size: 1.8rem;
  position: absolute;
  right: 22px;
  top: 18px;
}

.service-card:hover {
  border-color: rgba(212,160,48,0.56);
  transform: translateY(-4px);
  transition: transform .2s ease, border-color .2s ease;
}

.resume-list {
  display: grid;
  gap: 16px;
}

.resume-item {
  align-items: start;
  background: var(--zephy-white);
  border: 1px solid rgba(8,26,86,0.10);
  border-radius: 8px;
  display: grid;
  gap: 22px;
  grid-template-columns: 150px 1fr;
  padding: 24px;
}

.resume-item > span {
  color: var(--zephy-gold);
  font-weight: 900;
}

.resume-item h3 {
  color: var(--zephy-blue);
  margin-bottom: 8px;
}

.resume-item p {
  margin: 0;
}

.commerce-split {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.commerce-split h3 {
  color: var(--zephy-blue);
  margin-bottom: 20px;
}

.testimonial-strip {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 26px;
}

.testimonial-card h3 {
  color: var(--zephy-white);
}

.stars {
  color: var(--zephy-gold);
  font-size: .94rem;
  margin-bottom: 14px;
}

.section-contact-band {
  background: var(--zephy-gold);
  color: var(--zephy-black);
}

.section-contact-band .section-heading p {
  color: rgba(2,2,2,0.68);
}

.section-contact-band .btn-outline {
  border-color: rgba(2,2,2,0.28);
  color: var(--zephy-black);
}

.site-footer {
  padding-top: 72px;
}

@media (max-width: 860px) {
  .hero-gerold {
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: clamp(3.2rem, 17vw, 5.2rem);
  }

  .hero-badge {
    bottom: 16px;
    left: 16px;
  }

  .about-split,
  .commerce-split,
  .testimonial-strip,
  .resume-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .archive-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 62px;
  }

  .section {
    padding: 58px 0;
  }

  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
