/* ==========================================================================
   OWAA — Design Tokens
   Brand blue sampled directly from the OWAA brand card (#4F9CF8)
   ========================================================================== */
:root {
  --blue: #4F9CF8;
  --blue-dark: #2E6FE0;
  --blue-deep: #1E52B8;
  --blue-light: #8FC3FC;

  --blue-50: #F4F9FF;
  --blue-100: #E8F1FE;
  --blue-200: #D6E7FD;

  --white: #ffffff;
  --ink: #12151c;
  --ink-soft: #3d4451;
  --gray-500: #6b7382;
  --gray-300: #d7dde6;
  --gray-100: #eef2f8;

  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Apple SD Gothic Neo", "Segoe UI", Roboto, sans-serif;

  --container: 1080px;
  --header-h: 84px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================================================
   Shared type
   ========================================================================== */
.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--blue-dark);
  margin-bottom: 22px;
}

.eyebrow--center {
  text-align: center;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--gray-100);
}

.header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid var(--white);
  transition: border-color 0.5s var(--ease);
}

.header.is-scrolled .brand__mark {
  border-color: var(--blue);
}

.brand__word {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
  transition: color 0.5s var(--ease);
}

.header.is-scrolled .brand__word {
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.5s var(--ease), opacity 0.2s ease;
}

.header.is-scrolled .nav__link {
  color: var(--ink-soft);
}

.nav__link:hover {
  opacity: 0.65;
}

.nav__link--cta {
  padding: 9px 20px;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white) !important;
  opacity: 1 !important;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav__link--cta:hover {
  background: rgba(255, 255, 255, 0.15);
}

.header.is-scrolled .nav__link--cta {
  border-color: var(--blue);
  color: var(--blue-dark) !important;
}

.header.is-scrolled .nav__link--cta:hover {
  background: var(--blue-50);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #6BAEFB 0%, var(--blue) 45%, #3E86E8 100%);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}

.hero__glow--1 {
  width: 620px;
  height: 620px;
  top: -220px;
  left: -160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, transparent 70%);
}

.hero__glow--2 {
  width: 560px;
  height: 560px;
  bottom: -260px;
  right: -160px;
  background: radial-gradient(circle, rgba(30, 82, 184, 0.5) 0%, transparent 70%);
}

.hero__sheen {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 20%, rgba(255, 255, 255, 0.22) 0%, transparent 60%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  filter: blur(10px);
  transition: opacity 1.3s var(--ease-soft), transform 1.3s var(--ease-soft),
    filter 1.3s var(--ease-soft);
}

.hero__inner.is-ready {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.hero__word {
  font-size: clamp(64px, 15vw, 168px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
  position: relative;
  display: inline-flex;
}

.hero__dot {
  width: 0.12em;
  height: 0.12em;
  border-radius: 50%;
  background: var(--white);
  align-self: flex-start;
  margin-top: 0.06em;
  margin-left: 0.02em;
}

.hero__tagline {
  margin-top: clamp(20px, 3vw, 32px);
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.01em;
}

.hero__caption {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot-inline {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  display: inline-block;
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  z-index: 1;
}

.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(-50%);
  animation: scrollCue 2s ease infinite;
}

@keyframes scrollCue {
  0% { top: 7px; opacity: 1; }
  70% { top: 20px; opacity: 0; }
  100% { top: 20px; opacity: 0; }
}

/* ==========================================================================
   Statement
   ========================================================================== */
.statement {
  padding: clamp(140px, 22vw, 260px) 0;
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
  display: flex;
  justify-content: center;
}

.statement__text {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(28px, 4.6vw, 50px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ==========================================================================
   Philosophy
   ========================================================================== */
.philosophy {
  background: var(--white);
}

.philosophy__line {
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.philosophy__text {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
}

.philosophy__highlight {
  color: var(--blue-dark);
}

.philosophy__text--brand {
  font-weight: 800;
  color: var(--ink);
}

.philosophy__text--brand span {
  color: var(--blue);
}

/* ==========================================================================
   Approach
   ========================================================================== */
.approach {
  padding: clamp(120px, 16vw, 200px) 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--blue-50) 100%);
}

.approach__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(80px, 10vw, 120px);
}

.approach__title {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
}

.pillars {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 64px;
  align-items: start;
  max-width: 880px;
  margin: 0 auto;
}

.pillar-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, var(--gray-300), transparent);
}

.pillar__num {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 20px;
}

.pillar__title {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}

.pillar__desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-500);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  padding: clamp(120px, 16vw, 200px) 0 140px;
  background: var(--blue-50);
  text-align: center;
}

.contact__title {
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 36px;
}

.contact__email {
  display: inline-block;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  padding: 18px 40px;
  border-radius: 100px;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), background 0.3s ease, box-shadow 0.35s ease;
}

.contact__email:hover {
  background: var(--blue-dark);
  box-shadow: 0 14px 34px rgba(79, 156, 248, 0.35);
  transform: translateY(-2px);
}

.contact__sub {
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--gray-500);
}

.contact-form {
  max-width: 520px;
  margin: 90px auto 0;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-field {
  margin-bottom: 26px;
}

.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--gray-300);
  border-radius: 0;
  padding: 10px 2px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.3s ease;
  resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--gray-300);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 34px;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
  border-radius: 100px;
  transition: background 0.3s ease, transform 0.35s var(--ease);
}

.btn:hover {
  background: var(--blue-dark);
}

.btn:active {
  transform: scale(0.97);
}

.form-status {
  margin-top: 18px;
  font-size: 14px;
  color: var(--blue-dark);
  min-height: 20px;
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.brand--footer .brand__mark {
  border-color: var(--blue);
}

.brand--footer .brand__word {
  color: var(--ink);
  font-size: 16px;
}

.footer__copy {
  font-size: 13px;
  color: var(--gray-500);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft),
    filter 0.9s var(--ease-soft);
}

.reveal--blur {
  transform: translateY(26px) scale(0.96);
  filter: blur(14px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 780px) {
  .nav {
    gap: 20px;
  }

  .nav__link:not(.nav__link--cta) {
    display: none;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .pillar-divider {
    width: 60px;
    height: 1px;
    justify-self: center;
    background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
  }

  .philosophy__line {
    min-height: 46vh;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    margin-top: 64px;
  }
}

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

  .reveal,
  .hero__inner {
    transition: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .scroll-cue span {
    animation: none;
  }
}
