/* Maja Portfolio — from the Claude Design "Portfolio site for web apps" canvas */
:root {
  --bg: #FAF5EF;
  --ink: #2C241D;
  --muted: #5C5044;
  --soft: #7A6D5E;
  --faint: #9A8D7C;
  --line: #E4D9CB;
  --card-line: #EDE3D4;
  --card: #FFFDF9;
  --well: #F1E8DB;
  --accent: oklch(0.55 0.15 35);
  --accent-hover: oklch(0.45 0.15 35);
  --accent-button-hover: oklch(0.48 0.15 35);
  --selection: oklch(0.9 0.05 35);
  --serif: Lora, Georgia, "Times New Roman", serif;
  --sans: Karla, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
::selection { background: var(--selection); }
img { max-width: 100%; height: auto; display: block; }

.page { max-width: 1000px; margin: 0 auto; padding: 0 32px; min-height: 100vh; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 36px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; color: var(--ink); }
.monogram {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-style: italic; font-size: 18px;
  padding-bottom: 2px;
}
.site-nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--ink); }

/* Section headings */
.section-title {
  font-family: var(--serif); font-weight: 500; font-size: 32px;
  margin: 0 0 40px; display: flex; align-items: baseline; gap: 16px;
}
.section-title .rule { flex: 1; height: 1px; background: var(--line); }
.section-title--plain { margin-bottom: 24px; }
.section-lede { font-size: 15px; color: var(--soft); margin: -28px 0 32px; }

/* Featured projects */
.projects { padding-bottom: 40px; }
.features { display: grid; gap: 56px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.shot {
  display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px;
  background: var(--well); box-shadow: 0 1px 0 rgba(44, 36, 29, 0.06), 0 12px 32px -18px rgba(44, 36, 29, 0.35);
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.shot:hover img { transform: scale(1.02); }
.feature h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 0 0 12px; }
.feature p { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0 0 18px; text-wrap: pretty; }

.tags { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: 13px; font-weight: 600; padding: 5px 12px;
  border: 1px solid var(--line); border-radius: 99px; color: var(--soft);
}
.visit { font-weight: 600; font-size: 15px; }

/* Card grid (work in progress) */
.games { padding: 80px 0 40px; }
.wip { padding: 80px 0 40px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--card-line); border-radius: 14px; padding: 28px;
  display: flex; flex-direction: column;
}
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; margin: 0; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; text-wrap: pretty; }
.card .tags { margin: 16px 0 0; }
.card .visit { margin-top: auto; padding-top: 16px; }
.card .tags + .visit { padding-top: 14px; }

/* About */
.about { padding: 80px 0 40px; max-width: 680px; }
.about p { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 0; text-wrap: pretty; }

/* Contact */
.contact { padding: 80px 0 100px; }
.contact-box { background: var(--well); border-radius: 20px; padding: 56px; text-align: center; }
.contact-box h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 0 0 14px; }
.contact-box p { font-size: 16px; color: var(--muted); margin: 0 0 28px; }
.button {
  display: inline-block; background: var(--accent); color: var(--bg);
  font-weight: 600; font-size: 16px; padding: 14px 32px; border-radius: 99px;
  overflow-wrap: anywhere;
}
.button:hover { background: var(--accent-button-hover); color: var(--bg); text-decoration: none; }
.contact-links { margin: 24px 0 0 !important; font-size: 15px; }
.contact-links a { font-weight: 600; }
.footer { text-align: center; font-size: 14px; color: var(--faint); margin: 40px 0 0; }

/* Responsive */
@media (max-width: 760px) {
  .page { padding: 0 20px; }
  .site-header { padding: 24px 0; flex-wrap: wrap; gap: 16px; }
  .site-nav { gap: 18px; flex-wrap: wrap; }
  .section-title { font-size: 26px; margin-bottom: 28px; }
  .section-lede { margin-top: -16px; }
  .feature { grid-template-columns: 1fr; gap: 20px; }
  .feature--flip .shot { order: -1; }
  .features { gap: 48px; }
  .cards { grid-template-columns: 1fr; }
  .games, .wip, .about, .contact { padding-top: 56px; }
  .contact-box { padding: 36px 24px; }
}

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