/*------------------------------------------------------
· architeck Ver 1.0
· Type : basic.css (Reset + Common Base)
· Author : Albatross Pictures Kim Hyun Gyu
· Data : 2026-06-18
· Copyright @ 2026 architeck all rights reserved
---------------------------------------------------------
· SUMMARY:
1) HTML Basic Reset
2) Base Typography
3) Form Reset
4) Scrollbar Hidden / Accessibility
---------------------------------------------------------*/

@charset "utf-8";

/* #################################### 01.HTML Basic Reset #################################### */
*,
:before,
:after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
    line-height: var(--lh-base);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    width: 100%;
    min-height: var(--vh-full);
    margin: 0 auto;
    color: var(--color-ink);
    font-family: var(--font-kr);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    line-height: var(--lh-base);
    background: var(--color-bg);
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
    display: block;
}

img,
video,
iframe {
    display: block;
    max-width: 100%;
    border: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
}

ul,
ol,
li,
dt,
dd,
dl {
    list-style: none;
}

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

blockquote:after,
blockquote:before,
q:after,
q:before {
    content: "";
    content: none;
}

/* #################################### 02.Base Typography #################################### */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--fw-semibold);
    line-height: var(--lh-tight);
}

/* Text Word Align (한글 줄바꿈) */
h1,
h2,
h3,
h4,
h5,
h6,
p,
input,
textarea,
li {
    word-break: keep-all;
}

/* #################################### 03.Form Reset #################################### */
button {
    font: inherit;
    cursor: pointer;
    background: transparent;
    color: inherit;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

textarea {
    resize: none;
}

/* #################################### 04.Scrollbar Hidden / Accessibility #################################### */
/* 전역 스크롤바 숨김 (모든 브라우저) — select 화살표 제거도 동일 그룹 */
html::-webkit-scrollbar,
.architech-scrollbar::-webkit-scrollbar,
*::-webkit-scrollbar,
select::-ms-expand {
    display: none;
    width: 0;
    height: 0;
}

/* 오버플로우 컨테이너 포함 전역 스크롤바 숨김 (Firefox/IE) */
* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* 스크린리더 전용 텍스트 (시각적 숨김, 그누보드 표준) */
.sound_only {
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    color: transparent;
}

/* #################################### 05.Common Utility #################################### */
.architech-wrap {
    width: 100%;
    margin: 0 auto;
    padding-left: var(--pad-body);
    padding-right: var(--pad-body);
}

.architech-widewrap {
    width: 100%;
    margin: 0 auto;
    padding-left: var(--pad-wide);
    padding-right: var(--pad-wide);
}

.architech-section {
    padding: var(--sp-section-pt) 0 var(--sp-section-pb);
}

.architech-section-tight {
    padding: var(--sp-section-y-sm) 0;
}

.architech-section-alt {
    background: var(--color-bg-alt);
}

.architech-section-dark {
    background: var(--color-bg-dark);
    color: var(--color-on-dark);
}

.architech-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    font-family: var(--font-en);
    font-size: var(--fs-eyebrow);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-eyebrow);
    text-transform: uppercase;
    color: var(--color-accent);
}

.architech-eyebrow::before {
    content: "";
    width: var(--sp-7);
    height: var(--hairline);
    background: var(--color-accent);
}

.architech-br {
    display: block;
}

.architech-nowrap {
    white-space: nowrap;
}

.architech-reveal {
    opacity: 0;
    transform: translateY(1.75rem);
    transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease);
}

.architech-reveal.is-on {
    opacity: 1;
    transform: translateY(0);
}

/* #################################### 06.Atomic Utility (선언 1회 · HTML 조합) #################################### */
.architech-flex { display: flex; }
.architech-iflex { display: inline-flex; }
.architech-col { flex-direction: column; }
.architech-ac { align-items: center; }
.architech-as { align-items: flex-start; }
.architech-ae { align-items: flex-end; }
.architech-ab { align-items: baseline; }
.architech-jc { justify-content: center; }
.architech-jb { justify-content: space-between; }
.architech-fwrap { flex-wrap: wrap; }
.architech-f1 { flex: 1 1 auto; min-width: 0; }
.architech-f10 { flex: 1 1 0; min-width: 0; }
.architech-rel { position: relative; }
.architech-abs { position: absolute; }
.architech-fill { inset: 0; }
.architech-fit { width: 100%; height: 100%; }
.architech-cover { object-fit: cover; }
.architech-block { display: block; }
.architech-g1 { gap: var(--sp-1); }
.architech-g2 { gap: var(--sp-2); }
.architech-g3 { gap: var(--sp-3); }
.architech-g4 { gap: var(--sp-4); }
.architech-g5 { gap: var(--sp-5); }
.architech-g6 { gap: var(--sp-6); }
.architech-g8 { gap: var(--sp-8); }
.architech-fen { font-family: var(--font-en); }
.architech-fkr { font-family: var(--font-kr); }
.architech-fmono { font-family: var(--font-mono); }
.architech-fwl { font-weight: var(--fw-light); }
.architech-fwm { font-weight: var(--fw-medium); }
.architech-fwsb { font-weight: var(--fw-semibold); }
.architech-fwb { font-weight: var(--fw-bold); }
.architech-ttup { text-transform: uppercase; }
.architech-cac { color: var(--color-accent); }
.architech-cod { color: var(--color-on-dark); }
.architech-cink { color: var(--color-ink); }
.architech-cink3 { color: var(--color-ink-3); }
.architech-cmut { color: var(--color-muted); }
.architech-tc { transition: color var(--dur-fast) var(--ease); }
.architech-fxs { font-size: var(--fs-xs); }
.architech-fsm { font-size: var(--fs-sm); }
.architech-fbase { font-size: var(--fs-base); }
.architech-fmd { font-size: var(--fs-md); }
.architech-flg { font-size: var(--fs-lg); }
