/* SupraStark — dark, editorial, minimal.
   Near-black base, warm off-white ink. No accent colours: the stippled
   statues carry all of the light. */

:root {
  --bg: #000000;
  --ink: #f2ede4;
  --ink-80: rgba(242, 237, 228, .80);
  --ink-62: rgba(242, 237, 228, .62);
  --ink-44: rgba(242, 237, 228, .44);
  --ink-28: rgba(242, 237, 228, .28);
  --ink-16: rgba(242, 237, 228, .16);
  --line: rgba(242, 237, 228, .16);   /* buttons only — no separators */
  --line-soft: rgba(242, 237, 228, .075);

  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;

  --gut: clamp(22px, 5vw, 78px);
  --ease: cubic-bezier(.16, .84, .28, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-80);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(16px, 1.12vw, 18.5px);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(242, 237, 228, .18); color: #fff; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }



/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px var(--gut);
  transition: padding .5s var(--ease), background .5s var(--ease);
}

.nav.stuck {
  padding: 14px var(--gut);
  background: rgba(0, 0, 0, .80);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.mark-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .005em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
}

.nav-links a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--ink-62);
  text-decoration: none;
  transition: color .35s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--ink); outline: none; }


/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gut) clamp(24px, 4vh, 40px);
  overflow: hidden;
}



.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art img {
  width: min(88vw, 1020px);
  height: auto;
  max-height: 94svh;
  object-fit: contain;
  object-position: center center;
  opacity: 1;
  filter: brightness(1.34) contrast(1.16);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(70% 64% at 50% 48%, #000 30%, rgba(0,0,0,.5) 64%, transparent 90%);
  mask-image: radial-gradient(70% 64% at 50% 48%, #000 30%, rgba(0,0,0,.5) 64%, transparent 90%);
  transform: translateY(-2%);
  will-change: transform, opacity;
}

.hero-copy {
  position: relative;
  z-index: 2;
  margin-top: auto;
  max-width: 720px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .95), 0 0 90px rgba(0, 0, 0, .9);
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 7.4vw, 104px);
  line-height: .98;
  letter-spacing: -.018em;
  color: var(--ink);
  margin: 0 0 clamp(12px, 1.6vw, 20px);
}

.tagline {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(17px, 1.75vw, 26px);
  line-height: 1.4;
  color: var(--ink-80);
  margin: 0;
  max-width: 22ch;
}

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-top: clamp(28px, 7vh, 74px);
  padding-top: 15px;
}

.principles {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.principles span { color: var(--ink-28); padding: 0 .35em; }



@keyframes bob {
  0%, 100% { transform: translateY(-1px); opacity: .5; }
  50% { transform: translateY(2.5px); opacity: 1; }
}

/* ----------------------------------------------------------- chapters */
.chapter {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(70px, 12vh, 150px) var(--gut);
}

.num {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(22px, 4vh, 40px);
}

.num span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--ink-44);
}


h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.9vw, 52px);
  line-height: 1.06;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: 0 0 clamp(16px, 2.2vw, 26px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4.5vw, 72px);
  align-items: center;
}

.col.text { max-width: 430px; }

.col.text p {
  margin: 0 0 1.3em;
  color: var(--ink-62);
  font-size: clamp(15.5px, 1.04vw, 17.5px);
  line-height: 1.8;
}
.col.text p:last-of-type { margin-bottom: 0; }

/* figures: anchored centre, left, right as asked. No overflow clipping —
   the mask feathers every edge, so the art never shows a frame. */
.col.art {
  position: relative;
  display: flex;
  align-items: center;
}

.col.art img {
  width: 100%;
  height: auto;
  opacity: .96;
  filter: contrast(1.04);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(76% 78% at 50% 50%, #000 44%, rgba(0,0,0,.5) 74%, transparent 100%);
  mask-image: radial-gradient(76% 78% at 50% 50%, #000 44%, rgba(0,0,0,.5) 74%, transparent 100%);
}

/* anchor: the subject sits left / right inside its frame */
.art-left img { transform: translateX(-5%); }
.art-right img { transform: translateX(5%); }

.about .col.text p { max-width: 34ch; }

/* ---------------------------------------------------------- companies */
.companies h2 { margin-bottom: 8px; }

.sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(14px, 1.3vw, 18px);
  color: var(--ink-62);
  margin: 0 0 clamp(34px, 6vh, 66px);
}

.grid {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}


.grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 6px 10px;
  text-decoration: none;
  color: var(--ink-80);
  transition: color .4s ease, transform .55s var(--ease);
}

.icon {
  width: clamp(44px, 5.2vw, 74px);
  height: clamp(44px, 5.2vw, 74px);
  fill: none;
  stroke: currentColor;
  stroke-width: .9;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--ink-80);
  opacity: .92;
  transition: opacity .45s ease, transform .7s var(--ease);
}
.icon ellipse, .icon path { vector-effect: non-scaling-stroke; }

.grid a span {
  font-family: var(--serif);
  font-size: clamp(13px, 1.2vw, 17px);
  color: var(--ink-80);
  text-align: center;
  line-height: 1.2;
}

.grid a:hover { transform: translateY(-3px); }
.grid a:hover .icon { opacity: 1; }
.grid a:focus-visible { outline: 1px solid var(--ink-44); outline-offset: 6px; }

/* the planet horizon that closes the section */

/* --------------------------------------------------------------- cta */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(24px, 3.4vh, 38px);
  padding: 13px 30px 13px 26px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  transition: border-color .4s ease, background .4s ease;
}


.cta .arrow {
  font-size: 12px;
  letter-spacing: 0;
  transition: transform .45s var(--ease);
}

.cta:hover { border-color: rgba(242, 237, 228, .42); background: rgba(242, 237, 228, .035); }
.cta:hover .arrow { transform: translateX(5px); }
.cta:focus-visible { outline: 1px solid var(--ink-44); outline-offset: 4px; }

/* ------------------------------------------------------------ footer */
.foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 26px);
  padding: clamp(22px, 3.6vh, 34px) var(--gut);
}

.foot p {
  margin: 0;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-44);
}
.foot .dash { color: var(--ink-28); padding: 0 .3em; }

/* ------------------------------------------------------------ motion */
[data-rise] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1.05s var(--ease), transform 1.05s var(--ease);
}
[data-rise].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-rise] { opacity: 1; transform: none; transition: none; }
}

/* -------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .col.text { max-width: 560px; }
  .col.art { min-height: 0; order: 2; }
  .col.text { order: 1; }
  .about .col.art { order: 2; }
  .hero-art img { width: 132vw; opacity: .84; }
  .hero-copy { max-width: 90%; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
}

@media (max-width: 620px) {
  .nav { padding: 18px var(--gut); }
  .nav.stuck { padding: 12px var(--gut); }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 10px; }
  .mark-name { font-size: 15px; }
  .display { font-size: clamp(38px, 12vw, 56px); }
  .tagline { font-size: 17px; }
  .hero-art img { width: 168vw; opacity: .78; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles { font-size: 8px; letter-spacing: .2em; }
  .col.art img { width: 132%; }
}

/* scrim: keeps the headline on near-black while the figure fills the frame */

/* Scrim for the hero only: keeps the headline legible. Pure black, same as the
   art's own background, so there is no visible edge. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(0, 0, 0, .90) 0%, rgba(0, 0, 0, .55) 28%, rgba(0, 0, 0, 0) 55%),
    linear-gradient(to top, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .25) 32%, rgba(0, 0, 0, 0) 58%);
}

/* =====================================================================
   Figures bleed past the page margin; text sits opposite.
   Every edge is masked, so no right-angle corner can ever show.
   ===================================================================== */

/* --- II · What We Do — art eats the LEFT margin, text on the right ---- */
.what .split {
  grid-template-columns: minmax(0, 1.34fr) minmax(0, .78fr);
  gap: clamp(24px, 5vw, 92px);
}

.what .col.art {
  order: 1;
  margin-left: calc(var(--gut) * -1 - 5vw);
}

.what .col.text {
  order: 2;
  justify-self: end;
  max-width: 400px;
}

.what .col.art img {
  width: 104%;
  -webkit-mask-image:
    linear-gradient(to right, #000 0%, #000 72%, rgba(0,0,0,.35) 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 11%, #000 89%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, #000 0%, #000 72%, rgba(0,0,0,.35) 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 11%, #000 89%, transparent 100%);
  mask-composite: intersect;
}

/* --- IV · About Us — art eats the RIGHT margin ------------------------ */
.about .split {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.34fr);
}

.about .col.art {
  margin-right: calc(var(--gut) * -1 - 5vw);
}

.about .col.art img {
  width: 104%;
  -webkit-mask-image:
    linear-gradient(to left, #000 0%, #000 72%, rgba(0,0,0,.35) 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 11%, #000 89%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to left, #000 0%, #000 72%, rgba(0,0,0,.35) 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 11%, #000 89%, transparent 100%);
  mask-composite: intersect;
}

/* the old radial mask + nudges no longer apply */
.art-left img, .art-right img { transform: none; }

/* --- III · Our Companies — bigger ------------------------------------- */
.companies {
  padding-top: clamp(90px, 15vh, 180px);
  padding-bottom: clamp(90px, 15vh, 180px);
}
.companies h2 { font-size: clamp(34px, 4.7vw, 64px); }
.companies .sub { font-size: clamp(16px, 1.5vw, 21px); margin-bottom: clamp(46px, 8vh, 88px); }

.companies .grid a { gap: 28px; padding: 14px 16px; }

.companies .icon {
  width: clamp(62px, 7.2vw, 106px);
  height: clamp(62px, 7.2vw, 106px);
  stroke-width: .85;
}

.companies .grid a span { font-size: clamp(15px, 1.45vw, 20px); }

/* --- small screens: stop bleeding, keep it simple ---------------------- */
@media (max-width: 900px) {
  .what .split, .about .split { grid-template-columns: 1fr; }
  .what .col.art, .about .col.art {
    order: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .what .col.art img, .about .col.art img { width: 100%; }
  .what .col.text, .about .col.text { order: 1; justify-self: start; max-width: 560px; }
}
