/* Sweetgrass Travel Co. — base styles */

:root {
  /* Default palette: Blush */
  --cream: #FBF4ED;
  --cream-2: #F6EBDF;
  --blush: #F4D1D6;
  --blush-deep: #E8A6B0;
  --peach: #F4B5A8;
  --rose: #D98497;
  --sage: #A8B89C;
  --navy: #1B1840;
  --navy-2: #2A2455;
  --gold: #B8924A;
  --gold-light: #D4B377;
  --ink: #2A2438;
  --ink-soft: #5A4F6A;
  --line: #E8DDD0;

  --bg: var(--cream);
  --fg: var(--ink);
  --fg-soft: var(--ink-soft);
  --accent: var(--rose);
  --accent-deep: var(--navy);

  /* Typography */
  --font-display: "Italiana", "Playfair Display", serif;
  --font-body: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --font-script: "Pinyon Script", "Allura", cursive;
  --font-sans: "Jost", "Quicksand", system-ui, sans-serif;
}

/* PALETTE VARIANTS */
[data-palette="coral"] {
  --bg: #FFF4EE;
  --cream: #FFF4EE;
  --cream-2: #FBE6D8;
  --blush: #F9C8B4;
  --blush-deep: #ED8E6E;
  --rose: #C75A3D;
  --accent: #C75A3D;
  --gold: #B8704A;
}
[data-palette="sage"] {
  --bg: #F4F1E8;
  --cream: #F4F1E8;
  --cream-2: #E8E4D5;
  --blush: #D8DBC4;
  --blush-deep: #9DA987;
  --rose: #6B7A55;
  --accent: #6B7A55;
  --gold: #B8924A;
  --navy: #1F2A1B;
  --accent-deep: #1F2A1B;
}
[data-palette="navy"] {
  --bg: #FBF4ED;
  --cream: #FBF4ED;
  --blush: #DCD8E8;
  --blush-deep: #8A85B8;
  --rose: #1B1840;
  --accent: #1B1840;
  --gold: #B8924A;
}

[data-bg="deep"] {
  --bg: #F4E8DC;
  --cream: #F4E8DC;
  --cream-2: #E8D8C5;
  --line: #D8C8B5;
}

/* DISPLAY FONT VARIANTS */
[data-display="didone"] {
  --font-display: "Italiana", serif;
}
[data-display="serif"] {
  --font-display: "Playfair Display", "Cormorant Garamond", serif;
}
[data-display="hand"] {
  --font-display: "Pinyon Script", "Allura", cursive;
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
}

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

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

::selection { background: var(--blush-deep); color: var(--cream); }

/* Type scale */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--rose);
  line-height: 1;
}
.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.h-display.tight { letter-spacing: -0.005em; }
.h-display em {
  font-family: var(--font-script);
  font-style: normal;
  color: var(--rose);
  font-size: 1.15em;
  line-height: 0.8;
  vertical-align: -0.04em;
}

/* Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 720px) {
  .container { padding: 0 22px; }
}

/* Section */
section {
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 240ms cubic-bezier(0.22,0.61,0.36,1);
  font-weight: 500;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--rose);
  border-color: var(--rose);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-light {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.btn-light:hover {
  background: var(--blush);
  border-color: var(--blush);
}

/* Sparkle decoration */
.sparkle {
  display: inline-block;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 L13.5 9.5 L23 12 L13.5 14.5 L12 24 L10.5 14.5 L1 12 L10.5 9.5 Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 L13.5 9.5 L23 12 L13.5 14.5 L12 24 L10.5 14.5 L1 12 L10.5 9.5 Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shimmer {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.fadeup { animation: fadeUp 720ms cubic-bezier(0.22,0.61,0.36,1) both; }

/* Decorative divider */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gold);
  font-family: var(--font-script);
  font-size: 28px;
  margin: 8px 0;
}
.ornament::before, .ornament::after {
  content: "";
  height: 1px;
  background: var(--gold);
  width: 60px;
  opacity: 0.5;
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px;
  transition: all 320ms cubic-bezier(0.22,0.61,0.36,1);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(43, 36, 56, 0.18);
  border-color: var(--blush-deep);
}

/* Form */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 18px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  color: var(--ink);
  outline: none;
  transition: border-color 200ms;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--rose);
}
.field textarea {
  resize: vertical;
  min-height: 90px;
}

/* Utility */
.center { text-align: center; }
.row { display: flex; }
.col { display: flex; flex-direction: column; }
