/* Solaris Investment Management AG - site stylesheet */

:root {
  --navy: #0B1B3A;
  --navy-deep: #071229;
  --navy-soft: #13284F;
  --blue: #1E3FA0;
  --gold: #C9A24A;
  --gold-light: #E3C77E;
  --gold-dark: #7D611C;
  --ivory: #F7F4EE;
  --ivory-dark: #EDE7DA;
  --white: #FFFFFF;
  --ink: #16213A;
  --ink-soft: #5B647A;
  --line: rgba(11, 27, 58, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
section[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-wrap: balance; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.65; }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.section-dark .eyebrow, .hero .eyebrow, .cta .eyebrow { color: var(--gold); }
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 12px;
}
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark .lead { color: rgba(255, 255, 255, 0.72); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-ivory { background: var(--ivory); }
.section-white { background: var(--white); }
.narrow { max-width: 760px; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2rem !important; }
.mb-2 { margin-bottom: 2rem !important; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 18px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.section-ivory a:focus-visible, .section-white a:focus-visible, .field :focus-visible { outline-color: var(--navy); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--gold);
  color: var(--navy);
  background: var(--gold);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid var(--line-light);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--white); }
.brand .sun { width: 44px; height: 44px; color: var(--gold); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0.04em; font-weight: 600; }
.site-header .brand-name, .nav a { white-space: nowrap; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav a:hover, .nav a.active { color: var(--white); border-bottom-color: var(--gold); }
.nav-toggle { display: none; flex: none; cursor: pointer; width: 44px; height: 44px; padding: 0; margin-right: -6px; position: relative; background: transparent; border: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 6px; width: 32px; height: 2px; background: var(--white); transition: transform 0.25s, background 0.25s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -9px; }
.nav-toggle span::after { left: 0; top: 9px; }
.site-header.nav-open .nav-toggle span { background: transparent; }
.site-header.nav-open .nav-toggle span::before { transform: translateY(9px) rotate(45deg); }
.site-header.nav-open .nav-toggle span::after { transform: translateY(-9px) rotate(-45deg); }
body.nav-locked { overflow: hidden; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 30%, #16305F 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--white);
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
}
.hero .container { position: relative; z-index: 1; padding-block: clamp(96px, 12vw, 160px); }
.hero-sun {
  position: absolute;
  right: -8vw;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(420px, 55vw, 860px);
  height: auto;
  color: var(--gold);
  opacity: 0.09;
  pointer-events: none;
}
.hero h1 { max-width: 14ch; margin-bottom: 1.4rem; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero .lead { max-width: 58ch; color: rgba(255, 255, 255, 0.76); }
.hero-rule { width: 64px; height: 1px; background: var(--gold); margin-bottom: 2rem; }

.page-hero { min-height: 0; }
.page-hero .container { padding-block: clamp(80px, 9vw, 130px); }
.page-hero h1 { max-width: 16ch; }

/* Figures strip */
.figures { background: var(--navy-deep); color: var(--white); border-top: 1px solid var(--line-light); }
.figures-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.figure { padding: 40px 32px; border-right: 1px solid var(--line-light); }
.figure:first-child { padding-left: 0; }
.figure:last-child { border-right: none; }
.figure-value { font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 2.8rem); color: var(--gold-light); line-height: 1; margin-bottom: 10px; }
.figure-label { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }

/* Two column intro */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split-sticky { position: sticky; top: 110px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 3rem; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); padding: 40px 34px; min-height: 100%; display: flex; flex-direction: column; }
.card-num { font-family: var(--serif); font-size: 2.4rem; color: var(--gold-dark); line-height: 1; margin-bottom: 1.4rem; }
.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }
.card-link { display: inline-block; margin-top: auto; padding-top: 1.4rem; align-self: flex-start; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); border-bottom: 1px solid var(--gold); padding-bottom: 3px; transition: color 0.2s, border-color 0.2s; }
.card-link:hover { color: var(--navy); border-bottom-color: var(--navy); }
.split .cards-2 { grid-template-columns: 1fr; }
.section-dark .cards { background: var(--line-light); border-color: var(--line-light); }
.section-dark .card { background: var(--navy-soft); }
.section-dark .card p { color: rgba(255, 255, 255, 0.7); }

/* Principles list */
.principles { list-style: none; margin: 3rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 80px 1fr 1.6fr; gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.principles .pnum { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-dark); }
.section-dark .principles .pnum { color: var(--gold); }
.principles h3 { margin: 0; }
.principles p { margin: 0; color: var(--ink-soft); }
.section-dark .principles { border-color: var(--line-light); }
.section-dark .principles li { border-color: var(--line-light); }
.section-dark .principles p { color: rgba(255, 255, 255, 0.7); }

.split .principles li { grid-template-columns: 56px 1fr; row-gap: 8px; }
.split .principles li p { grid-column: 2; }

/* Quote band */
.quote-band { background: var(--navy); color: var(--white); text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 880px; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.35; font-style: italic; font-weight: 400; }
.quote-band cite { display: block; margin-top: 1.6rem; font-family: var(--sans); font-style: normal; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 3rem 0 0; border-left: 1px solid var(--gold); }
.timeline li { position: relative; padding: 0 0 36px 40px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.timeline .year { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.timeline p { margin: 0; color: var(--ink-soft); }
.section-dark .timeline p { color: rgba(255, 255, 255, 0.7); }

/* Purpose box */
.purpose { border: 1px solid var(--gold); padding: clamp(32px, 4vw, 56px); background: var(--white); position: relative; }
.purpose::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201, 162, 74, 0.35); pointer-events: none; }
.purpose h3 { font-size: 1.1rem; font-family: var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1.4rem; }
.purpose p { font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.5; margin: 0; }
.purpose small { display: block; margin-top: 1.4rem; font-size: 0.8rem; color: var(--ink-soft); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; margin-top: 3rem; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--gold); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -14px; left: 0; background: var(--navy); padding-right: 12px; font-family: var(--serif); font-size: 1.3rem; color: var(--gold); line-height: 1; }
.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.93rem; color: rgba(255, 255, 255, 0.7); margin: 0; }

/* Investor profile */
.profile-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.profile-list li { padding: 18px 0 18px 32px; border-bottom: 1px solid var(--line); position: relative; }
.profile-list li::before { content: ""; position: absolute; left: 0; top: 30px; width: 14px; height: 1px; background: var(--gold); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: clamp(48px, 7vw, 110px); }
.contact-block { margin-bottom: 2.4rem; }
.contact-label { display: block; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.6rem; font-weight: 500; }
.contact-block p { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.contact-block a { border-bottom: 1px solid var(--gold); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin: 0; }
.form-status { font-size: 0.9rem; color: var(--blue); margin-top: 12px; min-height: 1.2em; }
.form-status.is-error { color: #9B2C2C; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-message { padding: 28px 32px; margin-bottom: 1.5rem; border: 1px solid var(--gold); background: var(--white); }
.form-message h3 { margin-bottom: 0.4rem; }
.form-message p { margin: 0; color: var(--ink-soft); }
.form-message-error { border-color: #9B2C2C; }
.form-message a { border-bottom: 1px solid var(--gold); }
.btn[disabled] { opacity: 0.6; cursor: default; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%); color: var(--white); position: relative; overflow: hidden; }
.cta .sun-corner { position: absolute; right: -120px; bottom: -160px; width: 460px; color: var(--gold); opacity: 0.1; }
.cta .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 48px; }
.cta h2 { margin-bottom: 0.6rem; }
.cta p { color: rgba(255, 255, 255, 0.72); margin: 0; }
.cta .btn-row { margin-top: 0; justify-content: flex-end; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.7); padding-block: 64px 40px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-light); }
.footer-grid h3 { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-top: 40px; }
.footer-bottom .brand { justify-content: center; }
.footer-bottom .brand-name { font-size: 1.15rem; }
.footer-copy { font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); }

/* Responsive */
@media (max-width: 1100px) {
  .header-inner { height: 72px; }
  .brand .sun { width: 38px; height: 38px; }
  .brand-name { font-size: 1.1rem; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; height: calc(100vh - 72px); height: calc(100dvh - 72px); background: var(--navy); z-index: 40; overflow-y: auto;
    flex-direction: column; align-items: flex-start; padding: 32px var(--gutter); gap: 22px;
    transform: translateX(100%); visibility: hidden; transition: transform 0.3s, visibility 0s 0.3s;
  }
  .nav a { font-size: 1rem; white-space: normal; }
  .site-header.nav-open .nav { transform: translateX(0); visibility: visible; transition: transform 0.3s; }
  section[id] { scroll-margin-top: 84px; }
}
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .figures-grid { grid-template-columns: repeat(2, 1fr); }
  .figure { padding: 28px 24px; border-bottom: 1px solid var(--line-light); }
  .figure:nth-child(2n) { border-right: none; }
  .figure:first-child { padding-left: 24px; }
  .principles li { grid-template-columns: 56px 1fr; row-gap: 8px; }
  .principles li p { grid-column: 2; }
}
@media (max-width: 820px) {
  .hero { min-height: 0; }
  .hero-sun { right: -25vw; width: 70vw; top: 45%; opacity: 0.06; }
  .principles li { grid-template-columns: 40px 1fr; column-gap: 16px; }
  .principles .pnum { font-size: 1.2rem; }
  .split, .contact-grid, .cta .container { grid-template-columns: 1fr; }
  .split-sticky { position: static; }
  .cards, .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .cta .btn-row { justify-content: flex-start; }
  .figures-grid { grid-template-columns: 1fr 1fr; }
  .figure { padding: 24px 16px; }
  .figure:first-child { padding-left: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom .brand-text { text-align: left; }
  .footer-bottom .brand-name { font-size: 1rem; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 0.88rem; }
  .site-header .brand-name { white-space: normal; max-width: 150px; line-height: 1.1; }
  .brand-sub { font-size: 0.62rem; }
}
@media (prefers-reduced-motion: reduce) {
  .nav, .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after, .btn, .card-link { transition: none; }
}
