/* Deliverance Church of Christ — deliverancecoc.com */

@font-face { font-family: 'Grift'; src: url('../fonts/Grift-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Grift'; src: url('../fonts/Grift-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Grift'; src: url('../fonts/Grift-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Anton'; src: url('../fonts/Anton-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Grift'; src: url('../fonts/Grift-Black.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --ink: #0E0E0E;
  --card: #161616;
  --line-dark: #2A2A2A;
  --cream: #F4F1EC;
  --line-cream: #D3CBBE;
  --text: #2C2A27;
  --muted: #5E574D;
  --red: #D7261E;
  --yellow: #F2B705;
  --blue: #2438D6;
  --red-lift: #E8412F;
  --blue-lift: #6E80FF;
  --font: 'Grift', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(24px, 5.6vw, 80px);
  --section-y: clamp(72px, 9.5vw, 136px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--ink); color: #FFFFFF; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: #FFFFFF; color: var(--ink); padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: top .2s ease; }
.skip-link:focus { top: 16px; }
.nowrap { white-space: nowrap; }

/* Shared pieces */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 16px 34px; border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background-color .3s ease, color .3s ease, transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: #FFFFFF; color: var(--ink); }
.btn--solid:hover { background: #E9E4DB; }
.btn--ghost { border: 2px solid #FFFFFF; color: #FFFFFF; }
.btn--ghost:hover { background: #FFFFFF; color: var(--ink); }
.tri { display: flex; gap: 3px; }
.tri span { width: 14px; height: 3px; }
.tri span:nth-child(1) { background: var(--red); }
.tri span:nth-child(2) { background: var(--yellow); }
.tri span:nth-child(3) { background: var(--blue); }
.kicker { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.display { font-family: var(--font); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: .95; }

/* Hero */
.hero { position: relative; z-index: 2; min-height: max(620px, min(100svh, 960px)); display: flex; flex-direction: column; overflow: hidden; background: #2A2724; box-shadow: 0 24px 48px -8px rgba(0, 0, 0, .42); }
.hero__media, .hero__shade { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: heroDrift 24s ease-in-out infinite alternate; transform-origin: 50% 45%; will-change: transform; }
.hero__shade { background: rgba(10, 10, 10, .55); }
.hero__inner { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 36px var(--gutter) clamp(48px, 6.7vw, 96px); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: #FFFFFF; }
.brand img { width: 58px; height: auto; }
.brand__rule { width: 1px; height: 40px; background: rgba(255, 255, 255, .35); }
.brand__name { display: flex; flex-direction: column; gap: 2px; }
.brand__name strong { font-size: 22px; font-weight: 900; line-height: 1.15; letter-spacing: .01em; }
.brand__name span { font-size: 10px; font-weight: 700; letter-spacing: .32em; }
.site-nav { display: flex; align-items: center; gap: 44px; }
.site-nav a { color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-nav a:not(.btn) { position: relative; padding: 6px 0; }
.site-nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.site-nav .btn { min-height: 46px; padding: 12px 30px; }
.site-nav .btn--solid { color: var(--ink); }
.hero__content { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { display: flex; flex-direction: column; gap: 6px; font-weight: 900; }
.hero__lead { font-size: min(60px, calc((100vw - 48px) / 13.6)); line-height: 1.02; letter-spacing: -.01em; text-transform: uppercase; }
.hero__big { font-size: min(200px, calc((100vw - 48px) / 4.9)); line-height: .9; letter-spacing: -.03em; }
.hero__bar { display: flex; gap: 6px; }
.hero__bar span { width: clamp(48px, 8.3vw, 120px); height: clamp(5px, .56vw, 8px); }
.hero__bar span:nth-child(1) { background: var(--red); }
.hero__bar span:nth-child(2) { background: var(--yellow); }
.hero__bar span:nth-child(3) { background: var(--blue); }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: clamp(48px, 6.7vw, 96px); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.scroll-cue span { font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(255, 255, 255, .8); }
.scroll-cue i { position: relative; display: block; width: 1px; height: 72px; overflow: hidden; background: rgba(255, 255, 255, .3); }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: #FFFFFF; animation: scrollCue 2.2s ease-in-out infinite; }
.rise { animation: rise 1.1s var(--ease) both; }
.d1 { animation-delay: .15s; } .d2 { animation-delay: .35s; } .d3 { animation-delay: .55s; } .d4 { animation-delay: .7s; } .d5 { animation-delay: .9s; }

/* Welcome */
.welcome { background: var(--cream); color: var(--ink); padding: var(--section-y) var(--gutter) calc(var(--section-y) + 8px); }
.welcome__title { text-align: center; font-family: 'Anton', var(--font); font-weight: 400; font-size: min(128px, calc((100vw - 48px) / 6.5)); line-height: .95; letter-spacing: .005em; margin-bottom: clamp(40px, 5.6vw, 80px); }
.welcome__grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); grid-template-areas: "photo text" "box box"; column-gap: clamp(40px, 6.7vw, 96px); row-gap: 56px; max-width: 1280px; margin: 0 auto; align-items: start; }
.welcome__grid > picture { grid-area: photo; display: block; }
.welcome__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 44% 45%; border-radius: 24px; background: #DAD3C7; }
.welcome__text { grid-area: text; display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.welcome__text p { font-size: clamp(19px, 1.67vw, 24px); line-height: 1.7; color: var(--text); max-width: 34em; }
.welcome__text .welcome__close { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; line-height: 1.35; letter-spacing: -.01em; color: var(--ink); }
.signature { display: flex; flex-direction: column; gap: 6px; padding-top: 24px; border-top: 1px solid var(--line-cream); }
.signature strong { font-size: clamp(21px, 1.95vw, 28px); font-weight: 900; line-height: 1.15; letter-spacing: .01em; text-transform: uppercase; }
.signature span { font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.highlight { grid-area: box; position: relative; overflow: hidden; background: var(--ink); color: #FFFFFF; border-radius: 24px; padding: clamp(32px, 4.4vw, 64px) clamp(24px, 5vw, 72px); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .35); }
.highlight img { position: absolute; right: clamp(-70px, -3vw, -40px); top: clamp(-70px, -3vw, -30px); width: clamp(314px, 30vw, 441px); height: auto; opacity: .08; pointer-events: none; }
.highlight p { position: relative; font-size: clamp(24px, 2.8vw, 40px); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; max-width: 30em; }
.highlight strong { font-weight: 900; }
.c-red { color: var(--red-lift); } .c-yellow { color: var(--yellow); } .c-blue { color: var(--blue-lift); }

/* Marquee */
.marquee { overflow: hidden; background: var(--ink); padding: clamp(32px, 3.9vw, 56px) 0; border-bottom: 1px solid var(--line-dark); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__word { font-weight: 900; font-size: clamp(56px, 8.3vw, 120px); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55); padding: 0 .35em; }
.marquee__dot { width: .16em; height: .16em; font-size: clamp(56px, 8.3vw, 120px); border-radius: 50%; flex-shrink: 0; }
.marquee__dot--red { background: var(--red); } .marquee__dot--yellow { background: var(--yellow); } .marquee__dot--blue { background: var(--blue); }

/* Visit */
.visit { background: var(--ink); padding: calc(var(--section-y) * .7) var(--gutter) var(--section-y); }
.visit__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6.7vw, 96px); align-items: center; max-width: 1280px; margin: 0 auto; }
.visit__text { display: flex; flex-direction: column; gap: 28px; }
.visit__title { font-size: clamp(52px, 7.8vw, 112px); }
.visit__text p { font-size: clamp(18px, 1.46vw, 21px); line-height: 1.7; color: rgba(255, 255, 255, .8); max-width: 520px; }
.visit__address { display: flex; align-items: center; gap: 14px; font-size: 16px; color: rgba(255, 255, 255, .72); font-style: normal; }
.visit__address svg { flex-shrink: 0; }
.visit__actions { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
.visit__photo { position: relative; }
.visit__photo img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; object-position: 46% 35%; border-radius: 24px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); transition: transform .6s var(--ease); }
.visit__photo:hover img { transform: translate3d(-8px, -8px, 0); }
.visit__accent { position: absolute; right: -14px; bottom: 58px; display: flex; flex-direction: column; gap: 4px; }
.visit__accent span { width: 6px; height: 36px; }
.visit__accent span:nth-child(1) { background: var(--red); }
.visit__accent span:nth-child(2) { background: var(--yellow); }
.visit__accent span:nth-child(3) { background: var(--blue); }

/* Give */
.give { position: relative; overflow: hidden; background: var(--cream); color: var(--ink); padding: var(--section-y) var(--gutter); }
.give__watermark { position: absolute; right: clamp(-40px, -2.8vw, -18px); top: clamp(20px, 1.7vw, 24px); font-weight: 900; font-size: clamp(170px, 30.5vw, 440px); line-height: .8; letter-spacing: -.04em; color: #ECE6DB; white-space: nowrap; pointer-events: none; user-select: none; }
.give__inner { position: relative; max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(32px, 3.9vw, 56px); }
.give__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; padding-bottom: clamp(32px, 3.3vw, 48px); border-bottom: 1px solid var(--line-cream); }
.give__head-main { display: flex; flex-direction: column; gap: 20px; }
.give__title { font-size: clamp(48px, 6.7vw, 96px); line-height: 1; }
.give__title span { color: var(--red); }
.give__head p { font-size: clamp(17px, 1.32vw, 19px); line-height: 1.7; color: #3A3A3A; max-width: 420px; }
.give__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

.pay-card { position: relative; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 32px; background: var(--card); border: 1px solid var(--line-dark); border-radius: 20px; color: #FFFFFF; transition: transform .5s var(--ease), background-color .5s ease, border-color .5s ease, box-shadow .5s ease; }
.pay-card__wm { position: absolute; right: -44px; top: -36px; height: 230px; width: auto; opacity: .09; transform-origin: 70% 30%; transition: opacity .5s ease, transform .7s var(--ease), filter .5s ease, stroke .5s ease; pointer-events: none; }
svg.pay-card__wm { width: 230px; stroke: #FFFFFF; }
.pay-card h3 { position: relative; font-size: 30px; font-weight: 900; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; transition: color .5s ease; }
.pay-card__body { position: relative; display: flex; flex-direction: column; gap: 6px; }
.pay-card__lead { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .64); transition: color .5s ease; }
.pay-card__value { font-size: 17px; font-weight: 700; line-height: 1.35; color: #FFFFFF; transition: color .5s ease; }
.pay-card__value a { text-decoration: none; }
.pay-card:hover, .pay-card:focus-within { transform: translateY(-6px); background: #FFFFFF; border-color: #E3DBCD; box-shadow: 0 28px 56px -24px rgba(14, 14, 14, .35); }
.pay-card:hover h3, .pay-card:hover .pay-card__value, .pay-card:focus-within h3, .pay-card:focus-within .pay-card__value { color: var(--ink); }
.pay-card:hover .pay-card__lead, .pay-card:focus-within .pay-card__lead { color: #6B6258; }
.pay-card:hover .pay-card__wm, .pay-card:focus-within .pay-card__wm { opacity: .1; transform: scale(1.06); }
.pay-card:hover img.pay-card__wm, .pay-card:focus-within img.pay-card__wm { filter: invert(1); }
.pay-card:hover svg.pay-card__wm, .pay-card:focus-within svg.pay-card__wm { stroke: var(--ink); }

/* Footer */
.tri-strip { display: flex; height: 4px; }
.tri-strip span { flex: 1; }
.tri-strip span:nth-child(1) { background: var(--red); }
.tri-strip span:nth-child(2) { background: var(--yellow); }
.tri-strip span:nth-child(3) { background: var(--blue); }
.site-footer { position: relative; overflow: hidden; background: var(--ink); padding: clamp(56px, 5vw, 72px) var(--gutter) 0; }
.site-footer__inner { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(36px, 3.9vw, 56px); }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px 48px; flex-wrap: wrap; }
.site-footer__logo { width: clamp(180px, 15.3vw, 220px); height: auto; }
.contact { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; font-style: normal; }
.contact h2 { font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--yellow); }
.contact p, .contact a { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .82); text-decoration: none; }
.contact a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }
.site-footer__meta { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; font-size: 14px; color: rgba(255, 255, 255, .56); }
.site-footer__wordmark { font-weight: 900; font-size: min(196px, calc((100vw - 48px) / 6.6)); line-height: .8; letter-spacing: -.02em; color: #1B1B1B; white-space: nowrap; margin-bottom: -.12em; user-select: none; }

/* Motion */
@keyframes heroDrift { 0% { transform: scale(1.03) translate3d(0, 0, 0); } 100% { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
@keyframes rise { 0% { opacity: 0; transform: translate3d(0, 28px, 0); } 100% { opacity: 1; transform: none; } }
@keyframes scrollCue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
@keyframes marquee { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }

/* Responsive */
@media (max-width: 1359px) {
  .give__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .site-nav a:not(.btn) { display: none; }
  .welcome__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "box" "text"; row-gap: 40px; max-width: 640px; }
  .visit__grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .visit__photo { order: 2; }
  .visit__accent { display: none; }
  .scroll-cue { display: none; }
}
@media (max-width: 639px) {
  .brand { gap: 12px; }
  .brand img { width: 46px; }
  .brand__rule { display: none; }
  .brand__name strong { font-size: 17px; }
  .brand__name span { font-size: 8px; letter-spacing: .3em; }
  .site-nav .btn { min-height: 44px; padding: 12px 22px; font-size: 13px; }
  .hero__inner { padding-top: 20px; }
  .hero__media img { object-position: 81% 50%; }
  .hero h1 { gap: 4px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn, .visit__actions .btn { width: 100%; font-size: 13px; }
  .visit__actions { flex-direction: column; }
  .visit__photo img { aspect-ratio: 9 / 10; border-radius: 20px; }
  .welcome__photo, .highlight { border-radius: 20px; }
  .kicker { font-size: 12px; letter-spacing: .24em; gap: 12px; }
  .tri span { width: 11px; }
  .give__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pay-card { min-height: 210px; padding: 24px; }
  .pay-card h3 { font-size: 26px; }
  .pay-card__wm { right: -30px; top: -26px; height: 170px; }
  svg.pay-card__wm { width: 170px; }
  .marquee__word { -webkit-text-stroke-width: 1px; }
  .contact { align-items: flex-start; text-align: left; }
  .contact p, .contact a { font-size: 16px; }
  .site-footer__meta { flex-direction: column; font-size: 13px; }
}

@media (hover: none) {
  .pay-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img, .rise, .marquee__track, .scroll-cue i::after { animation: none; }
  .hero__media img { transform: scale(1.03); }
  .btn:hover, .pay-card:hover, .pay-card:focus-within, .visit__photo:hover img { transform: none; }
  .pay-card:hover .pay-card__wm, .pay-card:focus-within .pay-card__wm { transform: none; }
}
