/* ==========================================================================
   AILO Construction A08 — 나무와집 (목조·전원주택)
   원형: 내추럴 우드(가운데 로고 헤더, 집 모양 이미지 마스크, 나뭇결 질감, 대들보 타임라인)
   타이포: Grandiflora One(한글 디스플레이) + Fraunces 이탤릭(영문·숫자) + Pretendard 본문
   컬러: 크림 + 원목(허니 오크) + 월넛 + 잎새 올리브 포인트
   ========================================================================== */

:root {
  --ailo-bg: #f5eee2;
  --ailo-fg: #2e2219;
  --ailo-muted: #7a6a5b;
  --ailo-line: rgba(46, 34, 25, .14);
  --ailo-accent: #9a6332;
  --ailo-header-h: 84px;

  --a08-cream: #f5eee2;
  --a08-paper: #ebe0cc;
  --a08-oak: #b47c46;
  --a08-oak-d: #9a6332;
  --a08-walnut: #3b2a1e;
  --a08-walnut-2: #2b1f16;
  --a08-leaf: #6f7d4f;
  --a08-kr: "Pretendard Variable", Pretendard, sans-serif;
  --a08-en: "Fraunces", "Pretendard Variable", serif;
  --a08-sec: clamp(80px, 10vw, 150px);
  --a08-r: 22px;
}

body { font-size: 16px; }
.kicker { font-family: var(--a08-en); font-style: italic; font-weight: 400; font-size: clamp(17px, 1.4vw, 21px); color: var(--a08-oak-d); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 18px; height: 18px; background: var(--a08-leaf); clip-path: path("M1 17 C1 7 7 1 17 1 C17 11 11 17 1 17Z"); flex: none; }
.sec { padding-block: var(--a08-sec); }
.sec__head { margin-bottom: clamp(36px, 4.5vw, 64px); }
.sec__head--c { text-align: center; }
.sec__head--c .kicker { justify-content: center; }
/* Grandiflora One 은 획이 가늘어 제목에 얇은 외곽선을 더해 굵기를 보정 */
.sec__title, .hero__title, .line h3, .proc__list h3, .lb__body h3, .story__sign em, .mnav__in > a:not(.mnav__cta), .hd__logo span, .ft__logo, .ptn span:nth-child(odd) { -webkit-text-stroke: .022em currentColor; }
.sec__title { font-family: var(--a08-kr); font-weight: 600; font-size: clamp(30px, 3.8vw, 54px); line-height: 1.3; letter-spacing: -.01em; }
.sec__desc { margin-top: 16px; color: var(--ailo-muted); }

/* 버튼 */
.wbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px;
  border: 1.5px solid var(--a08-walnut); color: var(--a08-walnut); font-weight: 600; background: transparent;
  transition: background-color .3s, color .3s, transform .3s var(--ailo-ease);
}
.wbtn:hover, .wbtn:focus-visible { background: var(--a08-walnut); color: var(--a08-cream); transform: translateY(-2px); }
.wbtn--fill { background: var(--a08-oak-d); border-color: var(--a08-oak-d); color: #fff; }
.wbtn--fill:hover, .wbtn--fill:focus-visible { background: var(--a08-walnut); border-color: var(--a08-walnut); color: #fff; }
.wbtn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.wbtn--block { width: 100%; }

/* 집 모양 마스크 */
.house { overflow: hidden; position: relative; background: var(--a08-paper); clip-path: polygon(50% 0, 100% 30%, 100% 100%, 0 100%, 0 30%); }
.house img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ailo-ease); }
.house--flat { clip-path: polygon(0 18%, 100% 6%, 100% 100%, 0 100%); }
.house--hanok { clip-path: polygon(0 32%, 8% 22%, 22% 14%, 50% 6%, 78% 14%, 92% 22%, 100% 32%, 92% 34%, 92% 100%, 8% 100%, 8% 34%); }
.house--cabin { clip-path: polygon(50% 0, 96% 78%, 96% 100%, 4% 100%, 4% 78%); }

/* ===== Header ===== */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--ailo-header-h); transition: background-color .4s, box-shadow .4s, height .4s; }
.hd.is-scrolled { background: rgba(245, 238, 226, .94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--ailo-line); }
.hd__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-inline: var(--ailo-gutter); max-width: 1440px; margin: 0 auto; }
.hd__nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.hd__nav--r { justify-content: flex-end; }
.hd__nav a:not(.hd__cta) { font-weight: 500; font-size: 15px; position: relative; padding: 4px 0; }
.hd__nav a:not(.hd__cta)::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 6'%3E%3Cpath d='M0 3 Q5 0 10 3 T20 3 T30 3 T40 3' fill='none' stroke='%239a6332' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x 0 0 / 20px 6px; opacity: 0; transition: opacity .3s; }
.hd__nav a:hover::after, .hd__nav a:focus-visible::after { opacity: 1; }
.hd__logo { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hd__logo svg { width: 40px; height: 34px; fill: none; stroke: var(--a08-oak-d); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hd__logo span { font-family: var(--a08-kr); font-size: 22px; line-height: 1; font-weight: 600; }
.hd__cta { padding: 10px 22px; border-radius: 999px; background: var(--a08-walnut); color: var(--a08-cream); font-size: 14px; font-weight: 600; transition: background-color .3s; }
.hd__cta:hover { background: var(--a08-oak-d); color: #fff; }

/* Mobile nav */
.mnav { background: var(--a08-walnut) repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 46px); color: var(--a08-cream); }
html.nav-open .hd { color: var(--a08-cream); background: transparent; box-shadow: none; }
html.nav-open .hd__logo svg { stroke: #e3b884; }
.mnav__in { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(var(--ailo-header-h) + 12px) var(--ailo-gutter) 40px; gap: 4px; }
.mnav__in > a:not(.mnav__cta) { font-family: var(--a08-kr); font-size: 28px; padding: 10px 0; font-weight: 600; }
.mnav__in > a:not(.mnav__cta):hover { color: #e3b884; }
.mnav__cta { margin-top: 28px; padding: 16px 40px; border-radius: 999px; background: var(--a08-oak); color: var(--a08-walnut-2); font-weight: 700; }
.mnav__note { margin-top: 20px; font-size: 14px; opacity: .7; }

/* ===== Hero ===== */
.hero { position: relative; padding-top: calc(var(--ailo-header-h) + clamp(24px, 4vw, 56px)); padding-bottom: clamp(56px, 7vw, 110px); overflow: hidden; isolation: isolate; }
.hero__grain { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 60% at 100% 0%, rgba(180, 124, 70, .18), transparent 60%),
  repeating-linear-gradient(90deg, rgba(154, 99, 50, .045) 0 1px, transparent 1px 120px); }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__kicker { display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 999px; background: rgba(111, 125, 79, .14); color: #4e5a33; font-size: 14px; font-weight: 600; }
.hero__title { font-family: var(--a08-kr); font-weight: 600; font-size: clamp(40px, 5.2vw, 78px); line-height: 1.2; margin-top: 24px; letter-spacing: -.02em; }
.hero__title em { font-style: normal; color: var(--a08-oak-d); position: relative; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: .16em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C50 2 100 12 198 4' fill='none' stroke='%236f7d4f' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.hero__lead { margin-top: 26px; max-width: 480px; color: var(--ailo-muted); font-size: clamp(15.5px, 1.2vw, 18px); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__mini { display: flex; gap: 36px; margin-top: 44px; padding-top: 24px; border-top: 1px dashed var(--ailo-line); font-size: 14px; color: var(--ailo-muted); }
.hero__mini b { display: block; font-family: var(--a08-en); font-weight: 500; font-size: 34px; color: var(--a08-walnut); line-height: 1.1; font-variation-settings: "opsz" 120; }
.hero__mini small { font-family: var(--ailo-font); font-size: 14px; margin-left: 2px; font-weight: 600; }
.hero__visual { position: relative; }
.house--hero { aspect-ratio: 10 / 11; border-radius: 0 0 var(--a08-r) var(--a08-r); }
.house--hero img { animation: a08-breathe 14s ease-in-out infinite alternate; }
@keyframes a08-breathe { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero__chip { position: absolute; left: -24px; bottom: 12%; background: var(--a08-cream); padding: 16px 20px; border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(59, 42, 30, .45); font-weight: 700; font-size: 15px; line-height: 1.4; }
.hero__chip i { color: var(--a08-oak-d); margin-right: 4px; }
.hero__chip small { font-weight: 400; font-size: 14px; color: var(--ailo-muted); }
.hero__leaf { position: absolute; right: -10px; top: 6%; width: 64px; height: 64px; fill: rgba(111, 125, 79, .85); stroke: var(--a08-cream); stroke-width: 2; animation: a08-sway 5s ease-in-out infinite alternate; transform-origin: 10% 90%; }
@keyframes a08-sway { from { rotate: -6deg; } to { rotate: 8deg; } }

/* ===== Story ===== */
.story { background: var(--a08-paper); background-image: repeating-linear-gradient(0deg, rgba(154, 99, 50, .05) 0 1px, transparent 1px 64px); }
.story__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.story__img { position: relative; aspect-ratio: 7 / 8.6; border-radius: 200px 200px var(--a08-r) var(--a08-r); overflow: visible; }
.story__img img { border-radius: inherit; }
.story__stamp { position: absolute; right: -18px; top: 18%; width: 112px; height: 112px; border-radius: 50%; background: var(--a08-walnut); color: var(--a08-cream); display: grid; place-content: center; text-align: center; font-family: var(--a08-en); font-style: italic; font-size: 15px; line-height: 1.1; rotate: 8deg; box-shadow: 0 0 0 6px var(--a08-paper), 0 0 0 7px rgba(59, 42, 30, .3); }
.story__stamp b { font-style: normal; font-weight: 600; font-size: 28px; }
.story__copy > p:not(.kicker):not(.story__sign) { margin-top: 22px; color: #5a4a3c; max-width: 560px; font-size: 16.5px; }
.story__values { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story__values li { background: var(--a08-cream); border-radius: var(--a08-r); padding: 22px 20px; border: 1px solid var(--ailo-line); transition: transform .4s var(--ailo-ease), box-shadow .4s; }
.story__values li:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(59, 42, 30, .5); }
.story__ic { width: 42px; height: 42px; border-radius: 50%; background: rgba(180, 124, 70, .16); color: var(--a08-oak-d); display: grid; place-items: center; margin-bottom: 14px; }
.story__values b { font-size: 16.5px; }
.story__values p { margin-top: 6px; font-size: 16px; color: var(--ailo-muted); }
.story__sign { margin-top: 32px; font-size: 14px; color: var(--ailo-muted); }
.story__sign em { font-family: var(--a08-kr); font-style: normal; font-size: 26px; color: var(--a08-walnut); margin-left: 10px; font-weight: 600; }

/* ===== Numbers (월넛 나뭇결) ===== */
.num { background-color: var(--a08-walnut); color: var(--a08-cream); background-image:
  repeating-radial-gradient(ellipse 140% 30% at 30% 120%, rgba(255, 255, 255, .03) 0 2px, transparent 2px 14px); }
.num__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.num__in > div { padding: clamp(40px, 5vw, 72px) 12px; text-align: center; position: relative; }
.num__in > div + div::before { content: ""; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: rgba(245, 238, 226, .2); }
.num__v { font-family: var(--a08-en); font-weight: 400; font-size: clamp(42px, 5vw, 76px); line-height: 1; font-variation-settings: "opsz" 144; color: #f0c993; }
.num__v small { font-family: var(--ailo-font); font-size: .3em; font-weight: 600; margin-left: 4px; color: var(--a08-cream); }
.num__k { margin-top: 12px; font-size: 14.5px; opacity: .8; }

/* ===== Lineup ===== */
.lineup__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 36px); }
.line { position: relative; }
.line .house { aspect-ratio: 1; }
.line:hover .house img { transform: scale(1.07); }
.line__no { font-family: var(--a08-en); font-style: italic; color: var(--a08-oak-d); font-size: 16px; margin-top: 20px; }
.line h3 { font-family: var(--a08-kr); font-weight: 600; font-size: 26px; margin-top: 2px; }
.line > p:not(.line__no):not(.line__price) { color: var(--ailo-muted); font-size: 16px; margin-top: 6px; }
.line__price { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--ailo-line); font-size: 14px; color: var(--ailo-muted); }
.line__price b { color: var(--a08-walnut); font-size: 16px; }

/* ===== Gallery ===== */
.gal { background: var(--a08-paper); }
.gal__head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.gal__filter { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; background: var(--a08-cream); border-radius: 999px; border: 1px solid var(--ailo-line); }
.gal__filter button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ailo-muted); transition: background-color .3s, color .3s; }
.gal__filter button:hover { color: var(--a08-walnut); }
.gal__filter button.is-on { background: var(--a08-walnut); color: var(--a08-cream); }
.gal__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 15vw, 230px); grid-auto-flow: dense; gap: clamp(12px, 1.4vw, 20px); }
.gi { border-radius: var(--a08-r); overflow: hidden; animation: a08-pop .6s var(--ailo-ease); }
.gi[hidden] { display: none; }
@keyframes a08-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.gi--tall { grid-row: span 2; }
.gi--wide { grid-column: span 2; }
.gi button { display: block; width: 100%; height: 100%; padding: 0; border: 0; position: relative; background: var(--a08-paper); cursor: zoom-in; }
.gi img { transition: transform 1s var(--ailo-ease); }
.gi button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(43, 31, 22, .82)); }
.gi__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; text-align: left; font-weight: 600; font-size: 16px; line-height: 1.35; }
.gi__cap em { display: block; font-family: var(--a08-en); font-weight: 400; font-size: 14px; color: #f0c993; }
.gi__cap small { display: block; font-weight: 400; font-size: 14px; opacity: .8; }
.gi button:hover img, .gi button:focus-visible img { transform: scale(1.06); }
.gi button:focus-visible { outline: 3px solid var(--a08-oak-d); outline-offset: -3px; }
.gal__visit { margin-top: 28px; font-size: 16px; color: #5a4a3c; display: flex; gap: 10px; align-items: baseline; }
.gal__visit i { color: var(--a08-oak-d); }

/* Lightbox */
.lb { border: 0; padding: 0; border-radius: var(--a08-r); max-width: min(980px, calc(100vw - 32px)); width: 100%; background: var(--a08-cream); color: var(--ailo-fg); overflow: hidden; }
.lb::backdrop { background: rgba(43, 31, 22, .72); backdrop-filter: blur(4px); }
.lb[open] { animation: a08-pop .4s var(--ailo-ease); }
.lb__close-f { position: absolute; top: 12px; right: 12px; z-index: 2; margin: 0; }
.lb__close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--a08-cream); color: var(--a08-walnut); font-size: 18px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.lb__img { aspect-ratio: 3 / 2; background: var(--a08-paper); }
.lb__img img { width: 100%; height: 100%; object-fit: cover; }
.lb__body { padding: 22px 26px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.lb__body h3 { font-family: var(--a08-kr); font-weight: 600; font-size: 26px; width: 100%; margin-bottom: -10px; }
.lb__body p { color: var(--ailo-muted); }

/* ===== Process (대들보 타임라인) ===== */
.proc__list { position: relative; max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: 120px; row-gap: 24px; }
.proc__list::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 18px; margin-left: -9px; border-radius: 4px;
  background: linear-gradient(90deg, #8a5a2f, #b47c46 40%, #9a6332), repeating-linear-gradient(180deg, rgba(0, 0, 0, .08) 0 2px, transparent 2px 22px); background-blend-mode: multiply; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.proc__list li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; background: var(--a08-cream); border: 1px solid var(--ailo-line); border-radius: var(--a08-r); padding: 24px; position: relative; }
.proc__list li:nth-child(odd) { grid-column: 1; }
.proc__list li:nth-child(even) { grid-column: 2; margin-top: 80px; margin-bottom: -80px; }
.proc__list li::after { content: ""; position: absolute; top: 34px; width: 60px; height: 10px; background: var(--a08-oak); border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.proc__list li:nth-child(odd)::after { right: -61px; }
.proc__list li:nth-child(even)::after { left: -61px; }
.proc__no { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--a08-walnut); color: #f0c993; font-family: var(--a08-en); font-style: italic; font-size: 22px; }
.proc__wk { font-family: var(--a08-en); font-style: italic; font-size: 14px; color: var(--a08-leaf); }
.proc__list h3 { font-family: var(--a08-kr); font-weight: 600; font-size: 23px; margin: 2px 0 6px; }
.proc__list li p:last-child { font-size: 16px; color: var(--ailo-muted); }
.proc .ailo-wrap { padding-bottom: 80px; }

/* ===== Journal ===== */
.jr__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.jr__grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: clamp(16px, 2vw, 28px); }
.jr__item figure { aspect-ratio: 16 / 11; border-radius: var(--a08-r); overflow: hidden; }
.jr__item img { transition: transform 1s var(--ailo-ease); }
.jr__item:hover img { transform: scale(1.05); }
.jr__tag { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700; color: #4e5a33; background: rgba(111, 125, 79, .16); padding: 3px 10px; border-radius: 999px; }
.jr__item h3 { font-size: 17.5px; font-weight: 700; margin-top: 10px; line-height: 1.45; }
.jr__item:hover h3 { color: var(--a08-oak-d); }
.jr__item time { display: block; margin-top: 8px; font-family: var(--a08-en); font-size: 14px; color: var(--ailo-muted); }
.jr__notice { background: var(--a08-walnut); color: var(--a08-cream); border-radius: var(--a08-r); padding: 10px 24px; display: flex; flex-direction: column; justify-content: center; }
.jr__notice li + li { border-top: 1px solid rgba(245, 238, 226, .15); }
.jr__notice a { display: block; padding: 18px 0; font-size: 16px; line-height: 1.5; }
.jr__notice a:hover { color: #f0c993; }
.jr__notice span { display: block; font-family: var(--a08-en); font-style: italic; color: #f0c993; font-size: 14px; }

/* ===== Partners ===== */
.ptn { border-block: 1px solid var(--ailo-line); padding-block: 26px; --ailo-marquee-gap: 40px; --ailo-marquee-speed: 40s; }
.ptn span { font-family: var(--a08-kr); font-size: clamp(22px, 2.4vw, 32px); color: #8b7765; font-weight: 600; }
.ptn span:nth-child(even) { color: var(--a08-oak); font-family: var(--ailo-font); }

/* ===== Quote ===== */
.quote__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.quote__call { margin-top: 36px; display: inline-flex; gap: 16px; align-items: center; padding: 16px 24px 16px 16px; border-radius: 999px; background: var(--a08-paper); }
.quote__call i { width: 48px; height: 48px; border-radius: 50%; background: var(--a08-oak-d); color: #fff; display: grid; place-items: center; }
.quote__call small { display: block; font-size: 14px; color: var(--ailo-muted); }
.quote__call b { font-family: var(--a08-en); font-weight: 500; font-size: 24px; }
.qf { background: #fffaf2; border-radius: 28px; padding: clamp(24px, 3.4vw, 48px); border: 1px solid var(--ailo-line); box-shadow: 0 30px 60px -40px rgba(59, 42, 30, .5); display: grid; gap: 20px; }
.qf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qf__f { display: grid; gap: 6px; }
.qf__f > span, .qf__radio legend, .qf__range label { font-size: 14px; font-weight: 700; color: #4b3a2c; }
.qf__f input, .qf__f select, .qf__f textarea { width: 100%; min-width: 0; border: 1px solid rgba(46, 34, 25, .2); border-radius: 14px; background: var(--a08-cream); padding: 12px 16px; font-size: 16px; color: var(--ailo-fg); transition: border-color .2s, box-shadow .2s; }
.qf__f input, .qf__f select { height: 52px; }
.qf__f input:focus, .qf__f select:focus, .qf__f textarea:focus { outline: none; border-color: var(--a08-oak-d); box-shadow: 0 0 0 4px rgba(180, 124, 70, .18); }
.qf__radio { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.qf__radio legend { float: none; width: 100%; margin-bottom: 8px; padding: 0; line-height: 1.5; }
.qf__radio label { position: relative; }
.qf__radio input { position: absolute; opacity: 0; inset: 0; }
.qf__radio span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(46, 34, 25, .22); font-size: 14.5px; cursor: pointer; transition: all .25s; }
.qf__radio input:checked + span { background: var(--a08-leaf); border-color: var(--a08-leaf); color: #fff; }
.qf__radio input:focus-visible + span { outline: 2px solid var(--a08-oak-d); outline-offset: 2px; }
.qf__range { display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: 10px; }
.qf__range output { font-family: var(--a08-en); font-weight: 600; font-size: 22px; color: var(--a08-oak-d); }
.qf__range input { grid-column: 1 / -1; width: 100%; -webkit-appearance: none; appearance: none; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--a08-oak) var(--p, 44%), rgba(46, 34, 25, .14) var(--p, 44%)); }
.qf__range input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--a08-walnut); border: 4px solid #fffaf2; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); cursor: grab; }
.qf__range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--a08-walnut); border: 4px solid #fffaf2; }
.qf__range input:focus-visible { outline: 2px solid var(--a08-oak-d); outline-offset: 6px; }
.qf__ticks { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 14px; color: var(--ailo-muted); }
.qf__agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ailo-muted); }
.qf__agree input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--a08-oak-d); flex: none; }

/* ===== Footer ===== */
.ft { background: var(--a08-walnut-2); color: rgba(245, 238, 226, .72); padding-block: 72px 40px; font-size: 14px; }
.ft__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(245, 238, 226, .14); }
.ft__logo { display: flex; align-items: center; gap: 12px; font-family: var(--a08-kr); font-size: 28px; color: var(--a08-cream); font-weight: 600; }
.ft__logo svg { width: 40px; height: 34px; fill: none; stroke: #e3b884; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ft__slogan em { font-family: var(--a08-en); font-size: clamp(22px, 2.6vw, 36px); color: #e3b884; font-weight: 300; }
.ft__info { padding-block: 28px; display: grid; gap: 4px; }
.ft__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.ft__links { display: flex; gap: 20px; flex-wrap: wrap; }
.ft__links a:hover { color: #f0c993; }
.ft__links b { color: var(--a08-cream); }

/* ===== Responsive ===== */
@media (max-width: 1199.98px) {
  .lineup__grid { grid-template-columns: repeat(2, 1fr); }
  .jr__grid { grid-template-columns: repeat(3, 1fr); }
  .jr__notice { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
  :root { --ailo-header-h: 68px; }
  .hd__in { grid-template-columns: 1fr auto; }
  .hd__nav { display: none; }
  .hd__logo { flex-direction: row; gap: 10px; justify-self: start; }
  .hd__logo svg { width: 32px; height: 28px; }
  .hero__in, .story__grid, .quote__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; width: 100%; justify-self: center; }
  .hero__chip { left: 8px; }
  .story__img { max-width: 440px; }
  .story__values { grid-template-columns: 1fr; }
  .num__in { grid-template-columns: repeat(2, 1fr); }
  .num__in > div:nth-child(3)::before { display: none; }
  .gal__grid { grid-template-columns: repeat(2, 1fr); }
  .proc__list { grid-template-columns: 1fr; column-gap: 0; padding-left: 48px; }
  .proc__list::before { left: 9px; margin-left: 0; }
  .proc__list li:nth-child(n) { grid-column: 1; margin: 0; }
  .proc__list li:nth-child(n)::after { left: -40px; right: auto; width: 40px; }
  .proc .ailo-wrap { padding-bottom: 0; }
  .jr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .hero__title { font-size: clamp(38px, 11vw, 52px); }
  .hero__btns .wbtn { flex: 1 1 100%; }
  .hero__mini { gap: 24px; }
  .hero__leaf { right: 4px; width: 48px; height: 48px; }
  .story__stamp { right: 4px; width: 92px; height: 92px; font-size: 14px; }
  .story__stamp b { font-size: 23px; }
  .lineup__grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .line h3 { font-size: 21px; }
  .line > p:not(.line__no):not(.line__price) { font-size: 16px; }
  .gal__filter { border-radius: 18px; }
  .gal__grid { grid-auto-rows: 150px; }
  .gi--wide { grid-column: span 2; }
  .gi__cap { left: 12px; right: 12px; bottom: 10px; font-size: 14px; }
  .proc__list { padding-left: 36px; }
  .proc__list::before { width: 14px; left: 4px; }
  .proc__list li { grid-template-columns: 1fr; padding: 20px; gap: 10px; }
  .proc__list li:nth-child(n)::after { left: -33px; width: 33px; top: 28px; }
  .proc__no { width: 44px; height: 44px; font-size: 18px; }
  .jr__grid { grid-template-columns: 1fr; }
  .jr__item { display: grid; grid-template-columns: 116px 1fr; column-gap: 16px; align-items: start; }
  .jr__item figure { grid-row: 1 / 4; aspect-ratio: 1; border-radius: 16px; }
  .jr__tag { margin-top: 0; justify-self: start; }
  .jr__item h3 { font-size: 15.5px; margin-top: 6px; }
  .qf__row { grid-template-columns: 1fr; }
  .lb__body { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .house--hero img, .hero__leaf { animation: none; }
}
