:root {
  color-scheme: light;
  --bg: #f7f4ed;
  --ink: #22241e;
  --muted: #5a5d54;
  --line: #cfcec2;
  --accent: #6a4733;
  --gutter: clamp(19px, 5vw, 76px);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); word-break: keep-all; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 2px solid #b8724e; outline-offset: 4px; }
.shell { width: calc(100% - var(--gutter) * 2); max-width: 1280px; margin-inline: auto; }
.demo-notice { background: #171a18; color: #f6f2e8; font-size: 11px; }
.demo-notice .shell { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-block: 8px; }
.demo-notice a { text-decoration: underline; text-underline-offset: 3px; }
.demo-header { border-bottom: 1px solid var(--line); }
.demo-header .shell { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 69px; }
.demo-brand { font-weight: 720; font-size: clamp(20px, 3.2vw, 34px); letter-spacing: -.055em; white-space: nowrap; }
.demo-nav { display: flex; align-items: center; gap: clamp(11px, 3vw, 39px); font-size: 13px; }
.demo-nav a { padding-block: 10px; }
.demo-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.demo-hero { position: relative; }
.demo-hero h1 { font-size: clamp(41px, 7vw, 106px); line-height: 1.06; font-weight: 720; letter-spacing: -.082em; }
.demo-hero p { font-size: clamp(14px, 1.6vw, 18px); line-height: 1.75; margin-top: 16px; }
.demo-category { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 720; letter-spacing: .09em; }
.demo-button { display: inline-flex; align-items: center; gap: 15px; padding: 12px 15px; margin-top: 22px; border: 1px solid currentColor; font-size: 13px; font-weight: 650; }
.demo-button:hover { text-decoration: underline; }
.demo-content { padding-block: clamp(43px, 7vw, 100px); }
.demo-content + .demo-content { border-top: 1px solid var(--line); }
.demo-content h2 { font-size: clamp(31px, 5vw, 65px); letter-spacing: -.068em; line-height: 1.14; margin-bottom: 23px; }
.demo-content p { max-width: 660px; color: var(--muted); line-height: 1.78; }
.demo-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.demo-items article { padding: 16px; border: 1px solid var(--line); }
.demo-items h3 { font-size: 17px; margin-bottom: 7px; }
.demo-items p { font-size: 13px; }
.demo-footer { padding-block: 30px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; line-height: 1.7; }
.demo-footer .shell { display: flex; justify-content: space-between; gap: 14px; }

.demo-cafe .demo-brand { font-family: Georgia, serif; color: #583e2e; }
.demo-cafe .demo-hero { min-height: min(65vw, 620px); display: grid; align-items: center; isolation: isolate; color: #fff9ea; background: #483b30; }
.demo-cafe .demo-hero > img, .demo-cafe .demo-hero::before { position: absolute; inset: 0; height: 100%; object-fit: cover; z-index: -1; }
.demo-cafe .demo-hero::before { content: ""; z-index: 0; background: linear-gradient(90deg, #251912d9, #25191232 85%); }
.demo-cafe .demo-hero > .shell { position: relative; padding-block: 32px; }

.demo-clinic { --bg: #f8faf7; --accent: #246452; }
.demo-clinic .demo-brand { font-weight: 590; color: #245c4d; }
.demo-clinic .demo-hero .shell { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 4vw; padding-block: clamp(36px, 5vw, 76px); }
.demo-clinic .demo-hero h1 { font-size: clamp(40px, 6.1vw, 91px); color: #173d34; }
.demo-clinic .demo-category, .demo-clinic .demo-button { color: #246452; }
.demo-clinic .demo-hero img { height: clamp(270px, 41vw, 550px); object-fit: cover; border-radius: 30px 6px 6px 6px; }
.demo-clinic .demo-content:nth-of-type(2) { background: #e4ede7; }

.demo-architecture { --bg: #e9e8df; --accent: #31362e; }
.demo-architecture .demo-brand { font-weight: 850; letter-spacing: -.07em; }
.demo-architecture .demo-hero { padding-top: 31px; }
.demo-architecture .architecture-lead { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 24px; }
.demo-architecture .demo-hero h1 { font-size: clamp(40px, 6.6vw, 101px); }
.demo-architecture .demo-hero .demo-button { white-space: nowrap; }
.demo-architecture .demo-hero img { max-height: 57svh; object-fit: cover; }
.demo-architecture .demo-content:nth-of-type(2) { background: #e1e2d8; }

.demo-shop { --bg: #f2e9d8; --accent: #263d73; }
.demo-shop .demo-brand { font: italic clamp(24px, 3.8vw, 42px)/1 Georgia, serif; color: #263d73; }
.demo-shop .demo-hero .shell { display: grid; grid-template-columns: .83fr 1.17fr; gap: 4vw; align-items: center; padding-block: 34px; }
.demo-shop .demo-hero h1 { font-size: clamp(39px, 6.2vw, 92px); color: #273d73; }
.demo-shop .demo-category { color: #273d73; }
.demo-shop .demo-hero img { aspect-ratio: 1.14; object-fit: cover; }
.demo-shop .demo-button { color: #faf4e8; background: #273d73; border-color: #273d73; }
.demo-shop .demo-items article { background: #f9f5eb; }

@media (max-width: 600px) {
  .demo-header .shell { min-height: 56px; }
  .demo-nav { font-size: 11px; gap: 12px; }
  .demo-notice { font-size: 10px; }
  .demo-cafe .demo-hero { min-height: 480px; }
  .demo-clinic .demo-hero .shell, .demo-shop .demo-hero .shell { grid-template-columns: 1fr; gap: 24px; padding-block: 24px; }
  .demo-clinic .demo-hero img { height: 220px; }
  .demo-shop .demo-hero img { aspect-ratio: 1.55; }
  .demo-architecture .architecture-lead { display: block; margin-bottom: 16px; }
  .demo-architecture .demo-hero img { min-height: 220px; }
  .demo-items { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
