/* Vromexa — left rail + charcoal/lime photo hero; Oswald/Karla */
:root {
  --void: #10140f;
  --void-2: #181d16;
  --paper: #f1efe6;
  --ink: #1a1f17;
  --muted: #5c6456;
  --mute-light: #a8b09e;
  --lime: #b2d70e;
  --lime-deep: #8fad0a;
  --line: rgba(26, 31, 23, 0.12);
  --line-light: rgba(241, 239, 230, 0.14);
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Karla", "Segoe UI", sans-serif;
  --rail: 13.5rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a {
  color: var(--lime-deep);
  text-underline-offset: 0.16em;
}
a:hover { color: var(--ink); }
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--lime); color: var(--void); padding: 0.5rem 0.85rem;
}
.skip:focus { left: 0.6rem; top: 0.6rem; }

/* —— left rail (desktop) —— */
.rail {
  position: fixed; inset: 0 auto 0 0; width: var(--rail);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.4rem 1.1rem 1.6rem;
  background: var(--void);
  color: var(--paper);
  border-right: 3px solid var(--lime);
  z-index: 30;
}
.rail-brand {
  display: flex; flex-direction: column; gap: 0.7rem;
  text-decoration: none; color: var(--paper);
  font-family: var(--display); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.95rem;
}
.rail-brand img { border-radius: 7px; width: 40px; height: 40px; }
.rail-nav {
  display: flex; flex-direction: column; gap: 0.85rem;
}
.rail-nav a {
  color: var(--mute-light); text-decoration: none;
  font-size: 0.92rem; font-weight: 500;
  transition: color 180ms ease-out;
}
.rail-nav a:hover { color: var(--lime); }
.rail-tag {
  font-family: var(--display); font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lime); line-height: 1.35;
}

.topbar { display: none; }

main, .foot {
  margin-left: var(--rail);
}

/* —— hero —— */
.hero {
  position: relative;
  min-height: 88vh;
  background: var(--void);
  color: var(--paper);
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.9);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(16,20,15,0.88) 18%, rgba(16,20,15,0.35) 62%, rgba(16,20,15,0.55) 100%);
}
.hero-copy {
  position: relative; z-index: 1;
  min-height: 88vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(2rem, 6vw, 4.5rem);
  max-width: 40rem;
}
.kicker {
  font-family: var(--display); font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 0.85rem;
}
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3.6rem, 11vw, 6.8rem);
  letter-spacing: 0.02em; text-transform: uppercase;
  line-height: 0.92; margin-bottom: 1rem;
}
.lede {
  font-size: 1.12rem; color: var(--mute-light);
  max-width: 32rem; margin-bottom: 1.5rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.7rem; padding: 0.55rem 1.1rem;
  font-weight: 650; font-size: 0.92rem; text-decoration: none;
  border-radius: 2px; cursor: pointer;
  transition: background 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out;
}
.btn.fill { background: var(--lime); color: var(--void); }
.btn.fill:hover { background: #d4f24a; color: var(--void); }
.btn.line {
  border: 1px solid var(--line-light); color: var(--paper);
}
.btn.line:hover { border-color: var(--lime); color: var(--lime); }

/* —— pull quote —— */
.pull {
  background: var(--void-2); color: var(--paper);
  padding: 2.2rem clamp(1.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line-light);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}
.pull.in { opacity: 1; transform: none; }
.pull blockquote {
  max-width: 46rem;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  letter-spacing: 0.01em; line-height: 1.35;
  border-left: 3px solid var(--lime);
  padding-left: 1.1rem;
}

/* —— paper sections —— */
.sheet {
  padding: clamp(3.2rem, 7vw, 5rem) clamp(1.5rem, 5vw, 3.5rem);
}
.sheet-head { max-width: 38rem; margin-bottom: 2.2rem; }
.sheet-head.narrow { margin-bottom: 0; }
.eyebrow {
  font-family: var(--display); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lime-deep); margin-bottom: 0.55rem;
}
.sheet h2, .ink h2, .contact h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  letter-spacing: 0.01em; text-transform: uppercase;
  line-height: 1.05; margin-bottom: 0.75rem;
}
.deck {
  color: var(--muted); font-size: 1.05rem; max-width: 36rem;
  margin-bottom: 0.75rem;
}
.deck strong { color: var(--ink); font-weight: 700; }

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.trio article {
  padding: 1.5rem 1.35rem 1.5rem 0;
  border-right: 1px solid var(--line);
  padding-right: 1.4rem;
  margin-right: 1.4rem;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.trio article:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.trio article.in { opacity: 1; transform: none; }
.trio h3 {
  font-family: var(--display); font-size: 1.2rem;
  text-transform: uppercase; letter-spacing: 0.03em;
  margin-bottom: 0.55rem;
}
.trio p { color: var(--muted); font-size: 0.98rem; }

/* —— dark method —— */
.ink {
  background: var(--void);
  color: var(--paper);
  padding: clamp(3.2rem, 7vw, 5rem) clamp(1.5rem, 5vw, 3.5rem);
}
.ink .eyebrow { color: var(--lime); }
.ink-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 0.85fr) 1.4fr;
  gap: 2.5rem;
  align-items: start;
}
.flow {
  list-style: none;
  display: grid; gap: 0.85rem;
}
.flow li {
  display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line-light);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.flow li:last-child { border-bottom: 1px solid var(--line-light); }
.flow li.in { opacity: 1; transform: none; }
.flow span {
  font-family: var(--display); color: var(--lime);
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.95rem;
}
.flow p { color: var(--mute-light); }

/* —— contact —— */
.contact {
  background: #e6e3d8;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem);
  border-top: 4px solid var(--lime);
}
.contact-inner { max-width: 32rem; }
.contact a {
  color: var(--ink); font-weight: 600; font-size: 1.15rem;
  text-decoration: none; border-bottom: 1px solid var(--lime-deep);
}
.contact a:hover { color: var(--lime-deep); }
.contact p { margin-bottom: 0.55rem; }
.contact address {
  font-style: normal; color: var(--muted);
  margin-top: 1.4rem; line-height: 1.7;
}

/* —— footer —— */
.foot {
  background: var(--void); color: var(--mute-light);
  padding: 2.2rem clamp(1.5rem, 5vw, 3.5rem) 1.6rem;
  font-size: 0.9rem;
}
.foot-grid {
  display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.foot strong {
  display: block; color: var(--paper);
  font-family: var(--display); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 0.4rem;
}
.foot-links { display: grid; gap: 0.4rem; text-align: right; }
.foot-links a { color: var(--mute-light); text-decoration: none; }
.foot-links a:hover { color: var(--lime); }
.copy { font-size: 0.76rem; opacity: 0.7; }

/* —— legal pages —— */
.legal-page {
  width: min(720px, 92vw); margin: 0 auto; padding: 4rem 0 5rem;
  color: var(--muted);
}
.legal-page h1 {
  font-family: var(--display); color: var(--ink);
  font-size: 2.2rem; text-transform: uppercase;
  letter-spacing: 0.02em; margin: 1rem 0;
}
.legal-page h2 {
  font-family: var(--display); color: var(--ink);
  font-size: 1.15rem; text-transform: uppercase;
  margin: 1.6rem 0 0.5rem;
}
.legal-page p { margin-bottom: 0.85rem; }
.legal-back {
  font-family: var(--display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--lime-deep); text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pull, .trio article, .flow li {
    opacity: 1; transform: none; transition: none;
  }
}

@media (max-width: 980px) {
  .rail { display: none; }
  .topbar {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 40;
    padding: 0.75rem 4vw;
    background: rgba(16, 20, 15, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--lime);
  }
  .top-brand {
    display: inline-flex; align-items: center; gap: 0.55rem;
    color: var(--paper); text-decoration: none;
    font-family: var(--display); text-transform: uppercase;
    letter-spacing: 0.06em; font-weight: 600;
  }
  .top-brand img { border-radius: 6px; }
  .top-mail {
    color: var(--lime); text-decoration: none;
    font-family: var(--display); letter-spacing: 0.08em;
    text-transform: uppercase; font-size: 0.85rem;
  }
  main, .foot { margin-left: 0; }
  .trio { grid-template-columns: 1fr; }
  .trio article {
    border-right: 0; margin-right: 0; padding-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .ink-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .flow li { grid-template-columns: 5rem 1fr; }
  .foot-links { text-align: left; }
  .hero { min-height: 78vh; }
  .hero-copy { min-height: 78vh; }
}
