html {
  scroll-padding-top: 88px;
}
body {
  overflow-wrap: anywhere;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button,
input,
textarea,
select {
  font: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #40624c;
  outline-offset: 3px;
}
.quote-card .text-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  color: var(--ink);
}
.quote-card .field-row {
  min-width: 0;
}
.privacy-link {
  color: #40524a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.preserved-line {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
#banner-video:not([data-visible="true"]) {
  visibility: hidden;
}

.simple-header {
  background: #faf9f5;
  border-bottom: 1px solid #e2e2d8;
  position: sticky;
  top: 0;
  z-index: 5;
}
.simple-header .wrap {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.simple-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}
.simple-header nav a {
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 650;
}
.simple-header .brand {
  justify-content: start;
}
.mobile-nav-toggle {
  display: none;
}
.nav-panel {
  display: contents;
}
.nav-panel a,
.mobile-nav-toggle {
  font-family: "Yeodam Navigation", var(--sans);
}
@media (max-width: 740px) {
  .has-mobile-nav .mobile-nav-toggle {
    grid-area: 1 / 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding-inline: 13px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: transparent;
    color: var(--pine);
    font-size: 0.87rem;
    font-weight: 600;
  }
  .has-mobile-nav .mobile-nav-toggle[aria-expanded="true"] {
    background: #e9eee5;
  }
  .mobile-nav-icon,
  .mobile-nav-icon::before,
  .mobile-nav-icon::after {
    display: block;
    width: 16px;
    height: 1.5px;
    border-radius: 1px;
    background-color: currentColor;
  }
  .mobile-nav-icon {
    position: relative;
  }
  .mobile-nav-icon::before,
  .mobile-nav-icon::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
  }
  .mobile-nav-icon::before {
    transform: translateY(-4.5px);
  }
  .mobile-nav-icon::after {
    transform: translateY(4.5px);
  }
  .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-icon {
    background-color: transparent;
  }
  .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-icon::before {
    transform: rotate(45deg);
  }
  .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-icon::after {
    transform: rotate(-45deg);
  }
  .has-mobile-nav .nav-panel {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    gap: 4px;
    padding: 8px var(--pad) 16px;
    border-block: 1px solid var(--line);
    background: #faf9f5;
    box-shadow: 0 12px 24px #1c332418;
  }
  .has-mobile-nav .mobile-nav-toggle[aria-expanded="false"] + .nav-panel {
    display: none;
  }
  .has-mobile-nav .nav-panel .main-nav {
    display: contents;
  }
  .has-mobile-nav .nav-panel a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #464f48;
    font: 600 0.95rem/1.62 "Yeodam Navigation", var(--sans);
    text-decoration: none;
    transition: background-color 180ms;
  }
  .has-mobile-nav .nav-panel .nav-contact svg {
    display: none;
  }
  .has-mobile-nav .nav-panel a:hover,
  .has-mobile-nav .nav-panel a[aria-current="page"] {
    background-color: #e9eee5;
  }
  @media (prefers-reduced-motion: no-preference) {
    .has-mobile-nav .nav-panel {
      animation: mobile-nav-appear 160ms ease-out;
    }
  }
}
@keyframes mobile-nav-appear {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-content {
  width: min(calc(100% - 36px), 960px);
  margin-inline: auto;
  padding-block: clamp(44px, 8vw, 88px);
}
.page-content h1 {
  font: 600 clamp(2rem, 5vw, 3.7rem) / 1.2 var(--serif);
  margin: 0;
  letter-spacing: -0.055em;
}
.page-content h2 {
  font: 600 clamp(1.4rem, 3vw, 1.9rem) / 1.3 var(--serif);
  margin: 0 0 10px;
}
.page-content h3 {
  font-size: 1.3rem;
  margin: 0 0 12px;
}
.page-lead {
  max-width: 62ch;
  color: var(--muted);
  margin-block: 12px 30px;
}
.panel {
  border: 1px solid #e1e4d9;
  background: #fff;
  border-radius: 8px;
  padding: clamp(18px, 4vw, 34px);
  margin-block: 24px;
}
.field-stack {
  display: grid;
  gap: 15px;
}
.field-stack label,
.field-row label {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.check-field {
  display: flex !important;
  align-items: start;
}
.check-field input {
  margin-top: 0.25em;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.field-stack input:not([type="checkbox"]),
.field-stack textarea,
.field-stack select {
  width: 100%;
  min-width: 0;
}
.form-status {
  min-height: 1.5em;
  color: #385446;
  margin: 5px 0 0;
}
.form-status.is-error {
  color: #912e28;
}
.board-scroll {
  overflow-x: auto;
}
.board-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.8rem, 2.8vw, 0.95rem);
}
.board-table th,
.board-table td {
  text-align: left;
  border-bottom: 1px solid #e6e7df;
  padding: 11px 7px;
}
.board-table th:first-child,
.board-table td:first-child {
  padding-left: 0;
}
.board-table tbody tr:last-child td {
  border-bottom: 0;
}
.board-link {
  border: 0;
  background: none;
  text-align: left;
  text-decoration: underline;
  color: #244838;
  cursor: pointer;
  padding: 0;
}
.state {
  white-space: nowrap;
  font-weight: 650;
}
.state.answered {
  color: #23573f;
}
.section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.key-value {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 5px 16px;
  margin-block: 14px;
}
.key-value dt {
  color: var(--muted);
}
.key-value dd {
  margin: 0;
}
.reply-box {
  background: #f1f5ed;
  border-radius: 5px;
  padding: 14px;
  margin-top: 18px;
}
.reply-box h4 {
  margin: 0 0 4px;
}
.reply-box p {
  margin: 0;
}
.receipt {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  overflow-wrap: anywhere;
}
.receipt code {
  font-size: 0.92em;
}
.detail-cover {
  width: 100%;
  max-height: 470px;
  object-fit: cover;
  border-radius: 7px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.gallery-grid button {
  border: 0;
  border-radius: 6px;
  background: #eff0e9;
  padding: 0;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
}
.gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.gallery-grid span {
  display: block;
  padding: 7px;
  font-size: 0.85rem;
}
.gallery-dialog {
  max-width: min(94vw, 860px);
}
.gallery-dialog img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
}
.gallery-dialog .dialog-surface {
  display: grid;
  gap: 8px;
}
.bot-check {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 430px) {
  html {
    scroll-padding-top: 69px;
  }
  .page-content .field-row {
    grid-template-columns: 1fr;
  }
  .simple-header nav {
    gap: 11px;
  }
}

.partner-grid:has(> li:only-child) {
  grid-template-columns: minmax(0, 184px);
  justify-content: center;
}

body:has(#quote-dialog[open]) {
  overflow: hidden;
}
#quote-dialog-close {
  font-size: 1.45rem;
  line-height: 1;
}
#quote-dialog .quote-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
#quote-contact-status:empty {
  display: none;
}
#quote-privacy-notice {
  white-space: pre-line;
}
#quote-send:disabled {
  cursor: not-allowed;
}
#quick-quote-receipt {
  padding-top: 8px;
}

.nav-link[aria-current="page"] {
  color: var(--pine-dark);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.faq-chevron {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-right: 6px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.common-questions details[open] .faq-chevron {
  transform: rotate(225deg);
}
.question-board-mount .form-status:empty {
  display: none;
}
.question-board-mount {
  margin-block: 24px clamp(68px, 7vw, 100px);
}
.inquiry-board {
  margin-block: 0;
}
.inquiry-board-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 19px;
}
.inquiry-board-header > :is(h1, h2) {
  font: 400 clamp(1.8rem, 4vw, 2.65rem) / 1.22 "Yeodam Board Serifs",
    var(--serif);
  margin: 0;
}
.inquiry-board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.inquiry-board-actions .btn {
  padding-inline: clamp(9px, 2.2vw, 18px);
}
.inquiry-board .board-scroll {
  border: 1px solid var(--line);
  border-radius: 5px;
}
.inquiry-board .board-table th {
  background: #edf1e8;
  color: var(--pine-dark);
}
.inquiry-board .board-table :is(th, td) {
  padding: 11px clamp(7px, 1.8vw, 20px);
}
.inquiry-board .board-table th:nth-child(2) {
  width: 42%;
}
.inquiry-board .board-table .board-empty-cell {
  color: var(--muted);
  padding-block: 20px 28px;
}
.inquiry-board #more {
  margin-top: 14px;
}
.board-faq {
  max-width: 780px;
}
.board-faq h2 {
  margin-block-end: clamp(19px, 2.4vw, 28px);
  font-size: clamp(1.7rem, 2.7vw, 2.2rem);
}
.board-faq summary {
  padding-block: clamp(20px, 2.4vw, 26px);
}
.board-faq .faq-chevron {
  transition: transform 220ms ease;
}
.board-faq details[data-faq-motion="closing"] .faq-chevron {
  transform: rotate(45deg);
}
.board-faq details[data-faq-motion] .faq-answer {
  overflow: hidden;
}
.board-faq details p {
  padding-block-end: clamp(23px, 2.4vw, 30px);
}
.inquiry-dialog h2 {
  font: 700 1.65rem / 1.35 var(--sans);
  margin-bottom: 12px;
}
.inquiry-dialog .close-dialog {
  font-size: 1.45rem;
  line-height: 1;
}
.inquiry-dialog-lead,
.board-consent {
  color: var(--muted);
  font-size: 0.9rem;
}
.board-consent p {
  margin-bottom: 8px;
  white-space: pre-line;
}
.board-consent p:empty {
  display: none;
}
.board-write-fields {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.inquiry-dialog #read-result {
  margin-top: 16px;
}
body:has(.inquiry-dialog[open]) {
  overflow: hidden;
}
.admin-board-picker {
  display: grid;
  gap: 6px;
  max-width: 220px;
}

body[data-board="question"] {
  background: #f8f7f2;
}
#quote-dialog .privacy-consent {
  background: #f7f7f2;
}

body[data-page="stay"] {
  background: #f8f7f2;
}
.stay-detail-wrap {
  padding-bottom: 54px;
}
.detail-cover-frame,
.stay-image-frame {
  display: grid;
  min-width: 0;
}
.detail-cover-frame > .detail-cover {
  max-height: none;
  border-radius: 0;
}
.detail-cover-frame > .detail-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#court .room-gallery,
#extra-photos .room-gallery {
  margin-top: 16px;
}
