/* ============================================================ main.css - Component blocks Each block is a self-contained, reusable section. Compose with utility classes from utilities.css. ============================================================ */ /* NAV */ .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); } /* Push page content below the fixed nav */ body { padding-top: var(--nav-h); } .nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; } .nav__logo { font-family: var(--ff-display); font-weight: 400; font-size: 17px; color: var(--purple); display: flex; align-items: center; gap: 12px; } .nav__logo img { height: 80px; width: auto; } .nav__links { display: flex; align-items: center; gap: 2px; list-style: none; } .nav__links > li { position: relative; } .nav__links a { font-size: 13.5px; font-weight: 600; color: var(--ink-mid); padding: 8px 14px; border-radius: var(--r-sm); transition: color var(--ease), background var(--ease); display: inline-flex; align-items: center; gap: 6px; } .nav__links a:hover, .nav__links li:hover > a, .nav__links li:focus-within > a { color: var(--pink); background: var(--pink-pale); } /* dropdown caret */ .nav__caret { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; display: inline-block; transform: rotate(45deg); transform-origin: center; transition: transform .35s ease; } .nav__links li:hover > a .nav__caret, .nav__links li:focus-within > a .nav__caret { transform: rotate(225deg); } /* dropdown panel */ .nav__dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 10px; display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--ease), transform var(--ease), visibility var(--ease); list-style: none; z-index: 200; } .nav__links li:hover > .nav__dropdown, .nav__links li:focus-within > .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); } .nav__dropdown a { display: block; padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--ink-mid); border-radius: var(--r-sm); white-space: nowrap; } .nav__dropdown a:hover { background: var(--pink-pale); color: var(--pink); } .nav__dropdown a small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-light); margin-top: 2px; } .nav__actions { display: flex; gap: 10px; } /* BUTTONS */ .btn-nav-ghost { font-family: var(--ff-body); font-size: 13px; font-weight: 600; color: var(--purple); padding: 9px 20px; border-radius: var(--r-pill); border: 1.5px solid var(--purple); transition: background var(--ease), color var(--ease); } .btn-nav-ghost:hover { background: var(--purple); color: var(--white); } .btn-nav-solid { font-family: var(--ff-body); font-size: 13px; font-weight: 600; color: var(--white); padding: 9px 20px; border-radius: var(--r-pill); background: var(--pink); transition: background var(--ease); } .btn-nav-solid:hover { background: var(--pink-mid); } .btn-solid { display: inline-block; font-family: var(--ff-body); font-size: 14px; font-weight: 600; background: var(--pink); color: var(--white); padding: 15px 30px; border-radius: var(--r-pill); border: none; cursor: pointer; transition: background var(--ease), transform var(--ease); } .btn-solid:hover { background: var(--pink-mid); transform: translateY(-2px); } .btn-outline-white { display: inline-block; font-family: var(--ff-body); font-size: 14px; font-weight: 600; background: transparent; color: var(--white); padding: 15px 30px; border-radius: var(--r-pill); border: 1.5px solid rgba(255,255,255,.4); transition: border-color var(--ease), background var(--ease); } .btn-outline-white:hover { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.07); } .btn-pink { display: inline-block; font-family: var(--ff-body); font-size: 14px; font-weight: 600; background: var(--pink); color: var(--white); padding: 15px 32px; border-radius: var(--r-pill); transition: background var(--ease), transform var(--ease); } .btn-pink:hover { background: var(--pink-mid); transform: translateY(-2px); } .btn-purple-outline { display: inline-block; font-family: var(--ff-body); font-size: 14px; font-weight: 600; color: var(--purple); padding: 15px 32px; border-radius: var(--r-pill); border: 1.5px solid var(--purple); transition: background var(--ease), color var(--ease); } .btn-purple-outline:hover { background: var(--purple); color: var(--white); } .btn-link { font-size: 14px; font-weight: 600; color: var(--pink); display: inline-flex; align-items: center; gap: 6px; transition: gap var(--ease); } .btn-link:hover { gap: 10px; } /* LABEL TAG */ .label-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); background: var(--pink-pale); padding: 6px 14px; border-radius: var(--r-pill); } /* HEADINGS */ .h2 { font-family: var(--ff-display); font-weight: 300; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.15; color: var(--ink); } .h2 em { font-style: normal; color: var(--pink); } .body-text { font-size: 16px; color: var(--ink-mid); line-height: 1.8; } /* HERO */ .hero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--nav-h)); background: var(--purple); overflow: hidden; } .hero__left { display: flex; flex-direction: column; justify-content: center; padding: 80px 60px 80px 0; } .hero__kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; } .hero__kicker-line { width: 36px; height: 1.5px; background: var(--gold); } .hero__kicker span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold); } .hero__title { font-family: var(--ff-display); font-weight: 300; font-size: clamp(38px, 4.5vw, 64px); line-height: 1.1; color: var(--white); margin-bottom: 24px; } .hero__title em { font-style: normal; color: var(--pink); } .hero__sub { font-size: 16.5px; color: rgba(255,255,255,.68); line-height: 1.75; margin-bottom: 44px; max-width: 440px; } .hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; } .hero__right { position: relative; overflow: hidden; } .hero__photo { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(226,28,118,.35) 0%, transparent 55%), linear-gradient(0deg, rgba(53,43,83,.7) 0%, transparent 40%), url('https://images.unsplash.com/photo-1607748862156-7c548e7e98f4?w=900&q=80') center/cover no-repeat; } .hero__photo-overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--purple) 0%, transparent 20%); } .hero__card { position: absolute; bottom: 48px; right: 48px; background: rgba(255,255,255,.1); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 24px 28px; max-width: 240px; color: var(--white); } .hero__card-num { font-family: var(--ff-display); font-size: 40px; font-weight: 300; color: var(--gold); line-height: 1; } .hero__card-label { font-size: 12.5px; opacity: .75; margin-top: 6px; line-height: 1.5; } .hero__card-divider{ height: 1px; background: rgba(255,255,255,.2); margin: 16px 0; } .hero__card-num2 { font-family: var(--ff-display); font-size: 28px; font-weight: 300; color: var(--pink); } .hero__card-label2 { font-size: 12px; opacity: .65; margin-top: 4px; } /* SECTION HEADER */ .section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 52px; flex-wrap: wrap; gap: 20px; } /* NEWSLETTER */ .newsletter { padding: 80px 0; background: var(--pink-wash); } .newsletter__inner { max-width: 600px; margin: 0 auto; text-align: center; } .newsletter__title { font-size: clamp(22px, 2.8vw, 36px); margin-bottom: 12px; } .newsletter__sub { font-size: 15px; color: var(--ink-mid); margin-bottom: 32px; } .newsletter__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 2px solid var(--border); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-sm); } .newsletter__form:focus-within { border-color: var(--pink); } .newsletter__field { background: var(--white); } .newsletter__field--email { grid-column: 1 / -1; } .newsletter__field label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .newsletter__form input { width: 100%; border: none; outline: none; padding: 16px 22px; font-family: var(--ff-body); font-size: 15px; color: var(--ink); background: var(--white); } .newsletter__form input::placeholder { color: var(--ink-light); } .newsletter__form button, .newsletter__form .button { grid-column: 1 / -1; justify-self: center; background: var(--pink); color: var(--white); border: none; padding: 12px 30px; margin: 8px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; cursor: pointer; transition: background var(--ease); } .newsletter__form button:hover, .newsletter__form .button:hover { background: var(--pink-mid); } .newsletter__responses { grid-column: 1 / -1; background: var(--white); font-size: 13px; color: var(--ink); text-align: center; font-weight: 600; } .newsletter__responses .response { margin: 12px 14px 4px; padding: 12px 16px; border-radius: var(--r-sm); line-height: 1.45; } #mce-success-response { background: #eef8f0; border: 1px solid #9bd3a5; color: #276437; } #mce-error-response { background: var(--pink-pale); border: 1px solid rgba(226,28,118,.35); color: var(--pink-mid); } .newsletter__honeypot { position: absolute; left: -5000px; } .newsletter__note { font-size: 11.5px; color: var(--ink-light); margin-top: 12px; } /* FOOTER */ .footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 72px 0 32px; } .footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; } .footer__brand { font-family: var(--ff-display); font-size: 20px; font-weight: 400; color: var(--white); margin-bottom: 14px; } .footer__brand em { font-style: normal; color: var(--pink); } .footer__desc { font-size: 13px; line-height: 1.7; margin-bottom: 24px; } .footer__col-head { font-family: var(--ff-display); font-size: 14.5px; font-weight: 400; color: var(--white); margin-bottom: 18px; } .footer__list { list-style: none; display: flex; flex-direction: column; gap: 10px; } .footer__list a { font-size: 13px; transition: color var(--ease); } .footer__list a:hover { color: var(--pink); } .footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; } .footer__bottom p { font-size: 12.5px; } .footer__bottom a { color: var(--pink); } .footer__disclaimer { font-size: 11px; opacity: .5; } /* Hide mobile CTA wrapper on desktop */ .nav__mobile-cta-wrap { display: none; } /* PAGE HERO */ .page-hero { background: var(--purple); color: var(--white); padding: 80px 0 90px; position: relative; overflow: hidden; } .page-hero::after { content: ''; position: absolute; inset: auto 0 -1px 0; height: 80px; background: linear-gradient(to bottom, transparent, var(--off)); pointer-events: none; } .breadcrumbs { font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.55); display: flex; gap: 10px; align-items: center; margin-bottom: 28px; } .breadcrumbs a { color: rgba(255,255,255,.7); transition: color var(--ease); } .breadcrumbs a:hover { color: var(--gold); } .page-hero__title { font-family: var(--ff-display); font-weight: 300; font-size: clamp(38px, 5vw, 68px); line-height: 1.05; margin: 18px 0 18px; } .page-hero__title em { font-style: normal; color: var(--pink); } .page-hero__sub { font-size: 17px; color: rgba(255,255,255,.7); line-height: 1.7; max-width: 720px; margin-bottom: 40px; } .page-hero__stats { display: flex; gap: 48px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px; max-width: 720px; } .page-hero__stats > div { display: flex; flex-direction: column; gap: 2px; } .page-hero__stats strong { font-family: var(--ff-display); font-weight: 300; font-size: 32px; color: var(--gold); line-height: 1; } .page-hero__stats span { font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: .04em; } /* HAMBURGER */ .nav__burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--border); border-radius: var(--r-sm); background: var(--white); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; transition: border-color var(--ease); } .nav__burger:hover { border-color: var(--pink); } .nav__burger span { display: block; width: 20px; height: 2px; background: var(--purple); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; } .nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .nav__burger.is-open span:nth-child(2) { opacity: 0; } .nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } /* RESPONSIVE */ @media (max-width: 1100px) { .hero { grid-template-columns: 1fr; } .hero__right { display: none; } .hero__left { padding: 80px 0; } .about__grid, .specialist__grid, .cta__inner { grid-template-columns: 1fr; gap: 40px; } .blog__grid { grid-template-columns: 1fr; } .footer__grid { grid-template-columns: 1fr 1fr; } /* Switch to burger nav earlier so menu items don't get squashed */ .nav__burger { display: inline-flex; } .nav__actions { display: none; } .nav__links { position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px 28px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); max-height: calc(100vh - var(--nav-h)); overflow-y: auto; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s ease, visibility .25s ease; } .nav__links.is-open { transform: translateY(0); opacity: 1; visibility: visible; } .nav__links > li { width: 100%; border-bottom: 1px solid var(--border); } .nav__links > li:last-child { border-bottom: none; } .nav__links > li > a { width: 100%; padding: 16px 4px; font-size: 15px; border-radius: 0; justify-content: space-between; } .nav__links > li > a:hover { background: transparent; } /* Mobile dropdown accordion */ .nav__dropdown { position: static; box-shadow: none; border: none; padding: 0 0 12px 12px; opacity: 1; visibility: visible; transform: none; display: none; } .nav__links li.is-expanded > .nav__dropdown { display: flex; } .nav__links li:hover > .nav__dropdown, .nav__links li:focus-within > .nav__dropdown { opacity: 1; visibility: visible; transform: none; } .nav__links li.is-expanded > a .nav__caret { transform: rotate(225deg); } .nav__links li:not(.is-expanded):hover > a .nav__caret { transform: rotate(45deg); } /* Mobile-only CTAs inside the panel */ .nav__mobile-cta-wrap { display: block; } .nav__mobile-cta { display: flex; gap: 10px; padding-top: 16px; } .nav__mobile-cta .btn-nav-ghost, .nav__mobile-cta .btn-nav-solid { flex: 1; text-align: center; } } @media (max-width: 640px) { .newsletter__form { grid-template-columns: 1fr; border-radius: 22px; } .newsletter__field--email, .newsletter__form button, .newsletter__form .button, .newsletter__responses { grid-column: auto; } .footer__grid { grid-template-columns: 1fr; } .trust__sep { display: none; } .trust__inner { justify-content: flex-start; } .post-card--side { grid-template-columns: 1fr; gap: 14px; } }