/* ATELIER Color (V8) — Color palette + paint splash + canvas
 * Distinct: Vibrant 12-color rotating palette, paint stroke cursor effect, raw canvas texture
 */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,700;12..96,900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&family=Noto+Sans+KR:wght@400;500;700&display=swap');

:root {
  --canvas: #f4ecd8;        /* raw canvas */
  --canvas-deep: #e8dcc4;
  --paper: #fffbf5;
  --ink: #1a1a1a;
  --grey: #5a5550;
  --line: rgba(26,26,26,0.12);
  --c1: #d92d2d;  /* cadmium red */
  --c2: #1a3e8c;  /* ultramarine */
  --c3: #f4c430;  /* saffron */
  --c4: #3d8a4f;  /* viridian */
  --c5: #5b3a8c;  /* dioxazine */

  --display: 'Bricolage Grotesque', 'Noto Sans KR', sans-serif;
  --sans: 'Inter', 'Noto Sans KR', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --max-w: 1280px;
  --gutter: 32px;

  --z-banner: 120;
  --z-nav: 80;
  --z-burger: 100;
  --z-drawer: 110;
  --banner-h: 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* canvas texture */
  background-image:
    repeating-linear-gradient(45deg, transparent 0px, transparent 4px, rgba(26,26,26,0.025) 4px, rgba(26,26,26,0.025) 5px),
    repeating-linear-gradient(135deg, transparent 0px, transparent 4px, rgba(26,26,26,0.02) 4px, rgba(26,26,26,0.02) 5px);
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><circle cx='14' cy='14' r='6' fill='%23d92d2d' opacity='0.5'/></svg>") 14 14, auto;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 2px solid var(--ink); border-radius: 0;
  padding: 14px 16px; font-size: 16px; width: 100%;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c1); box-shadow: 0 0 0 3px rgba(217,45,45,0.18); }

/* Banner */
.demo-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-banner);
  background: var(--ink); color: var(--paper);
  padding: 8px 16px; text-align: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  border-bottom: 4px solid var(--c1);
}
.demo-banner a { color: var(--c3); border-bottom: 1px dotted currentColor; }
body.has-banner { padding-top: var(--banner-h); }

/* PC top bar — paint smear underline */
.nav-bar {
  position: fixed; top: var(--banner-h); left: 0; right: 0; z-index: var(--z-nav);
  background: var(--paper);
  padding: 18px 32px;
  display: flex; align-items: center; gap: 28px;
  border-bottom: 1px solid var(--ink);
  position: fixed;
}
.nav-bar::after {
  content: ''; position: absolute; bottom: -8px; left: 0; right: 0; height: 8px;
  background: linear-gradient(90deg, var(--c1) 0%, var(--c1) 20%, var(--c2) 20%, var(--c2) 40%, var(--c3) 40%, var(--c3) 60%, var(--c4) 60%, var(--c4) 80%, var(--c5) 80%, var(--c5) 100%);
  filter: blur(0.5px);
}
.nav-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--ink);
  padding-right: 24px; border-right: 1px solid var(--line); letter-spacing: -0.02em;
}
.nav-brand-splash {
  width: 18px; height: 18px;
  background:
    radial-gradient(circle at 30% 30%, var(--c1) 30%, transparent 31%),
    radial-gradient(circle at 70% 60%, var(--c2) 25%, transparent 26%),
    radial-gradient(circle at 40% 80%, var(--c3) 22%, transparent 23%);
  background-color: var(--c4);
  border-radius: 50%;
}
.nav-bar .nav-link {
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  color: var(--ink); padding: 6px 4px; position: relative;
  transition: color .2s;
}
.nav-bar .nav-link::before {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 4px;
  background: var(--c1); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-bar .nav-link:hover, .nav-bar .nav-link.active { color: var(--c1); }
.nav-bar .nav-link:hover::before, .nav-bar .nav-link.active::before { transform: scaleX(1); }
.nav-bar .nav-cta {
  margin-left: auto;
  background: var(--ink); color: var(--paper) !important;
  padding: 12px 24px; font-family: var(--display); font-weight: 700; font-size: 16px;
  border: 0; transition: background .2s; letter-spacing: 0.02em;
}
.nav-bar .nav-cta:hover { background: var(--c1); }
.nav-bar .nav-user { display: inline-flex; gap: 14px; padding-left: 16px; border-left: 1px solid var(--line); align-items: center; }
.nav-bar .nav-user-link { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--grey); text-transform: uppercase; font-weight: 700; }
.nav-bar .nav-user-link:hover { color: var(--c1); }
.nav-bar .nav-user-cta { color: var(--c1); }
body.has-banner main { padding-top: calc(var(--banner-h) + 78px); }

/* Mobile burger */
.nav-burger {
  display: none; position: fixed;
  top: calc(var(--banner-h) + 14px); right: 16px; z-index: var(--z-burger);
  width: 52px; height: 52px;
  background: var(--c1); color: var(--paper);
  border: 3px solid var(--ink);
  font-family: var(--display); font-size: 22px; font-weight: 700;
  align-items: center; justify-content: center;
  box-shadow: 4px 4px 0 var(--c3);
}

/* Drawer */
.drawer {
  position: fixed; top: 0; right: 0;
  width: min(320px, 88vw); height: 100vh; height: 100dvh;
  background: var(--paper);
  border-left: 6px solid var(--c1);
  z-index: var(--z-drawer);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  padding: 80px 28px 28px;
  display: flex; flex-direction: column; gap: 14px;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(26,26,26,0.6); z-index: calc(var(--z-drawer) - 1); opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-backdrop.show { opacity: 1; pointer-events: auto; }
.drawer-close {
  position: absolute; top: 24px; right: 24px;
  width: 52px; height: 52px;
  background: var(--c1); color: var(--paper);
  border: 3px solid var(--ink);
  font-family: var(--display); font-size: 28px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background .2s, transform .2s;
}
body.has-banner .drawer-close { top: calc(var(--banner-h) + 24px); }
.drawer-close:hover { background: var(--ink); transform: rotate(90deg); }
.drawer a { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); padding: 12px 0; border-bottom: 2px solid var(--line); }
.drawer a:hover { color: var(--c1); }
.drawer .drawer-divider { width: 60%; height: 4px; background: linear-gradient(90deg, var(--c1) 0%, var(--c2) 33%, var(--c3) 66%, var(--c4) 100%); margin: 16px auto; border: 0; }
.drawer .drawer-user-link { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; color: var(--c1) !important; text-transform: uppercase; font-weight: 700; }

body.drawer-open .nav-bar, body.drawer-open .nav-burger { display: none !important; }
body.drawer-open { overflow: hidden; }

/* Section base */
.section { padding: 100px var(--gutter) 80px; }
.container { max-width: var(--max-w); margin: 0 auto; }
.sec-eyebrow {
  display: inline-block; padding: 6px 14px;
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; margin-bottom: 16px; font-weight: 700;
}
.sec-title { font-family: var(--display); font-size: clamp(44px, 6vw, 72px); color: var(--ink); line-height: 1.0; margin-bottom: 18px; font-weight: 700; letter-spacing: -0.025em; }
.sec-title .pop { background: linear-gradient(120deg, var(--c1) 0%, var(--c5) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-sub { font-family: var(--sans); font-size: 18px; color: var(--grey); margin-bottom: 40px; max-width: 720px; line-height: 1.6; }

/* Hero — paint splash hero */
#hero { padding: 130px var(--gutter) 100px; background: var(--canvas); position: relative; overflow: hidden; }
.hero-splash {
  position: absolute; pointer-events: none; z-index: 0;
}
.hero-splash-1 { top: 5%; right: 8%; width: 200px; height: 200px; background: var(--c1); border-radius: 50% 30% 70% 40%; opacity: 0.18; filter: blur(2px); animation: splash-drift 12s ease-in-out infinite; }
.hero-splash-2 { bottom: 10%; left: 5%; width: 280px; height: 280px; background: var(--c2); border-radius: 30% 70% 40% 60%; opacity: 0.15; filter: blur(3px); animation: splash-drift 14s ease-in-out infinite reverse; }
.hero-splash-3 { top: 40%; left: 40%; width: 160px; height: 160px; background: var(--c3); border-radius: 60% 40% 30% 70%; opacity: 0.12; filter: blur(2px); animation: splash-drift 18s ease-in-out infinite; }
@keyframes splash-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(20px, -20px) scale(1.1); }
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.hero-eyebrow { display: inline-block; padding: 6px 14px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; margin-bottom: 24px; font-weight: 700; }
.hero-title { font-family: var(--display); font-size: clamp(56px, 8vw, 116px); color: var(--ink); line-height: 0.95; margin-bottom: 28px; letter-spacing: -0.035em; font-weight: 800; white-space: pre-line; }
.hero-title .pop { background: linear-gradient(120deg, var(--c1) 0%, var(--c5) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-family: var(--sans); font-size: 19px; color: var(--grey); margin-bottom: 36px; max-width: 480px; line-height: 1.65; }
.hero-meta { display: flex; gap: 24px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: var(--ink); border-top: 4px solid var(--c1); padding-top: 18px; max-width: 480px; }
.hero-meta span { font-weight: 700; }
.hero-img-wrap {
  position: relative;
  border: 8px solid var(--ink);
  background: var(--ink);
  transform: rotate(-2deg);
  box-shadow: 12px 12px 0 var(--c1);
  transition: transform .4s, box-shadow .4s;
}
.hero-img-wrap:hover { transform: rotate(0); box-shadow: 16px 16px 0 var(--c5); }
.hero-img-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hero-stamp {
  position: absolute; top: -22px; right: -22px;
  width: 92px; height: 92px;
  background: var(--c3); color: var(--ink);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 28px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  transform: rotate(-12deg);
  box-shadow: 4px 4px 0 var(--c1);
}
.hero-stamp small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; }

/* About */
#about .about-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 28px; }
.about-pillar { padding: 32px 24px; background: var(--paper); border: 2px solid var(--ink); position: relative; transition: transform .25s, box-shadow .25s; }
.about-pillar:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--c1); }
.about-pillar-num { font-family: var(--display); font-size: 64px; line-height: 1; margin-bottom: 14px; font-weight: 800; }
.about-pillar:nth-child(1) .about-pillar-num { color: var(--c1); }
.about-pillar:nth-child(2) .about-pillar-num { color: var(--c2); }
.about-pillar:nth-child(3) .about-pillar-num { color: var(--c3); }
.about-pillar:nth-child(4) .about-pillar-num { color: var(--c4); }
.about-pillar h3 { font-family: var(--display); font-size: 22px; color: var(--ink); margin-bottom: 12px; font-weight: 700; }
.about-pillar p { font-family: var(--sans); font-size: 14px; color: var(--grey); line-height: 1.6; }

/* Palette — signature 1 (12 color carousel) */
#palette { background: var(--paper); }
.palette-strip {
  margin-top: 32px;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0;
  border: 4px solid var(--ink);
  height: 320px;
  overflow-x: auto;
}
.palette-cell {
  position: relative; cursor: pointer;
  transition: flex .35s ease;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px 16px;
  color: var(--paper);
  border-right: 4px solid var(--ink);
  font-family: var(--display);
}
.palette-cell:last-child { border-right: 0; }
.palette-cell:hover { flex: 3; }
.palette-cell .name { font-size: 18px; font-weight: 700; margin-bottom: 4px; line-height: 1.1; opacity: 0; transition: opacity .25s .15s; }
.palette-cell .cn { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; opacity: 0; transition: opacity .25s .15s; }
.palette-cell .hex { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; opacity: 0; margin-top: 8px; transition: opacity .25s .15s; }
.palette-cell:hover .name, .palette-cell:hover .cn, .palette-cell:hover .hex { opacity: 1; }
.palette-cell.dark { color: var(--paper); }
.palette-cell.light { color: var(--ink); }

/* Teachers */
#teachers .teacher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.teacher-card { background: var(--paper); border: 3px solid var(--ink); position: relative; transition: transform .25s, box-shadow .25s; }
.teacher-card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--c2); }
.teacher-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-bottom: 3px solid var(--ink); filter: contrast(1.05); }
.teacher-body { padding: 22px 20px; }
.teacher-medium { display: inline-block; padding: 4px 10px; background: var(--c1); color: var(--paper); font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; font-weight: 700; }
.teacher-name { font-family: var(--display); font-size: 24px; color: var(--ink); margin-bottom: 4px; font-weight: 700; }
.teacher-role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--grey); text-transform: uppercase; margin-bottom: 12px; font-weight: 700; }
.teacher-qual { font-family: var(--sans); font-size: 13px; color: var(--grey); line-height: 1.6; }

/* Programs */
#programs .programs-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.program-card { background: var(--paper); padding: 28px 20px; border: 2px solid var(--ink); position: relative; transition: background .25s; }
.program-card:nth-child(1) { border-top: 8px solid var(--c1); }
.program-card:nth-child(2) { border-top: 8px solid var(--c2); }
.program-card:nth-child(3) { border-top: 8px solid var(--c3); }
.program-card:nth-child(4) { border-top: 8px solid var(--c4); }
.program-card:nth-child(5) { border-top: 8px solid var(--c5); }
.program-card:hover { background: var(--canvas); }
.program-num { font-family: var(--display); font-weight: 800; font-size: 36px; color: var(--ink); margin-bottom: 14px; line-height: 1; }
.program-name { font-family: var(--display); font-size: 22px; color: var(--ink); margin-bottom: 10px; font-weight: 700; }
.program-desc { font-family: var(--sans); font-size: 13px; color: var(--grey); margin-bottom: 18px; line-height: 1.55; }
.program-meta { padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10px; color: var(--grey); letter-spacing: 0.12em; }
.program-meta div { padding: 3px 0; display: flex; justify-content: space-between; }
.program-meta strong { color: var(--c1); font-family: var(--display); font-size: 14px; font-weight: 700; }

/* Schedule */
#schedule .schedule-table { width: 100%; border: 3px solid var(--ink); background: var(--paper); font-family: var(--mono); font-size: 12px; }
.schedule-table th { background: var(--ink); color: var(--paper); padding: 12px; text-align: left; font-weight: 700; letter-spacing: 0.1em; }
.schedule-table td { padding: 10px 12px; border-top: 1px solid var(--line); border-right: 1px dashed var(--line); }
.schedule-pill { display: inline-block; padding: 3px 10px; color: var(--paper); font-size: 10px; letter-spacing: 0.1em; font-weight: 700; }
.schedule-pill.c1 { background: var(--c1); }
.schedule-pill.c2 { background: var(--c2); }
.schedule-pill.c3 { background: var(--c3); color: var(--ink); }
.schedule-pill.c4 { background: var(--c4); }
.schedule-pill.c5 { background: var(--c5); }

/* Alumni */
#alumni .alumni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.alumni-card { background: var(--paper); border: 2px solid var(--ink); position: relative; transition: transform .2s; }
.alumni-card:hover { transform: translateY(-6px); }
.alumni-card:nth-child(odd) .alumni-paint { background: var(--c1); }
.alumni-card:nth-child(even) .alumni-paint { background: var(--c2); }
.alumni-paint {
  position: absolute; top: -8px; right: -8px;
  width: 56px; height: 56px;
  border: 3px solid var(--ink);
  border-radius: 50% 30% 70% 40%;
}
.alumni-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: contrast(1.05); border-bottom: 2px solid var(--ink); }
.alumni-body { padding: 22px 20px; }
.alumni-name { font-family: var(--display); font-size: 22px; color: var(--ink); margin-bottom: 4px; font-weight: 700; }
.alumni-career { font-family: var(--sans); font-weight: 700; font-size: 14px; color: var(--c1); margin-bottom: 12px; }
.alumni-quote { font-family: var(--sans); font-size: 13px; color: var(--grey); border-left: 3px solid var(--c1); padding-left: 12px; line-height: 1.55; }
.alumni-year { position: absolute; bottom: 12px; right: 12px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 10px; padding: 4px 8px; letter-spacing: 0.1em; }

/* Press */
#press .press-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.press-card { background: var(--paper); border: 2px solid var(--ink); border-left: 8px solid var(--c1); padding: 28px 32px; }
.press-card:nth-child(2) { border-left-color: var(--c2); }
.press-card:nth-child(3) { border-left-color: var(--c3); }
.press-card:nth-child(4) { border-left-color: var(--c5); }
.press-quote { font-family: var(--display); font-size: 22px; color: var(--ink); line-height: 1.4; margin-bottom: 14px; font-weight: 600; }
.press-quote::before { content: '"'; font-family: var(--display); font-size: 56px; color: var(--c1); line-height: 0; position: relative; top: 16px; margin-right: 4px; font-weight: 800; }
.press-source { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--grey); text-transform: uppercase; font-weight: 700; }

/* Studio */
#studio .studio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.studio-card { border: 3px solid var(--ink); position: relative; overflow: hidden; }
.studio-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s; }
.studio-card:hover img { transform: scale(1.05); }
.studio-label { position: absolute; bottom: 0; left: 0; right: 0; background: var(--ink); color: var(--paper); padding: 10px 14px; font-family: var(--display); font-size: 16px; font-weight: 700; }

/* Process */
#process .process-list { display: grid; gap: 0; max-width: 760px; }
.process-step { display: grid; grid-template-columns: 80px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process-step:last-child { border-bottom: 0; }
.process-num {
  width: 64px; height: 64px;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 22px;
}
.process-step:nth-child(1) .process-num { background: var(--c1); }
.process-step:nth-child(2) .process-num { background: var(--c2); }
.process-step:nth-child(3) .process-num { background: var(--c3); color: var(--ink); }
.process-step:nth-child(4) .process-num { background: var(--c4); }
.process-step:nth-child(5) .process-num { background: var(--c5); }
.process-content h4 { font-family: var(--display); font-size: 24px; color: var(--ink); margin-bottom: 8px; font-weight: 700; }
.process-content p { font-family: var(--sans); font-size: 16px; color: var(--grey); line-height: 1.65; }

/* Stats */
#stats { background: var(--ink); color: var(--paper); }
#stats .sec-eyebrow { background: var(--paper); color: var(--ink); }
#stats .sec-title { color: var(--paper); }
#stats .sec-sub { color: rgba(255,251,245,0.7); }
#stats .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.stat-cell { text-align: center; padding: 36px 24px; border: 3px solid var(--paper); }
.stat-cell:nth-child(1) { border-color: var(--c1); }
.stat-cell:nth-child(2) { border-color: var(--c3); }
.stat-cell:nth-child(3) { border-color: var(--c4); }
.stat-num { font-family: var(--display); font-weight: 800; font-size: 96px; color: var(--c3); line-height: 1; }
.stat-cell:nth-child(1) .stat-num { color: var(--c1); }
.stat-cell:nth-child(3) .stat-num { color: var(--c4); }
.stat-suffix { font-size: 36px; color: var(--paper); margin-left: 4px; }
.stat-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--paper); margin-top: 12px; text-transform: uppercase; font-weight: 700; }

/* CTA */
#cta { background: var(--canvas-deep); }
.cta-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.cta-form { display: grid; gap: 14px; }
.cta-form label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--c1); text-transform: uppercase; margin-bottom: 4px; display: block; font-weight: 700; }
.cta-form button { background: var(--ink); color: var(--paper); padding: 18px 36px; font-family: var(--display); font-size: 22px; font-weight: 800; border: 0; transition: background .2s; margin-top: 8px; cursor: pointer; }
.cta-form button:hover { background: var(--c1); }
.cta-info { background: var(--paper); border: 2px solid var(--ink); padding: 28px; font-family: var(--sans); font-size: 14px; color: var(--ink); }
.cta-info-line { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.cta-info-line:last-child { border-bottom: 0; }
.cta-info-line strong { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; color: var(--c1); text-transform: uppercase; font-weight: 700; }

/* Footer */
.footer { background: var(--ink); color: var(--paper); padding: 64px var(--gutter) 28px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-logo { font-family: var(--display); font-weight: 800; font-size: 38px; margin-bottom: 12px; background: linear-gradient(120deg, var(--c1) 0%, var(--c3) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-brand p { font-family: var(--sans); font-size: 14px; color: rgba(255,251,245,0.7); }
.footer-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--c3); margin-bottom: 12px; text-transform: uppercase; font-weight: 700; }
.footer-col a { display: block; font-family: var(--sans); font-size: 14px; color: var(--paper); padding: 4px 0; font-weight: 500; }
.footer-col a:hover { color: var(--c3); }
.footer-meta { max-width: var(--max-w); margin: 32px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,251,245,0.15); font-family: var(--mono); font-size: 11px; color: rgba(255,251,245,0.5); display: flex; justify-content: space-between; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s, transform .9s; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .nav-bar .nav-link, .nav-bar .nav-cta, .nav-bar .nav-user { display: none; }
  .nav-burger { display: flex; }
  body.has-banner main { padding-top: var(--banner-h); }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-img-wrap { max-width: 480px; margin: 0 auto; }
  #about .about-grid { grid-template-columns: repeat(2, 1fr); }
  #teachers .teacher-grid { grid-template-columns: repeat(2, 1fr); }
  #programs .programs-grid { grid-template-columns: repeat(2, 1fr); }
  #palette .palette-strip { grid-template-columns: repeat(6, 1fr); height: 240px; }
  #alumni .alumni-grid { grid-template-columns: 1fr 1fr; }
  #press .press-grid { grid-template-columns: 1fr; }
  #studio .studio-grid { grid-template-columns: 1fr 1fr; }
  #stats .stats-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 768px) {
  .section { padding: 70px 20px 60px; }
  #hero { padding: 90px 20px 80px; }
  .hero-title { font-size: clamp(48px, 13vw, 72px); }
  #teachers .teacher-grid, #programs .programs-grid, #alumni .alumni-grid, #studio .studio-grid { grid-template-columns: 1fr; }
  #palette .palette-strip { grid-template-columns: repeat(3, 1fr); height: 200px; }
  input, select, textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-splash-1, .hero-splash-2, .hero-splash-3 { animation: none; }
}

/* 1D-4 mobile interaction — touch ripple + particle (universal) */
@media (max-width:768px){
  .touch-ripple{position:fixed; pointer-events:none; z-index:9998; border-radius:50%; transform:translate(-50%,-50%); animation:touch-ripple-anim .6s ease-out forwards; mix-blend-mode:multiply}
  @keyframes touch-ripple-anim{
    0%{width:10px; height:10px; opacity:.7; border:2px solid currentColor; background:transparent}
    100%{width:80px; height:80px; opacity:0; border:1px solid currentColor; background:transparent}
  }
  .touch-particle{position:fixed; pointer-events:none; z-index:9998; transform:translate(-50%,-50%); transition:all 1.2s ease-out; opacity:.9; font-size:14px}
  /* iOS smooth scroll + active feedback */
  a, button, [class*="-card"]{-webkit-tap-highlight-color:transparent}
  a:active, button:active, [class*="-card"]:active{transform:scale(.97); transition:transform .1s}
}


/* ===========================================
   RETROFIT v1.27 — motionsites integration
   slug: atelier-color
   effects: Y, P
   =========================================== */
/* === retrofit v1.27 motionsites glow-pulse (MIT) === */
@media (prefers-reduced-motion: no-preference) {
  .cta-btn, [class*="-cta"]:not([class*="cta-block"]) {
    position: relative;
  }
  .cta-btn::after, [class*="-cta"]:not([class*="cta-block"])::after {
    content: ''; position: absolute; inset: -8px;
    border-radius: inherit;
    background: var(--accent, #C4A062);
    filter: blur(20px); opacity: 0.3; z-index: -1;
    animation: rt-glow-pulse 3s ease-in-out infinite;
  }
  @keyframes rt-glow-pulse { 0%,100% { opacity: 0.25; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.05); } }
}/* === retrofit v1.27 motionsites morphing-blob (MIT) === */
@media (prefers-reduced-motion: no-preference) and (min-width: 769px) {
  section.hero::before, .hero::before, [class*="-hero"]:first-of-type::before {
    content: ''; position: absolute; right: -10%; top: -10%;
    width: 40vw; height: 40vw; pointer-events: none; z-index: 0;
    background: radial-gradient(circle, var(--accent, #C4A062) 0%, transparent 70%);
    border-radius: 50% 30% 70% 40% / 40% 60% 30% 70%;
    animation: rt-morph 20s ease-in-out infinite;
    opacity: 0.18; filter: blur(40px);
  }
  @keyframes rt-morph {
    0%,100% { border-radius: 50% 30% 70% 40% / 40% 60% 30% 70%; }
    33% { border-radius: 30% 70% 40% 50% / 60% 30% 70% 40%; }
    66% { border-radius: 70% 40% 50% 30% / 30% 70% 40% 60%; }
  }
}