/* HANE Yapı — quiet luxury scroll-scrub manifesto */

.hane-root {
  --hane-bg: #0d0a06;
  --hane-ink: #f3ead9;
  --hane-ink-dim: rgba(243, 234, 217, 0.62);
  --hane-gold: #c9a35c;
  --hane-gold-soft: rgba(201, 163, 92, 0.42);
  --hane-hairline: rgba(201, 163, 92, 0.28);
  --hane-display: "Cormorant Garamond", "Times New Roman", serif;
  --hane-text: "Jost", "Helvetica Neue", Arial, sans-serif;

  background: var(--hane-bg);
  color: var(--hane-ink);
  font-family: var(--hane-text);
  -webkit-font-smoothing: antialiased;
}

.hane-root ::selection {
  background: var(--hane-gold);
  color: #14100a;
}

/* ---------- fixed stage ---------- */

.hane-stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hane-canvas,
.hane-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hane-particles {
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
}

/* gentle vignette so type always sits on calm ground */
.hane-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 46%, transparent 42%, rgba(8, 6, 3, 0.55) 100%),
    linear-gradient(to bottom, rgba(8, 6, 3, 0.5) 0%, transparent 22%, transparent 72%, rgba(8, 6, 3, 0.6) 100%);
}

/* ---------- chrome ---------- */

.hane-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.1rem, 2.4vw, 2rem) clamp(1.25rem, 4vw, 3.5rem);
  pointer-events: none;
}

.hane-wordmark {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--hane-text);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: var(--hane-ink);
  text-decoration: none;
}

.hane-wordmark .mark {
  width: 1.6rem;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.hane-wordmark em {
  font-style: normal;
  color: var(--hane-gold);
}

.hane-nav-tag {
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--hane-ink-dim);
}

/* ---------- progress rail ---------- */

.hane-rail {
  position: fixed;
  left: clamp(1.1rem, 3vw, 2.6rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  pointer-events: none;
}

.hane-rail-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  color: rgba(243, 234, 217, 0.32);
  transition: color 0.6s ease;
}

.hane-rail-item .tick {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: rgba(243, 234, 217, 0.22);
  transition: background 0.6s ease, width 0.6s ease;
}

.hane-rail-item.active {
  color: var(--hane-gold);
}

.hane-rail-item.active .tick {
  background: var(--hane-gold);
  width: 1.9rem;
}

.hane-rail-sub {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: var(--hane-ink-dim);
  padding-left: 1.8rem;
  height: 0.9rem;
}

/* ---------- caption stage ---------- */

.hane-copy {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24vh clamp(1.5rem, 6vw, 5rem) 0;
  pointer-events: none;
}

/* soft legibility scrim behind the copy block — never a frosted card */
.hane-copy::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 62%;
  transform: translate(-50%, -50%);
  width: min(72rem, 96vw);
  height: 60vh;
  background: radial-gradient(
    55% 50% at 50% 50%,
    rgba(8, 6, 3, 0.5) 0%,
    rgba(8, 6, 3, 0.28) 55%,
    transparent 100%
  );
  pointer-events: none;
}

.hane-copy > * {
  position: relative;
}

.hane-num {
  font-family: var(--hane-text);
  font-size: 0.72rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--hane-gold);
  margin-bottom: clamp(1.1rem, 2.6vh, 1.8rem);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hane-num::before,
.hane-num::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 1px;
  background: var(--hane-hairline);
}

.hane-title {
  font-family: var(--hane-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 6.6vw, 5.4rem);
  line-height: 1.14;
  letter-spacing: 0.015em;
  max-width: 20ch;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(8, 6, 3, 0.65);
}

.hane-title .gold {
  color: var(--hane-gold);
  font-style: italic;
}

.hane-sub {
  font-family: var(--hane-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.45rem, 3.1vw, 2.35rem);
  line-height: 1.4;
  color: rgba(243, 234, 217, 0.82);
  max-width: 34ch;
  margin: clamp(1.4rem, 3.4vh, 2.4rem) 0 0;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(8, 6, 3, 0.6);
}

.hane-sub-rule {
  width: 1px;
  height: clamp(1.6rem, 4vh, 2.6rem);
  background: linear-gradient(to bottom, var(--hane-gold-soft), transparent);
  margin-top: clamp(1.2rem, 3vh, 2rem);
}

/* entrance animations (fire on key change / mount — never viewport-gated) */
@keyframes haneTitleIn {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes haneSubIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes haneNumIn {
  from {
    opacity: 0;
    letter-spacing: 0.85em;
  }
  to {
    opacity: 1;
    letter-spacing: 0.55em;
  }
}

.hane-title.animate-in {
  animation: haneTitleIn 1.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hane-sub.animate-in {
  animation: haneSubIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.hane-num.animate-in {
  animation: haneNumIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ---------- scroll hint ---------- */

.hane-hint {
  position: fixed;
  bottom: clamp(1.2rem, 4vh, 2.6rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-transform: uppercase;
  color: var(--hane-gold);
  text-shadow: 0 1px 18px rgba(8, 6, 3, 0.85);
  transition: opacity 0.8s ease;
  pointer-events: none;
}

/* finger swipe glyph */
.hane-hint .swipe {
  display: block;
  width: 3rem;
  height: 4rem;
  filter: drop-shadow(0 2px 10px rgba(8, 6, 3, 0.8));
}

.hane-hint .swipe svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--hane-gold);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hane-hint .swipe .trail {
  stroke: rgba(201, 163, 92, 0.55);
  stroke-width: 3.2;
  stroke-dasharray: 6 8;
  animation: haneTrail 1.6s linear infinite;
}

.hane-hint .swipe .hand {
  animation: haneSwipe 1.6s cubic-bezier(0.45, 0, 0.35, 1) infinite;
}

@keyframes haneSwipe {
  0%, 15% { transform: translateY(-7px); }
  55% { transform: translateY(9px); }
  85%, 100% { transform: translateY(-7px); }
}

@keyframes haneTrail {
  to { stroke-dashoffset: -28; }
}

.hane-hint.hidden {
  opacity: 0;
}

/* ---------- HATA window ---------- */

.hane-dialog-wrap {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(8, 6, 3, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

@keyframes haneDialogIn {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hane-dialog {
  width: min(30rem, 92vw);
  background: linear-gradient(165deg, #171209 0%, #100c06 100%);
  border: 1px solid var(--hane-hairline);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(8, 6, 3, 0.8),
    inset 0 1px 0 rgba(243, 234, 217, 0.06);
  animation: haneDialogIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
  pointer-events: auto;
}

.hane-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--hane-hairline);
}

.hane-dialog-bar .label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--hane-gold);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

.hane-dialog-bar .label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--hane-gold);
  animation: haneBlink 1.8s ease-in-out infinite;
}

@keyframes haneBlink {
  0%, 100% { background: var(--hane-gold); }
  50% { background: transparent; }
}

.hane-dialog-bar .dots {
  display: flex;
  gap: 0.45rem;
}

.hane-dialog-bar .dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(243, 234, 217, 0.3);
}

.hane-dialog-body {
  padding: clamp(1.8rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 2.4rem);
  text-align: center;
}

.hane-dialog-body p {
  font-family: var(--hane-display);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.35;
  margin: 0;
  text-wrap: balance;
}

.hane-dialog-body .fine {
  font-family: var(--hane-text);
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--hane-ink-dim);
  margin-top: 1.3rem;
}

.hane-dialog-actions {
  display: flex;
  justify-content: center;
  padding: 0 1.5rem 2rem;
}

.hane-accept {
  font-family: var(--hane-text);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--hane-gold);
  background: transparent;
  border: 1px solid var(--hane-gold-soft);
  padding: 0.95rem 2.2rem 0.95rem 2.6rem;
  cursor: pointer;
  transition: background 0.45s ease, color 0.45s ease, border-color 0.45s ease;
}

.hane-accept:hover,
.hane-accept:focus-visible {
  background: var(--hane-gold);
  border-color: var(--hane-gold);
  color: #14100a;
  outline: none;
}

/* ---------- finale (05) ---------- */

.hane-final {
  position: fixed;
  inset: 0;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
  pointer-events: none;
  background: rgba(5, 4, 2, 0.94);
}

.hane-final > * {
  pointer-events: auto;
}

@keyframes haneFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hane-final .monogram {
  font-family: var(--hane-display);
  font-size: clamp(4rem, 9vw, 6.5rem);
  font-weight: 600;
  line-height: 1;
  color: var(--hane-gold);
  animation: haneFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hane-final .name {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.6em;
  text-indent: 0.6em;
  text-transform: uppercase;
  color: var(--hane-ink);
  margin-top: 1.4rem;
  animation: haneFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hane-final .brandlogo {
  width: clamp(13rem, 30vw, 20rem);
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 40px rgba(201, 163, 92, 0.25));
  animation: haneFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hane-final .motto {
  font-family: var(--hane-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  color: var(--hane-ink);
  margin-top: 1rem;
  animation: haneFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hane-socials {
  display: flex;
  gap: clamp(1.4rem, 4vw, 2.8rem);
  margin-top: clamp(2rem, 5vh, 3.2rem);
  animation: haneFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hane-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--hane-ink);
  text-decoration: none;
  transition: color 0.45s ease;
}

.hane-social svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hane-social .underline {
  display: block;
  width: 0;
  height: 1px;
  background: var(--hane-gold);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hane-social:hover,
.hane-social:focus-visible {
  color: var(--hane-gold);
  outline: none;
}

.hane-social:hover svg,
.hane-social:focus-visible svg {
  transform: translateY(-3px);
}

.hane-social:hover .underline,
.hane-social:focus-visible .underline {
  width: 100%;
}

.hane-final .legal {
  position: absolute;
  bottom: clamp(1.1rem, 3.5vh, 2.2rem);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(243, 234, 217, 0.55);
}

/* ---------- loader ---------- */

.hane-loader {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  background: var(--hane-bg);
  transition: opacity 0.9s ease;
}

.hane-loader.done {
  opacity: 0;
  pointer-events: none;
}

.hane-loader .mark-img {
  width: 5.5rem;
  height: auto;
  animation: haneLoaderPulse 2s ease-in-out infinite;
}

@keyframes haneLoaderPulse {
  0%, 100% { opacity: 0.65; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-6px); }
}

.hane-loader .bar {
  width: min(14rem, 60vw);
  height: 1px;
  background: rgba(243, 234, 217, 0.14);
  position: relative;
  overflow: hidden;
}

.hane-loader .bar i {
  position: absolute;
  inset: 0;
  transform-origin: left;
  background: var(--hane-gold);
}

.hane-loader .pct {
  font-size: 0.62rem;
  letter-spacing: 0.5em;
  color: var(--hane-ink-dim);
}

/* ---------- scroll spacer ---------- */

.hane-spacer {
  position: relative;
  width: 100%;
  pointer-events: none;
}

/* ---------- responsive / motion ---------- */

@media (max-width: 720px) {
  .hane-rail {
    display: none;
  }
  .hane-nav-tag {
    display: none;
  }
  .hane-num::before,
  .hane-num::after {
    width: 1.3rem;
  }
  /* push T/ + ST/ toward the bottom of the phone screen */
  .hane-copy {
    justify-content: flex-end;
    padding-top: 0;
    padding-bottom: 16vh;
  }
  .hane-copy::before {
    top: 72%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hane-title.animate-in,
  .hane-sub.animate-in,
  .hane-num.animate-in,
  .hane-dialog,
  .hane-final .monogram,
  .hane-final .name,
  .hane-final .motto,
  .hane-socials {
    animation-duration: 0.01s !important;
    animation-delay: 0s !important;
  }
  .hane-hint .swipe .hand,
  .hane-hint .swipe .trail {
    animation: none;
  }
}





















/* ---------- bağımsız sürüm ekleri ---------- */

html, body {
  margin: 0;
  padding: 0;
  background: #0d0a06;
}

.gold-italic {
  color: var(--hane-gold);
  font-style: italic;
}
