@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #FFF8EE;
  --ink: #1F1B24;
  --muted: #5C5563;
  --line: #EADFCF;
  --coral: #E4572E;
  --coral-dark: #B83F1C;
  --sun: #FFC857;
  --peach: #FFD9C2;
  --pink: #F8D3DC;
  --lilac: #E3DAF6;
  --mint: #CDEFE6;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 12px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 12px; z-index: 10; }

/* header */
header { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 21px/1 var(--serif); letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; }
nav ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
nav a { display: block; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); padding: 8px 14px; border-radius: 999px; }
nav a:hover, nav a:focus-visible { background: rgba(255,255,255,.65); }
nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* hero: a sunrise wash behind the header and headline */
.sky {
  background:
    radial-gradient(60% 80% at 12% 10%, var(--sun) 0%, rgba(255,200,87,0) 60%),
    radial-gradient(55% 75% at 88% 18%, var(--pink) 0%, rgba(248,211,220,0) 65%),
    radial-gradient(60% 70% at 70% 95%, var(--lilac) 0%, rgba(227,218,246,0) 70%),
    radial-gradient(50% 60% at 20% 95%, var(--mint) 0%, rgba(205,239,230,0) 70%),
    var(--peach);
}
.hero { padding: 132px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; margin: 0 0 22px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.7); font-size: 14px; font-weight: 600; color: var(--coral-dark);
}
.hero h1 {
  font: 400 clamp(48px, 7.4vw, 100px)/1.0 var(--serif); letter-spacing: -0.035em;
  margin: 0 0 26px; max-width: 11ch;
}
.hero h1 em { font-style: italic; color: var(--coral); }
.hero .sub { font-size: clamp(18px, 2vw, 21px); color: #3E3745; max-width: 38ch; margin: 0 0 34px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px;
  border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--coral-dark); }
.btn-line { border: 2px solid var(--ink); }
.btn-line:hover { background: rgba(255,255,255,.7); }

/* passport stamps */
.stamps { position: relative; height: 430px; }
.stamp {
  position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: 168px; height: 168px; border-radius: 50%; text-decoration: none;
  box-shadow: 0 14px 30px rgba(60, 30, 40, .18); transition: transform .2s ease;
}
.stamp::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 2px dashed currentColor; opacity: .55; }
.stamp .s-icon svg { width: 58px; height: 58px; display: block; }
.stamp .s-name { font: 600 16px/1 var(--serif); letter-spacing: .01em; }
.stamp-travelmogg { background: #0a1324; color: #e7edf7; top: 0; left: 4%; transform: rotate(-9deg); }
.stamp-expathomes { background: #0f3f3b; color: #ecfdf8; top: 36px; right: 4%; transform: rotate(6deg); }
.stamp-kinboop { background: linear-gradient(135deg, #f8d3dc, #e3daf6); color: #ad4468; bottom: 34px; right: 12%; transform: rotate(-5deg); width: 176px; height: 176px; }
.stamp-danang { background: #1f4d3a; color: #faf6ee; bottom: 0; left: 12%; transform: rotate(4deg); }
.stamp:hover { transform: rotate(0deg) scale(1.05); }

.route { display: block; width: 100%; height: 90px; margin-top: 30px; }

/* section labels */
section h2.label {
  font: 700 13px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--coral-dark); margin: 0 0 12px;
}
.section-lead { font: 400 clamp(28px, 3.4vw, 40px)/1.15 var(--serif); letter-spacing: -0.02em; margin: 0 0 40px; max-width: 22ch; }

/* product cards, each in its app's own colours */
#products { padding: 80px 0 96px; }
.product {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start;
  padding: 44px 48px; border-radius: 28px; margin-bottom: 22px;
}
.p-icon svg { width: 64px; height: 64px; display: block; margin-bottom: 18px; }
.product h3 { font: 400 clamp(34px, 4vw, 48px)/1.05 var(--serif); letter-spacing: -0.02em; margin: 0 0 12px; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.product p { margin: 0 0 22px; max-width: 54ch; font-size: 18px; }
.visit {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none;
  padding: 12px 20px; border-radius: 999px; transition: transform .15s ease;
}
.visit:hover { transform: translateX(3px); }
.visit svg { width: 14px; height: 14px; }

.theme-travelmogg { background: #0a1324; color: #e7edf7; }
.theme-travelmogg .tag { background: #13203a; color: #22d3ee; }
.theme-travelmogg .visit { background: #2563eb; color: #fff; }
.theme-travelmogg .visit:hover { background: #1d4ed8; }

.theme-expathomes { background: #0f3f3b; color: #ecfdf8; }
.theme-expathomes .tag { background: #0a2e2b; color: #5eead4; }
.theme-expathomes .visit { background: #5eead4; color: #042f2e; }
.theme-expathomes .visit:hover { background: #2dd4bf; }

.theme-kinboop { background: linear-gradient(135deg, #fce8ec 0%, #f8d3dc 45%, #e3daf6 100%); color: #2e2a33; }
.theme-kinboop .tag { background: #fff; color: #ad4468; }
.theme-kinboop .visit { background: #ad4468; color: #fff; }
.theme-kinboop .visit:hover { background: #93365a; }

.theme-danang { background: #1f4d3a; color: #faf6ee; }
.theme-danang .tag { background: #173a2c; color: #c9d8c2; }
.theme-danang .visit { background: #f2b84b; color: #1f2a22; }
.theme-danang .visit:hover { background: #e6a832; }

/* about */
.band {
  padding: 96px 0;
  background:
    radial-gradient(45% 80% at 100% 0%, rgba(255,200,87,.18) 0%, rgba(255,200,87,0) 60%),
    #B5401B;
  color: #fff;
}
.band h2.label { color: #FFE7C2; }
.cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.band p { margin: 0 0 16px; max-width: 58ch; }
.lead { font: 400 clamp(28px, 3vw, 36px)/1.25 var(--serif); letter-spacing: -0.015em; margin-bottom: 24px; }

/* contact */
#contact { padding: 96px 0 104px; }
.mail { font: 400 clamp(28px, 3.6vw, 44px)/1.2 var(--serif); text-decoration: none; background: linear-gradient(transparent 62%, var(--sun) 62%); padding: 0 4px; }
.mail:hover, .mail:focus-visible { background: linear-gradient(transparent 0%, var(--sun) 0%); }
#contact .note { color: var(--muted); margin: 20px 0 0; max-width: 50ch; }
dl.facts {
  display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; margin: 36px 0 0; padding: 26px 28px;
  background: #fff; border-radius: 20px; box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(60, 30, 40, .06);
}
dl.facts dt { color: var(--muted); font-size: 15px; }
dl.facts dd { margin: 0; }

/* document pages: privacy, terms, support */
.doc {
  padding: 150px 0 96px;
  background:
    radial-gradient(60% 340px at 0% 0%, var(--sun) 0%, rgba(255,200,87,0) 100%) top left / 100% 420px no-repeat,
    radial-gradient(55% 340px at 100% 0%, var(--pink) 0%, rgba(248,211,220,0) 100%) top right / 100% 420px no-repeat,
    linear-gradient(var(--peach), var(--paper)) top / 100% 420px no-repeat,
    var(--paper);
}
.doc .wrap { max-width: 800px; }
.doc h1 { font: 400 clamp(44px, 6vw, 68px)/1.05 var(--serif); letter-spacing: -0.025em; margin: 0 0 12px; }
.doc .meta { color: var(--muted); margin: 0 0 44px; font-size: 15px; }
.doc h2 { font: 600 24px/1.3 var(--serif); margin: 44px 0 12px; }
.doc h3 { font: 600 17px/1.4 var(--sans); margin: 28px 0 8px; }
.doc p, .doc li { max-width: 68ch; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .card { border-radius: 22px; padding: 26px 28px; margin: 16px 0; }
.doc .card h3 { margin-top: 0; font: 400 28px/1.2 var(--serif); }
.doc .card ul { list-style: none; padding: 0; margin: 10px 0 0; }
.doc .card a { font-weight: 500; }

/* footer */
footer { background: var(--ink); color: #CFC8D6; padding: 48px 0 52px; font-size: 14px; }
footer .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; }
footer address { font-style: normal; line-height: 1.75; }
footer address strong { color: #fff; font-weight: 600; font-size: 15px; }
footer ul { display: flex; gap: 8px 22px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
footer a { text-decoration: none; color: #fff; }
footer a:hover, footer a:focus-visible { color: var(--sun); text-decoration: underline; }
footer .copy { margin-top: 18px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stamps { height: auto; display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
  .stamp, .stamp-kinboop { position: relative; inset: auto; width: 128px; height: 128px; }
  .stamp .s-icon svg { width: 44px; height: 44px; }
  .stamp .s-name { font-size: 14px; }
}
@media (max-width: 760px) {
  nav ul { gap: 2px; }
  nav a { padding: 8px 10px; }
  .hero { padding-top: 104px; }
  .route { height: 50px; margin-top: 16px; }
  .product, .cols, footer .grid { grid-template-columns: 1fr; gap: 10px; }
  .product { padding: 32px 26px; border-radius: 22px; }
  #products, .band, #contact { padding: 64px 0; }
  .doc { padding: 120px 0 72px; }
}
@media (max-width: 480px) {
  nav li.opt { display: none; }
  .stamp, .stamp-kinboop { width: 104px; height: 104px; }
  .stamp .s-icon svg { width: 36px; height: 36px; }
  .stamp .s-name { font-size: 12px; }
  dl.facts { grid-template-columns: 1fr; gap: 2px; padding: 22px; }
  dl.facts dd { margin-bottom: 10px; }
}

/* draft documents only (public/drafts is excluded from deploys by .assetsignore) */
.draft-banner { position: relative; z-index: 3; margin-top: 76px; background: #FFE58A; color: #3A2E00; border-bottom: 2px solid #D9A400; padding: 14px 0; font-size: 15px; }
.draft-banner + .doc { padding-top: 56px; background: var(--paper); }
mark.ph { background: #FFE58A; color: #3A2E00; padding: 1px 4px; border-radius: 4px; font-weight: 600; font-size: .92em; }

/* support page */
.doc.support { min-height: 62vh; }
.support-line { font: 400 clamp(22px, 2.6vw, 28px)/1.45 var(--serif); max-width: 32ch; margin: 8px 0 0; }
.support-line a { text-decoration: none; background: linear-gradient(transparent 62%, var(--sun) 62%); padding: 0 3px; overflow-wrap: anywhere; }
.support-line a:hover, .support-line a:focus-visible { background: var(--sun); }
