@charset "UTF-8";
@layer theme, base, components, utilities;
/* 1. 共用設定：Tailwind 負責排版，品牌與章節細節集中於此。 */
@layer base {
  :root {
    --brand: #1b3029;
    --paper: #f7f6f1;
    --muted: #626d60;
    --line: #d9dbd1;
    --sage: #73816e;
    --u: min(0.0520833333vw, 1.25px);
    --page-gutter: 7.8125%;
    --serif: "Noto Serif TC", serif;
    --sans: "Noto Sans TC", sans-serif;
    --english: "Tinos", "Times New Roman", serif;
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    margin: 0;
    color: var(--brand);
    background: var(--paper);
    font-family: var(--sans);
  }
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  h1,
  h2,
  h3,
  p,
  figure,
  dl,
  dd {
    margin: 0;
  }
  img,
  video {
    display: block;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  button,
  input,
  select,
  textarea {
    font: inherit;
  }
  button,
  select,
  input[type="checkbox"] {
    cursor: pointer;
  }
  button,
  a,
  input,
  select,
  textarea {
    -webkit-tap-highlight-color: transparent;
  }
  :focus-visible {
    outline: 2px solid #73816e;
    outline-offset: 5px;
  }
  ::selection {
    color: white;
    background: #53684b;
  }
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
  }
}
@layer components {
  /* 2. 共用版面／文字／圖片 */
  .content {
    width: calc(100% - var(--page-gutter) * 2);
    max-width: 2025px;
    margin-inline: auto;
  }
  .section {
    scroll-margin-top: 24px;
  }
  .title-group {
    gap: calc(8 * var(--u));
    min-width: 0;
  }
  .section-title {
    font: 700 max(24px, calc(44 * var(--u)))/1.545 var(--serif);
    letter-spacing: 0.08em;
  }
  .section-title-en {
    font: 400 max(36px, calc(80 * var(--u)))/1.125 var(--english);
  }
  .section-subtitle {
    font: 700 max(18px, calc(32 * var(--u)))/1.6875 var(--serif);
  }
  .section-body {
    font: 400 max(16px, calc(26 * var(--u)))/1.53846 var(--sans);
    color: var(--muted);
    text-align: justify;
  }
  .copy-group {
    gap: calc(68 * var(--u));
    min-width: 0;
  }
  .mobile-punctuation,
  .hero-mobile-bottom {
    display: none;
  }
  .visual {
    margin: 0;
    isolation: isolate;
  }
  .visual > img,
  .visual > picture,
  .visual > picture > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .visual::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 42px -3px rgb(12 12 13 / 0.28);
    pointer-events: none;
  }
  .photo-note {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 10px;
    z-index: 1;
    font: 400 max(9px, calc(12 * var(--u)))/1.2 var(--sans);
    letter-spacing: 0.05em;
    color: white;
    /* text-shadow: 0 1px 4px #000; */
  }
  .paper-texture {
    position: relative;
    isolation: isolate;
    background-color: #fff;
  }
  .paper-texture::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: url("../src/2026/paper-texture.webp") left top / 500px 500px
      repeat;
    opacity: 0.35;
  }
  .paper-warm {
    background-color: var(--paper);
  }
  .btn-more {
    background: var(--brand);
    color: #fff;
    padding: 24px 32px;
    border: 0;
    font: 700 16px/1.2 var(--sans);
    letter-spacing: 0.05em;
    transition: background-color 0.2s;
  }
  .btn-more:hover {
    background: #344c40;
  }
  .btn-more:active {
    background: #14251f;
  }
  .skip-link {
    position: fixed;
    top: -100px;
    opacity: 0;
    left: 16px;
    padding: 12px 20px;
    z-index: 9999;
    color: white;
    background: var(--brand);
  }
  .skip-link:focus {
    top: 16px;
    opacity: 1;
  }
  /* 3. 首頁影片／品牌識別 */
  .hero {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .hero-media {
    top: 0;
    right: 0;
    width: 73.125%;
    height: 100%;
    /* background: url("../src/2026/hero-poster.jpg") center / cover; */
  }
  .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .hero-video.video-unavailable {
    visibility: hidden;
  }
  .hero-picture,
  .hero-picture > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-picture::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 42px -3px rgb(12 12 13 / 0.5);
    pointer-events: none;
  }
  .hero-panel {
    inset: 0 auto 0 0;
    width: 26.875%;
    background: url("../src/2026/sec1-bk.jpg") center / cover;
  }
  .hero-motto {
    position: absolute;
    top: 12.685%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(60 * var(--u));
    font: 500 calc(40 * var(--u))/1.6 var(--serif);
    letter-spacing: 0.24em;
  }
  .hero-motto span {
    display: block;
    writing-mode: vertical-rl;
    text-orientation: upright;
    /* height: calc(221 * var(--u)); */
    letter-spacing: clamp(12px, 1.25vw, 24px);
  }
  .hero-logo {
    position: absolute;
    top: 76.4815%;
    width: 66.18%;
  }
  .hero-logo img {
    max-width: 100%;
    height: auto;
  }
  .hero-logo-subtitle {
    margin-top: calc(20 * var(--u));
  }
  .hero-phone {
    position: absolute;
    top: 70%;
    width: 66.18%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(2px, 0.3vw, 6px);
    color: #d9ffcc;
    white-space: nowrap;
    font-family: Poppins, Arial, var(--sans);
  }
  .hero-phone span,
  .contact-phone span {
    border: 1px solid currentColor;
    padding: 0.4em 0.6em;
    font: 500 max(10px, calc(12 * var(--u)))/1.2 var(--sans);
  }
  .hero-phone strong {
    font-size: clamp(12px, 1.98vw, 38px);
    font-weight: 400;
  }
  .hero-phone span {
    font-size: clamp(8px, 0.625vw, 12px);
  }
  .hero-links {
    position: absolute;
    bottom: calc(34 * var(--u));
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-links a {
    flex-shrink: 0;
    border-radius: 50%;
    transition:
      opacity 0.2s,
      transform 0.2s;
  }
  .hero-links a:hover {
    opacity: 0.78;
    transform: translateY(-2px);
  }
  .hero-links img {
    width: 44px;
    height: 44px;
  }
  .reservation-link span {
    font: 700 16px/1 var(--sans);
  }
  .hero-photo-note {
    right: auto;
    left: 0;
  }
  .thankyou-motto {
    top: 23%;
    writing-mode: vertical-rl;
    text-orientation: upright;
  }
  .page-thankyou .hero {
    min-height: 100svh;
  }
  /* 4. ESG／冠德品牌 */
  .section-esg {
    aspect-ratio: 16 / 9;
  }
  .esg-image {
    width: 109.17%;
    max-width: none;
    height: 115.6%;
    left: -9.19%;
    top: -12.7%;
    object-fit: fill;
    transform: scaleX(-1);
  }
  .esg-shade {
    background:
      linear-gradient(270deg, rgb(8 9 6 / 0.65), transparent 44%),
      linear-gradient(90deg, rgb(8 9 6 / 0.3), transparent 35%);
  }
  .esg-title {
    top: 8.8%;
    right: 7.14%;
    font: 700 calc(44 * var(--u))/1.545 var(--serif);
    letter-spacing: 0.08em;
    text-shadow: 0 16px 32px rgb(12 12 13 / 0.4);
  }
  .esg-copy {
    right: 7.14%;
    bottom: 9.9%;
    width: 30.31%;
    gap: calc(42 * var(--u));
  }
  .section-esg .section-subtitle,
  .section-esg .section-body {
    color: #fff;
  }
  .section-esg .section-subtitle {
    text-align: right;
  }
  .esg-english {
    left: 7.8125%;
    bottom: 10.83%;
    font: 400 calc(24 * var(--u))/1 var(--english);
  }
  .section-brand {
    padding-block: calc(180 * var(--u));
  }
  .section-brand .content {
    grid-template-columns: minmax(0, 806fr) minmax(0, 578fr);
    column-gap: 14.5679%;
  }
  .section-brand .section-title-en {
    font-size: max(36px, calc(90 * var(--u)));
    line-height: 1;
    white-space: nowrap;
  }
  .interview-group {
    gap: calc(8 * var(--u));
  }
  .interview {
    aspect-ratio: 578 / 345;
  }
  .interview img {
    position: absolute;
    max-width: none;
  }
  .interview-chairman {
    width: 118.59%;
    height: 132.55%;
    left: -16.8%;
    top: -9.39%;
    object-fit: fill;
  }
  .interview-architect {
    width: 116%;
    height: 129.65%;
    left: -14.33%;
    top: -9.43%;
    object-fit: fill;
  }
  .interview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 62%, rgb(0 0 0 / 0.6));
    box-shadow: inset 0 0 42px rgb(12 12 13 / 0.3);
    pointer-events: none;
  }
  .interview figcaption {
    position: absolute;
    bottom: 9%;
    left: 5%;
    z-index: 1;
    color: #fff;
  }
  .interview figcaption span {
    display: block;
    font-size: max(10px, calc(16 * var(--u)));
    line-height: 1.7;
  }
  .interview figcaption strong {
    display: block;
    font-size: max(14px, calc(21 * var(--u)));
    line-height: 1.7;
  }
  /* 5. 地段／建築／公設 */
  .section-location {
    padding-block: calc(150 * var(--u));
  }
  .section-location .content {
    gap: calc(70 * var(--u));
  }
  .location-copy {
    grid-template-columns: minmax(0, 700fr) minmax(0, 807fr);
    gap: 6.9753%;
  }
  .location-title-break {
    display: block;
  }
  .location-description {
    gap: calc(35 * var(--u));
  }
  .location-visual {
    aspect-ratio: 1620 / 920;
  }
  .section-intro {
    padding-block: calc(150 * var(--u));
  }
  .section-intro .content {
    gap: calc(68 * var(--u));
    align-items: center;
    text-align: center;
  }
  .intro-body {
    gap: calc(68 * var(--u));
  }
  .section-intro .section-body {
    text-align: center;
  }
  .full-visual {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .architecture-visual img {
    object-fit: fill;
  }
  .exterior-visual > img {
    position: absolute;
    width: 102.77%;
    height: 117.53%;
    left: -1.39%;
    top: -11.43%;
    max-width: none;
    object-fit: fill;
  }
  .section-feature {
    padding-top: calc(110 * var(--u));
    padding-bottom: calc(140 * var(--u));
  }
  .section-feature .content {
    grid-template-columns: minmax(0, 620fr) minmax(0, 900fr);
    gap: 6.1728%;
  }
  .section-feature.feature-reverse .content {
    grid-template-columns: minmax(0, 900fr) minmax(0, 620fr);
  }
  .section-feature .visual {
    width: 100%;
    aspect-ratio: 9 / 8;
  }
  .section-feature .visual > img {
    object-fit: fill;
  }
  .section-balcony {
    padding-block: calc(150 * var(--u));
  }
  .balcony-visual {
    background: url("../src/2026/hero-poster.jpg") center / cover;
  }
  .balcony-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Figma 裁切約保留影片寬度的 47%、高度的 74%。 */
    object-position: left bottom;
    transform: scale(1.35);
    transform-origin: left bottom;
  }
  #section-pool .copy-group {
    gap: calc(32 * var(--u));
  }
  #section-pool .visual > img {
    object-fit: cover;
  }
  #section-golf .visual > img {
    /* position: absolute;
    width: 158.02%;
    height: 100%;
    left: -18.76%;
    top: 0;
    max-width: none;
    object-fit: fill; */
  }
  /* 6. 基本資訊／地圖 */
  .section-information {
    padding-top: calc(150 * var(--u));
    padding-bottom: calc(180 * var(--u));
  }
  .section-information .content {
    gap: calc(48 * var(--u));
  }
  .info-group {
    padding-bottom: calc(30 * var(--u));
  }
  .info-row {
    grid-template-columns: calc(180 * var(--u)) minmax(0, 1fr);
    gap: calc(50 * var(--u));
    padding-block: calc(22 * var(--u));
    border-bottom: 1px solid var(--line);
    font-size: max(16px, calc(26 * var(--u)));
    line-height: 1.53846;
  }
  .info-row dt {
    color: var(--sage);
  }
  .info-row dd {
    overflow-wrap: anywhere;
  }
  .info-features dd {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .map-group {
    gap: calc(48 * var(--u));
  }
  .map {
    /* aspect-ratio: 1620 / 920; */
  }

  /* 7. 預約表單／頁尾 */
  .section-form {
    padding-top: calc(150 * var(--u));
    padding-bottom: calc(180 * var(--u));
  }
  .section-form .content {
    gap: calc(48 * var(--u));
  }
  .contact-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(20 * var(--u));
    padding-top: calc(120 * var(--u));
    color: var(--brand);
  }
  .contact-phone span {
    font-size: max(16px, calc(28 * var(--u)));
  }
  .contact-phone strong {
    font:
      400 max(28px, calc(56 * var(--u)))/1.2 Poppins,
      Arial,
      var(--sans);
  }
  .reservation-fields {
    gap: max(10px, calc(10 * var(--u)));
  }
  .form-field {
    border: 1px solid #c6c6c6;
    border-radius: 0;
    min-width: 0;
    background-color: white;
    color: #333;
    padding: 16px 20px;
    height: max(auto, calc(68 * var(--u)));
    font:
      400 max(14px, calc(18 * var(--u)))/1.6 "Inter",
      var(--sans);
  }
  .form-field::placeholder {
    color: #626d60;
    opacity: 1;
  }
  select.form-field {
    appearance: none;
    padding-right: 42px;
    background-image: url("../src/2026/7f686.svg");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 21.176px 9px;
  }
  .message-field {
    display: block;
    height: calc(280 * var(--u));
    min-height: 120px;
    margin-top: calc(21 * var(--u));
    resize: vertical;
  }
  .privacy-group {
    gap: 12px;
    padding-block: calc(35 * var(--u));
    font-size: max(12px, calc(16 * var(--u)));
    line-height: 1.4;
    color: #333;
    text-align: start;
  }
  .privacy-group input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: var(--brand);
  }
  .privacy-group strong,
  .privacy-open {
    color: #576a4a;
  }
  .privacy-open {
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .privacy-dialog {
    position: fixed;
    inset: 0;
    width: min(600px, 90vw);
    max-height: 80dvh;
    margin: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--brand);
    box-shadow: 0 20px 60px rgb(0 0 0 / 25%);
  }
  .privacy-dialog::backdrop {
    background: rgb(0 0 0 / 55%);
  }
  .privacy-close {
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--brand);
  }
  .privacy-dialog-body {
    max-height: min(60dvh, calc(80dvh - 90px));
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--muted);
    font-size: 16px;
    line-height: 2;
  }
  html.privacy-modal-open {
    overflow: hidden;
  }
  .site-footer {
    gap: 8px;
    padding: 23px 30px;
    font-size: 12px;
    line-height: 1.6;
  }
  /* 8. 平板／手機版 */
  @media (max-width: 991px) {
    :root {
      --page-gutter: 7.2093%;
    }
    .content {
      max-width: 640px;
    }
    .title-group {
      gap: 5px;
    }
    .section-title {
      font-size: 24px;
      line-height: 1.55;
      letter-spacing: 0;
    }
    .section-title-en {
      font-size: 36px;
      line-height: 1.15;
    }
    .section-subtitle {
      font-size: 20px;
      line-height: 1.55;
      font-weight: 600;
    }
    .section-body {
      font-size: 14px;
      line-height: 1.7;
    }
    .copy-group {
      gap: 36px;
    }
    .photo-note {
      font-size: 8px;
      line-height: 1.7;
      padding: 7px 8px;
    }
    .mobile-break {
      display: block;
      font-size: 0;
      line-height: 0;
    }
    .desktop-break {
      display: none;
    }
    .mobile-punctuation {
      display: inline;
    }
    .hero {
      height: min(197.6744vw, 960px);
      min-height: 640px;
      aspect-ratio: auto;
    }
    .hero-media {
      inset: 0;
      width: 100%;
    }
    .hero-panel {
      inset: 0;
      width: 100%;
      background: linear-gradient(
        transparent 35%,
        rgb(3 14 9 / 0.2) 55%,
        rgb(3 14 9 / 0.8) 100%
      );
    }
    /* 首頁手機版：上方建築、中間 Logo、下方入口；感謝頁沿用原版。 */
    .home-hero .hero-media {
      height: 40%;
    }
    .home-hero .hero-media::after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 25%;
      background: linear-gradient(transparent, var(--brand));
      pointer-events: none;
    }
    .home-hero .hero-mobile-bottom {
      display: block;
      position: absolute;
      inset: auto 0 0;
      height: 40%;
      background: url("../src/2026/hero-mobile-bottom.webp") 28.31% 43.45% /
        165.42% 160.97% no-repeat;
      overflow: hidden;
    }
    .home-hero .hero-mobile-bottom::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(var(--brand), transparent 25%);
      box-shadow: inset 0 0 42px -3px rgb(12 12 13 / 0.5);
      pointer-events: none;
    }
    .home-hero .hero-panel {
      background: none;
      pointer-events: none;
    }
    .home-hero .hero-motto {
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip-path: inset(50%);
    }
    .home-hero .hero-logo {
      top: 44.35%;
      width: 58.78%;
      max-width: 253px;
      pointer-events: auto;
    }
    .home-hero .hero-logo-subtitle {
      margin-top: min(3.4vw, 15px);
    }
    .hero-motto {
      top: 17.7%;
      gap: 66px;
      font-size: 20px;
      line-height: 1.7;
      text-shadow: 9px 9px 36px rgb(0 0 0 / 0.4);
    }
    .hero-motto span {
      /* height: 136px; */
    }
    .hero-logo {
      top: 74%;
      width: 65.094%;
      max-width: 280px;
    }
    .hero-logo img {
      width: auto;
      max-width: 100%;
    }
    .hero-logo-subtitle {
      margin-top: 17px;
    }
    .hero-links {
      bottom: 3.176%;
    }
    .hero-photo-note {
      top: 0;
      bottom: auto;
      left: 0;
      right: 0;
      text-align: center;
      opacity: 0.4;
    }
    .home-hero .hero-photo-note {
      font-size: 12px;
      opacity: 0.25;
    }
    .thankyou-motto {
      top: 20%;
    }
    .page-thankyou .hero {
      min-height: 100svh;
    }
    .section-esg {
      aspect-ratio: auto;
      height: 687px;
    }
    .esg-image {
      width: 1012.41px;
      height: 140.265vw;
      left: 70.0465%;
      top: 181.81px;
      object-fit: fill;
      transform: translate(-50%, -50%) rotate(90deg);
    }
    .esg-shade {
      background:
        linear-gradient(
          transparent 35%,
          rgb(8 9 6 / 0.6) 75%,
          rgb(8 9 6 / 0.75)
        ),
        linear-gradient(90deg, rgb(8 9 6 / 0.35), transparent 70%);
    }
    .esg-title {
      left: var(--page-gutter);
      right: auto;
      top: 43px;
      font-size: 24px;
      line-height: 1.55;
      letter-spacing: 0.08em;
    }
    .esg-copy {
      left: calc(var(--page-gutter) + 4px);
      right: var(--page-gutter);
      width: auto;
      max-width: 640px;
      top: 412px;
      bottom: auto;
      gap: 24px;
    }
    .esg-copy .section-subtitle {
      font-size: 20px;
      text-align: left;
    }
    .esg-copy .section-body {
      font-size: 14px;
      letter-spacing: -0.03em;
      width: calc(100% - 13px);
    }
    .esg-english {
      left: auto;
      right: 27px;
      top: 49px;
      bottom: auto;
      text-align: right;
      font-size: 12px;
      line-height: 1;
    }
    .section-brand {
      padding-block: 100px;
    }
    .section-brand,
    .section-information {
      background-image:
        linear-gradient(rgb(255 255 255 / 0.65), rgb(255 255 255 / 0.65)),
        url("../src/2026/paper-texture.webp");
      background-size:
        auto,
        500px 500px;
    }
    .section-brand .content {
      grid-template-columns: minmax(0, 1fr);
      gap: 36px;
    }
    .section-brand .section-title-en {
      font-size: 36px;
      line-height: 1.15;
      white-space: normal;
    }
    .interview-group {
      gap: 4px;
    }
    .interview {
      aspect-ratio: 368 / 209;
    }
    .interview-chairman {
      width: 117.71%;
      height: 138.28%;
      left: -16.53%;
      top: -5.63%;
    }
    .interview-architect {
      width: 119.45%;
      height: 140.31%;
      left: -18.04%;
      top: -13.09%;
    }
    .interview figcaption {
      bottom: 5%;
      left: 5%;
    }
    .interview figcaption span {
      font-size: 10px;
      line-height: 1.7;
    }
    .interview figcaption strong {
      font-size: 14px;
      line-height: 1.7;
    }
    .section-location {
      padding-block: 60px;
    }
    .section-location .content {
      gap: 36px;
    }
    .location-copy {
      grid-template-columns: minmax(0, 1fr);
      gap: 36px;
    }
    .location-title-break {
      display: inline;
    }
    .location-description {
      gap: 36px;
    }
    .location-visual {
      aspect-ratio: 368 / 209;
    }
    .section-intro {
      padding-block: 60px;
    }
    .section-intro .content {
      align-items: stretch;
      text-align: left;
      gap: 60px;
    }
    .intro-body {
      gap: 36px;
    }
    .section-intro .section-body {
      text-align: left;
    }
    .full-visual {
      aspect-ratio: 430 / 420;
    }
    .arrival-visual > img {
      position: absolute;
      width: 191.01%;
      height: 110%;
      left: -40.7%;
      top: -8%;
      max-width: none;
      object-fit: fill;
    }
    .exterior-visual > img {
      width: 176.17%;
      height: 117.14%;
      left: -38.09%;
      top: -10.71%;
    }
    .section-feature,
    .section-balcony {
      padding-block: 60px;
    }
    .section-feature .content,
    .section-feature.feature-reverse .content {
      grid-template-columns: minmax(0, 1fr);
      gap: 36px;
    }
    .section-feature .visual {
      aspect-ratio: 368 / 327;
    }
    #section-pool .copy-group {
      gap: 36px;
    }
    .section-information,
    .section-form {
      padding-block: 100px;
    }
    .section-information .content,
    .section-form .content {
      gap: 36px;
    }
    .info-group {
      padding-bottom: 0;
    }
    .info-row {
      grid-template-columns: 78px minmax(0, 1fr);
      gap: 16px;
      padding-block: 14px;
      font-size: 14px;
      line-height: 1.7;
    }
    .info-row dd {
      font-size: 16px;
    }
    .info-features dd {
      gap: 10px;
      line-height: 1.4;
      text-align: justify;
    }
    .map {
      aspect-ratio: 368 / 209;
    }
    .map-group {
      width: 100%;
      gap: 36px;
    }
    .map-card {
      top: 12px;
      left: 12px;
      padding: 8px;
      max-width: calc(100% - 24px);
    }
    .map-card strong {
      font-size: 12px;
    }
    .map-card span {
      font-size: 9px;
    }
    .map-attribution {
      width: 55%;
    }
    .btn-more {
      padding: 17px 20px;
      font-size: 14px;
      line-height: 1.7;
      font-weight: 400;
    }
    .map-group .btn-more {
      width: 100%;
    }
    .reservation-fields {
      gap: 12px;
    }
    .form-field {
      height: 48px;
      padding: 12px 16px;
      border-color: var(--line);
      font-family: var(--sans);
      font-size: 14px;
      line-height: 1.7;
      color: var(--muted);
    }
    .message-field {
      height: 120px;
      margin-top: 12px;
    }
    .privacy-group {
      gap: 10px;
      padding-block: 16px;
      text-align: left;
      font-size: 12px;
      line-height: 1.7;
      color: var(--muted);
    }
    .privacy-group input {
      width: 16px;
      height: 16px;
    }
    .site-footer {
      padding: 32px 31px 48px;
      text-align: center;
      font-size: 10px;
      line-height: 1.7;
    }
  }
  /* 平板維持圖片比例，填滿區塊並依位置裁切。 */
  @media (min-width: 600px) and (max-width: 991px) {
    .home-hero .hero-mobile-bottom {
      background-size: cover;
      background-position: center;
    }
    .section-esg .esg-image {
      width: 687px;
      height: 100vw;
      left: 50%;
      top: 50%;
      object-fit: cover;
      transform: translate(-50%, -50%) rotate(90deg);
    }
  }
  @media (min-width: 992px) and (max-width: 1199px) {
    .section-esg .esg-image {
      object-fit: cover;
    }
  }
  @media (max-width: 389px) {
    .section-title {
      font-size: 22px;
    }
    .section-title-en,
    .section-brand .section-title-en {
      font-size: 32px;
    }
    .section-subtitle {
      font-size: 18px;
    }
    .hero-motto {
      gap: 42px;
    }
    .info-row {
      grid-template-columns: 76px minmax(0, 1fr);
      gap: 12px;
    }
  }

  /* 手機／平板間距測試：改成 1 即可還原下方列出的原始間距。 */
  @media (max-width: 991px) {
    :root {
      --mobile-spacing-factor: 0.5;
    }
    .home-hero .hero-media,
    .home-hero .hero-mobile-bottom {
      height: 35.4%;
    }
    .home-hero .hero-media::after {
      display: none;
    }
    .home-hero .hero-mobile-bottom::after {
      background: none;
    }
    .home-hero .hero-logo {
      top: 41.8%;
      width: 67.25%;
      max-width: 289px;
    }
    .home-hero .hero-phone {
      top: 54%;
      width: 67.25%;
      max-width: 289px;
      justify-content: space-between;
      gap: 4px;
      pointer-events: auto;
    }
    .home-hero .hero-phone strong {
      font-size: min(7.44vw, 32px);
    }
    .home-hero .hero-phone span {
      font-size: min(2.79vw, 12px);
    }
    .title-group {
      row-gap: calc(5px * var(--mobile-spacing-factor));
    }
    .copy-group {
      row-gap: calc(36px * var(--mobile-spacing-factor));
    }
    .section-brand,
    .section-information,
    .section-form {
      padding-block: calc(100px * var(--mobile-spacing-factor));
    }
    .section-location,
    .section-intro,
    .section-feature,
    .section-balcony {
      padding-block: calc(60px * var(--mobile-spacing-factor));
    }
    .section-brand .content,
    .section-location .content,
    .location-copy,
    .location-description,
    .intro-body,
    .section-feature .content,
    .section-feature.feature-reverse .content,
    #section-pool .copy-group,
    .section-information .content,
    .section-form .content,
    .map-group {
      row-gap: calc(36px * var(--mobile-spacing-factor));
    }
    .section-intro .content {
      row-gap: calc(60px * var(--mobile-spacing-factor));
    }
    .interview-group {
      row-gap: calc(4px * var(--mobile-spacing-factor));
    }
    .info-row {
      padding-block: calc(14px * var(--mobile-spacing-factor));
    }
    .info-features dd {
      gap: 0;
    }
    .reservation-fields {
      row-gap: calc(12px * var(--mobile-spacing-factor));
    }
    .message-field {
      margin-top: calc(12px * var(--mobile-spacing-factor));
    }
    .privacy-group {
      padding-block: calc(16px * var(--mobile-spacing-factor));
    }
    .contact-phone {
      padding-top: calc(80px * var(--mobile-spacing-factor));
      gap: calc(20px * var(--mobile-spacing-factor));
    }
    .contact-phone span {
      font-size: 12px;
    }
    .contact-phone strong {
      font-size: 28px;
    }
  }
}

/* 9. 滾動動畫：預設可見，僅在套件成功載入後由 JS 控制入場。 */
@layer components {
  html.motion-active,
  html.motion-smooth {
    /* ScrollTrigger 測量與還原捲動位置時不可被 CSS smooth 延遲，手機原生滑動不受影響。 */
    scroll-behavior: auto !important;
  }
  .motion-accessible {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .motion-word {
    display: inline-block;
  }
  .motion-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
  }
  .motion-media::after {
    content: none;
  }
}
