/* ============================================
   NOVA HOUSE SERVICES — main.css
   Design tokens, reset, typography, layout,
   buttons, and utility classes.
   DO NOT modify values — copied verbatim from
   the approved nova-house-services.html source.
   ============================================ */

/* ─── Design Tokens ─── */
:root {
  --ivory:        #F7F4EF;
  --ivory-dark:   #EDE8E0;
  --parchment:    #E4DDD2;
  --forest:       #1E3328;
  --forest-mid:   #28452E;
  --forest-light: #345A3A;
  --brass:        #B5916A;
  --brass-light:  #D1A97E;
  --brass-pale:   #EBD9C4;
  --charcoal:     #171714;
  --ink:          #252521;
  --slate:        #5C5C56;
  --mist:         #90908A;
  --border:       rgba(30,51,40,.10);
  --border-warm:  rgba(181,145,106,.22);
  --ff-display:   'Cormorant Garamond', Georgia, serif;
  --ff-body:      'Jost', system-ui, sans-serif;
  --ease-out:     cubic-bezier(.16,1,.3,1);
}

/* ─── Reset ─── */
*,*::before,*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── Base ─── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ivory-dark); }
::-webkit-scrollbar-thumb { background: var(--brass); border-radius: 2px; }

/* ─── Selection ─── */
::selection { background: var(--brass-pale); color: var(--forest); }

/* ─── Typography ─── */
.eyebrow {
  font-family: var(--ff-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
}

.display-xl {
  font-family: var(--ff-display);
  font-size: clamp(3rem,6vw,5.75rem);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -.01em;
  color: var(--charcoal);
}

.display-lg {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem,4vw,3.75rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--charcoal);
}

.display-md {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem,2.5vw,2.25rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
}

.body-lg {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--slate);
  font-weight: 300;
}

.body-md {
  font-size: .9375rem;
  line-height: 1.72;
  color: var(--slate);
}

.body-sm {
  font-size: .825rem;
  line-height: 1.6;
  color: var(--mist);
}

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.25rem;
}

.section    { padding: 6.5rem 0; }
.section-sm { padding: 4rem 0; }

.rule {
  width: 44px;
  height: 1px;
  background: var(--brass);
  margin: 1.2rem 0;
}
.rule-center { margin: 1.2rem auto; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--ff-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .9rem 2rem;
  border-radius: 1px;
  cursor: pointer;
  border: none;
  transition: all .35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary { background: var(--forest); color: var(--ivory); }
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--forest-light);
  transform: translateX(-101%);
  transition: transform .4s var(--ease-out);
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary span,
.btn-primary .btn-arrow { position: relative; z-index: 1; }
.btn-primary:hover .btn-arrow { transform: translateX(5px); }

.btn-arrow { transition: transform .3s var(--ease-out); }

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1px solid rgba(30,51,40,.35);
}
.btn-outline:hover {
  background: var(--forest);
  color: var(--ivory);
  border-color: var(--forest);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(247,244,239,.35);
}
.btn-ghost:hover {
  background: rgba(247,244,239,.1);
  border-color: rgba(247,244,239,.65);
}

/* ─── Utilities ─── */
.text-center { text-align: center; }
