/* Shared presentation contract; load last. No business state or visibility rules. */
:root {
  --studio-font: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  --studio-logo-size: 64px;
  --studio-brand-gap: 12px;
  --studio-nav-gap: 8px 16px;
  --studio-grid-gap: 24px;
  --studio-section-space: 64px;
  --studio-card-padding: 24px;
  --studio-gutter: 32px;
  --studio-content-width: 1280px;
  --studio-ink: #28251f;
  --studio-muted: #666158;
  --studio-line: #e4e0d6;
  --studio-gold: #e1ad28;
  font-family: var(--studio-font);
  font-size: 16px;
}
.studio-page { font-family: var(--studio-font); }
.studio-page button, .studio-page input, .studio-page select { font-family: var(--studio-font); }
.studio-header.studio-header {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  width: min(var(--studio-content-width), calc(100% - 2 * var(--studio-gutter)));
  max-width: none;
  min-height: 96px;
  height: auto;
  margin: 0 auto;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--studio-line);
  background: #fff;
  color: var(--studio-ink);
}
.studio-header .studio-brand, .studio-page .site-footer .studio-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  gap: var(--studio-brand-gap);
  min-width: 0;
  max-width: 100%;
  padding: 0;
  color: var(--studio-ink);
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
}
.studio-brand picture { display: block; flex: 0 0 var(--studio-logo-size); }
.studio-header .studio-brand img, .studio-page .site-footer .studio-brand img {
  display: block;
  flex: 0 0 var(--studio-logo-size);
  width: var(--studio-logo-size);
  height: var(--studio-logo-size);
  max-width: none;
  object-fit: contain;
  margin: 0;
}
.studio-header .studio-brand-copy, .studio-page .site-footer .studio-brand-copy { display: block; min-width: 0; }
.studio-header .studio-brand strong, .studio-page .site-footer .studio-brand strong {
  display: block;
  margin: 0;
  font-family: var(--studio-font);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: -.04em;
  color: var(--studio-ink);
}
.studio-header .studio-brand small, .studio-page .site-footer .studio-brand small {
  display: block;
  margin: 4px 0 0;
  font-family: var(--studio-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .1em;
  color: var(--studio-muted);
}
.studio-header > nav, .studio-header > .header-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  text-align: left;
  align-items: center;
  justify-content: flex-end;
  gap: var(--studio-nav-gap);
  width: auto;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}
.studio-header > nav a, .studio-header > .header-links a, .studio-header > a:not(.studio-brand) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 4px;
  font-family: var(--studio-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--studio-ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.studio-header > nav .reservation-nav { padding-inline: 14px; }
.studio-header a:focus-visible { outline: 3px solid #76550a; outline-offset: 4px; }
.studio-header > nav a:hover, .studio-header > .header-links a:hover { color: #76550a; text-decoration: underline; text-underline-offset: 5px; }
/* Customer navigation stays in the same place on the home and price list. */
.studio-header.public-header > .member-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  margin-left: auto;
  border: 1px solid #be8c13;
  border-radius: 8px;
  background: #f5c84c;
  color: #211b10;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
.studio-header.public-header > .member-nav:hover { background: #ffda74; color: #211b10; }
.studio-header.public-header > .member-nav:focus-visible { outline: 3px solid #211b10; outline-offset: 3px; }
.studio-header.public-header > .member-nav { gap: 4px 12px; flex-wrap: wrap; padding: 0 12px; max-width: 100%; }
.member-nav > a, .member-nav > button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; color: inherit; font: inherit; text-decoration: none; }
.member-nav > button { background: transparent; border: 0; cursor: pointer; padding: 0 4px; }
.member-nav > button:focus-visible { outline: 3px solid #211b10; outline-offset: 2px; }
.member-nav > button:disabled { opacity: .6; cursor: wait; }
.member-nav > small { flex-basis: 100%; text-align: center; font-size: 11px; line-height: 1.5; padding-bottom: 6px; }
.member-nav > [hidden] { display: none; }
.studio-header.public-header > nav .reservation-nav {
  background: #fff4d5;
  color: var(--studio-ink);
  font-weight: 700;
  border-radius: 5px;
  padding: 10px 14px;
}
.studio-header.public-header > nav a[aria-current="page"] {
  color: #76550a;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
@media (max-width: 480px) {
  .studio-header.public-header > .member-nav { flex-basis: 100%; margin-left: 0; white-space: normal; }
}
.studio-home main, .studio-home .site-footer { width: min(var(--studio-content-width), calc(100% - 2 * var(--studio-gutter))); }
.studio-home main > .section { padding-block: var(--studio-section-space); }
.studio-home .section-heading { gap: 24px; margin-bottom: 32px; }
.studio-home .section-heading > div { min-width: 0; }
.studio-home .section-heading > p { max-width: 460px; }
.studio-home .eyebrow { margin-bottom: 16px; line-height: 1.5; }
.studio-home .section h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.4; }
.studio-home .service-grid, .studio-home .business-categories, .studio-home .product-grid,
.studio-home .original-records, .studio-page .catalog-grid { gap: var(--studio-grid-gap); }
.studio-home .services .service, .studio-home .business-category-copy,
.studio-home .product-card, .studio-home .original-records > li,
.studio-page .catalog-card { padding: var(--studio-card-padding); }
.studio-home .service h3, .studio-home .business-category h3,
.studio-home .product-card h3, .studio-home .original-records h3 { font-size: 24px; line-height: 1.45; margin: 12px 0 16px; }
.studio-home .services .service-number { font-family: var(--studio-font); font-size: 32px; line-height: 1.25; margin-bottom: 16px; }
.studio-home .business-image img { aspect-ratio: 3 / 2; }
.studio-home .business-category .business-image figcaption { padding: 12px var(--studio-card-padding); min-height: 48px; }
.studio-page .catalog-section { margin-block: var(--studio-section-space); }
.studio-page .catalog-nav { gap: var(--studio-nav-gap); }
.studio-page .catalog-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.studio-page .catalog-heading h2 { margin-bottom: 24px; }
/* Owner categories wrap instead of squeezing a long row off a small screen. */
.studio-page .sidebar nav { gap: 8px; flex-wrap: wrap; }
.studio-page .tools nav, .studio-page .overview { gap: var(--studio-grid-gap); }
@media (max-width: 1000px) {
  .studio-header > nav { flex-basis: 100%; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .studio-page .sidebar { position: static; padding: 12px 20px; }
  .studio-page .sidebar nav { justify-content: flex-start; }
  .studio-page .sidebar nav a { min-height: 44px; padding: 10px 12px; white-space: normal; }
}
@media (max-width: 700px) {
  :root { --studio-logo-size: 56px; --studio-grid-gap: 16px; --studio-section-space: 48px; --studio-card-padding: 20px; --studio-gutter: 20px; }
  .studio-header.studio-header { min-height: 88px; flex-direction: row; gap: 12px 16px; }
  .studio-header .studio-brand strong, .studio-page .site-footer .studio-brand strong { font-size: 18px; }
  .studio-header .studio-brand small, .studio-page .site-footer .studio-brand small { font-size: 11px; }
  .studio-header > nav, .studio-header > .header-links { justify-content: flex-start; }
  .studio-home .section-heading { gap: 16px; margin-bottom: 24px; }
  .studio-home .section-heading > p { max-width: none; }
}
