@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Crimson+Text:ital,wght@0,400;1,400&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Crimson Text', Georgia, serif;
  background: #1c1710;
  color: #e2d5bc;
  font-size: 1.1rem;
  line-height: 1.75;
}

/* ── Nav ── */
nav {
  background: #141009;
  border-bottom: 1px solid #3a3020;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: #c8943a;
  text-decoration: none;
  letter-spacing: 3px;
}

nav ul { list-style: none; display: flex; gap: 6px; }

nav a {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #9a8c78;
  text-decoration: none;
  padding: 5px 13px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: color 0.2s, border-color 0.2s;
}

nav a:hover, nav a.active {
  color: #c8943a;
  border-color: #3a3020;
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 52px 20px 36px;
}

.hero img {
  width: 300px;
  max-width: 60vw;
  margin-bottom: 20px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5));
}

h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 4px;
  color: #c8943a;
  margin-bottom: 6px;
}

.tagline {
  font-size: 0.8rem;
  letter-spacing: 5px;
  color: #6a5e4e;
  text-transform: uppercase;
  margin-bottom: 30px;
}

hr {
  border: none;
  border-top: 1px solid #3a3020;
  max-width: 400px;
  margin: 0 auto 28px;
}

/* ── About box ── */
.about {
  max-width: 660px;
  margin: 0 auto 44px;
  padding: 24px 28px;
  background: #221e16;
  border: 1px solid #3a3020;
  border-radius: 6px;
  font-style: italic;
  color: #cec0a8;
}

/* ── Social links ── */
.socials {
  padding: 0 20px 48px;
  text-align: center;
}

.socials p {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 5px;
  color: #6a5e4e;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.s-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #3a3020;
  border-radius: 5px;
  background: #221e16;
  color: #b0a28c;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.s-btn:hover            { background: #2c2618; border-color: #5a4e38; color: #e2d5bc; }
.s-btn.yt:hover         { color: #ff6060; border-color: #6a2020; }
.s-btn.tw:hover         { color: #a06aff; border-color: #4a2a7a; }
.s-btn.rd:hover         { color: #ff7050; border-color: #6a3020; }
.s-btn.x:hover          { color: #d0d0d0; border-color: #5a5a5a; }
.s-btn.ig:hover         { color: #e86080; border-color: #6a2040; }

/* ── Portal cards ── */
.portals {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

.portals > p {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 5px;
  color: #6a5e4e;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 18px;
}

.portals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.portal-card {
  display: block;
  text-decoration: none;
  padding: 26px 22px;
  background: #221e16;
  border: 1px solid #3a3020;
  border-radius: 6px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.portal-card:hover {
  border-color: #c8943a;
  background: #2a2418;
}

.portal-card .icon { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.portal-card .title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #c8943a;
  margin-bottom: 7px;
  letter-spacing: 2px;
}
.portal-card .desc { font-size: 0.92rem; color: #8a7c68; }

/* ── Sub-pages ── */
.page-wrap { max-width: 860px; margin: 0 auto; padding: 40px 24px 60px; }

.page-head {
  text-align: center;
  margin-bottom: 36px;
}

.page-head h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 6px; }
.page-head p  { font-style: italic; color: #8a7c68; }

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 20px;
}

.proj-card {
  background: #221e16;
  border: 1px solid #3a3020;
  border-radius: 6px;
  padding: 22px;
  transition: border-color 0.2s;
}

.proj-card:hover { border-color: #c8943a; }

.proj-tag {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 2px 9px;
  border: 1px solid #4a3820;
  border-radius: 20px;
  color: #8a7060;
  margin-bottom: 10px;
}

.proj-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: #c8943a;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.proj-card p { font-size: 0.93rem; color: #9a8c78; line-height: 1.6; margin-bottom: 14px; }

.proj-link {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: #8a7060;
  text-decoration: none;
  border-bottom: 1px solid #4a3820;
  transition: color 0.2s, border-color 0.2s;
}

.proj-link:hover { color: #c8943a; border-color: #c8943a; }

/* Project detail */
.proj-detail-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.proj-detail-section {
  background: #221e16;
  border: 1px solid #3a3020;
  border-radius: 6px;
  padding: 26px 28px;
}

.proj-detail-section h2 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: #c8943a;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.proj-detail-section p {
  font-size: 0.97rem;
  color: #9a8c78;
  line-height: 1.75;
}

.proj-detail-back {
  padding-top: 8px;
}

/* Quotes */
.quotes-list { display: flex; flex-direction: column; gap: 20px; }

.quote-card {
  background: #221e16;
  border: 1px solid #3a3020;
  border-left: 3px solid #c8943a;
  border-radius: 0 6px 6px 0;
  padding: 22px 26px;
  transition: border-left-color 0.2s;
}

.quote-card:hover { border-left-color: #e0aa50; }

.q-text {
  font-size: 1.12rem;
  font-style: italic;
  color: #cec0a8;
  line-height: 1.78;
  margin-bottom: 10px;
}

.q-src {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: #6a5e4e;
}

.q-src::before { content: '— '; }

/* ── Footer ── */
footer {
  text-align: center;
  padding: 24px;
  border-top: 1px solid #2e2820;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: #4a4030;
}

/* ── Responsive ── */
@media (max-width: 560px) {
  .portals-grid { grid-template-columns: 1fr; }
  .social-row   { gap: 8px; }
  .s-btn        { padding: 9px 14px; font-size: 0.75rem; }
}
