/* MotiveCircle: cool paper, dark service stage, Korean serif display.
 * Authored interaction: ceramic service object → fine particles → introduction. */
@import url('./tokens.css');
@import url('./base.css');
@import url('./pebble.css');
@import url('./motion.css');

:root {
  --font-display: 'Noto Serif KR', 'AppleMyungjo', serif;
  --font-body: 'Noto Sans KR', sans-serif;
  --font-wordmark: 'Hedvig Letters Serif', Georgia, serif;
  --container: 1328px;
  --color-shadow: color-mix(in oklab, var(--color-ink) 15%, transparent);
  --color-backdrop: color-mix(in oklab, var(--color-ink) 50%, transparent);
  --color-shell: oklch(95.5% 0.009 215);
  --space-hero-top: clamp(56px, 7svh, 80px);
  --space-section: clamp(72px, 8vw, 112px);
  --space-section-half: clamp(48px, 6vw, 80px);
  --space-dialog: clamp(24px, 5vw, 64px);
  --text-hero: clamp(3.1rem, 7.4vw, 6rem);
  --text-manifesto: clamp(2.3rem, 4.7vw, 4.4rem);
  --radius-object: 25%;
  --radius-dialog: 8px;
}
html { scroll-behavior: smooth; }
body { word-break: keep-all; }
a, button { -webkit-tap-highlight-color: transparent; }
.site-header { min-height: 96px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 16px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; min-height: 44px; text-decoration: none; }
.wordmark img { display: block; width: 32px; height: auto; flex: 0 0 auto; }
.wordmark-name { font-family: var(--font-wordmark); font-size: 30px; font-weight: 400; letter-spacing: -.035em; line-height: 1.15; min-width: 0; overflow-wrap: anywhere; }
nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px var(--space-xl); margin-left: auto; max-width: 100%; }
nav a { font-size: var(--text-sm); text-decoration: none; white-space: nowrap; padding-block: var(--space-sm); min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
nav a:hover { text-decoration: underline; }
.hero { min-height: min(680px, calc(100svh - 96px)); gap: 48px; display: flex; flex-direction: column; justify-content: flex-start; padding-top: var(--space-hero-top); padding-bottom: var(--space-2xl); }
.hero-heading { position: relative; }
h1 { font-size: var(--text-hero); line-height: 1.32; letter-spacing: -0.035em; max-width: 100%; }
.hero-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); max-width: 560px; }
.hero-signature { font-size: var(--text-sm); line-height: 1.9; color: var(--color-muted); }
.hero-intro { width: 100%; }
.hero-intro p { font-size: var(--text-md); line-height: 1.9; color: var(--color-ink-2); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: var(--space-sm) var(--space-lg); border: 1px solid var(--color-ink); border-radius: var(--radius-card); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 500; font-size: var(--text-sm); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.hero-intro .button { margin-top: var(--space-lg); }
.button:hover { background: color-mix(in oklab, var(--color-accent) 85%, var(--color-paper)); }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .55; cursor: not-allowed; }
.button[aria-busy="true"] { cursor: progress; }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); padding: var(--space-sm); z-index: var(--z-toast); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }
.services { padding-top: var(--space-2xl); padding-bottom: var(--space-xl); background: var(--pebble-ground); color: var(--pebble-label); }
.section-head { display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.45; letter-spacing: -.03em; }
.section-head > p { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.85; }
.service-space { min-height: 310px; display: flex; justify-content: center; align-items: center; padding-block: var(--space-xl); }
.service-item { position: relative; display: inline-flex; align-items: center; flex-direction: column; gap: var(--space-lg); background: transparent; border: 0; padding: var(--space-lg); cursor: pointer; color: var(--color-ink); border-radius: var(--radius-card); }
.service-name { font-size: var(--text-md); font-weight: 500; }
.service-item:disabled { opacity: .55; cursor: not-allowed; }
.service-item[aria-busy="true"] { cursor: progress; }
.no-script { padding-block: var(--space-xl); }
.about { background: var(--color-ink); color: var(--color-paper); padding-block: var(--space-section); }
.about h2 { font-size: var(--text-manifesto); line-height: 1.5; letter-spacing: -.03em; }
.about-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: end; margin-top: var(--space-3xl); }
.about-name { font-family: var(--font-wordmark); font-size: 24px; line-height: 1.7; }
.about-name span { font-family: var(--font-body); font-size: var(--text-sm); }
.about-copy { color: var(--color-paper-3); font-size: var(--text-md); line-height: 1.9; }
.about-copy p + p { margin-top: var(--space-lg); }
.approach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); padding-block: var(--space-section); }
.approach h2,.story h2 { font-size: clamp(2rem, 3.1vw, 3rem); line-height: 1.55; letter-spacing: -.03em; }
.approach-list { margin: 0; }
.approach-list > div { padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule); }
.approach-list > div:first-child { padding-top: 0; }
.approach-list dt { font-size: var(--text-lg); font-weight: 500; }
.approach-list dd { margin: var(--space-sm) 0 0; color: var(--color-ink-2); font-size: var(--text-sm); line-height: 1.8; }
.story { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-columns); padding-top: var(--space-section-half); padding-bottom: var(--space-section); border-top: 1px solid var(--color-rule); }
.story-copy { width: calc(50% - var(--gap-columns) / 2); }
.story-copy p { font-size: var(--text-md); color: var(--color-ink-2); line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; margin-top: var(--space-lg); padding-block: var(--space-xs); font-size: var(--text-sm); text-decoration-line: underline; text-underline-offset: 6px; }
.link-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.text-link:hover { text-decoration-color: var(--color-accent); }
.contact { padding-block: var(--space-3xl); background: var(--color-paper-2); }
.contact-top { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
.contact h2 { font-size: var(--text-xl); line-height: 1.6; letter-spacing: -.04em; }
.contact-top p,.contact-note { font-size: var(--text-sm); color: var(--color-ink-2); }
.contact-email { display: inline-block; font-family: var(--font-wordmark); font-size: clamp(1.6rem, 4.3vw, 4rem); text-decoration: none; letter-spacing: -.03em; margin-top: var(--space-xl); padding-bottom: var(--space-xs); border-bottom: 1px solid var(--color-muted); white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
.contact-email:hover { border-color: var(--color-accent); }
.contact-note { margin-top: var(--space-lg); }
.site-footer { padding-top: var(--space-2xl); padding-bottom: var(--space-lg); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-columns); }
.footer-top p { font-size: var(--text-sm); color: var(--color-muted); }
.business { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); margin: var(--space-xl) 0; font-size: var(--text-xs); color: var(--color-muted); }
.business > div { display: flex; align-items: baseline; gap: var(--space-xs); }
.business dd { margin: 0; line-height: 1.8; }
.business-address { width: 100%; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--color-rule); padding-top: var(--space-lg); }
.footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-bottom small,.footer-bottom a { font-size: var(--text-xs); color: var(--color-muted); }
@media (max-width: 60rem) {
  .site-header { min-height: 80px; }
  .hero { min-height: min(620px, calc(100svh - 80px)); }
  .about-bottom { margin-top: var(--space-2xl); }
}
@media (max-width: 40rem) {
  :root { --gutter: 24px; --text-hero: clamp(2rem, 9.3vw, 3.8rem); }
  .site-header { min-height: 76px; }
  .wordmark { gap: 8px; }
  .wordmark img { width: 26px; }
  .wordmark-name { font-size: 24px; }
  nav { gap: 4px var(--space-md); }
  nav a { font-size: 13px; }
  .hero { min-height: 0; gap: 40px; padding-top: var(--space-2xl); padding-bottom: var(--space-xl); }
  h1 { line-height: 1.5; }
  .hero-bottom { gap: var(--space-sm); }
  .hero-intro { width: 100%; }
  .section-head { flex-direction: column; gap: var(--space-md); }
  .section-head > p br { display: none; }
  .service-space { min-height: 270px; }
  .service-item { gap: var(--space-lg); }
  .about h2 { font-size: clamp(1.65rem, 6.7vw, 2.5rem); line-height: 1.65; }
  .about-bottom { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .about-name { font-size: 22px; }
  .about-copy { font-size: var(--text-sm); }
  .approach { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .approach h2 { font-size: clamp(1.8rem, 7.5vw, 2.4rem); }
  .story { flex-direction: column; align-items: flex-start; gap: var(--space-xl); }
  .story-copy { width: 100%; }
  .story-copy p { font-size: var(--text-sm); }
  .story-copy br { display: none; }
  .contact { padding-block: var(--space-2xl); }
  .contact-top { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
  .contact-email { font-size: clamp(1.3rem, 6.1vw, 2rem); }
  .contact-note { font-size: var(--text-xs); line-height: 1.8; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: var(--space-lg); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .business { gap: var(--space-sm); }
  .business-address { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

@media (max-width: 22.5rem) {
  .site-header { height: auto; min-height: 76px; flex-wrap: wrap; gap: 4px 16px; padding-block: 16px; }
  .site-header nav { width: 100%; justify-content: flex-end; gap: 24px; }
}
