/*
Theme Name: YMH Law Theme
Author: Kyle
Version: 1.0
*/

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --color-navy: #092857;
  --color-text: #151515;
  --color-line: rgba(0, 0, 0, 0.08);
}

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

body {
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  color: var(--color-text);
  background: #fff;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header {
  border-bottom: 1px solid var(--color-line);
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.navbar {
  max-width: 1920px;
  margin: 0 auto;
  padding: 14px 34px 12px;
  display: flex;
  align-items: center;
  position: relative;
}

.navbar__logo img {
  width: auto;
  height: 42px;
}

.navbar__menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar__menu a {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.navbar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--color-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.navbar__menu-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.navbar__menu-button span {
  display: block;
  width: 14px;
  height: 1px;
  margin-left: auto;
  background: #212121;
}

.hero {
  width: 100%;
  height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.hero__inner {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: calc(69px + 48px);
}

.hero__heading {
  text-align: center;
  color: #000a19;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.hero__title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -3px;
  color: #000a19;
}

.hero__subtitle {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -2px;
  color: #000a19;
}

.hero__stage {
  flex: 1 1 auto;
  min-height: 0;
}

.hero__lawyer {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 75%;
  pointer-events: none;
  z-index: 5;
}

.hero__lawyer img {
  height: 100%;
  width: auto;
  display: block;
}

.hero__bar {
  width: 100%;
  background: #092857;
  padding: 14px clamp(20px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.hero__bar-name {
  color: #fff;
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.hero__bar-divider {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.hero__bar-career {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(12px, 0.85vw, 14px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

/* ── situation ── */
.situation {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 120px;
}

.situation__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/situation-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.situation__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.situation__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 clamp(20px, 5vw, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.situation__heading {
  text-align: center;
}

.situation__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.situation__subtitle {
  margin: 12px 0 0;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: -0.02em;
}

.situation__cards {
  display: flex;
  gap: 24px;
}

.situation__card {
  width: clamp(180px, 16vw, 260px);
  height: clamp(220px, 22vw, 340px);
  background: #092857;
  border-radius: 20px;
  padding: 40px 24px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: background 0.2s;
}

.situation__card:hover {
  background: #0a3170;
}

.situation__card--gray {
  background: #4b4b4b;
}

.situation__card--gray:hover {
  background: #5a5a5a;
}

.situation__card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: flex-end;
}

.situation__card-text {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.situation__more {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: -0.02em;
}

/* ── why ── */
.why {
  width: 100%;
  height: 100vh;
  background: #f4f4f4;
  display: flex;
  align-items: center;
}

.why__inner {
  width: min(100%, 1920px);
  margin: 0 auto;
  padding: 80px clamp(60px, 12vw, 300px);
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.why__heading {
  text-align: center;
}

.why__title {
  margin: 0;
  font-size: clamp(32px, 3.5vw, 56px);
  font-weight: 700;
  color: #000a19;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.why__subtitle {
  margin: 10px 0 0;
  font-size: clamp(14px, 1.3vw, 22px);
  font-weight: 400;
  color: #000a19;
  letter-spacing: -0.03em;
}

.why__content {
  display: flex;
  gap: 48px;
  align-items: stretch;
}

.why__profile-card {
  width: clamp(180px, 18vw, 280px);
  height: 420px;
  flex-shrink: 0;
  background: linear-gradient(to bottom, #092857, #000a19);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.why__profile-logo {
  padding: 16px 16px 0;
}

.why__profile-logo img {
  height: 32px;
  width: auto;
}

.why__profile-img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transform: scale(2.5);
  transform-origin: center 25%;
}

.why__profile-link {
  position: absolute;
  bottom: 16px;
  left: 0;
  width: 100%;
  padding: 0 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: -0.02em;
  z-index: 2;
}

.why__features {
  flex: 1 1 auto;
  height: 420px;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-height: 0;
}

.why__feature {
  background: #fff;
  border-radius: 12px;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 0;
}

.why__feature-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.why__feature-title {
  font-size: clamp(18px, 1.8vw, 30px);
  font-weight: 700;
  color: #000a19;
  letter-spacing: -0.03em;
}

.why__feature-career {
  font-size: clamp(11px, 1vw, 18px);
  font-weight: 400;
  color: #9a9a9a;
  letter-spacing: -0.03em;
}

.why__feature-quote {
  margin: 0;
  font-size: clamp(13px, 1.1vw, 20px);
  font-weight: 700;
  color: #000a19;
  letter-spacing: -0.03em;
}

/* ── cases ── */
.cases {
  width: 100%;
  height: 100vh;
  background: #fff;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cases__watermark {
  position: absolute;
  bottom: -40px;
  left: -60px;
  width: clamp(280px, 28vw, 460px);
  pointer-events: none;
  user-select: none;
  opacity: 0.06;
}

.cases__watermark img {
  width: 100%;
  height: auto;
}

.cases__inner {
  width: min(100%, 1920px);
  margin: 0 auto;
  padding: 0 clamp(100px, 16vw, 400px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cases__heading {
  text-align: center;
}

.cases__title {
  margin: 0;
  font-size: clamp(32px, 3.5vw, 56px);
  font-weight: 700;
  color: #000a19;
  letter-spacing: -0.04em;
}

.cases__subtitle {
  margin: 12px 0 0;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 400;
  color: #555;
  letter-spacing: -0.02em;
}

.cases__cards {
  display: flex;
  gap: 20px;
}

.cases__card {
  flex: 1 1 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
}

.cases__card-body {
  flex: 1 1 auto;
  padding: 20px 22px 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cases__card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cases__card-date {
  font-size: 13px;
  color: #aaa;
  letter-spacing: -0.02em;
}

.cases__card-trial {
  font-size: 13px;
  color: #aaa;
  letter-spacing: -0.02em;
}

.cases__card-category {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 700;
  color: #000a19;
  letter-spacing: -0.03em;
}

.cases__card-role {
  margin: 0;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 600;
  color: #c8842a;
  letter-spacing: -0.02em;
}

.cases__card-summary {
  margin: 8px 0 0;
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 400;
  color: #777;
  line-height: 1.7;
  letter-spacing: -0.02em;
}

.cases__card-result {
  background: #092857;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(15px, 1.2vw, 20px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.cases__card-arrow {
  font-size: 18px;
}

.cases__footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cases__progress {
  width: 100%;
  height: 3px;
  background: #e8e8e8;
  border-radius: 2px;
}

.cases__progress-bar {
  width: 33%;
  height: 100%;
  background: #092857;
  border-radius: 2px;
}

.cases__more {
  align-self: flex-end;
  font-size: 14px;
  font-weight: 600;
  color: #000a19;
  letter-spacing: -0.02em;
}

/* ── fields ── */
.fields {
  width: 100%;
  height: 100vh;
  background: #000a19;
  display: flex;
  align-items: center;
}

.fields__inner {
  width: min(100%, 1920px);
  margin: 0 auto;
  padding: 0 clamp(60px, 10vw, 240px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.fields__heading {
  text-align: center;
}

.fields__title {
  margin: 0;
  font-size: clamp(32px, 3.5vw, 56px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.fields__subtitle {
  margin: 12px 0 0;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: -0.02em;
}

.fields__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
}

.fields__card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 339 / 230;
  display: block;
}

.fields__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.fields__card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.fields__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 100%);
  border-radius: 16px;
}

.fields__card-label {
  position: absolute;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  font-size: clamp(13px, 1.1vw, 18px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* ── golden ── */
.golden {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.golden__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/golden-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.golden__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.golden__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1920px);
  margin: 0 auto;
  padding: 0 clamp(100px, 14vw, 340px);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.golden__heading {
  text-align: center;
}

.golden__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 50px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.golden__subtitle {
  margin: 12px 0 0;
  font-size: clamp(13px, 1.1vw, 17px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -0.02em;
}

.golden__chart-wrap {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 36px 48px;
}

.golden__chart {
  position: relative;
  width: 100%;
}

.golden__chart-svg {
  width: 100%;
  height: clamp(160px, 18vw, 280px);
  display: block;
}

.golden__chart-yaxis {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 4px;
}

.golden__chart-yaxis span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: -0.02em;
  line-height: 1;
}

.golden__chart-labels {
  display: flex;
  justify-content: space-between;
  padding: 12px 4px 0;
}

.golden__chart-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.golden__label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8a96e;
  flex-shrink: 0;
}

.golden__label-text {
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: -0.02em;
}

.golden__chart-label--top .golden__label-text {
  color: #c8a96e;
}

.golden__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  height: 48px;
  padding: 0 32px;
  border-radius: 999px;
  background: #c8a96e;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (max-width: 1100px) {
  .navbar {
    padding: 14px 20px 12px;
  }

  .navbar__menu {
    gap: 22px;
  }
}

@media (max-width: 820px) {
  .navbar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .navbar__menu {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
}
