/* ParOps site styles. Brand direction: Monochrome + Oak (Nov 2026).
   Layout: single 1160px column; hero splits copy | herringbone; sections alternate plain/tinted bands.
   Black and white dominate; oak is the one accent, used for actions, links and a few parquet tiles. */
:root {
  --bg: #ffffff;
  --surface: #f4f4f3;
  --ink: #0a0a0a;
  --muted: #565656;
  --line: #e7e2da;
  --oak: #9a5f1e;
  --oak-ink: #ffffff;
  --oak-tint: #f3e8da;
  --inv-bg: #0a0a0a;
  --inv-ink: #ffffff;
  --t1: #f1efec; --t2: #e7e3de; --t3: #dcd7d0; --ta: #0a0a0a; --tb: #9a5f1e;
  --f-display: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1160px;
  --r: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0a0a; --surface: #141312; --ink: #f4f4f3; --muted: #a8a49f; --line: #2a2724; --oak: #d69a55; --oak-ink: #0a0a0a; --oak-tint: #2a1f14;
    --inv-bg: #f4f4f3; --inv-ink: #0a0a0a;
    --t1: #161514; --t2: #1d1b19; --t3: #25221f; --ta: #f4f4f3; --tb: #d69a55;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0a0a; --surface: #141312; --ink: #f4f4f3; --muted: #a8a49f; --line: #2a2724; --oak: #d69a55; --oak-ink: #0a0a0a; --oak-tint: #2a1f14;
  --inv-bg: #f4f4f3; --inv-ink: #0a0a0a;
  --t1: #161514; --t2: #1d1b19; --t3: #25221f; --ta: #f4f4f3; --tb: #d69a55;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--f-display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0; }
.mono, .eyebrow { font-family: var(--f-mono); font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { color: var(--oak); }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.narrow { max-width: 820px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

/* header */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.logo { height: 30px; width: auto; display: block; }
.logo .lf { fill: var(--ink); }
.logo .lc { fill: var(--bg); }
.foot-brand .logo { height: 32px; }
.site-head nav { display: flex; align-items: center; gap: 4px 20px; flex-wrap: wrap; font-size: .95rem; font-weight: 500; }
.site-head nav a:not(.btn) { text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.site-head nav a:not(.btn):hover, .site-head nav a[aria-current] { border-bottom-color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; background: var(--oak); color: var(--oak-ink); border: 1.5px solid var(--oak); border-radius: var(--r); text-decoration: none; font-weight: 600; font-size: .98rem; transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.site-head .btn { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-inv { background: var(--oak); color: var(--oak-ink); border-color: var(--oak); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.arrow { font-weight: 600; text-decoration: none; color: var(--oak); border-bottom: 1.5px solid currentColor; }
.arrow::after { content: " →"; }

/* hero */
.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-block: 56px 0; align-items: center; }
.hero-copy { min-width: 0; padding-bottom: 8px; }
.hero-copy h1 { margin-top: 14px; max-width: 12ch; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 60ch; margin-top: 22px; }
.hero-art { margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); height: 240px; }
.hb { display: block; width: 100%; height: 100%; }
.hb .t1 { fill: var(--t1); } .hb .t2 { fill: var(--t2); } .hb .t3 { fill: var(--t3); } .hb .ta { fill: var(--ta); } .hb .tb { fill: var(--tb); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); padding-block: 0; min-height: 560px; }
  .hero-copy { padding-block: 72px; }
  .hero-art { margin: 0; margin-right: calc(-1 * max(32px, env(safe-area-inset-right, 0px))); height: 100%; min-height: 560px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .hb .ta { animation: settle .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero .hb .ta:nth-of-type(2n) { animation-delay: .12s; }
  @keyframes settle { from { fill: var(--t3); } }
  .hero .hb .tb { animation: settle .9s cubic-bezier(.2,.7,.2,1) .25s both; }
}

/* sections */
.sec { padding-block: clamp(56px, 8vw, 96px); }
.sec-alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 40px; }
.sec-head p { color: var(--muted); }
.two-col { display: grid; gap: 24px 64px; grid-template-columns: 1fr; }
.two-col > * { min-width: 0; }
@media (min-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }
.prose { display: grid; gap: 16px; max-width: 65ch; }

/* discipline cards */
.disc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1.5px solid var(--ink); }
.disc { display: grid; align-content: start; gap: 10px; padding: 22px 20px 26px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.disc .mono { color: var(--muted); }
.disc p { color: var(--muted); font-size: .95rem; }
.disc:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 640px) { .disc { padding-left: 20px; border-left: 1px solid var(--line); } }

/* matrix */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.matrix { border-collapse: collapse; width: 100%; min-width: 760px; font-size: .92rem; }
.matrix th, .matrix td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix tbody tr:last-child > * { border-bottom: 0; }
.matrix thead th { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; vertical-align: bottom; }
.matrix th:first-child { text-align: left; }
.matrix a { text-decoration: none; }
.matrix a:hover { text-decoration: underline; }
.matrix tbody th { font-family: var(--f-display); font-weight: 600; }
.dot { display: inline-block; width: 18px; height: 9px; background: var(--oak); border-radius: 1px; transform: rotate(-45deg); }
.dash { color: var(--line); }

/* turnkey/custom */
.split { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.opt { display: grid; align-content: start; gap: 12px; padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }
.opt:first-child { background: var(--inv-bg); color: var(--inv-ink); border-color: var(--inv-bg); }
.opt:first-child .fit { color: inherit; opacity: .75; }
.opt:first-child .mono { color: var(--tb); }
.opt .fit { color: var(--muted); font-size: .92rem; border-top: 1px solid currentColor; padding-top: 12px; margin-top: 6px; border-top-color: color-mix(in srgb, currentColor 25%, transparent); }

/* build list / hub lists */
.build-list, .hub-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.hub-list { margin-top: 24px; margin-bottom: 8px; }
.build-list a, .hub-list a { display: grid; gap: 8px; padding: 22px 20px 26px 0; text-decoration: none; height: 100%; border-bottom: 1px solid var(--line); }
.build-list p, .hub-list p { color: var(--muted); font-size: .95rem; }
.build-list a:hover h3, .hub-list a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.hub-list .mono { color: var(--muted); }

/* steps */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: s; }
.steps li { display: grid; gap: 10px; align-content: start; border-top: 1.5px solid var(--ink); padding-top: 16px; }
.steps p { color: var(--muted); font-size: .95rem; }

/* page hero */
.page-hero { border-bottom: 1px solid var(--line); padding-block: 40px 64px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-top: 12px; max-width: 20ch; }
.also { margin-top: 14px; font-size: .95rem; color: var(--muted); font-style: italic; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 32px; padding: 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* items, ticks, chips */
.items { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.item { display: grid; gap: 6px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.item p { color: var(--muted); max-width: 62ch; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 62ch; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 14px; height: 7px; background: var(--oak); border-radius: 1px; transform: rotate(-45deg); }
.chips-label { margin-top: 32px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-content: start; }
.chip { display: inline-block; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 500; background: var(--bg); }
.chip:hover { background: var(--oak); border-color: var(--oak); color: var(--oak-ink); }

/* faq */
.faq { margin-top: 24px; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.5rem/1 var(--f-body); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 65ch; }

/* about */
.hb-sm { aspect-ratio: 1; height: auto; max-width: 320px; border-radius: var(--r); }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 32px; }
.principles > div { display: grid; gap: 8px; align-content: start; border-top: 1.5px solid var(--ink); padding-top: 16px; }
.principles p { color: var(--muted); font-size: .95rem; }

/* contact */
.big-mail { font-size: clamp(1rem, 2.4vw, 1.35rem); margin-top: 16px; text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; user-select: all; }

/* cta band */
.cta-band { background: var(--inv-bg); color: var(--inv-ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-block: 56px; }
.cta-row > div { display: grid; gap: 10px; max-width: 640px; min-width: 0; }
.cta-row p { opacity: .75; }

/* footer */
.site-foot { padding-block: 56px 32px; font-size: .92rem; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.foot-brand { display: grid; gap: 12px; align-content: start; }
.foot-brand p { color: var(--muted); max-width: 34ch; }
.foot-brand .mono { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.foot-h { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot ul a { text-decoration: none; }
.site-foot ul a:hover { text-decoration: underline; }
.fine { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
