@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-700.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-serif-4-700.woff2") format("woff2");
}

:root {
  --ink: #1a1f26;
  --paper: #f5f4f1;
  --white: #ffffff;
  --line: #ddd9d1;
  --muted: #3e4651;
  --navy: #1b3a4b;
  --navy-deep: #122833;
  --brass: #8a7348;
  --danger: #8c3a32;
  --ok: #1e5c45;
  --shadow: 0 12px 30px rgba(18, 40, 51, 0.08);
  --sans: "Source Sans 3", "Noto Sans CJK KR", "Noto Sans KR", "Malgun Gothic", "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Noto Serif CJK KR", serif;
  --wrap: 1120px;
  --pad: 1.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  padding-bottom: 7.5rem;
}

body:has(#cookie-banner[hidden]) {
  padding-bottom: 0;
}

img {
  max-width: 100%;
  display: block;
  background: #e4e1d8;
}

a {
  color: var(--navy);
}

a:hover {
  color: var(--navy-deep);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin: 0 0 0.6rem;
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
}

p {
  margin: 0 0 0.9rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--white);
  padding: 0.4rem 0.7rem;
  z-index: 20;
}

.skip-link:focus {
  top: 0.75rem;
}

.topbar {
  background: var(--navy-deep);
  color: #e7eef2;
  font-size: 0.86rem;
}

.topbar a {
  color: #f4f1ea;
  text-decoration: none;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
}

.topbar p {
  margin: 0;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
  flex-wrap: wrap;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.mark {
  width: 2rem;
  height: 2rem;
  color: var(--navy);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}

.site-nav a[aria-current="page"] {
  color: var(--navy);
  box-shadow: inset 0 -2px 0 var(--brass);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.55rem 0.85rem;
}

.nav-cta:hover {
  background: var(--navy-deep);
}

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  padding: 0.8rem 1.1rem;
  font-weight: 700;
  border: 2px solid var(--navy);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.btn:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
}

.btn-secondary:hover {
  background: var(--paper);
  color: var(--navy-deep);
}

.btn-small {
  padding: 0.55rem 0.9rem;
}

.section {
  padding: 4rem 0;
}

.section-tight {
  padding: 2.5rem 0;
}

.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.55rem;
}

.lede {
  font-size: 1.15rem;
  max-width: 42rem;
  color: var(--muted);
}

.hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  min-height: 32rem;
}

.hero-rail {
  background: var(--navy);
  color: #f4f1ea;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem 0.5rem;
}

.hero-rail span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.82rem;
}

.hero-main {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 32rem;
}

.hero-copy {
  padding: 3rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(245, 244, 241, 0.4), rgba(245, 244, 241, 0.9));
}

.hero-note {
  border-left: 3px solid var(--brass);
  padding-left: 0.9rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-media {
  position: relative;
  min-height: 22rem;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.7rem 1rem;
  background: rgba(18, 40, 51, 0.88);
  color: #f4f1ea;
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.split img,
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.frame {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.6rem;
  box-shadow: var(--shadow);
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.card-grid.two {
  grid-template-columns: 1fr 1fr;
}

.service-card,
.story-card,
.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card img,
.post-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.card-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.card-body p {
  color: var(--muted);
}

.meta {
  color: var(--brass);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--white);
}

.facts div {
  padding: 1rem 1.1rem;
  border-right: 1px solid var(--line);
}

.facts div:last-child {
  border-right: 0;
}

.facts span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.facts strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.05rem;
}

.method-list,
.plain-list,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-list li,
.check-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.method-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.check-list {
  margin: 0;
  padding-left: 1.1rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 0.8rem;
}

.steps article {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1rem 0.4rem 4.2rem;
  position: relative;
}

.steps article::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-family: var(--serif);
  color: var(--brass);
  font-size: 1.2rem;
}

.quote {
  margin: 0;
  background: var(--white);
  border-top: 3px solid var(--navy);
  padding: 1.2rem 1.2rem 0.6rem;
}

.quote p {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.45;
}

.quote footer {
  color: var(--muted);
  font-size: 0.95rem;
}

.band {
  background: var(--navy);
  color: #f4f1ea;
}

.band a {
  color: #f4f1ea;
}

.band .btn {
  background: #f4f1ea;
  color: var(--navy);
  border-color: #f4f1ea;
}

.band .btn:hover {
  background: var(--white);
  color: var(--navy-deep);
}

.page-intro {
  padding: 3rem 0 1rem;
}

.page-intro h1 {
  max-width: 18ch;
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2rem;
}

.legal-table,
.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.98rem;
}

.legal-table th,
.legal-table td,
.rate-table th,
.rate-table td {
  border: 1px solid var(--line);
  text-align: left;
  padding: 0.75rem 0.8rem;
  vertical-align: top;
}

.legal-table th,
.rate-table th {
  background: var(--navy);
  color: #f4f1ea;
  font-weight: 600;
}

.detail-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 18rem;
  aspect-ratio: 5 / 4;
}

.room-hero img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  aspect-ratio: 16 / 7;
}

.caption-bar {
  background: var(--navy-deep);
  color: #f4f1ea;
  padding: 0.8rem 0;
  font-size: 0.95rem;
}

.hours {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hours article {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1rem 0.4rem;
}

.shelf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.shelf article {
  background: var(--white);
  border-left: 4px solid var(--brass);
  padding: 1rem 1rem 0.3rem;
}

.person {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 1.5rem;
  align-items: start;
}

.person img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 44rem) 16rem;
  gap: 2rem;
  align-items: start;
}

.article-cover {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  margin-bottom: 1.2rem;
}

.side-note {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem;
  position: sticky;
  top: 5.5rem;
}

.form {
  display: grid;
  gap: 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.3rem;
}

.field {
  display: grid;
  gap: 0.3rem;
}

.field label {
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.65rem 0.7rem;
  border: 1px solid #c8c3b8;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.btn:focus-visible,
.nav-toggle:focus-visible,
.site-nav a:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error,
.island-error {
  color: var(--danger);
  font-size: 0.92rem;
  margin: 0;
}

.success-box {
  background: var(--white);
  border: 1px solid var(--ok);
  padding: 1.2rem 1.2rem 0.4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: start;
}

.address-block {
  overflow-wrap: anywhere;
  font-style: normal;
}

.site-footer {
  background: var(--navy-deep);
  color: #e4ebef;
  margin-top: 0;
}

.site-footer a {
  color: #f4f1ea;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 0.8fr 0.6fr;
  gap: 1.5rem;
  padding: 2.5rem 0 1.5rem;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.footer-label {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c6b48a;
}

.footer-address {
  overflow-wrap: anywhere;
}

.footer-links li + li {
  margin-top: 0.25rem;
}

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.9rem 0 1.2rem;
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(18, 40, 51, 0.08);
  z-index: 12;
}

.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 0;
}

.cookie-inner p {
  margin: 0;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
}

.missing {
  padding: 4rem 0 5rem;
}

.story-long {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.3rem 1.3rem 0.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 1rem;
    gap: 0.7rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-grid,
  .hero-main,
  .split,
  .card-grid,
  .card-grid.two,
  .facts,
  .detail-hero,
  .hours,
  .shelf,
  .person,
  .article-layout,
  .contact-grid,
  .footer-grid,
  .cookie-inner {
    grid-template-columns: 1fr;
  }

  .hero-rail {
    writing-mode: horizontal-tb;
    min-height: 0;
  }

  .hero-rail span {
    writing-mode: horizontal-tb;
    transform: none;
    padding: 0.7rem 0;
  }

  .hero-media img {
    position: static;
    aspect-ratio: 16 / 10;
  }

  .facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
    text-align: center;
  }

  body {
    padding-bottom: 14rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
