/* Shared JEBLAJE motion and surface system. Kept CSS-only and lightweight. */
:root {
  --motion-ink: #141b18;
  --motion-lime: #c9f267;
  --motion-violet: #8671ef;
  --motion-ease: cubic-bezier(.2,.75,.25,1);
}

html { scroll-padding-top: 104px; }
body { overflow-x: clip; }

:where(a, button, input, select, textarea, summary) {
  -webkit-tap-highlight-color: transparent;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--motion-violet) 62%, transparent);
  outline-offset: 3px;
}

:where(.site-header, .page-header, .catalog-header) {
  transition: box-shadow .28s var(--motion-ease), background-color .28s ease,
    border-color .28s ease;
}

:where(.site-header, .page-header, .catalog-header):hover {
  box-shadow: 0 16px 40px #18231b18;
}

:where(.page-hero, .catalog-hero, .hero, .about-hero) {
  isolation: isolate;
}

:where(.page-hero, .catalog-hero)::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -34%;
  right: -5%;
  width: clamp(190px, 31vw, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #c9f2672e, #9d8af20c 46%, transparent 70%);
  pointer-events: none;
  animation: shared-glow-drift 12s ease-in-out infinite alternate;
}

:where(.page-hero, .catalog-hero) > * { position: relative; }

.catalog-hero h1 em { color: var(--motion-lime); }
.content-info .tag { color: #638731; }
.content-link, .detail-back, .content-detail-back { color: #638731; }
.filter.active, .filter:hover,
.project-status-filters button.active,
.project-status-filters button:hover {
  border-color: var(--motion-lime);
  background: var(--motion-lime);
  color: var(--motion-ink);
}
.project-install, .home-project-link {
  background: var(--motion-lime);
  color: var(--motion-ink);
}
.project-install:hover, .home-project-link:hover { background: #dcfb91; }
.project-coming-soon { color: #658a31; }
.project-status-badge { color: #658a31; }
.project-status-badge i, .project-coming-soon i { background: var(--motion-lime); }
.button.primary, .publish-toggle:not(.is-published) {
  border-color: var(--motion-lime);
  background: var(--motion-lime);
  color: var(--motion-ink);
}
.button.primary:hover, .publish-toggle:not(.is-published):hover {
  border-color: #dcfb91;
  background: #dcfb91;
  color: var(--motion-ink);
}
.content-tab.active { background: #eff7df; color: #557c25; }
.content-tab.active span { background: #fff; color: #557c25; }
.status-filter.active { color: #557c25; }
.content-detail-copy a, .project-detail-copy a, .privacy-document a,
.project-detail-link { color: #638731; }

/* Home: the animated demo composition becomes the real opening section. */
.home-page .hero {
  position: relative;
  isolation: isolate;
  min-height: min(650px, calc(100svh - 104px));
  background: radial-gradient(ellipse at 77% 18%, #354a34 0, transparent 34%),
    linear-gradient(128deg, #111716 0%, #17201c 58%, #111716 100%);
}
.home-page .hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: radial-gradient(#c9f26726 .8px, transparent .8px);
  background-size: 25px 25px;
  mask-image: linear-gradient(120deg, transparent 15%, #000 100%);
  pointer-events: none;
}
.home-page .hero h1 { max-width: 650px; }
.home-page .hero-text { max-width: 400px; }
.home-page .hero-meta { align-items: flex-start; flex-direction: column; gap: 10px; }
.home-page .hero-meta-note { color: #a9b5ab; font: 9px 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }
.home-page .hero-art { min-height: 390px; }
.home-page .hero-ring { position: absolute; top: 50%; left: 50%; aspect-ratio: 1; border: 1px solid #d5f9a52a; border-radius: 50%; pointer-events: none; }
.home-page .hero-ring-outer { width: min(100%, 440px); transform: translate(-50%, -50%); animation: shared-ring-breathe 7s ease-in-out infinite; }
.home-page .hero-ring-inner { width: min(76%, 330px); border-style: dashed; transform: translate(-50%, -50%); animation: shared-ring-rotate 42s linear infinite; }
.home-page .orb-one { background: radial-gradient(circle, #98cb48a6, #82bd3440 40%, transparent 72%); filter: blur(9px); }
.home-page .orb-two { border-color: #d7f4a660; }
.home-page .hero-card { z-index: 1; }
.home-page .floating-tag { z-index: 2; border: 1px solid #ffffff40; box-shadow: 0 12px 28px #0003; }
.home-page .ticker { box-shadow: 0 10px 26px #18231b10; }
.home-page .split-section { position: relative; overflow: hidden; }
.home-page .section-more { display: inline-flex; gap: 9px; align-items: center; margin: 4px 0 22px; color: #618c2b; font-size: 11px; font-weight: 800; text-decoration: none; }
.home-page .section-more:hover { gap: 14px; }
.home-page .services { padding-top: 50px; padding-bottom: 50px; }
.home-page .services-note { display: grid; grid-template-columns: 1.2fr .8fr; gap: 35px; align-items: center; margin-top: 28px; padding: 36px; border: 1px solid #e4e9df; border-radius: 24px; background: radial-gradient(circle at 100% 0, #c9f26730, transparent 40%), #f7f9f4; }
.home-page .services-note h2 { margin: 0 0 15px; font-size: clamp(30px, 4vw, 48px); line-height: 1; letter-spacing: -.075em; }
.home-page .services-note h2 em { color: #76ad3c; font-style: normal; font-weight: 600; }
.home-page .services-note p:last-child { max-width: 490px; margin: 0; color: #69746b; font-size: 13px; line-height: 1.7; }
.home-page .services-note .button { justify-self: end; }
.home-page .socials { padding-top: 86px; padding-bottom: 86px; }
.home-page .social-card { min-height: 104px; }
.home-page .projects { padding-top: 75px; padding-bottom: 75px; }
.home-page .project-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 16px; }
.home-page .project-item, .home-page .project-item.reverse { display: flex; min-width: 0; flex-direction: column; gap: 0; overflow: hidden; border: 1px solid #e3e8e1; border-radius: 24px; background: #fff; box-shadow: 0 12px 30px #15201a0a; transition: transform .25s var(--motion-ease), box-shadow .25s ease; }
.home-page .project-item:hover { transform: translateY(-5px); box-shadow: 0 20px 38px #15201a16; }
.home-page .project-item.reverse .project-visual { order: 0; }
.home-page .project-visual { width: 100%; height: auto; aspect-ratio: 1.35 / 1; padding: 18px; }
.home-page .project-visual > span { font-size: clamp(24px, 3.2vw, 40px); }
.home-page .project-visual small { font-size: 8px; }
.home-page .project-info { width: 100%; padding: 18px; }
.home-page .project-info h3 { margin: 8px 0 10px; font-size: 24px; }
.home-page .project-type { color: #849087; font: 8px 'DM Mono', monospace; letter-spacing: .09em; text-transform: uppercase; }
.home-page .project-tags { gap: 6px; margin: 0 0 6px; }
.home-page .project-tags span { padding: 6px 9px; border-radius: 99px; background: #f0f5e9; color: #607e38; font: 8px 'DM Mono', monospace; }
.home-page .project-info .home-project-link,
.home-page .project-info .home-project-detail-link,
.home-page .project-info .home-project-status { margin-top: 12px; }
.home-page .project-info .home-project-link { margin-right: 0; }
.home-page .project-info .favorite-button { margin: 12px 0 0; border-radius: 99px; }
.home-page .project-empty { grid-column: 1 / -1; }
.home-page .content-section { position: relative; overflow: hidden; }
.home-page .content-section::after { position: absolute; right: -80px; bottom: -180px; width: 370px; aspect-ratio: 1; border: 1px solid #c9f2672b; border-radius: 50%; content: ""; pointer-events: none; animation: shared-ring-rotate 52s linear infinite; }
.home-page .contact { position: relative; overflow: hidden; }

/* Catalogues use the same animated split hero as the demo. */
.projects-page .catalog-hero, .content-page .catalog-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 20px;
  min-height: min(470px, calc(100svh - 108px));
  padding: clamp(45px, 6vw, 75px) clamp(28px, 6vw, 78px);
  overflow: hidden;
  border-radius: 32px;
  background: radial-gradient(ellipse at 80% 16%, #393169 0, transparent 38%),
    linear-gradient(125deg, #111716, #1c2422 58%, #202741);
  text-align: left;
  box-shadow: 0 23px 50px #15201a18;
}
.projects-page .catalog-hero-copy, .content-page .catalog-hero-copy { position: relative; z-index: 1; max-width: 590px; }
.projects-page .catalog-hero .eyebrow, .content-page .catalog-hero .eyebrow { margin: 0 0 20px; color: var(--motion-lime); }
.projects-page .catalog-hero h1, .content-page .catalog-hero h1 { margin: 0; color: #f7f9f3; font-size: clamp(48px, 6.4vw, 82px); line-height: .94; }
.projects-page .catalog-hero h1 em, .content-page .catalog-hero h1 em { color: var(--motion-lime); font-weight: 600; }
.projects-page .catalog-hero-copy > p, .content-page .catalog-hero-copy > p { max-width: 410px; margin: 20px 0 0; color: #bdc7bf; font-size: 13px; line-height: 1.7; }
.projects-page .hero-pills, .content-page .hero-pills { justify-content: flex-start; margin-top: 22px; }
.projects-page .hero-pills span, .content-page .hero-pills span { padding: 8px 11px; font: 9px 'DM Mono', monospace; }
.catalog-hero-art { position: relative; display: grid; min-height: 340px; place-items: center; perspective: 800px; }
.catalog-orbit { position: absolute; width: min(100%, 350px); aspect-ratio: 1; border: 1px solid #d5f9a535; border-radius: 50%; animation: shared-ring-rotate 40s linear infinite; }
.catalog-orbit::after { position: absolute; top: 18%; right: 10%; width: 8px; height: 8px; border-radius: 50%; background: var(--motion-lime); box-shadow: 0 0 20px var(--motion-lime); content: ""; }
.catalog-art-card { position: relative; width: 205px; height: 270px; padding: 17px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; border: 1px solid #ffffff35; border-radius: 23px; background: linear-gradient(145deg, #303a32, #121817); box-shadow: 13px 15px 0 #c9f267c9, 0 20px 50px #0005; color: #f8faf5; transform: rotate(5deg); animation: shared-tile-float 6.5s ease-in-out infinite; }
.catalog-art-card small, .catalog-art-card label { align-self: stretch; color: #c8d1c8; font: 7px 'DM Mono', monospace; letter-spacing: .12em; }
.catalog-art-card label { text-align: right; line-height: 1.6; }
.catalog-art-card strong { color: var(--motion-lime); font-size: 115px; line-height: .8; letter-spacing: -.12em; }
.catalog-art-card strong span { font-size: 54px; }
.catalog-video-art strong { display: grid; width: 95px; height: 95px; place-items: center; border-radius: 50%; background: var(--motion-lime); color: var(--motion-ink); font-size: 32px; letter-spacing: 0; }
.catalog-art-chip { position: absolute; top: 17%; right: 0; padding: 10px 12px; border-radius: 99px; background: #f8faf5; color: var(--motion-ink); font: 8px 'DM Mono', monospace; animation: shared-chip-float 5s ease-in-out infinite; }
.catalog-art-spark { position: absolute; bottom: 18%; left: 4%; color: var(--motion-lime); font-size: 23px; animation: shared-spark 3s ease-in-out infinite; }
.projects-page .catalog-body, .content-page .catalog-body { margin-top: 16px; }
.projects-page .catalog-meta, .content-page .catalog-meta { color: #707d73; }
.projects-page .catalog-footer, .content-page .catalog-footer { min-height: 78px; padding: 22px 26px; border: 1px solid #ffffff; border-radius: 20px; background: #ffffffc9; }

/* Services: clear availability, no imaginary offers or price cards. */
.services-main { width: min(1120px, calc(100% - 36px)); margin: 20px auto 0; }
.service-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(515px, calc(100svh - 108px)); padding: clamp(42px, 6vw, 72px); display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 25px; border-radius: 30px; background: radial-gradient(ellipse at 86% 15%, #484077 0, transparent 37%), linear-gradient(125deg, #121917, #202a26 62%, #202741); color: #f7f9f3; box-shadow: 0 22px 50px #141b1820; }
.service-hero-copy { position: relative; z-index: 1; max-width: 590px; }
.service-kicker { margin: 0 0 21px; color: var(--motion-lime); font: 500 9px 'DM Mono', monospace; letter-spacing: .15em; }
.service-kicker > span { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--motion-lime); box-shadow: 0 0 0 5px #c9f26720; animation: shared-status-pulse 2.6s infinite; }
.service-hero h1 { margin: 0; color: #f7f9f3; font-size: clamp(49px, 6.2vw, 78px); line-height: .94; letter-spacing: -.085em; }
.service-hero h1 em { color: var(--motion-lime); font-style: normal; font-weight: 600; }
.service-hero-copy > p:not(.service-kicker) { max-width: 440px; margin: 21px 0 0; color: #bcc7bf; font-size: 13px; line-height: 1.75; }
.service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 25px; }
.service-action-primary, .service-action-secondary { font-size: 10px; font-weight: 800; transition: transform .2s, color .2s; }
.service-action-primary { padding: 12px 16px; border-radius: 99px; background: var(--motion-lime); color: var(--motion-ink); }
.service-action-primary, .service-action-secondary, .social-discord-cta { text-decoration: none; }
.service-action-primary:hover, .service-action-secondary:hover { transform: translateY(-3px); }
.service-action-secondary { color: #edf3ec; }
.service-hero-art { position: relative; display: grid; min-height: 350px; place-items: center; perspective: 800px; }
.service-orbit { position: absolute; width: min(100%, 340px); aspect-ratio: 1; border: 1px solid #d5f9a532; border-radius: 50%; }
.service-orbit-one { animation: shared-ring-rotate 40s linear infinite; }
.service-orbit-two { width: 72%; border-style: dashed; animation: shared-ring-rotate 48s linear infinite reverse; }
.service-identity-card { width: 206px; height: 278px; padding: 17px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #ffffff30; border-radius: 22px; background: linear-gradient(145deg,#303a32,#121817); box-shadow: 13px 15px 0 #c9f267bd,0 20px 50px #0005; transform: rotate(5deg); animation: shared-tile-float 6.5s ease-in-out infinite; }
.service-identity-card small, .service-identity-card label { color: #c8d1c8; font: 7px 'DM Mono', monospace; letter-spacing: .13em; }
.service-identity-card strong { align-self: center; color: var(--motion-lime); font-size: 116px; font-weight: 500; letter-spacing: -.13em; line-height: .85; }
.service-identity-card strong span { font-size: 48px; }
.service-identity-card label { align-self: flex-end; text-align: right; line-height: 1.6; }
.service-float-label { position: absolute; top: 16%; right: 0; padding: 10px 13px; border-radius: 99px; background: #f7faf3; color: var(--motion-ink); font: 8px 'DM Mono', monospace; animation: shared-chip-float 5s ease-in-out infinite; }
.service-float-star { position: absolute; bottom: 17%; left: 3%; color: var(--motion-lime); font-size: 23px; animation: shared-spark 3s ease-in-out infinite; }
.service-focus { padding: 62px 8px 45px; }
.service-focus-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 23px; }
.service-focus-heading .service-kicker { color: #778d45; }
.service-focus-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 47px); line-height: 1.03; letter-spacing: -.075em; }
.service-focus-heading h2 em { color: #74ac3b; font-style: normal; font-weight: 600; }
.service-focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-focus-grid article { position: relative; min-height: 168px; padding: 19px; border: 1px solid #e1e6df; border-radius: 20px; background: #fff; box-shadow: 0 10px 25px #141b1808; transition: transform .2s, box-shadow .2s; }
.service-focus-grid article:hover { transform: translateY(-4px); box-shadow: 0 15px 28px #141b1810; }
.service-focus-grid article > span { position: absolute; top: 17px; right: 17px; color: #89938a; font: 8px 'DM Mono', monospace; }
.service-focus-grid article > i { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 12px; background: #edf4e6; color: #638b30; font: 700 11px 'DM Mono', monospace; font-style: normal; }
.service-focus-grid article:nth-child(2) > i { background: #efedff; color: #7763d1; }
.service-focus-grid article:nth-child(3) > i { background: #e6f5ed; color: #3c9164; }
.service-focus-grid h3 { margin: 13px 0 5px; font-size: 13px; }
.service-focus-grid p { max-width: 270px; margin: 0; color: #748077; font-size: 10px; line-height: 1.6; }
.services-footer, .social-hub-footer { width: min(1120px, calc(100% - 36px)); min-height: 72px; margin: 0 auto; padding: 20px 7px 28px; align-items: center; gap: 18px; }
.services-footer .brand, .social-hub-footer .brand { margin-right: auto; }
.services-footer > span, .social-hub-footer > span { margin: 0; color: #758078; font-size: 10px; }
.services-footer > a:last-child, .social-hub-footer > a:last-child { color: #618c2b; font-weight: 800; text-decoration: none; }

/* Social hub: one concise entry per network instead of repeated long descriptions. */
.social-hub-main { width: min(1120px, calc(100% - 36px)); margin: 20px auto 0; }
.social-hub-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(485px, calc(100svh - 108px)); padding: clamp(42px, 6vw, 72px); display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 25px; border-radius: 30px; background: radial-gradient(ellipse at 84% 14%, #454078 0, transparent 36%), linear-gradient(125deg,#121917,#202a26 62%,#202741); color: #f7f9f3; box-shadow: 0 22px 50px #141b1820; }
.social-hub-copy { position: relative; z-index: 1; max-width: 560px; }
.social-hub-kicker { margin: 0 0 20px; color: var(--motion-lime); font: 500 9px 'DM Mono', monospace; letter-spacing: .15em; }
.social-hub-kicker > span { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--motion-lime); box-shadow: 0 0 0 5px #c9f26720; }
.social-hub-copy h1 { margin: 0; color: #f7f9f3; font-size: clamp(48px, 6.1vw, 76px); line-height: .96; letter-spacing: -.085em; }
.social-hub-copy h1 em { color: var(--motion-lime); font-style: normal; font-weight: 600; }
.social-hub-copy > p:not(.social-hub-kicker) { max-width: 430px; margin: 20px 0 0; color: #bdc7bf; font-size: 13px; line-height: 1.7; }
.social-discord-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 23px; padding: 12px 15px; border-radius: 99px; background: var(--motion-lime); color: var(--motion-ink); font-size: 10px; font-weight: 800; transition: transform .2s; }
.social-discord-cta:hover { transform: translateY(-3px); }
.social-discord-cta img { filter: brightness(.15); }
.social-hub-art { position: relative; display: grid; min-height: 330px; place-items: center; perspective: 800px; }
.social-hub-orbit { position: absolute; width: min(100%, 330px); aspect-ratio: 1; border: 1px solid #d5f9a538; border-radius: 50%; animation: shared-ring-rotate 42s linear infinite; }
.social-hub-orbit::after { position: absolute; top: 15%; right: 9%; width: 8px; height: 8px; border-radius: 50%; background: var(--motion-lime); box-shadow: 0 0 18px var(--motion-lime); content: ""; }
.social-hub-tile { width: 215px; height: 250px; padding: 15px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; border: 1px solid #ffffff30; border-radius: 23px; background: linear-gradient(145deg,#303a32,#121817); box-shadow: 13px 15px 0 #c9f267c5,0 20px 50px #0005; transform: rotate(4deg); animation: shared-tile-float 6.5s ease-in-out infinite; }
.social-hub-tile small, .social-hub-tile label { align-self: stretch; color: #c8d1c8; font: 7px 'DM Mono', monospace; letter-spacing: .11em; }
.social-hub-tile img { width: 33px; height: 33px; filter: grayscale(1) brightness(0) invert(1); }
.social-hub-tile strong { color: var(--motion-lime); font-size: 83px; font-weight: 500; letter-spacing: -.13em; line-height: .85; }
.social-hub-tile strong span { font-size: 34px; }
.social-hub-tile label { text-align: right; line-height: 1.5; }
.social-hub-chip { position: absolute; top: 17%; right: 0; padding: 10px 12px; border-radius: 99px; background: #f7faf3; color: #17201c; font: 7px 'DM Mono', monospace; animation: shared-chip-float 5.5s ease-in-out infinite; }
.social-hub-spark { position: absolute; bottom: 16%; left: 4%; color: var(--motion-lime); font-size: 24px; animation: shared-spark 3s ease-in-out infinite; }
.social-directory { padding: 58px 7px 45px; }
.social-directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 23px; }
.social-directory-heading .social-hub-kicker { margin-bottom: 11px; color: #788d48; }
.social-directory-heading h2 { margin: 0; font-size: clamp(31px, 4vw, 46px); line-height: 1.03; letter-spacing: -.075em; }
.social-directory-heading h2 em { color: #75ac3c; font-style: normal; font-weight: 600; }
.social-directory-heading > p { max-width: 330px; margin: 0 0 4px; color: #758078; font-size: 11px; line-height: 1.65; }
.social-directory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.social-link-card { min-height: 82px; padding: 14px; display: flex; align-items: center; gap: 12px; border: 1px solid #e1e6df; border-radius: 17px; background: #fff; color: var(--motion-ink); text-decoration: none; transition: transform .22s, box-shadow .22s, border-color .22s; }
.social-link-card:hover { transform: translateY(-4px); border-color: #cfdfb8; box-shadow: 0 14px 28px #141b1810; }
.social-link-card[hidden] { display: none !important; }
.social-link-icon { width: 39px; height: 39px; flex: none; display: grid; place-items: center; border-radius: 13px; background: #e9efe2; }
.social-link-icon img { display: block; width: 22px; height: 22px; object-fit: contain; }
.social-link-card > span:nth-child(2) { min-width: 0; display: grid; gap: 4px; }
.social-link-card strong { font-size: 12px; }
.social-link-card small { color: #7c867d; font-size: 9px; }
.social-link-card > b { margin-left: auto; color: #6b912f; font-size: 16px; font-weight: 500; }
.social-link-card.social-discord { background: #f2f0ff; border-color: #dbd5ff; }
.social-link-card.social-discord .social-link-icon { background: #e0dcff; }
.social-link-card.social-instagram .social-link-icon { background: linear-gradient(135deg,#f9d476,#f29585 55%,#c98ad8); }
.social-link-card.social-facebook .social-link-icon { background: #e9f0ff; }
.social-link-card.social-youtube .social-link-icon { background: #fff0ef; }
.social-link-card.social-tiktok .social-link-icon { background: #e9eaed; }
.social-link-card.social-kick .social-link-icon { background: #eaf6e1; }
.social-link-card.social-kick .social-link-icon img { filter: drop-shadow(0 0 2px #53fc18); }
.social-hub-hero[hidden], .social-directory[hidden] { display: none !important; }
.account-footer { display: flex; justify-content: space-between; gap: 14px; max-width: 460px; margin: 24px auto 0; padding: 0 4px; color: #778179; font-size: 9px; }
.account-footer a { color: #618c2b; font-weight: 800; text-decoration: none; }
.faith-signature { color: #74806f; font: 500 9px 'DM Mono', monospace; letter-spacing: .07em; white-space: nowrap; }
.site-footer { grid-template-columns: 1fr 1fr 1.2fr auto auto; }
.faith-signature::before { content: '✳ '; color: #86a74b; }
.page-footer, .catalog-footer { border-top: 1px solid #d6ddd7; }
.page-footer a, .catalog-footer a:last-child { transition: color .2s, transform .2s; }
.page-footer a:hover, .catalog-footer a:last-child:hover { color: #618c2b; transform: translateY(-2px); }

@keyframes shared-ring-breathe { 0%,100% { scale: .98; opacity: .72; } 50% { scale: 1.03; opacity: 1; } }
@keyframes shared-ring-rotate { to { rotate: 360deg; } }
@keyframes shared-tile-float { 0%,100% { translate: 0 0; rotate: 4deg; } 50% { translate: 0 -8px; rotate: 2deg; } }
@keyframes shared-spark { 0%,100% { transform: scale(.82) rotate(0); opacity: .55; } 50% { transform: scale(1.12) rotate(25deg); opacity: 1; } }

@media (max-width: 760px) {
  .home-page .hero { min-height: 0; padding: 56px 24px 42px; }
  .home-page .hero h1 { font-size: clamp(49px, 12vw, 68px); }
  .home-page .hero-art { min-height: 325px; height: 325px; margin-top: 24px; }
  .home-page .hero-ring-outer { width: 280px; }
  .home-page .hero-ring-inner { width: 215px; }
  .home-page .services-note { grid-template-columns: 1fr; padding: 25px; }
  .home-page .services-note .button { justify-self: start; }
  .home-page .project-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
  .projects-page .catalog-hero, .content-page .catalog-hero { min-height: 0; grid-template-columns: 1fr; gap: 5px; padding: 42px 25px 25px; }
  .projects-page .catalog-hero h1, .content-page .catalog-hero h1 { font-size: clamp(47px, 12vw, 66px); }
  .catalog-hero-art { min-height: 280px; }
  .catalog-orbit { width: 260px; }
  .catalog-art-card { width: 174px; height: 224px; }
  .catalog-art-card strong { font-size: 98px; }
  .catalog-art-card strong span { font-size: 44px; }
  .projects-page .catalog-footer, .content-page .catalog-footer { margin: 12px; flex-wrap: wrap; }
  .service-hero, .social-hub-hero { min-height: 0; grid-template-columns: 1fr; gap: 5px; padding: 38px 24px 25px; border-radius: 24px; }
  .service-hero h1, .social-hub-copy h1 { font-size: clamp(47px, 12vw, 65px); }
  .service-hero-art { min-height: 275px; }
  .service-orbit-one, .social-hub-orbit { width: 260px; }
  .service-identity-card { width: 174px; height: 224px; }
  .service-identity-card strong { font-size: 98px; }
  .service-focus { padding: 42px 3px 27px; }
  .service-focus-heading, .social-directory-heading { display: block; }
  .service-focus-heading h2, .social-directory-heading h2 { font-size: 36px; }
  .service-focus-grid { grid-template-columns: 1fr; }
  .service-focus-grid article { min-height: 140px; }
  .services-footer, .social-hub-footer { width: calc(100% - 24px); flex-wrap: wrap; }
  .services-footer > span, .social-hub-footer > span { order: 3; flex-basis: 100%; }
  .social-hub-art { min-height: 265px; }
  .social-hub-tile { width: 184px; height: 215px; }
  .social-hub-tile strong { font-size: 72px; }
  .social-directory { padding: 42px 3px 28px; }
  .social-directory-heading > p { margin-top: 12px; }
  .social-directory-grid { grid-template-columns: 1fr; }
  .social-link-card { min-height: 70px; }
  .account-footer { max-width: 100%; }
  .faith-signature { white-space: normal; }
}

:where(.page-card, .service-card, .content-card, .project-card, .social-card,
  .about-interest-grid article, .account-favorite-card, .library-video-card,
  .playlist-card, .item-card, .role-card, .settings-card, .account-settings-card,
  .youtube-settings-card, .social-settings-card) {
  transition: transform .25s var(--motion-ease), box-shadow .25s ease,
    border-color .25s ease, background-color .25s ease;
}

:where(.page-card, .service-card, .content-card, .project-card, .social-card,
  .about-interest-grid article, .account-favorite-card, .library-video-card,
  .playlist-card):hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px #15201a16;
}

:where(.page-grid, .service-grid, .content-grid, .project-grid, .social-grid,
  .about-interest-grid, .items-grid, .library-video-grid, .playlist-grid)
  > :nth-child(2) { animation-delay: 55ms; }
:where(.page-grid, .service-grid, .content-grid, .project-grid, .social-grid,
  .about-interest-grid, .items-grid, .library-video-grid, .playlist-grid)
  > :nth-child(3) { animation-delay: 105ms; }

:where(.button, .primary-action, .secondary-action, .header-join, .account-link,
  .page-account, .login-cta, .content-link, .project-install, .publish-toggle,
  .favorite-button, .home-project-link) {
  transition: transform .2s var(--motion-ease), box-shadow .2s ease,
    background-color .2s ease, color .2s ease, border-color .2s ease;
}

:where(.button, .primary-action, .secondary-action, .header-join, .account-link,
  .page-account, .login-cta, .content-link, .project-install, .publish-toggle,
  .favorite-button, .home-project-link):hover { transform: translateY(-2px); }

:where(.content-cover, .project-cover, .project-visual, .video-thumb,
  .library-video-cover, .web-playlist-art) {
  background-size: 125% 125%;
  transition: background-position .6s ease, filter .35s ease;
}

:where(.content-card, .project-card, .library-video-card, .playlist-card):hover
  :where(.content-cover, .project-cover, .project-visual, .video-thumb,
  .library-video-cover, .web-playlist-art) { background-position: 100% 0; }

.hero-card {
  animation: shared-home-card-float 7s ease-in-out infinite;
  will-change: transform;
}
.orb-one { animation: shared-orb-breathe 9s ease-in-out infinite alternate; }
.orb-two { animation: shared-orb-spin 38s linear infinite; }
.tag-top { animation: shared-chip-float 5.6s ease-in-out infinite; }
.tag-bottom { animation: shared-chip-tilt 6.8s ease-in-out infinite; }
.status-dot { animation: shared-status-pulse 2.7s ease-in-out infinite; }

:where(.project-gallery button, .social-icon, .service-icon, .project-monogram,
  .about-project-mark, .account-mark, .video-admin-thumb span) {
  transition: transform .24s var(--motion-ease), box-shadow .24s ease;
}
:where(.project-gallery button, .social-card, .service-card, .page-card):hover
  :where(.social-icon, .service-icon, .project-gallery button) {
  transform: scale(1.035) rotate(-2deg);
}

:where(.item-card, .role-card, .management-row, .settings-card,
  .account-settings-card, .youtube-settings-card, .social-settings-card):hover {
  border-color: #d5d9e7;
  box-shadow: 0 16px 34px #25304d10;
}

:where(dialog[open], .project-image-dialog[open], .project-gallery-viewer[open],
  .video-preview-dialog[open], .home-video-dialog[open], .web-playlist-dialog[open]) {
  animation: shared-dialog-in .24s var(--motion-ease) both;
}

@keyframes shared-card-in {
  from { opacity: 0; translate: 0 9px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes shared-dialog-in {
  from { opacity: 0; scale: .985; }
  to { opacity: 1; scale: 1; }
}
@keyframes shared-glow-drift {
  to { transform: translate(-20px, 18px) scale(1.08); opacity: .72; }
}
@keyframes shared-home-card-float {
  0%, 100% { transform: translateX(-50%) rotate(7deg); }
  50% { transform: translateX(-50%) translateY(-7px) rotate(5deg); }
}
@keyframes shared-orb-breathe {
  to { transform: scale(1.09); opacity: .9; }
}
@keyframes shared-orb-spin { to { transform: rotate(360deg); } }
@keyframes shared-chip-float {
  50% { translate: 0 -6px; rotate: 2deg; }
}
@keyframes shared-chip-tilt {
  50% { rotate: -5deg; translate: 0 -4px; }
}
@keyframes shared-status-pulse {
  50% { box-shadow: 0 0 0 8px #8ebb2610; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 82px; }
  .hero-card { animation-name: shared-home-card-float-mobile; }
  @keyframes shared-home-card-float-mobile {
    0%, 100% { transform: translateX(-50%) rotate(7deg); }
    50% { transform: translateX(-50%) translateY(-6px) rotate(5deg); }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.motion-enabled .motion-reveal {
  opacity: 0;
  translate: 0 16px;
  transition: opacity .62s var(--motion-ease) var(--motion-delay, 0ms),
    translate .62s var(--motion-ease) var(--motion-delay, 0ms);
}
.motion-enabled .motion-reveal.motion-visible { opacity: 1; translate: 0 0; }
