@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Noto+Sans+KR:wght@400;500;600&display=swap');

:root {
  color-scheme: light;
  --blue: #5797dc;
  --ink: #30343a;
  --muted: #858b94;
  --line: #e9edf1;
  --page: #fff;
  --font: 'DM Sans', 'Noto Sans KR', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.75 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.site-header { width: min(100% - 48px, 1240px); margin: 0 auto; padding: 29px 0 23px; display: flex; flex-direction: column; align-items: center; gap: 15px; position: relative; z-index: 3; }
.brand { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; }
.brand img { display: block; width: 100px; height: auto; max-height: 54px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 36px; color: #81858b; font-size: 14px; font-weight: 500; letter-spacing: .035em; }
.primary-nav a { padding: 4px 0; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--blue); }
.menu-toggle { display: none; }
#app { min-height: 52vh; }
.home-hero { min-height: min(680px, 72vh); display: grid; place-items: center; padding: 50px 24px 75px; text-align: center; }
.hero-inner { width: min(100%, 700px); }
.hero-wordmark { color: var(--blue); font: 600 clamp(96px, 17vw, 190px)/.9 Georgia, 'Times New Roman', serif; letter-spacing: -.095em; margin: 0 0 12px; }
.hero-subtitle { color: #8baed1; font-size: 13px; letter-spacing: .12em; margin: 0 0 42px; }
.hero-copy { color: #82a9d2; font-size: clamp(15px, 1.55vw, 18px); line-height: 1.95; margin: 0 auto; }
.hero-seal { display: inline-grid; place-items: center; width: 49px; height: 25px; border: 1px solid #9dbde0; border-radius: 50%; margin-top: 27px; color: var(--blue); font: 600 17px/1 Georgia, serif; letter-spacing: -.08em; }
.home-links { display: flex; justify-content: center; gap: 14px; margin-top: 56px; }
.pill-link { display: inline-flex; align-items: center; min-height: 43px; padding: 0 20px; border: 1px solid #d9e4ef; color: #68727e; border-radius: 2px; font-size: 13px; transition: border-color .2s, color .2s, background .2s; }
.pill-link:hover { background: var(--blue); color: white; border-color: var(--blue); }
.page-shell { width: min(100% - 56px, 1240px); margin: 0 auto; padding: 73px 0 104px; }
.page-heading { margin: 0 0 47px; }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.page-heading h1 { margin: 0; font: 500 clamp(36px, 5vw, 58px)/1.12 var(--font); letter-spacing: -.035em; }
.page-lead { max-width: 720px; color: #747b84; font-size: 17px; line-height: 2; }
.about-intro { max-width: 880px; margin-bottom: 95px; }
.about-intro h1 { color: var(--blue); font: 500 clamp(34px, 5vw, 57px)/1.3 var(--font); letter-spacing: -.045em; margin: 0 0 23px; }
.about-intro p { margin: 0 0 10px; color: #707882; }
.about-section { border-top: 1px solid var(--line); padding: 32px 0 54px; display: grid; grid-template-columns: minmax(180px, .75fr) 2fr; gap: 30px; }
.about-section h2 { margin: 0; font-size: 21px; font-weight: 500; }
.about-section p { color: #737a83; margin: 0 0 14px; }
.service-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.service-group h3 { color: var(--blue); font-size: 14px; margin: 0 0 10px; font-weight: 600; }
.service-group ul { list-style: none; padding: 0; margin: 0; color: #707882; }
.service-group li { margin: 3px 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-item { padding: 22px 20px; border: 1px solid var(--line); }
.value-item b { display: block; color: var(--blue); font-size: 14px; margin-bottom: 5px; }
.value-item span { color: #707882; font-size: 14px; }
.portfolio-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 70px; }
.portfolio-side { position: sticky; top: 30px; align-self: start; }
.portfolio-side .side-wordmark { color: var(--blue); font: 600 58px/.9 Georgia, serif; letter-spacing: -.09em; margin-bottom: 12px; }
.portfolio-side .side-caption { color: #858b94; font-size: 13px; line-height: 1.55; margin: 0 0 48px; }
.portfolio-side nav { display: grid; gap: 7px; }
.portfolio-side nav a { width: fit-content; color: #858b94; font-size: 15px; letter-spacing: .04em; padding: 4px 0; }
.portfolio-side nav a[aria-current="page"] { color: var(--blue); }
.side-details { margin-top: 43px; color: #8b9199; font-size: 12px; line-height: 1.9; }
.portfolio-main .page-heading { margin-bottom: 25px; }
.filters { display: flex; gap: 10px 24px; flex-wrap: wrap; padding: 0 0 24px; margin-bottom: 0; border-bottom: 1px solid var(--line); }
.filter-button { background: none; border: 0; color: #8a9097; padding: 4px 0; cursor: pointer; font-size: 14px; }
.filter-button:hover, .filter-button[aria-pressed="true"] { color: var(--ink); }
.filter-button[aria-pressed="true"]::after { content: ''; display: block; height: 1px; margin-top: 7px; background: var(--ink); }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 27px 20px; padding-top: 24px; }
.project-card { text-align: left; border: 0; background: transparent; padding: 0; cursor: pointer; min-width: 0; }
.project-image-wrap { display: block; background: #f4f6f8; overflow: hidden; aspect-ratio: 1.34; }
.project-image { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.project-card:hover .project-image { transform: scale(1.035); opacity: .93; }
.project-info { display: block; padding-top: 11px; }
.project-title { display: block; font-size: 14px; font-weight: 500; line-height: 1.5; }
.project-meta { display: block; color: #969ca3; font-size: 12px; margin-top: 4px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: clamp(40px, 9vw, 130px); align-items: start; }
.contact-copy h1 { margin: 0 0 28px; color: var(--blue); font-size: clamp(39px, 6vw, 65px); font-weight: 500; letter-spacing: -.05em; }
.contact-copy p { color: #737a83; margin: 0 0 13px; }
.contact-promise { border-left: 2px solid #b7d1eb; padding-left: 18px; margin-top: 34px !important; font-size: 14px; }
.contact-cards { border-top: 1px solid var(--line); }
.contact-row { padding: 21px 0; border-bottom: 1px solid var(--line); }
.contact-row span { display: block; color: #9aa0a8; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.contact-row a, .contact-row address { color: #414850; font-style: normal; font-size: 17px; }
.contact-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 29px; }
.mail-note { color: #969ca3; font-size: 12px; margin-top: 17px; }
.site-footer { text-align: center; padding: 22px 20px 33px; color: #9298a0; font-size: 13px; }
.footer-mark { color: var(--blue); font: 600 34px/.95 Georgia, serif; letter-spacing: -.08em; }
.footer-registration { margin: 17px 0 3px; color: #858c95; font-weight: 500; }
.footer-contact { display: flex; justify-content: center; gap: 4px 17px; flex-wrap: wrap; margin: 8px auto 15px; }
.footer-contact a:hover, .footer-instagram:hover { color: var(--blue); }
.footer-instagram { display: inline-block; margin: 0 0 15px; }
.site-footer small { display: block; font-size: 11px; letter-spacing: .03em; }
.project-dialog { width: min(900px, calc(100% - 30px)); max-height: 90vh; border: 0; padding: 0; overflow: auto; box-shadow: 0 18px 80px #1724342b; }
.project-dialog::backdrop { background: #18212b9c; backdrop-filter: blur(2px); }
.dialog-close { position: sticky; top: 12px; float: right; z-index: 1; border: 0; background: #ffffffdf; border-radius: 50%; width: 38px; height: 38px; margin: 12px 12px -50px 0; font-size: 27px; line-height: 1; cursor: pointer; }
.dialog-image { display: block; width: 100%; height: auto; background: #f3f5f7; }
.dialog-copy { padding: 25px 30px 30px; }
.dialog-title { margin: 0; font-size: 23px; font-weight: 500; }
.dialog-client, .dialog-services { margin: 5px 0 0; color: #7e858e; font-size: 14px; }
.empty-note { grid-column: 1/-1; color: #8b929b; padding: 35px 0; }
.no-image { display: grid; place-items: center; color: #a7b1bb; font: 500 24px Georgia, serif; }
@media (max-width: 980px) {
  .portfolio-layout { grid-template-columns: 1fr; gap: 37px; }
  .portfolio-side { position: static; display: flex; align-items: center; gap: 16px; }
  .portfolio-side .side-wordmark { font-size: 44px; margin: 0; }
  .portfolio-side .side-caption, .portfolio-side .side-details, .portfolio-side nav { display: none; }
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  body { font-size: 15px; }
  .site-header { width: calc(100% - 34px); padding: 20px 0 17px; gap: 9px; }
  .brand img { width: 84px; }
  .primary-nav { gap: 23px; font-size: 12px; }
  .home-hero { min-height: 66vh; padding-top: 34px; }
  .hero-subtitle { margin-bottom: 28px; font-size: 11px; }
  .hero-copy { font-size: 15px; }
  .page-shell { width: calc(100% - 36px); padding: 50px 0 70px; }
  .page-heading { margin-bottom: 32px; }
  .about-intro { margin-bottom: 55px; }
  .about-section { grid-template-columns: 1fr; gap: 17px; padding: 25px 0 35px; }
  .service-columns { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .values-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .filters { gap: 5px 16px; }
  .filter-button { font-size: 12px; }
  .project-title { font-size: 12px; }
  .project-meta { font-size: 11px; }
  .contact-layout { grid-template-columns: 1fr; gap: 37px; }
  .contact-copy h1 { margin-bottom: 18px; }
  .home-links { flex-wrap: wrap; margin-top: 42px; }
  .site-footer { padding: 15px 18px 27px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
.portfolio-side img.side-wordmark { display: block; width: 138px; max-width: 100%; height: auto; }
@media (min-width: 981px) { .portfolio-side img.side-wordmark + nav { margin-top: 48px; } }
img.footer-mark { display: block; width: 76px; height: auto; margin-inline: auto; }

.hero-logo { display: block; width: min(350px, 82%); height: auto; margin: 0 auto 28px; }
.hero-seal-image { display: block; width: 49px; height: auto; margin: 27px auto 0; }
.portfolio-main h1 { color: var(--blue); font-weight: 600; }
.inner-page-content { min-width: 0; }
.contact-layout.inner-page-content { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 72px); }
@media (max-width: 680px) {
  .contact-layout.inner-page-content { grid-template-columns: 1fr; }
  .portfolio-main h1 { font-size: clamp(30px, 9vw, 58px); }
}

