:root {
  --bg-dark: rgb(41,16,73);
  --bg-card: #1a1816;
  --text: #1c1a18;
  --text-header: #f6f4f0;
  --accent: rgb(41,16,73);
  --accent-soft: rgb(195, 168, 230);
  --border: #2d2a26;
  --bg-paper: #f1f1f1;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 14, 13, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  text-transform: uppercase;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Metamorphous", serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--text-header);
  letter-spacing: 0.05em;
}

.logo img {
  display: block;
  height: 2.25rem;
  width: auto;
  transition: opacity 0.2s ease;
}

.logo:hover img {
  opacity: 0.85;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: var(--text-header);
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
}

/* Main content */
main {
  flex: 1;
  width: 100%;
}

.paper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  background: var(--bg-paper);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}



.section {
  margin-bottom: 4rem;
}

.section-title {
  font-family: "Metamorphous", serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
  color: var(--text);
  text-transform: uppercase;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Metamorphous", serif;
}

.section-intro {
  color: var(--text-muted);
  margin: 0 0 2rem;
  font-size: 1.1rem;
}

/* Intro (home) */
.intro-section {
  margin-bottom: 3rem;
}

.intro-paragraph {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
  max-width: 42rem;
}

/* Portfolio teaser + CTA */
.gallery-teaser {
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(320px, 1fr));
  height: 420px;
}

.portfolio-cta {
  margin: 2rem 0 0;
}

.cta-link {
  display: inline-block;
  background: var(--accent);
  color: var(--text-header);
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  border: 1px solid var(--accent);
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.cta-link:hover {
  background: var(--accent-soft);
  color: var(--text);
}

/* Portfolio gallery */
.gallery {
  display: grid;
  gap: 1.5rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-card);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-item a {
  display: block;
  text-decoration: none;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* Contact */
.contact-section {
  padding-top: 1rem;
}

.contact-content {
  max-width: 560px;
}

.contact-content p {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--text);
}

.contact-email {
  margin-top: 1.25rem !important;
}

.contact-content a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-soft);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-content a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* Footer */
.site-footer {
  padding-bottom: 1rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-header);
}


@media (max-width: 1200px) {
  .gallery-teaser {
    height: auto;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
  }

  .gallery-teaser .gallery-item {
    height: 600px;
  }
}

@media (max-width: 720px) {
  .main-nav {
    gap: 1.25rem;
  }

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

  .gallery-teaser {
    height: auto;
  }
}

