/* GRAFFITO — Infinity Wall */

:root {
  --paper: #f3f1ec;
  --paper-2: #e9e6df;
  --ink: #141414;
  --ink-2: #2e2e2c;
  --muted: #6d6962;
  --line: rgba(20, 20, 20, 0.14);
  --accent: #ff4f1f;

  --on-dark: #f3f1ec;
  --on-dark-muted: #a8a49c;
  --line-dark: rgba(243, 241, 236, 0.16);

  --font-body: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-display: "Anton", "Pretendard Variable", Impact, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--accent);
  color: var(--ink);
  padding: 8px 12px;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 0;
  font: 700 15px/1 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 17px; }

.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--on-dark); }

.btn-line { border-color: currentColor; background: transparent; color: inherit; }
.btn-line:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
/* 밝은 바탕 위 보조 버튼: 호버 때 잉크색으로 채움 */
.btn-on-light { border-color: var(--line); color: var(--ink); }
.btn-on-light:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }

.btn-ink { background: var(--ink); color: var(--on-dark); }
.btn-ink:hover { background: var(--accent); color: var(--ink); }

.text-link {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}
.text-link:hover { color: var(--accent); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--on-dark);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(20, 20, 20, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  font: 400 20px/1 var(--font-display);
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--on-dark-muted); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.g-btn) {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.nav a:not(.g-btn):hover,
.nav a.is-active { opacity: 1; color: var(--accent); }

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.menu-btn i {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}
.menu-btn i:first-of-type { top: 17px; }
.menu-btn i:last-of-type { top: 25px; }
.menu-btn[aria-expanded="true"] i:first-of-type { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { top: 21px; transform: rotate(-45deg); }

/* ---------- Photo placeholders (사진 자리) ---------- */

.ph {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #2a2826;
  color: rgba(243, 241, 236, 0.62);
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 12px);
}
.ph-label {
  position: relative;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}
.ph-label small { font-weight: 500; letter-spacing: 0.02em; text-transform: none; }

.ph-portrait { background: radial-gradient(90% 80% at 50% 35%, #55524e 0%, #2b2a28 60%, #191817 100%); }


/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 21 / 9;
  min-height: 620px;
  max-height: 100vh;
  width: 100%;
  color: var(--on-dark);
  background: var(--ink);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 85% 50%; } /* 오른쪽 고리가 잘리지 않게 */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 글자가 놓이는 왼쪽·위·아래만 어둡게, 오른쪽 키 비주얼은 밝게 */
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0) 55%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0) 18%, rgba(10, 10, 10, 0) 72%, rgba(10, 10, 10, 0.6) 100%);
  pointer-events: none;
}

/* 사진 위 물감 유체 효과 (js/ghost-ether.js). 글자 아래, 사진 위 */
.hero-fluid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(56px, 7vw, 88px);
}

.kicker {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.display {
  margin-top: 10px;
  font: 400 clamp(64px, 11vw, 168px)/0.9 var(--font-display);
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.hero-lead {
  margin-top: 22px;
  max-width: 36em;
  font-size: clamp(16px, 1.4vw, 18px);
  color: rgba(243, 241, 236, 0.86);
}
.hero-lead strong { color: var(--on-dark); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Stats ---------- */

.stats { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  padding: 36px 24px 40px 0;
}
.stats-grid > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.stats dt { font-size: 14px; color: var(--on-dark-muted); }
.stats dd { font: 400 clamp(40px, 5vw, 64px)/1 var(--font-display); }
.stats dd small { font-family: var(--font-body); font-size: 0.36em; font-weight: 700; margin-left: 4px; color: var(--on-dark-muted); }

/* ---------- Sections ---------- */

.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--on-dark); }

.sec-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.sec-head h2 {
  margin-top: 12px;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.sec-lead { margin-top: 18px; font-size: 17px; color: var(--muted); }
.section-dark .sec-lead { color: var(--on-dark-muted); }

/* ---------- Full-bleed ---------- */

.bleed { position: relative; background: var(--ink); }
.bleed .ph { aspect-ratio: 16 / 9; max-height: 88vh; width: 100%; }
/* 글자가 들어간 배너: 자르지 않고 원본 비율 그대로 */
.bleed-img { display: block; width: 100%; height: auto; }

/* ---------- Process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

.steps { border-top: 1px solid var(--line-dark); }
.steps li {
  display: grid;
  grid-template-columns: 140px 1fr;
  grid-template-rows: auto auto;
  column-gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-dark);
}
.step-no {
  grid-row: span 2;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  padding-top: 4px;
}
.steps h3 { font-size: 21px; font-weight: 800; }
.steps li > p:last-child { margin-top: 4px; color: var(--on-dark-muted); font-size: 15px; }

.step-no { font-variant-numeric: tabular-nums; }

/* 작가 소개: 사진 + 약력, 스크롤해도 옆에 붙어 있다 */
.artist { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 24px; }
.portrait { max-width: 380px; }
.portrait .ph { aspect-ratio: 4 / 5; filter: grayscale(1); }
.portrait .ph img { filter: grayscale(1); }
.artist-label {
  font: 400 14px/1 var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.artist-body h3 { margin-top: 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.artist-facts { display: grid; gap: 6px; margin: 16px 0; padding: 16px 0; border-block: 1px solid var(--line-dark); }
.artist-facts li { position: relative; padding-left: 16px; font-size: 15px; font-weight: 600; }
.artist-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.artist-body > p:last-child { color: var(--on-dark-muted); font-size: 15px; }

/* ---------- Service (이런 공간에 그립니다) ---------- */

.svc-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.svc-item {
  padding: 28px 28px 32px 0;
  border-bottom: 1px solid var(--line);
}
.svc-item:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.svc-item h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.svc-item p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font: 400 26px/1 var(--font-display);
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq details p { padding: 0 44px 22px 0; color: var(--ink-2); font-size: 15px; max-width: 44em; }

/* 카카오톡 상담 버튼 (카카오 공식 노랑) */
.btn-kakao { margin-top: 24px; background: #fee500; color: #191919; border-color: #fee500; }
.btn-kakao:hover { background: #f5d900; border-color: #f5d900; }

/* ---------- Rates ---------- */

.rates {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
}
.rates th,
.rates td {
  text-align: left;
  vertical-align: baseline;
  padding: 24px 16px 24px 0;
  border-bottom: 1px solid var(--line);
}
.rates thead th {
  padding-block: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.rates tbody th { font-size: 19px; font-weight: 800; width: 30%; }
.rates td { color: var(--muted); font-size: 15px; }
.rates .rate { text-align: right; padding-right: 0; color: var(--ink); white-space: nowrap; }
.rates thead th:last-child { text-align: right; padding-right: 0; }
.rate strong { font: 400 30px/1 var(--font-display); letter-spacing: 0.01em; margin-right: 4px; }
.rate .rate-ko { font: 800 24px/1 var(--font-body); letter-spacing: -0.02em; }
.rates-note { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 112px); align-items: start; }

.contact-list { border-top: 1px solid var(--line); }
.contact-list > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list dt { font-size: 14px; color: var(--muted); }
.contact-list dd { font-weight: 700; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--accent); }

.quote-form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label { font-size: 14px; font-weight: 700; }
.field label em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin-left: 6px;
  letter-spacing: 0.04em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: 500 16px/1.5 var(--font-body);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  padding: 13px 14px;
  appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--accent); background: #fffaf7; }
.field .is-invalid { border-bottom-color: #d23c0f; background: #fff3ee; }

/* 현장 사진: 폼은 글만 보내고 사진은 카카오톡으로 받는다 (무료 폼 서비스는 파일 첨부 불가) */
.photo-kakao {
  padding: 20px;
  background: #fff;
  border: 1.5px dashed rgba(20, 20, 20, 0.3);
}
.photo-kakao .field-label { font-size: 14px; font-weight: 700; }
.photo-kakao p { max-width: 34em; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.photo-kakao .btn-kakao { margin-top: 4px; justify-self: start; }
.after-send { margin-top: -8px; justify-self: start; }
.after-send[hidden] { display: none; }

.quote-form .g-btn { justify-self: start; }
.form-note { font-size: 13px; color: var(--muted); }
.form-note.is-error { color: #c2350c; font-weight: 700; }
.form-note.is-ok { color: var(--ink); font-weight: 700; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding: 72px 0 40px;
  font-size: 15px;
}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.site-footer h4 { color: var(--on-dark); font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

.footer-bottom { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.footer-mark {
  font: 400 clamp(28px, 7.4vw, 104px)/1 var(--font-display);
  color: var(--on-dark);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 견적 폼: 개인정보 동의 · 스팸봇용 숨은 칸 ---------- */

.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.consent input.is-invalid { outline: 2px solid #d23c0f; outline-offset: 2px; }
.consent a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.consent a:hover { color: var(--accent); }

/* ---------- 개인정보처리방침 페이지 ---------- */

.legal-header { background: var(--ink); color: var(--on-dark); }
.legal-header .wrap { display: flex; align-items: center; height: var(--header-h); }
.legal { max-width: 820px; padding-block: clamp(48px, 8vw, 96px); }
.legal h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.legal-lead { margin-top: 14px; color: var(--muted); }
.legal h2 { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 19px; font-weight: 800; }
.legal p,
.legal ul { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.legal ul { display: grid; gap: 6px; padding-left: 1.2em; list-style: disc; }
.legal a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent); }
.legal-table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 14px; }
.legal-table th,
.legal-table td { padding: 12px 12px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table thead th { color: var(--muted); font-size: 13px; border-bottom: 2px solid var(--ink); }
.legal-table td:first-child { font-weight: 700; white-space: nowrap; }
.legal-back { margin-top: 48px; }
.legal-h3 { margin-top: 28px; font-size: 16px; font-weight: 800; }
.legal-table tbody th { width: 8em; font-weight: 700; white-space: nowrap; }
@media (max-width: 560px) {
  .legal-table thead { display: none; }
  .legal-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .legal-table td { display: block; padding: 2px 0; border: 0; }
}

/* 사람에게는 보이지 않게 화면 밖으로 (display:none이면 일부 봇이 건너뜀) */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats-grid > div:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
}

@media (max-width: 860px) {
  :root { --header-h: 60px; }

  .logo span { display: none; }
  .menu-btn { display: block; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--ink);
    border-top: 1px solid var(--line-dark);
    display: none;
  }
  .nav.is-open { display: flex; }
  .site-header:has(.nav.is-open) { background: var(--ink); }
  .nav a:not(.g-btn) { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line-dark); }
  .nav .g-btn { margin-top: 20px; min-height: 52px; font-size: 16px; }

  .process-grid,
  .contact-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .artist { position: static; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); align-items: start; }

  .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-item:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .svc-item:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }

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

@media (max-width: 760px) {
  .hero { aspect-ratio: 4 / 5; min-height: 600px; max-height: none; }
  .hero-media img { object-position: 76% 50%; } /* 세로 화면: 고리를 가운데 쪽으로 */
  .hero-media::after { /* 세로 화면은 글자가 아래에 있으므로 아래쪽만 어둡게 */
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0) 22%, rgba(10, 10, 10, 0.3) 48%, rgba(10, 10, 10, 0.85) 100%);
  }
  .artist { grid-template-columns: 1fr; }
  .portrait { max-width: 300px; }

  .svc-list { grid-template-columns: 1fr; }
  .svc-item,
  .svc-item:nth-child(2n) { padding: 22px 0; border-left: 0; }

  .faq summary { font-size: 16px; }

  .steps li { grid-template-columns: 1fr; }
  .step-no { grid-row: auto; padding-top: 0; margin-bottom: 4px; }

  .rates thead { display: none; }
  .rates,
  .rates tbody,
  .rates tr,
  .rates th,
  .rates td { display: block; width: 100%; }
  .rates tr { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .rates th,
  .rates td { padding: 0; border: 0; }
  .rates tbody th { width: auto; }
  .rates td { margin-top: 4px; }
  .rates .rate { text-align: left; margin-top: 12px; }

  .field-row { grid-template-columns: 1fr; }
  .quote-form .g-btn { justify-self: stretch; }

}

@media (max-width: 480px) {
  .actions > .g-btn,
  .actions > .btn { flex: 1 1 auto; min-width: 0; padding-inline: 20px; }
  .stats-grid > div { padding: 28px 12px 30px 0; }
  .stats-grid > div + div { padding-left: 16px; }
  .stats-grid > div:nth-child(3) { padding-left: 0; }
}

/* ---------- Motion ---------- */

/* 등장 애니메이션 준비 중 첫 화면 깜빡임 방지 (js/motion.js가 해제) */
html.anim .site-header,
html.anim .hero-copy,
html.anim .hero-media,
html.anim .stats-grid > div { visibility: hidden; }

.bleed { overflow: hidden; }

.btn { transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.12s ease; }
.btn:active { transform: scale(0.97); }

/* 동작 줄이기: 이동·확대는 빼고 색과 짧은 페이드만 남긴다 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active { transform: none; }
  .menu-btn i { transition: none; }
}
