@font-face {
  font-family: 'Noto Serif TC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/noto-serif-tc-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Serif TC';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/noto-serif-tc-1.ttf) format('truetype');
}

/* Shared palette, typography and layout. */
:root {
    --cream: #f0e6d3;
    --paper: #f8f1e4;
    --ink: #453521;
    --muted: #70604b;
    --khaki: #92734b;
    --olive: #454b32;
    --line: #cdbb9c;
    --serif: "Noto Serif TC", "Songti TC", "PMingLiU", "Times New Roman", serif;
    --sans: "Microsoft JhengHei", "PingFang TC", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

button, a, input, textarea, select {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: default;
}

button, input, textarea, select {
    border-radius: 0;
}

button {
    background: none;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--olive);
    outline-offset: 6px;
}

[hidden] {
    display: none !important;
}

h1, h2, h3, p, figure {
    margin: 0;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
}

h1 {
    line-height: 1.6;
    letter-spacing: .12em;
}

h2 {
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.7;
    letter-spacing: .1em;
}

h3 {
    font-size: 24px;
    letter-spacing: .08em;
    line-height: 1.6;
}

p + p {
    margin-top: 20px;
}

::selection {
    background: #d8cbb5;
    color: #34362c;
}

.wrap {
    width: min(1180px, 86%);
    margin-inline: auto;
}

.section {
    padding-block: 110px;
}

.eyebrow {
    font-family: Georgia, serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .22em;
    line-height: 1.7;
}

.section-heading .eyebrow {
    color: var(--khaki);
    margin-bottom: 20px;
}

.section-heading > p:last-child:not(.eyebrow) {
    color: var(--muted);
    margin-top: 22px;
    max-width: 680px;
}

.section-heading {
    margin-bottom: 44px;
}

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.section-top > .text-link {
    flex-shrink: 0;
}

.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 13px 0;
    border-bottom: 1px solid var(--khaki);
    font-size: 13px;
    letter-spacing: .08em;
    transition: color .25s, gap .25s;
}

.text-link:hover {
    color: var(--olive);
    gap: 45px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 15px 25px;
    border: 1px solid var(--khaki);
    background: var(--khaki);
    color: #fff;
    font-size: 14px;
    letter-spacing: .08em;
    transition: background .25s;
}

.button:hover {
    background: #6c614f;
}

.small, .quiet-note {
    color: var(--muted);
    font-size: 13px;
}

.quiet-note {
    text-align: center;
    margin-top: 40px;
}

.skip-link {
    position: fixed;
    left: 20px;
    top: -100px;
    padding: 12px 25px;
    background: var(--cream);
    z-index: 150;
}

.skip-link:focus {
    top: 15px;
}

/* Header is static in the document structure, and transparent over the hero. */
.site-header
 {
    position: absolute;
    inset: 0 0 auto;
    height: 108px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 3.5%;
    color: white;
    z-index: 30;
    border-bottom: 1px solid #ffffff30;
    transition: background .3s;
}

.site-header.is-scrolled {
    position: fixed;
    height: 82px;
    background: #303222f5;
    color: #fff9ef;
    border-color: #ffffff30;
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-mark {
    width: 49px;
    height: 55px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.15;
}

.brand > span {
    font-family: var(--serif);
    font-size: 24px;
    letter-spacing: .18em;
    line-height: 1.45;
}

.brand small {
    display: block;
    font-family: Georgia, serif;
    font-size: 13px;
    letter-spacing: .16em;
    margin-top: 5px;
}

.main-nav {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: clamp(15px, 1.6vw, 28px);
}

.main-nav a {
    font-size: 15px;
    letter-spacing: .1em;
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s;
}

.main-nav a:hover::after, .main-nav [aria-current="page"]::after {
    transform: scaleX(1);
}

.header-book {
    padding: 11px 17px;
    border: 1px solid #ffffff80;
    border-radius: 2px;
    white-space: nowrap;
    font-size: 15px;
    letter-spacing: .08em;
}

.header-book span {
    margin-left: 10px;
}

.is-scrolled .header-book {
    border-color: var(--khaki);
}

.menu-toggle, .mobile-contact {
    display: none;
}

/* Shared inner-page opening. */
.page-hero
 {
    height: 570px;
    min-height: 400px;
    position: relative;
    display: grid;
    align-items: end;
    color: #fff;
    isolation: isolate;
}

.page-hero > img {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    object-position: var(--hero-position, center);
    z-index: -2;
    filter: saturate(.65) sepia(.14);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, #20231980, #30322230 35%, #303222a0 78%, #303222);
}

.page-hero-copy {
    width: min(1180px, 86%);
    margin: 0 auto 62px;
}

.page-hero h1 {
    font-size: clamp(32px, 4vw, 54px);
    margin: 14px 0;
}

.page-hero-copy > p:last-child {
    font-size: 14px;
    letter-spacing: .12em;
}

.hero-index {
    position: absolute;
    right: 5%;
    bottom: 65px;
    writing-mode: vertical-rl;
    font-size: 13px;
    letter-spacing: .25em;
}

.breadcrumb {
    padding-top: 23px;
    display: flex;
    gap: 13px;
    color: var(--muted);
    font-size: 13px;
}

.two-grid, .room-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px 42px;
}

.three-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.three-grid img {
    aspect-ratio: 4 / 3;
}

.three-grid h3 {
    margin: 25px 0 12px;
}

.three-grid p {
    color: var(--muted);
}

.soft-section {
    background: #e5d6ba;
}

.split-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}

.split-story > div > p {
    color: var(--muted);
}

.split-story > img, .split-story > figure > img {
    height: 560px;
}

figcaption {
    margin-top: 16px;
    font-size: 13px;
    letter-spacing: .18em;
    color: var(--muted);
}

.notice {
    padding: 32px 38px;
    margin-top: 48px;
    background: #e9e4d9;
    border-left: 2px solid var(--khaki);
}

.notice h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.notice p {
    color: var(--muted);
    font-size: 14px;
}

.notice .button {
    margin-top: 24px;
}

.prose-list {
    padding-left: 22px;
    margin-block: 20px;
    color: var(--muted);
}

.prose-list li {
    margin-bottom: 14px;
    padding-left: 5px;
}

/* Rooms and galleries. */
.image-link
 {
    display: block;
    position: relative;
    overflow: hidden;
}

.image-link img {
    aspect-ratio: 1.4;
    transition: transform .8s;
}

.image-link:hover img {
    transform: scale(1.035);
}

.image-arrow {
    display: grid;
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #f5f1e9de;
    place-items: center;
    font-size: 24px;
}

.room-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    letter-spacing: .1em;
    color: var(--muted);
    margin: 24px 0 12px;
}

.room-card h3 {
    font-size: 29px;
}

.room-card > p {
    color: var(--muted);
    margin-top: 16px;
    font-size: 14px;
}

.room-card .text-link {
    margin-top: 16px;
}

.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.photo-grid a {
    display: block;
    position: relative;
    overflow: hidden;
}

.photo-grid img {
    aspect-ratio: 1.4;
    transition: transform .5s;
}

.photo-grid a:hover img {
    transform: scale(1.025);
}

.photo-grid a > span {
    position: absolute;
    bottom: 18px;
    right: 20px;
    color: white;
    font-size: 13px;
    background: #36382ca3;
    padding: 4px 13px;
}

.lightbox {
    position: fixed;
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    padding: 65px 80px 35px;
    background: #22251ff5;
    color: white;
}

.lightbox[open] {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.lightbox::backdrop {
    background: #22251f;
}

.lightbox figure {
    min-width: 0;
}

.lightbox img {
    object-fit: contain;
    height: calc(100dvh - 150px);
}

.lightbox figcaption {
    text-align: center;
    color: #f5f1e9;
}

.lightbox button {
    position: absolute;
    color: white;
    width: 48px;
    height: 48px;
    font-size: 28px;
}

.lightbox-close {
    right: 20px;
    top: 12px;
}

.lightbox-prev {
    left: 15px;
    top: 48%;
}

.lightbox-next {
    right: 15px;
    top: 48%;
}

/* Invitation and footer. */
.stay-invitation
 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 80px 10%;
    background: radial-gradient(ellipse at 15% 95%, #b7986050, transparent 70%), #d9c29b;
}

.stay-invitation .eyebrow {
    color: var(--khaki);
    margin-bottom: 18px;
}

.stay-invitation h2 {
    font-size: clamp(25px, 2.8vw, 40px);
}

.round-link {
    width: 112px;
    height: 112px;
    flex-shrink: 0;
    border: 1px solid var(--khaki);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    letter-spacing: .1em;
    transition: background .3s, color .3s;
}

.round-link span {
    font-size: 27px;
}

.round-link:hover {
    background: var(--khaki);
    color: white;
}

.site-footer {
    padding: 72px 7% 25px;
    background: #272b20;
    color: #faf6ed;
}

.footer-main {
    display: grid;
    grid-template-columns: .9fr 1fr 1.2fr;
    align-items: start;
    gap: 55px;
    padding-bottom: 55px;
}

.footer-main > div {
    font-size: 13px;
    letter-spacing: .04em;
}

.footer-main > div > a {
    display: block;
}

.footer-main p + p {
    margin-top: 12px;
}

.footer-phone {
    font-family: Georgia, serif;
    font-size: 27px;
    letter-spacing: .06em;
    margin-block: 12px 5px;
}

.footer-bottom {
    border-top: 1px solid #ffffff30;
    padding-top: 23px;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    font-size: 13px;
    letter-spacing: .08em;
}

.footer-bottom > div {
    display: flex;
    gap: 25px;
}

@media (min-width: 1600px) {
    .wrap {
        width: min(1320px, 84%);
    }
    .site-header {
        padding-inline: 5%;
    }
}

@media (max-width: 1150px) {
    .site-header {
        height: 92px;
        gap: 20px;
    }
    .brand > span {
        font-size: 22px;
    }
    .brand-mark {
        width: 42px;
    }
    .main-nav {
        gap: 15px;
    }
    .main-nav a {
        font-size: 15px;
    }
    .header-book {
        padding: 10px;
        font-size: 15px;
    }
    .split-story {
        gap: 45px;
    }
    .footer-main {
        gap: 28px;
    }
}

@media (max-width: 1000px) {
    .site-header, .site-header.is-scrolled {
        height: 82px;
        padding-inline: 5%;
    }
    .header-book {
        margin-left: auto;
        padding: 9px 14px;
    }
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        width: 40px;
        height: 44px;
        z-index: 32;
        padding: 8px;
    }
    .menu-toggle span {
        width: 24px;
        height: 1px;
        background: currentColor;
        transition: transform .25s;
    }
    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(4px) rotate(45deg);
    }
    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }
    .main-nav {
        display: none;
        position: fixed;
        top: 82px;
        inset-inline: 0;
        height: calc(100dvh - 82px);
        background: var(--cream);
        color: var(--ink);
        padding: 30px 8% 60px;
        overflow-y: auto;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .main-nav.is-open {
        display: flex;
    }
    .main-nav a {
        padding: 15px 0;
        font-family: var(--serif);
        font-size: 15px;
        border-bottom: 1px solid var(--line);
    }
    .mobile-contact {
        display: block;
    }
    .menu-open .site-header {
        position: fixed;
        background: var(--cream);
        color: var(--ink);
    }
    .menu-open .header-book {
        border-color: var(--khaki);
    }
    .section {
        padding-block: 80px;
    }
    .split-story > img, .split-story > figure > img {
        height: 450px;
    }
    .three-grid {
        gap: 22px;
    }
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    .footer-main > .brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 650px) {
    body {
        font-size: 14px;
    }
    .wrap {
        width: 88%;
    }
    .section {
        padding-block: 64px;
    }
    .section-heading {
        margin-bottom: 30px;
    }
    .section-heading .eyebrow {
        margin-bottom: 13px;
    }
    .section-top {
        display: block;
    }
    .section-top > .text-link {
        margin: -10px 0 30px;
    }
    .brand {
        gap: 8px;
    }
    .brand > span {
        font-size: 20px;
    }
    .brand small {
        font-size: 13px;
    }
    .brand-mark {
        width: 36px;
        height: 42px;
    }
    .site-header {
        gap: 12px;
    }
    .header-book {
        font-size: 15px;
        letter-spacing: 0;
        padding: 8px;
    }
    .header-book span {
        display: none;
    }
    .menu-toggle {
        width: 30px;
        padding: 3px;
    }
    .page-hero {
        height: 440px;
    }
    .page-hero-copy {
        width: 88%;
        margin-bottom: 45px;
    }
    .page-hero h1 {
        font-size: 30px;
        letter-spacing: .06em;
    }
    .page-hero-copy > p:last-child {
        max-width: 90%;
        font-size: 13px;
    }
    .hero-index {
        display: none;
    }
    .two-grid, .room-grid, .three-grid, .split-story {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .split-story > img, .split-story > figure > img {
        height: 430px;
    }
    .room-card h3 {
        font-size: 26px;
    }
    .room-card-meta {
        margin-top: 20px;
    }
    .photo-grid {
        gap: 12px;
    }
    .photo-grid img {
        aspect-ratio: 1;
    }
    .notice {
        padding: 25px 23px;
        margin-top: 35px;
    }
    .lightbox {
        padding: 60px 35px 25px;
    }
    .lightbox-prev {
        left: 0;
        width: 34px !important;
    }
    .lightbox-next {
        right: 0;
        width: 34px !important;
    }
    .stay-invitation {
        padding: 55px 6%;
        gap: 15px;
    }
    .stay-invitation h2 {
        font-size: 24px;
    }
    .stay-invitation .eyebrow {
        font-size: 13px;
    }
    .round-link {
        width: 80px;
        height: 80px;
        font-size: 13px;
    }
    .round-link span {
        font-size: 20px;
    }
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 40px;
    }
    .site-footer {
        padding: 50px 6% 25px;
    }
    .footer-bottom {
        flex-wrap: wrap;
        font-size: 13px;
        gap: 18px;
    }
    .footer-bottom > span {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* Tactile paper, deeper type and warm framing across the inner pages. */
body {
    background-image: url("../images/paper.svg");
}
.section-heading h2 {
    font-weight: 600;
}
.soft-section {
    background-image: url("../images/paper.svg");
}
.split-story > figure {
    padding: 14px;
    background: #e3d1ae;
    box-shadow: 14px 18px 0 #463c2514;
}
.room-card {
    padding: 18px 18px 28px;
    background: #faf2e3;
    box-shadow: 0 12px 36px #463c2510;
    border-bottom: 3px solid #a58350;
}
.page-hero-copy .eyebrow {
    color: #e4c794;
}
.site-footer .eyebrow {
    color: #d4ba8b;
}
/* Photo albums shared by the facilities and local scenery pages. */
.album-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px 24px;
}
.album-grid figure {
    min-width: 0;
}
.album-grid a {
    display: block;
    position: relative;
    overflow: hidden;
    background: #d9c8aa;
}
.album-grid img {
    aspect-ratio: 4 / 3;
    transition: transform .5s;
}
.album-grid a:hover img {
    transform: scale(1.035);
}
.album-grid figcaption {
    font-size: 14px;
    letter-spacing: .06em;
    margin-top: 12px;
}
.photo-open {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 5px 10px;
    background: #272b20d9;
    color: #fff5e5;
    font-size: 13px;
}
.album-intro {
    margin-bottom: 30px;
    color: var(--muted);
}
.stay-invitation {
    min-height: 330px;
    color: #fff4df;
    background: linear-gradient(90deg, #242a20ed, #303222b8 55%, #30322285), url("../images/terrace.jpg") center 55% / cover;
    border-top: 1px solid #c9ad7840;
}
.stay-invitation .eyebrow {
    color: #e2c797;
}
.stay-invitation .round-link {
    border-color: #ebd4a8;
    background: #30322260;
}
.stay-invitation .round-link:hover {
    background: #f0e6d3;
    color: #303222;
}
/* The larger minimum type and seventh nav item need an earlier menu breakpoint. */
@media (min-width: 1001px) and (max-width: 1200px) {
    .site-header {
        gap: 12px;
        padding-inline: 2%;
    }
    .main-nav {
        gap: 12px;
    }
    .main-nav a {
        letter-spacing: 0;
    }
    .brand > span {
        font-size: 21px;
    }
    .brand-mark {
        width: 38px;
    }
    .header-book {
        padding: 10px;
        letter-spacing: 0;
    }
}
@media (max-width: 700px) {
    .album-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 15px;
    }
    .stay-invitation {
        min-height: 300px;
        background-position: center;
    }
    .hero-english {
        white-space: normal;
        width: 230px;
        letter-spacing: .1em;
    }
    .brand small {
        letter-spacing: 0;
    }
    .header-book {
        max-width: 100px;
        white-space: normal;
        text-align: center;
        line-height: 1.5;
    }
    .site-header {
        gap: 8px;
        padding-inline: 4%;
    }
    .brand {
        gap: 6px;
    }
    .brand > span {
        font-size: 18px;
        letter-spacing: .1em;
    }
    .brand-mark {
        width: 28px;
    }
}
@media (max-width: 420px) {
    .album-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom > div {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* Complete image lockup, including the emblem and both brand names. */
.brand-logo {
    width: 240px;
    height: auto;
    object-fit: contain;
}
.site-footer .brand-logo {
    width: 270px;
}
.menu-open .site-header {
    background: #303222;
    color: #fff4df;
}
@media (min-width: 1001px) and (max-width: 1250px) {
    .site-header {
        gap: 14px;
        padding-inline: 2%;
    }
    .main-nav {
        gap: 12px;
    }
    .main-nav a {
        letter-spacing: 0;
    }
    .header-book {
        padding: 10px;
    }
    .brand-logo {
        width: 220px;
    }
}
@media (max-width: 650px) {
    .brand-logo {
        width: 220px;
    }
    .site-header {
        justify-content: space-between;
    }
    .site-header .header-book {
        display: none;
    }
    .site-footer .brand-logo {
        width: 260px;
        max-width: 100%;
    }
}

/* Persistent LINE contact, with room for mobile safe areas. */
.line-float {
    position: fixed;
    right: max(24px, env(safe-area-inset-right));
    bottom: calc(24px + env(safe-area-inset-bottom));
    z-index: 25;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 12px 20px;
    border: 1px solid #c9ad78;
    border-radius: 32px;
    background: #303222;
    color: #f6e8cc;
    box-shadow: 0 6px 24px #18291f35;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.4;
    transition: background .2s, transform .2s;
}
.line-float svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.line-float:hover {
    background: #454b32;
    transform: translateY(-3px);
}
.line-float:focus-visible {
    outline: 3px solid #d8b87d;
    outline-offset: 4px;
}
.menu-open .line-float {
    visibility: hidden;
}
.footer-line {
    margin-top: 12px;
    color: #e2d4ac;
    font-size: 15px;
}
.site-footer {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
}
@media (max-width: 650px) {
    .line-float {
        right: max(14px, env(safe-area-inset-right));
        bottom: calc(14px + env(safe-area-inset-bottom));
        min-height: 48px;
        padding: 10px 15px;
        gap: 7px;
    }
    .line-float svg {
        width: 25px;
        height: 25px;
    }
}
