:root {
  --cyan: #019ac0;
  --navy: #012a87;
  --magenta: #f50f71;
  --orange: #fd5b38;
  --gold: #fcb821;
  --green: #05ad4c;
  --ink: #012338;
  --void: #010f1a;
  --fog: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.12);
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100dvh;
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(1, 42, 135, 0.35), transparent 55%),
    radial-gradient(90% 70% at 50% -10%, rgba(1, 154, 192, 0.18), transparent 50%),
    linear-gradient(165deg, var(--void) 0%, var(--ink) 55%, #021a2c 100%);
  background-attachment: fixed;
  color: #fff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.stage {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform, opacity;
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite;
}

.blob--cyan {
  width: min(58vw, 520px);
  height: min(58vw, 520px);
  top: -12%;
  left: 8%;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  animation-duration: 26s;
}

.blob--magenta {
  width: min(50vw, 460px);
  height: min(50vw, 460px);
  top: 18%;
  right: -8%;
  background: radial-gradient(circle, var(--magenta) 0%, transparent 70%);
  animation-duration: 20s;
  animation-delay: -6s;
}

.blob--gold {
  width: min(48vw, 440px);
  height: min(48vw, 440px);
  bottom: -10%;
  left: 22%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  animation-duration: 24s;
  animation-delay: -12s;
  opacity: 0.4;
}

.blob--green {
  width: min(42vw, 380px);
  height: min(42vw, 380px);
  bottom: 12%;
  right: 10%;
  background: radial-gradient(circle, var(--green) 0%, transparent 70%);
  animation-duration: 28s;
  animation-delay: -4s;
  opacity: 0.35;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 48%,
    transparent 20%,
    rgba(1, 15, 26, 0.55) 100%
  );
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: clamp(1.5rem, 4vw, 3rem);
  perspective: 1200px;
}

.logo-scene {
  width: min(72vw, 420px);
  aspect-ratio: 1448 / 1086;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}

.hero.is-compact .logo-scene {
  transform: scale(0.82) translateY(-6vh);
}

.logo-magnet {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.logo-breath {
  width: 100%;
  height: 100%;
  transform-origin: 50% 48%;
  filter: drop-shadow(0 18px 40px rgba(1, 154, 192, 0.2));
  animation:
    breath 7.5s ease-in-out 1.4s infinite,
    glow-shift 8s ease-in-out 1.4s infinite;
}

.logo-mark {
  width: 100%;
  height: 100%;
}

.logo-mark svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.logo-mark path {
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transform-box: fill-box;
  transform-origin: center;
  animation: reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.logo-mark path:nth-of-type(1) {
  animation-delay: 0.08s;
}
.logo-mark path:nth-of-type(2) {
  animation-delay: 0.16s;
}
.logo-mark path:nth-of-type(3) {
  animation-delay: 0.24s;
}
.logo-mark path:nth-of-type(4) {
  animation-delay: 0.32s;
}
.logo-mark path:nth-of-type(5) {
  animation-delay: 0.4s;
}
.logo-mark path:nth-of-type(6) {
  animation-delay: 0.48s;
}
.logo-mark path:nth-of-type(7) {
  animation-delay: 0.62s;
}

.scroll-cue {
  position: absolute;
  bottom: clamp(1.25rem, 4vh, 2.5rem);
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  transform: translateX(-50%);
  opacity: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fog);
  animation: cue-in 0.9s ease 1.8s forwards;
}

.scroll-cue__line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), transparent);
  transform-origin: top;
  animation: cue-pulse 2.2s ease-in-out 2.2s infinite;
}

.panel {
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 8rem) 0 clamp(3rem, 8vh, 5rem);
}

.panel__head {
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

.panel__kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cyan);
}

.panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.brand-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 4vw, 3rem);
}

.brand {
  display: grid;
  gap: 1rem;
  align-content: start;
  color: inherit;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-6px);
}

.brand__logo {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 0.35rem 0;
}

.brand__logo img {
  display: block;
  width: auto;
  max-width: min(100%, 220px);
  max-height: 72px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
  transition: filter 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover .brand__logo img,
.brand:focus-visible .brand__logo img {
  transform: scale(1.04);
  filter: drop-shadow(0 16px 32px rgba(1, 154, 192, 0.28));
}

.brand__logo--airpoll img {
  filter: brightness(1.65) contrast(1.05) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.brand:hover .brand__logo--airpoll img,
.brand:focus-visible .brand__logo--airpoll img {
  filter: brightness(1.8) contrast(1.05) drop-shadow(0 16px 32px rgba(1, 154, 192, 0.28));
}

.brand__logo--dekoratif img {
  mix-blend-mode: screen;
  filter: brightness(1.15) contrast(1.05) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.brand__logo--beyazgo img {
  max-height: 56px;
  border-radius: 6px;
}

.brand__meta {
  display: grid;
  gap: 0.2rem;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__url {
  color: var(--fog);
  font-size: 0.92rem;
}

.office-list {
  display: grid;
  gap: clamp(2.5rem, 6vh, 4rem);
}

.office {
  display: grid;
  gap: 0.55rem;
  padding-top: clamp(1.5rem, 3vh, 2rem);
  border-top: 1px solid var(--line);
}

.office__brand {
  margin-bottom: 0.35rem;
}

.office__brand img {
  display: block;
  width: auto;
  max-width: 140px;
  max-height: 48px;
  height: auto;
  object-fit: contain;
}

.office__brand--ozspot {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.office__ozspot-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(1, 154, 192, 0.28));
}

.office__ozspot-word {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: #fff;
  font-stretch: normal;
  transform: none;
}

.office__label {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.office__sub {
  margin: 0;
  color: var(--cyan);
  font-weight: 600;
}

.office__addr {
  margin: 0.35rem 0 0;
  max-width: 34rem;
  color: var(--fog);
  line-height: 1.55;
}

.office__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  margin: 0.55rem 0 0;
  font-weight: 600;
}

.office__contact a {
  position: relative;
  color: #fff;
}

.office__contact a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15em;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.office__contact a:hover::after,
.office__contact a:focus-visible::after {
  transform: scaleX(1);
}

.foot {
  display: grid;
  place-items: center;
  gap: 2rem;
  padding: 2rem 1rem 3.5rem;
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.foot__mark {
  width: min(28vw, 120px);
  height: auto;
  opacity: 0.85;
  filter: drop-shadow(0 10px 24px rgba(1, 154, 192, 0.25));
}

/* SITENANO credits — adapted from serdarklise.com */
.footer-credit {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0.5rem 0 0.75rem;
}

.footer-credit-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
}

.footer-credit-ornament {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(1, 154, 192, 0.55), transparent);
  position: relative;
}

.footer-credit-ornament::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(1, 154, 192, 0.45);
}

.footer-credit-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin: 0;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(1, 154, 192, 0.1) 55%,
    rgba(245, 15, 113, 0.08) 100%
  );
  border: 1px solid rgba(1, 154, 192, 0.28);
  border-radius: 20px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-credit-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}

.footer-credit-line-by {
  margin-top: 0.1rem;
}

.footer-credit-text a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-credit-text a:hover,
.footer-credit-text a:focus-visible {
  color: var(--cyan);
}

.footer-credit-sep {
  color: rgba(255, 255, 255, 0.35);
}

.footer-credit-by {
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
}

.footer-credit-brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-decoration: none;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.footer-credit-brand:hover,
.footer-credit-brand:focus-visible {
  opacity: 0.88;
  filter: brightness(1.1);
  -webkit-text-fill-color: transparent;
}

@media (max-width: 767px) {
  .footer-credit-ornament {
    display: none;
  }

  .footer-credit-text {
    width: 100%;
    box-sizing: border-box;
    padding: 0.9rem 1rem;
    font-size: 0.78rem;
    border-radius: 14px;
  }
}

[data-reveal] .panel__head,
[data-reveal] .brand-rail > li,
[data-reveal] .office,
[data-reveal].foot {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 0.1s);
}

[data-reveal].is-in .panel__head,
[data-reveal].is-in .brand-rail > li,
[data-reveal].is-in .office,
[data-reveal].is-in.foot {
  opacity: 1;
  transform: none;
}

[data-reveal].foot {
  transition-delay: 0.08s;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(4%, 6%, 0) scale(1.08);
  }
  66% {
    transform: translate3d(-5%, -3%, 0) scale(0.94);
  }
}

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

@keyframes breath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes glow-shift {
  0%,
  100% {
    filter: drop-shadow(0 18px 40px rgba(1, 154, 192, 0.28));
  }
  33% {
    filter: drop-shadow(0 18px 44px rgba(245, 15, 113, 0.26));
  }
  66% {
    filter: drop-shadow(0 18px 40px rgba(252, 184, 33, 0.22));
  }
}

@keyframes cue-in {
  to {
    opacity: 1;
  }
}

@keyframes cue-pulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.85;
  }
  50% {
    transform: scaleY(0.55);
    opacity: 0.35;
  }
}

@media (min-width: 900px) {
  .brand-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .office-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .office {
    border-top: 0;
    padding-top: 0;
    padding-right: 1.25rem;
    border-right: 1px solid var(--line);
  }

  .office:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .brand-rail {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .blob,
  .logo-breath,
  .logo-mark path,
  .scroll-cue,
  .scroll-cue__line {
    animation: none !important;
  }

  .blob {
    opacity: 0.35;
  }

  .logo-mark path {
    opacity: 1;
    transform: none;
  }

  .logo-breath {
    filter: drop-shadow(0 16px 36px rgba(1, 154, 192, 0.22));
  }

  .logo-magnet {
    transform: none !important;
  }

  .scroll-cue {
    opacity: 1;
  }

  [data-reveal] .panel__head,
  [data-reveal] .brand-rail > li,
  [data-reveal] .office,
  [data-reveal].foot {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
