/* ==========================================================================
   Fincasa Capital — stylesheet
   ========================================================================== */

/* ---- Fonts (self-hosted, Latin subset) ---- */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic.woff2") format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-regular.woff2") format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-variable.woff2") format('woff2');
}

/* ---- Reset / base ---- */
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #f4f3f0;
  color: #191713;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .9s ease;
}
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
a:hover { color: #2b7ab8; }
::selection { background: #3d9be0; color: #fff; }
button { font-family: inherit; }
em.serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; }
.blue { color: #3d9be0; }

/* ---- Animations ---- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes morph {
  0%, 100% { border-radius: 48% 52% 55% 45% / 50% 48% 52% 50%; }
  50% { border-radius: 55% 45% 48% 52% / 45% 55% 45% 55%; }
}
@keyframes mscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }

[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .95s cubic-bezier(.19,1,.22,1), transform .95s cubic-bezier(.19,1,.22,1);
}
[data-reveal="in"] { opacity: 1; transform: none; }

/* ---- Skip link (accessibility) ---- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #191713;
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(244,243,240,.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #e2ded7;
}
.nav-progress {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: #3d9be0;
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.logo sup { font-size: 10px; vertical-align: super; color: #6f6a62; font-weight: 600; margin-left: 2px; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-link {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #4a453d; transition: color .2s;
}
.nav-link:hover { color: #2b7ab8; }
.nav-cta {
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  background: #191713; color: #fff; padding: 12px 22px; transition: background .25s;
}
.nav-cta:hover { background: #2b7ab8; color: #fff; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px; border: none; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #191713; transition: transform .25s, opacity .25s; }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: flex;
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #f4f3f0; border-bottom: 1px solid #e2ded7;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
    padding: 0 40px;
  }
  .nav-links.open { max-height: 60vh; padding: 10px 40px 20px; }
  .nav-links .nav-link, .nav-links .nav-cta { width: 100%; padding: 14px 0; border-bottom: 1px solid #e6e3dd; }
  .nav-links .nav-cta { text-align: center; margin-top: 8px; border-bottom: none; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 90px;
  overflow: hidden;
}
.hero-blob {
  position: absolute; top: 12%; right: -6%;
  width: 44vw; height: 44vw; max-width: 640px; max-height: 640px;
  opacity: .5; filter: blur(10px); will-change: transform;
}
.hero-blob-inner {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, #8fd0f7, #3d9be0, #e8f4fd, #2b7ab8, #8fd0f7);
  animation: spin 18s linear infinite, morph 9s ease-in-out infinite;
}
.hero-inner { position: relative; z-index: 2; }
.hero-meta {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid #e2ded7; padding-bottom: 18px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: #6f6a62; animation: riseIn .9s cubic-bezier(.19,1,.22,1) both;
}
.hero h1 {
  margin: 44px 0 0; font-size: clamp(56px,9.6vw,164px); line-height: .92;
  font-weight: 800; letter-spacing: -.05em;
  animation: riseIn 1s .12s cubic-bezier(.19,1,.22,1) both;
}
.hero-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
  margin-top: 56px; border-top: 1px solid #e2ded7; padding-top: 26px;
  animation: riseIn 1s .28s cubic-bezier(.19,1,.22,1) both;
}
.hero-lede { margin: 0; font-size: 18px; color: #6f6a62; max-width: 460px; font-weight: 500; }
.hero-right { display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
.hero-tag { font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.hero-cta {
  width: 118px; height: 118px; border-radius: 50%; background: #3d9be0; color: #fff;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-weight: 800; font-size: 13px; line-height: 1.25; flex-shrink: 0;
  transition: background .25s, transform .25s;
}
.hero-cta:hover { background: #191713; color: #fff; transform: translateY(-3px); }
.hero-scroll {
  position: absolute; bottom: 24px; left: 40px; font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase; color: #6f6a62; font-weight: 700;
}
.hero-scroll span { display: inline-block; margin-left: 8px; animation: bob 1.8s ease-in-out infinite; }

@media (max-width: 760px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-right { justify-content: space-between; }
}

/* ---- Marquee ---- */
.marquee {
  background: #fff; color: #191713; border-top: 1px solid #e2ded7; border-bottom: 1px solid #e2ded7;
  padding: 24px 0; overflow: hidden; white-space: nowrap;
}
.marquee-track {
  display: inline-block; animation: mscroll 36s linear infinite;
  font-family: 'Instrument Serif', serif; font-style: italic; font-size: 38px;
}
.marquee-track span { margin: 0 30px; }
.marquee-track b {
  color: #3d9be0; font-style: normal; font-family: 'Manrope'; font-weight: 800;
  font-size: .6em; vertical-align: middle;
}

/* ---- Section header pattern ---- */
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #2b7ab8; margin-bottom: 22px; }
.eyebrow span.idx { color: #b9b3a8; margin-right: 10px; }

/* ---- About ---- */
.about-section { padding: 120px 40px 0; }
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.about-label { position: sticky; top: 100px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #2b7ab8; }
.about-headline { margin: 0; font-size: clamp(32px,3.6vw,54px); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; }
.reveal-word { display: inline-block; margin-right: .26em; color: #d8d2c5; transition: color .4s; }
.reveal-word.serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; }
.about-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; color: #6f6a62; font-weight: 500; font-size: 16.5px; }
.about-copy p { margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 64px; border-top: 1px solid #e2ded7; }
.stat { padding: 32px 28px 0 0; border-right: 1px solid #e2ded7; }
.stat:last-child { border-right: none; padding-right: 0; }
.stat:nth-child(2) { padding-left: 28px; }
.stat-num { font-size: clamp(40px,4vw,64px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.stat-num.blue { color: #3d9be0; }
.stat-label { font-size: 13.5px; color: #6f6a62; font-weight: 600; margin-top: 12px; }

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-copy { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; padding-left: 0; border-bottom: 1px solid #e2ded7; padding-bottom: 24px; }
}

/* ---- Image banner ---- */
.banner {
  margin-top: 120px; position: relative; height: 70vh; min-height: 480px; overflow: hidden;
}
.banner-img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-attachment: fixed; background-image: url("../images/about-office.jpg");
}
.banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(18,28,42,.86), rgba(43,122,184,.38));
}
.banner-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; z-index: 2; }
.banner-inner { max-width: 1400px; margin: 0 auto; padding: 0 40px 64px; width: 100%; color: #fff; }
.banner-inner h2 { margin: 0; font-size: clamp(36px,5.4vw,84px); font-weight: 800; letter-spacing: -.04em; line-height: .98; max-width: 900px; }
.banner-inner p { margin: 22px 0 0; color: #d8e8f5; max-width: 560px; font-weight: 500; font-size: 17px; }

@media (max-width: 760px) {
  .banner-img { background-attachment: scroll; }
}

/* ---- Services ---- */
.services-section { padding: 120px 40px 0; }
.services-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; }
.services-head p { margin: 0; font-size: clamp(34px,4.4vw,66px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.services-note { font-size: 14px; color: #6f6a62; font-weight: 600; max-width: 280px; text-align: right; }
.services-list { margin-top: 56px; border-top: 1px solid #e2ded7; }
.service-row {
  display: grid; grid-template-columns: 130px 1.2fr 1fr 80px; gap: 28px; align-items: center;
  padding: 34px 20px; border-bottom: 1px solid #e2ded7; color: #191713; cursor: default;
  transition: opacity .3s, background .3s, color .3s, padding .3s;
}
.service-row:hover { background: #191713; color: #f4f3f0; padding-left: 36px; }
.service-idx { font-size: clamp(34px,3.4vw,52px); font-weight: 800; letter-spacing: -.04em; -webkit-text-stroke: 1.5px #3d9be0; color: transparent; line-height: 1; }
.service-title { margin: 0; font-size: clamp(24px,2.4vw,36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: inherit; }
.service-desc { font-weight: 500; font-size: 15px; opacity: .62; color: inherit; }
.service-arrow {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid currentColor; display: flex;
  align-items: center; justify-content: center; font-size: 22px; color: inherit; opacity: .85;
  justify-self: end; transition: transform .3s, background .3s, border-color .3s, color .3s;
}
.service-row:hover .service-arrow { transform: rotate(-45deg); background: #3d9be0; border-color: #3d9be0; color: #fff; opacity: 1; }

@media (max-width: 760px) {
  .service-row { grid-template-columns: 60px 1fr; grid-template-rows: auto auto; }
  .service-arrow { display: none; }
  .services-note { text-align: left; }
}

/* ---- How we work ---- */
.how-section { margin-top: 120px; background: #fff; color: #191713; border-top: 1px solid #e2ded7; border-bottom: 1px solid #e2ded7; padding: 110px 0; }
.how-headline { margin: 0; font-size: clamp(30px,3.8vw,58px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; max-width: 1000px; }
.how-grid { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 0; margin-top: 72px; border-top: 1px solid #e2ded7; }
.how-col { padding: 40px 32px 0 0; border-right: 1px solid #e2ded7; }
.how-col:last-child { border-right: none; padding-right: 0; }
.how-col:nth-child(2) { padding-left: 32px; }
.how-col:nth-child(3) { padding-left: 32px; }
.how-num { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 20px; color: #3d9be0; margin-bottom: 14px; }
.how-col h4 { margin: 0 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.how-col p { margin: 0; color: #6f6a62; font-size: 15px; font-weight: 500; }
.how-col p.with-tags { margin: 0 0 20px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1px solid #d8d4cc; border-radius: 100px; padding: 8px 15px; font-weight: 700; font-size: 12.5px; color: #191713; }

@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-col { border-right: none; padding-left: 0 !important; border-bottom: 1px solid #e2ded7; padding-bottom: 32px; }
}

/* ---- Clients ---- */
.clients-section { padding: 130px 40px; text-align: center; }
.clients-quote { margin: 0 auto; font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: clamp(34px,5vw,74px); letter-spacing: -.02em; line-height: 1.1; max-width: 1000px; }
.clients-note { color: #6f6a62; font-weight: 500; font-size: 16.5px; max-width: 520px; margin: 26px auto 0; }

/* ---- Press / credentials ---- */
.press-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid #e2ded7; }
.press-col { padding: 56px 48px 56px 0; border-right: 1px solid #e2ded7; }
.press-col:last-child { border-right: none; padding: 56px 0 56px 48px; }
.cred-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid #e2ded7; }
.press-col > div > .cred-row:last-child { border-bottom: none; }
.cred-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6f6a62; flex-shrink: 0; }
.cred-value { font-weight: 800; font-size: 16px; text-align: right; }
.press-link {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 0;
  border-bottom: 1px solid #e2ded7; font-weight: 800; font-size: 17px; color: #191713;
  transition: padding .25s, color .25s;
}
.press-link:last-child { border-bottom: none; }
.press-link:hover { color: #2b7ab8; padding-left: 10px; }
.press-link .blue { color: #3d9be0; }

@media (max-width: 760px) {
  .press-grid { grid-template-columns: 1fr; }
  .press-col, .press-col:last-child { padding: 40px 0; border-right: none; }
}

/* ---- Pull quote ---- */
.pullquote-section { padding: 120px 40px 0; }
.pullquote-inner { border-top: 1px solid #e2ded7; padding-top: 80px; }
.pullquote-inner p { margin: 0; font-family: 'Instrument Serif', serif; font-style: italic; font-size: clamp(28px,4.2vw,58px); line-height: 1.18; letter-spacing: -.01em; max-width: 1100px; }
.pullquote-mark { color: #3d9be0; font-size: 1.4em; vertical-align: -0.1em; }
.pullquote-attr { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.pullquote-attr .line { width: 44px; height: 1px; background: #3d9be0; }
.pullquote-attr .name { font-size: 15px; font-weight: 800; color: #2b7ab8; }
.pullquote-attr .place { color: #6f6a62; font-weight: 500; }

/* ---- FAQ ---- */
.faq-section { padding: 120px 40px 0; }
.faq-grid { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.faq-label { position: sticky; top: 100px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #2b7ab8; }
.faq-list { border-top: 1px solid #e2ded7; }
.faq-item { border-bottom: 1px solid #e2ded7; }
.faq-toggle {
  width: 100%; text-align: left; background: none; border: none; padding: 30px 4px;
  font-size: clamp(19px,2vw,26px); font-weight: 800; letter-spacing: -.02em; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; color: #191713;
}
.faq-plus {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #d8d4cc;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 400;
  color: #3d9be0; transition: transform .3s;
}
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-answer { overflow: hidden; transition: max-height .4s ease; color: #6f6a62; font-weight: 500; font-size: 16px; max-height: 0; }
.faq-item.open .faq-answer { max-height: 320px; }
.faq-answer p { margin: 0; padding: 0 4px 30px; max-width: 720px; }

@media (max-width: 760px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ---- Contact ---- */
.contact-section { margin-top: 130px; background: #fff; color: #191713; padding: 110px 0 0; border-top: 1px solid #e2ded7; }
.contact-top { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.contact-top h2 { margin: 0; font-size: clamp(40px,6.4vw,104px); font-weight: 800; letter-spacing: -.05em; line-height: .96; }
.contact-cta {
  width: 170px; height: 170px; border-radius: 50%; background: #3d9be0; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-weight: 800; font-size: 15px; line-height: 1.3; flex-shrink: 0; transition: background .25s, transform .25s;
}
.contact-cta:hover { background: #191713; color: #fff; transform: translateY(-4px); }
.contact-cta span { font-size: 24px; margin-top: 6px; }
.contact-sub { color: #6f6a62; max-width: 460px; margin: 26px 0 0; font-weight: 500; font-size: 16.5px; }
.contact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 72px; border-top: 1px solid #e6e3dd; }
.contact-cell { padding: 34px 28px 0 0; border-right: 1px solid #e6e3dd; }
.contact-cell:last-child { border-right: none; padding-right: 0; }
.contact-cell:not(:first-child) { padding-left: 28px; }
.contact-cell-label { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #2b7ab8; font-weight: 800; margin-bottom: 10px; }
.contact-cell a { font-weight: 800; font-size: 16.5px; color: #191713; }
.contact-cell a:hover { color: #2b7ab8; }
.contact-cell-value { font-weight: 800; font-size: 16.5px; }
.contact-cell-sub { color: #6f6a62; font-weight: 600; font-size: 14px; }
.social-row { display: flex; gap: 10px; }
.social-icon {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid #d8d4cc; display: flex;
  align-items: center; justify-content: center; font-weight: 800; font-size: 13px; color: #191713;
  transition: all .25s;
}
.social-icon:hover { background: #3d9be0; border-color: #3d9be0; color: #fff; transform: translateY(-3px); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-cell:nth-child(3) { padding-left: 0; border-right: none; }
  .contact-cell:nth-child(1), .contact-cell:nth-child(3) { padding-right: 28px; border-right: 1px solid #e6e3dd; }
}

.map-wrap { margin-top: 64px; border: 1px solid #e6e3dd; border-radius: 4px; overflow: hidden; height: 340px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); }

.wordmark-wrap { margin-top: 80px; overflow: hidden; }
.wordmark { font-size: clamp(90px,15.5vw,236px); font-weight: 800; letter-spacing: -.06em; line-height: .86; text-align: center; transform: translateY(6%); }

.footer-bar {
  border-top: 1px solid #e6e3dd; padding: 26px 0 30px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: 13px; color: #6f6a62;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #2b7ab8; font-weight: 700; }

/* ---- Legal pages (privacy / terms) ---- */
.legal-page { max-width: 900px; margin: 0 auto; padding: 160px 40px 120px; }
.legal-page h1 { font-size: clamp(32px,4vw,48px); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 8px; }
.legal-page .updated { color: #6f6a62; font-weight: 600; font-size: 14px; margin-bottom: 48px; }
.legal-page h2 { font-size: 20px; font-weight: 800; margin: 40px 0 12px; letter-spacing: -0.01em; }
.legal-page p, .legal-page li { color: #4a453d; font-size: 15.5px; line-height: 1.7; }
.legal-page ul { padding-left: 20px; }
.legal-note { background: #f0ede6; border: 1px solid #e2ded7; padding: 18px 22px; font-size: 14px; color: #6f6a62; margin-bottom: 40px; }
.legal-footer { max-width: 900px; margin: 0 auto 60px; padding: 26px 40px 0; border-top: 1px solid #e6e3dd; }

/* ---- Maintenance page: dark aurora scene ---- */
.maint-body {
  margin: 0;
  background: #0c0d10;
  color: #f4f3f0;
  overflow-x: hidden;
}

.maint-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  --px: 0;
  --py: 0;
}

.maint-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, rgba(0,0,0,.9), transparent 78%);
  mask-image: radial-gradient(circle at 50% 40%, rgba(0,0,0,.9), transparent 78%);
  transform: translate3d(calc(var(--px) * -8px), calc(var(--py) * -8px), 0);
}

.maint-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  will-change: transform;
}
.maint-blob-a {
  width: 62vw; height: 62vw; max-width: 780px; max-height: 780px;
  top: -18%; left: -14%;
  background: radial-gradient(circle at 30% 30%, #3d9be0, #12324d 70%);
  animation: maintFloatA 22s ease-in-out infinite;
  transform: translate3d(calc(var(--px) * 22px), calc(var(--py) * 16px), 0);
}
.maint-blob-b {
  width: 48vw; height: 48vw; max-width: 620px; max-height: 620px;
  bottom: -16%; right: -10%;
  background: radial-gradient(circle at 60% 40%, #8fd0f7, #1b3f5c 72%);
  animation: maintFloatB 26s ease-in-out infinite;
  transform: translate3d(calc(var(--px) * -18px), calc(var(--py) * -14px), 0);
}
.maint-blob-c {
  width: 36vw; height: 36vw; max-width: 460px; max-height: 460px;
  top: 38%; left: 58%;
  background: radial-gradient(circle at 50% 50%, #2b7ab8, transparent 72%);
  animation: maintFloatC 18s ease-in-out infinite;
  transform: translate3d(calc(var(--px) * 12px), calc(var(--py) * -10px), 0);
}
@keyframes maintFloatA {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(3%, 4%) scale(1.06); }
}
@keyframes maintFloatB {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-4%, -3%) scale(1.08); }
}
@keyframes maintFloatC {
  0%, 100% { transform: translate(0,0) scale(1); opacity: .5; }
  50% { transform: translate(-3%, 3%) scale(1.15); opacity: .75; }
}

.maint-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 42%, transparent 30%, rgba(6,7,9,.55) 68%, rgba(4,5,6,.92) 100%);
}

.maint-noise {
  position: absolute; inset: 0;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.maint-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.maint-card {
  text-align: center;
  max-width: 640px;
  padding: 64px 56px;
  border-radius: 20px;
  background: rgba(20,22,27,.55);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  animation: riseIn 1s cubic-bezier(.19,1,.22,1) both;
}

.maint-logo { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 40px; color: #f4f3f0; }
.maint-eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: #8fd0f7; margin-bottom: 22px;
}
.maint-title {
  margin: 0; font-size: clamp(32px,5vw,58px); font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.08; color: #f4f3f0;
}
.maint-lede { margin: 24px 0 0; color: rgba(244,243,240,.62); font-size: 16.5px; font-weight: 500; }
.maint-date {
  margin: 40px 0 0; display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 100px; padding: 13px 26px;
  font-weight: 800; font-size: 14px; color: #f4f3f0; background: rgba(255,255,255,.03);
}
.maint-date .dot { width: 8px; height: 8px; border-radius: 50%; background: #3d9be0; box-shadow: 0 0 0 4px rgba(61,155,224,.25); animation: bob 1.8s ease-in-out infinite; }
.maint-contact {
  margin-top: 52px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; gap: 48px; flex-wrap: wrap; justify-content: center;
}
.maint-contact-item { text-align: center; }
.maint-contact-label {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #8fd0f7;
  font-weight: 800; margin-bottom: 10px;
}
.maint-contact-item a { font-weight: 800; font-size: 17px; color: #f4f3f0; transition: color .2s; }
.maint-contact-item a:hover { color: #8fd0f7; }

@media (max-width: 560px) {
  .maint-card { padding: 48px 28px; border-radius: 16px; }
  .maint-contact { gap: 32px; }
}
