/* ==========================================================
   Prism Otter — "Shutter Up" theme (realistic)
   색을 바꾸고 싶으면 바로 아래 :root 의 값만 바꾸면 돼요.
   ========================================================== */
/* 사이트 안에 넣어둔 영어 글꼴 (Fraunces · Figtree, OFL 무료 글꼴) */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/fraunces-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #F3EBDD;      /* 오래된 종이 */
  --paper: #FBF7F0;
  --line: #DDD0BC;
  --brick: #9C4632;      /* 진짜 벽돌 */
  --brick-d: #74321F;
  --canvas-red: #A63A2A; /* 차양 천 */
  --green: #24453A;      /* 페인트칠한 가게 초록 */
  --green-d: #162C24;
  --gold: #D9A441;       /* 금박 간판 */
  --ink: #221D19;
  --muted: #5E5449;
  --neon: #FF5A47;

  --serif: "Fraunces", "Gowun Batang", Georgia, serif;
  --sans: "Figtree", "Pretendard Variable", Pretendard, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --gutter: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream) url("../img/textures/grain.svg");
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
}
html[lang="ko"] body { word-break: keep-all; line-height: 1.7; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0; letter-spacing: -0.01em; font-weight: 700; }
html[lang="ko"] h1, html[lang="ko"] h2 { line-height: 1.32; letter-spacing: 0; }
p { margin: 0; }

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

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Buttons (크고 누르기 쉽게) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 58px; padding: 0 1.6em; border-radius: 999px;
  font: 700 1.125rem/1.2 var(--sans); text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(2px); }
.btn-primary {
  background: linear-gradient(180deg, #B4513A, #94402D); color: #fff;
  box-shadow: 0 4px 0 var(--brick-d), 0 10px 18px -8px rgba(116, 50, 31, .6), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.btn-primary:active { box-shadow: 0 2px 0 var(--brick-d), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-primary::after, .btn-sun::after { content: "→"; font-size: 1.15em; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: rgba(255, 255, 255, .35); }
.btn-sun {
  background: linear-gradient(180deg, #F1C463, #D29A35); color: var(--ink);
  box-shadow: 0 4px 0 #9C6E1E, 0 10px 18px -8px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .45);
}

/* ---------- Awning (천 느낌의 줄무늬 차양) ---------- */
.awning {
  --a: var(--canvas-red); --b: #EFE6D6; --w: 22px;
  position: relative; height: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 35%, rgba(0, 0, 0, .22)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .1) 0, rgba(0, 0, 0, 0) 3px, rgba(0, 0, 0, 0) calc(var(--w) - 3px), rgba(0, 0, 0, .1) var(--w)),
    repeating-linear-gradient(90deg, var(--a) 0 var(--w), var(--b) var(--w) calc(var(--w) * 2));
}
.awning::after {
  --a2: color-mix(in srgb, var(--a) 82%, #000);
  --b2: color-mix(in srgb, var(--b) 86%, #000);
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: calc(var(--w) / 2);
  background:
    radial-gradient(circle at calc(var(--w) / 2) 0, var(--a2) calc(var(--w) / 2 - .5px), transparent calc(var(--w) / 2)) 0 0 / calc(var(--w) * 2) 100% repeat-x,
    radial-gradient(circle at calc(var(--w) * 1.5) 0, var(--b2) calc(var(--w) / 2 - .5px), transparent calc(var(--w) / 2)) 0 0 / calc(var(--w) * 2) 100% repeat-x;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .22));
}

/* ---------- Header ---------- */
.site-head { position: relative; z-index: 2; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 6px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 48px; }
.logo-icon { width: 46px; height: 46px; flex: 0 0 46px; }
.logo-words { display: flex; flex-direction: column; gap: 3px; }
.logo-text { font: 700 1.3rem/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.logo-tag { font: 700 .74rem/1.1 var(--sans); letter-spacing: .03em; color: var(--brick); white-space: nowrap; }
@media (min-width: 600px) {
  .logo-icon { width: 52px; height: 52px; flex-basis: 52px; }
  .logo-text { font-size: 1.45rem; }
  .logo-tag { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
  html[lang="ko"] .logo-tag { letter-spacing: .02em; }
}
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px;
  border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink);
  font: 700 1rem/1 var(--sans); cursor: pointer; white-space: nowrap;
}
.lang-btn:hover { background: #fff; }
.lang-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ---------- Hero ---------- */
.hero { padding: 36px 0 0; overflow: hidden; }
.eyebrow {
  font: 800 .9rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--brick); margin-bottom: 14px;
}
html[lang="ko"] .eyebrow { letter-spacing: .02em; font-size: .95rem; }
.hero h1 { font-size: clamp(2.3rem, 9vw, 4.5rem); max-width: 15ch; }
html[lang="ko"] .hero h1 { font-size: clamp(2rem, 8vw, 3.8rem); max-width: 14em; }
.hero mark {
  color: inherit; padding: 0 .04em;
  background: linear-gradient(transparent 60%, rgba(217, 164, 65, .5) 60%, rgba(217, 164, 65, .5) 92%, transparent 92%);
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; margin: 20px 0 28px; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: .95rem; font-weight: 600;
}
.chips li::before { content: "✓ "; color: var(--green); font-weight: 800; }
.street {
  width: calc(100% - 2 * var(--gutter)); max-width: 760px; margin: 40px auto 0; height: auto;

}

/* soft entrance (절제된 움직임) */
.hero .chips { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (min-width: 600px) {
  .hero-cta { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 960px) {
  .hero { padding-top: 64px; }
  .street { margin-top: 56px; }
}

/* ==========================================================
   2. Signature scene — storefront + shutter
   ========================================================== */
.scene {
  color: var(--cream); padding: 64px 0;
  background:
    url("../img/textures/grain.svg"),
    radial-gradient(120% 70% at 75% 0%, #2F5A4A 0%, #1E3D32 55%, #142A22 100%);
}
.eyebrow--light { color: #EBC167; }
.scene h2 { font-size: clamp(2rem, 7vw, 3.3rem); color: #fff; }
.scene-lead { color: #D3E0D7; margin-top: 14px; font-size: 1.15rem; max-width: 28em; }

.picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 26px 0 28px; }
.pick {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 88px; padding: 12px 6px; border-radius: var(--r);
  border: 2px solid rgba(243, 235, 221, .35); background: rgba(0, 0, 0, .12); color: var(--cream);
  font: 700 .98rem/1.2 var(--sans); text-align: center; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pick:hover { border-color: var(--cream); }
.pick svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pick[aria-pressed="true"] { background: var(--cream); color: var(--green); border-color: var(--cream); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .6); }

.scene-stage { width: 100%; max-width: 500px; margin: 0 auto; }

/* --- the shop --- */
.storefront {
  position: relative; border-radius: 6px 6px 0 0;
  background:
    linear-gradient(100deg, rgba(255, 236, 200, .12), rgba(255, 236, 200, 0) 45%, rgba(0, 0, 0, .28)),
    url("../img/textures/brick.svg") 0 0 / 96px 30px,
    var(--brick);
  box-shadow: 0 34px 50px -28px rgba(0, 0, 0, .75);
}

/* painted wooden sign with gold-leaf letters */
.sign-board {
  position: relative; padding: 13px 16px; text-align: center;
  background: linear-gradient(180deg, #2B2621, #15110E);
  border: 4px solid; border-color: #75593A #4E3B26 #3A2B1B #604930; border-radius: 6px 6px 0 0;
  box-shadow: inset 0 0 0 2px rgba(217, 164, 65, .3), inset 0 8px 16px rgba(0, 0, 0, .55);
}
.sign-board::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(70% 140% at 50% -30%, rgba(255, 214, 140, .32), transparent 70%);
  transition: opacity .7s ease .3s;
}
.storefront[data-state="after"] .sign-board::after { opacity: 1; }
.shop-name {
  font: 700 clamp(1.05rem, 4.8vw, 1.4rem)/1.2 var(--serif); letter-spacing: .03em;
  background: linear-gradient(180deg, #FCEBB2 0%, #E2B04E 45%, #A8741F 56%, #F0CF7A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .7));
}
.storefront[data-state="before"] .shop-name {
  background: none; color: #857D72; -webkit-text-fill-color: #857D72; filter: none;
  font-family: "Times New Roman", Times, serif; font-weight: 400;
}

/* striped canvas awning over the window */
.sf-awning {
  --a: #2E5546; --b: #EDE4D3; --w: 26px; height: 34px;
  transform-origin: top center;
  transition: transform .8s cubic-bezier(.3, 1.5, .5, 1) .25s, filter .6s ease .25s;
}
.storefront[data-state="before"] .sf-awning { transform: scaleY(.5); filter: saturate(.25) brightness(.8); transition-delay: 0s; }

.facade { position: relative; padding: 30px 16px 0; }
.facade::before { /* shadow the awning casts on the wall */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 46px; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, .42), rgba(0, 0, 0, 0));
}

.housing { /* metal box the shutter rolls into */
  position: relative; height: 20px; margin: 0 -6px; border-radius: 3px;
  background: linear-gradient(180deg, #ECECEA 0%, #B5B5B1 40%, #8B8B87 60%, #C6C6C2 100%);
  box-shadow: 0 3px 4px rgba(0, 0, 0, .35);
}
.window {
  position: relative; overflow: hidden;
  border: 9px solid; border-top-width: 5px;
  border-color: #1B362B #13281F #0F2019 #1A3329;
  background: #0E0E0E;
  transition: box-shadow .8s ease .3s;
}
.storefront[data-state="after"] .window { box-shadow: 0 0 34px rgba(255, 196, 120, .35); }
.screen { position: relative; aspect-ratio: 4 / 5; overflow: hidden; container-type: inline-size; background: #fff; }

.glass { /* reflections on the shop glass */
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0) 0 16%, rgba(255, 255, 255, .2) 21%, rgba(255, 255, 255, .04) 29%, rgba(255, 255, 255, 0) 33% 60%, rgba(255, 255, 255, .1) 63%, rgba(255, 255, 255, 0) 68%),
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 30%);
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(0, 0, 0, .35);
}

.shutter { /* corrugated steel roll-up shutter */
  position: absolute; inset: 0; z-index: 3; transform: translateY(-101%); will-change: transform;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, 0) 7%, rgba(0, 0, 0, 0) 93%, rgba(0, 0, 0, .22)),
    linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, .22)),
    repeating-linear-gradient(180deg, #8E9094 0, #CBCDD0 1.5px, #ECEDEF 4px, #BABCC0 8px, #7E8085 10px, #5D5F63 11px, #8E9094 12px);
  box-shadow: 0 8px 14px rgba(0, 0, 0, .45);
}
.shutter::after { /* heavy bottom bar */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px;
  background: linear-gradient(180deg, #A9ABAF, #EDEEF0 30%, #9A9CA0 70%, #6B6D71);
  border-top: 1px solid #55575B;
}
.shutter-handle {
  position: absolute; left: 50%; bottom: 6px; z-index: 1; width: 64px; height: 10px; margin-left: -32px; border-radius: 5px;
  background: linear-gradient(180deg, #3E4044, #6B6D71); box-shadow: inset 0 2px 2px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .5);
}

.flash {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: radial-gradient(120% 70% at 50% 0%, rgba(255, 222, 150, .85), transparent 65%);
}
.storefront.is-revealing .flash { animation: flash 1.4s ease-out both; }
@keyframes flash { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }

.sill { /* stone window sill */
  position: relative; height: 12px; margin: 0 -10px;
  background: linear-gradient(180deg, #E4DDD0, #B3AA9C 70%, #8F877A);
  box-shadow: 0 5px 6px -1px rgba(0, 0, 0, .4);
}

.state-tag { /* little paper tag on the wall */
  position: absolute; top: 9px; left: 22px; z-index: 5; transform: rotate(-3deg);
  font: 800 .75rem/1 var(--sans); letter-spacing: .12em; padding: 7px 11px; border-radius: 4px;
  background: linear-gradient(180deg, #FFFDF8, #EDE6DA); color: var(--ink);
  box-shadow: 0 3px 5px rgba(0, 0, 0, .4);
}
html[lang="ko"] .state-tag { letter-spacing: .02em; font-size: .8rem; }
.storefront[data-state="after"] .state-tag { background: linear-gradient(180deg, #F6D27E, #D9A441); }

.open-sign { /* neon sign — off before, glowing after */
  position: absolute; top: 4px; right: 22px; z-index: 5; transform: rotate(4deg);
  font: 800 .85rem/1 var(--sans); letter-spacing: .16em; padding: 8px 12px; border-radius: 9px;
  border: 2px solid #56585B; background: rgba(14, 14, 14, .88); color: #6E7073;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .45);
  transition: color .3s ease, border-color .3s ease, box-shadow .3s ease, text-shadow .3s ease;
}
.storefront[data-state="after"] .open-sign {
  color: #FFF1EC; border-color: #FF8A7A;
  text-shadow: 0 0 3px #fff, 0 0 8px var(--neon), 0 0 18px var(--neon);
  box-shadow: 0 0 6px var(--neon), 0 0 22px rgba(255, 90, 71, .55), inset 0 0 8px rgba(255, 90, 71, .45), 0 4px 8px rgba(0, 0, 0, .45);
}
.storefront.is-revealing .open-sign { animation: flicker 1s steps(1) .45s both; }
@keyframes flicker { 0% { opacity: .3; } 12% { opacity: 1; } 22% { opacity: .35; } 34% { opacity: 1; } 46% { opacity: .55; } 58%, 100% { opacity: 1; } }

.sidewalk { /* concrete sidewalk with warm light spilling out */
  position: relative; height: 30px; margin-top: 14px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, 0) 7px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0 99px, rgba(0, 0, 0, .16) 99px 100px),
    url("../img/textures/grain.svg"),
    linear-gradient(180deg, #BDB6A9, #9C9488);
  border-bottom: 6px solid #7E776C;
}
.sidewalk::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(45% 140% at 50% 0%, rgba(255, 205, 130, .55), transparent 70%);
  transition: opacity .9s ease .4s;
}
.storefront[data-state="after"] .sidewalk::after { opacity: 1; }

/* controls under the shop */
.controls { display: flex; gap: 10px; margin-top: 18px; }
.seg { flex: 1; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .3); }
.seg-btn {
  min-height: 50px; border: 0; border-radius: 999px; background: transparent; color: var(--cream);
  font: 700 1rem/1.1 var(--sans); cursor: pointer; transition: background-color .2s ease, color .2s ease;
}
.seg-btn[aria-pressed="true"] { background: var(--cream); color: var(--green); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.replay {
  display: inline-flex; align-items: center; gap: 6px; min-height: 58px; padding: 0 16px;
  border: 2px solid rgba(243, 235, 221, .5); border-radius: 999px; background: transparent; color: var(--cream);
  font: 700 1rem/1.1 var(--sans); cursor: pointer; white-space: nowrap;
}
.replay:hover { border-color: var(--cream); }
.replay svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.notes { margin-top: 16px; padding: 18px 20px; border-radius: var(--r); background: var(--paper); color: var(--ink); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .7); }
.notes h3 { font: 800 .9rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brick); margin-bottom: 6px; }
.notes[data-state="after"] h3 { color: var(--green); }
.notes ul { list-style: none; margin: 0; padding: 0; }
.notes li { position: relative; padding: 9px 0 9px 36px; border-top: 1px solid var(--line); font-size: 1.05rem; line-height: 1.45; }
.notes li:first-child { border-top: 0; }
.notes li::before {
  content: "✕"; position: absolute; left: 0; top: 9px; width: 25px; height: 25px; border-radius: 50%;
  display: grid; place-items: center; font: 800 .8rem/1 var(--sans);
  background: #F4D9D1; color: var(--brick);
}
.notes[data-state="after"] li::before { content: "✓"; background: #D4E6D9; color: var(--green); }

.scene-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 44px; text-align: center; }
.scene-cta p { font: 700 1.4rem/1.3 var(--serif); color: #fff; }
.scene-cta .btn { width: 100%; max-width: 360px; }

@media (min-width: 960px) {
  .scene { padding: 96px 0; }
  .scene-grid { display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: start; }
  .scene-intro { position: sticky; top: 40px; }
  .scene-stage { margin: 0; }
}

/* ==========================================================
   Mock websites inside the shop window
   (cqw = 창문 너비 기준 크기 → 어떤 화면에서도 비율 유지)
   ========================================================== */
.mock { position: absolute; inset: 0; overflow: hidden; line-height: 1.35; }
.mock p, .mock h3 { margin: 0; }

/* --- the OLD site --- */
.old { background: #C0C0C0; padding: 2.5cqw; font-family: "Times New Roman", Times, serif; color: #000; }
.old-page { height: 100%; overflow: hidden; padding: 3cqw; background: #fff; border: 2px outset #E5E5E5; }
.old-logo { font-size: 5.6cqw; font-weight: bold; color: #000080; text-align: center; }
.old-nav { text-align: center; font-size: 3cqw; margin: 1.5cqw 0; }
.old-link { color: #0000EE; text-decoration: underline; }
.old-welcome { font-family: "Comic Sans MS", "Comic Sans", cursive; color: #FF0000; font-size: 4.4cqw; text-align: center; margin: 2cqw 0; }
.old-row { display: flex; gap: 2.5cqw; align-items: flex-start; margin: 2cqw 0; }
.old-img {
  flex: 0 0 30cqw; height: 24cqw; display: grid; place-items: center;
  border: 2px inset #999; background: #E6E6E6; color: #888; font-size: 2.6cqw;
}
.old-text { font-size: 3cqw; }
.old-small { font-size: 2.7cqw; margin-top: 2cqw; }
.old-hr { border: 0; border-top: 2px groove #AAA; margin: 2.5cqw 0; }
.old-counter { display: inline-block; margin-top: 1.5cqw; padding: .5cqw 1.6cqw; background: #000; color: #0F0; font: 3cqw "Courier New", monospace; }
.old-foot { font-size: 2.4cqw; color: #555; margin-top: 2cqw; }
.old-tape { height: 4.5cqw; margin: 2cqw 0; background: repeating-linear-gradient(45deg, #111 0 2cqw, #FFD400 2cqw 4cqw); }
.old--reno .old-page { background: #FFFFE6; }
.old--salon .old-page { background: #FFD6F5; }
.old--salon .old-logo { color: #9900CC; font-family: "Comic Sans MS", "Comic Sans", cursive; }

/* --- the NEW site --- */
.new { display: flex; flex-direction: column; font-family: var(--sans); background: var(--n-bg); color: var(--n-ink); }
.n-nav { display: flex; justify-content: space-between; align-items: center; padding: 3.6cqw 5cqw; }
.n-logo { font: 700 5cqw/1 var(--serif); }
.n-burger {
  width: 6cqw; height: 4.2cqw;
  background:
    linear-gradient(currentColor 0 0) top / 100% .7cqw no-repeat,
    linear-gradient(currentColor 0 0) center / 100% .7cqw no-repeat,
    linear-gradient(currentColor 0 0) bottom / 100% .7cqw no-repeat;
}
.n-hero {
  position: relative; display: flex; align-items: flex-end; min-height: 64cqw; margin: 0 3.6cqw;
  border-radius: 4cqw; overflow: hidden; color: #fff;
  background: var(--n-img) center / cover no-repeat, var(--n-grad);
  box-shadow: 0 2cqw 5cqw -2cqw rgba(0, 0, 0, .35);
}
.n-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .62)); }
.n-hero-in { position: relative; padding: 5cqw; }
.n-tag { display: inline-block; padding: 1.1cqw 2.6cqw; border-radius: 99px; background: rgba(255, 255, 255, .94); color: var(--n-ink); font-size: 3cqw; font-weight: 700; }
.n-hero h3 { margin: 2.6cqw 0 3.8cqw; font: 700 7.2cqw/1.08 var(--serif); color: #fff; letter-spacing: -.01em; text-shadow: 0 .4cqw 2cqw rgba(0, 0, 0, .35); }
.n-btns { display: flex; gap: 2cqw; }
.n-btn { padding: 2.7cqw 4.4cqw; border-radius: 99px; background: var(--n-accent); color: var(--n-on); font-size: 3.5cqw; font-weight: 800; }
.n-ghost { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 .45cqw rgba(255, 255, 255, .75); }
.n-strip { display: flex; flex-wrap: wrap; gap: 2cqw; padding: 3.6cqw 3.6cqw 0; }
.n-strip span { padding: 1.7cqw 3cqw; border-radius: 99px; background: var(--n-soft); font-size: 3cqw; font-weight: 700; }
.n-open::before { content: ""; display: inline-block; width: 2cqw; height: 2cqw; margin-right: 1.2cqw; border-radius: 50%; background: #2DB36B; vertical-align: .1cqw; }
.n-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6cqw; padding: 3.6cqw; }
.n-card { overflow: hidden; border-radius: 3cqw; background: #fff; box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .1); font-size: 2.9cqw; line-height: 1.25; }
.n-card i { display: block; aspect-ratio: 1; background: var(--n-grad2); }
.n-card:nth-child(2) i { filter: hue-rotate(18deg) brightness(1.05); }
.n-card:nth-child(3) i { filter: hue-rotate(-16deg) brightness(.95); }
.n-card b { display: block; padding: 1.8cqw 2cqw 0; }
.n-card small { display: block; padding: .4cqw 2cqw 2.2cqw; color: var(--n-muted); font-size: 2.6cqw; }

/* placeholder "photos" use soft light + shadow until real photos are added */
.new--food {
  --n-bg: #FFF6EC; --n-ink: #2A1A12; --n-accent: #D0452A; --n-on: #fff; --n-soft: #FBE3CF; --n-muted: #8A6A58;
  --n-grad: radial-gradient(45% 40% at 72% 30%, rgba(255, 226, 160, .75), transparent 70%), radial-gradient(60% 50% at 20% 80%, rgba(60, 18, 6, .55), transparent 70%), linear-gradient(140deg, #5E1F12, #B9572A 55%, #E7B565);
  --n-grad2: radial-gradient(50% 45% at 40% 40%, rgba(255, 240, 210, .7), transparent 70%), linear-gradient(140deg, #E7A46B, #9E4626);
}
.new--reno {
  --n-bg: #F1F3F5; --n-ink: #14202B; --n-accent: #F28C28; --n-on: #14202B; --n-soft: #DCE4EB; --n-muted: #5C6B78;
  --n-grad: radial-gradient(50% 45% at 78% 22%, rgba(255, 244, 220, .6), transparent 70%), radial-gradient(70% 60% at 15% 90%, rgba(5, 15, 25, .6), transparent 70%), linear-gradient(140deg, #16283A, #3F6079 55%, #C2AE8E);
  --n-grad2: radial-gradient(50% 45% at 65% 30%, rgba(255, 255, 255, .6), transparent 70%), linear-gradient(140deg, #B9C7D2, #55697B);
}
.new--reno .n-hero h3 { font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; }
.new--reno .n-logo { font-family: var(--sans); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 4.2cqw; }
.new--salon {
  --n-bg: #FBF1EF; --n-ink: #3A1F2B; --n-accent: #3A1F2B; --n-on: #fff; --n-soft: #F3D9D5; --n-muted: #8C6A72;
  --n-grad: radial-gradient(45% 40% at 70% 28%, rgba(255, 232, 225, .7), transparent 70%), radial-gradient(60% 55% at 18% 85%, rgba(50, 15, 30, .55), transparent 70%), linear-gradient(140deg, #5A2640, #B8728A 55%, #EBC9BD);
  --n-grad2: radial-gradient(50% 45% at 40% 35%, rgba(255, 245, 240, .7), transparent 70%), linear-gradient(140deg, #F0C4BC, #A9607A);
}

/* ==========================================================
   3~8. 나머지 섹션 (서비스 · 포트폴리오 · 과정 · 소개 · 문의 · 맨 아래)
   ========================================================== */
.section { position: relative; padding: 72px 0; }
.sec-head { max-width: 40em; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(2rem, 7vw, 3.1rem); }
.sec-lead { margin-top: 14px; font-size: 1.15rem; color: var(--muted); }
@media (min-width: 960px) {
  .section { padding: 104px 0; }
  .sec-head { margin-bottom: 48px; }
}

/* 스크롤하면 살짝 나타나기 (JS가 켜져 있고, 움직임 줄이기가 꺼져 있을 때만) */
.can-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.can-reveal .reveal.is-in { opacity: 1; transform: none; }
.can-reveal .svc-grid > :nth-child(2), .can-reveal .work-grid > :nth-child(2), .can-reveal .steps > :nth-child(2) { transition-delay: .08s; }
.can-reveal .svc-grid > :nth-child(3), .can-reveal .work-grid > :nth-child(3), .can-reveal .steps > :nth-child(3) { transition-delay: .16s; }
.can-reveal .svc-grid > :nth-child(4), .can-reveal .work-grid > :nth-child(4), .can-reveal .steps > :nth-child(4) { transition-delay: .24s; }

/* ---------- 3. Services: paper signs with little awnings ---------- */
.svc-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc-card {
  display: flex; flex-direction: column; border-radius: 6px 6px var(--r) var(--r);
  background: linear-gradient(180deg, #FFFDF8, #F6EFE3);
  box-shadow: 0 0 0 1px rgba(120, 90, 60, .14), 0 20px 32px -22px rgba(60, 40, 20, .55);
}
.svc-awning { --w: 16px; height: 20px; border-radius: 6px 6px 0 0; }
.svc-card:nth-child(2) .svc-awning { --a: #2E5546; }
.svc-card:nth-child(3) .svc-awning { --a: #B98A2E; }
.svc-card:nth-child(4) .svc-awning { --a: #B06A74; }
.svc-body { flex: 1; display: flex; flex-direction: column; padding: 30px 22px 22px; }
.svc-icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; border-radius: 50%;
  background: linear-gradient(160deg, #2F5A4B, var(--green-d)); color: #F2CF7C;
  box-shadow: inset 0 0 0 2px rgba(217, 164, 65, .5), 0 5px 10px -3px rgba(0, 0, 0, .35);
}
.svc-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.svc-card h3 { font-size: 1.5rem; }
.svc-price {
  align-self: flex-start; margin-top: 12px; padding: 5px 12px; border-radius: 6px;
  font-weight: 800; font-size: 1.02rem; color: var(--brick-d);
  background: #F4E3C6; border: 1.5px dashed rgba(116, 50, 31, .35);
}
.svc-desc { flex: 1; margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.svc-get { margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: #E5EEE7; color: var(--green-d); font-weight: 700; line-height: 1.45; }
.svc-get strong { display: block; margin-bottom: 4px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
html[lang="ko"] .svc-get strong { letter-spacing: .02em; font-size: .85rem; }

/* ---------- 4. Work ---------- */
.work { background: #E9DECA url("../img/textures/grain.svg"); border-top: 1px solid #D8CAB2; border-bottom: 1px solid #D8CAB2; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter {
  flex: 0 0 auto; min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font: 700 1rem/1 var(--sans); cursor: pointer; transition: background-color .2s ease, color .2s ease;
}
.filter:hover { background: rgba(255, 255, 255, .5); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--cream); }

.work-grid { display: grid; gap: 22px; }
@media (min-width: 680px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: var(--paper);
  box-shadow: 0 0 0 1px rgba(120, 90, 60, .14), 0 22px 34px -24px rgba(60, 40, 20, .6);
}
.work-card[hidden] { display: none; }
.work-thumb {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; container-type: inline-size;
  background: linear-gradient(160deg, #D8CBB4, #BBAA8F); border-bottom: 1px solid var(--line);
}
.work-thumb img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-thumb--mock { background: #fff; }
.work-thumb--mock .mock { pointer-events: none; }
.work-thumb--mock::after { /* glass shine, like the shop window */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 0 55%, rgba(255, 255, 255, .16) 60%, rgba(255, 255, 255, 0) 68%);
}
.thumb-ph {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center;
  color: #6B5F51; font-weight: 700; font-size: .95rem;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .16) 0 12px, rgba(255, 255, 255, 0) 12px 24px);
}
.work-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 6px 10px; border-radius: 999px; background: #EFE6D6; color: var(--muted);
  font: 800 .78rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
}
html[lang="ko"] .tag { letter-spacing: 0; font-size: .85rem; }
.tag--real { background: var(--green); color: #F2CF7C; }
.tag--concept { background: #fff; color: var(--brick-d); box-shadow: inset 0 0 0 1.5px var(--brick); }
.work-card h3 { font-size: 1.45rem; }
.work-solved { color: var(--muted); font-size: 1.05rem; }
.work-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  min-height: 50px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--ink);
  background: transparent; color: var(--ink); font: 700 1rem/1.1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.work-link:hover { background: var(--ink); color: var(--cream); }
.work-note { margin-top: 24px; font-size: .98rem; color: var(--muted); }

/* ---------- 5. How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-bottom: 30px; }
.step:not(:last-child)::before { /* dashed path between steps */
  content: ""; position: absolute; left: 27px; top: 62px; bottom: 6px; border-left: 2px dashed rgba(34, 29, 25, .28);
}
.step-num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  font: 700 1.5rem/1 var(--serif); color: #F6D88E;
  background: linear-gradient(160deg, #B4513A, #7A3423);
  box-shadow: inset 0 0 0 3px rgba(242, 207, 124, .5), 0 8px 14px -6px rgba(0, 0, 0, .45);
}
.step-num--open { background: linear-gradient(160deg, #2F5A4B, var(--green-d)); }
.step h3 { margin-top: 6px; font-size: 1.35rem; }
.step p { margin-top: 6px; color: var(--muted); }
.step-time {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 12px; border-radius: 999px;
  background: var(--paper); border: 1.5px solid var(--line); color: var(--green); font-weight: 800; font-size: .95rem;
}
.step-time svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.process-note {
  margin-top: 8px; padding: 16px 20px; border-radius: var(--r);
  background: #E5EEE7; color: var(--green-d); font-weight: 700;
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .step { grid-template-columns: 1fr; gap: 14px; padding-bottom: 0; }
  .step:not(:last-child)::before { left: 72px; right: -16px; top: 27px; bottom: auto; border-left: 0; border-top: 2px dashed rgba(34, 29, 25, .28); }
  .process-note { margin-top: 40px; }
}

/* ---------- 6. About: a framed photo and a note on the brick wall ---------- */
.about {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 50px),
    linear-gradient(100deg, rgba(255, 236, 200, .1), rgba(255, 236, 200, 0) 45%, rgba(0, 0, 0, .28)),
    url("../img/textures/brick.svg") 0 0 / 96px 30px,
    var(--brick);
}
.about-grid { display: grid; gap: 32px; align-items: center; }
.about-card { max-width: 760px; margin: 0 auto; }
.about-photo { width: 100%; max-width: 300px; margin: 0; justify-self: center; }
.frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; transform: rotate(-2deg);
  border: 12px solid; border-color: #7A5C3C #5A4229 #47331F #6A4F33;
  background: linear-gradient(160deg, #D8CBB4, #BBAA8F);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .25), 0 26px 32px -16px rgba(0, 0, 0, .65);
}
.frame img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.about-card {
  padding: 30px 24px; border-radius: var(--r);
  background: linear-gradient(180deg, #FFFDF8, #F5EDE0);
  box-shadow: 0 26px 44px -22px rgba(0, 0, 0, .7);
}
.about-card h2 { font-size: clamp(1.9rem, 6.5vw, 2.8rem); }
.about-body { margin-top: 16px; }
.about-body p { font-size: 1.12rem; }
.about-body p + p { margin-top: 14px; }
.about-points { list-style: none; display: grid; gap: 10px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.about-points li { position: relative; padding-left: 34px; font-weight: 700; }
.about-points li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font: 800 .8rem/1 var(--sans); background: #D4E6D9; color: var(--green);
}
@media (min-width: 880px) { .about-card { padding: 40px 40px; } }

/* ---------- 7. Contact ---------- */
.contact {
  color: var(--cream);
  background:
    url("../img/textures/grain.svg"),
    radial-gradient(120% 70% at 20% 0%, #2F5A4A 0%, #1E3D32 55%, #142A22 100%);
}
.contact h2 { font-size: clamp(2rem, 7vw, 3.1rem); color: #fff; }
.contact .sec-lead { color: #D3E0D7; }
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; } }
.reply-note {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 10px 16px; border-radius: 999px;
  background: rgba(0, 0, 0, .25); color: #F2CF7C; font-weight: 700;
}
.reply-note svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.contact-list { list-style: none; display: grid; gap: 10px; margin: 24px 0 0; padding: 0; }
.contact-list a {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 18px; border-radius: var(--r);
  background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(243, 235, 221, .25);
  color: #fff; font-weight: 700; text-decoration: none; overflow-wrap: anywhere;
  transition: border-color .2s ease, background-color .2s ease;
}
.contact-list a:hover { border-color: var(--cream); background: rgba(255, 255, 255, .1); }
.contact-list small { display: block; color: #B9CBBF; font-size: .82rem; font-weight: 600; }
.contact-list svg { width: 24px; height: 24px; flex: 0 0 24px; fill: none; stroke: #EBC167; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.contact-form {
  position: relative; overflow: hidden; border-radius: 6px 6px var(--r) var(--r); color: var(--ink);
  background: linear-gradient(180deg, #FFFDF8, #F5EDE0);
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .75);
}
.form-awning { --w: 18px; height: 22px; }
.form-body { padding: 34px 20px 24px; }
@media (min-width: 600px) { .form-body { padding: 38px 32px 30px; } }
.form-title { font-size: 1.6rem; margin-bottom: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 800; font-size: 1.02rem; }
.field .opt, .field .hint { font-weight: 500; color: var(--muted); font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; min-height: 56px; padding: 12px 14px; border-radius: 10px;
  border: 2px solid #CDBFA8; background: #fff; color: var(--ink);
  font: 400 1.0625rem/1.4 var(--sans); /* 16px 이상 → 아이폰에서 확대되지 않음 */
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { min-height: 128px; resize: vertical; }
.contact-form select {
  appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23221D19' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 20px;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(36, 69, 58, .18);
}
.contact-form ::placeholder { color: #9A8F82; }
.btn-block { width: 100%; margin-top: 6px; }
.btn[disabled] { opacity: .65; cursor: wait; }
.form-status { min-height: 1.5em; margin-top: 12px; font-weight: 700; }
.form-status.is-ok { color: var(--green); }
.form-status.is-err { color: var(--brick); }
.form-privacy { margin-top: 4px; font-size: .9rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- 8. Footer ---------- */
.site-foot { background: #1A1613 url("../img/textures/grain.svg"); color: #CFC5B6; padding-bottom: 32px; }
.foot-awning { --a: var(--canvas-red); }
.foot-in { display: grid; gap: 22px; padding-top: 52px; }
.logo--light { color: #fff; --po-fur: #B4583F; --po-b1: #EBC167; --po-b3: #8CC2A6; }
.logo--light .logo-tag { color: #EBC167; }
.foot-tag { margin-top: 8px; color: #A79C8F; }
.foot-links { list-style: none; display: grid; gap: 2px; margin: 0; padding: 0; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: #F2CF7C; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.foot-links a:hover { text-decoration: underline; }
.foot-copy { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); color: #8F857A; font-size: .92rem; }
@media (min-width: 800px) {
  .foot-in { grid-template-columns: 1fr auto; align-items: start; }
  .foot-copy { grid-column: 1 / -1; }
}

/* ==========================================================
   움직임 줄이기 설정을 켠 사람: 애니메이션 끄기
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
}
