/* Cremeo — restrained hospitality landing */

:root {
  --paper: #f8f1e2;      /* warm cream, dominant */
  --paper-2: #f3ead7;    /* slightly deeper cream */
  --sand: #ece1c9;       /* soft sand */
  --sand-2: #e1d3b3;     /* deeper sand for placeholders */
  --charcoal: #2f2820;   /* warm brown-black */
  --charcoal-soft: #574c3e;
  --muted: #8a7c66;      /* warm taupe for secondary text */
  --line: #e2d7bf;       /* hairline */
  --accent: #b05f3c;     /* warm terracotta — editorial accent */
  --accent-soft: #c77d54;
  --blue: #2c4a63;       /* deep coastal blue — interactive touches */
  --blue-soft: #3d6280;

  --r: 14px;
  --r-lg: 18px;
  --r-sm: 10px;

  --head: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --maxw: 1180px;
  --pad: clamp(24px, 6vw, 88px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: no-preference) {
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; }

/* === Layout ==================================================== */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: clamp(88px, 13vw, 176px); padding-bottom: clamp(88px, 13vw, 176px); }
.section-tight { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }

.eyebrow {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--blue);
  display: inline-block;
}
.eyebrow.on-dark { color: rgba(245,242,234,0.62); }
.eyebrow.on-dark::before { background: var(--blue-soft); }

.lede { color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.6; max-width: 52ch; }

/* === Header / nav ============================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, background 0.4s ease;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--head);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 15px;
  color: var(--charcoal-soft);
  text-decoration: none;
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--charcoal); }
.nav-links a.nav-cta {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: var(--r);
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav-links a.nav-cta:hover { background: var(--blue-soft); border-color: var(--blue-soft); color: #fff; }
@media (max-width: 720px) { .nav-links .nav-anchor { display: none; } }

/* === Buttons ================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 26px;
  border-radius: var(--r);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn .arr { transition: transform 0.3s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-soft); }
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* === Hero ===================================================== */
.hero { padding-top: clamp(72px, 11vw, 128px); padding-bottom: clamp(72px, 12vw, 148px); }
.hero h1 {
  font-size: clamp(36px, 5.4vw, 68px);
  max-width: 16ch;
  margin-bottom: 32px;
}
.hero .lede { font-size: clamp(19px, 2.1vw, 23px); max-width: 46ch; margin-bottom: 44px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-figure {
  margin-top: clamp(56px, 8vw, 104px);
  border-radius: var(--r-lg);
  overflow: hidden;
}

/* === Placeholder blocks ======================================= */
.ph {
  position: relative;
  background: var(--sand);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--muted);
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  left: 20px; bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.75;
}
.ph-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-mark {
  width: 46px; height: 46px;
  border-radius: 999px;
  border: 1.5px solid var(--sand-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  opacity: 0.6;
}
.ph-16x9 { aspect-ratio: 16 / 9; }
.ph-4x3 { aspect-ratio: 4 / 3; }
.ph-1x1 { aspect-ratio: 1 / 1; }
.ph-3x4 { aspect-ratio: 3 / 4; }
.ph-tall { aspect-ratio: 4 / 5; }
.ph.alt { background: var(--sand-2); }
.ph.on-dark { background: rgba(245,242,234,0.07); }
.ph.on-dark::after { color: rgba(245,242,234,0.5); }
.ph.on-dark .ph-mark { border-color: rgba(245,242,234,0.18); color: rgba(245,242,234,0.5); }

/* === Problem ================================================== */
.problem { background: var(--paper-2); }
.problem-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.problem h2 { font-size: clamp(28px, 3.4vw, 44px); max-width: 15ch; margin-bottom: 28px; }
.problem p { color: var(--charcoal-soft); font-size: 18px; max-width: 42ch; }
.stat {
  border-left: 2px solid var(--blue);
  padding-left: 28px;
}
.stat .fig {
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(52px, 8vw, 88px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--blue);
}
.stat .cap { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 26ch; }
.stat .cap-src { display: inline-block; margin-top: 6px; color: var(--blue); text-decoration: none; font-size: 13px; letter-spacing: 0.02em; border-bottom: 1px solid transparent; transition: border-color 0.25s ease; }
.stat .cap-src:hover { border-color: var(--blue); }

/* === Product ================================================== */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.product h2 { font-size: clamp(28px, 3.4vw, 44px); max-width: 12ch; margin-bottom: 26px; }
.product p { color: var(--charcoal-soft); font-size: 18px; max-width: 40ch; margin-bottom: 36px; }
.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
}
.spec {
  flex: 1 1 30%;
  min-width: 120px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.spec .k { font-family: var(--body); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--blue); }
.spec .v { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* === For hotels =============================================== */
.hotels { background: var(--charcoal); color: var(--paper); }
.hotels h2 { font-size: clamp(28px, 3.4vw, 44px); max-width: 16ch; color: var(--paper); }
.hotels .lede { color: rgba(245,242,234,0.66); margin-top: 24px; }
.value-grid {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value {
  background: rgba(245,242,234,0.05);
  border: 1px solid rgba(245,242,234,0.1);
  border-radius: var(--r);
  padding: 32px 30px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
}
.value .idx { font-family: var(--body); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; color: var(--blue-soft); }
.value h3 { font-size: 24px; color: var(--paper); }
.value p { color: rgba(245,242,234,0.62); font-size: 15.5px; margin-top: auto; }

/* === Dashboard =============================================== */
.dashboard { background: var(--paper-2); }
.dashboard-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.dashboard h2 { font-size: clamp(28px, 3.4vw, 44px); max-width: 12ch; margin-bottom: 26px; }
.dashboard p { color: var(--charcoal-soft); font-size: 18px; max-width: 40ch; margin-bottom: 36px; }

/* === Custom ================================================== */
.custom-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.custom h2 { font-size: clamp(30px, 3.8vw, 50px); max-width: 14ch; margin-bottom: 26px; line-height: 1.08; }
.custom p { color: var(--charcoal-soft); font-size: 18px; max-width: 40ch; }

/* === Sustainability ========================================== */.sustain-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.sustain h2 { font-size: clamp(28px, 3.4vw, 44px); max-width: 12ch; margin-bottom: 26px; }
.sustain p { color: var(--charcoal-soft); font-size: 18px; max-width: 40ch; }

/* === Closing / contact ======================================= */
.closing { background: var(--paper-2); }
.closing-head { text-align: center; max-width: 46ch; margin: 0 auto clamp(56px, 7vw, 88px); }
.closing-head h2 { font-size: clamp(30px, 4.2vw, 56px); max-width: 20ch; margin: 0 auto; }
.closing-head .lede { text-align: center; }
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 56px);
  max-width: 720px;
  margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--charcoal-soft); }
.field input, .field textarea {
  font-family: var(--body);
  font-size: 16px;
  color: var(--charcoal);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #a49e8f; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--paper);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-foot { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form-foot .note { color: var(--muted); font-size: 14px; }

/* === Footer ================================================== */
.footer { border-top: 1px solid var(--line); }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 44px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer .brand { font-size: 20px; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-tag { color: var(--muted); font-size: 14px; }
.footer .meta { color: var(--muted); font-size: 14px; display: flex; gap: 28px; flex-wrap: wrap; }
.footer .meta a { text-decoration: none; transition: color 0.25s ease; }
.footer .meta a:hover { color: var(--blue); }

/* === Scroll reveal =========================================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.9s cubic-bezier(0.22,0.61,0.36,1), transform 0.9s cubic-bezier(0.22,0.61,0.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* === Responsive ============================================== */
@media (max-width: 900px) {
  .problem-grid, .product-grid, .sustain-grid, .dashboard-grid, .custom-grid { grid-template-columns: 1fr; gap: 44px; }
  .value-grid { grid-template-columns: 1fr; }
  .value { min-height: 0; }
  .product-grid .product-figure { order: -1; }
  .sustain-grid .sustain-figure { order: -1; }
  .dashboard-grid .dashboard-figure { order: -1; }
  .custom-grid .custom-figure { order: -1; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
