/* ── PLANEXIS GLOBAL STYLES ── */
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #ffffff;
  --bg2: #f7f7f5;
  --bg3: #efefec;
  --ink: #0a0a0a;
  --mid: #6b6b6b;
  --faint: #a8a8a8;
  --line: #d8d8d2;
  --mono: 'Space Mono', monospace;
  --sans: 'Outfit', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); overflow-x: hidden; cursor: none; }

/* CURSOR */
#cursor { width: 8px; height: 8px; background: var(--ink); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width .15s, height .15s; }
#cursor-ring { width: 32px; height: 32px; border: 1px solid var(--ink); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); opacity: .35; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; display: flex; align-items: center; justify-content: space-between; padding: 20px 64px; background: rgba(255,255,255,.94); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); transition: padding .3s; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--ink); position: relative; }
.logo-mark::after { content: ''; position: absolute; width: 6px; height: 6px; background: var(--ink); bottom: -3px; right: -3px; }
.logo-name { font-family: var(--sans); font-weight: 800; font-size: 18px; letter-spacing: -.5px; color: var(--ink); }
.logo-name em { font-style: normal; color: var(--faint); font-weight: 300; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-family: var(--mono); font-size: 11px; text-decoration: none; color: var(--mid); letter-spacing: 1px; text-transform: uppercase; transition: color .2s; position: relative; padding-bottom: 2px; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--ink); transition: width .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; background: var(--ink); color: var(--bg); border: none; padding: 11px 24px; cursor: pointer; text-decoration: none; transition: background .2s; }
.nav-cta:hover { background: #333; }

/* PAGE HEADER (for inner pages) */
.page-header { padding: 160px 64px 80px; background: var(--bg2); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, #c8c8c0 1px, transparent 1px); background-size: 32px 32px; opacity: .4; }
.ph-mono { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; position: relative; z-index: 1; }
.ph-mono::before { content: '// '; color: var(--ink); }
.ph-title { font-family: var(--sans); font-size: clamp(42px,6vw,80px); font-weight: 900; letter-spacing: -3px; line-height: 1.0; position: relative; z-index: 1; }
.ph-sub { font-size: 17px; color: var(--mid); font-weight: 300; line-height: 1.8; max-width: 520px; margin-top: 20px; position: relative; z-index: 1; }

/* SECTION BASICS */
.section { padding: 100px 64px; }
.section-alt { background: var(--bg2); }
.section-dark { background: var(--ink); color: #f0f0ec; }
.s-mono { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.s-mono::before { content: '['; } .s-mono::after { content: ']'; }
.s-title { font-family: var(--sans); font-size: clamp(30px,3.5vw,52px); font-weight: 900; letter-spacing: -2px; line-height: 1.05; margin-bottom: 18px; }
.s-sub { font-size: 16px; color: var(--mid); line-height: 1.8; font-weight: 300; max-width: 560px; margin-bottom: 56px; }

/* GRID CARDS */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--bg); padding: 44px 36px; transition: background .2s; position: relative; }
.card:hover { background: var(--bg2); }
.card-alt { background: var(--bg2); }
.card-alt:hover { background: var(--bg); }
.card-dark { background: #111; }
.card-dark:hover { background: #161616; }
.card-line { width: 36px; height: 2px; background: var(--ink); margin-bottom: 24px; transition: width .3s; }
.card:hover .card-line { width: 72px; }
.card-num { font-family: var(--mono); font-size: 10px; color: var(--faint); letter-spacing: 1px; margin-bottom: 12px; }
.card-title { font-family: var(--sans); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.card-desc { font-size: 14px; color: var(--mid); line-height: 1.8; font-weight: 300; }
.bg-num { position: absolute; top: 28px; right: 28px; font-family: var(--mono); font-size: 64px; font-weight: 700; color: var(--line); line-height: 1; }

/* TAGS */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border: 1px solid var(--line); color: var(--mid); transition: border-color .2s, color .2s; }
.card:hover .tag { border-color: #888; color: var(--ink); }

/* BUTTONS */
.btn { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; padding: 14px 28px; text-decoration: none; display: inline-block; transition: all .2s; border: 2px solid var(--ink); cursor: pointer; }
.btn-fill { background: var(--ink); color: var(--bg); }
.btn-fill:hover { background: #333; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-white { background: #f0f0ec; color: var(--ink); border-color: #f0f0ec; }
.btn-white:hover { background: white; }

/* TICKER */
.ticker { background: var(--ink); color: var(--bg); padding: 13px 0; overflow: hidden; }
.ticker-inner { display: flex; gap: 60px; white-space: nowrap; animation: ticker 22s linear infinite; }
.t-item { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.tdot { width: 4px; height: 4px; background: #444; border-radius: 50%; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* CONTACT INFO BOX */
.cinfo { display: flex; flex-direction: column; border: 1px solid var(--line); }
.ci { padding: 26px 32px; border-bottom: 1px solid var(--line); display: flex; gap: 18px; align-items: center; }
.ci:last-child { border-bottom: none; }
.ci-icon { width: 40px; height: 40px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.ci-label { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.ci-val { font-size: 15px; font-weight: 500; }
.ci-val a { color: var(--ink); text-decoration: none; }
.ci-val a:hover { opacity: .6; }

/* FORM */
.form-box { display: flex; flex-direction: column; border: 1px solid var(--line); }
.form-field { padding: 18px 28px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.fl { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); }
.fi, .ft, .fs { background: none; border: none; outline: none; font-family: var(--sans); font-size: 15px; color: var(--ink); width: 100%; padding: 4px 0; }
.ft { resize: none; min-height: 100px; }
.fs { cursor: pointer; }
.fs option { background: var(--bg); }
.form-submit { background: var(--ink); color: var(--bg); border: none; padding: 20px 28px; width: 100%; font-family: var(--mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: background .2s; display: flex; justify-content: space-between; align-items: center; }
.form-submit:hover { background: #222; }

/* IMAGE PLACEHOLDER */
.img-box { background: var(--bg3); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--faint); font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-align: center; padding: 20px; }
.img-box img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* FOOTER */
footer { background: var(--ink); color: #f0f0ec; padding: 64px 64px 36px; }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid #1e1e1e; margin-bottom: 32px; }
.foot-desc { font-size: 13px; color: #666; line-height: 1.9; font-weight: 300; margin-top: 14px; max-width: 260px; }
.foot-col-title { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: #444; margin-bottom: 18px; }
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.foot-links a { text-decoration: none; color: #666; font-size: 13px; transition: color .2s; }
.foot-links a:hover { color: #f0f0ec; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-copy { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: #444; text-transform: uppercase; }
.foot-copy a { color: #666; text-decoration: none; }
.socials { display: flex; gap: 10px; }
.soc { width: 32px; height: 32px; border: 1px solid #2a2a2a; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 10px; color: #555; text-decoration: none; transition: border-color .2s, color .2s; }
.soc:hover { border-color: #666; color: #f0f0ec; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* MOBILE */
@media(max-width:900px){
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .section, footer { padding: 60px 24px; }
  .page-header { padding: 120px 24px 60px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }
}
