:root {
  --bg-primary: #faf9f6;
  --bg-surface: #ffffff;
  --bg-subtle: #f3efe8;
  --text-main: #18191c;
  --text-muted: #5f6368;
  --accent-gold: #b37d4e;
  --accent-dark: #1f2228;
  --border-color: rgba(24, 25, 28, 0.1);
  --border-light: rgba(24, 25, 28, 0.05);
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1200px;
  --transition: all 0.22s ease-in-out;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 20px;
  background: var(--text-main);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 10px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.max-w-narrow {
  max-width: 820px;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

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

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

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--text-main);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: var(--font-serif);
  font-weight: bold;
  font-size: 1.1rem;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.nav-list {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-icon-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 5px 0;
  transition: 0.2s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--text-main);
  color: #ffffff;
}

.btn-primary:hover {
  background: #2b2e35;
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
}

.btn-text {
  background: none;
  border: none;
  color: var(--accent-gold);
  padding: 0;
  font-weight: 600;
  text-decoration: none;
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Hero Section */
.hero-section {
  padding: 60px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.badge, .section-tag, .page-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 4px;
}

.media-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

.hero-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 48px;
}

.section-title, .page-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.section-subtitle, .page-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
}

.text-center {
  text-align: center;
}
.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Specs Grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.spec-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 32px 28px;
  border-radius: 10px;
  position: relative;
}

.card-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.spec-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.spec-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Split Heading */
.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 32px;
}

.split-lead {
  max-width: 440px;
  color: var(--text-muted);
}

/* Cards Layout */
.cards-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-item.highlight {
  border-color: var(--accent-gold);
  box-shadow: 0 8px 24px rgba(179, 125, 78, 0.08);
}

.service-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 8px;
}

.service-item h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.feature-bullets {
  list-style: none;
  margin-bottom: 28px;
}

.feature-bullets li {
  font-size: 0.9rem;
  color: var(--text-main);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.feature-bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.price-callout {
  font-weight: 700;
  font-size: 1rem;
}

/* Workflow Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step-card {
  background: var(--bg-subtle);
  padding: 32px 24px;
  border-radius: 10px;
  position: relative;
}

.step-index {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(24, 25, 28, 0.2);
  display: block;
  margin-bottom: 8px;
}

.step-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-accordion {
  border-top: 1px solid var(--border-color);
}

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

.faq-question {
  padding: 22px 0;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent-gold);
}

.faq-item[open] .faq-question::after {
  content: "−";
}

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

/* CTA Banner */
.cta-banner {
  padding: 40px 0 80px;
}

.cta-box {
  background: var(--accent-dark);
  color: #fff;
  border-radius: 14px;
  padding: 48px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.cta-text h2 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.cta-text p {
  color: #c9cdd4;
  font-size: 1rem;
}

.cta-button-group {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.cta-box .btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.cta-box .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Page Headers */
.page-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border-color);
}

/* About Two Col */
.two-col-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
}

.prose-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.prose-content h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.technical-sidebar .sidebar-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: 12px;
}

.sidebar-box h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.tech-list {
  list-style: none;
}

.tech-list li {
  font-size: 0.9rem;
  margin-bottom: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.tech-list strong {
  color: var(--text-main);
  display: block;
}

.diagram-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.diagram-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Pricing Page Decks */
.pricing-card-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  border-color: var(--accent-gold);
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.plan-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.featured-badge {
  color: var(--accent-gold);
}

.plan-title {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.plan-price {
  margin-bottom: 16px;
}

.plan-price .currency {
  font-size: 2rem;
  font-weight: 700;
}

.plan-price .period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.plan-features h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.plan-features ul {
  list-style: none;
  margin-bottom: 30px;
}

.plan-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: bold;
}

.plan-footer {
  margin-top: auto;
}

/* Services Table */
.table-container {
  overflow-x: auto;
}

.services-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: left;
}

.services-table th, .services-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
}

.services-table th {
  background: var(--bg-subtle);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.services-table td {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-card {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.contact-icon {
  color: var(--accent-gold);
  font-size: 1.2rem;
  line-height: 1.4;
}

.contact-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.highlight-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}

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

.note {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.hours-text, .address-text {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Forms */
.form-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px 30px;
}

.form-container h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.form-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .half {
  flex: 1;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.required {
  color: #ef4444;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg-primary);
  color: var(--text-main);
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--text-main);
  background: #fff;
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}

/* Legal Prose */
.prose-legal h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin-top: 36px;
  margin-bottom: 14px;
}

.prose-legal p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.prose-legal ul {
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.prose-legal li {
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-main);
  display: block;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.copyright-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-address a {
  color: var(--text-main);
  text-decoration: none;
}

.studio-hours {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-main);
  color: #fff;
  padding: 16px 24px;
  z-index: 10000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.cookie-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text {
  font-size: 0.88rem;
  color: #d1d5db;
  line-height: 1.5;
}

.cookie-text a {
  color: #fff;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner[hidden] {
  display: none !important;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .two-col-layout, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing-card-deck {
    grid-template-columns: 1fr;
  }
  .plan-card.featured {
    transform: none;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
  }
  .primary-nav.is-open {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }
  .header-cta {
    width: 100%;
  }
  .header-cta .btn {
    width: 100%;
  }
  .cta-box {
    flex-direction: column;
    text-align: center;
  }
  .hero-meta {
    grid-template-columns: 1fr;
  }
  .split-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-row {
    flex-direction: column;
  }
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}