/* =========================================================================
   Mauna Elementor · Temel stiller (tokenlar, fontlar, butonlar)
   Her widget .mauna sarmalayıcısı içine render edilir; stiller o kapsamda kalır.
   ========================================================================= */

/* ---- yazı tipleri: yerel woff2, sadece bu dosya yüklendiğinde ---- */
@font-face {
  font-family: "Archivo Var";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo Var";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk Var";
  src: url("../fonts/hanken-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk Var";
  src: url("../fonts/hanken-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- tokenlar: .mauna kapsamında, temayı etkilemez ----
   NİYET değişkenleri (Elementor Stil sekmesinden geçilir):
     --mauna-accent  : vurgu (kırmızı)
     --mauna-surface : açık zemin
     --mauna-ink     : koyu metin / mürekkep
     --mauna-line    : çizgi & kontur & SVG çizgi rengi
     --mauna-dark-bg : koyu bölüm zemini
     --mauna-dark-ink: koyu bölüm metni
   Diğer tüm renkler bunlardan türetilir; birini değiştirmek her yeri günceller. */
.mauna {
  --_accent:  var(--mauna-accent, oklch(0.585 0.205 25));
  --_surface: var(--mauna-surface, oklch(0.985 0.004 70));
  --_ink:     var(--mauna-ink, oklch(0.245 0.031 264));
  --_line:    var(--mauna-line, oklch(0.845 0.012 264));
  --_dbg:     var(--mauna-dark-bg, oklch(0.235 0.030 264));
  --_dink:    var(--mauna-dark-ink, oklch(0.955 0.006 70));

  --paper:        var(--_surface);
  --paper-2:      color-mix(in oklab, var(--_surface), var(--_ink) 3%);
  --stone:        color-mix(in oklab, var(--_surface), var(--_ink) 7%);
  --stone-deep:   color-mix(in oklab, var(--_surface), var(--_ink) 14%);
  --ink:          var(--_ink);
  --ink-soft:     color-mix(in oklab, var(--_ink), var(--_surface) 22%);
  --ink-mute:     color-mix(in oklab, var(--_ink), var(--_surface) 40%);
  --line:         var(--_line);
  --line-soft:    color-mix(in oklab, var(--_line), var(--_surface) 55%);
  --red:          var(--_accent);
  --red-deep:     color-mix(in oklab, var(--_accent), #000 22%);
  --red-wash:     color-mix(in oklab, var(--_accent), var(--_surface) 92%);
  --d-bg:         var(--_dbg);
  --d-surface:    color-mix(in oklab, var(--_dbg), #fff 8%);
  --d-text:       var(--_dink);
  --d-mute:       color-mix(in oklab, var(--_dink), var(--_dbg) 30%);
  --d-line:       color-mix(in oklab, var(--_dink), var(--_dbg) 68%);
  --v2-line-1:    color-mix(in oklab, var(--_line), var(--_surface) 22%);
  --v2-line-2:    color-mix(in oklab, var(--_line), var(--_ink) 8%);

  --f-display: "Archivo Var", "Archivo", "Trebuchet MS", system-ui, sans-serif;
  --f-head:    "Archivo Var", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body:    "Hanken Grotesk Var", "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1rem, 0.95rem + 0.24vw, 1.15rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.55rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.15rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3.15rem);
  --step-4:  clamp(2.7rem, 2rem + 3.4vw, 4.75rem);
  --step-5:  clamp(3.4rem, 2.2rem + 5.6vw, 6.6rem);

  --sp-3xs: 4px;  --sp-2xs: 8px;  --sp-xs: 12px; --sp-sm: 16px;
  --sp-md: 24px;  --sp-lg: 32px;  --sp-xl: 48px; --sp-2xl: 64px;
  --sp-3xl: 96px; --sp-4xl: clamp(96px, 7vw + 40px, 160px);

  --edge: clamp(20px, 5vw, 88px);
  --maxw: 1320px;
  --radius: 14px;
  --radius-sm: 9px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
.mauna *, .mauna *::before, .mauna *::after { box-sizing: border-box; }
.mauna img, .mauna svg { display: block; max-width: 100%; }
.mauna a { color: inherit; text-decoration: none; }
.mauna p { margin: 0; max-width: 68ch; }
.mauna h1, .mauna h2, .mauna h3, .mauna h4 {
  font-family: var(--f-head); font-weight: 700; line-height: 1.06; margin: 0;
  letter-spacing: -0.015em; text-wrap: balance;
}
.mauna ::selection { background: var(--red); color: #fff; }

/* ---- bölüm sarmalayıcı ---- */
.mauna-section { padding-block: clamp(56px, 9vw, 112px); }
.mauna-section--tight { padding-block: clamp(40px, 6vw, 80px); }
.mauna-section.is-dark { background: var(--d-bg); color: var(--d-text); }
.mauna-wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--edge); }
.mauna-stack > * + * { margin-top: var(--sp-md); }

/* ---- eyebrow ---- */
.mauna-eyebrow {
  font-family: var(--f-head); font-size: var(--step--1); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-deep);
  display: inline-flex; align-items: center; gap: var(--sp-2xs); margin: 0;
}
.mauna-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--red); }
.is-dark .mauna-eyebrow { color: oklch(0.8 0.13 25); }
.is-dark .mauna-eyebrow::before { background: oklch(0.72 0.16 25); }

.mauna-h2 {
  font-family: var(--f-display); font-weight: 800; font-stretch: 125%;
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.02;
  letter-spacing: -0.02em; margin: var(--sp-sm) 0 0; text-wrap: balance;
}
.is-dark .mauna-h2 { color: var(--d-text); }
.mauna-sec-head { display: grid; gap: var(--sp-md); max-width: 54ch; margin-bottom: var(--sp-2xl); }
.mauna-sec-head--split { max-width: none; }
@media (min-width: 900px) {
  .mauna-sec-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: var(--sp-2xl); }
}

/* ---- butonlar ---- */
.mauna-btn {
  --_bg: var(--ink); --_fg: var(--paper);
  display: inline-flex; align-items: center; gap: var(--sp-2xs);
  padding: 15px 24px 14px; background: var(--_bg); color: var(--_fg);
  font-family: var(--f-head); font-weight: 600; font-size: var(--step--1); letter-spacing: 0.02em;
  border: 1px solid var(--_bg); border-radius: 999px;
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
  cursor: pointer;
}
.mauna-btn .arw { transition: transform 0.4s var(--ease); }
.mauna-btn:hover { transform: translateY(-2px); }
.mauna-btn:hover .arw { transform: translate(3px, -3px); }
.mauna-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.mauna-btn--primary { --_bg: var(--red); --_fg: #fff; }
.mauna-btn--primary:hover { --_bg: var(--red-deep); }
.mauna-btn--ghost { --_bg: transparent; --_fg: var(--ink); border-color: var(--line); }
.mauna-btn--ghost:hover { --_bg: var(--ink); --_fg: var(--paper); }
.is-dark .mauna-btn--ghost { --_fg: var(--d-text); border-color: var(--d-line); }
.is-dark .mauna-btn--ghost:hover { --_bg: var(--d-text); --_fg: var(--ink); }
.mauna-actions { display: flex; flex-wrap: wrap; gap: var(--sp-sm); align-items: center; }

.mauna-textlink {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-head); font-weight: 600; font-size: var(--step--1); color: var(--red-deep);
  padding-bottom: 2px;
  background: linear-gradient(var(--red), var(--red)) left bottom / 100% 1.5px no-repeat;
  transition: background-size 0.35s var(--ease);
}
.mauna-textlink:hover { background-size: 0% 1.5px; }

/* ---- reveal (JS ile açılır) ---- */
.mauna [data-rise] { opacity: 0; transform: translateY(22px); }
.mauna [data-rise].is-shown { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.mauna [data-rise].is-shown[data-d="1"] { transition-delay: 0.08s; }
.mauna [data-rise].is-shown[data-d="2"] { transition-delay: 0.16s; }
.mauna [data-rise].is-shown[data-d="3"] { transition-delay: 0.24s; }

/* JS yoksa / editörde / lite modda içerik görünür kalsın */
.mauna-no-js .mauna [data-rise],
.mauna-static [data-rise],
html.mauna-lite .mauna [data-rise] { opacity: 1 !important; transform: none !important; }

.mauna-vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .mauna *, .mauna *::before, .mauna *::after {
    animation-duration: 0.001ms !important; transition-duration: 0.001ms !important;
  }
  .mauna [data-rise] { opacity: 1 !important; transform: none !important; }
}
