/* ==========================================================================
   하랑건축디자인 — ATELIER
   01. Tokens
   02. Base
   03. Utilities / Motion primitives
   04. Loader, progress, header, drawer
   05. Hero
   06. Marquee
   07. Section shell
   08. About / Stats
   09. Studio / Team
   10. Services
   11. Process
   12. Material
   13. Voices
   14. Contact / Form
   15. Footer
   16. Responsive
   ========================================================================== */

/* 01. Tokens ============================================================ */
:root {
    --bone:      #f2efe9;
    --bone-2:    #e9e4da;
    --bone-3:    #ded8cc;
    --paper:     #faf8f4;

    --ink:       #16140f;
    --ink-80:    rgba(22, 20, 15, .80);
    --ink-60:    rgba(22, 20, 15, .60);
    --ink-40:    rgba(22, 20, 15, .40);
    --ink-24:    rgba(22, 20, 15, .24);
    --ink-muted: rgba(22, 20, 15, .62);  /* 작은 글자도 명도 대비 4.5:1 이상 */
    --line:      rgba(22, 20, 15, .13);
    --line-soft: rgba(22, 20, 15, .07);

    --brass:     #a97f3f;
    --brass-lt:  #d7b176;
    --brass-dim: rgba(169, 127, 63, .12);

    --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
            "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

    --gut: clamp(20px, 4.4vw, 76px);
    --rail: clamp(0px, 6vw, 96px);
    --max: 1560px;

    --e-out: cubic-bezier(.22, 1, .36, 1);
    --e-io: cubic-bezier(.65, .05, .36, 1);

    --head-h: 78px;
}

/* 02. Base ============================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--head-h) + 20px);
}

body {
    margin: 0;
    background: var(--bone);
    color: var(--ink);
    font-family: var(--sans);
    font-size: clamp(15px, .96vw, 17px);
    line-height: 1.75;
    font-weight: 400;
    word-break: keep-all;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.is-loading { overflow: hidden; }
body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--brass); color: #fff; }

:focus-visible {
    outline: 1px solid var(--brass);
    outline-offset: 3px;
}

body::after {
    content: "";
    position: fixed;
    inset: -50%;
    z-index: 9998;
    pointer-events: none;
    opacity: .22;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

/* 03. Utilities ========================================================= */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* 제목은 줄 길이를 고르게, 본문은 마지막 줄에 한 글자만 남지 않게 */
h1, h2, h3, .h2 { text-wrap: balance; }
p, blockquote, dd { text-wrap: pretty; }
.mono {
    /* 영문은 IBM Plex Mono, 한글은 var(--sans)로 폴백 */
    font-family: "IBM Plex Mono", var(--sans);
    font-weight: 300;
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.h2 {
    font-size: clamp(1.65rem, 3.1vw, 3.1rem);
    line-height: 1.34;
    font-weight: 500;
    letter-spacing: -.02em;
    word-break: keep-all;
}

.h2 em {
    /* 영문은 Cormorant Garamond, 한글은 var(--sans)로 폴백 */
    font-family: "Cormorant Garamond", var(--sans);
    font-style: italic;
    font-weight: 400;
    font-size: 1.06em;
    color: var(--brass);
    letter-spacing: 0;
}

.h2--center { text-align: center; margin-bottom: clamp(48px, 6vw, 92px); }

/* reveal ------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition:
        opacity .95s var(--e-out) calc(var(--d, 0) * 90ms),
        transform 1.05s var(--e-out) calc(var(--d, 0) * 90ms);
    will-change: opacity, transform;
}

.reveal.is-in { opacity: 1; transform: none; }

[data-delay="1"] { --d: 1; }
[data-delay="2"] { --d: 2; }
[data-delay="3"] { --d: 3; }

/* buttons ------------------------------------------------------------ */
.btn {
    --h: 58px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: var(--h);
    padding: 0 30px;
    font-size: .93rem;
    font-weight: 500;
    letter-spacing: -.01em;
    overflow: hidden;
    transition: color .5s var(--e-out), border-color .5s var(--e-out);
}

.btn span { position: relative; z-index: 2; }

.btn svg {
    position: relative;
    z-index: 2;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
    transition: transform .55s var(--e-out);
}

.btn:hover svg { transform: translateX(6px); }

.btn--solid {
    background: var(--ink);
    color: var(--bone);
}

.btn--solid::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--brass);
    transform: translateY(101%);
    transition: transform .6s var(--e-out);
}

.btn--solid:hover::before { transform: none; }

.btn--line {
    border: 1px solid var(--ink-24);
    color: var(--ink);
}

.btn--line::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .55s var(--e-out);
}

.btn--line:hover { color: var(--bone); border-color: var(--ink); }
.btn--line:hover::before { transform: none; }

.btn--full { width: 100%; }

/* 04. Loader / progress / header / drawer ============================== */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-content: center;
    gap: 22px;
    background: var(--bone);
    transition: opacity .7s var(--e-out), visibility .7s;
}

body:not(.is-loading) .loader {
    opacity: 0;
    visibility: hidden;
}

.loader__mark {
    width: 46px;
    height: 46px;
    border: 1px solid var(--ink-24);
    border-top-color: var(--brass);
    border-radius: 50%;
    animation: spin 1.05s linear infinite;
}

.loader__bar {
    width: 132px;
    height: 1px;
    background: var(--line);
    overflow: hidden;
}

.loader__bar span {
    display: block;
    height: 100%;
    background: var(--brass);
    transform-origin: left;
    animation: load 1.15s var(--e-out) forwards;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 2px;
    background: transparent;
}

.scroll-progress i {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
}

/* header */
.site-head {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 900;
    width: 100%;
    height: var(--head-h);
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 var(--gut);
    border-bottom: 1px solid transparent;
    transition: background .5s var(--e-out), border-color .5s, height .5s var(--e-out), transform .5s var(--e-out);
}

.site-head::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(242, 239, 233, .86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    transition: opacity .5s var(--e-out);
}

.site-head.is-solid {
    height: 66px;
    border-bottom-color: var(--line-soft);
}

.site-head.is-solid::before { opacity: 1; }

.site-head.is-up { transform: translateY(-100%); }

.brand { display: block; flex: 0 0 auto; }
.brand img {
    width: clamp(132px, 13vw, 176px);
    transition: opacity .4s;
}
.brand:hover img { opacity: .62; }

.site-nav { margin-left: auto; }

.site-nav ul {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.7vw, 30px);
}

.site-nav a {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 6px 2px;
    position: relative;
    transition: color .35s;
}

.site-nav__no {
    font-family: var(--mono);
    font-size: .58rem;
    letter-spacing: .1em;
    color: var(--ink-24);
    transition: color .35s;
}

.site-nav__ko {
    font-size: .88rem;
    font-weight: 500;
    letter-spacing: -.01em;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s var(--e-out);
}

.site-nav a:hover::after,
.site-nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.site-nav a:hover .site-nav__no,
.site-nav a.is-current .site-nav__no { color: var(--brass); }
.site-nav a.is-current .site-nav__ko { color: var(--brass); }

.head-tel {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: clamp(8px, 1.4vw, 24px);
    padding-left: clamp(14px, 1.6vw, 28px);
    border-left: 1px solid var(--line);
}

.head-tel span {
    font-family: var(--mono);
    font-size: .58rem;
    letter-spacing: .16em;
    color: var(--ink-muted);
}

.head-tel strong {
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -.01em;
    transition: color .35s;
}

.head-tel:hover strong { color: var(--brass); }

.burger {
    display: none;
    position: relative;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.burger i {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 1px;
    background: var(--ink);
    transition: transform .45s var(--e-out), opacity .3s;
}

.burger i:nth-child(1) { top: 18px; }
.burger i:nth-child(2) { top: 23px; }

body.menu-open .burger i:nth-child(1) { transform: translateY(2.5px) rotate(45deg); }
body.menu-open .burger i:nth-child(2) { transform: translateY(-2.5px) rotate(-45deg); }

/* drawer */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 890;
    background: var(--bone);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .8s var(--e-io);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--head-h) + 24px) var(--gut) 40px;
}

body.menu-open .drawer {
    clip-path: inset(0 0 0 0);
    pointer-events: auto;
}

.drawer__label { margin-bottom: 22px; }

.drawer ul { border-top: 1px solid var(--line); }

.drawer li {
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.drawer a {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 16px 0;
    transform: translateY(110%);
    transition: transform .7s var(--e-out) calc(var(--i, 0) * 55ms), color .3s;
}

body.menu-open .drawer a { transform: none; }

.drawer a em {
    font-family: var(--mono);
    font-style: normal;
    font-size: .62rem;
    letter-spacing: .14em;
    color: var(--brass);
}

.drawer a span { font-size: 1.5rem; font-weight: 500; }
.drawer a small { margin-left: auto; font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; color: var(--ink-24); }

.drawer__foot {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 32px;
    font-size: .9rem;
    color: var(--ink-60);
}

/* 05. Hero ============================================================= */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 100svh;
    padding-top: var(--head-h);
    background: var(--bone);
}

.hero__grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: repeating-linear-gradient(
        to right,
        var(--line-soft) 0 1px,
        transparent 1px calc(100% / 6)
    );
    background-position: var(--gut) 0;
    background-size: calc((100% - var(--gut) * 2) / 6) 100%;
    background-repeat: no-repeat;
    opacity: .9;
}

.hero__text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(22px, 3vw, 40px);
    padding: clamp(48px, 7vh, 96px) clamp(28px, 4vw, 78px) clamp(72px, 10vh, 130px) var(--gut);
    max-width: 780px;
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    /* 영문은 IBM Plex Mono, 한글은 var(--sans)로 폴백 */
    font-family: "IBM Plex Mono", var(--sans);
    font-size: clamp(.58rem, .7vw, .68rem);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.hero__eyebrow .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brass);
}

.hero__title {
    font-size: clamp(2.5rem, 5.5vw, 5.1rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.045em;
    word-break: keep-all;
}

.hero__title .line {
    display: block;
    overflow: hidden;
    padding: .06em .05em .09em;
    margin: -.06em -.05em -.09em;
}
.hero__title .line__in {
    display: block;
    transform: translateY(108%);
    transition: transform 1.15s var(--e-out) calc(.18s + var(--d, 0) * .13s);
}

body.is-ready .hero__title .line__in { transform: none; }
body.is-ready .hero__title .line:nth-child(2) { --d: 1; }

.hero__desc {
    max-width: 34em;
    font-size: clamp(.94rem, 1.02vw, 1.06rem);
    line-height: 2;
    color: var(--ink-60);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .9s var(--e-out) .55s, transform .9s var(--e-out) .55s;
}

body.is-ready .hero__desc { opacity: 1; transform: none; }

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .9s var(--e-out) .7s, transform .9s var(--e-out) .7s;
}

body.is-ready .hero__actions { opacity: 1; transform: none; }

.hero__media {
    position: relative;
    z-index: 1;
    margin: 0;
    overflow: hidden;
    background: var(--bone-2);
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12);
    transition: transform 1.6s var(--e-out);
    will-change: transform;
}

.hero.is-set .hero__media img { transform: scale(1); }

.hero__mask {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(242, 239, 233, .38) 0%, rgba(242, 239, 233, 0) 26%),
        linear-gradient(to bottom, rgba(242, 239, 233, .5) 0%, rgba(242, 239, 233, 0) 22%),
        linear-gradient(to top, rgba(242, 239, 233, .55) 0%, rgba(242, 239, 233, 0) 20%);
    pointer-events: none;
}

.hero__cap {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 20px;
    background: var(--bone);
    font-family: var(--mono);
    font-size: .6rem;
    letter-spacing: .18em;
    color: var(--ink-60);
}

.hero__cap .mono { color: var(--brass); }

/* dimension marks */
.dim { position: absolute; pointer-events: none; }

.dim--top {
    top: clamp(20px, 4vh, 46px);
    left: clamp(18px, 3vw, 44px);
    right: clamp(18px, 3vw, 44px);
    height: 7px;
    border-top: 1px solid var(--ink-24);
    border-left: 1px solid var(--ink-24);
    border-right: 1px solid var(--ink-24);
    opacity: .55;
}

.dim--side {
    top: clamp(20px, 4vh, 46px);
    bottom: clamp(20px, 4vh, 46px);
    left: clamp(18px, 3vw, 44px);
    width: 1px;
    background: var(--ink-24);
    opacity: .55;
}

.dim--side::before,
.dim--side::after {
    content: "";
    position: absolute;
    left: -1px;
    width: 7px;
    height: 1px;
    background: var(--ink-24);
}

.dim--side::before { top: 0; }
.dim--side::after { bottom: 0; }

.dim--side i {
    position: absolute;
    top: 0;
    left: 12px;
    writing-mode: vertical-rl;
    font-family: var(--mono);
    font-style: normal;
    font-size: .56rem;
    letter-spacing: .34em;
    color: var(--ink-muted);
    white-space: nowrap;
}

.hero__scroll {
    position: absolute;
    left: var(--gut);
    bottom: 28px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    transition: opacity .8s var(--e-out) .9s;
}

body.is-ready .hero__scroll { opacity: 1; }

.hero__scroll .mono { color: var(--ink-muted); }

.hero__scroll i {
    position: relative;
    width: 66px;
    height: 1px;
    background: var(--line);
    overflow: hidden;
}

.hero__scroll i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--brass);
    transform-origin: left;
    animation: sweep 2.1s var(--e-io) infinite;
}

@keyframes sweep {
    0%   { transform: scaleX(0); transform-origin: left; }
    55%  { transform: scaleX(1); transform-origin: left; }
    56%  { transform: scaleX(1); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

/* 06. Marquee ========================================================== */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    padding: 20px 0;
}

.marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: slide 42s linear infinite;
}

.marquee__set {
    display: flex;
    align-items: center;
    gap: 34px;
    padding-right: 34px;
}

.marquee__track span {
    font-family: var(--serif);
    font-size: clamp(1.05rem, 1.7vw, 1.6rem);
    letter-spacing: .06em;
    color: var(--ink-60);
    white-space: nowrap;
}

.marquee__track b {
    width: 5px;
    height: 5px;
    background: var(--brass);
    border-radius: 50%;
    flex: 0 0 auto;
}

@keyframes slide { to { transform: translateX(-50%); } }

/* 07. Section shell ==================================================== */
.sec {
    position: relative;
    padding: clamp(84px, 12vh, 168px) var(--gut);
    padding-left: calc(var(--gut) + var(--rail));
    border-bottom: 1px solid var(--line-soft);
}

.sec__head {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: var(--max);
    margin: 0 auto clamp(38px, 5vw, 72px);
}

.sec__vert {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: .3em;
    color: var(--ink-muted);
    padding-top: 6px;
    position: relative;
}

.sec__vert::after {
    content: "";
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    width: 1px;
    height: 46px;
    background: linear-gradient(to bottom, var(--brass), transparent);
}

.sec__num {
    margin-left: auto;
    font-family: var(--serif);
    font-size: clamp(4.5rem, 13vw, 13rem);
    line-height: .72;
    font-weight: 400;
    color: transparent;
    -webkit-text-stroke: 1px var(--ink-24);
    opacity: .55;
    user-select: none;
    transition: color .8s var(--e-out), opacity .8s var(--e-out);
}

.sec:hover .sec__num { color: var(--brass-dim); opacity: .85; }
.sec--scope:hover .sec__num { color: rgba(169, 127, 63, .16); }

.sec__body {
    max-width: var(--max);
    margin: 0 auto;
    width: 100%;
}

/* 08. About / stats ==================================================== */
.about {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: clamp(36px, 5vw, 90px);
    align-items: start;
}

.about__lead p {
    font-size: clamp(1.3rem, 2.35vw, 2.15rem);
    line-height: 1.58;
    font-weight: 500;
    letter-spacing: -.03em;
    word-break: keep-all;
}

.about__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    align-items: center;
    margin-top: clamp(24px, 3vw, 40px);
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: .84rem;
    color: var(--ink-60);
}

.about__cols {
    display: grid;
    gap: 30px;
}

.about__cols li { padding-top: 18px; border-top: 1px solid var(--line); }

.about__cols h3 {
    font-size: 1.06rem;
    font-weight: 600;
    letter-spacing: -.02em;
    margin-bottom: 9px;
}

.about__cols h3::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 1px;
    margin-right: 10px;
    vertical-align: middle;
    background: var(--brass);
}

.about__cols p {
    font-size: .92rem;
    line-height: 1.95;
    color: var(--ink-60);
    word-break: keep-all;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    max-width: var(--max);
    margin: clamp(56px, 7vw, 104px) auto 0;
    background: var(--line);
    border: 1px solid var(--line);
}

.stat {
    background: var(--bone);
    padding: clamp(22px, 2.6vw, 38px);
    transition: background .5s var(--e-out);
}

.stat:hover { background: var(--paper); }

.stat__num {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: var(--serif);
    font-size: clamp(2.6rem, 4.6vw, 4.2rem);
    line-height: 1;
    color: var(--ink);
}

.stat__num em {
    font-style: normal;
    font-size: .42em;
    color: var(--brass);
    transform: translateY(-.2em);
}

.stat__label {
    margin-top: 14px;
    font-size: .92rem;
    font-weight: 500;
}

.stat__en { display: block; margin-top: 4px; }

/* 09. Studio / team ==================================================== */
.sec--studio { background: var(--paper); }

.studio__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(30px, 5vw, 88px);
    align-items: end;
    padding-bottom: clamp(38px, 5vw, 66px);
    border-bottom: 1px solid var(--line);
}

.studio__note {
    font-size: .95rem;
    line-height: 2;
    color: var(--ink-60);
    word-break: keep-all;
}

.studio__team {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: clamp(34px, 5vw, 88px);
    margin-top: clamp(38px, 5vw, 72px);
}

.team-lead__t { display: block; margin-bottom: 20px; }

.person {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line-soft);
}

.person__mark {
    flex: 0 0 auto;
    display: grid;
    place-content: center;
    width: 62px;
    height: 62px;
    border: 1px solid var(--line);
    border-radius: 50%;
    /* 영문은 Cormorant Garamond, 한글은 var(--sans)로 폴백 */
    font-family: "Cormorant Garamond", var(--sans);
    font-size: 1.22rem;
    letter-spacing: .04em;
    color: var(--ink);
    transition: background .5s var(--e-out), color .5s var(--e-out), border-color .5s;
}

.person:hover .person__mark {
    background: var(--ink);
    color: var(--bone);
    border-color: var(--ink);
}

.person__mark--sm { font-size: .95rem; color: var(--ink-60); }

.person__body strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -.01em;
}

.person__body em {
    display: block;
    font-family: var(--mono);
    font-style: normal;
    font-size: .66rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-top: 3px;
}

.person-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.person-group .person { padding: 16px 0; gap: 12px; }
.person-group .person__mark { width: 42px; height: 42px; font-size: .82rem; }
.person-group .person__body strong { font-size: .88rem; }

.studio__card {
    position: relative;
    padding: clamp(28px, 3vw, 44px);
    background: var(--bone);
    border: 1px solid var(--line);
    align-self: start;
}

.studio__card::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--brass);
    opacity: 0;
    transform: translate(9px, 9px);
    transition: opacity .55s var(--e-out), transform .55s var(--e-out);
    pointer-events: none;
}

.studio__card:hover::after { opacity: .55; transform: none; }

.studio__card-k { display: block; margin-bottom: 18px; color: var(--brass); }

.studio__card p {
    font-size: .95rem;
    line-height: 2;
    color: var(--ink-80);
    word-break: keep-all;
}

.studio__card-b {
    margin-top: 26px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    /* 영문은 IBM Plex Mono, 한글은 var(--sans)로 폴백 */
    font-family: "IBM Plex Mono", var(--sans);
    font-size: .68rem;
    letter-spacing: .14em;
    color: var(--ink-muted) !important;
}

/* 10. Services ========================================================= */
.svc {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.svc__item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: clamp(26px, 3vw, 46px);
    background: var(--bone);
    overflow: hidden;
    transition: background .6s var(--e-out);
}

.svc__item::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .65s var(--e-out);
}

.svc__item:hover { background: var(--paper); }
.svc__item:hover::before { transform: scaleX(1); }

.svc__no {
    display: inline-grid;
    place-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--brass);
    font-size: .66rem;
}

.svc__en { display: block; margin-bottom: 10px; color: var(--ink-40); }

.svc__ko {
    font-size: clamp(1.3rem, 1.9vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -.03em;
    margin-bottom: 14px;
}

.svc__lead {
    font-size: .92rem;
    line-height: 1.95;
    color: var(--ink-60);
    word-break: keep-all;
}

.svc__list {
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid var(--line-soft);
    display: grid;
    gap: 11px;
}

.svc__list li {
    position: relative;
    padding-left: 16px;
    font-size: .87rem;
    color: var(--ink-80);
}

.svc__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .78em;
    width: 5px;
    height: 1px;
    background: var(--brass);
}

/* 11. Process ========================================================== */
.flow { position: relative; margin-top: clamp(44px, 6vw, 88px); }

.flow__rail {
    position: absolute;
    top: 7px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line);
}

.flow__rail i {
    display: block;
    height: 100%;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s var(--e-out);
}

.flow.is-on .flow__rail i { transform: scaleX(1); }

.flow__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 2.4vw, 40px);
}

.flow__item { position: relative; padding-top: 34px; }

.flow__dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    border: 1px solid var(--brass);
    border-radius: 50%;
    background: var(--bone);
}

.flow__dot::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--brass);
    transform: scale(0);
    transition: transform .5s var(--e-out);
}

.flow.is-on .flow__item:nth-child(1) .flow__dot::after { transform: scale(1); }
.flow.is-on .flow__item:nth-child(2) .flow__dot::after { transform: scale(1); transition-delay: .3s; }
.flow.is-on .flow__item:nth-child(3) .flow__dot::after { transform: scale(1); transition-delay: .6s; }
.flow.is-on .flow__item:nth-child(4) .flow__dot::after { transform: scale(1); transition-delay: .9s; }

.flow__no { color: var(--brass); display: block; margin-bottom: 8px; }

.flow__item h3 {
    font-size: 1.14rem;
    font-weight: 600;
    letter-spacing: -.02em;
    margin-bottom: 10px;
}

.flow__item p {
    font-size: .89rem;
    line-height: 1.95;
    color: var(--ink-60);
    word-break: keep-all;
}

.flow__term {
    display: inline-block;
    margin-top: 16px;
    padding: 5px 11px;
    background: var(--brass-dim);
    color: var(--brass) !important;
    font-size: .6rem;
    border-radius: 2px;
}

/* 12. Material ========================================================= */
.sec--scope { background: var(--ink); color: var(--bone); }
.sec--scope .sec__vert { color: rgba(242, 239, 233, .45); }
.sec--scope .sec__num { -webkit-text-stroke-color: rgba(242, 239, 233, .22); }
.sec--scope .mono { color: rgba(242, 239, 233, .4); }
.sec--scope .h2 em { color: var(--brass-lt); }

.field__head {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(28px, 5vw, 88px);
    align-items: end;
    padding-bottom: clamp(32px, 4vw, 58px);
    border-bottom: 1px solid rgba(242, 239, 233, .14);
}

.field__note {
    font-size: .95rem;
    line-height: 2;
    color: rgba(242, 239, 233, .62);
    word-break: keep-all;
}

.field__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 30px);
    margin-top: clamp(38px, 5vw, 72px);
}

.field { position: relative; }

.field__photo {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(22, 20, 15, .08);
}

.field__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(115deg, rgba(255, 255, 255, .22), transparent 42%, rgba(0, 0, 0, .12));
    opacity: 0;
    transition: opacity .6s var(--e-out);
}

.field:hover .field__photo::after { opacity: 1; }

.field__photo img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.86);
    transform: scale(1.01);
    transition: transform 1.1s var(--e-out);
}

.field:hover .field__photo img { transform: scale(1.07); }

.field__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 5px 10px;
    font-size: .66rem;
    letter-spacing: .12em;
    color: var(--bone);
    background: rgba(22, 20, 15, .72);
}

.field__body {
    display: block;
    padding-top: 16px;
}

.field__code { display: block; color: var(--brass-lt); margin-bottom: 5px; }

.field__name {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -.02em;
    transition: color .4s;
}

.field:hover .field__name { color: var(--brass-lt); }

.field__note-txt {
    display: block;
    font-size: .84rem;
    color: rgba(242, 239, 233, .5);
    margin-top: 2px;
}

/* 13. Voices =========================================================== */
.quotes { position: relative; max-width: 1080px; margin: 0 auto; text-align: center; }

.quotes__mark {
    display: block;
    font-family: var(--serif);
    font-size: clamp(5rem, 11vw, 10rem);
    line-height: .6;
    color: var(--brass);
    opacity: .3;
}

.quotes__viewport { position: relative; }

.quote {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--e-out), transform .8s var(--e-out);
    pointer-events: none;
}

.quote.is-active {
    position: relative;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.quote blockquote {
    font-size: clamp(1.02rem, 1.55vw, 1.42rem);
    line-height: 2.05;
    font-weight: 500;
    letter-spacing: -.02em;
    word-break: keep-all;
}

.quote figcaption {
    margin-top: clamp(24px, 3vw, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.quote figcaption strong {
    font-size: 1rem;
    font-weight: 600;
}

.quote figcaption span {
    padding-left: 14px;
    border-left: 1px solid var(--line);
    /* 영문은 IBM Plex Mono, 한글은 var(--sans)로 폴백 */
    font-family: "IBM Plex Mono", var(--sans);
    font-size: .66rem;
    letter-spacing: .1em;
    color: var(--ink-muted);
}

.quotes__ctrl {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: clamp(28px, 3.4vw, 46px);
}

.qdot {
    width: 30px;
    height: 2px;
    background: var(--line);
    transition: background .45s var(--e-out), width .45s var(--e-out);
}

.qdot.is-active { background: var(--brass); width: 48px; }

.quotes__count { display: block; margin-top: 18px; }
.quotes__count i { font-style: normal; color: var(--brass); }

/* 13-1. FAQ =========================================================== */
.sec--faq { background: var(--paper); }

.faq {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr);
    gap: clamp(36px, 6vw, 110px);
    align-items: start;
}

.faq__head { position: sticky; top: calc(var(--head-h) + 32px); }

.faq__note {
    margin-top: 22px;
    max-width: 30em;
    font-size: .94rem;
    color: var(--ink-60);
}

.faq__list { border-top: 1px solid var(--line); }

.faq__item {
    border-bottom: 1px solid var(--line);
    transition: background .5s var(--e-out);
}

.faq__item summary {
    display: grid;
    grid-template-columns: 48px 1fr 28px;
    align-items: center;
    gap: 14px;
    padding: clamp(20px, 2vw, 28px) 4px;
    cursor: pointer;
    list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__no { color: var(--brass); }

.faq__q {
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.5;
    transition: color .35s;
}

.faq__item summary:hover .faq__q { color: var(--brass); }

.faq__icon {
    position: relative;
    width: 28px;
    height: 28px;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: border-color .35s, background .35s, transform .5s var(--e-out);
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .35s; }

.faq__item[open] .faq__icon {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--bone);
    transform: rotate(180deg);
}

.faq__item[open] .faq__icon::after { opacity: 0; }

.faq__a {
    padding: 0 40px clamp(22px, 2.4vw, 32px) 66px;
    font-size: .94rem;
    line-height: 1.9;
    color: var(--ink-80);
}

.faq__item[open] .faq__a { animation: faq-open .6s var(--e-out); }

@keyframes faq-open {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

/* 14. Contact ========================================================== */
.sec--contact { background: var(--bone-2); }

.contact {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(40px, 6vw, 110px);
    align-items: start;
}

.contact__lead {
    margin-top: 22px;
    max-width: 30em;
    font-size: .96rem;
    line-height: 2;
    color: var(--ink-60);
    word-break: keep-all;
}

.contact__list {
    margin-top: clamp(32px, 4vw, 54px);
    border-top: 1px solid var(--line);
}

.contact__list li {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.contact__list .mono { flex: 0 0 46px; }

.contact__list a,
.contact__list em {
    font-style: normal;
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: -.01em;
    transition: color .35s;
}

.contact__list a:hover { color: var(--brass); }

.contact__mark {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-top: clamp(34px, 4vw, 56px);
}

.contact__mark strong {
    font-family: var(--serif);
    font-size: clamp(3.4rem, 7vw, 6rem);
    line-height: .8;
    font-weight: 400;
    color: var(--ink);
}

.contact__mark sup { font-size: .3em; color: var(--brass); }

.contact__mark em {
    font-family: var(--mono);
    font-style: normal;
    font-size: .62rem;
    letter-spacing: .18em;
    color: var(--ink-muted);
    max-width: 8em;
}

/* form */
.contact__form-wrap { position: relative; }

.form {
    position: relative;
    padding: clamp(26px, 3.2vw, 48px);
    background: var(--paper);
    border: 1px solid var(--line);
}

.form::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 74px;
    height: 3px;
    background: var(--brass);
}

.form__t { display: block; margin-bottom: clamp(22px, 3vw, 34px); }

.field { display: grid; gap: 9px; margin-bottom: 22px; }

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field label {
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: -.01em;
    color: var(--ink-60);
}

.field label em {
    font-style: normal;
    color: var(--brass);
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 13px 2px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: .96rem;
    transition: border-color .4s var(--e-out);
    appearance: none;
}

.field textarea { resize: vertical; min-height: 128px; line-height: 1.9; }

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-24); }

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-bottom-color: var(--brass);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-bottom-color: #b4452f; }

.select { position: relative; }

.select::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-right: 1px solid var(--ink-40);
    border-bottom: 1px solid var(--ink-40);
    transform: rotate(45deg);
    pointer-events: none;
}

.select select { cursor: pointer; padding-right: 22px; }

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.agree {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 6px 0 22px;
    cursor: pointer;
}

.agree input { position: absolute; opacity: 0; width: 0; height: 0; }

.agree__box {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 3px;
    border: 1px solid var(--ink-24);
    transition: background .3s, border-color .3s;
    position: relative;
}

.agree input:checked + .agree__box {
    background: var(--brass);
    border-color: var(--brass);
}

.agree input:checked + .agree__box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(42deg);
}

.agree input:focus-visible + .agree__box { outline: 1px solid var(--brass); outline-offset: 2px; }

.agree__txt {
    font-size: .82rem;
    line-height: 1.75;
    color: var(--ink-60);
}

.agree__txt strong {
    display: block;
    font-size: .86rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}

.form__msg:empty { display: none; }
.form__msg { margin-bottom: 18px; }

.msg {
    padding: 12px 15px;
    font-size: .86rem;
    line-height: 1.7;
    border-left: 2px solid;
    animation: msgIn .5s var(--e-out) both;
}

.msg--ok { background: rgba(169, 127, 63, .1); border-color: var(--brass); color: #6f5225; }
.msg--err { background: rgba(180, 69, 47, .08); border-color: #b4452f; color: #8f3524; }

@keyframes msgIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

.form__foot { margin-top: 14px; text-align: center; }

.btn[data-submit].is-sending { pointer-events: none; opacity: .62; }

/* 15. Footer =========================================================== */
.site-foot {
    padding: clamp(56px, 7vw, 100px) var(--gut) 30px;
    background: var(--ink);
    color: var(--bone);
}

.site-foot__top {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: clamp(32px, 4vw, 70px);
    padding-bottom: clamp(40px, 5vw, 70px);
    border-bottom: 1px solid rgba(242, 239, 233, .14);
}

.site-foot__brand img {
    width: clamp(150px, 15vw, 200px);
    filter: brightness(0) invert(1);
    opacity: .9;
}

.site-foot__brand p {
    margin-top: 18px;
    font-size: .86rem;
    line-height: 1.9;
    color: rgba(242, 239, 233, .5);
}

.site-foot__addr {
    margin-top: 14px;
    font-style: normal;
    font-size: .8rem;
    line-height: 1.8;
    color: rgba(242, 239, 233, .5);
}

.site-foot__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    align-content: start;
}

.site-foot__nav a {
    font-size: .9rem;
    color: rgba(242, 239, 233, .66);
    transition: color .35s, transform .35s var(--e-out);
}

.site-foot__nav a:hover { color: var(--brass-lt); transform: translateX(4px); }

.site-foot__contact { display: grid; gap: 8px; align-content: start; }

.site-foot__contact a.big {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 500;
    letter-spacing: -.03em;
    font-family: var(--sans);
    transition: color .35s;
}

.site-foot__contact a:not(.big) {
    font-size: .9rem;
    color: rgba(242, 239, 233, .6);
    transition: color .35s;
}

.site-foot__contact a:hover { color: var(--brass-lt); }
.site-foot__contact .mono { margin-top: 10px; color: rgba(242, 239, 233, .46); }

.site-foot__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 26px;
    color: rgba(242, 239, 233, .5);
}

/* .mono 기본색(어두운 글자)이 어두운 푸터 배경에 묻히지 않게 */
.site-foot__bottom .mono {
    color: rgba(242, 239, 233, .62);
    font-weight: 400;
    /* 영문은 IBM Plex Mono, 한글은 var(--sans)로 폴백 */
    font-family: "IBM Plex Mono", var(--sans);
}

/* 16. Responsive ======================================================= */
@media (max-width: 1280px) {
    .sec { padding-left: calc(var(--gut) + 40px); }
    .site-nav__no { display: none; }
}

@media (max-width: 1024px) {
    :root { --head-h: 68px; }

    .faq { grid-template-columns: 1fr; }
    .faq__head { position: static; }

    .site-nav, .head-tel { display: none; }
    .burger { display: block; }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-bottom: 0;
    }

    .hero__text {
        padding: clamp(46px, 8vh, 76px) var(--gut) clamp(40px, 6vh, 60px);
        max-width: none;
        order: 2;
    }

    .hero__media {
        order: 1;
        height: clamp(230px, 34vh, 380px);
    }

    .hero__scroll { display: none; }

    .sec { padding: clamp(64px, 9vh, 108px) var(--gut); padding-left: var(--gut); }

    .sec__head { margin-bottom: 34px; }

    .sec__vert { writing-mode: horizontal-tb; letter-spacing: .2em; }
    .sec__vert::after { display: none; }

    .sec__num { font-size: clamp(3.4rem, 15vw, 6rem); }

    .about,
    .studio__top,
    .studio__team,
    .field__head,
    .contact { grid-template-columns: 1fr; }

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

    .stats { grid-template-columns: repeat(2, 1fr); }

    .flow__list { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }

    .flow__rail { display: none; }

    .flow__item { padding-top: 26px; border-top: 1px solid var(--line); }

    .flow__dot { top: -4px; }

    .field__grid { grid-template-columns: repeat(2, 1fr); }

    .site-foot__top { grid-template-columns: 1fr 1fr; }
    .site-foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .field-row { grid-template-columns: 1fr; gap: 0; }

    .faq__item summary { grid-template-columns: 38px 1fr 26px; gap: 10px; }
    .faq__a { padding: 0 4px 22px 52px; }

    .person--group { grid-template-columns: 1fr; }

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

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

    .quote figcaption { flex-direction: column; gap: 4px; }
    .quote figcaption span { padding-left: 0; border-left: 0; }

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

    .hero__actions .btn { flex: 1 1 100%; }

    .btn { --h: 54px; padding: 0 22px; }

    .dim--side { display: none; }
}

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

    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .reveal { opacity: 1; transform: none; }
    .hero__title .line__in,
    .hero__desc,
    .hero__actions,
    .hero__scroll { opacity: 1; transform: none; }
    .hero__media img { transform: none; }
}