/* ============================================================
   ACRIS HOLDINGS - design system v2 (obsidian) + motion
   Gold appears only as a rule, never as a fill.
   One static gold mark per page; gold otherwise appears
   only on interaction - discovered, not announced.
   ============================================================ */

:root {
  --bg:       #0B0B0B;
  --bg-lift:  #111111;
  --panel:    #141414;
  --hairline: #232323;
  --cloud:    #F0F0F0;
  --body:     #B9B7B2;
  --silver:   #8A8A8A;
  --graphite: #4A4A4A;
  --gold:     #B8986A;

  --serif: 'Marcellus', Georgia, serif;
  --sans:  'Manrope', -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --gutter: clamp(24px, 5vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* film grain over everything */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 40;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

::selection { background: var(--graphite); color: var(--cloud); }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(11, 11, 11, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 26px 0; }

.wordmark { text-decoration: none; display: flex; align-items: baseline; gap: 14px; }
.wordmark .acris { font-family: var(--serif); font-size: 21px; letter-spacing: 0.46em; color: var(--cloud); }
.wordmark .hold  { font-family: var(--sans); font-size: 9.5px; letter-spacing: 0.4em; color: var(--silver); font-weight: 500; }

nav { display: flex; gap: 34px; }
nav a {
  font-family: var(--sans); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--silver); text-decoration: none;
  padding-bottom: 5px; border-bottom: 1px solid transparent;
  transition: color 220ms var(--ease), border-color 220ms var(--ease);
}
nav a:hover { color: var(--cloud); }
nav a.active { color: var(--cloud); border-bottom-color: var(--graphite); }

/* ---------- hero / page head ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; }
.hero-pad { padding: clamp(96px, 16vh, 190px) 0 clamp(72px, 11vh, 140px); }

.eyebrow {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--silver); margin-bottom: 34px;
}
.eyebrow::before { content: ''; width: 44px; height: 1px; background: var(--graphite); }

h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(52px, 9vw, 118px);
  line-height: 1.04; color: var(--cloud);
  letter-spacing: 0.005em; max-width: 14ch;
}
h1 .dim { color: var(--graphite); }

/* the one static gold mark per page */
.gold-rule { width: 108px; height: 2px; background: var(--gold); border: 0; margin: 44px 0 0; }

.lede {
  font-weight: 300; font-size: clamp(18px, 2.3vw, 22px);
  line-height: 1.65; color: var(--body); max-width: 50ch; margin-top: 40px;
}

/* contour line-work behind hero - drawn in on load, breathing, mouse-reactive */
.contours {
  position: absolute; top: -10%; right: -12%; width: 68%; height: 130%;
  z-index: 1; opacity: 0.65; pointer-events: none;
}
.contours svg { width: 100%; height: 100%; will-change: transform; }
.contours path { fill: none; stroke: #2E2E2E; stroke-width: 1; will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .contours { animation: breathe 26s var(--ease) infinite alternate; }
  @keyframes breathe {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(-3%, 2%, 0) scale(1.05); }
  }
}

/* ---------- scroll story (the litany) ---------- */
.story { height: 300vh; position: relative; }
.story .pin {
  position: sticky; top: 0; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.story .line {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 3.6vw, 50px); line-height: 1.24;
  color: #262626; max-width: none; margin-bottom: 14px;
  transition: color 700ms var(--ease);
}
@media (min-width: 760px) { .story .line { white-space: nowrap; } }
.story .line.on { color: var(--cloud); }
.story .line.on.last { color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .story { height: auto; padding: clamp(72px, 11vh, 132px) 0; }
  .story .pin { position: static; min-height: 0; }
  .story .line { color: var(--cloud); }
  .story .line:last-child { color: var(--gold); }
}

/* ---------- sections ---------- */
section { padding: clamp(72px, 11vh, 132px) 0; }
section.lift { background: var(--bg-lift); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

.sec-label {
  display: flex; align-items: baseline; gap: 20px; margin-bottom: 44px;
}
.sec-label .txt {
  font-family: var(--sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.38em; text-transform: uppercase; color: var(--silver);
}

h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 4.2vw, 46px); line-height: 1.18;
  color: var(--cloud); margin-bottom: 30px; max-width: 24ch;
}
h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--cloud); margin-bottom: 12px; }

p { max-width: 66ch; margin-bottom: 18px; }
p:last-child { margin-bottom: 0; }
.small { font-size: 13px; color: var(--silver); }

.statement {
  font-family: var(--serif);
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.42; color: var(--cloud); max-width: 30ch;
}
.statement .dim { color: var(--silver); }

/* ---------- photography ---------- */
.photo-band { position: relative; height: clamp(320px, 54vh, 560px); overflow: hidden; }
.photo-band img, .photo-band video {
  position: absolute; top: -25%; left: 0;
  width: 100%; height: 150%; object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.62);
  will-change: transform;
}
.photo-band.noimg { display: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split .photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); }
.split .photo img, .split .photo video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(0.72); transform: scale(1.12); will-change: transform; }
.split .photo.noimg { background: var(--panel); }
.split .photo.noimg img { display: none; }

/* ---------- grids & panels ---------- */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 56px); }
@media (max-width: 820px) { .cols { grid-template-columns: 1fr; gap: 40px; } }
.cols.four { grid-template-columns: repeat(2, 1fr); gap: clamp(38px, 4.4vw, 68px); }
@media (max-width: 820px) { .cols.four { grid-template-columns: 1fr; gap: 40px; } }

.panel {
  border-top: 1px solid var(--hairline);
  padding: 30px 0 8px;
  transition: border-color 320ms var(--ease);
  display: flex; flex-direction: column; align-items: flex-start;
}
.panel a.go { margin-top: auto; }
.plogo {
  width: 100%; height: 112px;
  display: flex; align-items: center; justify-content: flex-start;
  margin-bottom: 26px;
}
.plogo img { width: auto; height: auto; max-width: 100%; opacity: 0.94; }
.plogo.pfp img { max-height: 80px; }
.plogo.srt img { max-height: 62px; }
.plogo.cs  img { max-height: 100px; }
.gold-em { color: var(--gold); }
.panel:hover { border-top-color: var(--gold); }
.panel .idx { font-family: var(--serif); font-size: 13px; color: var(--graphite); letter-spacing: 0.14em; display: block; margin-bottom: 22px; }
.panel .co { font-family: var(--serif); font-size: 22px; color: var(--cloud); letter-spacing: 0.02em; }
.panel .what { margin: 14px 0 22px; color: var(--body); font-size: 15px; line-height: 1.7; }
.panel a.go {
  font-family: var(--sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cloud); text-decoration: none;
  border-bottom: 1px solid var(--graphite); padding-bottom: 4px;
  transition: border-color 220ms var(--ease);
}
.panel a.go:hover { border-bottom-color: var(--gold); }

/* pillar columns (group page) */
.pillar { border-top: 1px solid var(--hairline); padding-top: 26px; }
.pillar h3 { margin-top: 8px; }
.pillar p { font-size: 15px; color: var(--body); }
.pillar .idx { font-family: var(--serif); font-size: 13px; color: var(--graphite); }
.pillar { transition: border-color 320ms var(--ease); }
.pillar:hover { border-top-color: var(--gold); }

/* criteria rows (group page) */
.crit { border-top: 1px solid var(--hairline); margin-top: 4px; }
.crit .row {
  display: grid; grid-template-columns: 1fr 1.9fr;
  gap: clamp(20px, 4vw, 60px);
  padding: 28px 0; border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.crit .k { font-family: var(--serif); font-size: 19px; color: var(--cloud); line-height: 1.35; transition: color 240ms var(--ease); }
.crit .row:hover .k { color: var(--gold); }
.crit .v { font-size: 15px; color: var(--body); line-height: 1.7; margin: 0; max-width: 62ch; }
@media (max-width: 700px) { .crit .row { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; } }


/* ---------- people ---------- */
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 36px; }
.people-grid.three { grid-template-columns: repeat(3, 1fr); max-width: 860px; }
@media (max-width: 960px) { .people-grid, .people-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .people-grid, .people-grid.three { grid-template-columns: 1fr; } }

.portrait {
  aspect-ratio: 4 / 5; background: var(--panel);
  border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; position: relative; overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); }
.portrait.round {
  aspect-ratio: 1 / 1; border-radius: 50%;
  background: #FFFFFF; border: 1px solid var(--hairline);
  width: 78%; margin: 0 auto 20px;
}
.portrait.round img { border-radius: 50%; }
.portrait .init { font-family: var(--serif); font-size: 36px; color: #2E2E2E; letter-spacing: 0.12em; }

.person { display: flex; flex-direction: column; }
.person .name { font-family: var(--serif); font-size: 18px; color: var(--cloud); min-height: 50px; }
.people-grid.three .person .name { min-height: 28px; }
.person .role { font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver); margin: 8px 0 12px; white-space: nowrap; }
.person .creds { font-family: var(--sans); font-size: 10.5px; font-weight: 400; letter-spacing: 0.05em; color: var(--silver); }
.person .bio  { font-size: 14px; color: var(--body); line-height: 1.65; margin-bottom: 12px; }
.person a.li  { margin-top: auto; align-self: flex-start; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--silver); text-decoration: none; border-bottom: 1px solid var(--hairline); padding-bottom: 3px; transition: color 220ms var(--ease), border-color 220ms var(--ease); }
.person a.li:hover { color: var(--cloud); border-bottom-color: var(--gold); }
.person a.mailto {
  align-self: flex-start; font-family: var(--sans); font-size: 13px; font-weight: 300;
  color: var(--body); text-decoration: none; word-break: break-word;
  border-bottom: 1px solid var(--hairline); padding-bottom: 3px; margin-bottom: 14px;
  transition: color 220ms var(--ease), border-color 220ms var(--ease);
}
.person a.mailto:hover { color: var(--cloud); border-bottom-color: var(--gold); }
.person a.mailto + a.li { margin-top: 0; }
.people-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 620px; gap: 48px 44px; }
@media (max-width: 560px) { .people-grid.two { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(48px, 7vw, 96px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.addr { font-style: normal; color: var(--body); line-height: 2; font-size: 15.5px; }
.addr .label { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--silver); display: block; margin: 26px 0 8px; }
.addr .label:first-child { margin-top: 0; }
.addr a { color: var(--cloud); text-decoration: none; border-bottom: 1px solid var(--hairline); }
.addr a:hover { border-bottom-color: var(--gold); }

form .field { margin-bottom: 24px; }
label {
  display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--silver); margin-bottom: 10px;
}
input, textarea {
  width: 100%; padding: 14px 15px;
  font-family: var(--sans); font-size: 15px; font-weight: 300; color: var(--cloud);
  background: var(--bg-lift); border: 1px solid var(--hairline); border-radius: 0;
  transition: border-color 220ms var(--ease);
}
input:focus, textarea:focus { outline: none; border-color: var(--silver); }
textarea { min-height: 150px; resize: vertical; }

button {
  font-family: var(--sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--bg); background: var(--cloud);
  border: 1px solid var(--cloud); padding: 16px 38px; cursor: pointer;
  transition: background 220ms var(--ease), color 220ms var(--ease);
}
button:hover { background: transparent; color: var(--cloud); }
button:disabled { opacity: 0.45; cursor: default; background: var(--cloud); color: var(--bg); }
button:disabled:hover { background: var(--cloud); color: var(--bg); }

/* honeypot: off-screen rather than display:none, so bots that skip hidden fields still fill it */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-family: var(--sans); font-size: 14px; line-height: 1.6; color: var(--body); margin: 18px 0 0; }
.form-status:empty { margin: 0; }
.form-status.is-error { color: var(--cloud); border-left: 1px solid var(--silver); padding-left: 14px; }
.form-status a { color: var(--cloud); border-bottom: 1px solid var(--hairline); text-decoration: none; }
.form-status a:hover { border-bottom-color: var(--gold); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--hairline); padding: 52px 0 60px; }
.footer-inner { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 22px; }
.footer-inner .legal { font-size: 12.5px; color: var(--silver); }
.footer-inner .conviction { font-family: var(--serif); font-size: 14px; color: var(--silver); font-style: italic; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--silver); text-decoration: none; transition: color 220ms var(--ease); }
.footer-links a:hover { color: var(--cloud); }

/* ---------- motion ---------- */
.fade { opacity: 0; transform: translateY(16px); transition: opacity 480ms var(--ease), transform 480ms var(--ease); }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } }
