@charset "UTF-8";

/* ==========================================================================
   NICE TO GRAFIK — Main Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   Global & Base Styles
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;
  font-synthesis: none;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: #cbd5e1 #f8fafc;
  scrollbar-width: thin;
}

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

* {
  margin: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

html,
body {
  font-family: 'Outfit', 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

html {
  min-width: 320px;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  background-color: #ffffff;
  color: #0f172a;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#hero {
  aspect-ratio: 1679 / 844;
}

#hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.42), rgba(15, 23, 42, 0.18) 38%, transparent 68%);
  content: "";
  pointer-events: none;
}

#work {
  padding-bottom: 4rem;
}

#about {
  padding-top: 4rem;
}

.hero-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 1;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-slider-indicator {
  width: 7px;
  height: 7px;
  border: 1px solid #fff;
  border-radius: 50%;
}

.hero-slider-indicator.is-active {
  background-color: #fff;
}

.hero-copy {
  position: absolute;
  top: 32.5%;
  left: max(3rem, calc((100% - 80rem) / 2 + 3rem));
  z-index: 2;
  width: min(58rem, 68%);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 350ms ease, transform 350ms ease, visibility 350ms;
  visibility: hidden;
}

.hero-copy.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

@font-face {
  font-family: 'Outfit Hero';
  src: url('../fonts/Outfit-ExtraBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

.hero-title {
  font-family: 'Outfit Hero', sans-serif;
  font-size: clamp(3rem, 3.9vw, 4.125rem);
  font-weight: 800;
  line-height: 1;
  font-synthesis: weight;
}

.hero-description {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Pretendard Variable', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

.hero-cta {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.8rem;
  padding: 0.35rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  background-color: #fff;
  color: #0f172a;
}

.section-label {
  background-color: #0f172a !important;
  color: #ffffff !important;
}



#contact .section-label {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

#contact[class~="text-white"] {
  color: #ffffff !important;
}

@media (max-width: 767px) {
  .hero-copy {
    top: 29%;
    left: 1.5rem;
    width: 84%;
  }

  .hero-title {
    font-size: clamp(2.25rem, 8.7vw, 3.375rem);
  }

  .hero-description {
    font-size: 0.875rem;
  }
}

@media (max-width: 639px) {
  #hero {
    aspect-ratio: 4 / 3.3;
  }

  .hero-slide {
    object-position: 35% center;
  }

  .hero-description {
    font-size: 0.75rem;
  }

  .hero-cta {
    min-height: 2rem;
    margin-top: 0.6rem;
    padding-inline: 0.9rem;
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider-track {
    transition: none;
  }

  .hero-copy,
  .hero-cta {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Custom Glassmorphism Header
   -------------------------------------------------------------------------- */
.glass-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.glass-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.12);
}

/* --------------------------------------------------------------------------
   Subtle Background Glow Blobs
   -------------------------------------------------------------------------- */
.glow-blob {
  position: fixed;
  width: min(80vw, 18rem);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(65, 156, 215, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(2.25rem);
  z-index: -1;
  pointer-events: none;
}

@media (min-width: 40rem) {
  .glow-blob {
    width: 31.25rem;
    filter: blur(3.75rem);
  }
}

/* --------------------------------------------------------------------------
   Scroll Reveal Animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Portfolio Hover Captions
   -------------------------------------------------------------------------- */
#portfolio-grid .portfolio-image {
  transition: filter 0.35s ease, transform 0.7s ease;
}

#portfolio-grid .portfolio-overlay {
  background-color: rgb(0 0 0 / 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

#portfolio-grid .portfolio-caption {
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

#portfolio-grid .group:hover .portfolio-image,
#portfolio-grid .group:focus-visible .portfolio-image {
  filter: brightness(0.85);
}

#portfolio-grid .group:hover .portfolio-overlay,
#portfolio-grid .group:focus-visible .portfolio-overlay {
  opacity: 1;
}

#portfolio-grid .group:hover .portfolio-caption,
#portfolio-grid .group:focus-visible .portfolio-caption {
  opacity: 1;
  transform: translateY(0);
}

#portfolio-grid .portfolio-page-enter {
  animation: portfolio-page-enter 0.35s ease both;
}

@keyframes portfolio-page-enter {
  from {
    opacity: 0;
    transform: translateX(12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --------------------------------------------------------------------------
   Service Overview
   -------------------------------------------------------------------------- */
.service-section {
  padding: 4rem 1.5rem 2.5rem;
  border-color: #4a4a4a;
  background-color: #252525;
  color: #f5f5f5;
}

.service-section-inner {
  width: min(100%, 80rem);
  margin: 0 auto;
}

.service-intro {
  padding-bottom: 4.25rem;
  border-bottom: 1px solid #4a4a4a;
}

.service-section-label {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.5rem 1.25rem;
  background-color: #555;
  color: #f5f5f5;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
}

.service-section-title {
  color: #f8fafc;
  font-size: clamp(1.25rem, 4.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}

.service-section-description {
  margin-top: 1rem;
  color: #c7c7c7;
  font-size: 1rem;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding-top: 1.75rem;
}

.service-column h3 {
  position: relative;
  min-height: 3.5rem;
  padding: 0 0 1.75rem;
  border-bottom: none;
  color: #f8fafc;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.service-column h3::after,
.footer-short-line {
  width: 9%;
  background-color: #4a4a4a;
}

.service-column h3::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
}

.footer-short-line {
  width: 4.5%;
  height: 1px;
}

.service-column-lead {
  margin-top: 1.75rem;
  color: #f1f1f1;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.service-column ul {
  display: grid;
  gap: 0.05rem;
  margin: 1.25rem 0 0;
  padding-left: 1.1em;
  color: #c7c7c7;
  font-size: 0.875rem;
  line-height: 1.55;
  list-style: disc;
}

@media (min-width: 768px) {
  .service-section {
    padding-right: 3rem;
    padding-left: 3rem;
  }
}

.brand-film {
  position: relative;
  width: 100%;
  aspect-ratio: 1679 / 360;
  overflow: hidden;
  background-color: #252525;
  color: #fff;
}

.brand-film-video,
.brand-film-overlay {
  position: absolute;
  inset: 0;
}

.brand-film-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-film-overlay {
  background: rgba(0, 0, 0, 0.36);
}

.brand-film-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(34vw, 24rem);
  height: auto;
  transform: translate(-50%, -50%);
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3rem;
  }
}

@media (max-width: 639px) {
  .service-section {
    padding: 3.5rem 1.5rem 2rem;
  }

  .service-intro {
    padding-bottom: 2.75rem;
  }

  .service-section-title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 1.75rem;
  }

  .service-column h3 {
    min-height: 0;
  }

  .brand-film {
    aspect-ratio: 16 / 9;
  }
}

/* --------------------------------------------------------------------------
   Custom Scrollbar
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f8fafc;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

[class~="text-white"] {
  color: #0f172a !important;
}

[class~="bg-slate-900"][class~="text-white"],
[class~="bg-brand-accent"][class~="text-white"] {
  color: #ffffff !important;
}

[class~="text-slate-100"] {
  color: #1e293b !important;
}

[class~="text-slate-200"] {
  color: #334155 !important;
}

[class~="text-slate-300"] {
  color: #475569 !important;
}

[class~="text-slate-400"],
[class~="text-slate-500"] {
  color: #64748b !important;
}

[class~="text-slate-600"] {
  color: #64748b !important;
}

[class~="hover:text-white"]:hover {
  color: #0f172a !important;
}

[class~="bg-slate-900"],
[class~="bg-slate-900/60"] {
  background-color: #f8fafc !important;
}

[class~="bg-slate-800"] {
  background-color: #f1f5f9 !important;
}

[class~="border-slate-900"] {
  border-color: #e2e8f0 !important;
}

[class~="border-slate-800"],
[class~="border-slate-800/80"] {
  border-color: #e2e8f0 !important;
}

[class~="border-slate-700"] {
  border-color: #cbd5e1 !important;
}

[class~="border-white"] {
  border-color: #cbd5e1 !important;
}

[class~="hover:border-white"]:hover,
[class~="focus:border-white"]:focus {
  border-color: #0f172a !important;
}

[class~="placeholder-slate-600"]::placeholder {
  color: #94a3b8 !important;
}

[class~="hover:bg-white"]:hover {
  background-color: #0f172a !important;
}

[class~="hover:text-black"]:hover {
  color: #ffffff !important;
}

[class~="accent-white"] {
  accent-color: #419cd7 !important;
}

#contact [class~="text-white"] {
  color: #ffffff !important;
}

#contact [class~="text-slate-200"] {
  color: #e2e8f0 !important;
}

#contact [class~="text-slate-300"] {
  color: #cbd5e1 !important;
}

#contact [class~="text-slate-400"] {
  color: #94a3b8 !important;
}

#contact [class~="text-slate-500"] {
  color: #64748b !important;
}

#contact [class~="text-slate-600"] {
  color: #475569 !important;
}

#contact [class~="border-slate-900"] {
  border-color: #0f172a !important;
}

#contact [class~="border-slate-800"],
#contact [class~="border-slate-800/80"] {
  border-color: #1e293b !important;
}

#contact [class~="border-slate-700"] {
  border-color: #334155 !important;
}

#contact [class~="border-white"] {
  border-color: #ffffff !important;
}

#contact [class~="hover:text-white"]:hover {
  color: #ffffff !important;
}

#contact [class~="hover:border-white"]:hover,
#contact [class~="focus:border-white"]:focus {
  border-color: #ffffff !important;
}

#contact [class~="placeholder-slate-500"]::placeholder {
  color: #64748b !important;
}

#contact [class~="hover:bg-white"]:hover {
  background-color: #ffffff !important;
}

#contact [class~="hover:text-black"]:hover {
  color: #0f172a !important;
}

#contact [class~="accent-white"] {
  accent-color: #ffffff !important;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
