:root {
    color-scheme: light;
    --ink: #111a30;
    --sub: #46516a;
    --blue: #2148e6;
    --navy: #111c3b;
    --ice: #f0f4fb;
    --line: #d7dfed;
    --white: #fff;
    --gutter: clamp(24px, 6vw, 100px);
    font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
    line-height: 1.65;
    color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); min-width: 300px; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, figure { margin: 0; }
:focus-visible { outline: 3px solid #467bff; outline-offset: 5px; }
.wrap { width: min(100% - 2 * var(--gutter), 1376px); margin-inline: auto; }
.section { scroll-margin-top: 32px; padding-block: clamp(70px, 9.3vw, 148px); }
.kicker, .hero-meta, .about-figure figcaption, .project-label, .project-number, .service-index, .service-list small, .footer-top > span {
    font-family: "Arial", sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .13em;
}
.kicker { color: var(--blue); margin-bottom: 24px; }
h1, h2, h3 { line-height: 1.21; letter-spacing: -.075em; word-break: keep-all; overflow-wrap: anywhere; }
h2 { font-size: clamp(34px, 4.5vw, 68px); font-weight: 750; }
.intro { font-size: clamp(15px, 1.3vw, 18px); color: var(--sub); margin-top: 23px; line-height: 1.82; word-break: keep-all; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 5; padding: 10px 18px; background: #fff; color: var(--blue); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.header { color: var(--white); background: var(--navy); z-index: 3; position: relative; }
.has-hero .header { position: absolute; inset: 0 0 auto; background: transparent; }
.header-inner { margin: auto; width: min(100% - 2 * var(--gutter), 1376px); min-height: 90px; border-bottom: 1px solid #ffffff43; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; white-space: nowrap; }
.brand-mark { width: 33px; height: 33px; flex: none; }
.brand-words { display: grid; line-height: 1.02; gap: 5px; font-family: Arial, sans-serif; }
.brand-words strong { font-size: 22px; letter-spacing: .045em; }
.brand-words small { font-size: 8px; letter-spacing: .24em; font-weight: 700; }
.nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: clamp(16px, 3.1vw, 48px); }
.nav a { font-size: 14px; font-weight: 700; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav .header-cta { display: inline-flex; gap: 15px; align-items: center; padding: 10px 13px 10px 16px; border: 1px solid #ffffff78; }
.nav .header-cta:hover { background: #ffffff1f; text-decoration: none; }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: max(690px, min(89svh, 1000px)); color: var(--white); background: #152849; }
.hero-image, .hero-image::after { position: absolute; inset: 0; z-index: -1; }
.hero-image img { object-position: 58% 55%; }
.hero-image::after { content: ""; z-index: 0; background: linear-gradient(90deg, #0a1736da 0%, #101c3a99 35%, #13223b28 76%), linear-gradient(180deg, #0a152b70 0%, transparent 30%, transparent 68%, #0a132d8c 100%); }
.hero-content { position: relative; padding-block: 147px 110px; }
.hero .kicker { color: #fff; display: flex; align-items: center; gap: 12px; font-size: clamp(9px, 1.1vw, 12px); letter-spacing: .17em; }
.hero .kicker span { width: 9px; height: 9px; flex: none; background: #6992ff; }
.hero h1 { font-size: clamp(48px, 6vw, 96px); font-weight: 750; letter-spacing: -.082em; text-wrap: balance; }
.hero-body { margin-top: 25px; color: #f1f5ff; font-size: clamp(15px, 1.35vw, 19px); font-weight: 500; line-height: 1.75; word-break: keep-all; }
.solid-button { margin-top: 36px; display: inline-flex; align-items: center; justify-content: space-between; gap: 29px; padding: 15px 19px; color: var(--white); background: var(--blue); border: 1px solid transparent; font-size: 14px; font-weight: 700; transition: background .2s; }
.solid-button:hover { background: #1737c1; }
.hero-meta { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 23px; border-top: 1px solid #ffffff57; }
.hero-meta a { display: inline-flex; gap: 11px; align-items: center; }
.hero-meta a:hover { text-decoration: underline; text-underline-offset: 4px; }

.about { display: grid; grid-template-columns: .96fr 1fr; align-items: center; gap: clamp(35px, 9vw, 140px); }
.about-copy .intro { max-width: 440px; }
.line-link { width: fit-content; margin-top: 33px; padding-bottom: 8px; display: inline-flex; align-items: center; gap: 23px; border-bottom: 1px solid currentColor; color: var(--blue); font-weight: 700; font-size: 14px; }
.line-link:hover svg { transform: translateX(3px); }
.line-link svg { transition: transform .2s; }
.about-photo { aspect-ratio: 1.39; background: var(--ice); }
.about-photo img { object-position: center 51%; }
.about-figure figcaption { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-block: 11px; color: var(--sub); }
.about-figure figcaption span + span { color: var(--blue); }

.projects { background: var(--ice); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; flex: none; }
.filter { background: transparent; border: 1px solid #bac7df; padding: 7px 14px; color: var(--ink); font-weight: 700; font-size: 13px; }
.filter[aria-pressed="true"], .filter:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.project { min-width: 0; }
.project a { display: block; }
.project-photo { position: relative; isolation: isolate; aspect-ratio: 1 / 1.13; overflow: hidden; background: #c7d2ea; }
.project-photo img { transition: transform .55s cubic-bezier(.25,.65,.25,1); }
.project a:hover img { transform: scale(1.055); }
.project-label, .project-number { position: absolute; top: 14px; padding: 7px 9px; color: var(--navy); background: #fff; font-size: 10px; }
.project-label { left: 14px; max-width: calc(100% - 68px); overflow-wrap: anywhere; }
.project-number { right: 14px; }
.project-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #c7d1e2; padding-block: 20px; }
.project h3 { font-size: clamp(19px, 2.05vw, 31px); }
.project-caption p { margin-top: 8px; color: var(--sub); font-size: 14px; word-break: keep-all; }
.icon-box { flex: 0 0 39px; width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid #becbe0; color: var(--blue); transition: color .2s, background .2s; }
a:hover .icon-box { background: var(--blue); border-color: var(--blue); color: var(--white); }
.note { margin-top: 21px; font-size: 12px; color: var(--sub); }

.services { background: var(--navy); color: var(--white); }
.services-layout, .news, .contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 7vw, 100px); align-items: start; }
.services .kicker { color: #aabfff; }
.services .intro { color: #d6e0f7; max-width: 430px; }
.service-list { border-top: 1px solid #ffffff57; }
.service-list details { border-bottom: 1px solid #ffffff57; }
.service-list summary { cursor: pointer; display: grid; grid-template-columns: 32px 1fr 24px; align-items: center; gap: 18px; padding-block: 24px; list-style: none; }
.service-list summary::-webkit-details-marker { display: none; }
.service-index { color: #9fb4f4; }
.service-list strong { display: block; font-size: clamp(18px, 2vw, 27px); letter-spacing: -.05em; }
.service-list small { display: block; color: #aabcf0; margin-top: 2px; font-size: 10px; }
.plus { width: 20px; height: 20px; position: relative; }
.plus::before, .plus::after { position: absolute; content: ""; width: 16px; height: 1px; background: #c4d3ff; top: 9px; left: 2px; }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }
.service-list details p { color: #d8e1f7; padding: 0 30px 25px 50px; line-height: 1.78; word-break: keep-all; }
.news-list { border-top: 1px solid #8494af; }
.news-row { display: grid; grid-template-columns: minmax(62px, auto) 1fr auto 39px; gap: 14px; align-items: center; padding-block: 17px; border-bottom: 1px solid var(--line); }
.news-tag { color: var(--blue); font-size: 13px; font-weight: 700; }
.news-row strong { font-size: 16px; word-break: keep-all; }
.news-row time { color: var(--sub); font-size: 13px; }

.contact { background: #e8eeff; }
.contact-layout { grid-template-columns: .8fr 1.2fr; }
.inquiry { background: var(--white); border: 1px solid var(--line); padding: clamp(20px, 3.2vw, 42px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid label { color: var(--ink); font-size: 13px; font-weight: 700; display: grid; gap: 6px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #b4c0d6; background: #f8faff; color: var(--ink); border-radius: 0; }
textarea { resize: vertical; }
.form-full { grid-column: 1 / -1; }
.consent { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: start; margin-top: 16px; font-size: 12px; color: var(--sub); }
.consent label { display: flex; align-items: start; gap: 6px; }
.consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.inquiry .solid-button { margin-top: 23px; }
.form-message, .preview-note { background: #eef3ff; border: 1px solid #bdcbf0; padding: 12px 15px; margin-bottom: 16px; color: var(--navy); font-weight: 700; }
.preview-note { background: var(--white); }
.footer { background: #10182b; color: #fff; }
.footer .wrap { padding-block: 30px; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-top { border-bottom: 1px solid #ffffff38; padding-bottom: 24px; }
.footer-top > span { color: #b1bfe0; }
.back-top { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; }
.footer-bottom { align-items: start; padding-top: 20px; color: #c4cde3; font-size: 12px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.detail { padding-block: clamp(80px, 11vw, 165px); min-height: 65vh; max-width: 930px; }
.detail h1 { font-size: clamp(36px, 6vw, 78px); }
.detail-lead { margin-top: 24px; font-size: clamp(17px, 2vw, 23px); color: var(--sub); }
.detail-copy { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 28px; font-size: 17px; line-height: 1.9; word-break: keep-all; overflow-wrap: anywhere; }

@media (max-width: 1000px) {
    .news-row { grid-template-columns: 1fr auto 39px; gap: 5px 10px; }
    .news-tag { grid-column: 1 / -1; }
    .section-head { align-items: start; flex-direction: column; }
}
@media (max-width: 760px) {
    .header-inner { min-height: 70px; gap: 16px; flex-wrap: wrap; }
    .brand-mark { width: 29px; height: 29px; }
    .brand-words strong { font-size: 19px; }
    .brand-words small { font-size: 7px; }
    .nav { width: 100%; padding-bottom: 12px; justify-content: start; }
    .has-js .menu-toggle { width: 42px; height: 42px; display: grid; gap: 5px; place-content: center; color: #fff; background: transparent; border: 1px solid #ffffff65; }
    .menu-toggle span { display: block; width: 18px; height: 1px; background: currentColor; }
    .has-js .nav { display: none; }
    .has-js .menu-toggle[aria-expanded="true"] + .nav { display: grid; gap: 0; padding: 10px 18px; background: #101b39; position: absolute; top: 70px; left: 0; right: 0; }
    .has-js .nav a { padding: 13px 6px; border-bottom: 1px solid #ffffff30; }
    .has-js .nav .header-cta { border: 0; }
    .hero { min-height: max(620px, 84svh); }
    .hero-image img { object-position: 66% center; }
    .hero-image::after { background: linear-gradient(90deg, #0a1736db, #0a173660 80%), linear-gradient(0deg, #0a132d9e, transparent 40%, transparent 80%, #0a132d76); }
    .hero h1 { font-size: clamp(38px, 7.5vw, 61px); }
    .hero-content { padding-block: 155px 105px; }
    .hero-meta { padding-block: 16px; font-size: 9px; }
    .hero-meta span { text-align: right; }
    .about, .services-layout, .news, .contact-layout { grid-template-columns: 1fr; }
    .about-photo { aspect-ratio: 1.53; }
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 23px; }
    .project-caption { padding-block: 13px; }
    .project-caption p { font-size: 12px; }
    .project-label, .project-number { top: 8px; font-size: 8px; padding: 5px 6px; }
    .project-label { left: 8px; }
    .project-number { right: 8px; }
    .icon-box { width: 33px; height: 33px; flex-basis: 33px; }
    .footer-top { flex-wrap: wrap; }
    .footer-top > span { order: 3; width: 100%; }
    .footer-bottom { flex-direction: column; }
}
@media (max-width: 425px) {
    .project-grid, .form-grid { grid-template-columns: 1fr; }
    .project-photo { aspect-ratio: 1.18; }
    .project h3 { font-size: 24px; }
    .project-caption p { font-size: 14px; }
    .service-list summary { gap: 11px; }
    .service-list details p { padding-left: 43px; }
    .news-row strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

