:root {
  color-scheme: dark;
  --background: #191815;
  --panel: #211f1a;
  --text: #f6f0e5;
  --muted: #c8bfb0;
  --gold: #ddc497;
  --line: #5b5040;
  --serif: "Noto Serif KR", "Batang", serif;
  --sans: "Noto Sans KR", "Malgun Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font: 1rem/1.75 var(--sans); word-break: keep-all; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(100% - 7rem, 75rem); margin-inline: auto; }
.header { background: #171611; border-bottom: 1px solid #3a3329; }
.header-inner, nav { display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; }
.header-inner { justify-content: space-between; min-height: 5.25rem; gap: 1rem; }
.brand { gap: .8rem; }
.brand-mark {
  position: relative;
  display: block;
  width: 1.5rem;
  height: 1.95rem;
  flex: 0 0 auto;
  border: 1px solid #a18a62;
  border-bottom: 0;
  border-radius: 1rem 1rem 0 0;
}
.brand-mark::after {
  position: absolute;
  content: "";
  inset: .55rem auto .05rem 50%;
  width: 1px;
  background: linear-gradient(to bottom, #dfcca8, #88704b);
}
.brand-type { display: flex; flex-direction: column; gap: .25rem; line-height: 1.15; }
.brand-name { font: 600 1.0625rem/1.15 var(--serif); letter-spacing: .04em; }
.brand-service { color: var(--muted); font-size: .8125rem; letter-spacing: .23em; }
nav { gap: 2rem; color: var(--muted); font-size: .9rem; }
.nav-quote { padding: .45rem 1.05rem; border: 1px solid var(--line); color: var(--gold); white-space: nowrap; }
nav a:hover { color: #fff2d6; }
.hero {
  background: linear-gradient(90deg, #17150fe8 0%, #17150f9c 39%, #17150f16 85%), #29241e url("hero.jpg") center 55% / cover no-repeat;
  display: grid;
  align-items: center;
  min-height: clamp(37rem, 75vh, 50rem);
  border-bottom: 1px solid var(--line);
}
.hero-inner { padding-block: 5rem; }
.hero-brand { color: var(--gold); font-weight: 500; letter-spacing: .12em; margin: 0 0 1.35rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.35; }
h1 { font-size: clamp(3rem, 6.3vw, 6.4rem); letter-spacing: -.06em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); letter-spacing: -.045em; }
h3 { font-size: 1.5rem; letter-spacing: -.035em; }
.intro { color: #e2dacc; margin: 1.6rem 0 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .6rem 1.35rem; background: var(--gold); border: 1px solid transparent; color: #251e14; font-weight: 700; cursor: pointer; }
.button:hover { background: #f3dbb0; }
.services, .quote { padding-block: clamp(4rem, 8vw, 7.5rem); }
.services-heading { margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.services-heading p, .service-copy p, .service-copy li, .quote p { color: var(--muted); }
.service-nav { flex-wrap: wrap; gap: .65rem; margin-top: 1.35rem; }
.service-nav a { padding: .4rem .85rem; border: 1px solid var(--line); color: var(--gold); }
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.service-detail:last-child { padding-bottom: 0; }
.service-detail figure { margin: 0; overflow: hidden; background: var(--panel); }
.service-detail img { display: block; width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.service-detail:nth-of-type(even) figure { grid-column: 2; grid-row: 1; }
.service-detail:nth-of-type(even) .service-copy { grid-column: 1; grid-row: 1; }
.service-copy h3 { font-size: clamp(1.85rem, 3.2vw, 2.65rem); }
.service-copy h4 { color: var(--gold); margin: 1.25rem 0 .3rem; font-size: .95rem; }
.service-copy h4 + p, .service-copy ul { margin: 0; }
.service-copy ul { padding-left: 1.15rem; }
.service-copy li + li { margin-top: .2rem; }
.service-quote { display: inline-block; margin-top: 1.2rem; color: var(--gold); text-decoration: underline; text-underline-offset: .3rem; }
.service-quote:hover { color: #fff2d6; }
.quote { background: #211f1a; border-block: 1px solid #43392d; }
.quote-inner { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(2rem, 6vw, 6rem); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; margin-bottom: 1rem; color: var(--text); }
input, select, textarea { display: block; width: 100%; margin-top: .35rem; background: #181713; border: 1px solid var(--line); border-radius: 0; color: var(--text); padding: .65rem .8rem; }
select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: right 16px center, right 11px center; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; }
::placeholder, .optional { color: var(--muted); }
#status:empty { display: none; }
footer { padding-block: 2rem; color: var(--muted); }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 4.4rem; }
  nav { gap: .75rem; }
  .hero { min-height: 35rem; background-position: 60% center; }
  .service-detail, .quote-inner { grid-template-columns: 1fr; }
  .service-detail:nth-of-type(even) :is(figure, .service-copy) { grid-column: auto; grid-row: auto; }
  .service-detail img { aspect-ratio: 3 / 2; }
}
@media (max-width: 440px) {
  .desktop-break { display: none; }
  .fields { grid-template-columns: 1fr; gap: 0; }
  .hero { background-position: 66% center; }
  h1 { font-size: clamp(2.55rem, 10vw, 3.1rem); }
}

.contact-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.contact-button { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .85rem; border: 1px solid var(--line); color: var(--gold); }
a.contact-button:hover { border-color: var(--gold); }
.contact-button.unavailable, .contact-button small { color: var(--muted); }
.consent { display: flex; align-items: flex-start; gap: .65rem; color: var(--muted); font-size: .9375rem; }
.consent input { width: 1rem; height: 1rem; flex: 0 0 auto; margin: .35rem 0 0; accent-color: var(--gold); }
#status { overflow-wrap: anywhere; }
.admin-page { max-width: 52rem; padding-block: 3rem; }
.admin-page h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); margin: 1.5rem 0 2rem; }
.quote-record { border: 1px solid var(--line); background: var(--panel); margin-block: 1rem; padding: 1.25rem; }
.quote-record h2 { font-size: 1.5rem; }
.quote-record time { color: var(--muted); }
.quote-record dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .4rem 1rem; margin-bottom: 0; }
.quote-record dt { color: var(--gold); }
.quote-record dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.quote-record a { text-decoration: underline; }

.service-more { display: block; margin-top: .55rem; color: var(--gold); text-decoration: underline; text-underline-offset: .3rem; }
.service-page { padding-block: clamp(2.5rem, 6vw, 6rem); }
.service-page h1 { font-size: clamp(2.6rem, 5vw, 4.75rem); margin-top: .8rem; }
.service-summary { color: var(--muted); max-width: 42rem; margin: 1rem 0 2.4rem; }
.breadcrumb { gap: 1rem; }
.breadcrumb a { color: var(--gold); text-decoration: underline; text-underline-offset: .25rem; }
.breadcrumb a::after { content: "/"; display: inline-block; margin-left: 1rem; color: var(--muted); }
.service-page .service-copy h3 { margin: 1.25rem 0 .3rem; font: 600 .95rem/1.45 var(--sans); color: var(--gold); }
.service-page .service-copy h3 + p { margin: 0; }
.faq { padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }
.faq dl { margin: 1.5rem 0 0; max-width: 51rem; }
.faq dl div { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.faq dt { color: var(--gold); font-weight: 600; }
.faq dd { margin: .3rem 0 0; color: var(--muted); }
.service-page .faq { margin-top: 2.5rem; }

.footer-nav { flex-wrap: wrap; gap: .65rem 1.5rem; margin-top: 1.35rem; }
.footer-nav a { text-decoration: underline; text-underline-offset: .25rem; }
.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-card { background: var(--panel); border: 1px solid var(--line); }
.service-card a { display: grid; height: 100%; grid-template-rows: auto 1fr; }
.service-card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-card a > div { padding: 1.35rem; display: flex; flex-direction: column; align-items: flex-start; }
.service-card h2 { font-size: 1.55rem; }
.service-card p { color: var(--muted); }
.service-card span { color: var(--gold); text-decoration: underline; text-underline-offset: .25rem; margin-top: auto; }
.faq-nav { margin-bottom: 2rem; }
.quote-breadcrumb { padding-block: 2rem; }
.quote-page .quote { padding-top: clamp(2.5rem, 6vw, 5rem); }
.quote-page h1 { font-size: clamp(2.6rem, 5vw, 4.75rem); }
@media (max-width: 760px) {
  .service-cards { grid-template-columns: 1fr; }
}

.main-nav { flex-wrap: wrap; justify-content: flex-end; gap: .65rem clamp(.75rem, 2vw, 1.75rem); }
.main-nav a { flex: 0 0 auto; white-space: nowrap; }
.header-inner > .brand { flex-shrink: 0; }
@media (max-width: 900px) {
  .header-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: .65rem; padding-block: .75rem; }
  .main-nav { justify-content: flex-start; gap: .35rem 1rem; }
  .main-nav a { padding-block: .4rem; }
}

.blog-post, .blog-links { max-width: 49rem; }
.blog-post h1 { font-size: clamp(2.15rem, 4.6vw, 4.25rem); }
.blog-post figure { margin: 0 0 2.5rem; }
.blog-post figure img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-post section { margin-block: 2rem; }
.blog-post section h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); }
.blog-post section p { color: var(--muted); margin-top: .5rem; }
.blog-links { padding-top: 1.25rem; border-top: 1px solid var(--line); }

.image-gallery { padding-block: 2.5rem; border-top: 1px solid var(--line); }
.image-gallery h2 { font-size: 1.45rem; margin-bottom: 1rem; }
.image-gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 13rem)); gap: .8rem; }
.image-gallery-grid a { display: block; border: 1px solid var(--line); background: var(--panel); }
.image-gallery-grid img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.image-gallery-grid span { display: block; padding: .45rem .65rem; color: var(--muted); font-size: .875rem; }
