/* ==========================================================================
   Core Squad — stylesheet
   Design tokens
   ========================================================================== */
:root {
  --ink: #0e0d11;
  --panel: #18151c;
  --panel-2: #201c24;
  --paper: #f2ede1;
  --paper-2: #e9e2d2;
  --amber: #e8a33d;
  --amber-dim: #b9832f;
  --gel: #b8451f;
  --text: #f5f1e8;
  --text-muted: #a39d8e;
  --ink-text: #211d16;
  --ink-muted: #6b6559;
  --line: rgba(245, 241, 232, 0.12);
  --line-strong: rgba(245, 241, 232, 0.28);

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1160px;
  --radius: 3px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 700; }

p { margin: 0 0 1em; color: var(--text-muted); max-width: 62ch; }

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

ul { margin: 0; padding: 0; list-style: none; }

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

button { font-family: inherit; }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--amber);
  margin: 0 0 0.9em;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--amber);
  color: #1a1408;
}
.btn-primary:hover {
  background: #f2b35a;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 13, 17, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.3px;
}

.logo-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.18);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.main-nav a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--amber);
  transition: right 0.25s ease;
}

.main-nav a:not(.nav-cta):hover { color: var(--text); }
.main-nav a:not(.nav-cta):hover:after { right: 0; }

.nav-cta {
  background: var(--amber);
  color: #1a1408 !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover { background: #f2b35a; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 128px 0 96px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 163, 61, 0.28) 0%, rgba(232, 163, 61, 0.08) 45%, transparent 72%);
  animation: spotlight-drift 14s ease-in-out infinite;
  pointer-events: none;
}

@keyframes spotlight-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.06); }
}

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

.hero-lead {
  font-size: 1.15rem;
  max-width: 52ch;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 34px 0 64px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin: 0;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--amber);
}

.hero-stats dd {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   About
   ========================================================================== */
.about { padding: 96px 0; background: var(--panel); }

.about-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.about-copy p { font-size: 1.02rem; }

.about-list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.about-list li {
  padding-left: 20px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.96rem;
}
.about-list li:before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--amber);
}

.rig-svg { width: 100%; height: auto; color: var(--amber); }
.rig-line { stroke: var(--line-strong); stroke-width: 1; }
.rig-line-strong { stroke: var(--line-strong); stroke-width: 1.5; }
.rig-lights circle { fill: var(--amber); }
.beam { stroke: var(--amber); stroke-width: 1; opacity: 0.35; }
.stage-floor { fill: var(--panel-2); stroke: var(--line-strong); stroke-width: 1; }
.stage-edge { fill: var(--panel-2); stroke: var(--line-strong); stroke-width: 1; }
.rig-caption {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 1px;
  fill: var(--text-muted);
}

/* ==========================================================================
   Services
   ========================================================================== */
.services { padding: 104px 0; }
.services h2 { max-width: 20ch; }

.service-list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 90px 56px 1fr;
  align-items: start;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.service-row:hover { background: rgba(232, 163, 61, 0.04); }

.cue {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding-top: 6px;
}

.service-icon {
  width: 48px; height: 48px;
  color: var(--amber);
}
.service-icon svg { width: 100%; height: 100%; }

.service-text h3 { margin-bottom: 0.3em; }
.service-text p { margin: 0; max-width: 58ch; }

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why { padding: 104px 0; background: var(--paper); color: var(--ink-text); }
.why h2 { color: var(--ink-text); }
.why p { color: var(--ink-muted); }

.why-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.why-copy .eyebrow { color: var(--gel); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--paper-2);
  border: 1px solid var(--paper-2);
}

.why-card {
  background: var(--paper);
  padding: 32px 28px;
}

.why-figure {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gel);
  margin-bottom: 8px;
}

.why-card p { color: var(--ink-muted); margin: 0; font-size: 0.95rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding: 104px 0; }

.contact-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.contact-lead { font-size: 1.02rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field { margin-bottom: 20px; }

.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.optional { color: var(--text-muted); font-weight: 400; opacity: 0.7; }

.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.97rem;
  transition: border-color 0.2s ease;
}

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

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

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

.field-error {
  display: block;
  min-height: 18px;
  font-size: 0.82rem;
  color: #e2795a;
  margin-top: 6px;
}

.form-status {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--amber);
  min-height: 1.2em;
}

.details-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.details-card h3 { margin-bottom: 0.3em; }
.details-industry { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 1.6em; }

.details-card dl { margin: 0; }
.details-card dl > div { padding: 16px 0; border-top: 1px solid var(--line); }
.details-card dl > div:first-child { border-top: none; padding-top: 0; }
.details-card dt {
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  color: var(--amber);
  margin-bottom: 6px;
  font-weight: 600;
}
.details-card dd { margin: 0; color: var(--text); font-size: 0.95rem; }
.details-card dd a:hover { color: var(--amber); }

.map-mark { margin-top: 24px; width: 100%; height: auto; }
.map-grid { stroke: var(--line); stroke-width: 1; }
.map-pin { fill: var(--amber); }
.map-pin-hole { fill: var(--panel); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  color: var(--text-muted);
  margin: 0 0 6px;
  font-weight: 700;
}
.footer-col a, .footer-col span {
  color: var(--text-muted);
  font-size: 0.94rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--amber); }
.footer-logo { margin-bottom: 6px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .about-inner,
  .why-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .about-visual { order: -1; max-width: 360px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 28px 24px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:not(.nav-cta):after { display: none; }
  .nav-cta { margin-top: 14px; text-align: center; }
  .nav-toggle { display: flex; }

  .hero { padding: 96px 0 64px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stats { gap: 28px; }

  .service-row { grid-template-columns: 44px 1fr; }
  .cue { grid-row: 1; grid-column: 1 / -1; padding-top: 0; margin-bottom: 4px; }

  .form-row { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
