/* ========================================
   DRAMATIC DESIGN ELEMENTS
   L'Ergonome Autonome - Editorial Luxury
   ======================================== */

/* ========================================
   HERO - DRAMATIC SPLIT LAYOUT
   ======================================== */

.hero--dramatic {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 3rem;
  background:
    linear-gradient(135deg, var(--color-paper) 0%, var(--color-paper-warm) 50%, var(--color-paper-alt) 100%);
  position: relative;
  overflow: hidden;
}

/* Grain overlay */
.hero--dramatic::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

/* Decorative diagonal line */
.hero--dramatic::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 45%;
  width: 1px;
  height: 60%;
  background: linear-gradient(180deg, transparent, var(--color-accent-secondary), transparent);
  opacity: 0.3;
  transform: rotate(15deg);
  z-index: 1;
}

@media (min-width: 768px) {
  .hero--dramatic {
    padding: 0 4rem;
  }
}

@media (min-width: 1024px) {
  .hero--dramatic {
    padding: 0 6rem;
  }

  .hero--dramatic::after {
    right: 42%;
  }
}

/* Split Layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
  }
}

/* Hero Message (Left side) */
.hero-message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero--dramatic .hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent-secondary);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeSlideRight 0.8s var(--transition-elegant) 0.2s forwards;
}

.hero--dramatic .hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--color-accent-secondary);
}

/* Dramatic Title */
.hero-title--dramatic {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-ink);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.hero-title--dramatic .hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: titleRevealDramatic 0.9s var(--transition-elegant) forwards;
}

.hero-title--dramatic .hero-title-line:nth-child(1) { animation-delay: 0.3s; }
.hero-title--dramatic .hero-title-line:nth-child(2) { animation-delay: 0.45s; }
.hero-title--dramatic .hero-title-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes titleRevealDramatic {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Manifesto line - the accent */
.hero-manifesto {
  font-family: var(--font-headings);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 2rem;
  position: relative;
  padding-left: 1.5rem;
  opacity: 0;
  animation: fadeSlideRight 0.8s var(--transition-elegant) 0.8s forwards;
}

.hero-manifesto::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 3px;
  background: linear-gradient(180deg, var(--color-accent-secondary), var(--color-accent-copper));
  border-radius: 2px;
}

@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero--dramatic .hero-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text-warm);
  margin-bottom: 2.5rem;
  max-width: 480px;
  opacity: 0;
  animation: fadeUp 0.8s var(--transition-elegant) 1s forwards;
}

.hero--dramatic .btn--large {
  padding: 1.125rem 2.75rem;
  font-size: 0.9375rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--transition-elegant) 1.2s forwards;
}

/* Hero Impact (Right side) - Giant Number */
.hero-impact {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 300px;
}

@media (min-width: 1024px) {
  .hero-impact {
    min-height: 400px;
  }
}

.hero-number-container {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-number-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.6s var(--transition-elegant) 0.6s forwards;
}

.hero-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 600;
  line-height: 0.9;
  background: linear-gradient(135deg, var(--color-accent-secondary) 0%, var(--color-accent-copper) 50%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: scale(0.8);
  animation: numberReveal 1s var(--transition-elegant) 0.8s forwards;
}

@keyframes numberReveal {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-number-sub {
  display: block;
  font-family: var(--font-headings);
  font-size: 1rem;
  font-style: italic;
  color: var(--color-accent);
  margin-top: 1rem;
  opacity: 0;
  animation: fadeUp 0.6s var(--transition-elegant) 1.2s forwards;
}

/* Decorative circle behind number */
.hero-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  border: 1px solid var(--color-accent-secondary);
  border-radius: 50%;
  opacity: 0;
  animation: circleExpand 1.2s var(--transition-elegant) 0.4s forwards;
}

.hero-decoration::before {
  content: '';
  position: absolute;
  inset: -20px;
  border: 1px dashed var(--color-border);
  border-radius: 50%;
  opacity: 0.5;
}

@keyframes circleExpand {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  to {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.6s var(--transition-elegant) 1.5s forwards;
}

.hero-scroll span {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--color-accent-secondary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% {
    transform: scaleY(1);
    opacity: 1;
  }
  50% {
    transform: scaleY(0.6);
    opacity: 0.5;
  }
}

/* ========================================
   TIMELINE - DRAMATIC VERTICAL
   ======================================== */

.journey--dramatic {
  background: var(--color-paper-warm);
  padding: 5rem 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .journey--dramatic {
    padding: 6rem 4rem;
  }
}

/* Dramatic Timeline */
.timeline-dramatic {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 3rem auto 0;
  position: relative;
  padding-left: 80px;
}

/* Main vertical line */
.timeline-dramatic::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50px;
  width: 3px;
  background: linear-gradient(180deg,
    var(--color-accent-secondary) 0%,
    var(--color-accent-copper) 33%,
    var(--color-accent) 66%,
    var(--color-accent-dark) 100%
  );
  border-radius: 2px;
}

@media (min-width: 768px) {
  .timeline-dramatic {
    padding-left: 100px;
    max-width: 800px;
  }

  .timeline-dramatic::before {
    left: 60px;
  }
}

/* Timeline Item */
.timeline-dramatic-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  padding: 2.5rem 0;
  position: relative;
}

/* Content alignment - always left aligned */
.timeline-dramatic-content {
  text-align: left;
  flex: 1;
}

/* Year marker */
.timeline-dramatic-marker {
  position: absolute;
  left: -30px;
  top: 2.5rem;
  transform: translateX(-50%);
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-dramatic-marker {
    left: -40px;
  }
}

.timeline-dramatic-year {
  width: 50px;
  height: 50px;
  background: var(--color-paper);
  border: 2px solid var(--color-accent-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(184, 134, 11, 0.2);
  transition: all 0.4s var(--transition-elegant);
}

.timeline-dramatic-item:hover .timeline-dramatic-year {
  background: linear-gradient(135deg, var(--color-accent-secondary), var(--color-accent-copper));
  color: var(--color-paper);
  transform: scale(1.1);
}

/* Content */
.timeline-dramatic-content {
  padding: 0;
}

/* Revenue - Progressive sizing */
.timeline-dramatic-ca {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  color: var(--color-accent-secondary);
  margin-bottom: 0.5rem;
  transition: all 0.4s var(--transition-elegant);
}

/* Progressive font sizes for revenue */
.timeline-dramatic-item:nth-child(1) .timeline-dramatic-ca { font-size: 2rem; }
.timeline-dramatic-item:nth-child(2) .timeline-dramatic-ca { font-size: 2.5rem; }
.timeline-dramatic-item:nth-child(3) .timeline-dramatic-ca { font-size: 3rem; }
.timeline-dramatic-item:nth-child(4) .timeline-dramatic-ca { font-size: 3.75rem; }

@media (min-width: 768px) {
  .timeline-dramatic-item:nth-child(1) .timeline-dramatic-ca { font-size: 2.5rem; }
  .timeline-dramatic-item:nth-child(2) .timeline-dramatic-ca { font-size: 3.25rem; }
  .timeline-dramatic-item:nth-child(3) .timeline-dramatic-ca { font-size: 4rem; }
  .timeline-dramatic-item:nth-child(4) .timeline-dramatic-ca { font-size: 5rem; }
}

.timeline-dramatic-label {
  font-family: var(--font-headings);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.timeline-dramatic-text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   PULL QUOTE - EDITORIAL ELEMENT
   ======================================== */

.pull-quote {
  padding: 4rem 2rem;
  background: var(--color-ink);
  color: var(--color-paper);
  position: relative;
  overflow: hidden;
}

.pull-quote::before {
  content: '"';
  position: absolute;
  top: -0.2em;
  left: 5%;
  font-family: var(--font-display);
  font-size: 20rem;
  line-height: 1;
  color: var(--color-accent-secondary);
  opacity: 0.1;
  pointer-events: none;
}

.pull-quote-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pull-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 1.5rem;
}

.pull-quote-text em {
  color: var(--color-accent-secondary);
  font-style: normal;
}

.pull-quote-author {
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.6);
}

/* ========================================
   NEWSLETTER - CUSTOM FORM
   ======================================== */

.newsletter--custom {
  background: linear-gradient(180deg, var(--color-paper-warm) 0%, var(--color-paper-alt) 100%);
  padding: 5rem 2rem;
  position: relative;
}

.newsletter--custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent-secondary), transparent);
}

.newsletter-custom-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-custom-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--color-ink);
  margin-bottom: 1rem;
}

.newsletter-custom-subtitle {
  font-family: var(--font-headings);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 2rem;
}

.newsletter-custom-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 450px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .newsletter-custom-form {
    flex-direction: row;
  }
}

.newsletter-custom-input {
  flex: 1;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid var(--color-border);
  background: var(--color-paper);
  color: var(--color-ink);
  border-radius: 0;
  transition: all 0.3s var(--transition-elegant);
}

.newsletter-custom-input:focus {
  outline: none;
  border-color: var(--color-accent-secondary);
  box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.1);
}

.newsletter-custom-input::placeholder {
  color: var(--color-text-light);
}

.newsletter-custom-btn {
  padding: 1rem 2rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-ink);
  color: var(--color-paper);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--transition-elegant);
  white-space: nowrap;
}

.newsletter-custom-btn:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 94, 60, 0.25);
}

.newsletter-legal {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.newsletter-legal a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ========================================
   ENHANCED TEXTURES & BACKGROUNDS
   ======================================== */

/* Global grain overlay - more pronounced */
.texture-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Journey section - warm atmospheric gradient */
.journey--dramatic::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 80%, rgba(184, 134, 11, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(124, 94, 60, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.journey--dramatic > * {
  position: relative;
  z-index: 1;
}

/* Pull quote enhanced texture */
.pull-quote::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.08;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Decorative corner flourishes */
.pull-quote .pull-quote-content::before,
.pull-quote .pull-quote-content::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(184, 134, 11, 0.3);
  pointer-events: none;
}

.pull-quote .pull-quote-content::before {
  top: -20px;
  left: -20px;
  border-right: none;
  border-bottom: none;
}

.pull-quote .pull-quote-content::after {
  bottom: -20px;
  right: -20px;
  border-left: none;
  border-top: none;
}

/* Value proposition section - subtle texture */
.pain-points {
  position: relative;
}

.pain-points::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(245, 240, 232, 0.8) 0%, transparent 60%);
  pointer-events: none;
}

/* Newsletter section enhanced */
.newsletter--custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent-secondary), transparent);
}

/* Decorative floating elements */
.hero--dramatic .hero-impact::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatSlow 8s ease-in-out infinite;
}

.hero--dramatic .hero-impact::after {
  content: '';
  position: absolute;
  bottom: 15%;
  left: -10%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(124, 94, 60, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatSlow 10s ease-in-out infinite reverse;
}

@keyframes floatSlow {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, -15px);
  }
}

/* Vignette effect for sections */
.journey--dramatic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent 40%, rgba(28, 25, 23, 0.03) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Separator lines with gradient */
.separator {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-border) 20%,
    var(--color-accent-secondary) 50%,
    var(--color-border) 80%,
    transparent 100%
  );
  opacity: 0.5;
  margin: 0;
}

/* Timeline enhanced markers glow */
.timeline-dramatic-year {
  position: relative;
}

.timeline-dramatic-year::before {
  content: '';
  position: absolute;
  inset: -8px;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s var(--transition-elegant);
}

.timeline-dramatic-item:hover .timeline-dramatic-year::before {
  opacity: 1;
}

/* Contact section subtle pattern */
.contact {
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(184, 134, 11, 0.03) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(124, 94, 60, 0.03) 0%, transparent 30%);
  pointer-events: none;
}

/* Footer enhanced */
.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

/* Ink bleed effect on headings */
.hero-title--dramatic .hero-title-line,
.journey-title,
.pull-quote-text {
  text-shadow: 0 1px 2px rgba(28, 25, 23, 0.05);
}

/* Paper edge effect */
.pull-quote {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
