@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Outfit:wght@300;400;500&display=swap');

/* ===== Section shell =====
   reference: py-28 md:py-64 px-8 md:px-16 overflow-hidden relative */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 112px 32px;  /* py-28 = 7rem = 112px, px-8 = 2rem = 32px */
}

@media (min-width: 768px) {
  .cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw {
    padding: 256px 64px;  /* py-64 = 16rem = 256px, px-16 = 4rem = 64px */
  }
}

/* Warm bottom vignette — reference: radial-gradient ellipse 80% 60% at 50% 100% */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(180, 165, 145, 0.08) 0%, transparent 70%);
}

/* Inner container — reference: max-w-6xl mx-auto */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__inner {
  max-width: 1152px;
  margin: 0 auto;
  position: relative;
}

/* ===== Header =====
   reference: text-center mb-16 md:mb-40 */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__header {
  text-align: center;
  margin-bottom: 64px;   /* mb-16 = 4rem */
}

@media (min-width: 768px) {
  .cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__header {
    margin-bottom: 160px;  /* md:mb-40 = 10rem */
  }
}

/* ===== Eyebrow — FadeUp =====
   reference FadeUp: opacity 0→1, y 14→0, duration 0.9s, ease [0.22,1,0.36,1]
   viewport: once:true, margin:'-10% 0px'
   Triggered by own observer (eyebrowRef), class --inview added when visible */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: #9A9A9A;
  margin: 0 0 28px;  /* mb-7 = 1.75rem */
  opacity: 0;
  transform: translateY(14px);
  will-change: transform, opacity;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__eyebrow--inview {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Headline =====
   reference: font-display font-light clamp(2.2rem,8vw,5.5rem) leading-[0.95] */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 8vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: #1A1A1A;
  margin: 0;
  display: block;
}

/* MaskedLines — each line in overflow:hidden wrapper, inner rises from y:115%→0 */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__line-wrap {
  display: block;
  overflow: hidden;
  padding-top: 0.12em;
  margin-top: -0.12em;
  padding-bottom: 0.55em;
  margin-bottom: -0.55em;
}

.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__line-inner {
  display: block;
  transform: translateY(115%);
  will-change: transform;
  transition: transform 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Line 0: delay = delay + 0 * stagger = 0s */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__line-inner--0.arcana-hiw__line-inner--inview {
  transform: translateY(0);
  transition-delay: 0s;
}

/* Line 1: delay = delay + 1 * stagger = 0.08s */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__line-inner--1.arcana-hiw__line-inner--inview {
  transform: translateY(0);
  transition-delay: 0.08s;
}

/* Italic metallic accent — same chrome gradient as hero & brand story */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__accent {
  font-style: italic;
  background-image: linear-gradient(
    180deg,
    #d9dbdf 0%,
    #bdc0c5 32%,
    #9a9ea3 66%,
    #84888d 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18))
          drop-shadow(0 1px 4px rgba(0, 0, 0, 0.1));
}

/* ===== Steps grid =====
   reference: md:grid-cols-3 gap-x-16 gap-y-16 md:gap-y-24
   = column-gap 4rem=64px, row-gap 4rem=64px / 6rem=96px */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

@media (min-width: 768px) {
  .cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 64px;
    row-gap: 96px;
  }
}

/* ===== Step card =====
   reference motion.div: initial:{opacity:0, y:36}
   animate:{opacity:1, y:0} when inView (section observer at -80px)
   transition: duration:1.3, delay:0.2+i*0.22, ease:[0.16,1,0.3,1]
   Triggered when .arcana-hiw__grid gets --inview class. */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__step {
  position: relative;
  padding-top: 32px;   /* pt-8 = 2rem */
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  .cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__step {
    padding-top: 40px;  /* md:pt-10 = 2.5rem */
  }
}

/* Staggered entrance: delay = 0.2 + i * 0.22 */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__grid--inview .arcana-hiw__step--0 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__grid--inview .arcana-hiw__step--1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.42s;
}

.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__grid--inview .arcana-hiw__step--2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.64s;
}

/* ===== Hairline =====
   reference motion.div: initial:{width:0}, animate:{width:'100%'} when inView
   transition: duration:1.2, delay:0.4+i*0.22, ease:[0.16,1,0.3,1] */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__hairline {
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: rgba(0, 0, 0, 0.08);  /* var(--border) */
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Staggered hairline draw-in: delay = 0.4 + i * 0.22 */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__grid--inview .arcana-hiw__step--0 .arcana-hiw__hairline {
  width: 100%;
  transition-delay: 0.4s;
}

.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__grid--inview .arcana-hiw__step--1 .arcana-hiw__hairline {
  width: 100%;
  transition-delay: 0.62s;
}

.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__grid--inview .arcana-hiw__step--2 .arcana-hiw__hairline {
  width: 100%;
  transition-delay: 0.84s;
}

/* ===== Ghost number =====
   reference: font-display absolute -top-1 right-0 md:-top-2
   clamp(3.5rem,14vw,6rem), opacity:0.04, group-hover:opacity:0.06
   transition-[opacity] duration-700 */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__ghost {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1;
  position: absolute;
  top: -4px;    /* -top-1 = -0.25rem */
  right: 0;
  font-size: clamp(3.5rem, 14vw, 6rem);
  opacity: 0.04;
  color: #1A1A1A;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.7s ease;  /* duration-700 */
}

@media (min-width: 768px) {
  .cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__ghost {
    top: -8px;  /* md:-top-2 = -0.5rem */
  }
}

.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__step:hover .arcana-hiw__ghost {
  opacity: 0.06;  /* group-hover:opacity-[0.06] */
}

/* ===== Glyph =====
   reference motion.div: whileHover:{rotate:360}, transition:{duration:1.1, ease:[0.16,1,0.3,1]}
   text-3xl mb-10 cursor-default inline-block
   group-hover:opacity-40 (transition-colors duration-500) */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__glyph {
  font-family: 'Outfit', sans-serif;
  font-size: 1.875rem;  /* text-3xl */
  margin-bottom: 40px;  /* mb-10 = 2.5rem */
  display: inline-block;
  color: rgba(0, 0, 0, 0.18);
  cursor: default;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.5s ease;  /* duration-500 */
}

.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__step:hover .arcana-hiw__glyph {
  transform: rotate(360deg);
  opacity: 0.4;  /* group-hover:opacity-40 */
}

/* ===== Step label =====
   reference: font-body text-[9px] tracking-[0.42em] uppercase mb-4 var(--text-muted)
   Text is "Adım 01" — text-transform:uppercase renders "ADIM 01" */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__step-label {
  font-family: 'Outfit', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #9A9A9A;
  margin: 0 0 16px;  /* mb-4 = 1rem */
}

/* ===== Title =====
   reference: font-display font-light 1.6rem mb-6
   group-hover:translate-x-1.5 = translateX(0.375rem ≈ 6px)
   transition-transform duration-500 ease-[cubic-bezier(0.16,1,0.3,1)] */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: #1A1A1A;
  margin: 0 0 24px;  /* mb-6 = 1.5rem */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__step:hover .arcana-hiw__title {
  transform: translateX(6px);  /* translate-x-1.5 = 0.375rem ≈ 6px */
}

/* ===== Description =====
   reference: font-body font-light text-[16px] md:text-[14px]
   leading-[1.9] md:leading-[2] max-w-[34ch] var(--text-secondary) */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__desc {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: #4F4F4F;
  max-width: 34ch;
  margin: 0;
}

@media (min-width: 768px) {
  .cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__desc {
    font-size: 14px;
    line-height: 2;
  }
}

/* ===== Compat line =====
   reference motion.p: initial:{opacity:0}, animate:{opacity:1} when inView
   transition: duration:1.4, delay:1.2
   text-center font-body text-[10px] tracking-[0.28em] uppercase mt-16 md:mt-28
   Text is "Tüm modern iOS..." — CSS uppercases for display */
.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__compat {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #9A9A9A;
  margin-top: 64px;   /* mt-16 = 4rem */
  opacity: 0;
  transition: opacity 1.4s ease 1.2s;
}

@media (min-width: 768px) {
  .cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__compat {
    margin-top: 112px;  /* md:mt-28 = 7rem */
  }
}

.cc_xzKzT14X1H_CJhOmJLfNZ .arcana-hiw__compat--inview {
  opacity: 1;
}
