/* ═══════════════════════════════════════════════════════════════
   HERO-GEO — HeroGeometric floating-shape background
   CSS port of the framer-motion ElegantShape component
════════════════════════════════════════════════════════════════ */

/* ── Keyframes ─────────────────────────────────────────────── */

/* 1. Entrance: slide in from top + rotate into place */
@keyframes shapeIn {
  0%   { opacity: 0; transform: translateY(-150px) rotate(var(--rot-from)); }
  100% { opacity: 1; transform: translateY(0)       rotate(var(--rot)); }
}

/* 2. Continuous float: translateY 0 → 15px → 0 */
@keyframes shapeFloat {
  0%, 100% { transform: translateY(0px)  rotate(var(--rot)); }
  50%       { transform: translateY(15px) rotate(var(--rot)); }
}

/* 3. Content fade-up (mirrors fadeUpVariants) */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* 4. Badge dot pulse */
@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}

/* ── Hero container ────────────────────────────────────────── */
.hero-geo {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #030303;
  padding: 96px 24px 80px;
}

/* ── Dark base + ambient radial glow ───────────────────────── */
.hero-geo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 20% 50%,  rgba(99,102,241,.07) 0%, transparent 70%),
    radial-gradient(ellipse 55% 70% at 80% 30%,  rgba(244,63,94,.05)  0%, transparent 60%);
}

/* ── Shapes wrapper ────────────────────────────────────────── */
.shapes-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ── Shared shape base ─────────────────────────────────────── */
.shape {
  position: absolute;
}
.shape-inner {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 2px solid rgba(255,255,255,.15);
  box-shadow: 0 8px 32px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(2px);
}
/* Inner highlight gradient */
.shape-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.20), transparent 70%);
}

/* ── Shape colour variants ─────────────────────────────────── */
.shape-indigo { background: linear-gradient(to right, rgba(99,102,241,.18), transparent); }
.shape-rose   { background: linear-gradient(to right, rgba(244,63,94,.18),   transparent); }
.shape-violet { background: linear-gradient(to right, rgba(139,92,246,.18),  transparent); }
.shape-amber  { background: linear-gradient(to right, rgba(245,158,11,.18),  transparent); }
.shape-cyan   { background: linear-gradient(to right, rgba(6,182,212,.18),   transparent); }

/* ── Individual shapes: size · position · timing ───────────── */

/* shape-1: indigo  600×140  rotate=12   left~-5%  top~20%   delay=.3s */
.shape-1 {
  width: 600px; height: 140px;
  left: -5%; top: 20%;
  --rot: 12deg; --rot-from: -3deg;
  animation:
    shapeIn    2.4s cubic-bezier(.23,.86,.39,.96) .3s both,
    shapeFloat 12s  ease-in-out                   2.7s infinite;
}

/* shape-2: rose    500×120  rotate=-15  right=0%  top~75%   delay=.5s */
.shape-2 {
  width: 500px; height: 120px;
  right: 0; top: 75%;
  --rot: -15deg; --rot-from: -30deg;
  animation:
    shapeIn    2.4s cubic-bezier(.23,.86,.39,.96) .5s both,
    shapeFloat 12s  ease-in-out                   2.9s infinite;
}

/* shape-3: violet  300×80   rotate=-8   left=10%  bot=10%   delay=.4s */
.shape-3 {
  width: 300px; height: 80px;
  left: 10%; bottom: 10%;
  --rot: -8deg; --rot-from: -23deg;
  animation:
    shapeIn    2.4s cubic-bezier(.23,.86,.39,.96) .4s both,
    shapeFloat 12s  ease-in-out                   2.8s infinite;
}

/* shape-4: amber   200×60   rotate=20   right=20% top=15%   delay=.6s */
.shape-4 {
  width: 200px; height: 60px;
  right: 20%; top: 15%;
  --rot: 20deg; --rot-from: 5deg;
  animation:
    shapeIn    2.4s cubic-bezier(.23,.86,.39,.96) .6s both,
    shapeFloat 12s  ease-in-out                   3.0s infinite;
}

/* shape-5: cyan    150×40   rotate=-25  left=25%  top=10%   delay=.7s */
.shape-5 {
  width: 150px; height: 40px;
  left: 25%; top: 10%;
  --rot: -25deg; --rot-from: -40deg;
  animation:
    shapeIn    2.4s cubic-bezier(.23,.86,.39,.96) .7s both,
    shapeFloat 12s  ease-in-out                   3.1s infinite;
}

/* ── Hero top/bottom fade-to-dark ──────────────────────────── */
.hero-fade-t {
  position: absolute; top: 0; left: 0; right: 0;
  height: 200px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(3,3,3,.85), transparent);
}
.hero-fade-b {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 240px; pointer-events: none;
  background: linear-gradient(to top, #030303 0%, transparent 100%);
}

/* ── Hero inner content ────────────────────────────────────── */
.hero-geo-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ── Animation helper (replaces framer's fadeUpVariants) ────── */
.anim-up {
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(.25,.4,.25,1) var(--d, 0s) forwards;
}

/* ── Badge ─────────────────────────────────────────────────── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  font-size: 13px;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
  margin-bottom: 32px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(244,63,94,.8);
  flex-shrink: 0;
  animation: badgePulse 2.5s ease-in-out infinite;
}

/* ── Hero title ────────────────────────────────────────────── */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -.03em;
  margin: 0 0 28px;
  max-width: 100%;
}
.title-white {
  display: inline;
  background: linear-gradient(to bottom, #fff, rgba(255,255,255,.82));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.title-gradient {
  display: inline;
  background: linear-gradient(to right, #a5b4fc, rgba(255,255,255,.92), #fda4af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero lead text ────────────────────────────────────────── */
.hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.40);
  line-height: 1.75;
  max-width: 520px;
  font-weight: 300;
  letter-spacing: .02em;
  margin: 0 0 36px;
}

/* ── Hero CTA buttons ──────────────────────────────────────── */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}
.geo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  background: #fff;
  color: #030303;
  border: 1px solid #fff;
}
.geo-btn:hover { opacity: .9; transform: translateY(-2px); }
.geo-btn.geo-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.18);
}
.geo-btn.geo-btn-ghost:hover {
  border-color: rgba(255,255,255,.35);
  color: #fff;
}

/* ── Hero info panel (glass) ───────────────────────────────── */
.hero-geo .hero-panel {
  width: 100%;
  max-width: 520px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(16px);
  padding: 4px 22px;
}
.hero-geo .panel-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .88rem;
}
.hero-geo .panel-line:last-child { border-bottom: 0; }
.hero-geo .panel-line span { color: rgba(255,255,255,.35); }
.hero-geo .panel-line b    { color: rgba(255,255,255,.75); text-align: right; }

/* ── Topbar: dark-transparent to match dark hero ───────────── */
.topbar {
  background: rgba(3,3,3,.72) !important;
  border-bottom-color: rgba(255,255,255,.06) !important;
}
.brand { color: #fff !important; }
.brand small { color: rgba(255,255,255,.4) !important; }
.brand-mark {
  background: #fff !important;
  color: #030303 !important;
}
.nav a { color: rgba(255,255,255,.55) !important; }
.nav a:hover { color: #fff !important; }
.ghost {
  color: rgba(255,255,255,.55) !important;
  border-color: rgba(255,255,255,.15) !important;
}
.ghost:hover { color: #fff !important; border-color: rgba(255,255,255,.35) !important; }

/* ── Transition section: dark → light ─────────────────────── */
/* give the sections below the hero a slight top padding so content
   doesn't sit directly against the fade */
#processes.section { padding-top: clamp(64px,8vw,110px); }

/* ── Responsive tweaks ─────────────────────────────────────── */
@media (max-width: 900px) {
  .shape-1 { width: 400px; height: 100px; }
  .shape-2 { width: 340px; height: 88px;  }
  .shape-3 { width: 220px; height: 60px;  }
  .hero-geo { padding: 88px 18px 60px; }
}
@media (max-width: 520px) {
  .shape-1 { width: 280px; height: 70px; left: -15%; }
  .shape-2 { width: 220px; height: 56px; }
  .shape-4, .shape-5 { display: none; }
  .hero-title { font-size: clamp(2.6rem, 14vw, 3.5rem); }
  .hero-geo .hero-panel { padding: 2px 14px; }
  .hero-geo .panel-line { font-size: .78rem; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .shape, .anim-up, .badge-dot { animation: none !important; }
  .anim-up { opacity: 1 !important; }
}

/* ═══════════════════════════════════════════════════════════════
   ORIGINAL DRIVN STYLES — untouched below this line
════════════════════════════════════════════════════════════════ */

:root{
  --ink:#171611;--muted:#766f61;--paper:#f4efe4;--sand:#d8c7aa;--clay:#9d6f4f;--char:#27231d;--line:rgba(23,22,17,.16);--white:#fffaf0;--good:#325b3d;--bad:#8b342f;
  --shadow:0 24px 80px rgba(23,22,17,.12);--radius:26px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,system-ui,sans-serif;min-height:100vh;overflow-x:hidden}.grain{position:fixed;inset:0;pointer-events:none;opacity:.22;background-image:radial-gradient(rgba(23,22,17,.12) .6px,transparent .6px);background-size:6px 6px;mix-blend-mode:multiply;z-index:0}.topbar{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:18px clamp(18px,4vw,54px);backdrop-filter:blur(18px);background:rgba(244,239,228,.78);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand-mark{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:var(--paper);font-weight:800}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.nav{display:flex;align-items:center;gap:20px}.nav a,.ghost{color:var(--ink);background:transparent;border:0;text-decoration:none;font:inherit;cursor:pointer}.ghost{border:1px solid var(--line);padding:10px 14px;border-radius:999px}.section{position:relative;z-index:1;padding:clamp(56px,8vw,110px) clamp(18px,5vw,72px)}.hero{min-height:78vh;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.72fr);align-items:end;gap:44px}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:12px;color:var(--clay);font-weight:800;margin:0 0 14px}h1,h2,h3{margin:0;line-height:.95;letter-spacing:-.055em}h1{font-family:'Playfair Display',serif;font-size:clamp(62px,12vw,154px);max-width:980px}h2{font-family:'Playfair Display',serif;font-size:clamp(38px,7vw,92px)}h3{font-size:25px;letter-spacing:-.035em}.lead{font-size:clamp(18px,2vw,24px);line-height:1.45;max-width:760px;color:var(--muted);margin:26px 0}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border-radius:999px;background:var(--ink);color:var(--paper);text-decoration:none;border:1px solid var(--ink);font-weight:800;cursor:pointer}.button.secondary{background:transparent;color:var(--ink)}.button.small{min-height:42px;padding:0 15px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-panel{border:1px solid var(--line);border-radius:var(--radius);background:rgba(255,250,240,.54);box-shadow:var(--shadow);padding:22px}.panel-line{display:flex;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.panel-line:last-child{border-bottom:0}.panel-line span{color:var(--muted)}.panel-line b{text-align:right}.split-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:40px;align-items:end}.split-head p{font-size:18px;line-height:1.55;color:var(--muted)}.collections{position:relative;z-index:1;padding:0 clamp(18px,5vw,72px) 40px}.collection-card{display:grid;grid-template-columns:90px minmax(0,1fr) minmax(240px,.5fr);gap:28px;align-items:center;padding:34px 0;border-top:1px solid var(--line);text-decoration:none;color:inherit}.collection-card:last-child{border-bottom:1px solid var(--line)}.number{font-family:'Playfair Display',serif;font-size:42px;color:var(--clay)}.collection-card h3{font-size:clamp(32px,5vw,70px);font-family:'Playfair Display',serif}.collection-card p{color:var(--muted);font-size:17px;line-height:1.5}.tools{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.tools input,.tools select,input,select,textarea{font:inherit;border:1px solid var(--line);border-radius:16px;background:rgba(255,250,240,.7);color:var(--ink);padding:13px 14px;outline:none}.tools input{min-width:min(320px,100%)}.lot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:34px}.lot-card{border:1px solid var(--line);border-radius:var(--radius);background:rgba(255,250,240,.6);padding:22px;display:flex;flex-direction:column;min-height:420px;box-shadow:0 12px 36px rgba(23,22,17,.06)}.lot-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.badge{padding:7px 10px;border-radius:999px;background:var(--sand);font-size:12px;font-weight:800;white-space:nowrap}.lot-card h3{font-family:'Playfair Display',serif;font-size:34px;margin:18px 0}.lot-meta{display:grid;gap:8px;color:var(--muted);font-size:14px}.notes{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.note{font-size:12px;border:1px solid var(--line);border-radius:999px;padding:7px 10px;background:rgba(216,199,170,.28)}.lot-desc{color:var(--muted);line-height:1.55;margin:auto 0 18px}.card-actions{display:flex;gap:8px;flex-wrap:wrap}.linkbtn{border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:999px;padding:10px 12px;font-weight:800;text-decoration:none;cursor:pointer}.intelligence{background:var(--char);color:var(--paper);margin-top:40px}.intelligence .eyebrow{color:var(--sand)}.statement{max-width:980px}.pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:40px}.pillars article{border:1px solid rgba(244,239,228,.18);border-radius:var(--radius);padding:24px;background:rgba(244,239,228,.05)}.pillars span{color:var(--sand);font-family:'Playfair Display',serif;font-size:34px}.pillars p{color:rgba(244,239,228,.72);line-height:1.55}.footer{position:relative;z-index:1;display:flex;justify-content:space-between;gap:20px;padding:34px clamp(18px,5vw,72px);border-top:1px solid var(--line);color:var(--muted)}.footer a{color:var(--ink);font-weight:800}.dialog{border:0;padding:0;background:transparent;width:min(560px,calc(100vw - 28px))}.dialog.wide{width:min(960px,calc(100vw - 28px))}.dialog::backdrop{background:rgba(23,22,17,.56);backdrop-filter:blur(8px)}.dialog-card{position:relative;border-radius:28px;background:var(--paper);padding:28px;border:1px solid var(--line);box-shadow:var(--shadow)}.close{position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:transparent;font-size:22px;cursor:pointer}.muted{color:var(--muted);line-height:1.5}.dialog input,.dialog textarea,.dialog select{width:100%;margin-top:8px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:20px}.form-grid label{font-weight:800;font-size:13px;color:var(--muted)}.form-grid .full{grid-column:1/-1}.form-grid textarea{min-height:100px;resize:vertical}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.danger{color:var(--bad);border-color:rgba(139,52,47,.35)}.form-message{min-height:20px;color:var(--muted);font-weight:700}.hidden{display:none!important}@media(max-width:900px){.hero,.split-head{grid-template-columns:1fr}.nav a{display:none}.lot-grid,.pillars{grid-template-columns:1fr}.collection-card{grid-template-columns:60px 1fr}.collection-card p{grid-column:2}.tools{justify-content:flex-start}.form-grid{grid-template-columns:1fr}.hero{min-height:auto;padding-top:70px}.footer{flex-direction:column}}@media(max-width:520px){h1{font-size:58px}.topbar{padding:14px}.brand small{display:none}.hero-actions .button{width:100%}.collection-card{grid-template-columns:1fr}.collection-card p{grid-column:1}.number{font-size:28px}.lot-card{min-height:auto}.panel-line{display:block}.panel-line b{display:block;text-align:left;margin-top:6px}}
@media print{.topbar,.footer,.card-actions,.tools,.grain{display:none!important}body{background:#fff}.section{padding:20px}.lot-card{break-inside:avoid}}
