/* ============================================================
   Grey Taurus LLC — style.css
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

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

button, input, textarea, select {
  font: inherit;
}

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

ul, ol {
  list-style: none;
}

/* ============================================================
   Variables
   ============================================================ */
:root {
  --color-bg: #0f1117;
  --color-bg-surface: #161b26;
  --color-bg-card: #1a2030;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-text: #e8eaf0;
  --color-text-muted: #8a95a3;
  --color-accent: #c9a96e;
  --color-accent-hover: #d4b87a;
  --color-error: #e07070;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.25s var(--ease);
  --font: 'Inter', system-ui, sans-serif;
  --max-width: 1140px;
  --nav-height: 72px;
}

/* ============================================================
   Typography
   ============================================================ */
body {
  font-family: var(--font);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.4s ease forwards;
}

body.fade-out {
  opacity: 0;
  transition: 0.2s ease;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

p {
  color: var(--color-text-muted);
  max-width: 68ch;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-accent {
  color: var(--color-accent);
}

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section--lg {
  padding-top: 120px;
  padding-bottom: 120px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* ============================================================
   Navigation
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 9999;
  transition: var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

nav.nav {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
}

.logo-mark {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}

.logo-name {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  cursor: pointer;
}

.nav-logo-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1;
}

.nav-logo-sub {
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  position: relative;
  transition: color 150ms ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 150ms ease;
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-accent);
}

.nav-link.active::after {
  width: 100%;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  padding: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

.nav-hamburger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Mobile drawer */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 199;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-overlay.open {
  opacity: 1;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--color-bg-surface);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.nav-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  padding: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-drawer-close:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-drawer-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.875rem 0.5rem;
  min-height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  transition: color 150ms ease;
}

.nav-drawer-link:hover,
.nav-drawer-link.active {
  color: var(--color-accent);
}

/* ============================================================
   Components
   ============================================================ */

/* Text links / CTAs */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-accent);
  position: relative;
  transition: color 150ms ease;
}

.link-arrow::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-hover);
  transition: width 150ms ease;
}

.link-arrow:hover {
  color: var(--color-accent-hover);
}

.link-arrow:hover::after {
  width: 100%;
}

.link-arrow:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.hero-brand {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 56ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

/* Decorative line */
.hero-deco {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  opacity: 0.04;
  pointer-events: none;
}

.hero-deco-line {
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  animation: rotateSlow 30s linear infinite;
}

.hero-deco-line-inner {
  position: absolute;
  inset: 60px;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  animation: rotateSlow 20s linear infinite reverse;
}

/* Page header */
.page-header {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 64px;
}

.page-header-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.page-header h1 {
  color: var(--color-text);
}

/* Section labels */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

/* Icon grid items */
.icon-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.icon-item-icon {
  width: 36px;
  height: 36px;
  color: var(--color-accent);
}

.icon-item-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}

.icon-item-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  max-width: 28ch;
}

/* Why points */
.why-point {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.why-point h3 {
  color: var(--color-text);
}

/* Partnership tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tag {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  padding: 0.375rem 1rem;
  background: var(--color-bg-card);
  transition: var(--transition);
}

.tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* CTA block */
.cta-block {
  background: var(--color-bg-surface);
  padding: 96px 0;
  text-align: center;
}

.cta-block h2 {
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

/* Numbered services */
.service-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  align-items: start;
}

.service-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  padding-top: 0.25rem;
}

.service-body h3 {
  color: var(--color-text);
  margin-bottom: 0.625rem;
}

.service-body p {
  font-size: 0.9375rem;
  max-width: none;
}

/* About pull quote */
.pull-quote {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.pull-quote em {
  color: var(--color-accent);
  font-style: normal;
}

.key-points {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.key-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.key-point::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.approach-block {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border);
}

.approach-block .section-label {
  margin-bottom: 1rem;
}

.approach-block p {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* Partnership sections */
.partner-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.partner-section:first-of-type {
  border-top: 1px solid var(--color-border);
}

.partner-section h3 {
  color: var(--color-text);
  margin-bottom: 0.75rem;
  font-size: 1.0625rem;
}

.partner-section p {
  font-size: 0.9375rem;
}

/* ============================================================
   Forms
   ============================================================ */
.form-grid {
  display: grid;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.form-input,
.form-textarea {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.9375rem;
  transition: border-color 150ms ease;
  width: 100%;
  min-height: 44px;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--color-error);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.error-text {
  font-size: 0.8125rem;
  color: var(--color-error);
  display: none;
}

.error-text.visible {
  display: block;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-accent);
  padding: 0;
  min-height: 44px;
  position: relative;
  transition: color 150ms ease;
}

.form-submit::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-hover);
  transition: width 150ms ease;
}

.form-submit:hover {
  color: var(--color-accent-hover);
}

.form-submit:hover::after {
  width: 100%;
}

.form-submit:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.contact-right {
  padding-top: 1rem;
}

.contact-right h3 {
  color: var(--color-text);
  margin-bottom: 1rem;
}

.contact-right p {
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-top: 1rem;
  transition: color 150ms ease;
}

.contact-email:hover {
  color: var(--color-accent-hover);
}

.contact-email:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer-brand-name {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
}

.footer-brand-tagline {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color 150ms ease;
}

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

.footer-nav a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer-email {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  transition: color 150ms ease;
}

.footer-email:hover {
  color: var(--color-accent);
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal > *[style*="--i"] {
  transition-delay: calc(var(--i, 0) * 80ms);
}

/* Stagger helper on children */
.stagger > * {
  transition-delay: calc(var(--i, 0) * 80ms);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-overlay {
    display: block;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section--lg {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .cta-block {
    padding: 72px 0;
  }

  .hero-deco {
    display: none;
  }

  .hero-actions {
    gap: 1.5rem;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-item {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* ============================================================
   Focus styles
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
