:root {
  --paper: #f5f1e8;
  --paper-2: #ece7dc;
  --ink: #171b20;
  --muted: #59616b;
  --rule: #d4ccbe;
  --navy: #1b3147;
  --steel: #416b87;
  --blue-soft: #d9e5eb;
  --orange: #c56a3a;
  --orange-dark: #9c4b28;
  --white: #ffffff;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-tap-highlight-color: rgba(27, 49, 71, 0.18);
}

a {
  color: var(--navy);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

a:hover,
a:focus {
  color: var(--orange-dark);
  text-decoration: none;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(65, 107, 135, 0.38);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--ink);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.22;
}

h1 {
  font-size: 4.8rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--muted);
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 6.5rem 0;
}

.lead {
  color: var(--ink);
  font-size: 1.16rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.eyebrow,
.section-kicker,
.project-meta {
  margin-bottom: 1rem;
  color: var(--steel);
  font-size: 0.85rem;
  font-weight: 800;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
}

.section-head h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.section-rule {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section-muted {
  background: var(--paper-2);
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-dark h2,
.section-dark h3,
.section-dark .lead,
.section-dark p,
.section-dark a {
  color: var(--paper);
}

.section-dark .section-kicker,
.section-dark .project-meta {
  color: var(--blue-soft);
}

.bg-primary {
  background-color: var(--navy) !important;
}

.bg-dark {
  background-color: var(--ink) !important;
}

#mainNav {
  border-bottom: 1px solid rgba(23, 27, 32, 0.12);
  background: rgba(245, 241, 232, 0.95);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

#mainNav.navbar-shrink {
  background: rgba(245, 241, 232, 0.98);
  box-shadow: 0 10px 30px rgba(23, 27, 32, 0.08);
}

#mainNav .navbar-brand {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  white-space: normal;
}

#mainNav .navbar-brand:hover,
#mainNav .navbar-brand:focus {
  color: var(--navy);
}

#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.65rem 0.8rem;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link.active {
  color: var(--orange-dark);
}

#mainNav .navbar-toggler {
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.55rem 0.65rem;
}

.masthead {
  position: relative;
  overflow: hidden;
  padding: 10rem 0 6rem;
}

.editorial-hero {
  min-height: 690px;
  background:
    linear-gradient(90deg, rgba(245, 241, 232, 0.98), rgba(245, 241, 232, 0.76)),
    url("../img/header.jpg") center / cover no-repeat;
  border-bottom: 1px solid var(--rule);
}

.editorial-hero h1,
.page-hero h1 {
  margin-bottom: 1.5rem;
}

.hero-copy {
  max-width: 720px;
  color: var(--ink);
  font-size: 1.22rem;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.journal-visual {
  position: relative;
  min-height: 430px;
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid rgba(23, 27, 32, 0.24);
  border-radius: 6px;
  background:
    linear-gradient(rgba(27, 49, 71, 0.72), rgba(27, 49, 71, 0.5)),
    url("../img/header.jpg") center / cover no-repeat;
  box-shadow: 20px 20px 0 rgba(65, 107, 135, 0.16);
}

.journal-visual::before,
.journal-visual::after,
.project-art::before,
.project-art::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.journal-visual::before {
  inset: 22px;
  border: 1px solid rgba(245, 241, 232, 0.5);
}

.journal-visual::after {
  left: 44px;
  right: 44px;
  top: 52%;
  height: 1px;
  background: rgba(245, 241, 232, 0.58);
}

.visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 241, 232, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.16) 1px, transparent 1px);
  background-size: 40px 40px;
}

.visual-label,
.coordinate {
  position: absolute;
  z-index: 2;
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 800;
}

.visual-label {
  left: 36px;
  top: 34px;
}

.coordinate-a {
  right: 32px;
  top: 34px;
}

.coordinate-b {
  left: 36px;
  bottom: 32px;
}

.page-hero {
  padding: 11rem 0 5rem;
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(90deg, rgba(245, 241, 232, 0.98), rgba(245, 241, 232, 0.9)),
    radial-gradient(circle at 82% 22%, rgba(65, 107, 135, 0.18), transparent 34%);
}

.studio-hero,
.careers-hero,
.contact-hero {
  background:
    linear-gradient(90deg, rgba(245, 241, 232, 0.98), rgba(245, 241, 232, 0.88)),
    linear-gradient(135deg, rgba(65, 107, 135, 0.16), rgba(197, 106, 58, 0.12));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1.2;
  text-transform: none;
}

.btn-xl {
  min-height: 48px;
  padding: 0.95rem 1.25rem;
}

.btn-primary {
  background-color: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--orange-dark) !important;
  border-color: var(--orange-dark) !important;
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
  background: var(--ink);
  color: var(--paper);
}

.project-editorial-list {
  display: grid;
  gap: 1.5rem;
}

.project-row {
  display: grid;
  grid-template-columns: 70px minmax(220px, 0.86fr) 1fr;
  gap: 1.5rem;
  align-items: stretch;
  padding: 1.2rem 0;
  border-top: 1px solid var(--rule);
}

.project-row-offset {
  grid-template-columns: 70px 1fr minmax(220px, 0.86fr);
}

.project-row-offset .project-art {
  order: 3;
}

.project-index,
.portfolio-number {
  color: var(--orange-dark);
  font-size: 0.92rem;
  font-weight: 900;
}

.project-copy {
  align-self: center;
}

.project-copy h3,
.portfolio-copy h2,
.concept-card h3 {
  margin-bottom: 0.65rem;
}

.project-art {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(23, 27, 32, 0.18);
  border-radius: 6px;
  background-color: var(--blue-soft);
  background-size: cover;
}

.project-art::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 241, 232, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.28) 1px, transparent 1px);
  background-size: 34px 34px;
  mix-blend-mode: screen;
}

.project-art::after {
  left: 28px;
  right: 28px;
  bottom: 28px;
  height: 1px;
  background: rgba(245, 241, 232, 0.78);
}

.art-tideline {
  background:
    linear-gradient(145deg, rgba(27, 49, 71, 0.84), rgba(65, 107, 135, 0.46)),
    linear-gradient(6deg, transparent 42%, rgba(245, 241, 232, 0.8) 42%, rgba(245, 241, 232, 0.8) 44%, transparent 44%),
    url("../img/portfolio/fullsize/6.jpg") center / cover;
}

.art-red-vector {
  background:
    linear-gradient(135deg, rgba(23, 27, 32, 0.88), rgba(156, 75, 40, 0.56)),
    linear-gradient(120deg, transparent 45%, rgba(197, 106, 58, 0.94) 45%, rgba(197, 106, 58, 0.94) 49%, transparent 49%),
    url("../img/portfolio/fullsize/4.jpg") center / cover;
}

.art-soft-signal {
  background:
    linear-gradient(135deg, rgba(245, 241, 232, 0.84), rgba(65, 107, 135, 0.42)),
    radial-gradient(circle at 35% 38%, rgba(197, 106, 58, 0.45), transparent 16%),
    url("../img/portfolio/fullsize/3.jpg") center / cover;
}

.art-wind-index {
  background:
    linear-gradient(140deg, rgba(27, 49, 71, 0.76), rgba(217, 229, 235, 0.5)),
    repeating-linear-gradient(115deg, rgba(245, 241, 232, 0.4) 0, rgba(245, 241, 232, 0.4) 1px, transparent 1px, transparent 26px),
    url("../img/portfolio/fullsize/5.jpg") center / cover;
}

.art-ghost-frame {
  background:
    linear-gradient(135deg, rgba(23, 27, 32, 0.84), rgba(65, 107, 135, 0.52)),
    url("../img/portfolio/fullsize/3.jpg") center / cover;
}

.art-low-orbit {
  background:
    radial-gradient(circle at 68% 34%, rgba(245, 241, 232, 0.82) 0 8%, transparent 9%),
    linear-gradient(145deg, rgba(27, 49, 71, 0.82), rgba(197, 106, 58, 0.34)),
    url("../img/portfolio/fullsize/4.jpg") center / cover;
}

.art-threadline {
  background:
    linear-gradient(90deg, rgba(23, 27, 32, 0.82), rgba(65, 107, 135, 0.42)),
    repeating-linear-gradient(0deg, transparent 0, transparent 20px, rgba(245, 241, 232, 0.38) 21px),
    url("../img/portfolio/fullsize/6.jpg") center / cover;
}

.principle-grid,
.focus-grid,
.working-grid,
.capability-grid,
.concept-grid {
  row-gap: 1.5rem;
}

.principle-card,
.focus-item,
.concept-card,
.capability-grid article,
.working-grid article,
.privacy-grid article {
  height: 100%;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.35);
  padding: 1.35rem;
}

.principle-card span,
.rhythm-grid span,
.timeline-flow span,
.note-item span {
  color: var(--orange-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
}

.tag-cloud span,
.split-list span,
.value-list span,
.send-list span,
.role-grid span,
.category-line span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(245, 241, 232, 0.35);
  border-radius: 4px;
  padding: 0.35rem 0.7rem;
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 800;
}

.tag-cloud-light span,
.split-list span,
.value-list span,
.role-grid span,
.category-line span {
  border-color: var(--rule);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.35);
}

.tool-line {
  margin-bottom: 0;
  color: var(--blue-soft);
}

.note-list,
.question-list,
.status-guide,
.contact-channels {
  display: grid;
  gap: 1rem;
}

.note-item {
  display: grid;
  grid-template-columns: 120px minmax(200px, 0.42fr) 1fr;
  gap: 1rem;
  align-items: start;
  border-top: 1px solid var(--rule);
  padding: 1.35rem 0;
}

.strip-section {
  border-top: 1px solid rgba(245, 241, 232, 0.28);
  background: var(--navy);
  color: var(--paper);
}

.strip-section-light {
  background: var(--paper);
  border-top: 1px solid var(--rule);
}

.strip-section h2,
.strip-section p {
  color: var(--paper);
}

.strip-section-light h2,
.strip-section-light p {
  color: var(--ink);
}

.strip-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer {
  padding: 4rem 0 2rem;
  background: var(--ink);
  color: var(--paper);
}

.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer a {
  color: var(--paper);
}

.site-footer h2 {
  font-size: 1.4rem;
}

.site-footer h3 {
  font-size: 0.95rem;
}

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

.site-footer li + li {
  margin-top: 0.35rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(245, 241, 232, 0.18);
  color: var(--paper-2);
  font-size: 0.9rem;
}

.project-index-nav {
  display: grid;
  grid-template-columns: repeat(7, minmax(110px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.project-index-nav a {
  min-height: 68px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.75rem;
  color: var(--ink);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.3);
}

.project-index-nav span {
  display: block;
  color: var(--orange-dark);
  font-size: 0.78rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-button {
  min-height: 42px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  padding: 0.45rem 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.project-filter-item.is-hidden {
  display: none;
}

.portfolio-feature {
  display: grid;
  grid-template-columns: 60px minmax(260px, 0.96fr) 1fr;
  gap: 1.4rem;
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
}

.portfolio-feature-reverse {
  grid-template-columns: 60px 1fr minmax(260px, 0.96fr);
}

.portfolio-feature-reverse .project-art {
  order: 3;
}

.project-facts {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.project-facts div,
.status-guide div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  border-top: 1px solid var(--rule);
  padding-top: 0.8rem;
}

.project-facts dt,
.status-guide strong {
  color: var(--ink);
  font-weight: 900;
}

.project-facts dd {
  margin-bottom: 0;
  color: var(--muted);
}

.concept-card .project-art {
  min-height: 190px;
  margin-bottom: 1rem;
}

.question-list p {
  margin: 0;
  border-top: 1px solid rgba(245, 241, 232, 0.28);
  padding: 1rem 0;
  color: var(--paper);
  font-size: 2rem;
  font-weight: 800;
}

.discipline-block {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) 1fr;
  gap: 2rem;
  border-top: 1px solid var(--rule);
  padding: 2.7rem 0;
}

.split-list,
.value-list,
.send-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.workflow-image {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--rule);
  filter: grayscale(0.72) contrast(1.05);
}

.numbered-flow,
.timeline-flow {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.numbered-flow li,
.timeline-flow li {
  border-top: 1px solid var(--rule);
  padding: 1rem 0;
  color: var(--muted);
}

.numbered-flow span {
  display: inline-block;
  width: 42px;
  color: var(--orange-dark);
  font-weight: 900;
}

.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.rhythm-grid article {
  min-height: 230px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.3rem;
}

.value-column {
  display: grid;
  gap: 0;
}

.value-column p {
  margin: 0;
  border-top: 1px solid rgba(245, 241, 232, 0.28);
  padding: 1rem 0;
  color: var(--paper);
  font-size: 2rem;
  font-weight: 800;
}

.accordion-item {
  border-top: 1px solid var(--rule);
}

.accordion-trigger {
  position: relative;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 1.15rem 2.5rem 1.15rem 0;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 900;
  cursor: pointer;
}

.accordion-trigger::after {
  content: "−";
  position: absolute;
  right: 0;
  top: 1.1rem;
}

.accordion-trigger.collapsed::after {
  content: "+";
}

.accordion-item .collapse,
.accordion-item .collapsing {
  padding-bottom: 1.2rem;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  border-top: 1px solid var(--rule);
  padding: 1rem 0 1rem 2rem;
  color: var(--ink);
  font-weight: 800;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange-dark);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.timeline-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.timeline-flow li {
  min-height: 220px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1rem;
}

.timeline-flow strong {
  display: block;
  margin: 0.65rem 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.contact-channels {
  grid-template-columns: repeat(2, 1fr);
}

.contact-channels article {
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.25rem;
}

.contact-channels span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.contact-channels a {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.2rem;
  font-weight: 900;
}

.category-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.3rem;
}

.contact-form {
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.35);
  padding: 1.4rem;
}

.contact-form label {
  color: var(--ink);
  font-weight: 900;
}

.form-control {
  min-height: 48px;
  border-color: var(--rule);
  border-radius: 4px;
  background-color: var(--paper);
  color: var(--ink);
}

textarea.form-control {
  min-height: 180px;
}

.form-check {
  padding-left: 1.7rem;
}

.form-check-input {
  margin-top: 0.45rem;
}

.form-status {
  margin-top: 1rem;
  border-radius: 4px;
  padding: 0;
  color: var(--ink);
  font-weight: 800;
}

.form-status.is-visible {
  border: 1px solid var(--steel);
  background: var(--blue-soft);
  padding: 1rem;
}

.form-status.is-error {
  border-color: var(--orange-dark);
  background: #f2d8c9;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 1199.98px) {
  .project-index-nav {
    grid-template-columns: repeat(4, 1fr);
  }

  .timeline-flow {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  #mainNav .navbar-collapse {
    padding: 0.8rem 0 0.5rem;
  }

  .masthead,
  .page-hero {
    padding-top: 8rem;
  }

  .project-row,
  .project-row-offset,
  .portfolio-feature,
  .portfolio-feature-reverse,
  .discipline-block,
  .note-item {
    grid-template-columns: 1fr;
  }

  .project-row-offset .project-art,
  .portfolio-feature-reverse .project-art {
    order: 0;
  }

  .rhythm-grid,
  .role-grid,
  .privacy-grid,
  .contact-channels {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip-content,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .question-list p,
  .value-column p {
    font-size: 1.4rem;
  }

  section {
    padding: 4.4rem 0;
  }

  .editorial-hero {
    min-height: auto;
  }

  .journal-visual {
    min-height: 300px;
    box-shadow: 10px 10px 0 rgba(65, 107, 135, 0.16);
  }

  .project-art {
    min-height: 220px;
  }

  .project-index-nav,
  .rhythm-grid,
  .timeline-flow,
  .role-grid,
  .privacy-grid,
  .contact-channels {
    grid-template-columns: 1fr;
  }

  .project-facts div,
  .status-guide div {
    grid-template-columns: 1fr;
  }

  .btn-xl {
    width: 100%;
  }

  .hero-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
