:root {
  --cream: #f5f0e8;
  --cream-dark: #ede5d4;
  --sage: #5a6b4a;
  --sage-light: #8a9e78;
  --sage-dark: #3d4d2f;
  --earth: #8b6e4e;
  --earth-light: #c4a882;
  --charcoal: #2c2c28;
  --text-muted: #68685e;
  --white: #fcfbf7;
  --line: rgba(90, 107, 74, 0.16);
  --shadow: 0 22px 70px rgba(42, 42, 35, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 19px;
  font-weight: 700;
  color: var(--earth);
}
.eyebrow-light { color: rgba(255,255,255,0.72); }

h1, h2, h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  color: var(--sage-dark);
  line-height: 1.05;
}

p { margin: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--sage);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.button:hover { transform: translateY(-1px); background: var(--sage-dark); }
.button-secondary {
  background: rgba(255,255,255,0.7);
  color: var(--sage-dark);
  border-color: rgba(61, 77, 47, 0.14);
}
.button-secondary:hover { background: #fff; }
.button-ghost {
  background: transparent;
  color: var(--sage-dark);
  border: 1px solid rgba(90, 107, 74, 0.14);
}
.button-ghost:hover {
  background: rgba(245, 240, 232, 0.7);
}
.button-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

.section { padding: 100px 0; }
.section-cream { background: linear-gradient(180deg, var(--cream) 0%, #f9f6ef 100%); }
.section-soft { background: linear-gradient(180deg, #fff 0%, #f8f4ec 100%); }
.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}
.section-heading h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}
.section-heading p:last-child {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 18px;
}

.hero-copy,
.hero-proof-card,
.gallery-card,
.step-card,
.package-card,
.final-cta,
.intake-card {
  box-shadow: var(--shadow);
}

.section-cta-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-contact-trigger {
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(139, 110, 78, 0.45);
  border-radius: 999px;
  background: var(--earth);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 20px 50px rgba(42, 42, 35, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.floating-contact-trigger:hover {
  background: var(--earth);
  filter: brightness(0.92);
  transform: translateY(-1px);
}

.floating-contact-panel {
  width: min(360px, calc(100vw - 32px));
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(61, 77, 47, 0.16);
  background: rgba(252, 251, 247, 0.98);
  box-shadow: 0 24px 60px rgba(42, 42, 35, 0.2);
}

.floating-contact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.floating-contact-head h3 {
  font-size: 1.55rem;
}

.floating-contact-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(61, 77, 47, 0.18);
  background: #fff;
  color: var(--sage-dark);
  cursor: pointer;
}

.floating-contact-form {
  display: grid;
  gap: 12px;
}

.floating-contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sage-dark);
}

.floating-contact-form .text-area {
  min-height: 90px;
}

/* Shared: intake upload, contact page, floating “Talk to a designer” — local previews only (no upload until submit). */
.nsg-photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.nsg-photo-preview-cell {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(90, 107, 74, 0.18);
  background: #f4f1eb;
}

.nsg-photo-preview-cell img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  vertical-align: middle;
}

.nsg-photo-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  padding: 0;
  line-height: 1;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nsg-photo-preview-remove:hover {
  background: rgba(140, 40, 40, 0.88);
}

.floating-contact .contact-attachment-list {
  margin-top: 8px;
}

.floating-contact-status {
  font-size: 14px;
}

.floating-contact-status .success-text {
  color: var(--sage-dark);
}

.floating-contact[data-open="false"] .floating-contact-panel {
  display: none;
}

/* Brand lockup: mark + wordmark (navbar, intake aside, etc.) */
.brand.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.22em;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  line-height: 1.12;
}
.nav-logo .logo-main {
  color: var(--sage-dark);
  font-style: normal;
  font-weight: 500;
}
.nav-logo .logo-accent {
  color: var(--earth);
  font-style: italic;
  font-weight: 500;
}
.nav-logo .logo-studio {
  color: var(--sage-dark);
  font-style: normal;
  font-weight: 500;
  font-size: 0.9em;
  letter-spacing: 0.04em;
}
