/* ───── Reset & Base ───── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream:    #FAF7F2;
  --ink:      #1A1A1A;
  --warm:     #3D2B1F;
  --accent:   #B8860B;
  --accent-light: #D4A84B;
  --muted:    #8A7D72;
  --card-bg:  #FFFFFF;
  --border:   #E8E2DA;
  --shadow:   0 2px 20px rgba(0,0,0,0.06);
  --radius:   12px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film-grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ───── Hero ───── */
.hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #F5EDE3 0%, var(--cream) 100%);
  z-index: -1;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--warm);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.tagline {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUp 0.8s ease 0.2s forwards;
}

/* ───── About ───── */
.about {
  padding: 5rem 0;
}

.about .container {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
}

.photo-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: white;
  font-weight: 600;
}

.about-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

.about-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--warm);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--ink);
  font-weight: 300;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

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

/* ───── Links Grid ───── */
.links {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.015));
}

.links h2,
.social h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--warm);
  text-align: center;
  margin-bottom: 2.5rem;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: all 0.3s ease;
  position: relative;
}

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent-light);
}

.link-card .link-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.link-card .link-icon svg {
  width: 100%;
  height: 100%;
}

.link-label {
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.link-desc {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
}

/* Placeholder cards — slightly dimmed until real URLs are added */
.placeholder-link {
  opacity: 0.55;
  border-style: dashed;
}

.placeholder-link:hover {
  opacity: 0.8;
}

/* ───── Social ───── */
.social {
  padding: 4rem 0 5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 400;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: var(--warm);
  color: white;
  border-color: var(--warm);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ───── Footer ───── */
footer {
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

footer p {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
}

/* ───── Animations ───── */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ───── Responsive ───── */
@media (max-width: 700px) {
  .about .container {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 45vh;
    padding: 4rem 1.5rem 3rem;
  }
}
