/* ------------------------------------------------------------------
   Cura Creative — styles
   ------------------------------------------------------------------ */

:root {
  --charcoal: #12141A;
  --charcoal-soft: #1b1e26;
  --offwhite: #FAF8F5;
  --text-dark: #1c1f26;
  --text-muted: #5a5f6a;
  --text-light: #f3f1ec;
  --text-light-muted: #a9adb6;
  --accent: #2DD4BF;
  --accent-hover: #14b8a6;
  --border: #e7e2da;

  --maxw: 1040px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--offwhite);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- Hero */

.hero {
  background: var(--charcoal);
  color: var(--text-light);
  padding: 0 24px;
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.nav__brand {
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 1.05rem;
}

.nav__brand:hover {
  color: var(--text-light);
}

.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

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

.hero__content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 0 120px;
}

.hero__wordmark {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 0 0 20px;
  line-height: 1.05;
}

.hero__tagline {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--text-light-muted);
  max-width: 640px;
  margin: 0;
  font-weight: 400;
}

/* ------------------------------------------------------------ Sections */

.section {
  padding: 88px 0;
}

.section--light {
  background: var(--offwhite);
  color: var(--text-dark);
}

.section--dark {
  background: var(--charcoal);
  color: var(--text-light);
}

.section__title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 32px;
}

/* About */

.about__prose {
  max-width: 680px;
}

.about__prose p {
  font-size: 1.15rem;
  margin: 0 0 24px;
}

.about__prose p:last-child {
  margin-bottom: 0;
}

/* Portfolio */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 1px 2px rgba(18, 20, 26, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(18, 20, 26, 0.1);
  border-color: #d9d3c9;
}

.card__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.card__body {
  color: var(--text-muted);
  margin: 0 0 24px;
  flex-grow: 1;
}

.card__link {
  display: inline-block;
  align-self: flex-start;
  background: var(--accent);
  color: #08312c;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 10px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.card__link:hover {
  background: var(--accent-hover);
  color: #08312c;
  transform: translateY(-1px);
}

.card__badge {
  display: inline-block;
  align-self: flex-start;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #f6f3ee;
}

/* Contact */

.contact__email {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 600;
  margin: 0;
}

.contact__email a {
  color: var(--accent);
}

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

.section--dark .section__title {
  color: var(--accent);
}

/* Footer */

.footer {
  background: var(--charcoal);
  color: var(--text-light-muted);
  text-align: center;
  padding: 40px 24px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer p {
  margin: 0;
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card,
  .card__link {
    transition: none;
  }
}
