@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --color-gold: #9a7200;
  --color-orange: #c45000;
  --color-red: #a01020;
  --color-orange-subtle: rgba(154, 114, 0, 0.08);
  --color-border-brand: rgba(154, 114, 0, 0.4);
  --color-bg: #f7f7f5;
  --color-bg-card: #ffffff;
  --color-bg-hover: rgba(17, 17, 17, 0.04);
  --color-nav-bg: rgba(247, 247, 245, 0.96);
  --color-text: #111111;
  --color-text-muted: #555555;
  --color-text-subtle: rgba(17, 17, 17, 0.35);
  --color-border: rgba(17, 17, 17, 0.15);
  --color-border-subtle: rgba(17, 17, 17, 0.08);
  --color-input-bg: rgba(17, 17, 17, 0.04);
  --color-select-bg: #ebebeb;
  --glow-opacity: 0.06;
  --grid-opacity: 0.04;
}

.dark {
  --color-gold: #f5c518;
  --color-orange: #f5821f;
  --color-red: #c1272d;
  --color-orange-subtle: rgba(245, 130, 31, 0.1);
  --color-border-brand: rgba(245, 130, 31, 0.3);
  --color-bg: #0a0a0a;
  --color-bg-card: rgba(255, 255, 255, 0.02);
  --color-bg-hover: rgba(255, 255, 255, 0.04);
  --color-nav-bg: rgba(10, 10, 10, 0.95);
  --color-text: #e5e5e5;
  --color-text-muted: rgba(255, 255, 255, 0.5);
  --color-text-subtle: rgba(255, 255, 255, 0.25);
  --color-border: rgba(245, 130, 31, 0.3);
  --color-border-subtle: rgba(255, 255, 255, 0.06);
  --color-input-bg: rgba(255, 255, 255, 0.03);
  --color-select-bg: #1a1a1a;
  --glow-opacity: 0.1;
  --grid-opacity: 0.03;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

svg {
  display: block;
}

section {
  scroll-margin-top: 80px;
}

.container {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
}

.section-pad {
  position: relative;
  padding: 96px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: var(--color-nav-bg);
  border-bottom: 1px solid var(--color-border-subtle);
  backdrop-filter: blur(12px);
}

.nav-shell,
.footer-shell {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-shell {
  min-height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-transform: uppercase;
  font-family: Montserrat, Inter, sans-serif;
}

.brand span:first-child {
  color: var(--color-gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.25em;
}

.brand span:last-child {
  color: var(--color-orange);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a,
.mobile-nav a,
.site-footer nav a {
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.site-footer nav a:hover,
.menu-button:hover {
  color: var(--color-text);
}

.nav-cta {
  border: 1px solid var(--color-border-brand);
  border-radius: 4px;
  color: var(--color-gold) !important;
  font-weight: 600 !important;
  padding: 10px 20px;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--color-border-subtle);
  border-radius: 999px;
  background: var(--color-border-subtle);
}

.theme-toggle button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.theme-toggle button.is-active {
  background: linear-gradient(135deg, var(--color-gold), var(--color-orange));
  color: var(--color-bg);
}

.mobile-actions {
  display: none;
  align-items: center;
  gap: 12px;
}

.menu-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
}

.menu-close,
.site-header.is-open .menu-open {
  display: none;
}

.site-header.is-open .menu-close {
  display: block;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--color-border-subtle);
  background: var(--color-nav-bg);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 120px 24px 96px;
}

.hero-glow,
.grid-overlay,
.section-glow,
.card-glow,
.orbit-glow {
  position: absolute;
  pointer-events: none;
}

.hero-glow-main {
  width: min(600px, 140vw);
  height: min(600px, 140vw);
  top: 33%;
  left: 50%;
  border-radius: 999px;
  background: radial-gradient(circle, var(--color-orange) 0%, var(--color-red) 50%, transparent 70%);
  filter: blur(64px);
  opacity: var(--glow-opacity);
  transform: translate(-50%, -50%);
}

.hero-glow-small {
  width: 300px;
  height: 300px;
  top: 25%;
  right: 25%;
  border-radius: 999px;
  background: radial-gradient(circle, var(--color-gold), transparent 70%);
  filter: blur(64px);
  opacity: calc(var(--glow-opacity) * 0.6);
}

.grid-overlay {
  inset: 0;
  background-image:
    linear-gradient(var(--color-gold) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-gold) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: var(--grid-opacity);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  text-align: center;
}

.hero-brand {
  margin-bottom: 40px;
}

.hero-brand h1 {
  margin: 0 0 12px;
  color: var(--color-gold);
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(2.4rem, 11vw, 4.5rem);
  font-weight: 600;
  letter-spacing: clamp(0.08em, 1.5vw, 0.3em);
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-brand p {
  margin: 0;
  color: var(--color-orange);
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(1.15rem, 5vw, 1.5rem);
  font-weight: 500;
  letter-spacing: clamp(0.25em, 2.3vw, 0.55em);
  text-transform: uppercase;
}

.hero-line,
.hero-copy {
  color: var(--color-text-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.hero-line {
  margin: 0 0 12px;
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto 48px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-orange) 60%, var(--color-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.button-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.button,
.submit-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.button {
  min-width: 174px;
  padding: 12px 28px;
}

.button:hover,
.submit-button:hover {
  transform: translateY(-1px);
}

.button-primary,
.submit-button {
  border: 0;
  background: linear-gradient(90deg, var(--color-gold), var(--color-orange));
  color: var(--color-bg);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

.button-secondary {
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.button-secondary:hover {
  color: var(--color-text);
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  opacity: 0.35;
  transform: translateX(-50%);
}

.scroll-cue span {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-text-muted), transparent);
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--color-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.section-heading h2,
.split-heading {
  margin: 0 0 16px;
  color: var(--color-text);
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
}

.section-heading p:not(.eyebrow),
.prose,
.service-card p,
.process-step p,
.work-card p {
  color: var(--color-text-muted);
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  line-height: 1.55;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--color-gold), var(--color-orange), var(--color-red));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.service-card,
.work-card,
.success-card {
  border-radius: 12px;
  background: var(--color-bg-card);
  transition: background-color 0.3s ease;
}

.service-card {
  padding: 24px;
}

.service-card:hover,
.work-card:hover {
  background: var(--color-bg-hover);
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--color-orange-subtle);
  color: var(--color-gold);
  transition: transform 0.3s ease;
}

.service-card:hover .icon-box {
  transform: scale(1.08);
}

.service-card h3,
.process-step h3,
.work-card h3,
.success-card h3 {
  margin: 0 0 8px;
  color: var(--color-text);
  font-size: 1.125rem;
  font-weight: 700;
}

.service-card p,
.process-step p,
.work-card p {
  margin: 0;
  font-size: 0.925rem;
  line-height: 1.65;
}

.process-section,
.contact-section {
  overflow: hidden;
}

.process-glow {
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, var(--color-orange), transparent 60%);
  opacity: calc(var(--glow-opacity) * 0.5);
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.process-line {
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-red));
  opacity: 0.3;
}

.process-step {
  position: relative;
}

.process-step span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-orange-subtle);
  color: var(--color-gold);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
}

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

.orbit-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
}

.orbit-glow {
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--color-orange), var(--color-red), transparent);
  filter: blur(64px);
  opacity: calc(var(--glow-opacity) * 1.8);
}

.orbit-wrap svg {
  position: relative;
  width: min(320px, 80vw);
  height: auto;
}

.split-heading {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.prose {
  display: grid;
  gap: 16px;
  line-height: 1.7;
}

.prose p {
  margin: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.stats strong {
  display: block;
  margin-bottom: 4px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 2rem;
}

.stats span {
  color: var(--color-text-subtle);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
}

.card-glow {
  inset: 0;
  border-radius: 12px;
  opacity: calc(var(--glow-opacity) * 0.4);
}

.card-glow-gold {
  background: radial-gradient(ellipse at 80% 20%, var(--color-gold), transparent 60%);
}

.card-glow-red {
  background: radial-gradient(ellipse at 20% 80%, var(--color-red), transparent 60%);
}

.work-card-body {
  position: relative;
}

.work-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--color-text-subtle);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #0a0a0a;
  font-size: 1.125rem;
}

.work-icon.gold {
  background: linear-gradient(135deg, var(--color-gold), var(--color-orange));
}

.work-icon.red {
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
}

.work-card h3 {
  margin-bottom: 12px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tags span {
  border: 1px solid var(--color-border-subtle);
  border-radius: 999px;
  color: var(--color-text-subtle);
  font-size: 12px;
  padding: 6px 12px;
}

.contact-glow {
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, var(--color-gold), transparent 55%);
  opacity: calc(var(--glow-opacity) * 0.6);
}

.contact-container {
  position: relative;
  width: min(100% - 48px, 768px);
  margin: 0 auto;
}

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

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

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

.contact-form label span {
  color: var(--color-text-subtle);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--color-border-subtle);
  border-radius: 4px;
  background: var(--color-input-bg);
  color: var(--color-text);
  font-size: 0.925rem;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s ease;
}

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

.contact-form option {
  background: var(--color-select-bg);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-subtle);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-orange);
}

.submit-button {
  width: 100%;
  min-height: 56px;
  margin-top: 4px;
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.form-error {
  margin: 0;
  color: var(--color-red);
  font-size: 0.925rem;
}

.success-card {
  padding: 40px;
  text-align: center;
}

.checkmark {
  margin-bottom: 16px;
  font-size: 2.5rem;
}

.success-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
}

.success-card a {
  color: var(--color-gold);
  text-decoration: underline;
}

.email-link {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border-subtle);
}

.email-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-subtle);
  font-size: 0.925rem;
  transition: color 0.2s ease;
}

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

.site-footer {
  border-top: 1px solid var(--color-border-subtle);
  padding: 40px 0;
}

.footer-brand span:first-child {
  font-size: 12px;
}

.footer-brand span:last-child {
  font-size: 9px;
}

.site-footer p {
  margin: 0;
  color: var(--color-text-subtle);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

.site-footer nav a {
  font-size: 12px;
}

@media (max-width: 1024px) {
  .three-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .process-line {
    display: none;
  }

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

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

  .mobile-actions {
    display: flex;
  }

  .site-header.is-open .mobile-nav {
    display: flex;
  }

  .nav-shell,
  .footer-shell,
  .container,
  .contact-container {
    width: min(100% - 32px, 1280px);
  }

  .hero {
    padding-inline: 16px;
  }

  .hero-brand h1 {
    font-size: clamp(2.6rem, 15vw, 4rem);
    letter-spacing: clamp(0.06em, 1.6vw, 0.16em);
  }

  .hero-brand p {
    letter-spacing: clamp(0.2em, 3vw, 0.42em);
  }

  .button-row {
    flex-direction: column;
  }

  .button {
    width: min(100%, 280px);
  }

  .two-up,
  .three-up,
  .process-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    text-align: center;
  }

  .process-step span {
    margin-inline: auto;
  }

  .orbit-wrap {
    min-height: 260px;
  }

  .orbit-glow {
    width: 260px;
    height: 260px;
  }

  .stats {
    gap: 16px;
  }

  .stats strong {
    font-size: 1.65rem;
  }

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

@media (max-width: 440px) {
  .theme-toggle button {
    width: 27px;
    height: 27px;
  }

  .hero-brand h1 {
    font-size: clamp(2.45rem, 14vw, 3.5rem);
    letter-spacing: 0.06em;
  }

  .section-pad {
    padding: 80px 0;
  }

  .stats {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
