@font-face {
  font-family: "Gangwon Education Modu";
  src: url("/assets/fonts/gangwon-edu-modu-light.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Gangwon Education Modu";
  src: url("/assets/fonts/gangwon-edu-modu-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #636369;
  --line: #dcdce0;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 240px;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  word-break: keep-all;
  overflow-wrap: break-word;
}

main {
  width: 100%;
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(64px, 12vh, 120px) 24px 48px;
}

.announcement {
  width: 100%;
  max-width: 720px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.2em;
}

h1 {
  --wordmark-size: clamp(48px, 10vw, 76px);
  margin: 0;
  font-size: var(--wordmark-size);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.06em;
}

.clinic-wordmark {
  position: relative;
  isolation: isolate;
  display: block;
  width: 3.66em;
  height: 1.25em;
  margin-inline: auto;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  letter-spacing: 0;
  white-space: nowrap;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.clinic-wordmark:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 8px;
  border-radius: 6px;
}

.wordmark-art {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.wordmark-mask { mask-type: alpha; }

.wordmark-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .clinic-wordmark { cursor: crosshair; }
}

.clinic-specialty {
  display: block;
  margin-top: calc(var(--wordmark-size) * -0.105);
  font-size: clamp(18px, 4.5vw, 25px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.divider {
  width: 36px;
  height: 1px;
  margin: 44px auto;
  background: var(--muted);
}

.opening {
  margin: 0;
  font-family: "Gangwon Education Modu", serif;
  font-size: clamp(20px, 4.7vw, 27px);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: -0.035em;
}

.opening span { display: inline-block; }

.message {
  margin: 16px 0 0;
  color: var(--muted);
  font-family: "Gangwon Education Modu", serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: -0.025em;
}

footer {
  margin: 0 clamp(24px, 6vw, 80px);
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

@media (max-width: 360px) {
  main { padding-inline: 18px; }
  .opening span { display: block; }
}

@media print {
  body { background: white; }
  main { padding-block: 64px; }
}
