/* =========================
   Root & Reset
========================= */

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #5f6368;
  --border: #e5e7eb;
  --accent: #000000;
  --max-width: 960px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
}

/* =========================
   Layout Helpers
========================= */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================
   Header
========================= */

.site-header {
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 72px;
  height: 72px;
}

.brand-name {
  font-weight: 1000;
  letter-spacing: 0.02em;
}

/* =========================
   Hero
========================= */

.hero {
  padding: 5rem 0 4rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-subtext {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* =========================
   Projects
========================= */

.projects {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}

.projects h2 {
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.project-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.project-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  background-color: #ffffff;
  border: 1px solid var(--border);
  padding: 4px;
}

.project-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.project-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.project-card h3 a:hover {
  text-decoration: underline;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.project-link {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  align-self: flex-start;
}

.project-link:hover {
  text-decoration: underline;
}

.project-status {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* =========================
   About Sections
========================= */

.about,
.designer {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}

.about h2,
.designer h2 {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.about p {
  max-width: 720px;
  color: var(--muted);
}

/* =========================
   Designer
========================= */

.designer-inner {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  align-items: center;
}

.designer-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.designer-text p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.designer-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

.designer-link:hover {
  text-decoration: underline;
}

/* =========================
   Footer
========================= */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-note {
  font-style: italic;
}