/* SC-RED V5 / SC-SILK-V7 — Manrope UI + Cormorant Garamond display (OFL) */
@font-face {
  font-family: "SC Manrope";
  src: url("../fonts/Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "SC Cormorant";
  src: url("../fonts/CormorantGaramond-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

.sc-root {
  /*
   * Saten kaynağı satin-background.webp örnekleri:
   * ortanca #530101 · üst kenar #5c0204 · alt kenar #4e0203
   * kıvrım gölgesi #460001 · aydınlık #6e0809
   */
  --red-surface: #530101;
  --red-shadow: #460001;
  --red-lift: #6e0809;
  --red-glow: var(--red-lift);
  --red-join: #5c0204;
  --red-foot: #4e0203;
  --red-edge: #4c0101;
  --red-depth: var(--red-shadow);
  --red-cta: var(--red-lift);
  --red-cta-hover: #84120e;
  --red-lacquer: var(--red-cta);
  --red-signature: var(--red-surface);
  --text-ivory: #fff7f0;
  --sc-display: "SC Cormorant", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sc-page-max: 1600px;

  /* Legacy aliases (keep existing class hooks working) */
  --sc-red: var(--red-lacquer);
  --sc-red-surface: var(--red-surface);
  --sc-red-deep: var(--red-lift);
  --sc-red-depth: var(--red-shadow);
  --sc-red-shadow: var(--red-shadow);
  --sc-ink: var(--red-shadow);
  --sc-ivory: var(--text-ivory);
  --sc-white: var(--text-ivory);
  --sc-text: var(--text-ivory);
  --sc-muted: color-mix(in srgb, var(--text-ivory) 68%, transparent);
  --sc-rule: color-mix(in srgb, var(--text-ivory) 22%, transparent);
  --sc-page-gutter: clamp(24px, 4.03vw, 58px);
  --sc-header-top: 32px;
  --sc-header-clearance: 92px;
  --sc-cta-height: 46px;
  --sc-strip-height: 148px;
  color: var(--sc-text);
  font-family: "SC Manrope", sans-serif;
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

.sc-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}
.sc-brand__name {
  font-size: clamp(21px, 1.8vw, 28px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.sc-brand__descriptor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.28em;
}
.sc-brand__descriptor::before,
.sc-brand__descriptor::after {
  content: "";
  display: block;
  flex: 1;
  max-width: 55px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.sc-cta-outline,
.sc-cta-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-width: 180px;
  min-height: var(--sc-cta-height);
  padding: 11px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font: 400 15px/1.25 "SC Manrope", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.sc-cta-outline {
  color: var(--sc-text);
  background: transparent;
}
.sc-cta-outline:hover,
.sc-cta-outline:focus-visible {
  color: var(--sc-text);
  background: color-mix(in srgb, var(--red-glow, #6e0809) 42%, transparent);
  border-color: var(--sc-text);
  outline: none;
}
.sc-cta-red {
  color: var(--sc-text);
  background: var(--red-shadow);
  border-color: var(--sc-text);
}
.sc-cta-red:hover,
.sc-cta-red:focus-visible {
  background: var(--red-glow, #6e0809);
  border-color: var(--sc-text);
  outline: none;
}
.sc-cta-outline:focus-visible,
.sc-cta-red:focus-visible,
.sc-service-strip__link:focus-visible {
  outline: 2px solid var(--sc-text);
  outline-offset: 5px;
}
.sc-cta-outline[aria-disabled="true"],
.sc-cta-red[aria-disabled="true"] {
  opacity: 0.66;
  cursor: default;
}
.sc-cta__icon {
  width: 21px;
  height: 21px;
  flex: none;
}
.sc-cta__arrow {
  width: 13px;
  height: 13px;
  flex: none;
  margin-left: 3px;
}
.sc-cta-help {
  max-width: 180px;
  margin: 7px 0 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  color: inherit;
  opacity: 0.7;
}

.sc-hero-title {
  max-width: 660px;
  margin: 0;
  color: var(--sc-text);
  font-family: var(--sc-display);
  font-size: clamp(70px, 8.33vw, 112px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}
.sc-hero-subtitle {
  max-width: 675px;
  margin: 19px 0 0;
  color: var(--sc-text);
  font-size: clamp(18px, 1.67vw, 24px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

/* V4: translucent deep-red strip — never ivory/cream */
.sc-service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  box-sizing: border-box;
  min-height: var(--sc-strip-height);
  background: color-mix(in srgb, var(--red-shadow) 55%, transparent);
  color: var(--sc-text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sc-service-strip__item {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 18px;
  padding: 28px 24px;
  min-width: 0;
  color: inherit;
}
.sc-service-strip__item + .sc-service-strip__item::before {
  position: absolute;
  content: "";
  top: 28px;
  bottom: 28px;
  left: 0;
  width: 1px;
  background: var(--sc-rule);
}
.sc-service-strip__icon {
  width: 48px;
  height: 48px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.sc-service-strip__title {
  margin: 0 0 6px;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.sc-service-strip__link {
  color: var(--sc-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}
.sc-service-strip__arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 247, 240, 0.45);
  border-radius: 50%;
  color: var(--sc-text);
}

.sc-mobile-dock {
  display: none;
}

@media (max-width: 1100px) and (min-width: 768px) {
  .sc-service-strip__item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 24px 18px;
  }
  .sc-service-strip__icon {
    width: 36px;
    height: 36px;
  }
  .sc-service-strip__arrow {
    display: none;
  }
  .sc-service-strip__title {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .sc-root {
    --sc-page-gutter: 24px;
    --sc-cta-height: 50px;
    --sc-header-clearance: 72px;
  }
  .sc-brand {
    gap: 6px;
  }
  .sc-brand__name {
    font-size: clamp(11px, 3.4vw, 15px);
    letter-spacing: 0.08em;
  }
  .sc-brand__descriptor {
    font-size: clamp(6px, 1.9vw, 7px);
    gap: 8px;
    letter-spacing: 0.16em;
  }
  .sc-brand__descriptor::before,
  .sc-brand__descriptor::after {
    max-width: 22px;
  }
  .sc-hero-title {
    max-width: 100%;
    font-family: var(--sc-display);
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.025em;
  }
  .sc-hero-subtitle {
    max-width: 100%;
    font-size: clamp(13px, 3.6vw, 15px);
    line-height: 1.4;
    margin-top: 12px;
  }
  .sc-mobile-dock {
    position: fixed;
    z-index: 40;
    display: block;
    right: 0;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
    padding: 12px max(20px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    background: linear-gradient(
      180deg,
      transparent,
      color-mix(in srgb, var(--red-shadow) 92%, transparent) 28%,
      var(--red-shadow)
    );
  }
  .sc-mobile-dock .sc-cta-red {
    display: flex;
    width: 100%;
    min-height: 50px;
    background: color-mix(in srgb, var(--red-depth) 72%, transparent);
    border-color: var(--sc-text);
  }
  .sc-service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
  }
  .sc-service-strip__item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 24px 18px;
  }
  .sc-service-strip__item + .sc-service-strip__item::before {
    top: 18px;
    bottom: 18px;
  }
  .sc-service-strip__item:nth-child(3)::before {
    display: none;
  }
  .sc-service-strip__icon {
    width: 30px;
    height: 30px;
  }
  .sc-service-strip__title {
    font-size: 17px;
  }
  .sc-service-strip__link {
    font-size: 11px;
  }
  .sc-service-strip__arrow {
    display: none;
  }
}

@media (max-width: 359px) {
  .sc-root {
    --sc-page-gutter: 20px;
  }
  .sc-brand__name {
    font-size: 13px;
  }
  .sc-service-strip__item {
    padding-inline: 14px;
    gap: 7px;
  }
  .sc-service-strip__title {
    font-size: 15px;
  }
  .sc-mobile-dock {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-cta-outline,
  .sc-cta-red {
    transition: none;
  }
}
