/* ==========================================================================
   WZ-STUDIO-002 (Johnson Reference — Korean Visual Design Studio Template)
   Custom stylesheet written from scratch for Johnson layout & interactions
   ========================================================================== */

:root {
  --jns-bg: #ffffff;
  --jns-ink: #000000;
  --jns-ink-soft: #121212;
  --jns-muted: #757575;
  --jns-line: #d9d9d9;
  --jns-line-dark: rgba(17, 17, 17, 0.16);
  --jns-surface: #f5f5f5;
  --jns-tag-bg: rgba(17, 17, 17, 0.76);
  --jns-white: #ffffff;
  --jns-font: "Inter", "SUIT Variable", "SUIT", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --jns-container: 1350px;
  --jns-pad-x: 30px;
}

@media (max-width: 767px) {
  :root {
    --jns-pad-x: 15px;
  }
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--jns-bg);
  color: var(--jns-ink);
}

body {
  font-family: var(--jns-font);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.03em;
  word-break: keep-all;
  background-color: var(--jns-bg);
  color: var(--jns-ink);
  overflow-x: hidden;
  min-height: 100vh;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

/* Accessibility: Skip Link & Focus Visible */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--jns-ink);
  color: var(--jns-white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--jns-ink);
  outline-offset: 3px;
}

/* ==========================================================================
   1. Member Bar (TPL-001 4-1절 — 시안 A/B 겸용)
   ========================================================================== */
.member-bar {
  width: 100%;
  min-height: 36px;
  background-color: #fafafa;
  border-bottom: 1px solid #eaeaea;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #333333;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 120;
}

html.no-member-bar .member-bar {
  display: none !important;
}

.member-bar__inner {
  width: 100%;
  padding: 0 var(--jns-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.member-bar__info {
  color: #555555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-bar__links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-shrink: 0;
}

.member-bar__links a {
  color: #111111;
  font-weight: 500;
  position: relative;
}

.member-bar__links a + a::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 10px;
  background-color: #cccccc;
}

.member-bar__links a:hover {
  opacity: 0.65;
}

@media (max-width: 767px) {
  .member-bar {
    min-height: 34px;
    font-size: 0.75rem;
  }
  .member-bar__info {
    max-width: 52%;
  }
}

/* ==========================================================================
   2. Header & Navigation (Johnsons Header)
   ========================================================================== */
.jns-header {
  width: 100%;
  padding: 20px var(--jns-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 100;
  background-color: transparent;
}

.jns-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--jns-ink);
  line-height: 1;
}

.jns-logo svg {
  width: 160px;
  height: 32px;
}

.jns-nav {
  display: flex;
  align-items: center;
}

.jns-nav-list {
  display: flex;
  align-items: center;
  gap: 38px;
}

.jns-nav-item {
  position: relative;
}

.jns-nav-link {
  display: inline-flex;
  align-items: center;
  font-size: 1.3125rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--jns-ink);
  position: relative;
  padding: 4px 0;
}

/* Active menu superscript dot matching reference */
.jns-nav-item.is-active .jns-nav-link::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--jns-ink);
}

/* Brandberry 2-layer vertical roll-up hover */
.bb-nav-inner {
  display: inline-grid;
  overflow: hidden;
  line-height: 1.2;
}

.bb-nav-text,
.bb-nav-text-hover {
  grid-area: 1 / 1;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.bb-nav-text {
  transform: translateY(0%);
}

.bb-nav-text-hover {
  transform: translateY(105%);
}

.jns-nav-link:hover .bb-nav-text,
.jns-nav-link:focus-visible .bb-nav-text {
  transform: translateY(-105%);
}

.jns-nav-link:hover .bb-nav-text-hover,
.jns-nav-link:focus-visible .bb-nav-text-hover {
  transform: translateY(0%);
}

/* Mobile Menu Button & Offcanvas Drawer */
.jns-hamburger {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: flex-end;
  color: var(--jns-ink);
}

.jns-hamburger svg {
  width: 26px;
  height: 20px;
}

.jns-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.jns-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.jns-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 68%;
  max-width: 310px;
  height: 100vh;
  background-color: var(--jns-ink);
  color: var(--jns-white);
  z-index: 950;
  padding: 28px 28px 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.jns-drawer.is-open {
  transform: translateX(0);
}

.jns-drawer__top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 36px;
}

.jns-drawer__close {
  width: 36px;
  height: 36px;
  color: var(--jns-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.jns-drawer__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.jns-drawer__link {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--jns-white);
  display: inline-block;
}

.jns-drawer__link.is-active {
  text-decoration: underline;
  text-underline-offset: 6px;
}

@media (max-width: 900px) {
  .jns-nav {
    display: none;
  }
  .jns-hamburger {
    display: inline-flex;
  }
}

/* ==========================================================================
   3. Layout Containers & 3D Flip Display Headings
   ========================================================================== */
.jns-container {
  width: 100%;
  max-width: var(--jns-container);
  margin: 0 auto;
  padding: 0 var(--jns-pad-x);
}

.jns-container--full {
  width: 100%;
  padding: 0 var(--jns-pad-x);
}

/* 3D Text Flip Animation (Matches Brandberry .text-3d) */
.text-3d {
  --text-3d-delay: 0.15s;
  --text-3d-duration: 0.85s;
  --text-3d-perspective-x: 50%;
  --text-3d-rotate-delay: 0.05s;
  display: block;
}

.text-3d-inner {
  position: relative;
  display: inline-block;
  perspective: 1000px;
  perspective-origin: var(--text-3d-perspective-x) 50%;
  transform-style: preserve-3d;
}

.text-3d-front {
  position: relative;
  z-index: 2;
  display: block;
  backface-visibility: hidden;
}

.text-3d-hack {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.text-3d-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  backface-visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.text-3d.bb-3d--play {
  animation: bb3d-wrap var(--text-3d-duration) cubic-bezier(0.8, 0, 0.2, 1) both;
  animation-delay: var(--text-3d-delay);
}

.text-3d.bb-3d--play .text-3d-front {
  transform-origin: var(--text-3d-perspective-x) 100%;
  animation: bb3d-front var(--text-3d-duration) cubic-bezier(0.8, 0, 0.2, 1) both;
  animation-delay: calc(var(--text-3d-delay) + var(--text-3d-rotate-delay));
}

.text-3d.bb-3d--play .text-3d-back {
  transform-origin: var(--text-3d-perspective-x) 0%;
  animation: bb3d-back var(--text-3d-duration) cubic-bezier(0.8, 0, 0.2, 1) both;
  animation-delay: calc(var(--text-3d-delay) + var(--text-3d-rotate-delay));
}

@keyframes bb3d-wrap {
  0% {
    opacity: 0;
    transform: translateY(2.5rem);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes bb3d-front {
  0% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-100%) rotateX(90deg);
  }
}

@keyframes bb3d-back {
  0% {
    opacity: 0;
    transform: translateY(100%) rotateX(-90deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* Scroll Reveal Utility */
.jns-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.jns-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   4. Hero Sections (Home & Subpages)
   ========================================================================== */
.jns-hero {
  position: relative;
  background-color: var(--jns-bg);
  padding: 96px var(--jns-pad-x) 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.jns-hero--home {
  padding-top: 68px;
  padding-bottom: 72px;
}

/* Home Hero Top Portrait overlapping with Blend-Mode Difference Title */
.jns-hero__portrait-wrap {
  width: 205px;
  height: 256px;
  border-radius: 5px;
  overflow: hidden;
  margin: 0 auto -44px;
  position: relative;
  z-index: 1;
}

.jns-hero__portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jns-hero__titles {
  position: relative;
  z-index: 2;
  width: 100%;
}

.jns-hero__titles--blend {
  mix-blend-mode: difference;
  color: #ffffff;
}

.jns-display-title {
  font-size: clamp(2.5rem, 7.6vw, 7.25rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin: 0;
}

.jns-hero__titles--blend .jns-display-title {
  color: #ffffff;
}

.jns-hero__subtitle {
  margin-top: 32px;
  max-width: 40rem;
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.37;
  letter-spacing: -0.05em;
  color: var(--jns-ink);
}

@media (max-width: 767px) {
  .jns-hero {
    padding: 52px var(--jns-pad-x) 40px;
  }
  .jns-hero--home {
    padding-top: 36px;
    padding-bottom: 44px;
  }
  .jns-hero__portrait-wrap {
    width: 155px;
    height: 194px;
    margin-bottom: -26px;
  }
  .jns-display-title {
    font-size: 2.35rem;
    line-height: 1.04;
  }
  .jns-hero__subtitle {
    margin-top: 20px;
    font-size: 1.15rem;
    line-height: 1.45;
    max-width: 21rem;
  }
}

/* ==========================================================================
   5. Wide Feature Banner + Rotating Circular Badge
   ========================================================================== */
.jns-banner-section {
  position: relative;
  padding: 20px var(--jns-pad-x) 0;
  margin-bottom: 100px;
}

.jns-banner-box {
  position: relative;
  width: 100%;
  height: 740px;
  border-radius: 8px;
  overflow: hidden;
}

.jns-banner-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Circular Black Spinning Badge */
.jns-spin-badge {
  width: 205px;
  height: 205px;
  border-radius: 50%;
  background-color: var(--jns-ink);
  color: var(--jns-white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  user-select: none;
}

.jns-spin-badge--center-bottom {
  position: absolute;
  left: 50%;
  bottom: -102px;
  transform: translateX(-50%);
  z-index: 5;
}

.jns-spin-badge__ring {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  animation: jnsSpinSlow 18s linear infinite;
  will-change: transform;
}

.jns-spin-badge__flower {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
}

@keyframes jnsSpinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 767px) {
  .jns-banner-section {
    margin-bottom: 72px;
  }
  .jns-banner-box {
    height: 360px;
  }
  .jns-spin-badge {
    width: 132px;
    height: 132px;
  }
  .jns-spin-badge--center-bottom {
    bottom: -66px;
  }
  .jns-spin-badge__flower {
    width: 38px;
    height: 38px;
  }
}

/* ==========================================================================
   6. Selected Work / Portfolio 2-Column Grid Cards
   ========================================================================== */
.jns-work-section {
  padding: 64px var(--jns-pad-x) 40px;
}

.jns-section-heading {
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--jns-ink);
}

.jns-section-heading--center {
  text-align: center;
  margin-bottom: 56px;
}

.jns-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.jns-project-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 675 / 544;
  border-radius: 6px;
  overflow: hidden;
  background-color: #181818;
  color: var(--jns-white);
}

.jns-project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.jns-project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.36) 0%,
    rgba(0, 0, 0, 0.04) 45%,
    rgba(0, 0, 0, 0.42) 100%
  );
  pointer-events: none;
}

.jns-project-card:hover .jns-project-card__img {
  transform: scale(1.05);
}

.jns-project-card__top {
  position: absolute;
  top: 26px;
  left: 28px;
  right: 28px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.jns-project-card__title {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--jns-white);
}

.jns-project-card__arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--jns-white);
  color: var(--jns-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s ease, background-color 0.35s ease, color 0.35s ease;
}

.jns-project-card__arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.35s ease;
}

.jns-project-card:hover .jns-project-card__arrow {
  transform: scale(1.08);
}

.jns-project-card:hover .jns-project-card__arrow svg {
  transform: rotate(45deg);
}

.jns-project-card__tags {
  position: absolute;
  bottom: 24px;
  left: 28px;
  right: 28px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jns-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: var(--jns-tag-bg);
  backdrop-filter: blur(6px);
  color: var(--jns-white);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.jns-work-section__cta {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

/* Pill Outline Button (Matches aae--btn-pro style-8) */
.jns-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 999px;
  border: 1px solid var(--jns-ink);
  background-color: transparent;
  color: var(--jns-ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.jns-btn-pill svg {
  width: 15px;
  height: 15px;
  transition: transform 0.28s ease;
}

.jns-btn-pill:hover {
  background-color: var(--jns-ink);
  color: var(--jns-white);
}

.jns-btn-pill:hover svg {
  transform: translateX(4px);
}

.jns-btn-pill--solid {
  background-color: var(--jns-ink);
  color: var(--jns-white);
}

.jns-btn-pill--solid:hover {
  background-color: #262626;
  border-color: #262626;
}

@media (max-width: 767px) {
  .jns-work-section {
    padding: 36px var(--jns-pad-x) 24px;
  }
  .jns-section-heading {
    font-size: 2.1rem;
    line-height: 1.08;
  }
  .jns-section-heading--center {
    margin-bottom: 32px;
  }
  .jns-projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .jns-project-card__top {
    top: 20px;
    left: 20px;
    right: 20px;
  }
  .jns-project-card__title {
    font-size: 1.5rem;
  }
  .jns-project-card__tags {
    bottom: 18px;
    left: 20px;
    right: 20px;
  }
  .jns-work-section__cta {
    margin-top: 40px;
  }
}

/* ==========================================================================
   7. Split Sections (Services, About Me, My Skills, Experience, Contact)
   ========================================================================== */
.jns-split-section {
  padding: 96px 0;
}

.jns-split-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: stretch;
}

.jns-split-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.jns-split-right {
  display: flex;
  flex-direction: column;
}

/* Numbered Service / Experience Item Rows */
.jns-numbered-item {
  border-top: 1px solid var(--jns-line);
  padding: 14px 0 42px;
}

.jns-numbered-item__num {
  display: block;
  text-align: right;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1;
  color: var(--jns-muted);
  margin-bottom: 6px;
}

.jns-numbered-item__title {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--jns-ink);
  margin-bottom: 16px;
}

.jns-numbered-item__desc {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.58;
  letter-spacing: -0.025em;
  color: var(--jns-muted);
}

.jns-split-right__cta {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .jns-split-section {
    padding: 56px 0;
  }
  .jns-split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .jns-split-left--with-badge {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .jns-numbered-item {
    padding: 12px 0 32px;
  }
  .jns-numbered-item__title {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   8. Studio Gallery Horizontal Image Slider (Swiper)
   ========================================================================== */
.jns-gallery-slider-section {
  padding: 48px 0 56px;
  overflow: hidden;
}

.jns-gallery-swiper {
  width: 100%;
  overflow: visible;
}

.jns-gallery-slide {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 330 / 451;
  background-color: #ececec;
}

.jns-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.jns-gallery-slide:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   9. About Page Specific Sections
   ========================================================================== */
.jns-about-visual {
  padding: 20px 0 72px;
}

.jns-about-visual__grid {
  display: grid;
  grid-template-columns: 1fr 496px 1fr;
  align-items: center;
  gap: 32px;
}

.jns-about-visual__caption {
  text-align: right;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: var(--jns-ink);
  padding-right: 16px;
}

.jns-about-visual__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 496 / 745;
  border-radius: 8px;
  overflow: hidden;
}

.jns-about-visual__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jns-about-visual__badge-col {
  position: relative;
  display: flex;
  align-items: center;
}

.jns-spin-badge--overlap-left {
  margin-left: -120px;
  z-index: 4;
}

.jns-prose p {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.52;
  letter-spacing: -0.03em;
  color: var(--jns-ink);
}

.jns-prose p + p {
  margin-top: 28px;
}

/* 2-Column Numbered Grid (My Skills & Connect) */
.jns-two-col-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 36px;
}

.jns-line-row {
  border-top: 1px solid var(--jns-line);
  padding: 12px 0 24px;
  display: flex;
  flex-direction: column;
}

.jns-line-row:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--jns-line);
}

.jns-line-row__num {
  text-align: right;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--jns-muted);
  line-height: 1;
}

.jns-line-row__label {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: var(--jns-ink);
  margin-top: 2px;
}

a.jns-line-row:hover .jns-line-row__label {
  transform: translateX(6px);
}

/* Experience Timeline Items */
.jns-exp-item {
  border-top: 1px solid var(--jns-line);
  padding: 22px 0 42px;
}

.jns-exp-item__period {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border: 1px solid var(--jns-ink);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--jns-ink);
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .jns-about-visual__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .jns-about-visual__caption {
    text-align: center;
    padding-right: 0;
  }
  .jns-about-visual__photo {
    max-width: 420px;
    margin: 0 auto;
  }
  .jns-about-visual__badge-col {
    justify-content: center;
    margin-top: -86px;
  }
  .jns-spin-badge--overlap-left {
    margin-left: 0;
  }
  .jns-prose p {
    font-size: 1.125rem;
  }
  .jns-two-col-list {
    grid-template-columns: 1fr;
  }
  .jns-line-row:nth-last-child(2) {
    border-bottom: 0;
  }
}

/* ==========================================================================
   10. Project Single Page Specific Sections
   ========================================================================== */
.jns-single-shot {
  padding: 20px var(--jns-pad-x);
}

.jns-single-shot__frame {
  width: 100%;
  overflow: hidden;
}

.jns-single-shot__frame img {
  width: 100%;
  height: auto;
  display: block;
}

.jns-overview-section {
  padding: 88px 0;
}

.jns-overview-marquee {
  overflow: hidden;
  width: 100%;
  max-width: 480px;
}

.jns-overview-marquee__track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: jnsMarquee 14s linear infinite;
}

.jns-overview-marquee__item {
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes jnsMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.jns-meta-table {
  margin-top: 44px;
  margin-bottom: 36px;
  border-top: 1px solid var(--jns-line);
}

.jns-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--jns-line);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--jns-ink-soft);
}

/* ==========================================================================
   11. Contact Page Specific Sections (Contact Rows & Say Hello Form)
   ========================================================================== */
.jns-contact-lead {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.035em;
  color: var(--jns-ink);
  margin-bottom: 36px;
}

.jns-contact-rows {
  border-bottom: 1px solid var(--jns-line);
}

.jns-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.jns-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jns-form-label {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--jns-ink);
}

.jns-form-control {
  width: 100%;
  height: 52px;
  padding: 12px 18px;
  background-color: #f3f3f3;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  font-size: 1rem;
  color: var(--jns-ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.jns-form-control:focus {
  border-color: var(--jns-ink);
  background-color: var(--jns-white);
  outline: none;
}

textarea.jns-form-control {
  height: 180px;
  resize: vertical;
  padding-top: 14px;
}

.jns-form-submit {
  align-self: flex-start;
  margin-top: 8px;
  padding: 14px 36px;
  border-radius: 999px;
  background-color: var(--jns-ink);
  color: var(--jns-white);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.jns-form-submit:hover {
  background-color: #2b2b2b;
  transform: translateY(-1px);
}

.jns-form-feedback {
  display: none;
  padding: 14px 18px;
  border-radius: 6px;
  background-color: #111111;
  color: #ffffff;
  font-size: 0.95rem;
}

.jns-form-feedback.is-shown {
  display: block;
}

/* ==========================================================================
   12. 404 Page Section
   ========================================================================== */
.jns-404-section {
  min-height: 72vh;
  padding: 80px var(--jns-pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 56px;
}

.jns-404-graphic {
  width: min(602px, 88vw);
  height: auto;
}

/* ==========================================================================
   13. Footer (Johnsons Footer — LET'S TALK + Links + Bottom Bar)
   ========================================================================== */
.jns-footer {
  padding: 88px 0 36px;
  background-color: var(--jns-bg);
}

.jns-footer__main {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: flex-start;
  padding-bottom: 84px;
}

.jns-footer__talk-title {
  font-size: clamp(3rem, 7.2vw, 7.25rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--jns-ink);
}

.jns-footer__talk-desc {
  margin-top: 22px;
  margin-bottom: 34px;
  max-width: 32rem;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.025em;
  color: var(--jns-ink);
}

.jns-footer__Menus {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding-top: 12px;
}

.jns-footer__menu-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jns-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--jns-ink);
}

.jns-footer__link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.jns-footer__bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.jns-footer__biz {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
  color: #333333;
}

.jns-footer__biz strong {
  font-weight: 600;
  color: var(--jns-ink);
}

.jns-footer__top-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--jns-ink);
  cursor: pointer;
}

.jns-footer__top-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.28s ease;
}

.jns-footer__top-btn:hover svg {
  transform: translateY(-4px);
}

@media (max-width: 767px) {
  .jns-footer {
    padding: 56px 0 32px;
  }
  .jns-footer__main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
    text-align: center;
  }
  .jns-footer__talk {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .jns-footer__talk-desc {
    font-size: 1.25rem;
    margin-bottom: 26px;
  }
  .jns-footer__Menus {
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
    justify-items: center;
  }
  .jns-footer__menu-col {
    align-items: center;
  }
  .jns-footer__bottom {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .jns-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
