:root {
  --bg: #f7f5f0;
  --bg-alt: #ffffff;
  --accent: #2f7f4f;
  --accent-soft: #e0f2e8;
  --text: #1d1f21;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
}

/* GENERAL LAYOUT */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 640px;
  color: var(--muted);
}

/* ANIMATIONS */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SKIP LINK */

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: #000;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  z-index: 50;
}

.skip-link:focus {
  left: 1rem;
}

/* HEADER / NAV */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 240, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
}

.logo-text-main {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1rem;
}

.logo-text-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

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

/* HERO */

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-text,
.hero-image-wrapper {
  animation: fadeUp 0.7s ease-out both;
}

.hero-image-wrapper {
  animation-delay: 0.1s;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin: 0.2rem 0 0.85rem;
}

.hero-subtitle {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease,
    color 0.12s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
}

.btn.ghost {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-soft);
}

.btn.ghost:hover {
  background: #fff;
}

.hero-image-wrapper {
  justify-self: center;
}

.hero-image {
  width: 260px;
  max-width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.about-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.7rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.2);
  animation: fadeUp 0.7s ease-out both;
  animation-delay: 0.1s;
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.about-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-card li + li {
  margin-top: 0.4rem;
}

/* CARDS */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.7rem;
  margin-top: 2rem;
}

.card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  animation: fadeUp 0.7s ease-out both;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

/* WORK IMAGES */

.work-image-wrapper {
  margin: -1.4rem -1.5rem 0.9rem;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.work-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.work-card:hover .work-image,
.highlight-card:hover .work-image {
  transform: scale(1.03);
}

/* WORK */

.work-grid {
  margin-top: 2rem;
}

.work-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.work-card .work-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.work-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}

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

/* TIMELINE */

.timeline {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.timeline-item {
  padding: 1.4rem 1.5rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  animation: fadeUp 0.7s ease-out both;
}

.timeline-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.contact-card {
  background: var(--bg-alt);
  padding: 1.5rem 1.7rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  animation: fadeUp 0.7s ease-out both;
  animation-delay: 0.05s;
}

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

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

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer-inner {
  padding: 1.3rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    right: 1.25rem;
    top: 3.2rem;
    flex-direction: column;
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
    display: none;
  }

  .nav-links.nav-open {
    display: flex;
  }
}
