/* ============================================================
   NOI — heynoi.com  ·  shared design system
   Warm-domestic interpretation of the Greathub system:
   monochrome warm neutrals + a single vivid orange (#FF6600).
   ============================================================ */

:root {
  /* warm neutrals */
  --cream:      #F6F1E9;
  --paper:      #FBF8F2;
  --sand:       #EEE5D6;
  --sand-deep:  #E4D8C4;
  --line:       #E6DCCB;
  --line-soft:  #EFE7D8;

  /* ink */
  --ink:        #1A1613;
  --ink-2:      #3A332B;
  --ink-soft:   #6E655A;
  --ink-faint:  #948A7B;

  /* brand orange (single accent) */
  --orange:       #FF6600;
  --orange-deep:  #DD5500;
  --orange-tint:  #FFEEDF;

  /* dark surfaces (cinematic moments) */
  --char:    #1B1714;
  --char-2:  #241F1A;
  --char-3:  #2E2720;
  --char-line: rgba(255,255,255,0.10);

  --font-sans:  "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --maxw: 1240px;
  --radius: 14px;
  --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- type ---------- */
.serif { font-family: var(--font-serif); font-weight: 400; }
.eyebrow {
  font-size: 12.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--orange);
}
.eyebrow.muted { color: var(--ink-faint); }

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.04; }

.display {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(44px, 6.2vw, 92px); line-height: 0.97; letter-spacing: -0.015em;
}
.display em { color: var(--orange); font-style: italic; }

.h2 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(34px, 4.4vw, 60px); line-height: 1.0; letter-spacing: -0.01em;
}
.h2 em { color: var(--orange); font-style: italic; }

.lede {
  font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft);
  line-height: 1.6; max-width: 56ch;
}

.section-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-faint);
}
.section-label::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 500; font-family: var(--font-sans);
  padding: 14px 24px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn .arr { transition: transform .18s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--sand); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-ghost-light:hover { border-color: rgba(255,255,255,0.6); }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,242,0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; letter-spacing: -0.03em; color: var(--ink); }
.brand .mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: -0.04em;
}
.brand .mark i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14.5px; color: var(--ink-soft); transition: color .15s; position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 500; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  background: var(--orange); border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-cta { font-size: 14px; font-weight: 500; padding: 9px 18px; border-radius: 9px; background: var(--ink); color: #fff; transition: background .18s; }
.nav-cta:hover { background: #000; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 40px; height: 40px; cursor: pointer; align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.nav-toggle span { width: 17px; height: 2px; background: var(--ink); border-radius: 2px; display: block; }

.mobile-menu {
  display: none; position: fixed; inset: 61px 0 0; z-index: 49;
  background: var(--paper); padding: 24px 32px;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-serif); font-size: 30px; color: var(--ink);
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu a.active { color: var(--orange); }
.mobile-menu .btn { margin-top: 24px; justify-content: center; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-right .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- footer ---------- */
.footer { background: var(--char); color: #C9BFB1; padding: 72px 0 36px; margin-top: 0; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand .mark { background: #fff; color: var(--char); }
.footer .tag { font-size: 14.5px; color: #9A9082; line-height: 1.6; max-width: 30ch; }
.footer h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.14em; color: #7E746780; color: #847A6C; margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer a { font-size: 14.5px; color: #C9BFB1; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--maxw); margin: 56px auto 0; padding: 24px 32px 0;
  border-top: 1px solid var(--char-line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13px; color: #847A6C;
}
.footer-bottom .dom { color: var(--orange); font-weight: 500; }
@media (max-width: 760px) {
  .footer .wrap { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- generic section ---------- */
section { position: relative; }
.pad { padding: clamp(72px, 9vw, 128px) 0; }
.pad-sm { padding: clamp(54px, 6vw, 84px) 0; }

/* pill / chip */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 999px;
  background: var(--sand); color: var(--ink-2); border: 1px solid var(--line);
}
.chip.dark { background: rgba(255,255,255,0.06); color: #D8CDBB; border-color: var(--char-line); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .18s, transform .18s;
}
.card.hover:hover { border-color: rgba(255,102,0,0.45); }

/* image figure */
.figure { position: relative; overflow: hidden; background: var(--sand); }
.figure img { width: 100%; height: 100%; object-fit: cover; }

/* stat */
.stat .n { font-family: var(--font-serif); font-size: clamp(40px,4vw,56px); line-height: 1; color: var(--ink); }
.stat .n em { color: var(--orange); font-style: normal; }
.stat .l { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }

/* price tag floating on image */
.price-float {
  position: absolute; left: 22px; bottom: 22px; z-index: 2;
  background: rgba(251,248,242,0.93); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.5); border-radius: 12px;
  padding: 13px 17px;
}
.price-float .big { font-size: 21px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.price-float .big span { font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.price-float .sm { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
