/* Aurora Travel Singapore — 2026 redesign
   System font stacks only: no web-font requests, so pages load fast in mainland China too. */

:root {
  --ink: #241a4d;
  --violet: #3b1f8f;
  --iris: #6a4fc4;
  --lilac: #cfc3f0;
  --mist: #f5f2fb;
  --paper: #ffffff;
  --muted: #655e85;
  --line: #e4ddf3;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", STSong, SimSun, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}

html[lang="en"] body { line-height: 1.65; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

:focus-visible { outline: 2px solid var(--iris); outline-offset: 3px; border-radius: 4px; }

[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; gap: 28px;
  min-height: var(--header-h);
}

.brand { flex: none; display: block; }
.brand img { height: 50px; width: auto; }

.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav-links a { padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover { color: var(--violet); border-bottom-color: var(--lilac); }

.header-tools { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  min-width: 52px; height: 38px; padding: 0 12px;
  border: 1px solid var(--lilac); border-radius: 999px;
  background: transparent; color: var(--violet);
  font: 600 14px var(--sans); cursor: pointer;
}
.lang-toggle:hover { background: var(--mist); }

.menu-button {
  display: none; width: 42px; height: 38px; padding: 0 10px;
  border: 1px solid var(--lilac); border-radius: 999px; background: transparent; color: var(--violet); cursor: pointer;
}
.menu-button span { display: block; height: 1.5px; margin: 5px 0; background: currentColor; }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border: 1px solid var(--violet); border-radius: 999px;
  font: 600 15px var(--sans); cursor: pointer; text-align: center;
  transition: background-color .15s, color .15s;
}
.btn-solid { color: #fff; background: var(--violet); }
.btn-solid:hover { background: #2c1570; }
.btn-line { color: var(--violet); background: transparent; }
.btn-line:hover { background: var(--mist); }
.btn-small { min-height: 38px; padding: 0 18px; font-size: 14px; }

.more {
  display: inline-block; color: var(--violet); font-weight: 600; font-size: 15px;
  border-bottom: 1px solid var(--lilac); padding-bottom: 1px;
}
.more:hover { border-bottom-color: var(--violet); }

/* ---------- Hero ---------- */

.hero { overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }

.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.18; letter-spacing: 0.01em; color: var(--violet);
  margin-bottom: 22px;
}
html[lang="en"] .hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.12; letter-spacing: -0.01em; }

.hero-copy { max-width: 34em; color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); margin-bottom: 30px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.hero-licence {
  display: flex; flex-wrap: wrap; gap: 6px 28px;
  padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.hero-licence strong { color: var(--ink); font-weight: 600; }

/* The signature: the logo's ring and flight path, drawn around the skyline */
.hero-art { position: relative; aspect-ratio: 1; width: min(100%, 540px); justify-self: center; }

.hero-photo {
  position: absolute; inset: 7%;
  border-radius: 50%;
  background: url("assets/singapore-hero.jpg") 84% 50% / cover no-repeat;
  box-shadow: 0 30px 70px -30px rgba(59, 31, 143, 0.45);
}

.hero-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-ring .arc { fill: none; stroke-linecap: round; }
.hero-ring .arc-1 { stroke: var(--iris); stroke-width: .9; }
.hero-ring .arc-2 { stroke: var(--lilac); stroke-width: 2.6; }
.hero-ring .trail { stroke: var(--iris); stroke-width: 1.4; fill: none; stroke-linecap: round; opacity: .7; }
.hero-ring .plane { fill: var(--violet); }

@media (prefers-reduced-motion: no-preference) {
  .hero-ring .arc, .hero-ring .trail {
    stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: draw 1.6s cubic-bezier(.6, 0, .2, 1) .15s forwards;
  }
  .hero-ring .arc-2 { animation-delay: .35s; }
  .hero-ring .trail { animation-duration: .9s; animation-delay: 1.1s; }
  .hero-ring .plane { opacity: 0; animation: land .5s ease-out 1.75s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes land { from { opacity: 0; transform: translate(-14px, 9px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */

.section { padding-block: clamp(64px, 8vw, 112px); }
.section-mist { background: var(--mist); }

.section-head { max-width: 40em; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); color: var(--violet); margin-bottom: 14px; }
.section-head p { color: var(--muted); }

/* Services: a quiet two-column index with hairlines, not a card grid */
.service-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 88px);
  border-top: 1px solid var(--line);
}
.service-list li { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.service-list h3 { font-size: 21px; margin-bottom: 6px; }
.service-list p { color: var(--muted); max-width: 30em; }
.service-list .more { margin-top: 12px; }

/* Fleet */
.fleet-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.fleet-layout > *, .detail-body > * { min-width: 0; }
.fleet-layout .section-head { margin-bottom: 0; }
.fleet-layout .btn { margin-top: 26px; }

.fleet-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.fleet-table caption { text-align: left; color: var(--muted); font-size: 14px; padding-bottom: 12px; }
.fleet-table th, .fleet-table td { padding: 15px 10px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.fleet-table thead th { font-weight: 600; font-size: 14px; color: var(--muted); border-bottom-color: var(--lilac); line-height: 1.35; }
.fleet-table th:first-child, .fleet-table td:first-child { text-align: left; padding-left: 0; }
.fleet-table tbody th { font: 600 17px var(--serif); color: var(--ink); white-space: nowrap; }
.fleet-table .yes, .fleet-table .no { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.fleet-table .yes { background: var(--violet); }
.fleet-table .no { width: 12px; height: 1.5px; border-radius: 0; background: #a99bd6; }
.table-scroll { overflow-x: auto; }

.fine-print { margin-top: 22px; display: grid; gap: 8px; color: var(--muted); font-size: 14.5px; }
.fine-print li { position: relative; padding-left: 18px; }
.fine-print li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1px; background: var(--iris); }

/* Sample plans */
.plan-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 48px); }
.plan { padding-top: 22px; border-top: 2px solid var(--violet); }
.plan-days { font: italic 600 30px var(--serif); color: var(--iris); line-height: 1; margin-bottom: 14px; }
html[lang="zh-CN"] .plan-days { font-style: normal; }
.plan h3 { font-size: 21px; margin-bottom: 4px; }
.plan-route { font-weight: 600; margin-bottom: 10px; }
.plan p { color: var(--muted); }
.plan .plan-route { color: var(--ink); }
.plan .more { margin-top: 14px; }

/* China */
.china-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.china-layout .section-head { margin-bottom: 0; }
.status-tag {
  display: inline-block; margin-bottom: 16px; padding: 3px 14px;
  border: 1px solid var(--lilac); border-radius: 999px;
  color: var(--violet); font-size: 13.5px; font-weight: 600; background: #fff;
}
.china-themes { border-top: 1px solid var(--line); }
.china-themes li { padding: 16px 0; border-bottom: 1px solid var(--line); font: 600 19px var(--serif); }

/* About */
.about-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-logo { width: 220px; }
.about-layout .section-head { margin-bottom: 26px; max-width: 44em; }
.about-points { display: grid; gap: 10px; margin-bottom: 30px; font-weight: 600; }
.about-points li { position: relative; padding-left: 26px; }
.about-points li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px;
  background: var(--iris); transform: rotate(45deg) scale(.8);
}

.licence-card {
  display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 6px 40px; align-items: end;
  padding: 22px 26px; border: 1px solid var(--lilac); border-radius: 14px; background: var(--mist);
}
.licence-card p { display: grid; font-weight: 600; }
.licence-card .k { font-size: 13.5px; font-weight: 400; color: var(--muted); }
.licence-card .licence-no { font: 600 24px var(--serif); color: var(--violet); line-height: 1.3; }
.licence-card .more { justify-self: end; }

/* Contact */
.contact { color: #fff; background: var(--violet); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 14px; }
.contact-copy { color: rgba(255, 255, 255, 0.8); max-width: 32em; }

.contact-methods { margin-top: 34px; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.contact-methods > * {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.contact-methods span { color: rgba(255, 255, 255, 0.72); font-size: 14.5px; }
.contact-methods strong { font: 600 18px var(--serif); overflow-wrap: anywhere; }
.contact-methods a:hover strong { text-decoration: underline; text-underline-offset: .2em; }

.inquiry-form {
  display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px);
  border-radius: 18px; background: #fff; color: var(--ink);
}
.inquiry-form label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font: 400 16px var(--sans);
}
.inquiry-form textarea { resize: vertical; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus {
  outline: none; border-color: var(--iris); box-shadow: 0 0 0 3px rgba(106, 79, 196, 0.16);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.copy-status { font-size: 14.5px; color: var(--muted); }
.copy-status:empty { display: none; }

/* Footer */
.site-footer { padding-block: 40px; background: #1c1340; color: rgba(255, 255, 255, 0.74); font-size: 14.5px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px 48px; flex-wrap: wrap; }
.footer-inner strong { display: block; color: #fff; font: 600 18px var(--serif); margin-bottom: 4px; }
.footer-inner a { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgba(255, 255, 255, 0.4); }
.footer-inner a:hover { text-decoration-color: #fff; }
.footer-contact { text-align: right; }

.mobile-bar { display: none; }

/* ---------- Detail pages ---------- */

.detail-hero { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); overflow: hidden; }
.detail-hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  padding-block: clamp(40px, 6vw, 80px);
}
.crumb { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.crumb a { border-bottom: 1px solid var(--lilac); }
.crumb a:hover { color: var(--violet); }
.detail-hero h1 { font-size: clamp(32px, 4.4vw, 54px); color: var(--violet); margin-bottom: 18px; }
.detail-hero .hero-copy { margin-bottom: 26px; }
.detail-hero .hero-art { width: min(100%, 380px); }

.detail-body {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  gap: clamp(32px, 6vw, 88px); align-items: start;
  padding-block: clamp(48px, 6vw, 88px);
}
.detail-body h2 { font-size: clamp(24px, 2.6vw, 32px); color: var(--violet); margin-bottom: 14px; }
.detail-body section + section { margin-top: clamp(40px, 5vw, 64px); }
.detail-body section > p { color: var(--muted); max-width: 40em; }

.itinerary { margin-top: 24px; border-top: 1px solid var(--line); }
.itinerary li { display: grid; grid-template-columns: 5.5em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.itinerary strong { font: 600 18px var(--serif); color: var(--violet); }
html[lang="en"] .itinerary strong { font-style: italic; }

.faq { border-top: 1px solid var(--line); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; padding: 18px 40px 18px 0; cursor: pointer; list-style: none;
  font: 600 18px/1.45 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 1.5px solid var(--iris); border-bottom: 1.5px solid var(--iris);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 40em; }

.checklist {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: 28px; border: 1px solid var(--lilac); border-radius: 18px; background: var(--mist);
}
.checklist h2 { font-size: 22px; }
.checklist ul { display: grid; gap: 10px; margin: 6px 0 24px; }
.checklist li { position: relative; padding-left: 22px; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px;
  background: var(--iris); transform: rotate(45deg) scale(.8);
}
.checklist .btn { width: 100%; }
.checklist .related { display: block; margin-top: 18px; font-size: 14.5px; color: var(--violet); text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--lilac); }

.option-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 48px); margin-top: 20px; border-top: 1px solid var(--line); }
.option-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.option-list h3 { font-size: 19px; margin-bottom: 4px; }
.option-list p { color: var(--muted); font-size: 15px; }

/* ---------- Feedback, WeChat, Xiaohongshu (added) ---------- */
.feedback-wall { columns: 3; column-gap: clamp(16px, 2.4vw, 28px); }
.feedback-wall figure { margin: 0 0 clamp(16px, 2.4vw, 28px); break-inside: avoid; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.feedback-wall img { width: 100%; height: auto; }
.feedback-wall figcaption { padding: 12px 16px 14px; font-size: 14.5px; color: var(--muted); border-top: 1px solid var(--line); }

.copy-btn {
  flex: none; padding: 3px 12px; border: 1px solid currentColor; border-radius: 999px;
  background: transparent; color: inherit; font: 600 13px var(--sans); cursor: pointer; opacity: .85;
}
.copy-btn:hover { opacity: 1; }
.contact-methods .copy-row { align-items: center; }
.contact-methods .copy-row strong { margin-left: auto; }

.xhs { margin-top: 34px; }
.xhs h3 { font-size: 20px; margin-bottom: 16px; }
.xhs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.xhs-card { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 14px; }
.xhs-card img { flex: none; width: 96px; height: 96px; padding: 5px; border-radius: 8px; background: #fff; }
.xhs-card p { display: grid; gap: 2px; font-size: 14px; color: rgba(255, 255, 255, 0.76); min-width: 0; }
.xhs-card strong { color: #fff; font: 600 17px var(--serif); }
.xhs-id { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; }
.footer-social { display: block; margin-top: 6px; }

@media (max-width: 1040px) { .xhs-list { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .feedback-wall { columns: 2; } }
@media (max-width: 520px) { .feedback-wall { columns: 1; } }

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .nav-links { gap: 18px; font-size: 14.5px; }
  .header-inner { gap: 18px; }
  .header-tools .btn { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  body { padding-bottom: 64px; }

  .brand img { height: 42px; }
  .menu-button { display: block; }
  .header-tools { margin-left: auto; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 4px var(--gutter) 14px;
    background: #fff; border-bottom: 1px solid var(--line); font-size: 16px;
    box-shadow: 0 24px 40px -24px rgba(36, 26, 77, 0.3);
  }
  .menu-open .nav-links { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav-links a:last-child { border-bottom: 0; }

  .hero-inner, .detail-hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; width: min(76%, 340px); }
  .detail-hero .hero-art { display: none; }
  .hero-inner { padding-top: 28px; }

  .service-list, .plan-list, .fleet-layout, .china-layout, .contact-layout, .detail-body, .option-list { grid-template-columns: 1fr; }
  .plan-list { gap: 36px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-logo { width: 150px; }
  .licence-card { grid-template-columns: 1fr 1fr; }
  .licence-card .more { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
  .checklist { position: static; }
  .footer-contact { text-align: left; }

  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: repeat(4, 1fr);
    height: 64px; background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    display: grid; place-items: center; align-content: center; gap: 3px;
    font-size: 12px; color: var(--muted);
  }
  .mobile-bar svg { width: 21px; height: 21px; stroke: var(--violet); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-bar .primary { color: #fff; background: var(--violet); }
  .mobile-bar .primary svg { stroke: #fff; }
}

@media (max-width: 520px) {
  .form-row, .form-actions { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .fleet-table { font-size: 14px; }
  .fleet-table th, .fleet-table td { padding: 13px 5px; }
  .fleet-table tbody th { font-size: 15.5px; white-space: normal; }
  .itinerary li { grid-template-columns: 1fr; gap: 2px; }
  .licence-card { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
