/* ============================================================
   Hibana — warm, light studio landing page
   Pure CSS, no dependencies.
   ============================================================ */

:root {
  /* Warm palette */
  --cream:      #FFF8F2;
  --cream-2:    #FCEFE3;
  --paper:      #FFFFFF;
  --ink:        #2B211D;
  --ink-soft:   #6B5A50;
  --amber:      #FF9E45;
  --coral:      #E8543A;
  --gold:       #FFC56B;
  --ember:      linear-gradient(120deg, #FFC56B 0%, #FF9E45 45%, #E8543A 100%);

  /* UI tokens */
  --line:       rgba(43, 33, 29, 0.10);
  --shadow-sm:  0 1px 2px rgba(86, 45, 20, 0.06);
  --shadow-md:  0 14px 40px -18px rgba(166, 74, 30, 0.35);
  --radius:     18px;
  --radius-sm:  12px;
  --maxw:       1080px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

/* ---------- Brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 26px;
  height: 26px;
  fill: var(--coral);
  filter: drop-shadow(0 2px 6px rgba(232, 84, 58, 0.35));
}
.brand-name { font-size: 1.15rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 242, 0.78);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 14px clamp(20px, 5vw, 40px);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--ink) !important;
  background: var(--cream-2);
  border: 1px solid var(--line);
}
.nav-cta:hover { background: #fbe4d2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  color: #fff;
  background: var(--ember);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px -16px rgba(232, 84, 58, 0.55);
}
.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--paper); transform: translateY(-2px); }

/* ---------- Eyebrows / section headings ---------- */
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
}
.eyebrow em { font-style: normal; color: var(--ink-soft); }
.eyebrow-center { display: block; text-align: center; }

.section { padding: clamp(64px, 10vw, 110px) 0; }
.section-muted { background: var(--cream-2); }
.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}
.section-lead {
  max-width: 620px;
  margin: 0 auto clamp(36px, 6vw, 56px);
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 13vw, 150px) 0 clamp(56px, 10vw, 110px);
  background:
    radial-gradient(120% 90% at 50% -10%, var(--cream-2) 0%, var(--cream) 60%);
}
.hero-glow {
  position: absolute;
  top: -28%;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 110vw);
  height: 760px;
  background:
    radial-gradient(closest-side,
      rgba(255, 197, 107, 0.55) 0%,
      rgba(255, 158, 69, 0.30) 42%,
      rgba(232, 84, 58, 0.0) 72%);
  filter: blur(8px);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }
.hero-title {
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 800;
  margin: 6px 0 22px;
}
.hero-sub {
  max-width: 600px;
  margin: 0 auto 34px;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--ink-soft);
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: clamp(18px, 3vw, 26px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Cards (what we do) ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  font-size: 1.5rem;
  border-radius: 14px;
  background: var(--cream-2);
}
.card-title { font-size: 1.25rem; margin-bottom: 8px; }
.card-text { margin: 0; color: var(--ink-soft); }

/* ---------- Slots (coming soon) ---------- */
.slot {
  position: relative;
  background: var(--paper);
  border: 1px dashed rgba(232, 84, 58, 0.35);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.slot:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.slot-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--coral);
  background: var(--cream-2);
  padding: 5px 10px;
  border-radius: 999px;
}
.slot-thumb {
  height: 130px;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(255,197,107,0.45), rgba(232,84,58,0.10)),
    var(--cream-2);
}
.slot-title { font-size: 1.15rem; margin-bottom: 6px; }
.slot-text { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Footer / contact ---------- */
.footer {
  background: var(--ink);
  color: #F6EAE0;
  padding: clamp(60px, 9vw, 96px) 0 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.footer .eyebrow { color: var(--gold); }
.footer-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 14px;
  max-width: 14ch;
}
.footer-text {
  max-width: 420px;
  margin: 0 0 26px;
  color: rgba(246, 234, 224, 0.72);
}
.footer-meta { text-align: right; }
.footer .brand-footer { color: #F6EAE0; }
.footer .brand-mark { fill: var(--amber); }
.copyright {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: rgba(246, 234, 224, 0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-3 { grid-template-columns: 1fr; }
  .nav { justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}

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