/* Studio WIBI — shared stylesheet (light mode) */

:root {
  --bg: #fafaf7;
  --bg-2: #f1efe9;
  --bg-3: #e8e5dc;
  --ink: #0e0e0c;
  --ink-2: #2a2825;
  --grey-1: #6e6a62;
  --grey-2: #a8a39a;
  --grey-3: #d4d0c6;
  --grey-4: #e0dcd1;
  --grey-5: #efece4;
  --night: #08080a;
  --amber: #c98a2a;
  --amber-glow: #e9a54a;
  --amber-deep: #8a5e1b;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 400; }
body { font-feature-settings: "ss01","ss02","cv11"; }
::selection { background: var(--amber); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 720px) { .wrap { padding: 0 24px; } }

.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-1); font-weight: 400; display: inline-flex; align-items: center; }
.eyebrow .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-right: 10px; box-shadow: 0 0 10px var(--amber-glow); }
.ital { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 22px 48px;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--ink);
  background: transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(250,250,247,.78);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--grey-4);
}
.nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: 0.01em; font-size: 14px; }
.nav .brand .mark { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; }
.nav .links { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.nav .links a { color: var(--ink-2); opacity: .72; transition: opacity .2s ease, color .2s ease; position: relative; }
.nav .links a:hover { opacity: 1; }
.nav .links a.active { opacity: 1; color: var(--ink); }
.nav .links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--amber); }
.nav .cta { font-size: 12px; padding: 9px 16px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; transition: all .2s ease; }
.nav .cta:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 720px) { .nav { padding: 18px 24px; } .nav .links { display: none; } }

/* ---------- section base ---------- */
section.block { padding: 140px 48px; }
@media (max-width: 720px) { section.block { padding: 96px 24px; } }
.section-alt { background: var(--bg-2); }

/* ---------- footer ---------- */
.footer-wrap { background: var(--bg-3); color: var(--ink); padding: 96px 48px 32px; }
@media (max-width: 720px) { .footer-wrap { padding: 72px 24px 24px; } }
.footer-wrap .inner { max-width: 1440px; margin: 0 auto; }
.footer-wrap .row1 { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 64px; border-bottom: 1px solid var(--grey-3); }
@media (max-width: 900px) { .footer-wrap .row1 { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 48px; } }
.footer-wrap h6 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-1); font-weight: 400; margin: 0 0 16px; }
.footer-wrap ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-wrap a:hover { color: var(--amber-deep); }
.footer-wrap .addr { font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.footer-wrap .addr .b { color: var(--ink); font-weight: 500; display: block; margin-bottom: 8px; letter-spacing: -0.01em; font-size: 14px; }
.footer-wrap .row2 { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-1); }
@media (max-width: 720px) { .footer-wrap .row2 { flex-direction: column; gap: 12px; align-items: flex-start; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* page fade-in */
#root { animation: pageIn .8s ease both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- hero (light) ---------- */
.hero { position: relative; min-height: 100vh; background: var(--bg-2); color: var(--ink); overflow: hidden; }
.hero .grid-bg { position: absolute; inset: 0; }
.hero .vignette { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse 80% 60% at 50% 55%, transparent 0%, rgba(241,239,233,.55) 70%, rgba(232,229,220,.92) 100%),
  linear-gradient(to bottom, rgba(250,250,247,.55) 0%, transparent 26%, transparent 70%, rgba(232,229,220,.92) 100%);
}
.hero .content { position: relative; z-index: 2; min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: 140px 48px 56px; }
@media (max-width: 720px) { .hero .content { padding: 120px 24px 40px; } }
.hero .top-eyebrow { display: flex; align-items: center; gap: 18px; color: var(--grey-1); }
.hero .top-eyebrow .line { width: 56px; height: 1px; background: var(--grey-3); }
.hero h1 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(56px, 10vw, 156px);
  letter-spacing: -0.045em;
  line-height: 0.94;
  margin: 28px 0 0;
  color: var(--ink);
  text-wrap: balance;
}
.hero h1 .lumen { display: block; }
.hero h1 .made { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--amber-deep); letter-spacing: -0.02em; }
.hero .sub-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-top: 32px; }
.hero .sub { max-width: 460px; font-size: 15px; line-height: 1.6; color: var(--grey-1); font-weight: 400; }
.hero .sub strong { color: var(--ink); font-weight: 500; }
.hero .cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero .cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: all .25s ease;
}
.hero .cta:hover { background: var(--ink); color: var(--bg); }
.hero .cta.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 500; }
.hero .cta.primary:hover { background: var(--amber-deep); border-color: var(--amber-deep); box-shadow: 0 8px 32px rgba(138,94,27,.25); }
.hero .cta .arrow { transition: transform .25s ease; }
.hero .cta:hover .arrow { transform: translateX(4px); }
.hero .bottom-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; color: var(--grey-1); font-size: 12px; }
.hero .bottom-bar .stat { display: flex; flex-direction: column; gap: 6px; }
.hero .bottom-bar .stat .v { font-family: var(--mono); color: var(--ink); font-size: 13px; }
.hero .bottom-bar .stat .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.hero .scroll-hint { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.hero .scroll-hint .bar { width: 1px; height: 28px; background: linear-gradient(to bottom, var(--grey-2), transparent); }

/* ---------- editorial blocks ---------- */
.editorial { background: var(--bg); }
.editorial .row { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; max-width: 1440px; margin: 0 auto; }
@media (max-width: 900px) { .editorial .row { grid-template-columns: 1fr; gap: 28px; } }
.editorial h2 {
  font-size: clamp(36px, 5.2vw, 80px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
.editorial h2 .em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--amber-deep); }
.editorial .lede { font-size: 16px; line-height: 1.65; color: var(--grey-1); max-width: 560px; font-weight: 400; }
.editorial .lede + .lede { margin-top: 18px; }

.pillars { margin-top: 96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--grey-3); border-top: 1px solid var(--grey-3); border-bottom: 1px solid var(--grey-3); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--bg); padding: 40px 32px; display: flex; flex-direction: column; gap: 14px; transition: background .3s ease; }
.section-alt .pillar { background: var(--bg-2); }
.pillar:hover { background: var(--bg-3); }
.pillar .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--grey-2); }
.pillar h4 { font-size: 22px; font-weight: 400; letter-spacing: -0.02em; margin: 0; }
.pillar p { font-size: 14px; line-height: 1.6; color: var(--grey-1); margin: 0; }

/* ---------- showcase split ---------- */
.showcase { padding: 0; background: var(--bg); }
.showcase .head { padding: 120px 48px 60px; max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
@media (max-width: 900px) { .showcase .head { grid-template-columns: 1fr; gap: 32px; padding: 96px 24px 40px; } }
.showcase .head h3 { font-size: clamp(36px, 5vw, 72px); font-weight: 300; letter-spacing: -0.035em; line-height: 1; margin: 18px 0 0; }
.showcase .head h3 .em { font-family: var(--serif); font-style: italic; color: var(--amber-deep); }
.showcase .head p { color: var(--grey-1); font-size: 15px; line-height: 1.6; max-width: 480px; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--grey-3); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split .panel { padding: 80px 48px; background: var(--bg-2); position: relative; min-height: 620px; display: flex; flex-direction: column; justify-content: space-between; }
.split .panel.warm { background: linear-gradient(180deg, #f0e7d4 0%, #ebe0c6 100%); }
.split .panel .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-1); display: flex; align-items: center; gap: 10px; }
.split .panel .lbl .lbl-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grey-1); }
.split .panel.warm .lbl .lbl-dot { background: var(--amber); box-shadow: 0 0 10px var(--amber-glow); }
.split .panel .viz { flex: 1; display: flex; align-items: center; justify-content: center; margin: 32px 0; min-height: 360px; }
.split .panel .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 12px; color: var(--grey-1); }
.split .panel .meta .row-meta { display: flex; flex-direction: column; gap: 4px; }
.split .panel .meta .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-2); }
.split .panel .meta .v { color: var(--ink); font-size: 13px; }

.showcase .closing { padding: 80px 48px 120px; max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .showcase .closing { grid-template-columns: 1fr; gap: 32px; padding: 60px 24px 96px; } }
.showcase .closing h4 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.18; margin: 0; max-width: 600px; }
.showcase .closing h4 .em { font-family: var(--serif); font-style: italic; color: var(--amber-deep); }
.showcase .closing .specs { display: flex; flex-direction: column; gap: 14px; font-size: 13px; }
.showcase .closing .specs .spec { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--grey-3); color: var(--ink); }
.showcase .closing .specs .spec .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-2); align-self: center; }

/* ---------- interconnect web ---------- */
.interconnect .head { max-width: 1440px; margin: 0 auto 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
@media (max-width: 900px) { .interconnect .head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; } }
.interconnect h3 { font-size: clamp(36px, 5vw, 72px); font-weight: 300; letter-spacing: -0.035em; line-height: 1; margin: 18px 0 0; }
.interconnect h3 .em { font-family: var(--serif); font-style: italic; color: var(--amber-deep); }
.interconnect p { color: var(--grey-1); font-size: 15px; line-height: 1.6; max-width: 460px; margin: 0; }

.web { max-width: 1440px; margin: 0 auto; position: relative; height: 540px; }
@media (max-width: 900px) { .web { height: 720px; } }
.web svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.node { position: absolute; transform: translate(-50%,-50%); padding: 14px 18px; background: var(--bg); border: 1px solid var(--grey-3); border-radius: 12px; display: flex; flex-direction: column; gap: 4px; min-width: 180px; transition: all .3s ease; z-index: 2; box-shadow: 0 1px 0 rgba(255,255,255,.5) inset; }
.section-alt .node { background: var(--bg-2); }
.node:hover { border-color: var(--ink); box-shadow: 0 10px 40px rgba(14,14,12,.08); transform: translate(-50%, -50%) translateY(-2px); }
.node.center { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.node.center .k { color: var(--amber-glow); }
.node .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-2); }
.node .v { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.node .d { font-size: 12px; color: var(--grey-1); margin-top: 2px; }
.node.center .d { color: rgba(255,255,255,.65); }

/* ---------- waitlist (light) ---------- */
.waitlist { padding: 140px 48px; background: var(--bg-2); position: relative; overflow: hidden; }
@media (max-width: 720px) { .waitlist { padding: 96px 24px; } }
.waitlist .wl-glow { position: absolute; left: 50%; top: -30%; width: 900px; height: 900px; transform: translateX(-50%); background: radial-gradient(circle, rgba(201,138,42,.22) 0%, transparent 60%); pointer-events: none; }
.waitlist .inner { max-width: 920px; margin: 0 auto; text-align: center; position: relative; }
.waitlist h2 { font-size: clamp(40px, 6vw, 96px); font-weight: 300; letter-spacing: -0.035em; line-height: 1; margin: 24px 0 0; text-wrap: balance; }
.waitlist h2 .em { font-family: var(--serif); font-style: italic; color: var(--amber-deep); }
.waitlist .lede { color: var(--grey-1); font-size: 16px; line-height: 1.6; max-width: 560px; margin: 28px auto 0; }
.form { margin: 56px auto 0; max-width: 560px; display: flex; gap: 10px; padding: 6px; background: var(--bg); border: 1px solid var(--grey-3); border-radius: 999px; transition: border-color .25s ease, box-shadow .25s ease; }
.form.focus { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(201,138,42,.15); }
.form input { flex: 1; background: transparent; border: 0; outline: 0; color: var(--ink); padding: 14px 20px; font-family: inherit; font-size: 14px; }
.form input::placeholder { color: var(--grey-2); }
.form button { background: var(--ink); color: var(--bg); border: 0; padding: 0 24px; border-radius: 999px; font-size: 13px; font-weight: 500; cursor: pointer; transition: all .2s ease; display: inline-flex; align-items: center; gap: 8px; }
.form button:hover { background: var(--amber-deep); box-shadow: 0 6px 24px rgba(138,94,27,.3); }
.form.sent button { background: var(--bg-3); color: var(--ink); }
.form-meta { margin-top: 20px; font-family: var(--mono); font-size: 11px; color: var(--grey-1); letter-spacing: 0.06em; }
.form-meta .ok { color: var(--amber-deep); }

/* ---------- home: work index ---------- */
.work-list { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 1440px; margin: 0 auto; border-top: 1px solid var(--grey-3); }
.work-item { display: grid; grid-template-columns: 60px 1fr 1.4fr 200px 24px; align-items: center; gap: 32px; padding: 28px 8px; border-bottom: 1px solid var(--grey-3); color: var(--ink); transition: background .25s ease, padding .25s ease; }
.work-item:hover { background: var(--bg-2); padding-left: 20px; padding-right: 20px; }
.work-item .idx { font-family: var(--mono); font-size: 11px; color: var(--grey-2); letter-spacing: 0.12em; }
.work-item .title { font-size: clamp(22px, 2.4vw, 32px); font-weight: 300; letter-spacing: -0.02em; }
.work-item .title .em { font-family: var(--serif); font-style: italic; color: var(--amber-deep); }
.work-item .desc { color: var(--grey-1); font-size: 14px; line-height: 1.5; }
.work-item .status { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-1); justify-self: end; display: inline-flex; align-items: center; gap: 8px; }
.work-item .status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber-glow); }
.work-item .status.dev .dot { background: var(--grey-2); box-shadow: none; }
.work-item .arrow { font-size: 16px; color: var(--grey-2); transition: transform .25s ease, color .25s ease; justify-self: end; }
.work-item:hover .arrow { color: var(--ink); transform: translateX(4px); }
@media (max-width: 900px) {
  .work-item { grid-template-columns: 40px 1fr 24px; gap: 16px; padding: 20px 8px; }
  .work-item .desc, .work-item .status { display: none; }
  .work-item:hover { padding-left: 12px; padding-right: 12px; }
}

/* ---------- home: featured lumen card ---------- */
.featured { max-width: 1440px; margin: 0 auto; background: var(--bg-2); border: 1px solid var(--grey-3); border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .featured { grid-template-columns: 1fr; } }
.featured .visual { background: linear-gradient(180deg, #f0e7d4 0%, #ebe0c6 100%); padding: 56px; min-height: 460px; display: flex; align-items: center; justify-content: center; }
.featured .copy { padding: 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.featured .copy h3 { font-size: clamp(32px, 4vw, 56px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.02; margin: 16px 0 0; }
.featured .copy h3 .em { font-family: var(--serif); font-style: italic; color: var(--amber-deep); }
.featured .copy p { color: var(--grey-1); font-size: 15px; line-height: 1.65; margin: 16px 0 0; max-width: 440px; }
.featured .copy .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; font-size: 12px; }
.featured .copy .meta .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-2); display: block; margin-bottom: 4px; }
.featured .copy .meta .v { color: var(--ink); font-size: 13px; }
.featured .copy .actions { display: flex; gap: 12px; }
.featured .copy .actions a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 1px solid var(--ink); border-radius: 999px; font-size: 13px; transition: all .2s ease; }
.featured .copy .actions a.primary { background: var(--ink); color: var(--bg); }
.featured .copy .actions a:not(.primary):hover { background: var(--ink); color: var(--bg); }
.featured .copy .actions a.primary:hover { background: var(--amber-deep); border-color: var(--amber-deep); }

/* ---------- stats strip ---------- */
.stats-strip { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--grey-3); border-top: 1px solid var(--grey-3); border-bottom: 1px solid var(--grey-3); }
@media (max-width: 720px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }
.stats-strip .cell { background: var(--bg); padding: 32px 28px; display: flex; flex-direction: column; gap: 8px; }
.section-alt .stats-strip .cell { background: var(--bg-2); }
.stats-strip .v { font-size: clamp(32px, 4vw, 56px); font-weight: 300; letter-spacing: -0.025em; line-height: 1; }
.stats-strip .v .em { font-family: var(--serif); font-style: italic; color: var(--amber-deep); }
.stats-strip .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-1); margin-top: 8px; }
.stats-strip .d { font-size: 12px; color: var(--grey-1); line-height: 1.5; }

/* ---------- process steps ---------- */
.process { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--grey-3); border-top: 1px solid var(--grey-3); border-bottom: 1px solid var(--grey-3); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } }
.process .step { background: var(--bg); padding: 40px 28px; display: flex; flex-direction: column; gap: 16px; min-height: 240px; }
.section-alt .process .step { background: var(--bg-2); }
.process .step .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--amber-deep); }
.process .step h5 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.process .step p { font-size: 13px; line-height: 1.6; color: var(--grey-1); margin: 0; }

/* ---------- breadcrumb-style page header for Lumen ---------- */
.breadcrumb { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-1); }
.breadcrumb a:hover { color: var(--amber-deep); }
.breadcrumb .sep { opacity: .5; }
