/* ---------- reset & tokens ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream: #fbf4ec;
  --cream-2: #f5ead9;
  --ink: #2b2420;
  --ink-soft: #6b5d54;
  --clay: #e08a6b;
  --clay-dark: #c96e4e;
  --sage: #8ba888;
  --line: rgba(43, 36, 32, 0.1);
  --radius: 24px;
  --serif: 'Fraunces', serif;
  --sans: 'Noto Sans KR', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- reveal animations ---------- */
.reveal {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: calc(var(--d, 0) * 0.12s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--d, 0) * 0.1s);
}
.reveal-up.in-view { opacity: 1; transform: translateY(0); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 6vw;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav.scrolled {
  background: rgba(251, 244, 236, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 6vw;
}
.nav__logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav__logo span { color: var(--clay); }
.nav__links {
  display: flex;
  gap: 36px;
}
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1.5px;
  background: var(--clay);
  transition: width 0.3s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 20px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.nav__cta:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .nav__links { display: none; }
}

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 6vw;
  position: relative;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
  animation: blobMove 14s ease-in-out infinite;
}
.hero__blob--1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--clay) 0%, transparent 70%);
  top: -120px; right: -80px;
}
.hero__blob--2 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, var(--sage) 0%, transparent 70%);
  bottom: -100px; left: -60px;
  animation-delay: -6s;
}
@keyframes blobMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
}

.hero__floaters { position: absolute; inset: 0; z-index: 0; }
.floater {
  position: absolute;
  font-size: 2rem;
  opacity: 0.5;
  animation: float 7s ease-in-out infinite;
}
.f1 { top: 18%; right: 12%; animation-delay: 0s; }
.f2 { top: 62%; right: 22%; font-size: 1.6rem; animation-delay: -2s; }
.f3 { top: 38%; right: 6%; font-size: 1.8rem; animation-delay: -4s; }
.f4 { top: 78%; right: 8%; font-size: 1.4rem; animation-delay: -1.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(8deg); }
}
@media (max-width: 760px) { .hero__floaters { display: none; } }

.hero__eyebrow {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--clay-dark);
  margin-bottom: 20px;
}

.hero__title {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.18;
  max-width: 16ch;
}
.hero__title--accent { color: var(--clay-dark); font-style: italic; }

.nowrap { white-space: nowrap; }

.hero__desc {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero__actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.btn {
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  display: inline-block;
}
.btn--primary {
  background: var(--ink);
  color: var(--cream);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px -10px rgba(43, 36, 32, 0.4);
}
.btn--ghost {
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-3px);
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 6vw;
  width: 26px;
  height: 42px;
  border: 2px solid var(--ink-soft);
  border-radius: 20px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--clay-dark);
  border-radius: 4px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { top: 8px; opacity: 1; }
  70% { top: 22px; opacity: 0; }
  100% { top: 22px; opacity: 0; }
}
@media (max-width: 600px) { .scroll-cue { display: none; } }

/* ---------- section shared ---------- */
section { padding: 120px 6vw; position: relative; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-tag {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--clay-dark);
  margin-bottom: 14px;
}
.section-tag--light { color: #f2c4ad; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.3;
}
.section-sub {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ---------- about ---------- */
.about { background: var(--cream); }
.about__grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
}
.about__avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.avatar-circle {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--clay) 0%, var(--sage) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 20px 40px -16px rgba(224, 138, 107, 0.5);
  transition: transform 0.4s ease;
}
.avatar-circle:hover { transform: scale(1.04) rotate(-2deg); }
.avatar-circle img { width: 100%; height: 100%; object-fit: cover; }
.avatar-caption { color: var(--ink-soft); font-size: 0.9rem; }

.about__text {
  margin-bottom: 20px;
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.about__text strong { color: var(--ink); font-weight: 700; }

.facts {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.fact-card--wide { grid-column: 1 / -1; }
.fact-card {
  background: var(--cream-2);
  border-radius: 18px;
  padding: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px -14px rgba(43, 36, 32, 0.25);
}
.fact-num {
  font-family: var(--serif);
  color: var(--clay-dark);
  font-size: 0.9rem;
  font-weight: 600;
}
.fact-title { margin-top: 6px; font-size: 0.85rem; color: var(--ink-soft); }
.fact-desc { margin-top: 4px; font-weight: 700; font-size: 1.02rem; }

@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
}

/* ---------- strength ---------- */
.strength { background: var(--cream-2); }
.strength__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.s-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.s-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 40px -18px rgba(43, 36, 32, 0.3);
}
.s-icon {
  font-size: 2rem;
  margin-bottom: 18px;
  transition: transform 0.35s ease;
}
.s-card:hover .s-icon { transform: scale(1.15) rotate(-6deg); }
.s-card h3 { font-size: 1.08rem; margin-bottom: 10px; font-weight: 700; }
.s-card p { font-size: 0.92rem; color: var(--ink-soft); }

@media (max-width: 980px) { .strength__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .strength__grid { grid-template-columns: 1fr; } }

/* ---------- story ---------- */
.story {
  background:
    radial-gradient(circle at 8% 12%, rgba(224, 138, 107, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 92% 85%, rgba(139, 168, 136, 0.12) 0%, transparent 45%),
    var(--cream);
  position: relative;
  overflow: hidden;
}
.story__deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.sd {
  position: absolute;
  font-size: 1.8rem;
  opacity: 0.28;
  animation: float 8s ease-in-out infinite;
}
.sd1 { top: 4%; left: 4%; }
.sd2 { top: 18%; right: 6%; font-size: 1.5rem; animation-delay: -1.5s; }
.sd3 { top: 42%; left: 2%; font-size: 2rem; animation-delay: -3s; }
.sd4 { top: 60%; right: 4%; animation-delay: -4.5s; }
.sd5 { top: 78%; left: 6%; font-size: 1.6rem; animation-delay: -2s; }
.sd6 { top: 92%; right: 8%; font-size: 1.4rem; animation-delay: -5.5s; }
@media (max-width: 700px) { .story__deco { display: none; } }

.story__feed {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.story__item { text-align: center; }
.story__frame {
  width: 100%;
  aspect-ratio: 16 / 10.2;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -20px rgba(43, 36, 32, 0.3);
  transition: transform 0.4s ease;
}
.story__frame:hover { transform: translateY(-4px); }
.story__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.story__item figcaption {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
}

/* ---------- work (example) ---------- */
.work { background: var(--cream-2); }
.work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.w-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.w-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 40px -18px rgba(43, 36, 32, 0.3);
}
.w-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--clay-dark);
  background: #fdeade;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.w-thumb {
  height: 140px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  letter-spacing: 6px;
  margin-bottom: 18px;
  transition: transform 0.35s ease;
}
.w-card:hover .w-thumb { transform: scale(1.04); }
.w-thumb--1 { background: linear-gradient(135deg, #f4c9a8, #e08a6b); }
.w-thumb--2 { background: linear-gradient(135deg, #cfe0c7, #8ba888); }
.w-thumb--3 { background: linear-gradient(135deg, #f2ddb8, #e0b17a); }
.w-thumb--4 { background: linear-gradient(135deg, #f6c9d8, #e08a6b); }
.w-thumb--5 { background: linear-gradient(135deg, #d8e4d0, #a8bfa0); }
.w-thumb--img { padding: 0; overflow: hidden; }
.w-thumb--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.w-thumb--logo { background: #fff; padding: 10px; }
.w-thumb--logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.w-card h3 { font-size: 1.04rem; margin-bottom: 8px; font-weight: 700; }
.w-card p { font-size: 0.9rem; color: var(--ink-soft); }

@media (max-width: 900px) { .work__grid { grid-template-columns: 1fr; } }

/* ---------- vision / timeline ---------- */
.vision { background: var(--cream); }
.timeline {
  position: relative;
  max-width: 720px;
  padding-left: 30px;
  border-left: 2px solid var(--line);
}
.t-item {
  position: relative;
  padding-bottom: 52px;
}
.t-item:last-child { padding-bottom: 0; }
.t-dot {
  position: absolute;
  left: -37px;
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--clay-dark);
  box-shadow: 0 0 0 6px var(--cream-2);
}
.t-status {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.t-status--done { background: #e4efe0; color: #5c7d54; }
.t-status--ing { background: #fdeade; color: var(--clay-dark); }
.t-status--soon { background: #efeae2; color: var(--ink-soft); }
.t-content h3 { font-size: 1.18rem; margin-bottom: 8px; font-family: var(--serif); font-weight: 600; }
.t-content p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- contact ---------- */
.contact {
  background: linear-gradient(160deg, #2b2420 0%, #3d322b 100%);
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}
.contact__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}
.contact__desc {
  color: #d8cabe;
  margin-bottom: 40px;
  font-size: 1rem;
}

.email-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.25);
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.email-box:hover {
  background: var(--clay);
  border-color: var(--clay);
  transform: translateY(-3px);
}
.email-copy {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: 999px;
  transition: background 0.3s ease;
}

.ig-link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #d8cabe;
  padding: 8px 18px;
  border-radius: 999px;
  transition: color 0.25s ease, transform 0.25s ease;
}
.ig-link:hover {
  color: var(--clay);
  transform: translateY(-2px);
}

/* ---------- footer ---------- */
.footer {
  padding: 30px 6vw;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: #2b2420;
  color: #a4968b;
}
