/* =========================================================
   Renacer Media Group — premium house site
   ========================================================= */

:root {
  --ink: #070605;
  --ink-2: #0d0b09;
  --ink-3: #15120e;
  --gold-hi: #f6e3b4;
  --gold: #d4ad62;
  --gold-lo: #8a6a2f;
  --text: #efe7d6;
  --muted: #a39a89;
  --faint: #6c655a;
  --hair: rgba(212, 173, 98, 0.16);
  --hair-strong: rgba(212, 173, 98, 0.38);

  --f-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --max: 1320px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(212, 173, 98, 0.32); color: #fff; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 100;
  padding: .6rem 1rem; background: var(--gold); color: var(--ink);
  transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ---------- Atmosphere ---------- */
.atmosphere { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.atmosphere__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60vmax 45vmax at 50% 18%, rgba(212, 173, 98, 0.10), transparent 60%),
    radial-gradient(50vmax 40vmax at 85% 110%, rgba(138, 106, 47, 0.10), transparent 60%),
    radial-gradient(40vmax 40vmax at 0% 60%, rgba(60, 45, 25, 0.25), transparent 70%);
}
#dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.atmosphere__grain {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: .06;
  mix-blend-mode: overlay;
}

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  margin: 0 0 1.75rem;
  font-family: var(--f-sans); font-size: .7rem; font-weight: 400;
  letter-spacing: .38em; text-transform: uppercase; color: var(--muted);
}
.eyebrow__line { width: 2.5rem; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow__dot { color: var(--gold); letter-spacing: 0; }

.gold-text,
.hero__title em,
.section__title em {
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 55%, var(--gold-lo) 120%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(6rem, 13vw, 11rem) var(--gutter);
}

.section__label {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2.5rem;
  font-size: .7rem; letter-spacing: .38em; text-transform: uppercase; color: var(--muted);
}
.section__label span {
  display: inline-grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border: 1px solid var(--hair-strong); border-radius: 50%;
  font-family: var(--f-display); font-size: .72rem; letter-spacing: 0; color: var(--gold);
}

.section__title {
  margin: 0;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: 1.02; letter-spacing: .02em;
}
.section__title em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  letter-spacing: 0; font-size: 1.12em;
}

.section__intro {
  max-width: 34rem; margin: 1.75rem 0 0;
  color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.1rem);
}

/* ---------- Buttons ---------- */
.btn {
  --h: 3.25rem;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .85rem;
  height: var(--h); padding: 0 1.75rem;
  font: 400 .72rem/1 var(--f-sans); letter-spacing: .26em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; overflow: hidden;
  transition: color .5s var(--ease-out), border-color .5s var(--ease-out), transform .2s var(--ease-out);
}
.btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .5s var(--ease-out); }
.btn:active { transform: scale(.97); }

.btn--gold {
  color: var(--ink);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 70%);
  box-shadow: 0 0 0 1px rgba(246, 227, 180, .35) inset, 0 10px 40px -12px rgba(212, 173, 98, .55);
}
.btn--gold::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-out);
}
.btn--gold > * { position: relative; }

.btn--ghost { color: var(--text); border-color: var(--hair-strong); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(212, 173, 98, .08);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease-out);
}
.btn--block { width: 100%; }

@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover::before { transform: translateX(120%); }
  .btn--gold:hover svg { transform: translateY(2px); }
  .btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
  .btn--ghost:hover::before { transform: scaleY(1); }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.35rem var(--gutter);
  transition: padding .5s var(--ease-out), background-color .5s var(--ease-out), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-block: .85rem;
  background: rgba(7, 6, 5, .72);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-color: var(--hair);
}
.nav__brand { display: flex; align-items: center; gap: .8rem; margin-right: auto; }
.nav__brand img { width: 2rem; height: auto; filter: drop-shadow(0 0 10px rgba(212, 173, 98, .35)); }
.nav__wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav__wordmark span { font-family: var(--f-display); font-size: 1rem; letter-spacing: .3em; }
.nav__wordmark small { margin-top: .3rem; font-size: .55rem; letter-spacing: .48em; text-transform: uppercase; color: var(--muted); }

.nav__links { display: flex; gap: 2.5rem; }
.nav__links a,
.nav__cta {
  position: relative;
  font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: #d9cfbd;
  transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.45rem; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav__cta {
  padding: .75rem 1.2rem; border: 1px solid var(--hair-strong);
  transition: border-color .3s, color .3s, background-color .3s;
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--gold-hi); }
  .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
  .nav__cta:hover { border-color: var(--gold); color: var(--gold-hi); background: rgba(212, 173, 98, .06); }
}

.nav__toggle {
  display: none; position: relative;
  width: 2.75rem; height: 2.75rem; margin-right: -.6rem;
  background: none; border: 0; cursor: pointer;
}
.nav__toggle-line {
  position: absolute; left: .7rem; right: .7rem; height: 1px; background: var(--text);
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.nav__toggle-line:nth-of-type(1) { top: 1.1rem; }
.nav__toggle-line:nth-of-type(2) { top: 1.6rem; left: 1.2rem; }
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-of-type(1) { top: 1.35rem; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-of-type(2) { top: 1.35rem; left: .7rem; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--gutter) 2.5rem;
  background: rgba(7, 6, 5, .96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu nav { display: grid; gap: .5rem; }
.mobile-menu a {
  display: flex; align-items: baseline; gap: 1.25rem;
  padding: .9rem 0; border-bottom: 1px solid var(--hair);
  font-family: var(--f-display); font-size: clamp(2rem, 9vw, 3rem); letter-spacing: .04em;
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.mobile-menu a span { font-size: .8rem; color: var(--gold); min-width: 1.6rem; }
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .06s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: .12s; }
.mobile-menu p { margin-top: auto; font-size: .65rem; letter-spacing: .32em; text-transform: uppercase; color: var(--faint); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto auto;
  justify-items: center; text-align: center;
  padding: 7rem var(--gutter) 2rem;
  overflow: hidden;
}
.hero__horizon {
  position: absolute; left: -100vw; right: -100vw; top: 59.4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 173, 98, .35) 25%, rgba(246, 227, 180, .6) 50%, rgba(212, 173, 98, .35) 75%, transparent);
  transform: scaleX(0);
  animation: horizon 2.4s var(--ease-in-out) .2s forwards;
}
.hero__stage {
  position: relative; align-self: center;
  width: min(24rem, 62vw, 40vh); aspect-ratio: 1;
  display: grid; place-items: center;
  will-change: transform;
}
.hero__orbit {
  position: absolute; inset: -34%;
  width: 168%; height: 168%; max-width: none;
  opacity: 0; animation: fade 2.4s var(--ease-out) .6s forwards;
}
.orbit { transform-origin: 400px 400px; }
.orbit--slow { animation: spin 140s linear infinite; }
.orbit--reverse { animation: spin 90s linear infinite reverse; }
.ticks line { stroke: #c9a25a; stroke-opacity: .35; stroke-width: .8; }

.hero__emblem {
  position: relative; width: 100%; height: auto;
  opacity: 0; transform: scale(.94); filter: blur(10px);
  animation: emblem-in 2s var(--ease-out) .25s forwards, breathe 9s ease-in-out 2.4s infinite;
}

.hero__copy { max-width: 52rem; padding-top: 1rem; }
.hero__title {
  margin: 0;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.1rem, 5.6vw, 4.6rem);
  line-height: 1.06; letter-spacing: .03em;
}
.hero__title em {
  font-family: var(--f-serif); font-style: italic; font-size: 1.14em; letter-spacing: 0;
}
.hero__lede {
  max-width: 34rem; margin: 1.5rem auto 0;
  color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem);
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.5rem; }

.hero__meta {
  width: 100%; max-width: var(--max);
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 3rem;
  font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--faint);
  opacity: 0; animation: fade 1.4s var(--ease-out) 1.8s forwards;
}
.hero__scroll { display: inline-flex; flex-direction: column; align-items: center; gap: .7rem; }
.hero__scroll i {
  position: relative; width: 1px; height: 2.75rem; overflow: hidden; background: var(--hair);
}
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  animation: drip 2.6s var(--ease-in-out) infinite;
}

[data-intro] { opacity: 0; transform: translateY(18px); animation: rise 1.4s var(--ease-out) forwards; }
[data-intro="1"] { animation-delay: .9s; }
[data-intro="2"] { animation-delay: 1.05s; }
[data-intro="3"] { animation-delay: 1.25s; }
[data-intro="4"] { animation-delay: 1.4s; }

/* ---------- Ethos ---------- */
.ethos__statement {
  max-width: 62rem; margin: 0;
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(1.75rem, 3.6vw, 3.1rem);
  line-height: 1.22; letter-spacing: -.005em; color: var(--text);
}
.ethos__statement em { color: var(--gold-hi); }
.ethos__statement .w { opacity: .14; transition: opacity .6s var(--ease-out); }
.ethos__statement .w.is-lit { opacity: 1; }

.principles {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--hair);
}
.principle { padding: 2.5rem 2.5rem 0 0; }
.principle + .principle { padding-left: 2.5rem; border-left: 1px solid var(--hair); }
.principle__num { font-family: var(--f-display); font-size: .8rem; color: var(--gold); }
.principle h3 {
  margin: 1.25rem 0 .75rem;
  font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; letter-spacing: .08em;
}
.principle p { margin: 0; color: var(--muted); max-width: 22rem; }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--hair);
  padding: 1.6rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker__track {
  display: flex; align-items: center; gap: 2.5rem; width: max-content;
  animation: marquee 55s linear infinite;
}
.ticker span {
  font-family: var(--f-display); font-size: clamp(1.4rem, 2.8vw, 2.4rem); letter-spacing: .08em;
  color: transparent; -webkit-text-stroke: 1px rgba(212, 173, 98, .55);
  white-space: nowrap;
}
.ticker i { font-style: normal; color: var(--gold); font-size: .8rem; }

/* ---------- Ventures ---------- */
.ventures__head { margin-bottom: clamp(3rem, 6vw, 5rem); }

.venture-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); counter-reset: v; }

.venture { border-bottom: 1px solid var(--hair); }

.venture__row {
  position: relative; isolation: isolate;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1.5fr) minmax(0, 1fr) 9rem 3rem;
  grid-template-areas:
    "num name field status go"
    ".   desc desc  .      .";
  align-items: center; column-gap: 1.5rem;
  padding: 2.1rem 1rem;
  cursor: default;
  outline-offset: -1px;
}
a.venture__row { cursor: pointer; }

.venture__row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40rem 12rem at var(--mx, 30%) 50%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 6%, transparent), transparent 60%);
  opacity: 0; transition: opacity .6s var(--ease-out);
}
.venture__row::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease-out);
}

.venture__num { grid-area: num; font-family: var(--f-display); font-size: .8rem; color: var(--faint); transition: color .4s; }
.venture__name {
  grid-area: name;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.7rem, 3.5vw, 3rem); line-height: 1.05; letter-spacing: .04em;
  transition: transform .7s var(--ease-out), color .4s;
}
.venture__name span { display: block; margin-top: .15rem; font-family: var(--f-serif); font-style: italic; font-size: .72em; letter-spacing: 0; color: var(--muted); }
.venture__field { grid-area: field; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

.venture__status {
  grid-area: status; justify-self: start;
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--faint);
}
.venture__status::before {
  content: ""; width: .4rem; height: .4rem; border-radius: 50%;
  border: 1px solid currentColor;
}
.venture__status.is-live { color: var(--text); }
.venture__status.is-live::before {
  border-color: var(--accent); background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2.8s ease-out infinite;
}

.venture__go {
  grid-area: go; justify-self: end;
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--hair);
  transition: border-color .4s, background-color .4s, transform .6s var(--ease-out);
}
.venture__go svg { width: 1rem; height: 1rem; fill: none; stroke: var(--text); stroke-width: 1.3; transition: transform .6s var(--ease-out), stroke .4s; }

.venture__desc {
  grid-area: desc;
  display: grid; grid-template-rows: 0fr;
  max-width: 40rem;
  color: var(--muted); font-size: 1rem;
  opacity: 0;
  transition: grid-template-rows .7s var(--ease-out), opacity .5s var(--ease-out), padding .7s var(--ease-out);
}
.venture__desc > * { min-height: 0; }
.venture__desc { overflow: hidden; }
.venture__desc b {
  display: block; margin-top: .75rem;
  font-weight: 400; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent);
}

/* Expanded state: hover (fine pointers) or keyboard focus */
.venture__row:focus-visible,
.venture.is-active .venture__row { outline: none; }
.venture.is-active .venture__row::before,
.venture__row:focus-visible::before { opacity: 1; }
.venture.is-active .venture__row::after,
.venture__row:focus-visible::after { transform: scaleX(1); }
.venture.is-active .venture__num,
.venture__row:focus-visible .venture__num { color: var(--accent); }
.venture.is-active .venture__name,
.venture__row:focus-visible .venture__name { transform: translateX(.6rem); }
.venture.is-active .venture__desc,
.venture__row:focus-visible .venture__desc { grid-template-rows: 1fr; opacity: 1; padding-top: 1.1rem; }
.venture.is-active a .venture__go,
.venture a.venture__row:focus-visible .venture__go { border-color: var(--accent); background: var(--accent); }
.venture.is-active a .venture__go svg,
.venture a.venture__row:focus-visible .venture__go svg { stroke: var(--ink); transform: rotate(45deg); }

/* Sinestesia — RGB signature */
.venture--rgb .venture__row::after {
  background: linear-gradient(90deg, #ff4d6d, #ffb347, #b8f35a, #4ad9ff, #9b6bff, #ff4d6d);
  background-size: 200% 100%;
  animation: rgb-shift 4s linear infinite;
}
.venture--rgb.is-active .venture__name {
  background: linear-gradient(90deg, #ff8fa3, #ffd08a, #c9f78f, #8fe6ff, #c2a6ff, #ff8fa3);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rgb-shift 5s linear infinite;
}

/* ---------- Figures ---------- */
.figures {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.figure { display: flex; flex-direction: column; gap: .75rem; padding: 0 1.5rem; text-align: center; }
.figure + .figure { border-left: 1px solid var(--hair); }
.figure__value {
  font-family: var(--f-display); font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: .06em;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.figure__label { font-size: .65rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}
.contact__topics {
  display: flex; flex-wrap: wrap; gap: .6rem;
  list-style: none; margin: 2.5rem 0 0; padding: 0;
}
.contact__topics li {
  padding: .5rem .95rem; border: 1px solid var(--hair);
  font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}

.contact__form {
  position: relative;
  display: grid; gap: 1.6rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(21, 18, 14, .75), rgba(13, 11, 9, .55));
  border: 1px solid var(--hair);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.contact__form::before {
  /* corner brackets */
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background:
    linear-gradient(var(--gold), var(--gold)) top left / 1.25rem 1px,
    linear-gradient(var(--gold), var(--gold)) top left / 1px 1.25rem,
    linear-gradient(var(--gold), var(--gold)) bottom right / 1.25rem 1px,
    linear-gradient(var(--gold), var(--gold)) bottom right / 1px 1.25rem;
  background-repeat: no-repeat;
}

.field { position: relative; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 1.6rem 0 .65rem;
  background: transparent; color: var(--text);
  border: 0; border-bottom: 1px solid var(--hair-strong); border-radius: 0;
  font: 300 1.05rem/1.4 var(--f-sans);
  transition: border-color .4s;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4ad62' stroke-width='1.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; background-size: 1rem;
}
.field select option { background: var(--ink-2); color: var(--text); }
.field label {
  position: absolute; left: 0; top: 1.6rem;
  font-size: 1rem; color: var(--muted); pointer-events: none;
  transform-origin: left top;
  transition: transform .45s var(--ease-out), color .3s, letter-spacing .45s var(--ease-out);
}
.field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; }
.field:focus-within::after { transform: scaleX(1); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field label.is-static {
  transform: translateY(-1.45rem) scale(.68);
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}

.contact__status { min-height: 1.4em; margin: -.5rem 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.contact__status.is-ok { color: var(--gold-hi); }
.contact__status.is-error { color: #e79a8a; }

/* ---------- Footer ---------- */
.footer {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--hair);
  padding: clamp(4rem, 8vw, 6rem) var(--gutter) 2rem;
}
.footer__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
}
.footer__brand img { width: 4.5rem; height: auto; filter: drop-shadow(0 0 18px rgba(212, 173, 98, .3)); }
.footer__brand p { margin: 1.5rem 0 0; font-family: var(--f-display); font-size: 1.15rem; letter-spacing: .04em; line-height: 1.35; }
.footer__brand em { font-family: var(--f-serif); color: var(--gold-hi); font-size: 1.15em; }
.footer__col { display: flex; flex-direction: column; gap: .8rem; }
.footer__col h4 {
  margin: 0 0 .5rem;
  font: 400 .62rem/1 var(--f-sans); letter-spacing: .36em; text-transform: uppercase; color: var(--gold);
}
.footer__col a { color: var(--muted); font-size: .92rem; transition: color .3s; width: fit-content; }
@media (hover: hover) { .footer__col a:hover { color: var(--text); } }

.footer__wordmark {
  margin: clamp(3rem, 7vw, 5rem) 0 1.25rem;
  text-align: center;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3rem, 15vw, 14rem); line-height: .8; letter-spacing: .12em;
  margin-right: -.12em;
  background: linear-gradient(180deg, rgba(212, 173, 98, .2), rgba(212, 173, 98, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer__base {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 1rem;
  padding-top: 1.5rem; border-top: 1px solid var(--hair);
  font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--faint);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ---------- Keyframes ---------- */
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes horizon { to { transform: scaleX(1); } }
@keyframes emblem-in { to { opacity: 1; transform: none; filter: drop-shadow(0 0 40px rgba(212, 173, 98, .25)); } }
@keyframes breathe {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(212, 173, 98, .18)); }
  50% { filter: drop-shadow(0 0 60px rgba(212, 173, 98, .38)); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drip {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); }
  70%, 100% { box-shadow: 0 0 0 .55rem transparent; }
}
@keyframes rgb-shift { to { background-position: -200% 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }

  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 2rem 0; border-left: 0; }
  .principle + .principle { border-top: 1px solid var(--hair); }

  .venture__row {
    grid-template-columns: 2.5rem 1fr auto;
    grid-template-areas:
      "num name   go"
      ".   field  go"
      ".   status status"
      ".   desc   desc";
    row-gap: .6rem;
    padding: 1.75rem .25rem;
  }
  .venture__status { margin-top: .4rem; }
  /* On touch devices the description is always visible */
  .venture__desc { grid-template-rows: 1fr; opacity: 1; padding-top: .5rem; }
  .venture.is-active .venture__name { transform: none; }

  .figures { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .figure:nth-child(3) { border-left: 0; }

  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .hero { padding-top: 6rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__meta span:not(.hero__scroll) { display: none; }
  .hero__meta { justify-content: center; }
  .eyebrow { font-size: .6rem; letter-spacing: .28em; gap: .6rem; }
  .eyebrow__line { width: 1.5rem; }
  .footer__base { flex-direction: column; align-items: center; text-align: center; }
}

/* Touch devices of any width: descriptions always visible */
@media (hover: none) {
  .venture__desc { grid-template-rows: 1fr; opacity: 1; padding-top: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .ticker__track { animation: none; }
  .ethos__statement .w { opacity: 1; }
}
