@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@1,500;1,600&display=swap");

:root {
  --ink: #1b1518;
  --wine: #421124;
  --wine-deep: #290b17;
  --wine-soft: #732743;
  --cream: #f7f3ee;
  --ivory: #fcfaf7;
  --white: #ffffff;
  --muted: #71686c;
  --line: rgba(39, 22, 29, 0.14);
  --gold: #bd8b50;
  --green: #176b5b;
  --shadow: 0 26px 80px rgba(45, 18, 29, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--ivory); font-family: "DM Sans", sans-serif; }
button, input { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(115, 39, 67, .28); outline-offset: 3px; }

.site-header { height: 86px; padding: 0 max(4.5vw, 28px); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(39, 22, 29, .09); background: rgba(252, 250, 247, .92); backdrop-filter: blur(18px); }
.site-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--wine); text-decoration: none; }
.brand-monogram { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--cream); background: var(--wine); font-family: "Playfair Display", serif; font-size: 1.3rem; font-style: italic; }
.brand-name { display: flex; flex-direction: column; }
.brand-name strong { font-size: .92rem; letter-spacing: .22em; line-height: 1; }
.brand-name small { margin-top: 5px; color: var(--muted); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; gap: 32px; }
.site-header nav a { font-size: .82rem; font-weight: 600; text-decoration: none; }
.site-header nav a:not(.nav-access):hover { color: var(--wine-soft); }
.nav-access { min-height: 43px; padding: 0 17px; display: inline-flex; align-items: center; gap: 14px; border: 1px solid var(--wine); border-radius: 4px; color: var(--wine); }

.hero { min-height: calc(100vh - 86px); display: grid; grid-template-columns: 47% 53%; background: var(--cream); }
.hero-copy { max-width: 690px; padding: 10vh 5vw 8vh max(5vw, 38px); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { color: var(--wine-soft); font-size: .71rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { margin: 25px 0 27px; font-size: clamp(3.4rem, 5.5vw, 6rem); font-weight: 500; letter-spacing: -.065em; line-height: .95; }
.hero h1 em { color: var(--wine); font-family: "Playfair Display", serif; font-weight: 500; letter-spacing: -.04em; }
.hero-lead { max-width: 580px; margin: 0; color: var(--muted); font-size: 1.09rem; line-height: 1.72; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 27px; }
.button { min-height: 54px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; border-radius: 4px; font-size: .86rem; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--wine); box-shadow: 0 14px 35px rgba(66, 17, 36, .19); }
.button.primary:hover { background: var(--wine-soft); }
.text-link { padding: 9px 0; border-bottom: 1px solid var(--ink); font-size: .82rem; font-weight: 600; text-decoration: none; }
.text-link span { margin-left: 12px; color: var(--wine-soft); }
.hero-facts { margin: 54px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-facts div { min-height: 68px; padding-right: 20px; display: flex; align-items: flex-start; gap: 12px; border-right: 1px solid var(--line); }
.hero-facts div + div { padding-left: 22px; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts dt { color: var(--wine); font-family: "Playfair Display", serif; font-size: 1.35rem; font-style: italic; font-weight: 600; }
.hero-facts dd { margin: 2px 0 0; color: var(--muted); font-size: .69rem; line-height: 1.5; }

.hero-visual { min-height: 680px; position: relative; overflow: hidden; background: #c9b8ac; }
.hero-photo { width: 100%; height: 100%; margin: 0; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(41, 11, 23, .05), transparent 35%), linear-gradient(0deg, rgba(41, 11, 23, .18), transparent 30%); pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.analysis-float { width: min(360px, calc(100% - 48px)); position: absolute; left: 28px; bottom: 34px; padding: 19px; border: 1px solid rgba(255,255,255,.62); border-radius: 13px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); backdrop-filter: blur(15px); }
.float-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.float-heading span { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.float-heading i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(23,107,91,.1); }
.float-heading b { color: var(--wine); font-family: "Playfair Display", serif; font-style: italic; }
.float-result { padding: 14px 0 13px; }
.float-result strong, .float-result span { display: block; }
.float-result strong { font-size: .9rem; }
.float-result span { margin-top: 5px; color: var(--muted); font-size: .67rem; }
.float-regions { display: flex; flex-wrap: wrap; gap: 6px; }
.float-regions span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: .6rem; }
.photo-caption { position: absolute; right: 25px; bottom: 26px; writing-mode: vertical-rl; transform: rotate(180deg); color: rgba(255,255,255,.9); font-size: .64rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }

.principles { min-height: 102px; padding: 0 max(5vw, 38px); display: grid; grid-template-columns: repeat(4, 1fr); color: white; background: var(--wine-deep); }
.principles div { padding: 0 25px; display: flex; align-items: center; gap: 14px; border-right: 1px solid rgba(255,255,255,.1); }
.principles div:first-child { padding-left: 0; }
.principles div:last-child { border-right: 0; }
.principles span { color: #d4a16a; font-family: "Playfair Display", serif; font-size: .85rem; font-style: italic; }
.principles strong { color: #e8dde1; font-size: .75rem; font-weight: 500; }

.section { padding: 120px max(5vw, 38px); }
.section-intro { max-width: 820px; margin-bottom: 52px; }
.section h2 { margin: 17px 0 0; font-size: clamp(2.5rem, 4.6vw, 5rem); font-weight: 500; letter-spacing: -.055em; line-height: 1.02; }
.platform { background: var(--ivory); }
.platform-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 14px; }
.platform-feature { min-height: 410px; padding: 31px; display: flex; flex-direction: column; border: 1px solid var(--line); background: white; }
.feature-main { min-height: 470px; background: #f0e9e4; }
.feature-index { color: var(--wine-soft); font-size: .66rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.feature-glyph { width: 54px; height: 54px; margin: 58px 0 28px; display: grid; place-items: center; border: 1px solid rgba(66,17,36,.22); border-radius: 50%; color: var(--wine); font-family: "Playfair Display", serif; font-size: 1.5rem; }
.platform-feature h3 { max-width: 420px; margin: 0 0 17px; font-family: "Playfair Display", serif; font-size: 1.65rem; font-style: italic; font-weight: 500; line-height: 1.2; }
.platform-feature p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.68; }
.platform-feature ul { margin: auto 0 0; padding: 24px 0 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.platform-feature li { padding: 7px 10px; border: 1px solid rgba(66,17,36,.14); border-radius: 99px; color: var(--wine); font-size: .65rem; }
.dark-card { color: white; border-color: var(--wine); background: var(--wine); }
.dark-card .feature-index { color: #ddb184; }
.dark-card .feature-glyph { color: #f2d0ad; border-color: rgba(255,255,255,.24); }
.dark-card p { color: #d9c8ce; }

.process { max-width: none; display: grid; grid-template-columns: 52% 48%; padding: 0; color: white; background: var(--wine-deep); }
.process-media { min-height: 760px; position: relative; overflow: hidden; }
.process-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(41,11,23,.45), transparent 48%); }
.process-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; }
.process-media > span { position: absolute; left: 34px; bottom: 34px; z-index: 2; padding: 9px 12px; border: 1px solid rgba(255,255,255,.4); color: white; background: rgba(41,11,23,.4); backdrop-filter: blur(10px); font-size: .67rem; letter-spacing: .07em; text-transform: uppercase; }
.process-content { padding: 105px max(5vw, 58px); }
.eyebrow.light { color: #d8a672; }
.process h2 { max-width: 650px; font-size: clamp(2.7rem, 4vw, 4.8rem); }
.process ol { margin: 55px 0 0; padding: 0; list-style: none; }
.process li { padding: 21px 0; display: grid; grid-template-columns: 48px 1fr; gap: 20px; border-top: 1px solid rgba(255,255,255,.13); }
.process li > span { color: #d8a672; font-family: "Playfair Display", serif; font-size: .83rem; font-style: italic; }
.process li strong { font-size: .91rem; }
.process li p { max-width: 500px; margin: 7px 0 0; color: #b9aab0; font-size: .8rem; line-height: 1.58; }

.statement { text-align: center; background: var(--cream); }
.statement-mark { width: 55px; height: 55px; margin: 0 auto 33px; display: grid; place-items: center; border: 1px solid rgba(66,17,36,.2); border-radius: 50%; color: var(--wine); font-family: "Playfair Display", serif; font-size: 1.5rem; font-style: italic; }
.statement blockquote { max-width: 980px; margin: 0 auto; color: var(--wine); font-family: "Playfair Display", serif; font-size: clamp(2.3rem, 4.5vw, 4.8rem); font-style: italic; line-height: 1.12; }
.statement p { max-width: 650px; margin: 28px auto 0; color: var(--muted); line-height: 1.65; }

.access-section { max-width: none; display: grid; grid-template-columns: 1fr 470px; gap: 9vw; align-items: center; color: white; background: #151012; }
.access-copy { max-width: 690px; }
.access-copy h2 { max-width: 650px; }
.access-copy > p { max-width: 600px; margin: 25px 0 0; color: #b6aaae; font-size: 1rem; line-height: 1.7; }
.access-note { margin-top: 34px; display: flex; align-items: center; gap: 13px; }
.access-note > span { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid rgba(216,166,114,.35); border-radius: 50%; color: #d8a672; }
.access-note strong, .access-note small { display: block; }
.access-note strong { font-size: .79rem; }
.access-note small { margin-top: 4px; color: #83787c; font-size: .67rem; }
.login-card { padding: 37px; border: 1px solid rgba(255,255,255,.12); background: #21191c; box-shadow: 0 35px 90px rgba(0,0,0,.28); }
.login-heading { margin-bottom: 31px; }
.login-heading span, .login-heading strong { display: block; }
.login-heading span { color: #d8a672; font-size: .62rem; font-weight: 700; letter-spacing: .14em; }
.login-heading strong { margin-top: 9px; font-family: "Playfair Display", serif; font-size: 1.55rem; font-style: italic; font-weight: 500; }
.login-card label { display: block; margin: 17px 0 8px; color: #d1c8cb; font-size: .75rem; font-weight: 600; }
.login-card input { width: 100%; height: 51px; padding: 0 14px; color: white; border: 1px solid rgba(255,255,255,.14); border-radius: 3px; background: rgba(255,255,255,.05); outline: 0; }
.login-card input::placeholder { color: #776c70; }
.login-card input:focus { border-color: #d8a672; box-shadow: 0 0 0 3px rgba(216,166,114,.09); }
.password-field { position: relative; }
.password-field input { padding-right: 80px; }
.password-field button { position: absolute; right: 8px; top: 8px; height: 35px; padding: 0 8px; color: #b7aaaf; border: 0; background: transparent; font-size: .68rem; cursor: pointer; }
.login-message { min-height: 20px; margin: 12px 0 3px; color: #e699af; font-size: .74rem; }
.login-message.success { color: #75c4b4; }
.login-submit { width: 100%; height: 53px; margin-top: 2px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; color: var(--wine-deep); border: 0; border-radius: 3px; background: #d8a672; font-size: .8rem; font-weight: 700; cursor: pointer; }
.login-submit:hover { background: #e4bb91; }
.login-submit:disabled { opacity: .65; cursor: wait; }
.recover-link { width: 100%; margin-top: 15px; color: #d8a672; border: 0; background: transparent; font-size: .72rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.recovery-panel { margin-top: 15px; padding: 14px; border: 1px solid rgba(216,166,114,.22); background: rgba(255,255,255,.035); }
.recovery-panel[hidden] { display: none; }
.recovery-panel label { margin: 0 0 8px; }
.recovery-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.recovery-row input { height: 44px; }
.recovery-row button { padding: 0 13px; color: #21191c; border: 0; border-radius: 3px; background: #d8a672; font-size: .7rem; font-weight: 800; cursor: pointer; }
.recovery-panel p { min-height: 16px; margin: 10px 0 0; color: #bdb1b5; font-size: .68rem; line-height: 1.45; }
.login-help { margin: 17px 0 0; color: #766c70; text-align: center; font-size: .66rem; }

footer { min-height: 150px; padding: 35px max(5vw,38px); display: flex; align-items: center; gap: 34px; border-top: 1px solid var(--line); background: white; }
footer p { flex: 1; color: var(--muted); font-size: .78rem; text-align: center; }
footer > span { color: var(--muted); font-size: .72rem; }
.footer-brand .brand-monogram { width: 34px; height: 34px; font-size: 1.1rem; }

@media (max-width: 1080px) {
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; padding: 85px max(6vw,32px) 75px; }
  .hero-visual { min-height: 680px; }
  .principles { grid-template-columns: repeat(2,1fr); padding-top: 14px; padding-bottom: 14px; }
  .principles div { min-height: 65px; }
  .principles div:nth-child(2) { border-right: 0; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .feature-main { grid-column: 1 / -1; }
  .process { grid-template-columns: 1fr; }
  .process-media { min-height: 620px; }
  .access-section { grid-template-columns: 1fr; }
  .login-card { width: min(520px,100%); }
}

@media (max-width: 700px) {
  .site-header { height: 72px; padding: 0 20px; }
  .site-header nav a:not(.nav-access) { display: none; }
  .nav-access { min-height: 39px; padding: 0 12px; font-size: .7rem !important; }
  .brand-name small { display: none; }
  .hero-copy { padding: 64px 22px 58px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .button { width: 100%; }
  .text-link { width: max-content; }
  .hero-facts { margin-top: 42px; }
  .hero-facts div { padding-right: 10px; flex-direction: column; gap: 2px; }
  .hero-facts div + div { padding-left: 12px; }
  .hero-facts dt { font-size: 1.12rem; }
  .hero-facts dd { font-size: .61rem; }
  .hero-visual { min-height: 550px; }
  .hero-photo img { object-position: 58% center; }
  .analysis-float { left: 15px; bottom: 18px; width: calc(100% - 48px); }
  .photo-caption { right: 11px; bottom: 18px; }
  .principles { grid-template-columns: 1fr; padding: 12px 22px; }
  .principles div { padding: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .principles div:last-child { border-bottom: 0; }
  .section { padding: 82px 22px; }
  .section h2 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .platform-grid { grid-template-columns: 1fr; }
  .feature-main { grid-column: auto; }
  .platform-feature, .feature-main { min-height: 360px; }
  .feature-glyph { margin-top: 42px; }
  .process { padding: 0; }
  .process-media { min-height: 470px; }
  .process-media img { object-position: 43% center; }
  .process-media > span { left: 18px; right: 18px; bottom: 18px; }
  .process-content { padding: 78px 22px; }
  .statement blockquote { font-size: clamp(2.2rem, 11vw, 3.8rem); }
  .access-section { padding: 82px 22px; }
  .login-card { padding: 27px 21px; }
  footer { padding: 35px 22px; flex-direction: column; text-align: center; }
  footer p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
