/* xyrya.css — v3 · network platform */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,200;0,9..144,300;0,9..144,400;1,9..144,200;1,9..144,300;1,9..144,400&family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@300;400&display=swap');

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

:root {
  /* core */
  --ink:        #111316;
  --ink-mid:    #4a4d52;
  --ink-soft:   #8a8d93;
  --cream:      #f8f6f2;
  --warm:       #f0ede7;
  --rule:       #e2ddd6;
  --rule-dark:  rgba(255,255,255,0.1);
  --white:      #ffffff;

  /* accent */
  --teal:       #00a896;
  --teal-dim:   rgba(0,168,150,0.12);
  --teal-glow:  rgba(0,168,150,0.25);

  /* dark surfaces */
  --dark:       #0d1117;
  --dark-2:     #161b22;
  --dark-3:     #1c2330;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: rgba(13,17,23,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule-dark);
  transition: background 0.3s;
}

nav.light {
  background: rgba(248,246,242,0.97);
  border-bottom: 1px solid var(--rule);
}

.logo {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  color: var(--white);
  letter-spacing: 0.01em;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
  transition: color 0.3s;
}

nav.light .logo { color: var(--ink); }

.logo-rule {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--teal);
  margin-top: 4px;
}

.logo-sub {
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  text-transform: lowercase;
  margin-top: 3px;
  transition: color 0.3s;
}

nav.light .logo-sub { color: var(--ink-soft); }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}

nav.light .nav-links a { color: var(--ink-mid); }

.nav-links a:hover { color: var(--white); }
nav.light .nav-links a:hover { color: var(--ink); }

.nav-links a.active { color: var(--teal); }

.nav-cta {
  color: var(--teal) !important;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 1px;
  font-weight: 500 !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--white);
  transition: background 0.3s;
}

nav.light .hamburger span { background: var(--ink); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--dark);
  border-bottom: 1px solid var(--rule-dark);
  padding: 16px 6%;
  flex-direction: column;
  z-index: 99;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-dark);
  font-weight: 300;
}

.mobile-menu a:last-child { color: var(--teal); border: none; font-weight: 500; }

/* ── page hero — inner pages ── */
.page-hero {
  padding: 128px 6% 80px;
  background: var(--dark);
  border-bottom: 1px solid var(--rule-dark);
}

.page-hero-inner { max-width: 1060px; margin: 0 auto; }

/* ── section base ── */
.section { padding: 96px 6%; }
.section-inner { max-width: 1060px; margin: 0 auto; }

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  text-transform: lowercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--rule);
}

.section-label.light { color: rgba(255,255,255,0.55); }
.section-label.light::before { background: rgba(255,255,255,0.15); }
.section-label.teal { color: var(--teal); }
.section-label.teal::before { background: var(--teal-dim); }

.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-title.on-dark { color: var(--white); }
.section-title em { font-style: italic; color: var(--teal); }

.section-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-mid);
  font-weight: 300;
  max-width: 520px;
}

.section-body.on-dark { color: rgba(255,255,255,0.72); }

/* ── buttons ── */
.btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 2px;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.6; }

.btn.on-dark {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.35);
}

.btn.on-dark:hover { color: var(--white); border-color: var(--white); opacity: 1; }

.btn-solid {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  background: var(--teal);
  text-decoration: none;
  padding: 14px 32px;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-solid:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  color: var(--white);
  background: transparent;
  text-decoration: none;
  padding: 13px 32px;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
}

.btn-outline:hover { border-color: var(--white); }

/* ── cta strip ── */
.cta-strip {
  background: var(--dark-2);
  padding: 88px 6%;
  text-align: center;
  border-top: 1px solid var(--rule-dark);
}

.cta-strip-inner { max-width: 600px; margin: 0 auto; }

.cta-strip h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.cta-strip p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 32px;
}

.cta-note {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  margin-top: 16px;
}

/* ── dark section ── */
.dark-section { background: var(--dark); }
.dark-section-2 { background: var(--dark-2); }
.dark-section-3 { background: var(--dark-3); }

/* ── resp table ── */
.resp-table { width: 100%; border-collapse: collapse; }

.resp-table thead th {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: rgba(255,255,255,0.55);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--rule-dark);
}

.resp-table thead th:first-child { padding-left: 0; }

.resp-table td {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  padding: 14px 14px;
  border-bottom: 1px solid var(--rule-dark);
  vertical-align: middle;
}

.resp-table td:first-child { padding-left: 0; color: rgba(255,255,255,0.92); font-weight: 400; }
.check-mark { color: var(--teal); font-size: 16px; }
.dash-mark  { color: rgba(255,255,255,0.2); font-size: 18px; }

/* ── footer ── */
footer {
  background: var(--dark);
  padding: 60px 6% 36px;
  border-top: 1px solid var(--rule-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule-dark);
  margin-bottom: 28px;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.footer-logo-rule {
  display: block;
  width: 28px; height: 1.5px;
  background: var(--teal);
  margin-top: 4px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  max-width: 240px;
  margin-bottom: 16px;
}

.footer-address {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.9;
  letter-spacing: 0.03em;
}

.footer-address a { color: var(--teal); text-decoration: none; }

.footer-col-title {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.03em;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ── responsive ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .section { padding: 64px 5%; }
  .page-hero { padding: 100px 5% 60px; }
}
