:root {
  --ink: #1a1917;
  --ink-soft: #5f5b53;
  --paper: #f5f2eb;
  --paper-strong: #fbfaf5;
  --line: rgba(26, 25, 23, 0.12);
  --navy: #0c1526;
  --navy-deep: #060c18;
  --navy-soft: #13233f;
  --gold: #c9a96a;
  --gold-deep: #b08d4e;
  --muted: #b4aea3;
  --muted-strong: #ece8df;
  --shadow: 0 28px 70px rgba(8, 12, 20, 0.2);
  --radius: 2px;
  --header-height: 76px;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--navy);
  color: var(--muted-strong);
  line-height: 1.65;
  margin: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open::before {
  background: rgba(6, 12, 24, 0.72);
  content: "";
  inset: 0;
  position: fixed;
  z-index: 30;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: var(--gold);
  color: #12100e;
}

.site-header {
  align-items: center;
  background: rgba(12, 21, 38, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 169, 106, 0.1);
  display: flex;
  height: var(--header-height);
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(20px, 5vw, 72px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  z-index: 50;
}

.site-header.is-scrolled {
  background: rgba(9, 16, 30, 0.95);
  border-color: rgba(201, 169, 106, 0.18);
  box-shadow: 0 18px 44px rgba(4, 8, 16, 0.22);
}

.brand {
  align-items: center;
  display: inline-flex;
  min-width: 190px;
}

.brand-logo {
  display: block;
  height: auto;
  max-height: 32px;
  object-fit: contain;
  width: clamp(156px, 13vw, 190px);
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  color: rgba(236, 232, 223, 0.78);
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold);
}

.nav-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(201, 169, 106, 0.45);
  border-radius: var(--radius);
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.nav-toggle span {
  background: var(--gold);
  display: block;
  height: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 20px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  align-items: center;
  background:
    radial-gradient(120% 90% at 85% 8%, rgba(31, 59, 105, 0.86) 0%, rgba(12, 21, 38, 0) 62%),
    var(--navy);
  color: #f4f0e7;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--header-height) + 70px) clamp(20px, 5vw, 72px) clamp(78px, 9vh, 110px);
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(12, 21, 38, 0.96) 0%, rgba(12, 21, 38, 0.88) 44%, rgba(12, 21, 38, 0.18) 100%),
    linear-gradient(0deg, rgba(6, 12, 24, 0.88) 0%, rgba(6, 12, 24, 0) 34%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.hero::after {
  background:
    linear-gradient(0deg, rgba(12, 21, 38, 0.14), rgba(12, 21, 38, 0.14)),
    url("assets/sedam-hero-advisory.png") center / cover no-repeat;
  border: 1px solid rgba(201, 169, 106, 0.32);
  box-shadow: var(--shadow);
  content: "";
  height: clamp(360px, 62vh, 610px);
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  top: 54%;
  transform: translateY(-50%);
  width: min(42vw, 540px);
  z-index: 0;
}

.hero-overlay {
  border: 1px solid rgba(201, 169, 106, 0.24);
  content: "";
  display: block;
  height: clamp(360px, 62vh, 610px);
  position: absolute;
  right: calc(clamp(20px, 5vw, 72px) + 14px);
  top: calc(54% - 14px);
  transform: translateY(-50%);
  width: min(42vw, 540px);
  z-index: 0;
}

.hero-content {
  max-width: min(54vw, 720px);
  position: relative;
  z-index: 1;
}

.eyebrow {
  align-items: center;
  color: var(--gold);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 13px;
  letter-spacing: 0.22em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: currentColor;
  content: "";
  display: inline-block;
  height: 1px;
  width: 32px;
}

.hero .eyebrow {
  margin-bottom: 28px;
}

.hero h1,
.section-copy h2,
.section-heading h2,
.expertise-copy h2,
.service-card h3,
.industry-list h3,
.timeline h3,
.insight-card h3,
.site-footer strong {
  font-family: "Nanum Myeongjo", "Noto Serif KR", Georgia, serif;
}

.hero h1 {
  color: #f4f0e7;
  font-size: clamp(54px, 8vw, 104px);
  font-weight: 800;
  line-height: 1.04;
  margin: 0;
}

.hero-lead {
  color: rgba(236, 232, 223, 0.78);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.7;
  margin: 26px 0 0;
  max-width: 680px;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: #12100e;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #e4ce9a;
}

.button-ghost {
  background: transparent;
  border-color: rgba(201, 169, 106, 0.48);
  color: #ece8df;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-focus {
  align-items: center;
  background: rgba(6, 12, 24, 0.86);
  border: 1px solid rgba(201, 169, 106, 0.28);
  bottom: clamp(28px, 5vw, 52px);
  display: grid;
  grid-template-columns: repeat(4, minmax(74px, 1fr));
  overflow: hidden;
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  width: min(430px, calc(100% - 40px));
  z-index: 2;
}

.hero-focus span {
  color: rgba(236, 232, 223, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-style: italic;
  min-height: 58px;
  padding: 16px 12px;
  text-align: center;
}

.hero-focus span + span {
  border-left: 1px solid rgba(201, 169, 106, 0.18);
}

.signal-band {
  background: rgba(201, 169, 106, 0.14);
  color: #ffffff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1px 0;
}

.signal-band div {
  align-content: start;
  background: var(--navy);
  display: grid;
  min-height: 150px;
  padding: clamp(28px, 3.4vw, 44px) clamp(24px, 4vw, 56px);
}

.signal-band strong {
  color: #f1ede4;
  display: block;
  font-family: "Nanum Myeongjo", "Noto Serif KR", Georgia, serif;
  font-size: clamp(21px, 1.7vw, 23px);
  line-height: 1.28;
  margin-bottom: 12px;
}

.signal-band span {
  color: rgba(180, 174, 163, 0.92);
  display: block;
  line-height: 1.78;
  max-width: 31em;
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: keep-all;
}

.section,
.approach,
.expertise {
  padding: clamp(78px, 10vw, 140px) clamp(20px, 5vw, 72px);
}

.intro {
  align-items: start;
  background: var(--navy);
  border-top: 1px solid rgba(201, 169, 106, 0.12);
  display: grid;
  gap: clamp(34px, 6vw, 84px);
  grid-template-columns: minmax(300px, 0.86fr) minmax(360px, 1.14fr);
}

.section-copy h2,
.section-heading h2,
.expertise-copy h2 {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.38;
  margin: 0;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: keep-all;
}

.section-copy h2 span {
  display: block;
}

.section-copy {
  max-width: 640px;
}

.intro .section-copy h2,
.approach .section-copy h2,
.expertise-copy h2 {
  color: #f4f0e7;
}

.section-copy p:not(.eyebrow),
.section-heading p,
.intro-text p,
.expertise-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.86;
  margin: 22px 0 0;
  max-width: 720px;
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: keep-all;
}

.intro-text p {
  font-size: 19px;
  margin-top: 4px;
  max-width: 760px;
}

.text-link {
  border-bottom: 1px solid rgba(201, 169, 106, 0.46);
  color: var(--gold);
  display: inline-flex;
  font-weight: 800;
  margin-top: 28px;
  padding-bottom: 6px;
}

.section-heading {
  margin: 0 auto clamp(44px, 6vw, 72px);
  max-width: 900px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  max-width: 780px;
  text-align: left;
}

.services,
.insights {
  background: var(--paper);
  color: var(--ink);
}

.services .eyebrow,
.industries .eyebrow,
.insights .eyebrow {
  color: var(--gold-deep);
}

.services .section-heading {
  max-width: 860px;
}

.services .section-heading h2,
.industries .section-heading h2,
.insights .section-heading h2 {
  color: var(--ink);
}

.services .section-heading p,
.industries .section-heading p,
.insights .section-heading p {
  color: var(--ink-soft);
}

.service-grid {
  background: var(--line);
  border: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.industry-list article,
.insight-card {
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.service-card {
  background: var(--paper-strong);
  min-height: 300px;
  padding: clamp(28px, 2.8vw, 40px);
}

.service-card:hover,
.industry-list article:hover,
.insight-card:hover {
  border-color: rgba(201, 169, 106, 0.7);
  box-shadow: 0 26px 56px -34px rgba(95, 70, 20, 0.65);
  transform: translateY(-4px);
}

.service-icon {
  color: var(--gold-deep);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  font-style: italic;
  line-height: 1;
}

.service-card h3,
.industry-list h3,
.timeline h3,
.insight-card h3 {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.36;
  margin: 24px 0 12px;
}

.service-card p,
.industry-list p,
.timeline p,
.insight-card p {
  color: var(--ink-soft);
  margin: 0;
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: keep-all;
}

.approach {
  background: var(--navy);
  color: #ffffff;
}

.approach-inner {
  align-items: start;
  display: grid;
  gap: clamp(42px, 6vw, 76px);
  grid-template-columns: minmax(360px, 1.08fr) minmax(320px, 0.92fr);
  margin: 0 auto;
  max-width: 1280px;
}

.approach .section-copy {
  max-width: 680px;
}

.timeline {
  counter-reset: step;
  display: grid;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  border-top: 1px solid rgba(201, 169, 106, 0.28);
  display: grid;
  gap: 20px;
  grid-template-columns: 74px 1fr;
  padding-top: 28px;
  position: relative;
}

.timeline span {
  color: rgba(201, 169, 106, 0.76);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 50px;
  font-style: italic;
  line-height: 1;
}

.timeline h3 {
  color: #f1ede4;
  margin: 0 0 12px;
}

.timeline p {
  color: var(--muted);
  max-width: 38em;
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: keep-all;
}

.industries {
  background: #efebe2;
  color: var(--ink);
}

.industry-list {
  display: grid;
  gap: clamp(18px, 2.2vw, 30px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.industry-list article {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  min-height: 242px;
  padding: clamp(28px, 2.8vw, 40px);
}

.industry-list h3 {
  margin-top: 0;
}

.expertise {
  align-items: stretch;
  background: var(--navy);
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  padding-inline: 0;
  padding-block: 0;
}

.expertise-copy {
  padding: clamp(78px, 10vw, 140px) clamp(20px, 5vw, 72px);
}

.expertise-panel {
  background: rgba(201, 169, 106, 0.14);
  color: #ffffff;
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
}

.expertise-panel div {
  align-content: center;
  background: var(--navy);
  display: grid;
  min-height: 196px;
  padding: clamp(30px, 5vw, 58px);
}

.expertise-panel strong {
  color: var(--gold);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-style: italic;
  margin-bottom: 10px;
}

.expertise-panel span {
  color: var(--muted);
  font-size: 18px;
}

.insight-grid {
  display: grid;
  gap: clamp(18px, 2.2vw, 30px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insight-card {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  min-height: 280px;
  padding: clamp(28px, 2.8vw, 40px);
}

.insight-card span {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.insight-card h3 {
  margin-bottom: 14px;
}

.site-footer {
  align-items: center;
  background: var(--navy-deep);
  border-top: 1px solid rgba(201, 169, 106, 0.12);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  min-height: 118px;
  padding: 30px clamp(20px, 5vw, 72px);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: #f1ede4;
  font-size: 22px;
}

.site-footer span,
.site-footer p {
  color: rgba(180, 174, 163, 0.74);
  margin: 0;
}

.site-footer p {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

@media (max-width: 1120px) {
  .hero-content {
    max-width: min(56vw, 650px);
  }

  .service-grid,
  .industry-list,
  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-focus {
    bottom: 28px;
    left: clamp(20px, 5vw, 72px);
    right: auto;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 88vh;
    min-height: 88svh;
    padding-bottom: 150px;
  }

  .hero::after,
  .hero-overlay {
    display: none;
  }

  .hero-content {
    max-width: 760px;
  }

  .intro,
  .approach-inner,
  .expertise {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding-inline: 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    max-height: 30px;
    width: 158px;
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 60;
  }

  .site-nav {
    align-content: start;
    background: rgba(6, 12, 24, 0.98);
    border-left: 1px solid rgba(201, 169, 106, 0.22);
    bottom: 0;
    box-shadow: -22px 0 70px rgba(0, 0, 0, 0.28);
    display: grid;
    gap: 0;
    height: 100vh;
    height: 100dvh;
    max-width: 360px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 92px 24px 24px;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 220ms ease;
    width: min(84vw, 360px);
    z-index: 55;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    border-bottom: 1px solid rgba(201, 169, 106, 0.14);
    color: #ece8df;
    font-family: "Nanum Myeongjo", "Noto Serif KR", Georgia, serif;
    font-size: 24px;
    font-weight: 800;
    padding: 18px 0;
  }

  .hero {
    padding-inline: 20px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .hero-lead {
    font-size: 21px;
  }

  .hero-focus {
    grid-template-columns: repeat(4, minmax(58px, 1fr));
    left: 20px;
    width: calc(100% - 40px);
  }

  .hero-focus span {
    font-size: 15px;
    min-height: 50px;
    padding: 14px 8px;
  }

  .signal-band,
  .service-grid,
  .industry-list,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .signal-band div {
    min-height: auto;
    padding: 26px 20px;
  }

  .service-card,
  .industry-list article,
  .insight-card {
    min-height: auto;
  }

  .site-footer {
    align-items: start;
    display: grid;
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    max-height: 28px;
    width: 142px;
  }

  .hero-lead br {
    display: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section-copy h2,
  .section-heading h2,
  .expertise-copy h2 {
    font-size: 29px;
    line-height: 1.45;
  }

  .section-copy p:not(.eyebrow),
  .section-heading p,
  .intro-text p,
  .expertise-copy p {
    font-size: 16px;
    line-height: 1.82;
  }

  .timeline li {
    grid-template-columns: 54px 1fr;
  }

  .timeline span {
    font-size: 42px;
  }
}
