/* Somerset Asset Partners — holding page
   Brand v1.0, reversed (white on Forest) to match the investor deck. */

/* ---------- Fonts (self-hosted, SIL OFL 1.1, Latin subset) ---------- */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/archivo-400-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/archivo-600-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-500-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */

:root {
  --black: #0A0F0D;
  --forest: #0E3B2E;
  --white: #FFFFFF;
  --text-secondary: #9EAFA9;   /* white at ~60% over Forest; 5.5:1 on Forest */
  --hairline: rgba(255, 255, 255, 0.28);

  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-label: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;

  --pad-x: 96px;
  --pad-y: 48px;
  --logo-width: 220px;
  --measure: 560px;
}

/* ---------- Base ---------- */

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

html {
  background: var(--forest);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: var(--pad-y) var(--pad-x);
  overflow-x: hidden;
  background: var(--forest);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

h1,
h2,
p {
  margin: 0;
}

/* ---------- Artwork (decorative, behind content) ---------- */

.artwork {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: var(--pad-x);
  height: min(calc(100vh - 340px), 760px);
  width: auto;
  max-width: 60vw;
  transform: translateY(-50%);
  object-fit: contain;
  object-position: right center;
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(ellipse 62% 66% at 58% 50%, #000 38%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 66% at 58% 50%, #000 38%, transparent 100%);
  pointer-events: none;
  user-select: none;
}

/* ---------- Hero: logo + descriptor, vertically centred ---------- */

.hero {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--measure);
  min-height: calc(100vh - (2 * var(--pad-y)));
  min-height: calc(100svh - (2 * var(--pad-y)));
}

.brand-logo {
  font-size: 0;
  line-height: 0;
  margin-bottom: 40px;
}

.brand-logo img {
  display: block;
  width: var(--logo-width);
  min-width: 130px;
  height: auto;
}

/* ---------- Footer band: contact and legal, bottom-left ---------- */

.site-footer {
  position: absolute;
  z-index: 1;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: var(--pad-y);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

.eyebrow {
  margin-bottom: 8px;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.contact-link {
  overflow-wrap: anywhere;
}

.legal {
  font-size: 11px;
  line-height: 16px;
  color: var(--text-secondary);
}

.legal .acn {
  display: inline-block;
  margin-left: 1em;
}

/* ---------- Links ---------- */

a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--white);
  text-decoration-thickness: 1.5px;
}

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

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
  :root {
    --pad-x: 24px;
    --pad-y: 32px;
    --logo-width: 180px;
  }

  body {
    font-size: 15px;
  }

  .artwork {
    top: 0;
    right: 0;
    height: auto;
    width: 68%;
    max-width: none;
    transform: none;
    opacity: 0.28;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 30%, transparent 100%);
  }

  .hero {
    flex: 1 0 auto;
    min-height: 0;
    padding-block: 64px 96px;
  }

  .site-footer {
    position: static;
    flex: none;
  }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
