/* Antla Group holding page. Identity: Half-lap, first edition (Nov 2026).
   Colours from the brand package design tokens. Amber is decorative only on Paper (1.7:1),
   so text there is Graphite or Ink muted; on Graphite, Amber is fine for links (9.1:1). */

:root {
  --bg: #F5F1E8;          /* Paper */
  --ink: #161A1C;         /* Graphite */
  --muted: #535C56;       /* Ink muted */
  --line: #D9D7CC;        /* Hairline */
  --mark: #E7B253;        /* Amber, decorative */
  --stop: #A16936;        /* Oxide */
  --link: #161A1C;
  --sans: Inter, "Suisse Intl", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 5vw, 64px);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161A1C;
    --ink: #F5F1E8;
    --muted: #C0C7BF;
    --line: #41494A;
    --stop: #E7B253;
    --link: #E7B253;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: var(--gutter);
  gap: clamp(32px, 6vh, 64px);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Large half-lap symbol, decorative. Sits to the right of the text on wide screens. */
.mark {
  position: absolute;
  z-index: 0;
  color: var(--mark);
  width: min(46vw, 640px);
  height: auto;
  right: calc(var(--gutter) * -0.5);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.top, .hold, .legal { position: relative; z-index: 1; }

.logo-link { display: inline-block; color: var(--ink); line-height: 0; }
.logo { width: clamp(120px, 14vw, 168px); height: auto; }

.hold {
  align-self: center;
  max-width: 34rem;
}

.label {
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.stop { color: var(--stop); }

.lead {
  margin: 28px 0 0;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.45;
  color: var(--muted);
  max-width: 28rem;
}

.contact {
  margin: 36px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: baseline;
}
.contact-label {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
.contact a { font-size: 1.125rem; font-weight: 600; }

.legal {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 44rem;
}
.legal p { margin: 0; }
.legal p + p { margin-top: 2px; }
.legal a { color: var(--muted); }
.addr { white-space: normal; }

/* Narrow screens: the symbol moves up behind the logo row, smaller, so it never sits under the text. */
@media (max-width: 760px) {
  .mark {
    width: 140px;
    top: var(--gutter);
    right: var(--gutter);
    transform: none;
  }
  .logo { width: 128px; }
}

/* Plain text pages (privacy, 404) */
.page { align-self: start; max-width: 40rem; }
.page h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); line-height: 1.05; }
.page h2 { margin: 32px 0 8px; font-size: 1.125rem; line-height: 1.4; }
.page p { margin: 0 0 12px; }
.page .intro { margin-top: 20px; color: var(--muted); font-size: 1.125rem; }
.page-body .mark { display: none; }
