/*
Theme Name: Tokenize The Future
Theme URI: https://tokenizethefuture.com
Author: Tokenize The Future
Author URI: https://tokenizethefuture.com
Description: A modern Web3 growth agency theme for Tokenize The Future.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: tokenize-the-future
*/

:root {
  color-scheme: light;
  --ink: #111513;
  --ink-soft: #44504b;
  --paper: #f8faf7;
  --paper-strong: #ffffff;
  --line: #dfe7e2;
  --graphite: #0b100e;
  --graphite-soft: #18201d;
  --teal: #22c7b8;
  --teal-dark: #0f8f85;
  --brass: #b59a58;
  --red: #e74b3c;
  --shadow: 0 24px 70px rgba(12, 18, 16, 0.14);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 30;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--paper-strong);
  color: var(--ink);
  padding: 10px 14px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(20px, 4vw, 48px);
  color: #fff;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    min-height 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open,
.site-header--solid {
  min-height: 68px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 14, 12, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 760;
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(34, 199, 184, 0.95), rgba(255, 255, 255, 0.96));
  color: #07100e;
  font-size: 0.78rem;
  font-weight: 900;
}

.site-footer .brand-mark {
  border-color: var(--line);
  background: var(--graphite);
  color: #fff;
}

.site-nav a {
  border-radius: 6px;
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.header-cta {
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #fff;
  color: var(--graphite);
  padding: 11px 16px;
  font-weight: 720;
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-toggle__line,
.nav-toggle__line::before,
.nav-toggle__line::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.nav-toggle__line {
  position: relative;
  margin: auto;
}

.nav-toggle__line::before,
.nav-toggle__line::after {
  position: absolute;
  left: 0;
}

.nav-toggle__line::before {
  top: -6px;
}

.nav-toggle__line::after {
  top: 6px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--graphite);
  padding: 150px 0 58px;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 10, 0.94) 0%, rgba(7, 11, 10, 0.78) 38%, rgba(7, 11, 10, 0.32) 74%),
    linear-gradient(0deg, rgba(7, 11, 10, 0.84) 0%, rgba(7, 11, 10, 0.16) 50%, rgba(7, 11, 10, 0.62) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 820;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
  line-height: 1.2;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero__actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 760;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  border: 1px solid var(--teal);
  background: var(--teal);
  color: #07100e;
}

.button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button--fit {
  justify-self: end;
  width: auto;
  min-width: 190px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 860px;
  margin-top: 70px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.trust-strip div {
  min-height: 108px;
  padding: 22px;
  background: rgba(7, 11, 10, 0.58);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 1.48rem;
  line-height: 1.1;
}

.trust-strip span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.94rem;
}

.section {
  scroll-margin-top: 88px;
  padding: clamp(78px, 9vw, 132px) 0;
}

.section--intro {
  padding: clamp(64px, 7vw, 96px) 0;
  background: var(--paper-strong);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 7vw, 92px);
  align-items: end;
}

.intro-grid p:last-child {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.text-link {
  justify-self: end;
  border-bottom: 1px solid currentColor;
  color: var(--teal-dark);
  font-weight: 780;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  padding: 26px;
  box-shadow: 0 14px 40px rgba(17, 21, 19, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 199, 184, 0.45);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border: 1px solid rgba(34, 199, 184, 0.35);
  border-radius: 8px;
  background: #edf9f6;
  color: var(--teal-dark);
  font-weight: 820;
}

.service-card p,
.case-card p,
.method-list p,
.cta-panel p,
.site-footer p {
  color: var(--ink-soft);
}

.section--dark {
  background: var(--graphite);
  color: #fff;
}

.method-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(34px, 8vw, 110px);
}

.section-heading--sticky {
  position: sticky;
  top: 108px;
  align-self: start;
}

.method-list {
  display: grid;
  gap: 14px;
}

.method-list article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 26px;
}

.method-list span {
  color: var(--brass);
  font-weight: 820;
}

.method-list h3 {
  color: #fff;
}

.method-list p {
  color: rgba(255, 255, 255, 0.68);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  display: grid;
  align-content: start;
  min-height: 410px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  padding: 26px;
}

.case-card img,
.case-card__wordmark {
  width: 100%;
  height: 82px;
  margin-bottom: 30px;
}

.case-card img {
  object-fit: contain;
  object-position: left center;
}

.case-card__wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 8px;
  background: var(--graphite);
  padding: 16px 18px;
}

.case-card__wordmark span {
  color: #fff;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
}

.case-card__wordmark small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 760;
}

.case-card__kicker {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 820;
  text-transform: uppercase;
}

.section--insights-preview {
  background: var(--paper-strong);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.insight-grid--preview {
  align-items: stretch;
}

.insight-card {
  display: grid;
  align-content: start;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  padding: 28px;
  box-shadow: 0 14px 40px rgba(17, 21, 19, 0.05);
}

.insight-card--featured {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(34, 199, 184, 0.08), rgba(181, 154, 88, 0.08)),
    var(--paper-strong);
}

.article-meta {
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 820;
  text-transform: uppercase;
}

.insight-card h3 {
  max-width: 620px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.insight-card p:not(.article-meta) {
  color: var(--ink-soft);
}

.page-body {
  background: var(--paper);
}

.page-hero {
  padding: 160px 0 84px;
  background:
    linear-gradient(135deg, rgba(34, 199, 184, 0.1), rgba(181, 154, 88, 0.08)),
    var(--graphite);
  color: #fff;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: clamp(30px, 7vw, 96px);
  align-items: end;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.page-hero p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.12rem;
}

.section--insights-list {
  background: var(--paper);
}

.article-content {
  max-width: 820px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--ink);
  line-height: 1.12;
}

.article-content a {
  color: var(--teal-dark);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content img {
  height: auto;
  border-radius: 8px;
}

.section--cta {
  background: #eef6f3;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  border-radius: 8px;
  background: var(--graphite);
  color: #fff;
  padding: clamp(32px, 6vw, 72px);
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  max-width: 840px;
}

.cta-panel p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-strong);
  padding: 28px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-grid p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-meta {
  text-align: right;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .site-header.menu-open .site-nav {
    position: fixed;
    inset: 76px 20px auto;
    display: grid;
    justify-self: stretch;
    gap: 4px;
    border-radius: 8px;
    background: rgba(9, 14, 12, 0.96);
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .site-nav a {
    padding: 14px;
  }

  .intro-grid,
  .method-layout,
  .split-heading,
  .page-hero__grid,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .text-link {
    justify-self: start;
  }

  .button--fit {
    justify-self: start;
  }

  .section-heading--sticky {
    position: static;
  }

  .service-grid,
  .case-grid,
  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insight-card--featured {
    grid-column: span 2;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    min-height: 66px;
    padding-inline: 14px;
  }

  .brand span {
    max-width: 150px;
    line-height: 1.1;
  }

  .hero {
    min-height: 760px;
    padding: 126px 0 34px;
  }

  .hero__image {
    object-position: 70% center;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(7, 11, 10, 0.94) 0%, rgba(7, 11, 10, 0.8) 62%, rgba(7, 11, 10, 0.5) 100%),
      linear-gradient(0deg, rgba(7, 11, 10, 0.9) 0%, rgba(7, 11, 10, 0.2) 50%, rgba(7, 11, 10, 0.68) 100%);
  }

  h1 {
    font-size: 3.4rem;
  }

  .hero__actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .button--fit {
    width: 100%;
  }

  .trust-strip,
  .service-grid,
  .case-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 122px 0 64px;
  }

  .page-hero h1 {
    font-size: 3rem;
  }

  .trust-strip {
    margin-top: 42px;
  }

  .trust-strip div {
    min-height: 88px;
  }

  .section {
    padding: 68px 0;
  }

  .service-card,
  .case-card,
  .insight-card {
    min-height: auto;
  }

  .insight-card--featured {
    grid-column: auto;
  }

  .method-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
