:root {
  --bg: #faf6f2;
  --bg-alt: #ffffff;
  --accent: #d3a77b;
  --accent-soft: rgba(211, 167, 123, 0.12);
  --text-main: #222222;
  --text-muted: #666666;
  --border-soft: #eee3d8;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.05);
  --radius-lg: 20px;
  --radius-pill: 999px;
  --container-width: 1120px;
}

/* RESET-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
    system-ui, sans-serif;
  background: radial-gradient(circle at top left, #fdf4ec 0, #faf6f2 38%, #f7f0ea 100%);
  color: var(--text-main);
  line-height: 1.6;
}

/* Layout helpers */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.97),
    rgba(250, 246, 242, 0.9)
  );
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(250, 246, 242, 0.9);
  border-bottom: 1px solid rgba(238, 227, 216, 0.7);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f7e4cf, #d3a77b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #3e2a18;
}

.brand-text {
  font-family: "Playfair Display", serif;
  font-size: 1.22rem;
  letter-spacing: 0.04em;
}
.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-tagline {
  font-size: 0.70rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 2px;
  opacity: 0.85;
  font-weight: 400;
}


/* Nav links */
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
}

/* Hero */
.hero {
  padding: 40px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}

.hero-text h1 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  line-height: 1.2;
  margin: 0 0 14px;
}

.hero-text h1 span {
  background: linear-gradient(120deg, #c9976a, #e3b88b);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #d3a77b, #c38a5a);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-main);
  border-color: rgba(211, 167, 123, 0.4);
}

.btn.ghost:hover {
  background: rgba(211, 167, 123, 0.08);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
}

.hero-tags span {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-soft);
}

/* Hero card */
.hero-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 22px 20px 20px;
}

.hero-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.avatar-img {
  width: 130px;   /* was 90px */
  height: 130px;  /* was 90px */
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}


.hero-highlight {
  text-align: center;
  margin-bottom: 16px;
}

.highlight-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin: 0 0 4px;
}

.highlight-main {
  font-size: 0.95rem;
  margin: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 999px;
  background: #faf5ef;
  padding: 10px;
  gap: 6px;
  font-size: 0.8rem;
}

.stat-number {
  font-weight: 600;
  margin: 0;
}

.stat-label {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Section headers */
.section-header {
  position: relative;
  text-align: left;
  margin-bottom: 32px;
  padding-bottom: 18px;
}

.section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin: 4px 0 10px;
}

/* Soft gradient divider under section titles */
.section-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(211, 167, 123, 0.9),
    rgba(211, 167, 123, 0.0)
  );
}


.section-intro {
  color: var(--text-muted);
  max-width: 640px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.about-block {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  border: 1px solid var(--border-soft);
}

.about-block h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  color: var(--accent);
}

/* Cards grid (projects + case studies) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 18px;
}

.card {
  position: relative;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
  overflow: hidden; /* so the gradient strip follows the radius */
}

/* Soft gradient strip at the top of cards */
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(211, 167, 123, 0.9),
    rgba(211, 167, 123, 0.15)
  );
}

.card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin: 0 0 6px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.card p {
  font-size: 0.95rem;
  margin: 0 0 10px;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.card-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
}

.card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.card-links {
  margin-top: 6px;
}

.text-link {
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* Muted cards for "coming soon" */
.card-muted {
  position: relative;
  background: #fbf7f3;
  border-style: dashed;
  border-color: rgba(211, 167, 123, 0.55);
}

.badge-soon {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  color: var(--accent);
}

/* Projects image strip */
.image-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.image-strip figure {
  margin: 0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
  text-align: center;
  padding-bottom: 6px;
}


.image-strip img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}


.image-strip figcaption {
  font-size: 0.8rem;
  padding: 8px 10px 10px;
  color: var(--text-muted);
}

/* Pills row (services) */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.pill {
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 0.85rem;
  background: var(--accent-soft);
  border: 1px solid rgba(211, 167, 123, 0.4);
}

/* Tech stack */
.stack-row {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(238, 227, 216, 0.8);
}

.stack-row h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.stack-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.stack-group {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
}

.stack-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.stack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stack-chips span {
  font-size: 0.8rem;
  border-radius: var(--radius-pill);
  padding: 4px 9px;
  background: rgba(211, 167, 123, 0.08);
  border: 1px solid rgba(211, 167, 123, 0.3);
}
.work-with-me {
  margin-top: 28px;
}

.work-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  border: 1px solid rgba(238, 227, 216, 0.9);
  box-shadow: var(--shadow-soft);
  padding: 22px 24px 24px;
  position: relative;
  overflow: hidden;
}

/* soft gold gradient accent at top */
.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    rgba(211, 167, 123, 0.85),
    rgba(211, 167, 123, 0.08)
  );
}

.work-card h3 {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 1.15rem;
  font-family: "Playfair Display", serif;
}

.work-card > p {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.work-item h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
}

.work-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.ideal-clients {
  position: relative;
  margin-top: 26px;
  padding: 20px 22px 18px 26px;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(253, 244, 236, 0.98),
    rgba(250, 246, 242, 0.96)
  );
  border: 1px solid rgba(238, 227, 216, 0.9);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

/* soft gold bar on the left */
.ideal-clients::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(211, 167, 123, 0.95),
    rgba(211, 167, 123, 0.35)
  );
}

/* subtle glow in the corner */
.ideal-clients::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(211, 167, 123, 0.18),
    transparent 60%
  );
}

.ideal-clients h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-family: "Playfair Display", serif;
}

.ideal-clients ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.ideal-clients li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

/* custom soft bullet */
.ideal-clients li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(211, 167, 123, 0.9);
  transform: translateY(-50%);
}

/* Contact */
.contact-card {
  background: var(--bg-alt);
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin: 0 0 6px;
}

.contact-email a {
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--text-main);
}

.contact-email a:hover {
  color: var(--accent);
}

.contact-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding: 24px 0 30px;
  border-top: 1px solid rgba(238, 227, 216, 0.8);
  background: rgba(255, 255, 255, 0.9);
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
/* Gentle section separators with a soft gold hint */
.section + .section,
.section + .section-alt,
.section-alt + .section,
.section-alt + .section-alt {
  border-top: 1px solid rgba(238, 227, 216, 0.6);
  position: relative;
}

.section + .section::before,
.section-alt + .section::before,
.section + .section-alt::before,
.section-alt + .section-alt::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 90px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(211, 167, 123, 0.8),
    rgba(211, 167, 123, 0)
  );
}

/* Responsive */
@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 24px;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    right: 20px;
    top: 64px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 14px;
    padding: 10px 14px;
    flex-direction: column;
    gap: 10px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}

/* --- Subtle fade-up animation on load --- */
@keyframes fadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply to key elements */
.hero-text,
.hero-card,
.section-inner {
  opacity: 0;
  animation: fadeUpSoft 0.9s ease-out forwards;
}

/* Slight stagger so it feels natural */
.hero-card {
  animation-delay: 0.12s;
}

.section:nth-of-type(2) .section-inner {
  animation-delay: 0.18s; /* about */
}

.section:nth-of-type(3) .section-inner {
  animation-delay: 0.24s; /* projects */
}

.section:nth-of-type(4) .section-inner {
  animation-delay: 0.30s; /* services */
}

.section:nth-of-type(5) .section-inner {
  animation-delay: 0.36s; /* case studies */
}

.section:nth-of-type(6) .section-inner {
  animation-delay: 0.42s; /* contact */
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-text,
  .hero-card,
  .section-inner {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
