﻿/* ═══════════════════════════════════════════════
   FONTS
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Work+Sans:wght@300;400;500;600;700&display=swap');

/* ═══════════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════════ */
:root {
  --bg:           #0D0D0B;
  --bg-card:      #141410;
  --border:       #2A2A25;
  --text:         #EDE8DF;
  --muted:        #8A8578;
  --copper:       #C4955A;
  --copper-hover: #D4A96A;
  --font-display: 'Fraunces', serif;
  --font-body:    'Work Sans', sans-serif;
}

/* ═══════════════════════════════════════════════
   RESET / BASE
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; }

.root { min-height: 100vh; }

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  background: transparent;
  border-bottom: 1px solid transparent;
}

#site-header.scrolled {
  background: rgba(13,13,11,.96);
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo-name {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1;
}
.logo-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--copper);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-item {
  position: relative;
  z-index: 2;
}
.nav-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text); opacity: .85;
  display: flex; align-items: center; gap: 6px;
  transition: opacity .2s;
  position: relative;
  z-index: 2;
}
.nav-btn a,
.nav-anchor {
  color: inherit;
  text-decoration: none;
}
.nav-btn:hover { opacity: 1; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 2px); left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  min-width: 220px;
  padding: 8px 0;
  z-index: 10;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { display: block; }
.dropdown-link {
  display: block;
  padding: 10px 24px;
  font-size: 12px; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color .15s;
}
.dropdown-link:hover { color: var(--copper); }
.lang-btn {
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: .1em;
  color: var(--muted);
  padding: 5px 12px;
  transition: border-color .2s, color .2s;
}
.lang-btn:hover { border-color: var(--copper); color: var(--copper); }
.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; color: var(--text); padding: 8px;
}
.mobile-menu {
  display: none;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 24px 40px 32px;
}
.mobile-menu.open { display: block; }
.mobile-menu > a,
.mobile-nav-group {
  display: block;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a,
.mobile-toggle {
  display: block;
  padding: 14px 0;
  font-size: 14px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
}
.mobile-toggle {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Work Sans', sans-serif;
  cursor: pointer;
}
.mobile-toggle svg {
  transition: transform .2s ease;
  color: var(--muted);
}
.mobile-nav-group.open .mobile-toggle svg {
  transform: rotate(180deg);
}
.mobile-submenu {
  display: none;
  padding: 0 0 10px;
}
.mobile-nav-group.open .mobile-submenu {
  display: block;
}
.mobile-submenu a {
  padding: 10px 0 10px 18px;
  color: var(--muted);
  letter-spacing: .08em;
  border-bottom: none;
}
.mobile-submenu a:last-child {
  padding-bottom: 14px;
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #141410;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  filter: contrast(1.15) brightness(.9);
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    #0D0D0B 20%,
    rgba(13,13,11,.3) 65%,
    rgba(13,13,11,.55) 100%
  );
}

.hero-side-label {
  position: absolute;
  top: 140px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero-line {
  width: 1px;
  height: 80px;
  background: var(--border);
}
.hero-side-label span {
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════
   MAIN CONTENT
═══════════════════════════════════════════════ */
.main-content {
  position: relative;
  z-index: 2;
  margin: -120px auto 0;
  padding: 0 60px;
}

.content-col {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--text);
  margin: 0 0 36px;
  max-width: 800px;
}
.title-sub {
  display: block;
  font-style: italic;
  color: var(--copper);
}

.summary-label {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 24px;
}

/* ── Text blocks ── */
.text-blocks {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--copper);
  padding-top: 28px;
}

.block-1 {
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}
.block-1 p {
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 24px;
  text-align: justify;
}
.block-1 .p-lead {
  font-size: 24px;
  margin-bottom: 32px;
}

.block-2 {
  padding: 40px 0;
}
.block-2 h3 {
  font-family: var(--font-body);
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0 0 32px;
}
.block-2 p {
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 32px;
  text-align: justify;
}
.block-2 .p-light { font-weight: 300; }

/* ── Tags ── */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
}
.tag {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 16px;
  cursor: default;
  transition: border-color .2s, color .2s;
}
.tag:hover {
  border-color: var(--copper);
  color: var(--copper);
}

/* ═══════════════════════════════════════════════
   TOOLS STRIP
═══════════════════════════════════════════════ */
.tools-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 60px;
}
.tools-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.tool-item {
  padding: 36px 0;
  text-align: center;
}
.tool-mid,
.tool-last {
  padding-left: 40px;
}
.tool-mid {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.tool-name {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.tool-desc {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text);
}

/* ═══════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════ */
.cta-block {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 50px 0;
  padding: 80px 40px;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
  background-color: black;
  color: #ffffff;
  overflow: hidden;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

.footer-rule {
  height: 1px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transform-origin: left;
  animation: footer-grow 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes footer-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.footer-inner {
  max-width: 80rem;       
  margin: 0 auto;
  padding: 4rem 1.5rem;   
}


.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}


.footer-logo {
  height: 5.0rem;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: invert(1);
  mix-blend-mode: screen;
}

.footer-brand-text {
  color: snow;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 20rem;
}


.footer-heading {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.750rem;      
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: snow;
  margin: 0 0 1.25rem 0;
}

.footer-link,
.footer-text {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.90rem;         
  margin: 0 0 0.75rem 0;
  line-height: 1.5;
}

.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  letter-spacing: 0.025em;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-text {
  color: snow;
}

.footer-text a {
  color: inherit;
  text-decoration: none;
}

.footer-text a:hover {
  color: #ffffff;
}

.footer-text--muted {
  color: rgba(255, 255, 255, 0.3);
}


.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: snow;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social-link:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Bottom bar ===== */
.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-text {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.5625rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.2);
}

/* ===== Responsive: tablet (≤1024px) → 2 columns ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .footer-inner {
    padding: 3.5rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}


@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-inner {
    padding: 3rem 1.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 3rem;
    gap: 0.75rem;
  }

  .footer-logo {
    height: 2.75rem;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .main-content { margin: 0 auto; padding: 0 60px; }
}

@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .hamburger   { display: block; }
  .main-content { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
}

@media (max-width: 640px) {
  .hero { min-height: 40vh; }
  .hero-side-label { display: none; }
  .tools-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
  .tool-item,
  .tool-mid,
  .tool-last {
    min-width: 0;
    padding: 24px 12px;
  }
  .tool-mid {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .tool-desc {
    line-height: 1.5;
    letter-spacing: .08em;
    overflow-wrap: anywhere;
  }
  .cta-heading { padding: 40px 0; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}





