:root {
  --white: #ffffff;
  --ink: #212121;
  --muted: #666666;
  --line: #efefef;
  --tint: #f1f4fb;
  --highlight: #e4ecfd;
  --tint-soft: #fafbfe;
  --surface: #fafbfe;
  --blue: #1b62ed;
  --blue-bright: #1075fb;
  --blue-soft: #5f91f2;
  --blue-hover: #1650c2;
  --dark: #000000;
  --shadow: none;
  --page: min(1280px, calc(100% - 48px));
  --radius-lg: 10px;
  --radius-md: 7px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Lenis drives wheel scrolling; native smooth scroll would fight it. */
html.lenis {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  line-height: 1.65;
  word-break: keep-all;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.cta-panel :focus-visible,
.inquiry-cta__panel :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--white);
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 7px;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-150%);
  transition: transform 200ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 75px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.063);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
}

.site-header__inner,
.site-footer__inner,
.page-shell {
  width: var(--page);
  margin-inline: auto;
}

.site-header__inner {
  min-height: 75px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}

.brand-logo-picture {
  display: block;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 40px;
}

.brand-logo--footer {
  height: 40px;
}

.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.site-nav a {
  padding: 13px 20px;
  border-radius: 7px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.018em;
  transition: color 200ms ease, background-color 200ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
  background: transparent;
}

.nav-inquiry {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  padding-inline: 22px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.018em;
  border: 1px solid var(--ink);
  border-radius: 7px;
  color: var(--ink);
  background: var(--white);
}

.nav-inquiry:hover,
.nav-inquiry:focus-visible {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

/* Doubled class so the pill outranks sibling `.x p { color }` rules. */
.eyebrow.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 9px 18px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}
/* On tinted sections the pill needs one step more contrast. */
.process .eyebrow,
.about .eyebrow,
.price-section .eyebrow,
.faq-section .eyebrow,
.column-list .eyebrow,
.section--soft .eyebrow {
  background: var(--highlight);
}

.hero {
  padding: 112px 0 72px;
}

.hero--compact {
  padding-bottom: 48px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: end;
  gap: 72px;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 1.08;
  letter-spacing:-0.018em;
}

.hero-title__line {
  display: inline-block;
}

.hero__lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero__note {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--tint-soft);
}

.hero__note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.concept-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 13px;
  border: 1px solid rgba(87, 3, 1, 0.18);
  border-radius: 7px;
  color: var(--blue);
  background: var(--tint-soft);
  font-size: 12px;
  font-weight:700;
  letter-spacing: 0.08em;
}

.concept-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.section {
  padding: 96px 0;
}

.section--soft {
  background: var(--tint);
}

.section--cloudy {
  background: var(--tint-soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 42px;
}

.detail-copy {
  container-type: inline-size;
}

.detail-copy #about-title {
  font-size: clamp(24px, 7.5cqw, 48px);
  white-space: nowrap;
}

.about-hero__panel {
  container-type: inline-size;
}

.about-hero .about-hero__panel h1 {
  font-size: clamp(32px, 11cqw, 78px);
  white-space: nowrap;
}

.section-head h1,
.section-head h2,
.detail-copy h2,
.cta-panel h2,
.inquiry-cta__panel h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.2;
  letter-spacing:-0.018em;
}

.section-head p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
}


.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.work-card__image {
  aspect-ratio: 1.6 / 1;
  overflow: hidden;
  background: var(--tint-soft);
}

.work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 500ms ease;
}

.work-card:hover .work-card__image img {
  transform: scale(1.025);
}

.work-card__body {
  padding: 28px 30px 30px;
}

.work-card__meta {
  margin: 0 0 11px;
  color: var(--blue);
  font-size: 12px;
  font-weight:700;
  letter-spacing: 0.08em;
}

.work-card h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing:-0.018em;
}

.work-card__body > p:not(.work-card__meta) {
  margin: 12px 0 0;
  color: var(--muted);
}

.work-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--blue);
  font-size: 14px;
  font-weight:700;
}

.work-card__link::after {
  content: "→";
  transition: transform 200ms ease;
}

.work-card:hover .work-card__link::after {
  transform: translateX(4px);
}

.detail-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--white);
}

.detail-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 88px;
  align-items: start;
}

.detail-copy p {
  color: var(--muted);
  font-size: 17px;
}

.fact-list,
.decision-grid,
.service-grid,
.process-grid {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.fact-list {
  display: grid;
  gap: 12px;
}

.fact-list li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.fact-list strong {
  color: var(--blue);
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.decision-card,
.service-card,
.process-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.decision-card {
  padding: 30px;
}

.decision-card__index,
.process-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  aspect-ratio: 1;
  margin-bottom: 36px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--tint);
  font-size: 13px;
  font-weight:700;
}

.decision-card h3,
.service-card h3,
.process-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing:-0.018em;
}

.decision-card p,
.service-card p,
.process-card p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.view-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: end;
}

.device-view {
  margin: 0;
}

.device-view__frame {
  overflow: hidden;
  border: 10px solid #f4f2f1;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.device-view--desktop img {
  width: 100%;
  height: auto;
  display: block;
}

.device-view--mobile .device-view__frame {
  max-width: 300px;
  margin-inline: auto;
  border-radius: 10px;
}

.device-view--mobile img {
  width: 100%;
  height: auto;
  display: block;
}

.device-view figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--blue);
  font-weight:700;
}

.back-link::before {
  content: "←";
}

.about-hero__panel {
  position: relative;
  overflow: hidden;
  padding: 72px;
  border-radius: var(--radius-lg);
  background: var(--tint-soft);
}

.about-hero__panel::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -110px;
  width: 300px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--tint);
  opacity: 0.72;
}

.about-hero__panel > * {
  position: relative;
  z-index: 1;
}

.about-hero__panel h1 {
  max-width: 780px;
}

.about-summary {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.about-summary__facts {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--tint-soft);
}

.about-summary__facts dl {
  margin: 0;
}

.about-summary__facts div + div {
  margin-top: 23px;
  padding-top: 23px;
  border-top: 1px solid rgba(87, 3, 1, 0.12);
}

.about-summary__facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight:700;
}

.about-summary__facts dd {
  margin: 5px 0 0;
  font-size: 20px;
  font-weight:700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 260px;
  padding: 30px;
}

.service-card__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  aspect-ratio: 1;
  margin-bottom: 48px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--tint-soft);
  font-weight:700;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-card {
  padding: 26px;
}

.process-card__index {
  margin-bottom: 26px;
}

.cta-section,
.inquiry-cta {
  padding: 96px 0 112px;
}

.cta-panel,
.inquiry-cta__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  gap: 30px;
  padding: 80px 64px 100px;
  text-align: center;
  border-radius: 40px;
  color: var(--white);
  background: var(--dark);
}

.cta-panel p,
.inquiry-cta__panel p {
  max-width: 62ch;
  margin: 12px auto 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.motion-cta {
  position: relative;
  display: inline-flex;
  min-width: 226px;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: 7px 64px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 7px;
  color: var(--white);
  background: transparent;
  font-weight:700;
  transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease;
}

.motion-cta > span:not(.motion-cta__arrow) {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  transform: translateX(14px);
  transition: transform 300ms ease;
}

.motion-cta__arrow {
  position: absolute;
  top: 50%;
  left: 8px;
  display: inline-flex;
  width: 48px;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--blue);
  background: var(--white);
  font-size: 22px;
  transform: translateY(-50%);
  transition: left 300ms ease, color 300ms ease, background-color 300ms ease;
}

.motion-cta:hover,
.motion-cta:focus-visible {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.motion-cta:hover > span:not(.motion-cta__arrow),
.motion-cta:focus-visible > span:not(.motion-cta__arrow) {
  transform: translateX(-18px);
}

.motion-cta:hover .motion-cta__arrow,
.motion-cta:focus-visible .motion-cta__arrow {
  left: calc(100% - 56px);
  color: var(--white);
  background: var(--blue);
}

.site-footer {
  padding: 70px 0 38px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--dark);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: end;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer p {
  margin: 16px 0 0;
  font-size: 14px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 14px;
  font-weight:700;
}

.site-footer__links a:hover {
  color: var(--white);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.reveal-ready [data-reveal] {
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal-ready [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

/* Stagger: children of [data-stagger] rise one after another once the
   enclosing [data-reveal] block is visible. --i is set by static-pages.js. */
.reveal-ready [data-reveal]:not(.is-visible):has([data-stagger]),
.reveal-ready [data-reveal][data-stagger]:not(.is-visible) {
  transform: none;
}
/* `translate` (not `transform`) so hover/press transforms on children stay independent. */
@keyframes riseIn {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}
.reveal-ready [data-reveal].is-visible [data-stagger] > *,
.reveal-ready [data-reveal][data-stagger].is-visible > * {
  animation: riseIn 0.7s ease-out both;
  animation-delay: calc(var(--i, 0) * 80ms);
}

@media (max-width: 900px) {
  :root {
    --page: min(100% - 34px, 720px);
  }

  .site-header__inner {
    min-height: 72px;
  }

  .site-nav a {
    margin-left: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding-inline: 11px;
  }

  .hero {
    padding: 80px 0 54px;
  }

  .hero__grid,
  .detail-grid,
  .about-summary {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero__note {
    max-width: 560px;
  }

  .section {
    padding: 72px 0;
  }

  .decision-grid,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .decision-card,
  .service-card {
    min-height: auto;
  }

  .decision-card__index,
  .service-card__mark {
    margin-bottom: 28px;
  }

  .view-grid {
    grid-template-columns: 1fr;
  }

  .view-grid .device-view--mobile {
    width: min(100%, 330px);
    justify-self: center;
  }

  .cta-panel,
  .inquiry-cta__panel {
    grid-template-columns: 1fr;
    padding: 48px 38px;
  }

  .motion-cta {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  :root {
    --page: calc(100% - 28px);
    --radius-lg: 24px;
  }

  .site-header .brand {
    min-height: 44px;
  }

  .site-header .brand-logo {
    height: 34px;
  }

  .site-header__inner {
    gap: 10px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding: 8px 6px;
    font-size: 12px;
    white-space: nowrap;
  }

  .site-nav .nav-work {
    padding-inline: 6px;
    font-size: 12px;
  }

  .site-nav .nav-inquiry {
    padding: 8px 9px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(36px, 10.5vw, 44px);
  }

  .hero__lead {
    font-size: 16px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card__body {
    padding: 24px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 18px;
  }

  .detail-copy h2,
  .section-head h2,
  .cta-panel h2,
  .inquiry-cta__panel h2 {
    font-size: 36px;
  }

  .fact-list li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .about-hero__panel {
    padding: 44px 25px;
  }

  .about-hero__panel::after {
    right: -45px;
    bottom: -110px;
    width: 150px;
  }

  .cta-section,
  .inquiry-cta {
    padding: 70px 0 84px;
  }

  .cta-panel,
  .inquiry-cta__panel {
    padding: 40px 24px;
  }

  .motion-cta {
    min-width: min(100%, 226px);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__links {
    justify-content: flex-start;
  }

  .site-footer__links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
}

@media (max-width: 700px) {
  .site-header__inner {
    position: relative;
  }

  .site-nav:not([data-mobile-menu]) {
    display: none;
  }

  .nav-inquiry {
    min-height: 44px;
    margin-left: auto;
    padding: 8px 10px;
    border: 1px solid var(--ink);
    border-radius: 7px;
    color: var(--ink);
    background: var(--white);
    font-size: 12px;
    font-weight:700;
    white-space: nowrap;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--ink);
    border-radius: 50%;
    color: var(--ink);
    background: var(--white);
    cursor: pointer;
  }

  .mobile-menu-toggle__lines,
  .mobile-menu-toggle__lines::before,
  .mobile-menu-toggle__lines::after {
    display: block;
    width: 17px;
    height: 1.5px;
    border-radius: 10px;
    background: currentColor;
    content: "";
  }

  .mobile-menu-toggle__lines {
    position: relative;
  }

  .mobile-menu-toggle__lines::before,
  .mobile-menu-toggle__lines::after {
    position: absolute;
    left: 0;
  }

  .mobile-menu-toggle__lines::before { top: -6px; }
  .mobile-menu-toggle__lines::after { top: 6px; }

  .mobile-menu,
  [data-mobile-menu] {
    position: absolute;
    z-index: 101;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    min-width: 190px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .mobile-menu[hidden],
  [data-mobile-menu][hidden] {
    display: none;
  }

  .mobile-menu a,
  [data-mobile-menu] a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 11px;
    border-radius: 10px;
    color: var(--ink);
    font-size: 14px;
    font-weight:700;
  }

  .mobile-menu a[aria-current="page"],
  .mobile-menu a:hover,
  .mobile-menu a:focus-visible,
  [data-mobile-menu] a[aria-current="page"],
  [data-mobile-menu] a:hover,
  [data-mobile-menu] a:focus-visible {
    color: var(--blue);
    background: var(--tint);
  }
}

@media (max-width: 349px) {
  .site-nav a:not(.nav-inquiry):not(.nav-work) {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Shared action CTA: nav is a solid fill, inline CTA is the outline. */
.nav-inquiry {
  border: 1px solid var(--blue);
  border-radius: 7px;
  color: var(--white);
  background: var(--blue);
  transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}

.nav-inquiry:hover,
.nav-inquiry:focus-visible {
  border-color: var(--blue-hover);
  background: var(--blue-hover);
  color: var(--white);
}

.motion-cta {
  border: 1px solid var(--blue);
  border-radius: 7px;
  color: var(--blue);
  background: var(--white);
  transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}

.motion-cta:hover,
.motion-cta:focus-visible {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.motion-cta > span:not(.motion-cta__arrow),
.motion-cta:hover > span:not(.motion-cta__arrow),
.motion-cta:focus-visible > span:not(.motion-cta__arrow) {
  transform: none;
}

.motion-cta__arrow,
.motion-cta__icon {
  display: none;
}

/* Closing CTA: the panel spreads outward from the shell on hover. */
.cta-panel {
  transition: margin-inline 500ms ease, background-color 300ms ease;
}
/* The shared reveal rule outranks .cta-panel, so restate both transitions together. */
.reveal-ready .cta-panel[data-reveal] {
  transition: margin-inline 500ms ease, background-color 300ms ease, opacity 0.7s ease-out, transform 0.7s ease-out;
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .cta-panel:hover,
  .cta-panel:focus-within {
    margin-inline: calc(50% - 50vw + 24px);
  }
}

/* Reduced motion: hold the panel still rather than snapping it wider. */
@media (prefers-reduced-motion: reduce) {
  .cta-panel:hover,
  .cta-panel:focus-within {
    margin-inline: 0;
  }
}


.cta-panel .eyebrow,
.inquiry-cta__panel .eyebrow {
  margin: 0 0 10px;
  padding: 0;
  background: transparent;
  color: var(--white);
}

.cta-panel .motion-cta {
  margin: 0;
  min-width: 0;
  min-height: 52px;
  height: 52px;
  padding: 0 32px;
  line-height: 1.2;
  border-color: var(--blue);
  border-radius: 7px;
  background: var(--blue);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
}

.cta-panel .motion-cta:hover,
.cta-panel .motion-cta:focus-visible {
  border-color: var(--blue-hover);
  background: var(--blue-hover);
  color: var(--white);
}

/* Touch CTA: no hover fill on touch, just a short press. */
@media (hover: none) and (pointer: coarse) {
  .nav-inquiry,
  .motion-cta {
    transform: none;
    transition: transform 120ms ease, border-color 120ms ease, background-color 120ms ease;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-inquiry,
  .nav-inquiry:hover,
  .nav-inquiry:focus-visible {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--white);
  }

  .motion-cta,
  .motion-cta:hover,
  .motion-cta:focus-visible {
    border-color: var(--blue);
    background: var(--white);
    color: var(--blue);
  }

  .cta-panel .motion-cta,
  .cta-panel .motion-cta:hover,
  .cta-panel .motion-cta:focus-visible {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--white);
  }

  .nav-inquiry:active {
    border-color: var(--blue-hover);
    background: var(--blue-hover);
    color: var(--white);
    transform: scale(0.97);
  }

  .motion-cta:active {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--white);
    transform: scale(0.97);
  }

  .cta-panel .motion-cta:active {
    border-color: var(--blue-hover);
    background: var(--blue-hover);
    color: var(--white);
    transform: scale(0.97);
  }
}

/* Kakao chat entry: fixed, out of the way of content, above Lenis-driven layers. */
.kakao-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 4px 20px 4px 4px;
  border-radius: 999px;
  background: var(--white);
  color: #191919;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.kakao-chat:hover,
.kakao-chat:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}
.kakao-chat__badge {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #fee500;
}
.kakao-chat__icon {
  width: 24px;
  height: 24px;
  fill: #191919;
}
@media (max-width: 700px) {
  .kakao-chat {
    right: 14px;
    bottom: 14px;
    padding-inline: 12px 16px;
    font-size: 14px;
  }
}

/* --- Work pages motion (approved plan) --- */

/* Detail hero: the concept-work note follows the copy. */
.reveal-ready .hero__note {
  transition-delay: 400ms;
}
.back-link::before {
  display: inline-block;
  transition: transform 200ms ease;
}
.back-link:hover::before,
.back-link:focus-visible::before {
  transform: translateX(-4px);
}

/* Decision cards: lift, index fills blue. */
.decision-card {
  transition: transform 300ms ease, border-color 300ms ease;
}
.decision-card__index {
  transition: background-color 250ms ease, color 250ms ease;
}
.decision-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
}
.decision-card:hover .decision-card__index {
  background: var(--blue);
  color: var(--white);
}

/* Device frames switch on (scale .97→1) instead of rising; desktop first, mobile follows. */
@keyframes screenOn {
  from { opacity: 0; scale: 0.97; }
  to { opacity: 1; scale: 1; }
}
.reveal-ready .view-grid.is-visible > .device-view {
  animation-name: screenOn;
  animation-delay: calc(var(--i, 0) * 150ms);
}
.device-view__frame {
  transition: transform 300ms ease, border-color 300ms ease;
}
.device-view:hover .device-view__frame {
  transform: translateY(-4px);
  border-color: var(--highlight);
}

/* Work card: industry label sits beside the name. */
.work-card__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}
.work-card__title .work-card__meta {
  margin: 0;
}

/* Mobile shared actions: centered closing CTA and persistent chat access. */
@media (max-width: 700px) {
  .cta-panel .motion-cta, .inquiry-cta__panel .motion-cta {
    justify-self: center;
    width: min(100%, 280px);
    min-height: 48px;
    padding-inline: 20px;
  }
  .cta-section, .inquiry-cta { padding: 44px 0 48px; }
  .cta-panel h2, .inquiry-cta__panel h2 {
    font-size: clamp(27px, 7.5vw, 32px);
    line-height: 1.45;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .kakao-chat {
    position: fixed;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: fit-content;
    margin: 0;
  }
}

/* Tablet actions follow the mobile alignment without changing typography. */
@media (min-width: 701px) and (max-width: 1024px) {
  .cta-panel .motion-cta, .inquiry-cta__panel .motion-cta {
    justify-self: center;
  }
  .kakao-chat {
    position: fixed;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: fit-content;
    margin: 0;
  }
}

/* Leave room to read the footer behind the persistent touch-screen chat button. */
@media (max-width: 1024px) {
  .site-footer { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
}
/* Complete square mockups and full desktop sheets. */
.work-card__image { aspect-ratio: 1 / 1; }
.work-card__image img { object-fit: contain; }

/* 대표 사진 위 브랜드 표시: 기존 카드 배치와 모션은 유지한다. */
.portfolio-card__image:has(.portfolio-brand-cover),
.work-card__image:has(.portfolio-brand-cover) { position: relative; isolation: isolate; }
.portfolio-card__image:has(.portfolio-brand-cover) img,
.work-card__image:has(.portfolio-brand-cover) img { width:100%; height:100%; object-fit:cover; }
.portfolio-brand-cover { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:20px; text-align:center; color:#fff; background:rgba(12,22,28,.30); pointer-events:none; }
.portfolio-brand-cover strong { color:inherit; font-size:clamp(28px,3vw,42px); font-weight:700; line-height:1.2; letter-spacing:-.035em; text-shadow:0 2px 18px #0005; }
.portfolio-brand-cover small { color:inherit; font-size:10px; line-height:1.5; letter-spacing:.2em; }
.portfolio-deliverables { display: grid; gap: 40px; max-width: 1000px; margin-inline: auto; }
.portfolio-deliverables figure { margin: 0; }
.portfolio-deliverables img { display: block; width: 100%; height: auto; border-radius: 12px; }
.portfolio-deliverables figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* Hide only the small tagline, retaining the original symbol and wordmark. */
.site-header .brand-logo,.site-footer .brand-logo{clip-path:polygon(0 0,100% 0,100% 62%,30% 62%,30% 100%,0 100%)}
.site-footer{padding:0 0 44px}.site-footer__inner{grid-template-columns:180px minmax(0,1fr) auto;align-items:start;gap:38px 34px}.site-footer__links{grid-column:1/-1;justify-content:flex-start;padding:24px 0;border-bottom:1px solid #ffffff20;gap:28px}.site-footer__identity .brand-logo{max-width:170px}.site-footer__info p{margin:0 0 10px;font-size:13px;line-height:1.8}.site-footer__info .site-footer__description{font-size:15px;color:#f1f4f9;font-weight:550}.site-footer__business span{display:inline-block;margin-left:14px}.site-footer__info .site-footer__copyright{margin-top:25px;color:#a0a8b5;font-size:12px}.site-footer__contact{display:grid;gap:8px}.site-footer__contact span{font-size:12px;color:#abb4c3}.site-footer__contact a{font-size:20px;font-weight:600;color:#f3f6fb;margin-bottom:14px;min-height:32px;display:flex;align-items:center}@media(max-width:800px){.site-footer__inner{grid-template-columns:1fr;gap:22px}.site-footer__links{gap:18px;font-size:13px}.site-footer__business span{display:block;margin-left:0}.site-footer__contact a{font-size:19px}}
