/* Levynberg Enterprise — quiet, premium, dark. Tokens first; everything below uses them. */
:root {
  --bg: #0c0f14;
  --surface: #12161d;
  --surface-2: #181d26;
  --ink: #f3efe6;
  --muted: #a8a397;
  --brass: #c2a26b;
  --brass-hi: #d6ba86;
  --line: rgba(243, 239, 230, .1);

  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-small: .875rem;
  --step-body: clamp(1rem, .96rem + .2vw, 1.125rem);
  --step-lead: clamp(1.125rem, 1.02rem + .45vw, 1.375rem);
  --step-h3: clamp(1.625rem, 1.3rem + 1vw, 2.125rem);
  --step-h2: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem);
  --step-h1: clamp(3rem, 1.6rem + 4.6vw, 6rem);

  --m: clamp(20px, 4vw, 64px);
  --max: 1280px;
  --gap: clamp(96px, 11vw, 176px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: var(--step-body); line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
p { margin: 0 0 1em; max-width: 62ch; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.04; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-h1); }
h2 { font-size: var(--step-h2); }
h3 { font-size: var(--step-h3); line-height: 1.12; }
em { font-style: italic; color: var(--brass-hi); }
::selection { background: var(--brass); color: var(--bg); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--brass); color: var(--bg); padding: 10px 14px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--m)); margin-inline: auto; padding-inline: var(--m); }
.lead { font-size: var(--step-lead); line-height: 1.55; color: var(--muted); max-width: 48ch; }
section { scroll-margin-top: 80px; }

/* Buttons: square-cornered, flat. */
.btn { display: inline-flex; align-items: center; gap: .6em; min-height: 52px; padding: 0 26px; border: 1px solid var(--brass); background: var(--brass); color: var(--bg);
  font: 500 .9375rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.btn:hover { background: var(--brass-hi); border-color: var(--brass-hi); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: rgba(243, 239, 230, .35); }
.btn.ghost:hover { border-color: var(--ink); background: rgba(243, 239, 230, .06); }
.btn .arr, .link .arr { transition: transform .3s var(--ease); }
.btn:hover .arr, .link:hover .arr, .venture:hover .arr { transform: translateX(4px); }
.link { color: var(--brass); text-decoration: none; display: inline-flex; gap: .45em; align-items: center; font-weight: 500; }

/* ---------- bar ---------- */
.bar { position: absolute; inset: 0 0 auto 0; z-index: 20; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 24px; }
.bar .logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); font-size: .9375rem; }
.nav a:not(.btn) { text-decoration: none; opacity: .8; transition: opacity .2s; }
.nav a:not(.btn):hover { opacity: 1; }
.nav .btn { min-height: 42px; padding: 0 18px; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } .bar .logo img { height: 32px; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.bg { position: absolute; inset: 0; z-index: 0; }
.bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .bg img { object-position: 70% 50%; transform: scale(1.06); animation: settle 20s var(--ease) forwards; }
.hero .bg::after { content: ""; position: absolute; inset: 0; background: rgba(8, 10, 14, .45); }
.hero .wrap { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 96px; }
.hero h1 { max-width: 12ch; }
.hero .lead { color: #d8d2c4; margin-top: 28px; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.facts-row { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; }
.facts-row .wrap { display: flex; flex-wrap: wrap; gap: 8px 40px; padding-block: 28px; font-size: var(--step-small); color: #cfc8b8; border-top: 1px solid var(--line); }
.facts-row b { color: var(--brass); font-weight: 500; margin-right: 8px; }
@keyframes settle { to { transform: scale(1); } }

/* ---------- statement ---------- */
.statement { padding-top: var(--gap); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.split.rev > .pic { order: 2; }
.pic { overflow: hidden; }
.pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.pic:hover img { transform: scale(1.03); }
.split h2 { margin-bottom: 24px; }
.split .txt > p { color: var(--muted); }
.pillars { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; }
.pillars li { display: grid; grid-template-columns: 7rem 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillars b { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--brass); line-height: 1.2; }
.pillars span { color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > .pic { order: 0; } }
@media (max-width: 480px) { .pillars li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- portfolio ---------- */
.portfolio { padding-top: var(--gap); }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 72px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.head p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }
.division { margin-top: clamp(48px, 6vw, 80px); }
.division-h { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.division-h h3 { font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); }
.division-h span { color: var(--muted); font-size: var(--step-small); }
.flagship { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--surface); text-decoration: none; transition: background-color .3s; }
.flagship:hover { background: var(--surface-2); }
.flagship .pic img { height: 100%; aspect-ratio: auto; min-height: 360px; }
.flagship .txt { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 14px; }
.flagship .txt p { color: var(--muted); margin: 0; }
.flagship .link { margin-top: auto; padding-top: 12px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: var(--step-small); color: var(--muted); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.live { color: #9fd3a7; } .status.live::before { background: #6cc77d; box-shadow: 0 0 0 4px rgba(108, 199, 125, .15); }
.status.dev { color: var(--brass); } .status.dev::before { background: var(--brass); }
.ventures { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.venture { background: var(--surface); display: flex; flex-direction: column; transition: background-color .3s, transform .45s var(--ease); }
.venture:hover { background: var(--surface-2); transform: translateY(-4px); }
.venture .pic img { aspect-ratio: 4 / 3; }
.venture .txt { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; }
.venture .txt p { color: var(--muted); margin: 0; font-size: .9875rem; }
.secondary { margin-top: clamp(14px, 1.6vw, 22px); display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; background: var(--surface); padding: 26px clamp(26px, 4vw, 56px); }
.secondary p { color: var(--muted); margin: 6px 0 0; }
.note { margin-top: 24px; font-size: var(--step-small); color: var(--muted); max-width: 90ch; }
@media (max-width: 980px) { .ventures { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .flagship { grid-template-columns: 1fr; } .flagship .pic img { min-height: 0; aspect-ratio: 16 / 10; } }
@media (max-width: 620px) { .ventures { grid-template-columns: 1fr; } .secondary { grid-template-columns: 1fr; } }

/* ---------- approach ---------- */
.approach { padding-top: var(--gap); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps li { padding: 32px 28px 8px 0; display: flex; flex-direction: column; gap: 12px; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps .n { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--brass); }
.steps h3 { font-size: 1.625rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(3) { padding-left: 0; border-left: 0; } .steps li { padding-bottom: 32px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } .steps { border-top: 0; } }

/* ---------- banner ---------- */
.banner { margin-top: var(--gap); position: relative; overflow: hidden; }
.banner .bg img { transform: scale(1.06); will-change: transform; }
.banner .bg::after { content: ""; position: absolute; inset: 0; background: rgba(8, 10, 14, .55); }
.banner .wrap { position: relative; padding-block: clamp(110px, 15vw, 220px); }
.banner blockquote { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem); line-height: 1.12; max-width: 22ch; }
.banner cite { display: block; margin-top: 24px; font-style: normal; font-size: var(--step-small); color: var(--brass); letter-spacing: .04em; }

/* ---------- company ---------- */
.company { padding-top: var(--gap); }
.reg { margin: 28px 0 0; display: grid; }
.reg div { display: grid; grid-template-columns: 12rem 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.reg div:last-child { border-bottom: 1px solid var(--line); }
.reg dt { color: var(--muted); } .reg dd { margin: 0; }
@media (max-width: 520px) { .reg div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- contact ---------- */
.contact { margin-top: var(--gap); }
.contact-box { background: var(--surface); padding: clamp(40px, 7vw, 104px) clamp(24px, 6vw, 88px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.contact-box p { color: var(--muted); }
.contact-box .mail { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); color: var(--brass); text-decoration: none; display: inline-block; margin-bottom: 20px; }
.contact-box .mail:hover { color: var(--brass-hi); }
@media (max-width: 860px) { .contact-box { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { padding-top: clamp(72px, 8vw, 112px); padding-bottom: 32px; }
.foot .top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 32px; }
.foot .top img { height: 44px; width: auto; }
.foot .top p { color: var(--muted); max-width: 36ch; margin-top: 18px; font-size: .9375rem; }
.foot h4 { font: 500 var(--step-small)/1.4 var(--sans); color: var(--muted); margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9375rem; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--brass); }
.foot .legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8125rem; color: var(--muted); }
.foot .legal p { margin: 0; max-width: 90ch; }
@media (max-width: 900px) { .foot .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot .top { grid-template-columns: 1fr; } }

/* ---------- prose (legal) ---------- */
.page-head { padding: 160px 0 24px; }
.prose .col { max-width: 72ch; padding-bottom: 40px; }
.prose h2 { font-size: var(--step-h3); margin: 44px 0 12px; }
.prose p, .prose li { color: #d3cdc0; }
.prose a { color: var(--brass); }

/* ---------- motion ---------- */
.js .rise { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rise.in { opacity: 1; transform: none; }
.js .intro > * { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .intro.go > * { opacity: 1; transform: none; }
.js .intro.go > :nth-child(2) { transition-delay: .14s; }
.js .intro.go > :nth-child(3) { transition-delay: .26s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .intro > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero .bg img, .banner .bg img { animation: none !important; transform: none !important; }
  .pic img, .venture, .btn { transition: none; }
}
.ventures.two { grid-template-columns: repeat(2, 1fr); }
.venture .link { margin-top: 6px; }
a.venture { text-decoration: none; }
@media (max-width: 620px) { .ventures.two { grid-template-columns: 1fr; } }
