:root {
  --bg: #f2ecdf;
  --bg-alt: #ece3d0;
  --card: #fbf8f1;
  --border: #ddd0b6;
  --text: #2b2620;
  --text-dim: #6e6455;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --btn-accent-text: #fbf8f1;
  --serif: "Playfair Display", Georgia, serif;
  --script: "Pinyon Script", cursive;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxODAnIGhlaWdodD0nMTgwJz4KPGZpbHRlciBpZD0nbic+CjxmZVR1cmJ1bGVuY2UgdHlwZT0nZnJhY3RhbE5vaXNlJyBiYXNlRnJlcXVlbmN5PScwLjg1JyBudW1PY3RhdmVzPScyJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+CjxmZUNvbG9yTWF0cml4IHR5cGU9J21hdHJpeCcgdmFsdWVzPScwIDAgMCAwIDAuMzUgIDAgMCAwIDAgMC4yOSAgMCAwIDAgMCAwLjIxICAwIDAgMCAwLjA2IDAnLz4KPC9maWx0ZXI+CjxyZWN0IHdpZHRoPScxMDAlJyBoZWlnaHQ9JzEwMCUnIGZpbHRlcj0ndXJsKCNuKScvPgo8L3N2Zz4K");
  background-repeat: repeat;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 236, 223, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--script);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.95rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.nav a:hover { color: var(--text); }

.nav-cta { display: inline-flex; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-accent {
  background: var(--accent);
  color: var(--btn-accent-text);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text-dim);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  padding: 64px 0 56px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.hero-avatar {
  width: 208px;
  height: 208px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
  border: 3px solid var(--card);
  box-shadow: 0 12px 32px rgba(43, 38, 32, 0.16);
  margin-bottom: 24px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.eyebrow.center { text-align: center; }

.hero-inner h1 {
  font-family: var(--script);
  font-size: 4.4rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-bio {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Highlights */
.highlights {
  padding: 40px 0 80px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.highlight-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
}

.highlight-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 16px;
}

.highlight-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.highlight-card p {
  color: var(--text-dim);
  font-size: 0.96rem;
}

/* Portfolio */
.portfolio {
  padding: 40px 0 100px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  margin-bottom: 48px;
}

.section-title.center { text-align: center; }

.portfolio-group {
  margin-bottom: 40px;
}

.portfolio-group:last-child {
  margin-bottom: 0;
}

.group-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.group-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.drag-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.drag-hint .arrow {
  display: inline-block;
  animation: nudge-right 1.4s ease-in-out infinite;
}

@keyframes nudge-right {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

.reels-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding-bottom: 8px;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  user-select: none;
}

.reels-row::-webkit-scrollbar {
  display: none;
}

.reels-row.dragging {
  cursor: grabbing;
}

.reels-row iframe {
  border-radius: 14px !important;
  height: 458px !important;
}

.reels-row.dragging iframe {
  pointer-events: none;
}

.reels-row .instagram-media {
  margin: 0 !important;
  width: 300px !important;
  min-width: 300px !important;
  max-height: 458px !important;
  overflow: hidden !important;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* CTA */
.cta-section {
  padding: 100px 0;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.3rem;
  margin-bottom: 14px;
}

.cta-section p {
  color: var(--text-dim);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-inner a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 860px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
}

@media (max-width: 520px) {
  .hero { padding: 40px 0 36px; }
  .hero-avatar { width: 168px; height: 168px; margin-bottom: 18px; }
  .hero-inner h1 { font-size: 3.1rem; }
  .hero-bio { font-size: 1rem; }
  .cta-section h2 { font-size: 1.7rem; }
  .header-inner { height: 64px; }
  .logo { font-size: 1.6rem; }
  .nav-cta { padding: 10px 18px; font-size: 0.88rem; }
  .reels-row .instagram-media {
    width: 86vw !important;
    min-width: 86vw !important;
  }
}
