/* MacaoOffers — Asia-Pacific travel & culture digest */
:root {
  --bg: #fbf7f0;
  --bg-warm: #f5ecd9;
  --bg-card: #ffffff;
  --ink: #14110d;
  --ink-soft: #4a4137;
  --muted: #8d8275;
  --vermillion: #c8362e;
  --vermillion-deep: #9d2823;
  --vermillion-soft: #f3d9d6;
  --line: #ebe0cd;
  --line-strong: #d4c5a8;
  --shadow: 0 24px 50px -28px rgba(20, 17, 13, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Noto Serif Display', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.15;
}

a { color: var(--vermillion-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ink); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.logo {
  font-family: 'Noto Serif Display', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-seal {
  width: 36px; height: 36px;
  background: var(--vermillion);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-family: 'Noto Serif Display', serif;
  font-weight: 500;
  border-radius: 4px;
  position: relative;
}
.logo-seal::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(251, 247, 240, 0.4);
  border-radius: 2px;
}
.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}
.nav a:hover { color: var(--vermillion); }

/* Hero */
.hero {
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 80px; right: -100px;
  width: 380px; height: 380px;
  background: var(--vermillion);
  opacity: 0.06;
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: end;
  position: relative;
}
.hero-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  position: absolute;
  left: -10px;
  top: 0;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--vermillion);
  font-weight: 600;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--vermillion-deep);
  font-weight: 600;
  margin-bottom: 32px;
  padding: 8px 14px;
  border: 1px solid var(--vermillion);
}
.hero h1 {
  font-size: clamp(44px, 6.5vw, 76px);
  margin-bottom: 30px;
  font-weight: 400;
  line-height: 1.04;
}
.hero h1 em {
  font-style: italic;
  color: var(--vermillion);
}
.hero p {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.65;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  background: var(--ink);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: all .2s ease;
}
.btn:hover { background: var(--vermillion); border-color: var(--vermillion); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  margin-left: 12px;
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

.hero-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hero-stack > div {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
}
.hero-stack > div:first-child {
  background: linear-gradient(160deg, var(--ink), #2a2520);
  margin-top: 30px;
}
.hero-stack > div:last-child {
  background: linear-gradient(160deg, var(--vermillion), var(--vermillion-deep));
}
.hero-stack > div::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Sections */
section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  margin-bottom: 70px;
  align-items: end;
}
.section-eyebrow {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--vermillion-deep);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 400;
}
.section-sub {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

/* Dispatches */
.dispatches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.dispatch {
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 180px 1fr;
  transition: transform .25s ease, box-shadow .25s ease;
}
.dispatch:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dispatch-img {
  position: relative;
  overflow: hidden;
}
.dispatch:nth-child(1) .dispatch-img { background: linear-gradient(160deg, #c8362e, #9d2823); }
.dispatch:nth-child(2) .dispatch-img { background: linear-gradient(160deg, #14110d, #4a4137); }
.dispatch:nth-child(3) .dispatch-img { background: linear-gradient(160deg, #f5ecd9, #d4c5a8); }
.dispatch:nth-child(4) .dispatch-img { background: linear-gradient(160deg, #9d2823, #14110d); }
.dispatch:nth-child(5) .dispatch-img { background: linear-gradient(160deg, #4a4137, #14110d); }
.dispatch:nth-child(6) .dispatch-img { background: linear-gradient(160deg, #c8362e, #f5ecd9); }
.dispatch-body { padding: 26px 28px; }
.dispatch-loc {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vermillion-deep);
  font-weight: 700;
  margin-bottom: 10px;
}
.dispatch h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 500;
}
.dispatch p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
}
.dispatch-date {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* Quote band */
.band {
  background: var(--ink);
  color: var(--bg);
  border: none;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 280px; height: 280px;
  background: var(--vermillion);
  opacity: 0.08;
  border-radius: 50%;
  pointer-events: none;
}
.band-quote {
  font-family: 'Noto Serif Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.3;
  color: var(--bg);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  font-weight: 400;
  font-style: italic;
  position: relative;
}
.band-quote .seal {
  display: inline-block;
  width: 40px; height: 40px;
  background: var(--vermillion);
  color: var(--bg);
  border-radius: 4px;
  font-family: 'Noto Serif Display', serif;
  font-style: normal;
  font-size: 22px;
  line-height: 40px;
  text-align: center;
  margin-bottom: 30px;
}
.band-cite {
  display: block;
  margin-top: 36px;
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(251, 247, 240, 0.6);
}

/* Page content */
.page {
  padding: 90px 0;
  max-width: 760px;
  margin: 0 auto;
}
.page h1 {
  font-size: clamp(40px, 5.5vw, 60px);
  margin-bottom: 16px;
  font-weight: 400;
}
.page .meta {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 44px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.page h2 { font-size: 28px; margin: 44px 0 14px; font-weight: 500; }
.page h3 {
  font-size: 18px;
  margin: 28px 0 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}
.page p, .page li {
  color: var(--ink-soft);
  margin-bottom: 14px;
  font-size: 16px;
}
.page ul { padding-left: 22px; margin-bottom: 14px; }
.page strong { color: var(--ink); }

/* Forms */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 40px;
  margin-top: 26px;
  box-shadow: var(--shadow);
  position: relative;
}
.form-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 36px; height: 36px;
  border-top: 2px solid var(--vermillion);
  border-left: 2px solid var(--vermillion);
}
.form-field { margin-bottom: 22px; }
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
input, textarea, select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  font-family: inherit;
  font-size: 15px;
  background: var(--bg);
  color: var(--ink);
  border-radius: 0;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--vermillion);
  background: #fff;
}
textarea { min-height: 130px; resize: vertical; }

.notice {
  background: var(--vermillion-soft);
  border-left: 3px solid var(--vermillion);
  padding: 18px 22px;
  margin: 22px 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.notice strong { color: var(--ink); }

.success {
  display: none;
  background: #eaf3ed;
  border-left: 3px solid #2e7d4f;
  padding: 18px 22px;
  margin-top: 24px;
  color: #1d4a2f;
  font-size: 15px;
}
.success.show { display: block; }

/* Footer */
.site-footer {
  background: var(--bg-warm);
  padding: 70px 0 30px;
  border-top: 1px solid var(--line-strong);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 50px;
}
.footer-grid h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  color: var(--ink);
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--ink-soft); font-size: 14px; }
.footer-grid a:hover { color: var(--vermillion); }
.footer-grid p { color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid var(--line-strong);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-vertical { display: none; }
  .hero-stack { max-width: 360px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .dispatches { grid-template-columns: 1fr; }
  .dispatch { grid-template-columns: 1fr; }
  .dispatch-img { aspect-ratio: 16/9; }
  .nav { gap: 16px; }
  .nav a:not(.btn) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
