:root {
  --ink: #0c1419;
  --ink-soft: #1a2a33;
  --paper: #f3f6f4;
  --mist: #dde7e2;
  --teal: #0f8a7a;
  --teal-deep: #0a5f54;
  --sand: #c9a66b;
  --white: #ffffff;
  --muted: #5a6b72;
  --line: rgba(12, 20, 25, 0.1);
  --shadow: 0 24px 60px rgba(12, 20, 25, 0.12);
  --radius: 4px;
  --max: 1120px;
  --font-display: "Syne", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Top bar */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  padding: 0.55rem 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--sand);
  transition: color 0.25s ease;
}

.topbar a:hover {
  color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 246, 244, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--teal) 0%, var(--ink) 100%);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px 10px 10px 14px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-left: none;
  border-radius: 0 6px 6px 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  padding: 0.55rem 0.9rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--teal-deep);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(15, 138, 122, 0.45), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(201, 166, 107, 0.28), transparent 50%),
    linear-gradient(160deg, #071016 0%, #123039 45%, #0c1f24 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 85%);
  animation: gridDrift 28s linear infinite;
}

.hero-visual {
  position: absolute;
  right: -4%;
  top: 12%;
  width: min(52vw, 580px);
  aspect-ratio: 4 / 5;
  z-index: -1;
  border-radius: 28px 0 0 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    linear-gradient(200deg, #1b4d4a, #0d2428);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: floatY 7s ease-in-out infinite;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18% 16% auto;
  height: 42%;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(243, 246, 244, 0.95), rgba(221, 231, 226, 0.75));
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 14%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 -28px 0 rgba(255, 255, 255, 0.12), 0 -56px 0 rgba(255, 255, 255, 0.08);
}

.hero-inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 7rem 0 5.5rem;
  max-width: 620px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero-brand em {
  font-style: normal;
  color: var(--sand);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 28rem;
  margin-bottom: 2rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.45rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-deep);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

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

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-head h2,
.page-hero h1,
.content-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.section-head p,
.lead {
  margin-top: 0.9rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.split-visual {
  min-height: 420px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 20%, rgba(15, 138, 122, 0.35), transparent 45%),
    linear-gradient(160deg, #123039, #0c1419);
  position: relative;
  overflow: hidden;
}

.split-visual::before {
  content: "DOYOUNG";
  position: absolute;
  left: 8%;
  bottom: 10%;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.08em;
}

.split-visual::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 280px;
  right: 14%;
  top: 16%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  animation: floatY 6s ease-in-out infinite reverse;
}

.content-block p + p {
  margin-top: 1rem;
}

.content-block p {
  color: var(--muted);
}

/* Services strip */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-item {
  padding: 1.75rem 1.5rem;
  border-top: 2px solid var(--teal);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.45));
  transition: transform 0.3s ease, background 0.3s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  background: #fff;
}

.service-item .num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--sand);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.service-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Band CTA */
.band {
  position: relative;
  padding: 4.5rem 0;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(120deg, #0c1419 0%, #13443d 55%, #0c1419 100%);
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(201, 166, 107, 0.2), transparent 40%);
  pointer-events: none;
}

.band .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 18ch;
  line-height: 1.25;
}

.band p {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.72);
}

/* Page hero (inner) */
.page-hero {
  padding: 4.5rem 0 3rem;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(15, 138, 122, 0.15), transparent 50%),
    linear-gradient(180deg, #e8efec, var(--paper));
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  margin-top: 0.85rem;
  color: var(--muted);
  max-width: 36rem;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 2.25rem 0 0.85rem;
}

.prose p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-list li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-panel {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.contact-panel h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.contact-panel p,
.contact-panel a {
  color: var(--muted);
}

.contact-panel a {
  color: var(--teal-deep);
  font-weight: 600;
}

.contact-panel a:hover {
  text-decoration: underline;
}

.map-placeholder {
  min-height: 280px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(15, 138, 122, 0.15), transparent),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      rgba(12, 20, 25, 0.03) 12px,
      rgba(12, 20, 25, 0.03) 13px
    ),
    #e7eeea;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.75rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer h4 {
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin-bottom: 0.45rem;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--sand);
}

.footer-brand {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-bottom a {
  display: inline;
  color: var(--sand);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes gridDrift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(64px);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .split,
  .services-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    opacity: 0.35;
    width: 70vw;
    right: -18%;
  }

  .hero-inner {
    max-width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(243, 246, 244, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.5rem;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 78vh;
  }

  .hero-inner {
    padding: 5.5rem 0 4rem;
  }

  .section {
    padding: 4rem 0;
  }
}
