.parish360-page,
.parish360-site-header,
.parish360-site-footer {
  --ink: #173d45;
  --ink-deep: #102d34;
  --orange: #df651e;
  --cream: #f2efe7;
  --sand: #e7e0d3;
  --white: #fffefa;
  --muted: #607076;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.parish360-page *,
.parish360-site-header *,
.parish360-site-footer * { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.parish360-page { margin-block-start: 0 !important; background: var(--cream); color: var(--ink-deep); }
body.admin-bar .parish360-site-header { top: 32px; }
.parish360-page figure.wp-block-image,
.parish360-site-header figure.wp-block-image,
.parish360-site-footer figure.wp-block-image { margin: 0; }
.parish360-page p,
.parish360-site-header p,
.parish360-site-footer p { margin-block-start: 0; }
.parish360-page a,
.parish360-site-header a,
.parish360-site-footer a { text-decoration: none; }
.parish360-page img,
.parish360-site-header img,
.parish360-site-footer img { max-width: 100%; display: block; }

.parish360-site-header {
  height: 92px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 80px); border-bottom: 1px solid rgba(23,61,69,.13);
  background: rgba(242,239,231,.92); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20;
}
.parish360-site-header .brand { display: flex; align-items: center; flex: 0 0 auto; }
.parish360-site-header .brand img,
.parish360-site-footer img { width: 174px; height: auto; object-fit: contain; }
.parish360-site-header nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 700; }
.parish360-site-header nav p { margin: 0; }
.parish360-site-header nav a:hover { color: var(--orange); }
.parish360-site-header .nav-cta { background: var(--ink); color: white; padding: 14px 20px; border-radius: 3px; }

.hero { min-height: 750px; padding: 72px clamp(24px, 6vw, 100px) 96px; display: grid; grid-template-columns: .9fr 1.25fr; gap: 70px; align-items: center; overflow: hidden; }
.eyebrow { margin: 0 0 24px; color: var(--orange); text-transform: uppercase; font-size: 12px; letter-spacing: .22em; font-weight: 800; }
.parish360-page h1,
.parish360-page h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -.04em; }
.parish360-page h1 { margin: 0; max-width: 650px; font-size: clamp(58px, 6vw, 98px); line-height: 1.2; color: var(--ink); }
.hero-lede { font-size: 19px; line-height: 1.65; max-width: 610px; margin: 30px 0; color: #4f6065; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 0 25px; margin: 0; font-size: 14px; font-weight: 800; border-radius: 3px; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: white; }
.button-primary:hover { background: #c85317; }
.text-link { font-size: 14px; font-weight: 800; border-bottom: 1px solid rgba(23,61,69,.3); padding-bottom: 5px; }
.text-link span { color: var(--orange); margin-left: 6px; }
.hero-note { display: flex; gap: 14px; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(23,61,69,.16); max-width: 590px; }
.hero-note p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.hero-note strong { color: var(--ink); }
.note-mark { color: var(--orange); }
.hero-visual { position: relative; }
.screen-frame { position: relative; z-index: 2; border: 9px solid var(--ink-deep); border-radius: 14px; overflow: hidden; background: white; box-shadow: 0 35px 75px rgba(22,46,51,.2); }
.screen-frame img { width: 100%; }
.screen-top { height: 32px; background: var(--ink-deep); color: rgba(255,255,255,.66); display: flex; gap: 7px; align-items: center; padding: 0 12px; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.screen-top i { width: 7px; height: 7px; border-radius: 50%; background: #d8d2c5; opacity: .65; }
.screen-top span { margin-left: auto; }
.orbit { position: absolute; border: 1px solid rgba(223,101,30,.35); border-radius: 50%; }
.orbit-one { width: 300px; height: 300px; right: -130px; top: -100px; }
.orbit-two { width: 520px; height: 520px; left: -150px; bottom: -170px; }

.intro { padding: 112px clamp(24px, 8vw, 130px) 70px; border-top: 1px solid rgba(23,61,69,.14); display: grid; grid-template-columns: 1.25fr .75fr; gap: 10vw; align-items: end; background: var(--white); }
.intro h2, .benefit-heading h2, .closing h2 { margin: 0; color: var(--ink); font-size: clamp(42px, 5vw, 72px); line-height: 1.02; }
.intro > p { margin: 0 0 7px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.feature-grid { padding: 30px clamp(24px, 8vw, 130px) 120px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); }
.feature { min-height: 220px; padding: 28px 28px 34px; border-left: 1px solid #dad7ce;  align-self: center;}
.feature:last-child { border-right: 1px solid #dad7ce; }
.feature > span,
.feature > p:first-child { color: var(--orange); font-family: Georgia, serif; font-size: 14px; }
.feature h3 { margin: 70px 0 16px; font-family: Georgia, serif; font-weight: 500; font-size: 27px; line-height: 1.1; color: var(--ink); }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.portal-section { background: var(--ink-deep); color: white; padding: 120px clamp(24px, 7vw, 115px); display: grid; grid-template-columns: .72fr 1.28fr; gap: 8vw; align-items: center; overflow: hidden; }
.eyebrow.light { color: #efa06f; }
.portal-copy h2 { margin: 0; color: white; font-size: clamp(44px, 5vw, 70px); line-height: 1.02; }
.portal-copy > p:not(.eyebrow) { color: #becacc; font-size: 17px; line-height: 1.7; margin: 28px 0; }
.portal-copy ul { list-style: none; padding: 0; margin: 30px 0 38px; }
.portal-copy li { padding: 13px 0 13px 30px; border-top: 1px solid rgba(255,255,255,.12); color: #e8eeee; font-size: 14px; position: relative; }
.portal-copy li::before { content: '✓'; position: absolute; left: 0; color: #efa06f; }
.button-light { background: var(--white); color: var(--ink); }
.portal-gallery { min-height: 660px; position: relative; }
.portal-gallery figure { margin: 0; position: absolute; background: white; padding: 8px; border-radius: 5px; box-shadow: 0 25px 55px rgba(0,0,0,.35); }
.gallery-main { width: 78%; right: -2%; top: 92px; z-index: 2; }
.gallery-main figcaption { padding: 13px 10px 7px; color: #546166; font-size: 11px; }
.gallery-small { width: 42%; z-index: 3; }
.gallery-login { left: -4%; top: 4px; }
.gallery-giving { left: 2%; bottom: 8px; }

.benefits { background: var(--cream); padding: 120px clamp(24px, 8vw, 130px); display: grid; grid-template-columns: .85fr 1.15fr; gap: 10vw; }
.benefit-heading { position: sticky; top: 140px; align-self: start; }
.benefit-list article { display: grid; gap: 24px; padding: 32px 0; border-top: 1px solid rgba(23,61,69,.18); }
.benefit-list article:last-child { border-bottom: 1px solid rgba(23,61,69,.18); }
.benefit-list span,
.benefit-list article > p:first-child { color: var(--orange); font-family: Georgia, serif; margin: 0; }
.benefit-list h3 { margin: 0 0 10px; font-family: Georgia, serif; color: var(--ink); font-size: 27px; font-weight: 500; }
.benefit-list p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 15px; }

.capability-band { overflow: hidden; padding: 28px 5vw; display: flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--sand); color: var(--ink); white-space: nowrap; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.capability-band i { width: 5px; height: 5px; background: var(--orange); transform: rotate(45deg); flex: 0 0 auto; }
.closing { text-align: center; padding: 130px 24px 120px; background: var(--white); }
.closing img { width: min(290px, 76vw); height: auto; object-fit: contain; margin: 0 auto 48px; }
.closing h2 { max-width: 900px; margin: 0 auto; }
.closing p { max-width: 620px; margin: 28px auto 34px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.contact-section { background: var(--ink-deep); color: white; padding: 120px clamp(24px, 8vw, 130px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; align-items: start; }
.contact-section > * { min-width: 0; max-width: none !important; margin: 0 !important; }
.contact-section > .wp-block-shortcode { width: 100%; justify-self: stretch; }
.contact-copy h2 { margin: 0; color: white; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(42px, 5vw, 68px); line-height: 1.02; font-weight: 500; letter-spacing: -.04em; }
.contact-copy > p:not(.eyebrow) { color: #becacc; font-size: 17px; line-height: 1.7; margin: 28px 0 24px; }
.contact-copy a { color: #efa06f; font-weight: 800; border-bottom: 1px solid rgba(239,160,111,.45); padding-bottom: 4px; }
.contact-form { width: 100%; max-width: none; background: var(--white); color: var(--ink-deep); padding: clamp(26px, 4vw, 52px); border-radius: 5px; box-shadow: 0 25px 55px rgba(0,0,0,.22); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form label { display: block; margin-bottom: 24px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--ink); }
.contact-form label span { color: var(--muted); font-weight: 500; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 9px; border: 1px solid #cfcac0; border-radius: 3px; background: white; color: var(--ink-deep); font: inherit; font-size: 16px; padding: 14px; text-transform: none; letter-spacing: normal; outline: none; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(223,101,30,.13); }
.contact-form button { border: 0; cursor: pointer; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-alert { margin: 0 0 24px; padding: 14px 16px; border-radius: 3px; font-size: 14px; line-height: 1.5; }
.form-success { background: #e4f2e7; color: #215a2e; border: 1px solid #b7d9bf; }
.form-error { background: #f9e5e2; color: #7c2921; border: 1px solid #e5bab4; }
.parish360-site-footer { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 24px clamp(24px, 6vw, 90px); border-top: 1px solid rgba(23,61,69,.14); background: var(--cream); font-size: 12px; color: var(--muted); }
.parish360-site-footer a { color: var(--ink); font-weight: 800; }
.parish360-site-footer > * { margin: 0 !important; }
.parish360-site-footer .wp-block-image { width: 174px; flex: 0 0 174px; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 880px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 1px solid #dad7ce; }
  .portal-section { grid-template-columns: 1fr; }
  .portal-copy { max-width: 740px; }
}

@media (max-width: 720px) {
  body.admin-bar .parish360-site-header { top: 46px; }
  .parish360-site-header { height: 76px; }
  .parish360-site-header .brand img { width: 142px; height: auto; }
  .parish360-site-header nav p:not(.nav-cta) { display: none; }
  .parish360-site-header .nav-cta { padding: 12px 15px; font-size: 12px; }
  .hero { min-height: auto; padding: 54px 22px 75px; gap: 48px; }
  .parish360-page h1 { font-size: 58px; }
  .hero-lede { font-size: 17px; }
  .intro { grid-template-columns: 1fr; padding: 80px 24px 40px; gap: 30px; }
  .feature-grid { grid-template-columns: 1fr; padding: 0 24px 80px; }
  .feature, .feature:last-child, .feature:nth-child(2) { border-right: none; border-left: none; border-top: 1px solid #dad7ce; min-height: auto; padding: 28px 0 34px; }
  .feature h3 { margin-top: 42px; }
  .portal-section { padding: 85px 22px; }
  .portal-gallery { min-height: 480px; margin-top: 20px; }
  .gallery-main { width: 86%; right: -6%; top: 74px; }
  .gallery-small { width: 46%; }
  .gallery-login { left: -2%; }
  .gallery-giving { left: 1%; bottom: 4px; }
  .benefits { grid-template-columns: 1fr; padding: 85px 24px; gap: 55px; }
  .benefit-heading { position: static; }
  .capability-band { justify-content: flex-start; overflow-x: auto; }
  .closing { padding: 90px 22px; }
  .contact-section { grid-template-columns: 1fr; padding: 85px 22px; gap: 50px; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .parish360-site-footer { flex-direction: column; text-align: center; padding: 40px 24px; }
}
