@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

@font-face { font-family: 'BaseBloom'; src: url('../assets/BaseBloom.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --acid: #d8fd77; --violet: #7c55fd; --black: #181618; --offwhite: #f2f4f2;
  --dark: #1e1c1e; --dark2: #252325; --grey: #a5a2a5;
  --font-display: 'BaseBloom', Impact, sans-serif; --font-ui: 'DM Sans', Arial, sans-serif;
  --radius-card: 24px; --page-pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; background: var(--black); color: var(--offwhite); font-family: var(--font-ui); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1440px, 100%); margin-inline: auto; padding-inline: var(--page-pad); }

.site-header { height: 112px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; position: absolute; inset: 0 0 auto; z-index: 10; }
.site-header .brand { width: clamp(190px, 19vw, 285px); display: block; }
.site-header .brand img { width: 100%; height: 54px; object-fit: contain; object-position: left center; display: block; }
.site-header > p { margin: 0; color: var(--grey); font-size: .68rem; font-weight: 700; letter-spacing: .22em; }
.social-link { justify-self: end; width: 44px; height: 44px; border: 1px solid color-mix(in srgb, var(--offwhite) 42%, transparent); border-radius: 50%; display: grid; place-items: center; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.social-link svg { width: 18px; }
.social-link:hover, .social-link:focus-visible { background: var(--acid); color: var(--black); transform: rotate(8deg); }

.hero { width: 100%; max-width: none; min-height: min(900px, 100svh); padding-top: 168px; padding-bottom: 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; isolation: isolate; background-image: linear-gradient(180deg, rgba(24,22,24,.38) 0%, rgba(24,22,24,.08) 48%, rgba(24,22,24,.72) 100%), url('../assets/hero-background.png'); background-size: cover; background-position: center; background-repeat: no-repeat; box-shadow: inset 0 -80px 90px -60px var(--black); }
.eyebrow { margin: 0 0 22px; color: var(--acid); font-size: .72rem; font-weight: 700; letter-spacing: .21em; line-height: 1.4; }
.hero h1, .section-heading h2, .secondary-heading h2 { font-family: var(--font-display); font-weight: 400; }
.hero h1 { max-width: 1120px; margin: 0; font-size: clamp(4rem, 9.8vw, 9.2rem); line-height: .78; letter-spacing: -.04em; }
.hero h1 span { color: var(--acid); }
.hero-intro { margin: 34px 0 0; font-size: clamp(1.08rem, 1.7vw, 1.5rem); font-weight: 400; }
.scroll-cue { margin-top: 52px; display: inline-flex; align-items: center; gap: 16px; font-size: .7rem; font-weight: 700; letter-spacing: .16em; }
.scroll-cue span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--offwhite); border-radius: 50%; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.scroll-cue:hover span { background: var(--offwhite); color: var(--black); transform: translateY(4px); }
.hero-orbit { position: absolute; font-family: var(--font-display); color: var(--acid); opacity: .9; animation: float 5s ease-in-out infinite; }
.orbit-one { top: 28%; left: 10%; font-size: clamp(2.5rem, 5vw, 6rem); }
.orbit-two { right: 9%; bottom: 22%; font-size: clamp(3rem, 7vw, 7rem); color: var(--violet); animation-delay: -2s; }

.doors-section { background: var(--black); color: var(--offwhite); padding: clamp(100px, 12vw, 180px) 0 clamp(110px, 12vw, 170px); position: relative; }
.suit-rule { position: absolute; inset: -23px 0 auto; height: 46px; display: flex; justify-content: space-around; align-items: center; overflow: hidden; background: var(--acid); color: var(--black); border-block: 2px solid var(--black); font-family: var(--font-display); font-size: 1.55rem; }
.section-heading { max-width: 900px; margin: 0 auto clamp(54px, 7vw, 92px); text-align: center; }
.dark-label { color: var(--acid); }
.section-heading h2, .secondary-heading h2 { margin: 0; font-size: clamp(4rem, 8vw, 8rem); line-height: .8; letter-spacing: -.035em; }
.section-heading > p:last-child { max-width: 650px; margin: 30px auto 0; font-size: clamp(1rem, 1.5vw, 1.22rem); }
.door-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.3vw, 34px); align-items: stretch; }
.door-card { min-height: 590px; padding: 28px; border: 0; border-radius: var(--radius-card); display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform 260ms cubic-bezier(.2,.7,.2,1); }
.door-card:hover, .door-card:focus-visible { transform: translateY(-12px) rotate(-.6deg); outline: none; }
.door-card.threshold:hover, .door-card.threshold:focus-visible { transform: translateY(-12px) rotate(.6deg); }
.mirror { background: var(--offwhite); color: var(--black); }
.threshold { background: var(--acid); color: var(--black); }
.infinite { background: var(--violet); color: var(--offwhite); }
.card-copy { margin: auto 0 46px; }
.card-kicker { min-height: 64px; margin: 0 0 24px; font-size: 1rem; font-weight: 700; line-height: 1.35; }
.card-copy h3 { margin: 0 0 24px; font-family: var(--font-display); font-size: clamp(3.7rem, 5vw, 5.8rem); font-weight: 400; line-height: .8; }
.card-copy > p:last-child { max-width: 36ch; margin: 0; font-size: .96rem; }
.card-action { width: 100%; padding-top: 18px; border-top: 1px solid currentColor; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.card-action svg { flex: 0 0 auto; width: 21px; transition: transform 180ms ease; }
.door-card:hover .card-action svg { transform: translate(4px, -4px); }

.secondary-section { padding: clamp(110px, 12vw, 180px) 0; background: var(--acid); color: var(--black); }
.secondary-section .eyebrow { color: var(--black); }
.secondary-inner { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(480px, 1.2fr); gap: clamp(70px, 10vw, 160px); align-items: start; }
.secondary-heading { position: sticky; top: 70px; }
.secondary-heading h2 { font-size: clamp(4rem, 6.5vw, 7rem); }
.secondary-list { border-top: 1px solid color-mix(in srgb, var(--black) 44%, transparent); }
.secondary-list a { min-height: 138px; padding: 28px 8px; border-bottom: 1px solid color-mix(in srgb, var(--black) 44%, transparent); display: grid; grid-template-columns: 52px 1fr 42px; gap: 24px; align-items: center; transition: color 180ms ease, padding 180ms ease; }
.secondary-list a:hover, .secondary-list a:focus-visible { color: var(--violet); padding-inline: 18px; outline: none; }
.secondary-list a > svg:first-child { width: 29px; height: 29px; }
.link-icon { width: 29px; height: 29px; }
.secondary-list span { display: flex; flex-direction: column; gap: 5px; }
.secondary-list small { color: color-mix(in srgb, var(--black) 68%, transparent); font-size: .65rem; font-weight: 700; letter-spacing: .16em; }
.secondary-list strong { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 3.15rem); font-weight: 400; line-height: 1; }
.row-arrow { justify-self: end; transition: transform 180ms ease; }
.secondary-list a:hover .row-arrow { transform: translate(4px, -4px); }

.about-section { padding: clamp(90px, 11vw, 160px) 0; background: var(--dark); color: var(--offwhite); }
.about-inner { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(420px, 1.18fr); gap: clamp(54px, 9vw, 150px); align-items: center; }
.about-photo { position: relative; overflow: hidden; border-radius: var(--radius-card); aspect-ratio: 4 / 5; background: var(--black); }
.about-photo::after { content: ''; position: absolute; inset: 0; border: 1px solid color-mix(in srgb, var(--acid) 28%, transparent); border-radius: inherit; pointer-events: none; }
.about-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; filter: contrast(1.02); }
.about-copy { max-width: 680px; }
.about-copy h2 { margin: 0 0 34px; font-family: var(--font-display); font-size: clamp(4rem, 7vw, 7.5rem); font-weight: 400; line-height: .8; letter-spacing: -.035em; }
.about-copy h2 span { color: var(--acid); }
.about-copy > p:not(.eyebrow) { max-width: 58ch; margin: 0 0 22px; font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.7; }
.about-copy strong { font-weight: 650; color: var(--acid); }
.about-link { width: fit-content; margin-top: 18px; padding-bottom: 8px; display: inline-flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--acid); color: var(--acid); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.about-link b { font-size: 1.1rem; font-weight: 400; transition: transform 180ms ease; }
.about-link:hover b, .about-link:focus-visible b { transform: translate(4px, -4px); }

footer { padding: 0 0 26px; background: var(--black); color: var(--offwhite); }
.footer-inner { min-height: 360px; display: grid; grid-template-columns: 180px 1fr auto; gap: 54px; align-items: center; }
.footer-mark { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; }
.footer-inner > p { margin: 0; font-family: var(--font-display); font-size: clamp(3.5rem, 6.5vw, 7rem); line-height: .78; }
.footer-inner > p span { color: var(--acid); }
.footer-actions { display: flex; gap: 12px; }
.footer-actions a { width: 54px; height: 54px; border: 2px solid var(--offwhite); border-radius: 50%; display: grid; place-items: center; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.footer-actions a { font-family: var(--font-display); font-size: 1.4rem; }
.footer-actions a:hover, .footer-actions a:focus-visible { background: var(--acid); color: var(--black); border-color: var(--acid); transform: rotate(8deg); }
.footer-meta { padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--offwhite) 32%, transparent); display: flex; justify-content: space-between; gap: 20px; font-size: .62rem; font-weight: 700; letter-spacing: .14em; }
.footer-meta a { color: var(--grey); transition: color 180ms ease; }
.footer-meta a:hover, .footer-meta a:focus-visible { color: var(--acid); }

.legal-page { min-height: 100vh; background: var(--offwhite); color: var(--black); }
.legal-top { background: var(--black); color: var(--offwhite); }
.legal-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.legal-header .brand { width: clamp(190px, 19vw, 270px); }
.legal-header .brand img { width: 100%; height: 52px; object-fit: contain; object-position: left center; display: block; }
.legal-back { display: inline-flex; align-items: center; gap: 10px; color: var(--acid); font-size: .7rem; font-weight: 800; letter-spacing: .14em; }
.legal-hero { padding-top: clamp(70px, 9vw, 130px); padding-bottom: clamp(70px, 9vw, 120px); }
.legal-hero h1 { max-width: 900px; margin: 0; font-family: var(--font-display); font-size: clamp(4rem, 9vw, 9rem); font-weight: 400; line-height: .78; letter-spacing: -.035em; }
.legal-hero h1 span { color: var(--acid); }
.legal-hero p { max-width: 650px; margin: 32px 0 0; color: var(--grey); font-size: 1.05rem; }
.legal-nav { padding: 24px var(--page-pad); display: flex; flex-wrap: wrap; gap: 12px 30px; border-top: 1px solid color-mix(in srgb, var(--offwhite) 25%, transparent); }
.legal-nav a { color: var(--offwhite); font-size: .7rem; font-weight: 800; letter-spacing: .13em; }
.legal-nav a:hover, .legal-nav a:focus-visible { color: var(--acid); }
.legal-content { width: min(980px, 100%); padding-top: clamp(70px, 9vw, 120px); padding-bottom: clamp(90px, 11vw, 150px); }
.legal-content > h2 { scroll-margin-top: 24px; margin: 0 0 48px; font-family: var(--font-display); font-size: clamp(3.2rem, 6vw, 6.2rem); font-weight: 400; line-height: .84; letter-spacing: -.025em; }
.legal-content > h2:not(:first-child) { margin-top: clamp(90px, 12vw, 150px); padding-top: clamp(70px, 9vw, 110px); border-top: 2px solid var(--black); }
.legal-content > h3 { margin: 48px 0 17px; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.25; }
.legal-text-block { margin: 0 0 20px; white-space: pre-line; font-size: 1rem; line-height: 1.75; }
.legal-subheading { margin: 30px 0 22px; color: var(--violet); white-space: pre-line; font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.legal-raw-table { margin: 24px 0 44px; padding: 22px; overflow-x: auto; border: 1px solid color-mix(in srgb, var(--black) 24%, transparent); background: color-mix(in srgb, var(--offwhite) 74%, white); font-family: var(--font-ui); font-size: .84rem; line-height: 1.65; white-space: pre; }
.legal-document + .legal-document { margin-top: clamp(90px, 12vw, 150px); padding-top: clamp(70px, 9vw, 110px); border-top: 2px solid var(--black); }
.legal-document > h2 { margin: 0 0 50px; font-family: var(--font-display); font-size: clamp(3.2rem, 6vw, 6.2rem); font-weight: 400; line-height: .84; letter-spacing: -.025em; }
.legal-document > h2 span { color: var(--violet); }
.legal-updated { margin: -30px 0 48px; color: color-mix(in srgb, var(--black) 58%, transparent); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.legal-section { margin-top: 48px; }
.legal-section h3 { margin: 0 0 17px; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.25; }
.legal-section p, .legal-section li { font-size: 1rem; line-height: 1.75; }
.legal-section p { margin: 0 0 18px; }
.legal-section ol, .legal-section ul { padding-left: 1.4rem; }
.legal-section li + li { margin-top: 10px; }
.legal-table-wrap { margin-top: 26px; overflow-x: auto; border: 1px solid color-mix(in srgb, var(--black) 24%, transparent); }
.legal-table { width: 100%; min-width: 780px; border-collapse: collapse; font-size: .86rem; }
.legal-table th, .legal-table td { padding: 13px 14px; border-bottom: 1px solid color-mix(in srgb, var(--black) 18%, transparent); text-align: left; vertical-align: top; line-height: 1.45; }
.legal-table th { background: var(--black); color: var(--acid); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-footer { padding: 34px 0; background: var(--black); color: var(--offwhite); }
.legal-footer .shell { display: flex; justify-content: space-between; gap: 20px; font-size: .66rem; font-weight: 700; letter-spacing: .12em; }
.cursor-dot, .cursor-ring { display: none; }

@media (pointer: fine) {
  body, a { cursor: none; }
  .cursor-dot, .cursor-ring { display: block; pointer-events: none; position: fixed; top: 0; left: 0; z-index: 1000; border-radius: 50%; will-change: transform; }
  .cursor-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--acid); }
  .cursor-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid var(--acid); }
}

@keyframes float { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-18px) rotate(5deg); } }

@media (max-width: 1050px) {
  .door-grid { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
  .door-card { min-height: 440px; }
  .card-kicker { min-height: 0; }
  .secondary-inner { grid-template-columns: 1fr; gap: 70px; }
  .secondary-heading { position: static; }
  .about-inner { grid-template-columns: minmax(260px, .72fr) minmax(380px, 1.28fr); gap: 50px; }
  .footer-inner { grid-template-columns: 110px 1fr; }
  .footer-mark { width: 100px; height: 100px; }
  .footer-actions { grid-column: 2; }
}

@media (max-width: 680px) {
  :root { --radius-card: 18px; }
  body { font-size: 16px; }
  .site-header { height: 86px; grid-template-columns: 1fr auto; }
  .site-header .brand { width: 184px; }
  .site-header .brand img { height: 44px; }
  .site-header > p { display: none; }
  .social-link { width: 40px; height: 40px; }
  .hero { min-height: 780px; padding-top: 120px; padding-bottom: 78px; background-position: 30% center; }
  .hero h1 { font-size: clamp(3.75rem, 19vw, 6.5rem); line-height: .82; }
  .hero h1 span { text-shadow: none; }
  .hero-intro { max-width: 270px; }
  .orbit-one { top: 22%; left: 3%; }
  .orbit-two { right: 1%; bottom: 21%; }
  .suit-rule { justify-content: space-between; padding-inline: 12px; }
  .suit-rule span:nth-child(even) { display: none; }
  .section-heading { text-align: left; }
  .section-heading h2, .secondary-heading h2 { font-size: clamp(3.6rem, 17vw, 5.5rem); line-height: .82; }
  .section-heading > p:last-child { margin-left: 0; }
  .door-card { min-height: 520px; padding: 23px; }
  .card-copy h3 { font-size: clamp(4.2rem, 18vw, 6rem); }
  .secondary-list a { min-height: 116px; padding-block: 23px; grid-template-columns: 34px 1fr 28px; gap: 14px; }
  .secondary-list strong { font-size: clamp(2rem, 9.5vw, 3rem); }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { max-width: 440px; }
  .about-copy h2 { font-size: clamp(3.8rem, 17vw, 5.8rem); }
  .footer-inner { min-height: 430px; padding-top: 70px; padding-bottom: 54px; grid-template-columns: 1fr; gap: 34px; align-content: center; }
  .footer-mark { width: 90px; height: 90px; }
  .footer-inner > p { font-size: clamp(3.4rem, 16vw, 5.5rem); }
  .footer-actions { grid-column: auto; }
  .footer-meta { flex-direction: column; font-size: .56rem; }
  .legal-header { min-height: 84px; }
  .legal-header .brand { width: 180px; }
  .legal-back span { display: none; }
  .legal-hero h1 { font-size: clamp(3.8rem, 18vw, 6.2rem); }
  .legal-nav { gap: 12px 20px; }
  .legal-footer .shell { flex-direction: column; }
}

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