/* SOCKAR — shared styles */
:root {
  --paper: #ECE5D3;
  --paper-2: #E2D8BF;
  --paper-3: #D9CDAF;
  --ink: #141210;
  --ink-2: #2A2722;
  --ink-mute: #7A7062;
  --rule: #141210;
  --line: rgba(20, 18, 16, 0.16);
  --line-soft: rgba(20, 18, 16, 0.10);
  --pop: #F0481F;
  --pop-hover: #D63912;
  --ink-blue: #1E3FAB;
  --white: #F7F2E4;

  --display: "Archivo", "Space Grotesk", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --max: 1320px;
  --gutter: clamp(18px, 3.6vw, 48px);
  --grid-gap: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image:
    radial-gradient(rgba(20,18,16,0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}
main, .site-header, .footer { position: relative; z-index: 1; }

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

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-wrap: balance;
}
.display--black { font-weight: 900; letter-spacing: -0.045em; }
.h1 { font-size: clamp(56px, 11vw, 168px); }
.h2 { font-size: clamp(40px, 6.8vw, 96px); }
.h3 { font-size: clamp(28px, 3.4vw, 44px); }
.h4 { font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }

.body-lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
  max-width: 56ch;
  text-wrap: pretty;
}
p { color: var(--ink-2); }

.mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mono--lg { font-size: 12px; }

.label-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.label-row::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--pop);
  display: inline-block;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__mark {
  width: 22px; height: 22px;
  background: var(--ink);
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 60% 100%, 0 100%);
}
.brand__mark::after {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  background: var(--pop);
  top: 4px; left: 4px;
}
.brand sup {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-left: 4px;
  vertical-align: 6px;
}

.nav {
  justify-self: center;
  display: flex;
  gap: 6px;
  border: 1px solid var(--rule);
  padding: 4px;
}
.nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 16px;
  color: var(--ink);
  display: inline-block;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--ink); color: var(--paper); }
.nav a.is-current { background: var(--ink); color: var(--paper); }

.cta-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cta-link::after {
  content: "";
  width: 24px; height: 1px; background: var(--ink);
  display: inline-block;
  transition: width .2s;
}
.cta-link:hover::after { width: 36px; }

@media (max-width: 760px) {
  .site-header__inner { grid-template-columns: auto 1fr; gap: 16px; }
  .nav { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--pop); border-color: var(--pop); color: var(--white); }
.btn .arrow { width: 14px; height: 1px; background: currentColor; position: relative; }
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: -4px;
  width: 9px; height: 9px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--pop { background: var(--pop); border-color: var(--pop); color: var(--white); }
.btn--pop:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- grid lines ---------- */
.rule { border-bottom: 1px solid var(--rule); }
.rule-thin { border-bottom: 1px solid var(--line); }

.section { padding: clamp(72px, 9vw, 130px) 0; border-bottom: 1px solid var(--rule); }
.section--ink { background: var(--ink); color: var(--paper); border-bottom-color: var(--ink); }
.section--ink p { color: rgba(247, 242, 228, 0.7); }
.section--ink .label-row { color: rgba(247, 242, 228, 0.6); }
.section--ink .label-row::before { background: var(--pop); }
.section--paper2 { background: var(--paper-2); }

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: 80px;
}
.footer__mark {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(80px, 22vw, 320px);
  letter-spacing: -0.06em;
  line-height: 0.82;
  color: var(--paper);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(247,242,228,0.16);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.footer__mark span.dot {
  display: inline-block;
  width: 28px; height: 28px;
  background: var(--pop);
  margin-bottom: clamp(20px, 4vw, 50px);
  flex-shrink: 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(247,242,228,0.16);
}
@media (max-width: 800px) { .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer__cols { grid-template-columns: 1fr; } }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,242,228,0.5);
  font-weight: 500;
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; display: grid; gap: 8px; }
.footer__col a, .footer__col li, .footer__intro p {
  color: rgba(247,242,228,0.85);
  font-size: 14px;
  line-height: 1.55;
}
.footer__col a:hover { color: var(--pop); }
.footer__intro p { max-width: 32ch; font-weight: 500; }
.footer__bottom {
  padding: 24px 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,242,228,0.55);
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom__links { display: flex; gap: 28px; }
.footer__bottom__links a:hover { color: var(--pop); }

/* utilities */
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 8px; background: var(--pop); display: inline-block; }
.section--ink .eyebrow { color: rgba(247,242,228,0.55); }
