/* Ulnus website v1. Tokens mirror design-system/colors_and_type.css.
   One ground (white), one ink, Claret as the only accent. */
:root {
  --claret: #9E1B28;
  --claret-dark: #7d141f;
  --ink: #2A2A2A;
  --white: #FFFFFF;
  --line: rgba(42, 42, 42, 0.12);
  --sans: 'Schibsted Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wordmark: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ease-out-expo: cubic-bezier(0.23, 1, 0.32, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* Lockup: wing + ULNUS wordmark (Cormorant 700, .20em) */
.lockup { display: inline-flex; align-items: center; gap: 10px; }
.lockup svg { height: 30px; width: auto; transform: translateY(-16%); flex-shrink: 0; }
.lockup .wm { font-family: var(--wordmark); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.20em; line-height: 1; }

/* Navigation */
nav.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 73px; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { font-size: 15px; letter-spacing: 0.02em; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px 0; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; }
.nav-menu { display: none; border-top: 1px solid var(--line); }
.nav-menu a { display: block; padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
.nav-menu a:last-child { border-bottom: 0; }
@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  nav.top.open .nav-menu { display: block; }
}

main { flex: 1; padding-top: 73px; }

/* Sections and type */
.sec { padding: 96px 0; border-bottom: 1px solid var(--line); }
.sec:last-of-type { border-bottom: 0; }
@media (min-width: 768px) { .sec { padding: 128px 0; } }
.hero { padding: 56px 0 80px; }
@media (min-width: 768px) { .hero { padding: 80px 0 96px; } }
.hero .measure-lg { max-width: 1000px; }
.measure { max-width: 680px; }
.measure-lg { max-width: 820px; }
h1 { font-weight: 700; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -0.025em; }
.h1-sm { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2 { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 40px; }
h3 { font-weight: 600; font-size: 1.375rem; line-height: 1.3; margin-bottom: 16px; }
.sub { font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.3; margin-top: 24px; }
.divider { width: 56px; height: 2px; background: var(--claret); margin: 36px 0 32px; }
.divider.sm { margin: 28px 0 32px; }
p, li { font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.65; }
p + p { margin-top: 20px; }
.small { font-size: 1rem; }
.eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 20px; }
.u { border-bottom: 1px solid var(--ink); }
ul.plain { list-style: none; }
ul.plain li { padding: 14px 0; border-bottom: 1px solid var(--line); }
ul.plain li:last-child { border-bottom: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 56px 64px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* Buttons and links */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 40px; }
.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--claret); color: var(--white); font-size: 16px; font-weight: 600; letter-spacing: 0.03em; padding: 20px 36px; border-radius: 0; transition: background .28s ease, transform .28s ease; }
.btn .arrow { transition: transform .28s ease; }
.btn:hover { background: var(--claret-dark); transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(5px); }
.text-link { font-size: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.more { display: inline-block; margin-top: 40px; font-size: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* Situations (Advisory) */
.situations { list-style: none; counter-reset: s; }
.situations li { position: relative; padding: 28px 0 28px 56px; border-bottom: 1px solid var(--line); font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.55; }
.situations li:last-child { border-bottom: 0; }
.situations li::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 30px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; color: var(--claret); }

/* Insights */
.insight-list { list-style: none; }
.insight-list li { padding: 32px 0; border-bottom: 1px solid var(--line); }
.insight-list li:last-child { border-bottom: 0; }
.insight-list .date { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.insight-list h3 { margin-bottom: 8px; }
.insight-list h3 a { border-bottom: 1px solid transparent; transition: border-color .2s; }
.insight-list h3 a:hover { border-bottom-color: var(--ink); }
.insight-list p { font-size: 1.0625rem; }
.byline { font-size: 0.95rem; letter-spacing: 0.02em; margin-top: 28px; }
.sec-tight { padding-top: 0; }
.hero-insight { padding-bottom: 40px; }
@media (min-width: 768px) { .hero-insight { padding-bottom: 40px; } }
.exhibit { margin: 0 0 40px; border: 1px solid var(--line); }
.exhibit img { width: 100%; }
.exhibit-note { font-size: 0.9rem; margin-top: 12px; }
.source { font-size: 0.95rem; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Founder */
.founder { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
@media (min-width: 768px) { .founder { grid-template-columns: 4fr 8fr; gap: 64px; } }
.founder img { width: 100%; max-width: 384px; }
.founder .role { font-size: 1rem; letter-spacing: 0.02em; margin: 8px 0 32px; }

/* Footer */
footer { border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 48px 0 40px; }
@media (min-width: 768px) { .foot { grid-template-columns: 1fr auto auto; align-items: center; gap: 48px; } }
.foot .lockup svg { height: 24px; }
.foot .lockup .wm { font-size: 1.2rem; }
.cities { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.foot-links { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; }
.foot-links a { border-bottom: 1px solid transparent; transition: border-color .2s; }
.foot-links a:hover { border-color: var(--ink); }
.legal { border-top: 1px solid var(--line); padding: 24px 0 32px; font-size: 12px; }

/* Quiet fade-up (hero only) */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.r { opacity: 0; animation: fadeUp .9s var(--ease-out-expo) forwards; }
.r1 { animation-delay: .10s; } .r2 { animation-delay: .25s; } .r3 { animation-delay: .40s; } .r4 { animation-delay: .55s; } .r5 { animation-delay: .70s; }
@media (prefers-reduced-motion: reduce) { .r { opacity: 1; animation: none; } }

@media (max-width: 600px) {
  .lockup svg { height: 26px; }
  .lockup .wm { font-size: 1.3rem; }
  .actions { flex-direction: column; align-items: flex-start; }
}
