/* Stack Marketing Co.
   Shares the Campus & Cause editorial system: typography and rules do the work. */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('fonts/archivo-wdth.woff2') format('woff2-variations'), url('fonts/archivo-wdth.woff2') format('woff2'); }

:root {
  --redrock: #B43F1F;
  --ink: #0A0A0A;
  --body: #262626;
  --meta: #6A6A6A;
  --rule: #E2E0DA;
  --tint: #F5F5F3;
  --paper: #FFFFFF;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --page: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--body); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 750; font-stretch: 88%; letter-spacing: -0.02em; line-height: 1.06; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--redrock); outline-offset: 3px; }
.page { max-width: var(--page); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
section[id] { scroll-margin-top: 80px; }

/* Labels and links */
.label { display: inline-block; font-size: 12px; font-weight: 700; font-stretch: 100%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--redrock); line-height: 1.4; }
.more { font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--redrock); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.more:hover { color: var(--redrock); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; transition: background .15s ease; }
.btn:hover { background: var(--redrock); }
.btn.secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.secondary:hover { background: var(--ink); color: #fff; }
.btn svg { width: 14px; height: 14px; }

/* Header */
.bar { position: sticky; top: 0; z-index: 30; background: var(--paper); border-top: 3px solid var(--redrock); border-bottom: 1px solid var(--rule); }
.bar > .page { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.bar .brand { margin-right: auto; display: flex; align-items: center; }
.bar .brand img { height: 38px; width: auto; }
.barnav { display: flex; gap: 26px; }
.navlink { display: block; padding: 23px 0 21px; font-size: 15px; font-weight: 600; color: var(--ink); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.navlink:hover { border-bottom-color: var(--rule); }
.navlink[aria-current="page"] { border-bottom-color: var(--redrock); }
.navlink .ext, .menu-panel .ext { font-weight: 400; color: var(--meta); }
.bar .btn { min-height: 38px; padding: 0 16px; font-size: 14px; }
.menu-toggle { display: none; align-items: center; gap: 8px; border: 0; background: none; padding: 10px 0; font: 600 15px/1 var(--sans); color: var(--ink); cursor: pointer; }
.menu-toggle .bars { width: 18px; height: 10px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s ease, top .2s ease; }
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 8px; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 2px solid var(--ink); }
.menu-panel[hidden] { display: none; }
.menu-panel ul { padding: 6px 0 10px; }
.menu-panel li a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--rule); font-size: 19px; font-weight: 650; font-stretch: 92%; color: var(--ink); }
.menu-panel li:last-child a { border-bottom: 0; }

/* Section heads: thick ink rule, small label, big headline */
.sec { padding: 96px 0; }
.sec-head { border-top: 3px solid var(--ink); padding-top: 14px; margin-bottom: 44px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px 40px; align-items: start; }
.sec-head .label { color: var(--ink); padding-top: 9px; }
.sec-head h2 { font-size: clamp(32px, 3.8vw, 50px); letter-spacing: -0.03em; }
.sec-head .sub { grid-column: 2; font-size: 19px; color: var(--meta); max-width: 640px; line-height: 1.5; margin-top: 4px; }
.tinted { background: var(--tint); }

/* Hero */
.hero { padding: 64px 0 72px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero .label { margin-bottom: 22px; }
.hero h1 { font-size: clamp(44px, 6vw, 80px); line-height: 0.98; letter-spacing: -0.035em; }
.hero h1 .typed { display: block; min-height: 1em; white-space: nowrap; }
.rtext { color: var(--redrock); }
.rtext.rsel { background: var(--redrock); color: #fff; }
.rcaret { display: inline-block; width: 0.06em; height: 0.82em; background: var(--ink); margin-left: 0.04em; vertical-align: -0.06em; animation: rblink 1.05s steps(1) infinite; }
.rcaret.solid { animation: none; }
.rcaret.hide { visibility: hidden; }
@keyframes rblink { 50% { opacity: 0; } }
.hero .intro { margin-top: 28px; font-size: 20px; line-height: 1.5; color: var(--body); max-width: 560px; }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Portrait card (shared with Campus & Cause) */
.portrait { position: relative; aspect-ratio: 730 / 640; width: 100%; max-width: 480px; justify-self: center; }
.portrait .ring { position: absolute; top: 4%; right: 0; width: 34%; aspect-ratio: 1; border: 1px solid #D4D1CB; border-radius: 50%; }
.portrait .card { position: absolute; left: 7%; right: 6%; top: 20%; bottom: 7%; background: var(--redrock); border-radius: 22px; transform: rotate(-3deg); box-shadow: 0 28px 60px rgba(10,10,10,.16), 0 6px 16px rgba(10,10,10,.07); }
.portrait .card i { position: absolute; top: 9%; left: 7%; width: 42px; height: 4px; border-radius: 2px; background: #F3D6CC; }
.portrait img { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); width: 86%; height: auto; }

/* Institutions */
.served { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 40px 0 48px; }
.served h2 { font-size: 12px; font-weight: 800; font-stretch: 100%; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; margin-bottom: 32px; }
.logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px; align-items: center; justify-items: center; }
.logo-grid img { width: auto; max-width: 100%; opacity: .8; transition: opacity .2s ease; }
.logo-grid img:hover { opacity: 1; }

/* Point of view */
.pov { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px 40px; border-top: 4px solid var(--redrock); padding-top: 18px; }
.pov .label { padding-top: 10px; }
.pov h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -0.035em; max-width: 20ch; }
.pov .cols { grid-column: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 28px; max-width: 880px; }
.pov .cols p { font-size: 18px; line-height: 1.65; }

/* Columns with ink rules (Lead / Build / Grow, Ways to work) */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.col { border-top: 2px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.col .n { font-size: 13px; font-weight: 700; color: var(--meta); font-variant-numeric: tabular-nums; }
.col h3 { font-size: 32px; letter-spacing: -0.025em; }
.col p { font-size: 17px; line-height: 1.6; }
.sq { display: grid; gap: 8px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--rule); }
.sq li { position: relative; padding-left: 18px; font-size: 15.5px; line-height: 1.45; color: var(--body); }
.sq li::before { content: ''; position: absolute; left: 1px; top: 0.55em; width: 7px; height: 7px; background: var(--redrock); }
.col.feature { background: var(--paper); border-top: 4px solid var(--redrock); padding: 22px 24px 26px; margin-top: -2px; }
.col .kind { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--meta); }
.col.feature .kind { color: var(--redrock); }
.col h3.sm { font-size: 27px; }

/* Work rows */
.work { border-top: 2px solid var(--ink); }
.work-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px 48px; padding: 34px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.work-row .big { font-size: clamp(44px, 5.4vw, 76px); font-weight: 850; font-stretch: 82%; line-height: 0.92; letter-spacing: -0.035em; color: var(--ink); }
.work-row .where { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--redrock); margin-bottom: 8px; }
.work-row h3 { font-size: 24px; margin-bottom: 8px; }
.work-row p { font-size: 17px; line-height: 1.6; color: var(--body); }

/* Capabilities cloud */
.cap-tabs { display: flex; flex-wrap: wrap; gap: 4px 26px; border-bottom: 1px solid var(--rule); margin-bottom: 14px; }
.capf { position: relative; border: 0; background: none; padding: 12px 0 11px; font: 600 15px/1 var(--sans); color: var(--meta); cursor: pointer; }
.capf:hover { color: var(--ink); }
.capf.act { color: var(--ink); }
.capf .bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--ink); }
.capf.act .bar { width: 100%; }
.capf.act.auto .bar { background: var(--redrock); width: 0; animation: capfill 2.8s linear forwards; }
@keyframes capfill { to { width: 100%; } }
.capstatus { font-size: 13px; color: var(--meta); margin-bottom: 30px; }
.capcloud { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 26px; }
.capcloud .cap { display: inline-block; font-weight: 750; font-stretch: 88%; letter-spacing: -0.025em; line-height: 1.2; color: var(--ink); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), color .35s ease; }
.capcloud.pre .cap { opacity: 0; transform: translateY(14px); }
.capcloud.f .cap { color: #D9D6CF; }
.capcloud.f .cap.on { color: var(--ink); }
.capcloud:not(.f):has(.cap:hover) .cap:not(:hover) { color: #D9D6CF; }

/* Campus & Cause feature */
.cc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border: 2px solid var(--ink); }
.cc-main { padding: 40px 44px 44px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cc-word { font-size: clamp(40px, 5vw, 64px); font-weight: 700; font-stretch: 100%; letter-spacing: -0.035em; line-height: 1; color: var(--ink); white-space: nowrap; }
.cc-word .amp { font-weight: 400; }
.cc-main p { font-size: 19px; line-height: 1.5; max-width: 520px; }
.cc-main .cc-word { font-size: clamp(40px, 5vw, 64px); line-height: 1; max-width: none; }
.cc-main .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.cc-side { border-left: 2px solid var(--ink); padding: 40px 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.cc-side .label { color: var(--ink); margin-bottom: 8px; }
.cc-secs li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 4px 14px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.cc-secs li:last-child { border-bottom: 0; }
.cc-secs i { width: 12px; height: 12px; margin-top: 6px; grid-row: span 2; }
.cc-secs b { font-size: 17px; font-weight: 700; font-stretch: 94%; color: var(--ink); line-height: 1.3; }
.cc-secs span { font-size: 15px; color: var(--meta); line-height: 1.4; }
.cc-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 22px 0; }
.cc-note .cc-word { font-size: 30px; }
.cc-note p { font-size: 17px; line-height: 1.5; }

/* Contact */
.contact { border-top: 4px solid var(--redrock); background: var(--tint); padding: 56px 56px 60px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: end; }
.contact h2 { font-size: clamp(38px, 5vw, 68px); line-height: 1; letter-spacing: -0.035em; max-width: 16ch; }
.contact p { margin-top: 18px; font-size: 18px; }
.contact p a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--redrock); text-underline-offset: 4px; }

/* About page */
.about-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 56px 0 40px; }
.about-top h1 { font-size: clamp(44px, 5.8vw, 78px); line-height: 0.98; letter-spacing: -0.035em; }
.about-top .dek { margin-top: 22px; font-size: 21px; line-height: 1.5; max-width: 560px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-bottom: 8px; }
.facts div { border-top: 2px solid var(--ink); padding-top: 12px; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--redrock); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 17px; font-weight: 650; font-stretch: 94%; color: var(--ink); line-height: 1.35; }
.prose { max-width: 720px; }
.prose p { font-size: 19px; line-height: 1.7; margin-bottom: 18px; }
.prose p.lede { font-size: 24px; line-height: 1.45; font-weight: 600; font-stretch: 96%; color: var(--ink); letter-spacing: -0.01em; }
.prose a { text-decoration: underline; text-decoration-color: var(--redrock); text-underline-offset: 3px; color: var(--ink); }
.rules { border-top: 2px solid var(--ink); counter-reset: r; }
.rules li { counter-increment: r; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 20px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.rules li::before { content: counter(r, decimal-leading-zero); font-size: 15px; font-weight: 800; color: var(--redrock); padding-top: 8px; grid-row: span 2; }
.rules h3 { font-size: 28px; }
.rules p { font-size: 18px; line-height: 1.6; max-width: 680px; }
.edu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 880px; }
.edu div { border-top: 2px solid var(--ink); padding-top: 14px; }
.edu b { display: block; font-size: 22px; font-weight: 750; font-stretch: 90%; color: var(--ink); letter-spacing: -0.015em; }
.edu span { font-size: 16px; color: var(--meta); }

.indent { margin-left: 260px; }
.rules li { padding-left: 0; }

/* Footer (same structure as Campus & Cause) */
.footer { border-top: 2px solid var(--ink); margin-top: 96px; }
.footer .page { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 36px; }
.footer .brand img { height: 40px; width: auto; }
.footer .about-line { margin-top: 14px; font-size: 14.5px; color: var(--meta); max-width: 340px; line-height: 1.5; }
.footer h2 { font-size: 12px; font-weight: 800; font-stretch: 100%; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.footer ul { display: grid; gap: 8px; font-size: 15px; }
.footer ul a:hover { color: var(--redrock); }
.footer-base { border-top: 1px solid var(--rule); }
.footer-base .page { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 16px; padding-bottom: 24px; font-size: 13px; color: var(--meta); }
.footer-base a { text-decoration: underline; text-underline-offset: 3px; }

/* Responsive */
@media (max-width: 1060px) {
  .barnav { display: none; }
  .menu-toggle { display: inline-flex; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
}
@media (max-width: 900px) {
  .hero, .about-top { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
  .portrait { max-width: 340px; }
  .sec { padding: 72px 0; }
  .sec-head, .pov { grid-template-columns: 1fr; }
  .sec-head .sub, .pov .cols { grid-column: 1; }
  .sec-head .label, .pov .label { padding-top: 0; }
  .indent { margin-left: 0; }
  .cols3 { grid-template-columns: 1fr; gap: 36px; }
  .work-row { grid-template-columns: 1fr; gap: 14px; }
  .cc { grid-template-columns: 1fr; }
  .cc-side { border-left: 0; border-top: 2px solid var(--ink); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .page { grid-template-columns: 1fr 1fr; }
  .footer .brandcol { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .page { padding: 0 20px; }
  .bar > .page { min-height: 58px; gap: 16px; }
  .bar .brand img { height: 32px; }
  .bar .btn { padding: 0 12px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 50px); }
  .hero .intro { font-size: 18px; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pov .cols { grid-template-columns: 1fr; gap: 16px; }
  .cc-main, .cc-side { padding: 28px 22px 30px; }
  .cc-note { grid-template-columns: 1fr; gap: 10px; }
  .contact { grid-template-columns: 1fr; padding: 36px 22px 40px; }
  .facts { grid-template-columns: 1fr; gap: 18px; }
  .edu { grid-template-columns: 1fr; }
  .rules li { grid-template-columns: 1fr; }
  .rules li::before { padding-top: 0; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .rcaret { animation: none; }
  .capcloud.pre .cap { opacity: 1; transform: none; }
  .capf.act.auto .bar { animation: none; width: 100%; }
}
