/* ==========================================================================
   AQUA EDITORIAL PERFORMANCE AGENCY — FOCUSED STUDIO AESTHETIC
   Ultra-luxurious dark editorial styling, cinematic amber & blue lighting,
   high-fashion serif display typography, and sharp minimalist layout.
   ========================================================================== */

:root {
  /* Editorial Palette */
  --bg-pitch: #08080a;
  --bg-surface: #0e0f14;
  --bg-card: rgba(18, 19, 26, 0.7);
  --bg-card-hover: rgba(26, 28, 38, 0.85);

  --accent-amber: #f59e0b;
  --accent-amber-light: #fbbf24;
  --accent-gold: #ffbe5b;
  --accent-blue: #38bdf8;
  --accent-blue-deep: #0284c7;

  --text-ivory: #fbf5ee;
  --text-cream: #ede3d7;
  --text-muted: #8e8d8a;
  --text-dim: #52525b;

  --border-subtle: rgba(245, 158, 11, 0.12);
  --border-divider: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(245, 158, 11, 0.35);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', monospace, sans-serif;

  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-pitch);
  color: var(--text-ivory);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-pitch);
  color: var(--text-ivory);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.serif {
  font-family: var(--font-serif);
}

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

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

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

/* Giant Editorial Section Headlines */
.giant-wordmark {
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 14vw, 13rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--text-cream);
  text-transform: lowercase;
  user-select: none;
  pointer-events: none;
  margin-top: 2rem;
  margin-bottom: -1.5rem;
  opacity: 0.92;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: block;
}

/* Buttons */
.btn-amber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent-amber);
  color: #08080a;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.6rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.btn-amber:hover {
  background: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-cream);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.75rem 1.6rem;
  border-radius: 4px;
  border: 1px solid var(--border-divider);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.editorial-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 2.25rem 0;
}

.editorial-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.editorial-brand {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-ivory);
}

.brand-subtitle {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-amber);
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-item a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-cream);
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.nav-item a:hover {
  opacity: 1;
  color: var(--accent-amber);
}

/* ==========================================================================
   HERO EDITORIAL SECTION
   ========================================================================== */

.hero-editorial {
  position: relative;
  padding-top: 100px;
  background: #08080a;
}

.hero-frame-container {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9);
}

.hero-editorial-img {
  width: 100%;
  height: clamp(480px, 70vh, 760px);
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.95) contrast(1.05);
}

/* Viewfinder Bracket */
.viewfinder-tag {
  position: absolute;
  top: 45px;
  left: 45px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  max-width: 170px;
  z-index: 10;
  padding: 8px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-top-right-tag {
  position: absolute;
  top: 45px;
  right: 45px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.9);
  z-index: 10;
}

/* Giant "aqua" overlapping typography */
.hero-overtitle-box {
  position: absolute;
  bottom: 10px;
  left: 40px;
  right: 40px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
}

.hero-giant-text {
  font-family: var(--font-serif);
  font-size: clamp(5.5rem, 19vw, 17rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: #fff9f2;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.hero-category-label {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.5vw, 2.2rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #fff9f2;
  margin-bottom: 25px;
}

/* ==========================================================================
   STATEMENT MANIFESTO
   ========================================================================== */

.manifesto-section {
  padding: 100px 0 70px;
  text-align: center;
}

.manifesto-text {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  font-weight: 400;
  line-height: 1.45;
  max-width: 1080px;
  margin: 0 auto;
  color: var(--text-cream);
  letter-spacing: -0.015em;
}

/* ==========================================================================
   ABOUT / STORY SECTION (PHOTO LEFT + METRICS RIGHT)
   ========================================================================== */

.about-editorial-section {
  padding: 80px 0 100px;
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-portrait-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-portrait-card img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  filter: contrast(1.08) brightness(0.95);
}

.about-editorial-content {
  display: flex;
  flex-direction: column;
}

.about-copy-p {
  font-size: 1.05rem;
  color: var(--text-cream);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  opacity: 0.88;
}

/* Achievements Grid with Horizontal Separator Lines */
.achievements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  margin: 2.5rem 0 3rem;
}

.achieve-item {
  border-bottom: 1px solid var(--border-divider);
  padding-bottom: 1.25rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.achieve-num {
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.achieve-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-align: right;
  max-width: 150px;
}

/* ==========================================================================
   WORK & PORTFOLIO SECTION
   ========================================================================== */

.work-section {
  padding: 60px 0 120px;
}

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

.work-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-divider);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.work-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.work-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-amber);
  margin-bottom: 1rem;
}

.work-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.work-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.work-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-divider);
}

.wm-val {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-ivory);
}

.wm-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* ==========================================================================
   INTERACTIVE ROI & UNIT ECONOMICS CALCULATOR
   ========================================================================== */

.calc-editorial-section {
  padding: 80px 0 120px;
  background: #0b0c10;
  border-top: 1px solid var(--border-divider);
  border-bottom: 1px solid var(--border-divider);
}

.calc-editorial-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-divider);
  border-radius: 20px;
  padding: 3.5rem;
  margin-top: 3.5rem;
}

.calc-slider-group {
  margin-bottom: 2.2rem;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.calc-slider-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-cream);
}

.calc-slider-val {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.amber-slider {
  width: 100%;
  height: 4px;
  background: #27272a;
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.amber-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-amber);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-amber);
  transition: transform var(--transition-fast);
}

.amber-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

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

.niche-pill {
  background: transparent;
  border: 1px solid var(--border-divider);
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-fast);
}

.niche-pill.active, .niche-pill:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.05);
}

/* Output Column */
.calc-output-card {
  background: #121318;
  border: 1px solid var(--border-divider);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.out-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.out-metric-box {
  border-bottom: 1px solid var(--border-divider);
  padding-bottom: 1rem;
}

.out-metric-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.out-metric-val {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-ivory);
}

.out-net-profit-banner {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.np-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.np-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-amber);
  margin-top: 0.25rem;
}

/* ==========================================================================
   SERVICES & PRICING
   ========================================================================== */

.pricing-section {
  padding: 100px 0 120px;
}

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

.price-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-divider);
  border-radius: 16px;
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-smooth);
}

.price-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: var(--accent-amber);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.04) 0%, var(--bg-surface) 100%);
}

.price-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-amber);
  margin-bottom: 1.25rem;
}

.price-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

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

.price-amount {
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-ivory);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-divider);
}

.price-amount span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.price-features-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.price-features-list li {
  font-size: 0.85rem;
  color: var(--text-cream);
  line-height: 1.6;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.price-features-list li::before {
  content: '—';
  color: var(--accent-amber);
  flex-shrink: 0;
}

/* ==========================================================================
   OFFICIAL LEGAL ENTITY (OOO AQUA)
   ========================================================================== */

.legal-editorial-section {
  padding: 100px 0;
  background: #0c0d12;
  border-top: 1px solid var(--border-divider);
}

.legal-box-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  margin-top: 3.5rem;
}

.legal-details-col h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.legal-details-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.editorial-legal-table {
  width: 100%;
  border-collapse: collapse;
}

.editorial-legal-table tr {
  border-bottom: 1px solid var(--border-divider);
}

.editorial-legal-table td {
  padding: 0.85rem 0;
  font-size: 0.9rem;
}

.editorial-legal-table td:first-child {
  color: var(--text-muted);
  width: 40%;
}

.editorial-legal-table td:last-child {
  color: var(--text-ivory);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.legal-action-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-divider);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.legal-action-panel h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.legal-action-panel p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.editorial-footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-divider);
  background: #060608;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3.5rem;
}

.footer-manifesto-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 450px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.fl-col h5 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.fl-col ul {
  list-style: none;
}

.fl-col li {
  margin-bottom: 0.75rem;
}

.fl-col a {
  font-size: 0.85rem;
  color: var(--text-cream);
  opacity: 0.75;
}

.fl-col a:hover {
  opacity: 1;
  color: var(--accent-amber);
}

.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid var(--border-divider);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   MODAL & TOAST
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #101117;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

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

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  background: #08080a;
  border: 1px solid var(--border-divider);
  color: var(--text-ivory);
  outline: none;
  font-family: inherit;
}

.form-input:focus {
  border-color: var(--accent-amber);
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #181922;
  border: 1px solid var(--accent-amber);
  color: var(--text-ivory);
  padding: 1rem 1.75rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  font-size: 0.85rem;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .about-editorial-grid, .calc-editorial-box, .legal-box-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .work-cards-grid {
    grid-template-columns: 1fr;
  }
  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .hero-overtitle-box {
    left: 20px;
    right: 20px;
    bottom: 5px;
  }
  .viewfinder-tag, .hero-top-right-tag {
    display: none;
  }
  .achievements-grid {
    grid-template-columns: 1fr;
  }
}
