/* ================================================================
   Opsware.pl — Design System
   Sister brand to Software.pl · Editorial · Teal accent · Ops feel
   ================================================================ */

:root {
  /* Surfaces — kept identical to software.pl for brand family */
  --paper: #F2EEE3;
  --paper-2: #EAE5D6;
  --paper-3: #DDD6C2;
  --ink: #111111;
  --ink-2: #2A2A2A;
  --ink-3: #6B6B6B;
  --ink-4: #9A9A92;
  --line: rgba(17, 17, 17, 0.14);
  --line-soft: rgba(17, 17, 17, 0.07);

  /* Accent — teal-green (ops / uptime / system health) */
  --accent: #0F766E;
  --accent-deep: #0B5751;
  --accent-soft: rgba(15, 118, 110, 0.08);

  /* Status palette */
  --st-up: #0F766E;
  --st-warn: #C2620C;
  --st-down: #B91C1C;

  /* Typography */
  --serif: 'Fraunces', 'Iowan Old Style', 'Georgia', serif;
  --sans: 'Geist', -apple-system, 'Segoe UI', 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--paper); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ================================================================
   Layout primitives
   ================================================================ */

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

.rule { height: 1px; background: var(--line); border: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

/* ================================================================
   Navigation
   ================================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 238, 227, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.nav__brand-dot {
  color: var(--accent);
}

/* Pulse dot — live indicator */
.nav__pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  position: relative;
  vertical-align: 1px;
  animation: pulse 2.4s ease-in-out infinite;
}

.nav__pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: ping 2.4s ease-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.8; }
  80%, 100% { transform: scale(2); opacity: 0; }
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav__links a {
  font-size: 15px;
  font-weight: 450;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__cta {
  font-size: 14px;
  font-weight: 500;
  padding: 11px 20px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav__cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ================================================================
   Buttons
   ================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow .arrow { transition: transform 0.3s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* ================================================================
   Section header
   ================================================================ */

.shead {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: baseline;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.shead__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  padding-top: 14px;
  white-space: nowrap;
}

.shead__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.shead__title em {
  font-style: italic;
  color: var(--accent);
}

.shead__lede {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-3);
  max-width: 560px;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .shead { grid-template-columns: 1fr; gap: 24px; }
  .shead__num { padding-top: 0; }
}

/* ================================================================
   Hero
   ================================================================ */

.hero {
  padding: clamp(80px, 14vw, 160px) 0 clamp(60px, 10vw, 120px);
  position: relative;
}

.hero__meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: clamp(40px, 8vw, 80px);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.hero__meta .live {
  color: var(--accent);
  font-weight: 500;
}

.hero__meta .live::before {
  content: "● ";
  animation: pulse 2.4s ease-in-out infinite;
}

.hero__h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 11.5vw, 10rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.hero__h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

.hero__foot {
  margin-top: clamp(48px, 8vw, 80px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hero__lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 52ch;
}

.hero__lede strong { font-weight: 500; color: var(--ink); }

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 820px) {
  .hero__foot { grid-template-columns: 1fr; gap: 32px; }
  .hero__actions { justify-content: flex-start; }
}

.hero__h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: rise 0.9s var(--ease-out) forwards;
}
.hero__h1 .word:nth-child(1) { animation-delay: 0.05s; }
.hero__h1 .word:nth-child(2) { animation-delay: 0.15s; }
.hero__h1 .word:nth-child(3) { animation-delay: 0.25s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   Marquee
   ================================================================ */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  background: var(--paper-2);
}

.marquee__track {
  display: flex;
  gap: 56px;
  animation: scroll 60s linear infinite;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.marquee__track span::after {
  content: " ／";
  color: var(--accent);
  margin-left: 56px;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================================================================
   Services
   ================================================================ */

.services { padding: clamp(80px, 12vw, 140px) 0; }

.svc-list { margin-top: 64px; }

.svc {
  display: grid;
  grid-template-columns: 80px 1.1fr 1.4fr auto;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding 0.4s var(--ease);
  position: relative;
}

.svc:hover { padding-left: 16px; }

.svc__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  padding-top: 10px;
}

.svc__title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.svc__desc {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 52ch;
}

.svc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.svc__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.svc__arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--ink-3);
  padding-top: 6px;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.svc:hover .svc__arrow {
  color: var(--accent);
  transform: translate(4px, -2px);
}

@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .svc__arrow { display: none; }
}

/* ================================================================
   STATUS PANEL — signature ops section
   ================================================================ */

.status {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.status__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(242, 238, 227, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 238, 227, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.status__inner {
  position: relative;
  z-index: 2;
}

.status__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(242, 238, 227, 0.12);
  flex-wrap: wrap;
}

.status__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 238, 227, 0.5);
  margin-bottom: 16px;
}

.status__eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: 2px;
  animation: pulse 2.4s ease-in-out infinite;
}

.status__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--paper);
  max-width: 18ch;
}

.status__title em {
  font-style: italic;
  color: var(--accent);
}

.status__nav {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(242, 238, 227, 0.55);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.status__nav span:first-child { color: var(--accent); }

.status__panel {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 14px;
  color: rgba(242, 238, 227, 0.85);
}

.status__row {
  display: grid;
  grid-template-columns: 24px 1fr 100px 100px 100px;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(242, 238, 227, 0.08);
  align-items: center;
}

.status__row--head {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 238, 227, 0.4);
  padding-bottom: 12px;
}

.status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--st-up);
  box-shadow: 0 0 12px var(--st-up);
}

.status__dot--warn { background: var(--st-warn); box-shadow: 0 0 12px var(--st-warn); }
.status__dot--down { background: var(--st-down); box-shadow: 0 0 12px var(--st-down); }

.status__service { color: var(--paper); }

.status__metric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.status__metric--up { color: var(--accent); }

.status__foot {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(242, 238, 227, 0.12);
}

.status__big {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper);
}

.status__big em {
  font-style: italic;
  color: var(--accent);
}

.status__label {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 238, 227, 0.5);
}

@media (max-width: 820px) {
  .status__row {
    grid-template-columns: 16px 1fr 80px;
    gap: 12px;
  }
  .status__metric:nth-of-type(2),
  .status__metric:nth-of-type(3) { display: none; }
  .status__row--head .status__metric:nth-of-type(2),
  .status__row--head .status__metric:nth-of-type(3) { display: none; }
  .status__foot { grid-template-columns: 1fr; gap: 24px; }
  .status__head { grid-template-columns: 1fr; }
}

/* ================================================================
   Process
   ================================================================ */

.process {
  padding: clamp(80px, 12vw, 140px) 0;
}

.steps {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  padding: 40px 24px 40px 0;
  border-right: 1px solid var(--line);
  position: relative;
}

.step:last-child { border-right: 0; }

.step__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.step__title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.step__desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 32px 0;
  }
  .step:last-child { border-bottom: 0; }
}

/* ================================================================
   Pricing tiers
   ================================================================ */

.pricing {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tiers {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.tier {
  padding: 40px 28px 36px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.3s var(--ease);
  position: relative;
}

.tier:hover {
  background: var(--paper-3);
}

.tier:last-child { border-right: 0; padding-right: 0; }

.tier--featured {
  background: var(--paper);
}

.tier--featured::after {
  content: "Najpopularniejszy";
  position: absolute;
  top: -10px;
  left: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--paper);
  padding: 4px 10px;
  border-radius: 999px;
}

.tier__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.tier__name {
  font-family: var(--serif);
  font-weight: 350;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.tier__price {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: 4px;
}

.tier__price em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-left: 6px;
  vertical-align: 22px;
  font-weight: 400;
}

.tier__lede {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.tier__feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  flex: 1;
}

.tier__feats li {
  padding-left: 20px;
  position: relative;
}

.tier__feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}

.tier__cta {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.tier__cta:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.pricing__note {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  line-height: 1.7;
}

.pricing__note strong {
  color: var(--ink);
}

@media (max-width: 1100px) {
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .tier:nth-child(2) { border-right: 0; padding-right: 0; }
  .tier:nth-child(1), .tier:nth-child(2) {
    border-bottom: 1px solid var(--line);
    padding-bottom: 40px;
  }
  .tier:nth-child(3) { padding-top: 40px; }
  .tier:nth-child(4) { padding-top: 40px; padding-right: 0; }
}

@media (max-width: 720px) {
  .tiers { grid-template-columns: 1fr; }
  .tier {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 32px 0;
  }
  .tier:last-child { border-bottom: 0; }
}

/* ================================================================
   Tech stack
   ================================================================ */

.tech { padding: clamp(80px, 12vw, 140px) 0; }

.tech-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.tech-col {
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--line);
}

.tech-col:last-child { border-right: 0; }

.tech-col h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 500;
}

.tech-col ul { list-style: none; }

.tech-col li {
  font-family: var(--serif);
  font-weight: 350;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  padding: 5px 0;
  color: var(--ink);
}

@media (max-width: 900px) {
  .tech-col {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }
  .tech-col:last-child { border-bottom: 0; }
}

/* ================================================================
   Pull quote
   ================================================================ */

.pull {
  padding: clamp(80px, 14vw, 160px) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pull__text {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

.pull__text em {
  font-style: normal;
  color: var(--accent);
}

.pull__sig {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ================================================================
   CTA section
   ================================================================ */

.cta {
  padding: clamp(100px, 16vw, 180px) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(242, 238, 227, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 238, 227, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.cta__inner { position: relative; z-index: 2; }

.cta__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-3);
  margin-bottom: 32px;
}

.cta__eyebrow::before {
  content: "● ";
  color: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

.cta__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 16ch;
}

.cta__title em {
  font-style: italic;
  color: var(--accent);
}

.cta__foot {
  margin-top: clamp(48px, 8vw, 80px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding-top: 32px;
  border-top: 1px solid rgba(242, 238, 227, 0.2);
}

.cta__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta__contact a {
  font-family: var(--serif);
  font-weight: 350;
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  letter-spacing: -0.015em;
  transition: color 0.25s var(--ease);
}

.cta__contact a:hover { color: var(--accent); }

.cta__contact span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--paper-3);
  letter-spacing: 0.06em;
}

.cta .btn--primary {
  background: var(--paper);
  color: var(--ink);
}

.cta .btn--primary:hover {
  background: var(--accent);
  color: var(--paper);
}

@media (max-width: 820px) {
  .cta__foot { grid-template-columns: 1fr; gap: 32px; }
}

/* ================================================================
   Footer
   ================================================================ */

.foot {
  background: var(--ink);
  color: var(--paper);
  padding: 40px 0;
  border-top: 1px solid rgba(242, 238, 227, 0.1);
}

.foot__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--paper-3);
}

.foot a {
  color: var(--paper-3);
  transition: color 0.2s var(--ease);
}

.foot a:hover { color: var(--accent); }

.foot__sister {
  color: var(--accent);
}

/* ================================================================
   Page hero (subpages)
   ================================================================ */

.phero {
  padding: clamp(80px, 12vw, 140px) 0 clamp(48px, 8vw, 80px);
  border-bottom: 1px solid var(--line);
}

.phero__meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 32px;
}

.phero__meta::before {
  content: "● ";
  color: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

.phero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 9vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.phero__title em {
  font-style: italic;
  color: var(--accent);
}

.phero__lede {
  margin-top: 40px;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 60ch;
}

/* ================================================================
   Story (about) — first person
   ================================================================ */

.about-section { padding: clamp(80px, 12vw, 140px) 0; }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 8vw, 96px);
  align-items: start;
}

.story-grid h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.story-grid h2 em {
  font-style: italic;
  color: var(--accent);
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.story-text p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 60ch;
}

.story-text p:first-child {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.015em;
}

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Facts */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact {
  padding: 36px 24px 36px 0;
  border-right: 1px solid var(--line);
}

.fact:last-child { border-right: 0; }

.fact__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.fact__num em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
}

.fact__label {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 720px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
}

/* ================================================================
   Contact
   ================================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 96px);
  padding: clamp(60px, 10vw, 120px) 0;
}

.contact-block h3 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}

.contact-block .big {
  font-family: var(--serif);
  font-weight: 350;
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
  transition: color 0.25s var(--ease);
}

.contact-block .big:hover { color: var(--accent); }

.contact-block p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 8px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  outline: none;
  resize: none;
  transition: border-color 0.25s var(--ease);
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--ink);
}

.field textarea { min-height: 100px; line-height: 1.5; }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   Emergency banner (for contact page)
   ================================================================ */

.emerg {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  display: flex;
  gap: 18px;
  align-items: center;
}

.emerg__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--st-down);
  box-shadow: 0 0 12px var(--st-down);
  animation: pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

.emerg__text {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.emerg__text strong {
  color: var(--accent);
  font-weight: 500;
}

/* ================================================================
   Reveal
   ================================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__h1 .word { opacity: 1; transform: none; }
  .nav__pulse::after, .status__eyebrow .dot, .emerg__dot { animation: none; }
}
