/* ========================================
   HIRST MEDIA - Retro Dark Theme
   ======================================== */

/* --- Variables --- */
:root {
  --bg: #0b0b0a;
  --bg-card: #13120f;
  --bg-elevated: #1a1917;
  --bg-input: #161513;

  --accent: #e07a3a;
  --accent-hover: #f08a4a;
  --accent-dim: rgba(224, 122, 58, 0.15);

  --text: #f2f1ef;
  --text-muted: #c0beb9;
  --text-dim: #706e6a;

  --border: #222222;
  --border-hover: #333333;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }

/* --- Grain Overlay --- */
.grain {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Typography Helpers --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #0b0b0a;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #0b0b0a;
  box-shadow: 0 0 30px rgba(224, 122, 58, 0.25);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent-dim);
  color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-small {
  font-size: 0.85rem;
  padding: 0.65rem 1.4rem;
}

.btn-outline-sm {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-hover);
  font-size: 0.85rem;
  padding: 0.65rem 1.4rem;
}
.btn-outline-sm:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.btn-full {
  width: 100%;
}

/* ========================================
   NAV
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease);
}

.nav-scrolled {
  background: rgba(11, 11, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo:hover { color: var(--accent); }

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.nav-links a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav-toggle-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 6rem;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(224, 122, 58, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(224, 122, 58, 0.02) 0%, transparent 50%),
    var(--bg);
}

.hero-container {
  max-width: 800px;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero-line {
  display: inline;
}

.hero-line--accent {
  color: var(--accent);
  font-style: italic;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

/* ========================================
   TRUST BAR
   ======================================== */
.trust-bar {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.trust-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.trust-divider {
  color: var(--accent);
  font-size: 0.6rem;
}

/* ========================================
   VALUE PROP
   ======================================== */
.value-prop {
  padding: 7rem 0;
}

.value-prop-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.value-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.value-text:last-child { margin-bottom: 0; }

/* ========================================
   SERVICES
   ======================================== */
.services {
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

/* Retro corner accents */
.service-card::before,
.service-card::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  transition: all 0.4s var(--ease);
}
.service-card::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.service-card::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.service-card:hover::before,
.service-card:hover::after {
  width: 20px;
  height: 20px;
}

.service-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-list {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
}
.service-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* ========================================
   MARQUEE
   ======================================== */
.marquee-section {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(224, 122, 58, 0.04), rgba(224, 122, 58, 0.01));
  overflow: hidden;
}

.marquee {
  white-space: nowrap;
  display: flex;
}

.marquee-track {
  display: inline-block;
  flex-shrink: 0;
  animation: marquee 30s linear infinite;
}

.marquee-text {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  padding: 0 1rem;
}

.marquee-dot {
  color: var(--accent);
  font-size: 0.8rem;
  padding: 0 0.75rem;
  vertical-align: middle;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========================================
   PROCESS
   ======================================== */
.process {
  padding: 7rem 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

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

.step-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  padding: 6rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 2px;
  position: relative;
}

/* Retro corner accents on testimonials */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.testimonial-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: var(--accent);
  background: rgba(224, 122, 58, 0.08);
  margin-bottom: 1rem;
}

.stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.author-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.author-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

a.author-name:hover {
  color: var(--accent);
}

.author-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.author-role a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
}

.author-role a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* ========================================
   CASE STUDY CTA
   ======================================== */
.case-study-cta {
  margin-top: 4.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.case-study-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.case-study-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.case-study-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: var(--accent);
  background: rgba(224, 122, 58, 0.08);
}

.case-study-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.case-study-link:hover .case-study-title {
  color: var(--accent);
}

.case-study-arrow {
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}

.case-study-link:hover .case-study-arrow {
  transform: translateX(4px);
}

/* ========================================
   PR CLIENTS
   ======================================== */
.clients {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.client-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  position: relative;
}

.client-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 14px; height: 14px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  z-index: 1;
  transition: all 0.4s var(--ease);
}

.client-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.client-card:hover::before {
  width: 20px;
  height: 20px;
}

.client-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elevated);
}

.client-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s var(--ease);
}

.client-card:hover .client-photo img {
  transform: scale(1.05);
}

.client-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
}

.client-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.client-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
}

.client-name a {
  color: var(--text);
  text-decoration: none;
}

.client-name a:hover {
  color: var(--accent);
}

.client-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.client-desc a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
}

.client-desc a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.client-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.stat-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: var(--accent);
  background: rgba(224, 122, 58, 0.08);
}

a.stat-badge {
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
a.stat-badge:hover {
  background: rgba(224, 122, 58, 0.2);
  color: var(--accent-hover);
  transform: translateY(-1px);
}

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

@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* ========================================
   PARTNERS
   ======================================== */
.partners {
  padding: 4rem 0;
  text-align: center;
}

.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.partner-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-muted);
}

.partner-divider {
  color: var(--accent);
  font-size: 0.6rem;
}

/* ========================================
   AUDIT ORDER SECTION
   ======================================== */
.audit-section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.audit-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.audit-includes h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.audit-includes ul {
  list-style: none;
}

.audit-includes li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.audit-includes li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-item a {
  font-size: 1.05rem;
  color: var(--text);
}
.contact-item a:hover { color: var(--accent); }

/* ========================================
   FORMS (Shared)
   ======================================== */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2.5rem;
  position: relative;
}

/* Corner accent on forms */
.form-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 16px; height: 16px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.form-card::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 16px; height: 16px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 3px;
  outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238a8274' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text);
}

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

.audit-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.audit-cta-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.price-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.audit-cta-detail {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 1rem;
}

/* ========================================
   ABOUT
   ======================================== */
.about-section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-photo-wrap {
  display: flex;
  justify-content: center;
}

.about-photo-circle {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 8px rgba(224, 122, 58, 0.08), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.about-photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.4s var(--ease);
}

.about-photo-circle:hover img {
  filter: grayscale(0%) contrast(1);
}

/* Fly-in animation for the photo */
.about-photo-wrap.reveal {
  opacity: 0;
  transform: translateX(-60px) scale(0.9);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.about-photo-wrap.revealed {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.03em;
  text-decoration: underline;
  text-decoration-color: rgba(224, 122, 58, 0.3);
  text-underline-offset: 3px;
}

.about-links a:hover {
  text-decoration-color: var(--accent);
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .about-links { justify-content: center; }
}

@media (max-width: 768px) {
  .about-section { padding: 5rem 0; }
  .about-photo-circle { width: 220px; height: 220px; }
}

/* ========================================
   FAQ
   ======================================== */
.faq-section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.faq-section .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s var(--ease);
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-bottom: 1.5rem;
}

.faq-open .faq-icon {
  transform: rotate(45deg);
}

.faq-open .faq-answer {
  max-height: 300px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--text);
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
  letter-spacing: 0.05em;
}

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

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ========================================
   CASE STUDY PAGE
   ======================================== */
.cs-hero {
  padding: 10rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.cs-back {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
}
.cs-back:hover { color: var(--accent); }

.cs-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.cs-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.cs-meta {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.cs-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cs-meta-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.cs-meta-value {
  font-size: 1rem;
  color: var(--text);
}

.cs-meta-value a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
}
.cs-meta-value a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* Screenshot */
.cs-screenshot {
  padding: 4rem 0;
}

.cs-screenshot-frame {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border);
}

.cs-screenshot-frame img {
  width: 100%;
  display: block;
}

.cs-screenshot-frame .frame-corner {
  position: absolute;
  width: 24px;
  height: 24px;
}

.cs-screenshot-frame .frame-tl { top: -8px; left: -8px; border-top: 3px solid var(--accent); border-left: 3px solid var(--accent); }
.cs-screenshot-frame .frame-tr { top: -8px; right: -8px; border-top: 3px solid var(--accent); border-right: 3px solid var(--accent); }
.cs-screenshot-frame .frame-bl { bottom: -8px; left: -8px; border-bottom: 3px solid var(--accent); border-left: 3px solid var(--accent); }
.cs-screenshot-frame .frame-br { bottom: -8px; right: -8px; border-bottom: 3px solid var(--accent); border-right: 3px solid var(--accent); }

/* Content sections */
.cs-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.cs-section-dark {
  background: var(--bg-card);
}

.cs-content {
  max-width: 750px;
  margin: 0 auto;
}

.cs-heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.cs-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* Findings */
.cs-findings {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.cs-finding {
  padding: 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.cs-finding h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cs-finding p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.cs-finding-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.cs-blocker { background: rgba(180, 40, 40, 0.15); color: #e05555; border: 1px solid rgba(180, 40, 40, 0.3); }
.cs-critical { background: rgba(220, 70, 40, 0.15); color: #e87040; border: 1px solid rgba(220, 70, 40, 0.3); }
.cs-high { background: rgba(224, 122, 58, 0.15); color: var(--accent); border: 1px solid rgba(224, 122, 58, 0.3); }
.cs-medium { background: rgba(70, 130, 220, 0.15); color: #6aa0e0; border: 1px solid rgba(70, 130, 220, 0.3); }

/* Deliverable list */
.cs-deliverable-list {
  margin: 1.5rem 0;
}

.cs-deliverable-list li {
  font-size: 1rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.cs-deliverable-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Quote block */
.cs-quote-block {
  padding: 2.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  margin-bottom: 2rem;
}

.cs-quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  margin: 1rem 0 1.5rem;
}

/* CTA */
.cs-cta-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.cs-cta-block {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cs-cta-block p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cs-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Case Study Index Page */
.cs-index {
  padding: 4rem 0;
}

.cs-index-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.cs-index-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.4s var(--ease);
  position: relative;
}

.cs-index-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 16px; height: 16px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  z-index: 1;
  transition: all 0.4s var(--ease);
}

.cs-index-card::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 16px; height: 16px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transition: all 0.4s var(--ease);
}

.cs-index-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cs-index-card:hover::before,
.cs-index-card:hover::after {
  width: 22px;
  height: 22px;
}

.cs-index-thumb {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.cs-index-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.cs-index-card:hover .cs-index-thumb img {
  transform: scale(1.05);
}

.cs-index-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cs-index-tags {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cs-index-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.cs-index-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.cs-index-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cs-index-meta {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

.cs-index-read {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-top: auto;
  transition: transform 0.3s var(--ease);
  display: inline-block;
}

.cs-index-card:hover .cs-index-read {
  transform: translateX(4px);
}

.cs-index-more {
  text-align: center;
  padding: 3rem 0;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.cs-index-more p {
  font-size: 1rem;
  color: var(--text-dim);
}

/* What They Fixed list */
.cs-fixed-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.cs-fixed-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.cs-fixed-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 50%;
  margin-top: 2px;
}

.cs-fixed-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.cs-fixed-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .cs-title { font-size: 2.5rem; }
  .cs-meta { gap: 1.5rem; }
  .cs-heading { font-size: 1.75rem; }
  .cs-hero { padding: 8rem 0 3rem; }
  .cs-index-card { grid-template-columns: 1fr; }
  .cs-index-thumb { aspect-ratio: 16 / 9; }
  .cs-index-meta { flex-direction: column; gap: 0.25rem; }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* Stagger children */
.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.process-steps .reveal:nth-child(2) { transition-delay: 0.15s; }
.process-steps .reveal:nth-child(3) { transition-delay: 0.3s; }

.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.faq-list .reveal:nth-child(2) { transition-delay: 0.05s; }
.faq-list .reveal:nth-child(3) { transition-delay: 0.1s; }
.faq-list .reveal:nth-child(4) { transition-delay: 0.15s; }
.faq-list .reveal:nth-child(5) { transition-delay: 0.2s; }
.faq-list .reveal:nth-child(6) { transition-delay: 0.25s; }

/* ========================================
   RESPONSIVE - Tablet
   ======================================== */
@media (max-width: 1024px) {
  .section-title { font-size: 2.5rem; }
  .hero-title { font-size: 3.5rem; }

  .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-steps { grid-template-columns: 1fr; gap: 2rem; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .audit-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ========================================
   RESPONSIVE - Mobile
   ======================================== */
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }

  .section-title { font-size: 2rem; }

  /* Nav mobile */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 11, 10, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
    z-index: 999;
  }

  .nav-links.nav-open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-toggle {
    z-index: 1001;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding: 8rem 0 5rem;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    text-align: center;
  }

  /* Trust bar mobile */
  .trust-logos {
    gap: 1rem;
  }

  .trust-logo {
    font-size: 0.9rem;
  }

  /* Value prop mobile */
  .value-prop { padding: 5rem 0; }

  /* Services mobile */
  .services { padding: 4rem 0; }

  /* Marquee mobile */
  .marquee-text { font-size: 1.4rem; }

  /* Process mobile */
  .process { padding: 5rem 0; }
  .step-number { font-size: 3rem; }

  /* Testimonials mobile */
  .testimonials { padding: 4rem 0; }

  /* Audit and contact mobile */
  .audit-section,
  .contact-section { padding: 5rem 0; }

  .form-card { padding: 1.75rem; }

  /* FAQ mobile */
  .faq-section { padding: 5rem 0; }
  .faq-question { font-size: 0.95rem; }

  /* About mobile */
  .about-links {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  /* Testimonials mobile */
  .testimonial-card { padding: 1.5rem; }
  .testimonial-text { font-size: 0.95rem; }
  .author-photo { width: 48px; height: 48px; }
  .author-role { font-size: 0.7rem; line-height: 1.5; }

  /* Case study CTA mobile */
  .case-study-link {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
  }
  .case-study-cta {
    margin-top: 3rem;
    padding-top: 2rem;
  }

  /* Client cards mobile */
  .client-stats { gap: 0.4rem; }
  .stat-badge { font-size: 0.65rem; padding: 0.3rem 0.6rem; }

  /* Case study page mobile */
  .cs-section { padding: 3.5rem 0; }
  .cs-finding { padding: 1.25rem; }
  .cs-finding h3 { font-size: 1.05rem; }
  .cs-finding p { font-size: 0.9rem; }
  .cs-quote { font-size: 1.1rem; }
  .cs-quote-block { padding: 1.5rem; }
  .cs-cta-section { padding: 4rem 0; }
  .cs-cta-buttons { flex-direction: column; }
  .cs-cta-buttons .btn { text-align: center; }
  .cs-screenshot { padding: 2rem 0; }

  /* Fixed items mobile */
  .cs-fixed-item { padding: 1rem; }
  .cs-fixed-item h4 { font-size: 0.95rem; }
  .cs-fixed-item p { font-size: 0.85rem; }
  .cs-fixed-check { width: 24px; height: 24px; font-size: 0.75rem; }

  /* Case study index mobile */
  .cs-index { padding: 2rem 0; }
  .cs-index-body { padding: 1.25rem; }
  .cs-index-title { font-size: 1.25rem; }
  .cs-index-desc { font-size: 0.9rem; }

  /* Footer mobile */
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-title { font-size: 2.25rem; }
  .section-title { font-size: 1.75rem; }
  .trust-divider { display: none; }
  .trust-logos { flex-direction: column; gap: 0.5rem; }
  .partner-divider { display: none; }
  .partners-row { flex-direction: column; gap: 0.75rem; }

  /* Case study title small mobile */
  .cs-title { font-size: 2rem; }
  .cs-subtitle { font-size: 1rem; }
  .cs-heading { font-size: 1.5rem; }

  /* Meta items stack */
  .cs-meta {
    flex-direction: column;
    gap: 1rem;
  }

  /* Smaller form padding */
  .form-card { padding: 1.25rem; }
  .form-title { font-size: 1.25rem; }
  .price-amount { font-size: 2.5rem; }
}
