/* ============================================================
   TekTimes LLC — styles.css
   Executive, restrained. Deep navy + burnished bronze accent.
   Display type: Fraunces. Body type: Instrument Sans.
   ============================================================ */

:root {
  /* palette */
  --navy-950: #060d1a;
  --navy-900: #0a1628;
  --navy-800: #10203a;
  --navy-700: #1a2f4f;
  --ink: #1b2432;
  --ink-soft: #4a5568;
  --paper: #faf7f2;
  --paper-alt: #f2ede4;
  --white: #ffffff;
  --bronze: #c08a3e;
  --bronze-bright: #d9a44f;
  --bronze-soft: rgba(192, 138, 62, 0.14);
  --line-light: rgba(27, 36, 50, 0.12);
  --line-dark: rgba(250, 247, 242, 0.14);

  /* type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;

  /* rhythm */
  --container: 1160px;
  --section-pad: clamp(4.5rem, 9vw, 7.5rem);
  --radius: 6px;

  --header-h: 72px;
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--bronze);
  color: var(--navy-950);
  padding: 0.6rem 1rem;
  z-index: 200;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

/* ---------- shared text styles ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.1rem;
}

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  max-width: 22ch;
}

.section-intro {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 58ch;
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}

.subsection-title {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 1.6rem;
}

.section-dark .section-intro { color: rgba(250, 247, 242, 0.72); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease,
              border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-accent {
  background: var(--bronze);
  color: var(--navy-950);
  box-shadow: 0 4px 18px rgba(192, 138, 62, 0.28);
}
.btn-accent:hover {
  background: var(--bronze-bright);
  box-shadow: 0 8px 26px rgba(192, 138, 62, 0.38);
}

.btn-ghost {
  border-color: var(--line-dark);
  color: var(--paper);
}
.btn-ghost:hover {
  border-color: var(--bronze);
  color: var(--bronze-bright);
}

.btn-small { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-large { padding: 1.05rem 2.2rem; font-size: 1.05rem; }

.text-link {
  color: var(--bronze);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(192, 138, 62, 0.4);
  padding-bottom: 1px;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.text-link:hover {
  color: var(--bronze-bright);
  border-bottom-color: var(--bronze-bright);
}

.link-sep { color: var(--line-light); margin: 0 0.65rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-dark);
  box-shadow: 0 8px 30px rgba(6, 13, 26, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark { width: 34px; height: 34px; }
.mark-bg { fill: var(--bronze); }
.mark-glyph { fill: var(--navy-950); }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--paper);
  letter-spacing: 0.01em;
}

.site-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.9rem);
}
.nav-list a:not(.btn) {
  color: rgba(250, 247, 242, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.18s ease;
}
.nav-list a:not(.btn):hover { color: var(--bronze-bright); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.6rem;
  flex-direction: column;
  gap: 6px;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--paper);
  transition: transform 0.25s ease;
}
.nav-toggle.is-open .nav-toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:last-child { transform: translateY(-4px) rotate(-45deg); }

/* language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(250, 247, 242, 0.55);
  padding: 0.35rem 0.3rem;
  transition: color 0.18s ease;
}
.lang-btn:hover { color: var(--bronze-bright); }
.lang-btn.is-active { color: var(--bronze); }
.lang-sep { color: rgba(250, 247, 242, 0.25); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--paper);
  padding: clamp(6rem, 13vw, 10.5rem) 0 clamp(5rem, 11vw, 8.5rem);
  overflow: hidden;
}
.hero::before {
  /* faint grid texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(250, 247, 242, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 247, 242, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -30%;
  right: -12%;
  width: 55vw;
  height: 55vw;
  max-width: 780px;
  max-height: 780px;
  background: radial-gradient(circle, rgba(192, 138, 62, 0.16) 0%, transparent 62%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 880px; }

.hero-title {
  font-size: clamp(2.5rem, 6.5vw, 4.6rem);
  font-weight: 400;
  color: var(--white);
  max-width: 18ch;
}
.hero-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background: var(--bronze);
  margin-top: 1.4rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: rgba(250, 247, 242, 0.75);
  max-width: 54ch;
  margin: 1.4rem 0 2.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.6rem;
}

.hero-credibility {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--bronze-bright);
  margin: 0;
}
.hero-availability {
  font-size: 0.95rem;
  color: rgba(250, 247, 242, 0.65);
  margin-top: 0.5rem;
}

/* ---------- sections ---------- */
.section { padding: var(--section-pad) 0; }
.section-light { background: var(--paper); }
.section-alt { background: var(--paper-alt); }
.section-dark {
  background: var(--navy-900);
  color: var(--paper);
}
.section-dark .section-title { color: var(--white); }

/* ---------- service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.4rem;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-top: 3px solid transparent;
  border-radius: var(--radius);
  padding: 2rem 1.7rem 1.9rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--bronze);
  box-shadow: 0 18px 44px rgba(27, 36, 50, 0.1);
}

.card-number {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bronze);
  letter-spacing: 0.1em;
}

.card-title {
  font-size: 1.28rem;
  margin: 0.7rem 0 0.55rem;
}

.card-body {
  font-size: 0.96rem;
  color: var(--ink-soft);
  margin: 0;
}
.section-dark .card-body { color: rgba(250, 247, 242, 0.72); }

/* ---------- approach ---------- */
.points-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.point {
  border-left: 2px solid var(--bronze);
  padding-left: 1.2rem;
}
.point-title { font-size: 1.15rem; margin-bottom: 0.4rem; }
.point-body { font-size: 0.96rem; color: var(--ink-soft); margin: 0; }

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}
.model-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(27, 36, 50, 0.1);
}
.model-fit {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  background: var(--bronze-soft);
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
  margin-bottom: 1rem;
}
.model-title { font-size: 1.45rem; margin-bottom: 0.6rem; }
.model-bullets { margin-top: 1.1rem; }
.model-bullets li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.model-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 14px;
  height: 2px;
  background: var(--bronze);
}

/* ---------- track record ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 1rem;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2.2rem 1.6rem;
  border-left: 1px solid var(--line-dark);
}
.stat:first-child { border-left: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.3rem);
  font-weight: 400;
  color: var(--bronze-bright);
  line-height: 1;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.68);
  line-height: 1.5;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.4rem;
}
.case-card {
  background: var(--navy-800);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
}
.case-title {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

/* ---------- leadership ---------- */
.leadership-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.leadership-role {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.3rem;
}
.leadership-bio { color: var(--ink-soft); max-width: 60ch; }
.leadership-team {
  color: var(--ink-soft);
  max-width: 60ch;
  padding-left: 1.2rem;
  border-left: 2px solid var(--bronze);
  font-style: italic;
}
.leadership-links { margin-top: 1.6rem; }

.leadership-figure { display: flex; justify-content: center; }
.figure-monogram {
  width: clamp(200px, 24vw, 280px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 300;
  color: var(--bronze);
  background:
    radial-gradient(circle at 30% 25%, rgba(192, 138, 62, 0.18), transparent 60%),
    var(--navy-900);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
}

/* ---------- contact ---------- */
.section-contact {
  background:
    radial-gradient(ellipse 70% 90% at 50% 110%, rgba(192, 138, 62, 0.14), transparent 65%),
    var(--navy-950);
}
.contact-inner {
  text-align: center;
  max-width: 720px;
}
.contact-inner .section-title,
.contact-inner .section-intro { margin-left: auto; margin-right: auto; }
.contact-actions { margin: 2.2rem 0 1.8rem; }
.contact-reminder {
  font-size: 0.95rem;
  color: rgba(250, 247, 242, 0.65);
  margin-bottom: 0.4rem;
}
.contact-availability {
  font-size: 0.95rem;
  color: var(--bronze-bright);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(250, 247, 242, 0.7);
  border-top: 1px solid var(--line-dark);
  padding: 3rem 0;
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand .brand-name { font-size: 1.1rem; }
.footer-tagline { margin: 0.4rem 0 0; font-size: 0.88rem; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-end;
}
.footer-copy { margin: 0; font-size: 0.85rem; color: rgba(250, 247, 242, 0.5); }

/* ---------- reveal motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .model-card { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .leadership-inner { grid-template-columns: 1fr; }
  .leadership-figure { justify-content: flex-start; }
  .footer-meta { align-items: flex-start; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .nav-list {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-950);
    border-bottom: 1px solid var(--line-dark);
    padding: 0.5rem 0 1rem;
  }
  .nav-list.is-open { display: flex; }
  .nav-list li { width: 100%; }
  .nav-list a:not(.btn) {
    display: block;
    padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem);
    font-size: 1rem;
  }
  .nav-cta-item { padding: 0.8rem clamp(1.25rem, 4vw, 2.5rem) 0; }

  .stats-band { border: none; }
  .stat {
    border-left: none;
    border-top: 1px solid var(--line-dark);
    padding: 1.6rem 0;
  }
  .stat:first-child { border-top: none; }
}
