/* ==========================================================================
   TJKLLC — Official Website for TJK LLC
   Editorial classical-meets-modern-tech aesthetic inspired by keeper.ai
   Zero build dependencies
   ========================================================================== */

:root {
  /* Core Palette (Deep Forest, Sunlit Linen, Espresso Umber, Sage & Terracotta) */
  --forest: #121d14;
  --forest-mid: #1a2a1d;
  --forest-deep: #0c140e;
  --umber: #4c2711;
  --umber-deep: #3d1f0d;

  --cream: #ede9e0;
  --cream-soft: #f4f0e8;
  --ivory: #fbf9f4;
  --white: #ffffff;

  --sage: #63794b;
  --sage-light: #89a071;
  --sage-line: rgba(137, 160, 113, 0.3);
  --sage-soft: rgba(99, 121, 75, 0.14);

  --terracotta: #b85d2b;
  --amber: #d48844;
  --terracotta-soft: rgba(184, 93, 43, 0.12);

  /* Ink */
  --ink: #161c17;
  --ink-secondary: #495047;
  --ink-muted: #767d73;
  --ink-on-dark: #f4f1ea;
  --ink-on-dark-soft: rgba(244, 241, 234, 0.72);
  --ink-on-dark-muted: rgba(244, 241, 234, 0.48);

  /* Borders */
  --border-light: rgba(22, 28, 23, 0.12);
  --border-light-strong: rgba(22, 28, 23, 0.24);
  --border-dark: rgba(244, 241, 234, 0.14);

  /* Typography */
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --max-w: 1200px;
  --radius-btn: 2px;
  --radius-sm: 6px;
  --radius-md: 10px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--forest);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.62;
  overflow-x: clip;
}

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

button,
input,
textarea {
  font-family: inherit;
}

img,
svg {
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: 32px;
}

/* Sunlit Plaster Texture Surface */
.linen-surface {
  position: relative;
  background-color: var(--cream);
  background-image:
    linear-gradient(
      128deg,
      rgba(255, 253, 248, 0.52) 0%,
      rgba(255, 253, 248, 0) 28%,
      rgba(255, 252, 244, 0.36) 52%,
      rgba(255, 252, 244, 0) 70%,
      rgba(18, 29, 20, 0.03) 100%
    );
}

/* Architectural Minimalist Frame */
.framed-dark {
  position: relative;
  background-color: var(--forest);
  color: var(--ink-on-dark);
}

.frame-border {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 10px;
  pointer-events: none;
  z-index: 2;
}

/* Editorial Buttons (Keeper-inspired crisp tracked rectangles)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.18s ease;
}

.btn-ivory {
  background-color: var(--ivory);
  color: var(--forest);
}

.btn-ivory:hover {
  background-color: #ffffff;
  transform: translateY(-1px);
}

.btn-forest {
  background-color: var(--forest);
  color: var(--ivory);
}

.btn-forest:hover {
  background-color: #1c2e20;
  transform: translateY(-1px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink-on-dark);
  border-color: rgba(244, 241, 234, 0.3);
}

.btn-outline-dark:hover {
  border-color: var(--ivory);
  background: rgba(244, 241, 234, 0.06);
}

.btn-full {
  width: 100%;
}

/* Navigation Header (Centered Editorial Wordmark + Quiet Mono Links)
   ========================================================================== */

.site-header {
  position: relative;
  z-index: 50;
  background-color: var(--forest);
  color: var(--ink-on-dark);
}

.site-header--sticky {
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.07);
  background-color: rgba(18, 29, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-wordmark {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  font-size: 25px;
  letter-spacing: 0.08em;
  color: var(--ivory);
  line-height: 1;
  text-align: center;
  justify-self: center;
}

.brand-wordmark span {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--sage-light);
  vertical-align: middle;
  margin-left: 6px;
}

.nav-mono {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.nav-mono a,
.header-left a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-on-dark-soft);
  transition: color 0.16s ease;
}

.nav-mono a:hover,
.header-left a:hover {
  color: var(--ivory);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--sage-line);
  border-radius: var(--radius-btn);
  color: var(--ivory);
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
}

/* Section 1: Iconic Framed Deep-Forest Hero with Overlapping Editorial Painting
   ========================================================================== */

.hero-stage {
  padding: 24px 0 0;
  background-color: var(--forest);
  position: relative;
  overflow: visible;
}

.hero-inner-frame {
  position: relative;
  z-index: 4;
  padding: 36px 0 44px;
}

.hero-composition {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 385px) minmax(0, 1fr);
  align-items: center;
  gap: 0;
  min-height: 510px;
}

.hero-title-left {
  position: relative;
  z-index: 9;
  text-align: right;
  padding-right: 18px;
  align-self: start;
  margin-top: 42px;
  margin-right: -34px;
}

.hero-title-right {
  position: relative;
  z-index: 9;
  text-align: left;
  padding-left: 18px;
  margin-left: -34px;
  align-self: center;
  padding-top: 84px;
}

.hero-display {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(54px, 6.4vw, 90px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ivory);
  text-shadow: 0 10px 32px rgba(10, 16, 11, 0.35);
}

.hero-display em {
  font-style: italic;
}

.hero-art-wrap {
  position: relative;
  z-index: 5;
  margin-bottom: -112px;
}

.hero-art-card {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #1b281d;
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.38);
}

.hero-art-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-sub-block {
  margin-top: 26px;
  margin-left: 56px;
  max-width: 310px;
}

.hero-sub-block p {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--ink-on-dark-soft);
}

/* Floating Micro Feature Strip Below Overlapping Portrait (Keeper-inspired) */
.hero-callout-wrap {
  position: relative;
  z-index: 6;
  padding-top: 112px;
  padding-bottom: 56px;
  display: flex;
  justify-content: center;
}

.hero-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 520px;
  background: var(--forest);
  color: var(--ivory);
  padding: 16px 20px;
  border: 1px solid rgba(137, 160, 113, 0.24);
  box-shadow: 0 16px 40px rgba(22, 28, 23, 0.14);
}

.hero-callout-text {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.35;
  color: #e6c289;
}

.hero-callout-text a {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-callout-pills {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 6px;
  flex-shrink: 0;
}

.callout-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 8px;
  background: rgba(99, 121, 75, 0.24);
  border: 1px solid rgba(137, 160, 113, 0.32);
  color: var(--ivory);
  text-align: center;
}

.callout-chip--accent {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--ivory);
}

/* Section 2: Sunlit Warm Linen Overview
   ========================================================================== */

.intro-section {
  padding: 156px 0 108px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 64px;
  align-items: center;
}

.editorial-h2 {
  margin: 0 0 32px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.editorial-h2--dark {
  color: var(--ivory);
}

.two-col-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 34px;
}

.note-kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 10px;
}

.note-col h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.note-col p {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
  color: var(--ink-secondary);
}

.overview-plate {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 52px rgba(22, 28, 23, 0.11);
}

.overview-plate img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Section 3: Warm Espresso Umber Standards & Ecosystem Strip
   ========================================================================== */

.umber-band {
  background-color: var(--umber);
  background-image: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(126, 68, 30, 0.45), transparent 72%);
  color: var(--ivory);
  padding: 68px 0 74px;
  text-align: center;
}

.umber-headline {
  margin: 0 0 26px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.015em;
  color: var(--ivory);
}

.umber-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: rgba(246, 243, 236, 0.72);
}

.umber-divider::before,
.umber-divider::after {
  content: '';
  width: 72px;
  height: 1px;
  background: rgba(246, 243, 236, 0.25);
}

.standards-wall {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 44px;
}

.standard-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.standard-mark strong {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ivory);
}

.standard-mark span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.6);
}

/* Section 4: Iconic 50/50 Editorial Checkerboard Mosaic
   ========================================================================== */

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mosaic-cell {
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.mosaic-cell--photo {
  padding: 0;
  background: #8a9ea8;
}

.mosaic-cell--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-cell--dark {
  background-color: var(--forest);
  color: var(--ivory);
  padding: 72px 64px;
  text-align: center;
}

.mosaic-statement {
  max-width: 440px;
}

.mosaic-amber {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--amber);
  margin: 0 0 14px;
}

.mosaic-big-serif {
  margin: 0 0 32px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: rgba(244, 241, 234, 0.62);
}

.mosaic-big-serif strong {
  font-weight: 400;
  color: var(--ivory);
}

.mosaic-cell--linen {
  background-color: var(--cream);
  padding: 72px 64px;
}

.mosaic-content {
  width: 100%;
  max-width: 500px;
}

.pillars-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin-bottom: 36px;
}

.pillar-mini h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-mini p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--ink-secondary);
}

/* Flagship Product Editorial Panel (Bottom-right of 2x2 Mosaic) */
.mosaic-cell--flagship {
  background:
    radial-gradient(85% 75% at 75% 20%, rgba(99, 121, 75, 0.36) 0%, transparent 65%),
    linear-gradient(155deg, #1b2a1d 0%, #101911 100%);
  padding: 64px 56px;
  color: var(--ivory);
}

.flagship-editorial-card {
  width: 100%;
  max-width: 480px;
  background: var(--ivory);
  color: var(--ink);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.42);
}

.flagship-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.flagship-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.flagship-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
}

.flagship-domain {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.flagship-editorial-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.flagship-editorial-card > p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.chapterfy-preview {
  background: var(--cream-soft);
  border: 1px solid var(--border-light);
  padding: 14px;
  margin-bottom: 22px;
  display: grid;
  gap: 10px;
}

.cp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(22, 28, 23, 0.08);
}

.cp-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.cp-row strong {
  font-weight: 600;
  color: var(--ink);
}

.cp-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage);
}

.cp-tag--warm {
  background: var(--terracotta-soft);
  color: var(--terracotta);
}

/* Section 5: Interactive System Architecture Matrix
   (Directly inspired by keeper.ai's iconic connected-line comparison graphic!)
   ========================================================================== */

.architecture-section {
  background-color: var(--forest);
  color: var(--ivory);
  padding: 108px 0 96px;
}

.arch-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 54px;
}

.arch-header .note-kicker {
  color: var(--sage-light);
}

.arch-header .editorial-h2 {
  color: var(--ivory);
  margin-bottom: 14px;
}

.arch-header p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-on-dark-soft);
}

.matrix-stage {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: stretch;
}

.matrix-side-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--sage-line);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.side-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 10px;
}

.matrix-side-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.18;
  color: var(--ivory);
}

.matrix-side-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
  color: var(--ink-on-dark-soft);
}

.side-meta-block {
  padding-top: 18px;
  border-top: 1px solid var(--border-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-on-dark-muted);
  display: grid;
  gap: 6px;
}

.side-meta-block strong {
  color: var(--ivory);
  font-weight: 500;
}

/* Center Crisp Ivory Connected Matrix (Exact Keeper visual magic) */
.matrix-card {
  background: var(--ivory);
  color: var(--ink);
  padding: 32px 30px 26px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.42);
}

.matrix-group-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.matrix-group-head h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
}

.matrix-group-head h4:last-child {
  text-align: right;
}

.matrix-rows {
  display: grid;
  gap: 6px;
  margin-bottom: 24px;
}

.matrix-rows:last-of-type {
  margin-bottom: 0;
}

.m-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.m-row:hover,
.m-row.is-active {
  background-color: rgba(99, 121, 75, 0.09);
}

.m-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.m-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-size: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.m-dot--warm {
  background: var(--terracotta);
}

.m-connector {
  position: relative;
  height: 2px;
  background: rgba(99, 121, 75, 0.35);
}

.m-connector::before,
.m-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
}

.m-connector::before { left: 0; }
.m-connector::after { right: 0; }

.m-row--warm .m-connector {
  background: rgba(184, 93, 43, 0.45);
}

.m-row--warm .m-connector::before,
.m-row--warm .m-connector::after {
  background: var(--terracotta);
}

.m-row.is-active .m-connector {
  background: var(--sage);
  height: 2.5px;
}

.m-row--warm.is-active .m-connector {
  background: var(--terracotta);
}

.m-right {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-secondary);
  padding: 4px 9px;
  border-radius: 3px;
  background: rgba(22, 28, 23, 0.045);
  justify-self: end;
}

.m-row--warm .m-right {
  background: var(--terracotta-soft);
  color: #8f3f16;
}

.matrix-status-bar {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.matrix-status-bar strong {
  color: var(--sage);
  font-weight: 500;
}

/* Section 6: "How our products work" Editorial Step Cards on Deep Forest
   (Directly inspired by keeper.ai's "What to expect" horizontal cards!)
   ========================================================================== */

.steps-section {
  background-color: var(--forest);
  color: var(--ivory);
  padding: 20px 0 112px;
}

.steps-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.steps-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 38px);
  color: var(--ivory);
}

.steps-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--sage-line);
  background: transparent;
  color: var(--ivory);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.step-arrow:hover {
  background: rgba(244, 241, 234, 0.08);
  border-color: var(--ivory);
}

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

.step-card {
  background: var(--ivory);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.22s ease;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-visual {
  height: 214px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.step-visual--sky {
  background: linear-gradient(160deg, #9fb2be 0%, #c8d2d3 52%, #e6dfd5 100%);
}

.step-visual--sage {
  background: linear-gradient(160deg, #7f948c 0%, #b9c5bc 55%, #e3dfd4 100%);
}

.step-visual--slate {
  background: linear-gradient(160deg, #5f7a8b 0%, #8ea4b0 55%, #cfd7d8 100%);
}

.step-visual--warm {
  background: linear-gradient(160deg, #bfa68f 0%, #d8c7b4 52%, #ede5d8 100%);
}

.ui-float {
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: 7px;
  padding: 14px;
  box-shadow: 0 14px 32px rgba(18, 29, 20, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.ui-float-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.ui-float-head span:last-child {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--sage);
}

.ui-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.ui-pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--cream);
  color: var(--ink-secondary);
}

.ui-pill--active {
  background: var(--forest);
  color: var(--ivory);
}

.ui-bar-row {
  display: grid;
  gap: 6px;
}

.ui-mini-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--ink-secondary);
  padding: 5px 7px;
  background: var(--cream-soft);
  border-radius: 4px;
}

.ui-mini-line strong {
  color: var(--sage);
  font-family: var(--font-mono);
  font-size: 10px;
}

.step-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.step-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.step-body h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-muted);
}

.step-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.56;
  color: var(--ink-secondary);
}

/* Section 7: Sunlit Cloudscape Editorial Quote Band
   ========================================================================== */

.clouds-band {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 84px 24px;
  overflow: hidden;
  background-color: #c9d2d8;
}

.clouds-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.clouds-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 60% at 50% 50%, rgba(251, 249, 244, 0.42) 0%, rgba(18, 29, 20, 0.14) 100%);
  z-index: 2;
}

.clouds-quote {
  position: relative;
  z-index: 3;
  max-width: 920px;
}

.clouds-quote blockquote {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #5b2812;
  text-shadow: 0 2px 24px rgba(255, 250, 242, 0.75);
}

.clouds-quote cite {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3f2010;
}

/* Section 8: Contact & Official Corporate Standing (Meta Verification Ready)
   ========================================================================== */

.contact-section {
  padding: 100px 0 108px;
}

.contact-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.contact-head p {
  margin: 0;
  max-width: 420px;
  font-size: 15px;
  color: var(--ink-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 28px;
  align-items: stretch;
}

.contact-panel {
  background: var(--ivory);
  border: 1px solid rgba(22, 28, 23, 0.08);
  border-radius: 8px;
  padding: 40px;
}

.contact-panel h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.contact-panel > p {
  margin: 0 0 24px;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

.email-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  background: var(--cream-soft);
  border: 1px solid rgba(22, 28, 23, 0.08);
  border-radius: 4px;
  margin-bottom: 24px;
}

.email-box a {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--forest);
}

.copy-btn {
  border: 1px solid rgba(22, 28, 23, 0.16);
  border-radius: 3px;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.copy-btn:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--ivory);
}

.copy-btn.copied {
  border-color: var(--sage);
  background: var(--sage);
  color: var(--ivory);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

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

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--cream-soft);
  border: 1px solid rgba(22, 28, 23, 0.1);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--sage);
  background: #ffffff;
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-muted);
}

/* Official Corporate Record Panel (Deep Forest) */
.legal-box {
  position: relative;
  background: var(--forest);
  color: var(--ivory);
  padding: 40px;
  border: 1px solid rgba(244, 241, 234, 0.08);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.legal-kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin: 0;
}

.pill-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b7d29d;
  background: rgba(99, 121, 75, 0.18);
  border: 1px solid rgba(137, 160, 113, 0.25);
  border-radius: 999px;
  padding: 4px 11px;
}

.pill-verified::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage-light);
}

.legal-box h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 28px;
  color: var(--ivory);
}

.legal-box > div > p {
  margin: 0 0 24px;
  font-size: 14.5px;
  color: var(--ink-on-dark-soft);
}

.legal-specs {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(244, 241, 234, 0.09);
}

.legal-specs li,
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.09);
  font-size: 13.5px;
}

.legal-specs .k,
.spec-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-on-dark-muted);
  flex-shrink: 0;
}

.legal-specs .v,
.spec-val {
  text-align: right;
  color: var(--ivory);
  font-weight: 500;
  word-break: break-word;
}

.legal-specs .v a,
.spec-val a {
  color: #e6c289;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-link-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: 4px;
  color: var(--ivory);
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.legal-link-pill:hover {
  border-color: var(--ivory);
  background: rgba(244, 241, 234, 0.08);
}

/* Section 9: Framed Deep-Forest Closing Band & Footer
   ========================================================================== */

.closing-band {
  padding: 108px 0 88px;
  text-align: center;
}

.closing-inner {
  position: relative;
  z-index: 4;
  max-width: 680px;
  margin: 0 auto;
}

.closing-mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: rgba(244, 241, 234, 0.8);
  margin-bottom: 18px;
}

.closing-headline {
  margin: 0 0 32px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ivory);
}

.site-footer {
  background-color: var(--forest-deep);
  color: var(--ink-on-dark-muted);
  padding: 36px 0 44px;
  border-top: 1px solid rgba(244, 241, 234, 0.08);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-copy {
  font-size: 13px;
}

.footer-copy strong {
  color: var(--ivory);
  font-weight: 500;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav a {
  color: var(--ink-on-dark-soft);
  transition: color 0.16s ease;
}

.footer-nav a:hover {
  color: var(--ivory);
}

/* Legal Pages (privacy.html, terms.html)
   ========================================================================== */

.legal-page {
  padding: 72px 0 96px;
}

.legal-doc {
  max-width: 780px;
  margin: 0 auto;
  background: var(--ivory);
  border: 1px solid rgba(22, 28, 23, 0.08);
  border-radius: 8px;
  padding: 52px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 24px;
}

.back-link:hover {
  color: var(--forest);
}

.legal-doc h1 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin: 0 0 36px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-light);
}

.legal-doc h2 {
  margin: 34px 0 10px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 23px;
  color: var(--ink);
}

.legal-doc p,
.legal-doc li {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.74;
}

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

.legal-doc a:not(.back-link) {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Smooth Reveal (non-blocking) */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}

/* Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1060px) {
  .hero-composition {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    min-height: 0;
    text-align: center;
  }

  .hero-title-left,
  .hero-title-right {
    text-align: center;
    margin: 0;
    padding: 0;
  }

  .hero-art-wrap {
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-sub-block {
    margin: 18px auto 0;
    text-align: center;
  }

  .hero-inner-frame {
    padding: 32px 0 72px;
  }

  .intro-section {
    padding: 64px 0 72px;
  }

  .intro-grid,
  .mosaic-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .matrix-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    padding-inline: 20px;
  }

  .frame-border {
    inset: 12px;
    border-radius: 8px;
  }

  .header-inner {
    height: 70px;
    grid-template-columns: auto 1fr auto;
  }

  .header-left,
  .nav-mono a {
    display: none;
  }

  .brand-wordmark {
    justify-self: start;
    font-size: 26px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header.menu-open .mobile-drawer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 24px 24px;
    background: var(--forest-deep);
    border-top: 1px solid var(--sage-line);
    border-bottom: 1px solid var(--sage-line);
  }

  .mobile-drawer a {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ivory);
  }

  .two-col-notes,
  .pillars-2x2,
  .steps-grid,
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .mosaic-cell {
    min-height: 0;
  }

  .mosaic-cell--dark,
  .mosaic-cell--linen,
  .mosaic-cell--flagship {
    padding: 48px 22px;
  }

  .matrix-card,
  .contact-panel,
  .legal-box,
  .legal-doc {
    padding: 24px 20px;
  }

  .m-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 10px;
    border-bottom: 1px solid rgba(22, 28, 23, 0.08);
  }

  .m-connector {
    display: none;
  }

  .m-right {
    justify-self: start;
    text-align: left;
  }

  .contact-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-specs li,
  .spec-row {
    flex-direction: column;
    gap: 3px;
  }

  .legal-specs .v,
  .spec-val {
    text-align: left;
  }
}
