@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand palette */
  --ivory: #f7f0e8;
  --champagne: #dec5b1;
  --rose: #b98782;
  --espresso: #392c29;
  --gold: #b69a72;

  --bg: var(--ivory);
  --bg-soft: var(--champagne);
  --surface: #ffffff;
  --surface-strong: rgba(255, 255, 255, 0.8);
  --text: var(--espresso);
  --muted: rgba(57, 44, 41, 0.76);
  /* Small accent text: a deepened rose so it stays readable on ivory */
  --gold-bright: #8a5e59;
  --gold-deep: #6f4a46;
  --line: rgba(182, 154, 114, 0.45);
  --shadow: 0 2px 14px rgba(57, 44, 41, 0.07);
  --radius: 10px;
  --radius-sm: 6px;
  --maxw: 1200px;
  --display: 'Cormorant Garamond', serif;
  --body: 'Manrope', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(57, 44, 41, 0.14);
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(182, 154, 114, 0.25);
}

textarea {
  resize: vertical;
}

.app-shell {
  min-height: 100vh;
}

.wrap {
  width: min(100% - 32px, var(--maxw));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section-dark {
  position: relative;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 25%);
  pointer-events: none;
}

.glass-card {
  background: linear-gradient(180deg, var(--surface), rgba(255, 255, 255, 0.55));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 240, 232, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(57, 44, 41, 0.14);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}

.nav nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.nav-link,
.nav-link:visited {
  color: var(--muted);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-bright);
}

.nav-link.active {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.brand:hover .brand-logo {
  opacity: 0.85;
}

.brand-name {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.brand-name em {
  display: block;
  font-family: var(--display);
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.hero {
  padding-top: 64px;
}

.page-hero {
  padding-bottom: 32px;
}

.page-hero-copy {
  display: grid;
  gap: 18px;
}

.page-hero-copy h1 {
  max-width: 14ch;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

h1,
h2,
h3,
.eyebrow {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.4rem, 6vw, 6.4rem);
  line-height: 0.92;
  max-width: 11ch;
  margin-top: 18px;
}

h2 {
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.05;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.eyebrow.light {
  color: var(--gold-bright);
}

.lead,
.section-head p,
.story-copy p,
.collection-card p,
.product-copy p,
.booking-card p,
.footer-note p {
  color: var(--muted);
  font-size: 1.02rem;
}

.lead {
  max-width: 58ch;
  margin: 24px 0 30px;
}

.hero-actions,
.admin-actions,
.tabs-row,
.quick-replies {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button,
.tab,
.chip,
.link-button,
.pill {
  border-radius: 999px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button {
  border: 1px solid transparent;
  padding: 14px 18px;
  font-weight: 700;
}

.button:hover,
.tab:hover,
.chip:hover,
.link-button:hover {
  transform: translateY(-1px);
}

.button-gold {
  background: var(--espresso);
  color: var(--ivory);
  box-shadow: 0 12px 28px rgba(57, 44, 41, 0.22);
}

.button-ghost {
  border-color: rgba(57, 44, 41, 0.14);
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
}

.button-ghost.danger {
  color: #9a3f2f;
}

.full-width {
  width: 100%;
  justify-content: center;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.stat {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(57, 44, 41, 0.14);
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-panel {
  padding: 24px;
}

.panel-label {
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  margin-bottom: 18px;
}

.hero-collection-list {
  display: grid;
  gap: 14px;
}

.mini-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
}

.mini-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.mini-swatch,
.collection-dot {
  width: 52px;
  height: 52px;
  border-radius: 18px;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(57, 44, 41, 0.14);
  border-bottom: 1px solid rgba(57, 44, 41, 0.14);
  background: rgba(255, 255, 255, 0.55);
}

.marquee-track {
  display: flex;
  gap: 42px;
  align-items: center;
  white-space: nowrap;
  padding: 18px 0;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 58ch;
  margin-top: 16px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-collections {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-card,
.product-card {
  overflow: hidden;
}

.collection-card {
  padding: 24px;
}

.collection-top,
.product-row,
.admin-item-head,
.insight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.collection-card h3,
.product-copy h3 {
  margin-top: 18px;
  margin-bottom: 12px;
}

.pill,
.tab,
.chip,
.link-button {
  border: 1px solid rgba(57, 44, 41, 0.14);
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
  font-size: 0.9rem;
}

.pill {
  padding: 8px 14px;
}

.pill-success {
  border-color: rgba(47, 107, 61, 0.4);
  color: #2f6b3d;
}

.subtle {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-dark .section-head p,
.light,
.section-dark p,
.section-dark h2,
.section-dark h3,
.section-dark span,
.section-dark small {
  color: var(--text);
}

.light p,
.light .eyebrow,
.light .eyebrow::before {
  color: var(--gold-bright);
}

.product-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(57, 44, 41, 0.14);
  border-radius: var(--radius);
}

.product-media {
  aspect-ratio: 1 / 0.95;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media span {
  font-family: var(--display);
  font-size: 5rem;
  color: var(--text);
}

.product-copy {
  padding: 22px;
}

.product-row.meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.story-grid,
.concierge-grid,
.booking-grid,
.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.story-copy,
.concierge-card,
.concierge-side,
.booking-card,
.admin-form,
.admin-item,
.footer-note,
.metric-card {
  padding: 24px;
}

.chat-log {
  display: grid;
  gap: 12px;
  max-height: 340px;
  overflow: auto;
  padding-right: 6px;
}

.chat-bubble {
  padding: 14px 16px;
  border-radius: 18px;
  max-width: 90%;
}

.chat-bubble.user {
  justify-self: end;
  background: var(--espresso);
  color: var(--ivory);
}

.chat-bubble.assistant {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(57, 44, 41, 0.14);
}

.chat-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 16px;
}

.chip {
  padding: 10px 14px;
}

.upload-box {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  border: 1px dashed rgba(182, 154, 114, 0.7);
  background: rgba(255, 255, 255, 0.55);
}

.upload-box input {
  display: none;
}

.upload-box label {
  font-weight: 700;
  color: var(--gold-bright);
  cursor: pointer;
}

.style-preview {
  margin-top: 16px;
  border-radius: 22px;
  border: 1px solid rgba(182, 154, 114, 0.45);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.result-grid div,
.metric-card,
.reply-box,
.chat-audit > div {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(57, 44, 41, 0.14);
  border-radius: 18px;
}

.result-grid div {
  padding: 14px;
}

.result-grid span,
.chat-audit span,
.metric-card span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  margin-bottom: 8px;
}

.result-grid strong,
.metric-card strong {
  color: var(--text);
}

.insight-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(57, 44, 41, 0.14);
}

.insight-block p {
  margin: 12px 0 6px;
}

.link-button {
  padding: 10px 14px;
}

.booking-card label,
.admin-form label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-grid,
.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-span {
  grid-column: 1 / -1;
}

.success-note {
  margin-top: 14px;
  color: #2f6b3d;
}

.admin-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.metric-card {
  display: grid;
  gap: 10px;
}

.tabs-row {
  margin-bottom: 20px;
}

.tab.active {
  background: var(--espresso);
  color: var(--ivory);
  border-color: transparent;
}

.admin-list {
  display: grid;
  gap: 16px;
}

.admin-item h3,
.admin-item p {
  margin: 0;
}

.admin-item p {
  margin-top: 10px;
  color: var(--muted);
}

.reply-box {
  margin: 14px 0;
  padding: 14px;
}

.chat-audit {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.chat-audit > div {
  padding: 14px;
}

.chat-audit p {
  margin: 0;
  color: var(--text);
}

.footer-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-gate {
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: center;
}

.auth-grid {
  width: min(100% - 32px, 980px);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.auth-card {
  padding: 28px;
  display: grid;
  gap: 18px;
}

.error-note {
  margin: 0;
  color: #9a3f2f;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.admin-toolbar-note {
  color: var(--muted);
}

.admin-page-head h1 {
  max-width: 12ch;
}

.footer-note p {
  max-width: 46ch;
  margin: 0;
}

@media (max-width: 1080px) {
  .hero-grid,
  .story-grid,
  .concierge-grid,
  .booking-grid,
  .admin-layout,
  .auth-grid,
  .footer-note {
    grid-template-columns: 1fr;
  }

  .grid-collections,
  .grid-products,
  .admin-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .section {
    padding: 68px 0;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .grid-collections,
  .grid-products,
  .admin-overview,
  .stat-row,
  .result-grid,
  .form-grid,
  .two-up,
  .chat-input-row,
  .footer-note {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .nav nav {
    gap: 14px;
  }

  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-note {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.price-list,
.plain-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(215, 177, 93, 0.25);
}

.plain-list li {
  padding: 0.3rem 0;
}

.collection-card .button {
  margin-top: 0.75rem;
}
