:root {
  /* font */
  /* --- English / Latin --- */

  @font-face {
    font-family: "BDO Grotesk";
    src: url("/fonts/BDOGrotesk-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: "BDO Grotesk";
    src: url("/fonts/BDOGrotesk-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }

  /* --- Korean --- */
  @font-face {
    font-family: "Pretendard";
    src: url("/fonts/Pretendard-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: "Pretendard";
    src: url("/fonts/Pretendard-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  /* Grey */
  --color-grey-100: rgba(255, 255, 255, 1);
  --color-grey-200: rgba(244, 244, 244, 1);
  --color-grey-300: rgba(237, 237, 237, 1);
  --color-grey-400: rgba(214, 214, 214, 1);
  --color-grey-500: rgba(184, 184, 184, 1);
  --color-grey-600: rgba(143, 143, 143, 1);
  --color-grey-700: rgba(51, 51, 51, 1);
  --color-grey-800: rgba(0, 0, 0, 1);

  /* Shading White */
  --color-shadingWhite-0: rgba(255, 255, 255, 0);
  --color-shadingWhite-20: rgba(255, 255, 255, 0.2);
  --color-shadingWhite-40: rgba(255, 255, 255, 0.4);
  --color-shadingWhite-60: rgba(255, 255, 255, 0.6);
  --color-shadingWhite-80: rgba(255, 255, 255, 0.8);
  --color-shadingWhite-100: rgba(255, 255, 255, 1);

  /* Shading Black */
  --color-shadingBlack-0: rgba(0, 0, 0, 0);
  --color-shadingBlack-20: rgba(0, 0, 0, 0.2);
  --color-shadingBlack-40: rgba(0, 0, 0, 0.4);
  --color-shadingBlack-60: rgba(0, 0, 0, 0.6);
  --color-shadingBlack-80: rgba(0, 0, 0, 0.8);
  --color-shadingBlack-100: rgba(0, 0, 0, 1);

  /* Typography - Font Size (PC) */
  --typography-fontSize-h1: 64px;
  --typography-fontSize-h2: 48px;
  --typography-fontSize-h3: 40px;
  --typography-fontSize-h4: 24px;
  --typography-fontSize-labelM: 16px;
  --typography-fontSize-labelS: 14px;
  --typography-fontSize-bodyM: 16px;
  --typography-fontSize-bodyS: 14px;

  /* Line Height */
  --typography-lineHeight-h1: 1.1;
  --typography-lineHeight-h2: 1.15;
  --typography-lineHeight-h3: 1.15;
  --typography-lineHeight-h4: 1.2;
  --typography-lineHeight-body: 1.4;
  --typography-lineHeight-label: 1.4;
}
@media (max-width: 768px) {
  :root {
    --typography-fontSize-h1: 40px;
    --typography-fontSize-h2: 36px;
    --typography-fontSize-h3: 28px;
    --typography-fontSize-h4: 20px;
    --typography-fontSize-labelM: 14px;
    --typography-fontSize-labelS: 13px;
    --typography-fontSize-bodyM: 14px;
    --typography-fontSize-bodyS: 13px;
  }
}
.title-line {
  display: none;
}
body {
  font-family:
    "BDO Grotesk",
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  word-break: keep-all;
  word-wrap: break-word;
}

main {
  padding-top: 200px;
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.w-home main {
  opacity: 1;
}

.w-about main {
  padding-top: 0;
}


/* Base typography styles using existing design tokens (no new vars) */
h1 {
  font-family: inherit;
  font-size: var(--typography-fontSize-h1);
  line-height: var(--typography-lineHeight-h1);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}

h2 {
  font-family: inherit;
  font-size: var(--typography-fontSize-h2);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing:  -0.02em;
  margin: 0;
}

h3 {
  font-family: inherit;
  font-size: var(--typography-fontSize-h3);
  line-height: var(--typography-lineHeight-h3);
  font-weight: 500;
  letter-spacing:  -0.02em;
  margin: 0;
}

h4 {
  font-family: inherit;
  font-size: var(--typography-fontSize-h4);
  line-height: var(--typography-lineHeight-h4);
  font-weight: 500;
  letter-spacing:  -0.02em;
  margin: 0;
}

.bodym {
  font-family: inherit;
  font-size: var(--typography-fontSize-bodyM);
  line-height: var(--typography-lineHeight-body);
  font-weight: 400;
  letter-spacing: 0em;
  margin: 0 0 1rem 0;
}

.bodys {
  font-family: inherit;
  font-size: var(--typography-fontSize-bodyS);
  line-height: var(--typography-lineHeight-body);
  font-weight: 400;
  letter-spacing: 0em;
}

.labelm {
  font-family: inherit;
  font-size: var(--typography-fontSize-labelM);
  line-height: var(--typography-lineHeight-label);
  font-weight: 500;
  letter-spacing: -0.008em;
}

.labels {
  font-family: inherit;
  font-size: var(--typography-fontSize-labelS);
  line-height: var(--typography-lineHeight-label);
  font-weight: 500;
  letter-spacing: -0.008em;
}

/* ========================================
   Layout - Container
   ======================================== */
.container {
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.container-wide {
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.container-narrow {
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

/* 12-Column Grid System */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

/* 2-Column Grid System (Mobile) */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* Section wrapper - full width */
section {
  width: 100%;
}

/* ========================================
   Components - Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 12px 12px 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn .labels {
  position: relative;
  overflow: hidden;
  height: 1.2em;
  display: block;
  width: auto;
  min-width: fit-content;
}

.btn .labels span {
  display: block;
  height: 1.2em;
  line-height: 1.2em;
}

.btn-primary {
  width: 160px;
  height: 40px;
  border-top: 1px solid var(--color-grey-800);
  border-left: 1px solid var(--color-grey-800);
}

.btn-secondary {
  width: 180px;
  height: 56px;
  background: var(--color-grey-100);
  border-top: 1px solid var(--color-grey-800);
}

.btn-submit {
  width: 160px;
  height: 40px;
  background: var(--color-grey-800);
  border: none;
  padding: 12px 16px;
}

.btn-submit::before {
  background: var(--color-grey-700);
}

.btn-submit .labels {
  font-weight: 500;
  color: var(--color-grey-100);
}

.btn-ghost {
  border: none;
  padding: 0;
}

.btn-ghost::before {
  display: none;
}

.btn-more {
  width: 160px;
  height: 40px;
  border-top: 1px solid var(--color-grey-800);
  border-left: 1px solid var(--color-grey-800);
}

.btn-scroll {
  width: 180px;
  height: 56px;
  background: #ffffff;
  padding: 12px;
  display: flex;
  align-items: flex-start;
}

/* ========================================
   Page: Home
   ======================================== */
.p-home {
  width: 100%;
  background: var(--color-grey-100);
  display: flex;
  flex-direction: column;
  gap: 200px;
}

/* ========================================
   Page: About
   ======================================== */
.p-about {
  width: 100%;
  background: var(--color-grey-100);
  display: flex;
  flex-direction: column;
}

/* ========================================
   Layout: Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-grey-100);
  z-index: 1000;
}

.w-about .header {
  background: transparent;
  transition: background 0.4s ease;
}

.w-about .header.header-light {
  background: var(--color-grey-100);
}

.w-about .header a,
.w-about .header svg {
  color: var(--color-grey-100);
  fill: var(--color-grey-100);
  transition: color 0.4s ease, fill 0.4s ease;
}

.w-about .header.header-light a,
.w-about .header.header-light svg {
  color: var(--color-grey-800);
  fill: var(--color-grey-800);
}

.header .container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  padding: 40px;
}

.header-logo {
  grid-column: 1 / 4;
  display: flex;
  align-items: center;
  color: var(--color-grey-800);
  text-decoration: none;
}

.header-logo svg {
  height: 16px;
  width: auto;
}

.nav {
  grid-column: 7 / 10;
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav a {
  color: var(--color-grey-800);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--color-grey-600);
}

.header-contact {
  grid-column: 12 / 13;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-contact a {
  color: var(--color-grey-800);
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.header-contact a:hover {
  color: var(--color-grey-600);
}

/* ========================================
   Layout: Footer
   ======================================== */
.footer {
  width: 100%;
  background: var(--color-grey-100);
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin-top: 200px;
  padding:  0 40px 40px;
}

/* CTA Grid */
.footer-cta {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  position: relative;
}

.footer-cta-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  color: var(--color-grey-800);
  padding: 12px;
  border-top: 1px solid var(--color-grey-800);
  border-left: 1px solid var(--color-grey-800);
}

.footer-cta-logo svg {
  width: auto;
  height: 16px;
}

.footer-cta-content {
  grid-column: 7 / 13;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 12px 0;
}

.footer-cta-content h3 {
  color: var(--color-grey-800);
  margin: 0;
}

.footer-cta-content .bodys {
  color: var(--color-grey-800);
  margin: 0;
  max-width: 320px;
}

/* Info Grid */
.footer-info {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 40px 16px;
}

.footer-nav {
  grid-column: 7 / 10;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-nav a {
  color: var(--color-grey-800);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--color-grey-600);
}

.footer-link-kr {
  font-weight: 500;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: -0.07px;
  color: var(--color-grey-800);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link-kr:hover {
  color: var(--color-grey-600);
}

.footer-contact {
  grid-column: 10 / 13;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact a {
  color: var(--color-grey-800);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--color-grey-600);
}

.footer-company-info {
  grid-column: 1 / 7;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-company-name {
  color: var(--color-grey-800);
  font-family: "Pretendard", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.07px;
  margin: 0;
}

.footer-company-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-company-details p {
  color: var(--color-grey-600);
  font-family: "Pretendard", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.06px;
  margin: 0;
}

.footer-copyright {
  grid-column: 10 / 13;
  grid-row: 2;
  color: var(--color-grey-800);
  text-align: right;
  align-self: end;
}

/* ========================================
   Section 01: Hero
   ======================================== */
.p-home-section-01 {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Grid 1: Title + Description */
.p-home-section-01-grid-01 {
  grid-template-rows: 1fr;
}

.p-home-section-01-title {
  grid-column: 1 / 7;
  grid-row: 1;
  color: var(--color-grey-800);
  max-width: 600px
}

.p-home-section-01-content {
  grid-column: 7 / 13;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-home-section-01-content .bodys {
  color: var(--color-grey-800);
  margin: 0;
  max-width: 320px;
}

/* Grid 2: Label + Image + Copyright */
.p-home-section-01-grid-02 {
  grid-template-rows: auto auto;
  gap: 12px 16px;
}

.p-home-section-01-label {
  grid-column: 1 / 3;
  grid-row: 1;
  color: var(--color-grey-800);
}

/* Home Entry Animation Initial States */
.w-home .header {
  opacity: 0;
}

.p-home-section-01-title {
  will-change: transform, opacity;
}

.p-home-section-01-content,
.p-home-section-01-label,
.p-home-section-01-copyright {
  opacity: 0;
  will-change: opacity;
}

.p-home-section-01-image {
  grid-column: 1 / 13;
  grid-row: 2;
  width: 100%;
  aspect-ratio: 1360 / 630;
  will-change: clip-path, opacity;
  background: var(--color-grey-200);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(100% 0 0 0);
}

/* Hero Slideshow */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  will-change: transform;
  transform: scale(1.1);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.p-home-section-01-image .btn-scroll {
  position: relative;
  z-index: 1;
}

.p-home-section-01-copyright {
  grid-column: 12 / 13;
  grid-row: 1;
  color: var(--color-grey-800);
  text-align: right;
}

/* ========================================
   Section 02: About
   ======================================== */
.p-home-section-02 {
  gap: 120px 16px;
  grid-template-rows: auto auto;
}

.p-home-section-02-label {
  grid-column: 1 / 2;
  grid-row: 1;
  color: var(--color-grey-800);
}

.p-home-section-02-title {
  grid-column: 5 / 13;
  grid-row: 1;
  color: var(--color-grey-800);
}

.p-home-section-02-content {
  grid-column: 1 / 5;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-home-section-02-content .bodys {
  color: var(--color-grey-800);
  margin: 0;
  max-width: 320px;
}

.p-home-section-02-image-01 {
  grid-column: 5 / 9;
  grid-row: 2;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--color-grey-200);
  background-image: url('/assets/images/about-01.webp');
  background-size: cover;
  background-position: center;
}

.p-home-section-02-image-02 {
  grid-column: 9 / 13;
  grid-row: 2;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--color-grey-200);
  background-image: url('/assets/images/about-durability.webp');
  background-size: cover;
  background-position: center;
}
  text-align: center;
  color: var(--color-grey-800);
  margin: 0;
}

.p-home-section-02 .about-content {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.p-home-section-02 .about-text {
  grid-column: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-home-section-02 .about-text .bodys {
  color: var(--color-grey-800);
  margin: 0;
}

.p-home-section-02 .about-images {
  grid-column: 5 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.p-home-section-02 .about-images img {
  width: 100%;
  height: 572px;
  object-fit: cover;
  background: var(--color-grey-300);
}

/* ========================================
   Section 03: Features
   ======================================== */
.p-home-section-03 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Feature Item */
.p-home-section-03-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 10.7vw;
}

/* Feature Header with Grid */
.p-home-section-03-item-header {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 40px;
  gap: 16px;
  position: relative;
  --before-height: 0%;
  --after-width: 0%;
}

/* Animated Border Lines */
.p-home-section-03-item-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: var(--before-height);
  background: var(--color-grey-800);
  z-index: 2;
}

.p-home-section-03-item-header::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: var(--after-width);
  height: 1px;
  background: var(--color-grey-800);
  z-index: 2;
}

.p-home-section-03-item-number {
  grid-column: 1 / 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--color-grey-800);
  padding-left: 12px;
}

.p-home-section-03-item-title {
  grid-column: 3 / 8;
  grid-row: 1;
  display: flex;
  align-items: center;
  color: var(--color-grey-800);
}

.p-home-section-03-item-image {
  grid-column: 11 / 13;
  grid-row: 1;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--color-grey-200);
  background-size: cover;
  background-position: center;
  margin: 12px 0;
}

.p-home-section-03-item:nth-child(1) .p-home-section-03-item-image {
  background-image: url('/assets/images/feature-01.webp');
}

.p-home-section-03-item:nth-child(2) .p-home-section-03-item-image {
  background-image: url('/assets/images/feature-02.webp');
}

.p-home-section-03-item:nth-child(3) .p-home-section-03-item-image {
  background-image: url('/assets/images/feature-03.webp');
}

/* Feature Description with Grid */
.p-home-section-03-item-desc {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.p-home-section-03-item-desc .bodys {
  grid-column: 3 / 8;
  color: var(--color-grey-800);
  margin: 0;
  max-width: 320px;
}

/* ========================================
   Section 04: Portfolio
   ======================================== */
.p-home-section-04 {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

/* Header */
.p-home-section-04-header {
  grid-template-rows: auto auto;
  gap: 16px;
}

.p-home-section-04-label {
  grid-column: 1 / 7;
  grid-row: 1;
  color: var(--color-grey-800);
}

.p-home-section-04-title {
  grid-column: 1 / 7;
  grid-row: 2;
  color: var(--color-grey-800);
}

.p-home-section-04-intro {
  grid-column: 7 / 11;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-home-section-04-intro .bodys {
  color: var(--color-grey-800);
  margin: 0;
  max-width: 320px;
}

/* Portfolio List */
.p-home-section-04-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.p-home-section-04-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.p-home-section-04-item:hover {
  opacity: 0.8;
}

.p-home-section-04-item-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--color-grey-200);
  background-size: cover;
  background-position: center;
}

.p-home-section-04-item-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p-home-section-04-item-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-home-section-04-item-info .labels {
  color: var(--color-grey-800);
}

.p-home-section-04-item-subtitle {
  color: var(--color-grey-600);
  font-weight: 500;
  font-size: var(--typography-fontSize-labelS);
  line-height: var(--typography-lineHeight-label);
  letter-spacing: -0.008em;
}


/* ========================================
   About Page: Section 01
   ======================================== */


.about-hero-section {
  width: 100%;
  height: 100svh;
  background-color: #000;
  background-image: url('/assets/images/about-hero.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Title Grid */
.about-hero-title-grid {
  position: relative;
}

.about-hero-title {
  grid-column: 1 / 13;
  color: var(--color-grey-100);
  margin: 0;
}

/* Content Grid */
.about-hero-content-grid {
  position: absolute;
  bottom: 40px;
}

.about-hero-content-grid .bodys {
  grid-column: 1 / 4;
  color: var(--color-grey-100);
  margin: 0;
  max-width: 320px;
}

/* Scroll Button */
.about-hero-scroll {
  position: absolute;
  bottom: 0;
  right: 0;
}

/* ========================================
   About Page: Section 02
   ======================================== */
.p-about-section-02 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 120px 16px;
  padding-top: 200px;
}

/* Header */
.p-about-section-02-header {
  grid-column: 1 / 13;
  grid-row: 1;
}

.p-about-section-02-label {
  grid-column: 1 / 4;
  color: var(--color-grey-800);
}

.p-about-section-02-title {
  grid-column: 5 / 13;
  color: var(--color-grey-800);
  margin: 0;
}

/* Intro */
.p-about-section-02-intro {
  grid-column: 1 / 13;
  grid-row: 2;
}

.p-about-section-02-intro .bodys {
  grid-column: 1 / 4;
  color: var(--color-grey-800);
  margin: 0;
}

/* Features */
.p-about-section-02-features {
  grid-column: 5 / 13;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Feature Item */
.p-about-section-02-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 10.7vw;
}

/* Feature Header */
.p-about-section-02-item-header {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 40px;
  gap: 16px;
  position: relative;
  --before-height: 0%;
  --after-width: 0%;
}

/* Animated Border Lines */
.p-about-section-02-item-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: var(--before-height);
  background: var(--color-grey-800);
  z-index: 2;
}

.p-about-section-02-item-header::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: var(--after-width);
  height: 1px;
  background: var(--color-grey-800);
  z-index: 2;
}

.p-about-section-02-item-number {
  grid-column: 1 / 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px;
  color: var(--color-grey-800);
}

.p-about-section-02-item-title {
  grid-column: 3 / 7;
  display: flex;
  align-items: center;
  color: var(--color-grey-800);
}

.p-about-section-02-item-image {
  grid-column: 7 / 9;
  width: 100%;
  background: var(--color-grey-200);
  background-size: cover;
  background-position: center;
  margin: 12px 0;
  aspect-ratio: 3/2;
}

.p-about-section-02-item:nth-child(1) .p-about-section-02-item-image {
  background-image: url('/assets/images/about-function.webp');
}

.p-about-section-02-item:nth-child(2) .p-about-section-02-item-image {
  background-image: url('/assets/images/about-durability.webp');
}

.p-about-section-02-item:nth-child(3) .p-about-section-02-item-image {
  background-image: url('/assets/images/about-comfort.webp');
}

/* Feature Description */
.p-about-section-02-item-desc {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

.p-about-section-02-item-desc .bodys {
  grid-column: 3 / 7;
  color: var(--color-grey-800);
  margin: 0;
  max-width: 320px;
}

/* ========================================
   About Page: Section 03
   ======================================== */
.p-about-section-03 {
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin-top: 200px;
}

/* Header */
.p-about-section-03-header {
  grid-template-rows: auto auto;
}

.p-about-section-03-label {
  grid-column: 1 / 4;
  grid-row: 1;
  color: var(--color-grey-800);
}

.p-about-section-03-title {
  grid-column: 1 / 7;
  grid-row: 2;
  color: var(--color-grey-800);
  margin: 0;
}

.p-about-section-03-intro {
  grid-column: 7 / 11;
  grid-row: 2;
  color: var(--color-grey-800);
  margin: 0;
}

/* Features Grid */
.p-about-section-03-features {
  grid-template-columns: repeat(3, 1fr);
}

.p-about-section-03-feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p-about-section-03-feature-title-wrapper {
  border-top: 1px solid var(--color-grey-800);
  border-left: 1px solid var(--color-grey-800);
  padding: 12px;
}

.p-about-section-03-feature-title {
  color: var(--color-grey-800);
  margin: 0;
}

.p-about-section-03-feature-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--color-grey-200);
  background-size: cover;
  background-position: center;
}

.p-about-section-03-feature .bodys {
  color: var(--color-grey-800);
  margin: 0;
}

/* ============================================
   Clients Page
   ============================================ */

.p-clients {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Section 01: Header */
.p-clients-section-01 {
}

.p-clients-section-01-grid {
}

.p-clients-section-01-label {
  grid-column: 1 / 7;
  grid-row: 1;
  color: var(--color-grey-800);
}

.p-clients-section-01-title {
  grid-column: 1 / 7;
  grid-row: 2;
  color: var(--color-grey-800);
  margin: 0;
}

.p-clients-section-01-intro {
  grid-column: 7 / 11;
  grid-row: 2;
  color: var(--color-grey-800);
  margin: 0;
  max-width: 340px;
}

/* Section 02: Categories & Grid */
.p-clients-section-02 {
}

.p-clients-section-02-grid {
}

/* Categories */
.p-clients-section-02-categories {
  grid-column: 1 / 4;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.p-clients-section-02-category {
  width: 100%;
  height: 49px;
  padding: 16px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  border-left: 1px solid var(--color-grey-100);
  border-top: 1px solid var(--color-grey-100);
  border-right: none;
  border-bottom: none;
  transition: border-color 0.2s ease;
}

.p-clients-section-02-category:hover .labels {
  color: var(--color-grey-800);
}

.p-clients-section-02-category.active {
  border-left-color: var(--color-grey-800);
  border-top-color: var(--color-grey-800);
}

.p-clients-section-02-category .labels {
  color: var(--color-grey-600);
  transition: color 0.2s;
}

.p-clients-section-02-category.active .labels {
  color: var(--color-grey-800);
}

/* Client Cards Grid */
.p-clients-section-02-cards {
  grid-column: 4 / 13;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 16px;
}

.p-clients-section-02-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-clients-section-02-card-image {
  width: 100%;
  aspect-ratio: 328 / 223;
  background: var(--color-grey-200);
  overflow: hidden;
}

.p-clients-section-02-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-clients-section-02-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p-clients-section-02-card-title {
  color: var(--color-grey-800);
}

.p-clients-section-02-card-title-ko {
  color: var(--color-grey-600);
  font-weight: 500;
  font-size: var(--typography-fontSize-labelS);
  line-height: var(--typography-lineHeight-label);
  letter-spacing: -0.008em;
}

/* ============================================
   Portfolio Page
   ============================================ */

.p-portfolio {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Section 01: Header */
.p-portfolio-section-01 {
}

.p-portfolio-section-01-grid {
}

.p-portfolio-section-01-label {
  grid-column: 1 / 7;
  grid-row: 1;
  color: var(--color-grey-800);
}

.p-portfolio-section-01-title {
  grid-column: 1 / 7;
  grid-row: 2;
  color: var(--color-grey-800);
  margin: 0;
}

.p-portfolio-section-01-intro {
  grid-column: 7 / 11;
  grid-row: 2;
  color: var(--color-grey-800);
  margin: 0;
  max-width: 340px;
}

/* Section 02: Tabs & Grid */
.p-portfolio-section-02 {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Tabs */
.p-portfolio-section-02-tabs {
  display: flex;
  margin-bottom: 40px;
}

.p-portfolio-section-02-tab {
  flex: 1;
  padding: 16px;
  background: transparent;
  cursor: pointer;
  position: relative;
  border-left: 1px solid var(--color-grey-100);
  border-top: 1px solid var(--color-grey-400);
  border-right: none;
  border-bottom: none;
  transition: border-color 0.2s ease;
  text-align: left;
}

.p-portfolio-section-02-tab:hover .labels{
  color: var(--color-grey-800);  
}

.p-portfolio-section-02-tab.active {
  border-left-color: var(--color-grey-800);
  border-top-color: var(--color-grey-800);
}

/* 텍스트 색상 */
.p-portfolio-section-02-tab .labels {
  color: var(--color-grey-600);
  transition: color 0.2s;
}

.p-portfolio-section-02-tab.active .labels {
  color: var(--color-grey-800);
}

/* Portfolio Cards Grid */
.p-portfolio-section-02-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 16px;
}

.p-portfolio-section-02-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-portfolio-section-02-card-image {
  width: 100%;
  aspect-ratio: 440 / 640;
  background: var(--color-grey-200);
  overflow: hidden;
  position: relative;
}

.p-portfolio-section-02-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-portfolio-section-02-card-category {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 8px 12px;
  background: var(--color-grey-100);
  color: var(--color-grey-800);
  z-index: 1;
}

.p-portfolio-section-02-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p-portfolio-section-02-card-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.p-portfolio-section-02-card-title {
  color: var(--color-grey-800);
}

.p-portfolio-section-02-card-year {
  color: var(--color-grey-800);
  white-space: nowrap;
}

.p-portfolio-section-02-card-title-ko {
  color: var(--color-grey-600);
  font-weight: 500;
  font-size: var(--typography-fontSize-labelS);
  line-height: var(--typography-lineHeight-label);
  letter-spacing: -0.008em;
}

/* Home Portfolio Category */
.p-home-section-04-item-image {
  position: relative;
}

.p-home-section-04-item-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  background: var(--color-grey-100);
  color: var(--color-grey-800);
  z-index: 1;
}

/* ============================================
   Portfolio Modal
   ============================================ */

.portfolio-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255, 255, 255);
}

.portfolio-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.portfolio-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2;
  transition: opacity 0.2s;
}

.portfolio-modal-close:hover {
  opacity: 0.6;
}

.portfolio-modal-close svg {
  width: 100%;
  height: 100%;
}

.portfolio-modal-info {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
}

.portfolio-modal-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 240px;
}

.portfolio-modal-title {
  color: var(--color-grey-800);
  margin: 0;
}

.portfolio-modal-title-ko {
  color: var(--color-grey-600);
}

.portfolio-modal-labels {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.portfolio-modal-label {
  padding: 4px 8px;
  color: var(--color-grey-800);
  background-color: var(--color-grey-300);
}

.portfolio-modal-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 100%;
  max-width: 100%;
}

.portfolio-modal-image {
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
}

/* Portfolio Card Clickable */
.p-portfolio-section-02-card {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.p-portfolio-section-02-card:hover {
  opacity: 0.8;
}

/* ============================================
   Contact Page
   ============================================ */

.p-contact {
  display: flex;
  flex-direction: column;
  gap: 200px;
}

/* Section 01: Header & Form */
.p-contact-section-01 {
}

.p-contact-section-01-grid {
}

/* Header */
.p-contact-section-01-header {
  grid-column: 1 / 7;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-contact-section-01-label {
  color: var(--color-grey-800);
}

.p-contact-section-01-title {
  color: var(--color-grey-800);
  margin: 0;
}

.p-contact-section-01-intro {
  color: var(--color-grey-800);
  margin: 0;
}

/* Form */
.p-contact-section-01-form {
  grid-column: 7 / 13;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Form Steps */
.p-contact-form-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-contact-form-step-header {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.p-contact-form-step-number {
  color: var(--color-grey-500);
  font-weight: 400;
  width: 40px;
}

.p-contact-form-step-title {
  color: var(--color-grey-800);
  margin: 0;
  font-weight: 500;
}

/* Form Grid (for Step 03) */
.p-contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 20px;
}

.p-contact-form-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.p-contact-form-field-full {
  grid-column: 1 / -1;
}
input[type="checkbox" i] {
  margin: 0;
  padding: 0;
}
.p-contact-form-label {
  position: absolute;
  left: 12px;
  top: 16px;
  color: var(--color-grey-600);
  font-size: var(--typography-fontSize-bodyS);
  transition: all 0.3s ease;
  pointer-events: none;
  background: var(--color-grey-100);
  padding: 0 4px;
}

.p-contact-form-field-full .p-contact-form-label {
  top: 16px;
}

.p-contact-form-input:focus ~ .p-contact-form-label,
.p-contact-form-input:not(:placeholder-shown) ~ .p-contact-form-label,
.p-contact-form-textarea:focus ~ .p-contact-form-label,
.p-contact-form-textarea:not(:placeholder-shown) ~ .p-contact-form-label {
  top: -6px;
  left: 12px;
  font-size: 12px;
  color: var(--color-grey-800);
}

/* Form Inputs */
.p-contact-form-input,
.p-contact-form-select,
.p-contact-form-textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--color-grey-400);
  background: var(--color-grey-100);
  font-size: var(--typography-fontSize-bodyS);
  color: var(--color-grey-800);
  transition: border-color 0.2s;
}

.p-contact-form-input:focus,
.p-contact-form-select:focus,
.p-contact-form-textarea:focus {
  outline: none;
  border-color: var(--color-grey-800);
}

.p-contact-form-input::placeholder,
.p-contact-form-textarea::placeholder {
  color: var(--color-grey-500);
}

.p-contact-form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.p-contact-form-textarea {
  resize: vertical;
  min-height: 120px;
  padding: 16px;
  height: auto;
}

/* Privacy Checkbox */
.p-contact-form-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-contact-form-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--color-grey-400);
  background: var(--color-grey-100);
  transition: all 0.2s;
  position: relative;
}

.p-contact-form-checkbox:checked {
  background: var(--color-grey-800);
  border-color: var(--color-grey-800);
  background-image: url('/assets/check-white.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
}

.p-contact-form-checkbox:focus {
  outline: none;
  border-color: var(--color-grey-800);
}

.p-contact-form-privacy label {
  color: var(--color-grey-800);
  cursor: pointer;
  margin: 0;
}

/* Submit Button */
.p-contact-form-submit {
  width: 160px;
  justify-self: start;
  align-items: center;
}
