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

:root {
  --bg: #050505;
  --bg-warm: #0a0a0a;
  --bg-deep: #121212;
  --text: #f0f0f0;
  --text-sub: #8a8a8a;
  --text-light: #666666;
  --accent: #ffffff;
  --border: #1f1f1f;
  --font: "Pretendard Variable", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

img {
  display: block;
  max-width: 100%;
}

/* ─── Nav ─── */

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(24px, 5vw, 80px);
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-mascot {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
}

.nav-contact {
  font-size: 0.85rem;
  color: var(--text-sub);
  letter-spacing: 0.03em;
  transition: color 0.15s;
}

.nav-contact:hover {
  color: var(--text);
}

/* ─── Hero ─── */

#hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px clamp(24px, 5vw, 80px);
  background: var(--bg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.1) 0%,
    rgba(5, 5, 5, 0.6) 60%,
    rgba(5, 5, 5, 1) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  font-size: 0.82rem;
  color: var(--text-sub);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

#hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.1;
  background: linear-gradient(180deg, #ffffff 0%, #a3a3a3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── Statement ─── */

#statement {
  position: relative;
  z-index: 2;
  padding: 120px clamp(24px, 5vw, 80px);
  background: var(--bg);
}

.statement-inner {
  max-width: 720px;
  margin: 0 auto;
}

.statement-inner blockquote {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  line-height: 1.8;
  color: var(--text);
  word-break: keep-all;
  letter-spacing: -0.02em;
}

/* ─── Pillars ─── */

#pillars {
  padding: 60px clamp(24px, 5vw, 80px) 120px;
  background: var(--bg);
}

.pillars-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.pillar {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.pillar-num {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.pillar h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.pillar p {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ─── Photo ─── */

#photo {
  padding: 0 clamp(24px, 5vw, 80px);
  background: var(--bg);
}

.photo-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.photo-inner img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
  opacity: 0.8;
}

/* ─── Footer ─── */

#contact {
  padding: 140px clamp(24px, 5vw, 80px) 60px;
  background: var(--bg);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.footer-cta {
  margin-bottom: 120px;
}

.footer-lead {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.footer-email {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.03em;
  transition: opacity 0.2s;
}

.footer-email:hover {
  opacity: 0.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-bottom span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ─── Responsive ─── */

@media (max-width: 768px) {
  .pillars-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .photo-inner img {
    height: 320px;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
