:root {
  /* Background */
  --bg: #fdf6f0; 
  --surface: #f5e8e0; 
  --card: #fffaf0;
  --border: #e8c4b8;

  /* Accent */
  --accent: #c0415a; 
  --accent2: #b07a8a; 
  --accent3: #7a3d4e; 

  /* Text */
  --text: #2e1a20;
  --muted: #9a7080;

  /* Gold */
  --gold: #c49a45;

  --font-display: "Cormorant Garamond", serif;

  --font-body: "Plus Jakarta Sans", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: normal;
}

a,
li {
  text-decoration: none;
  list-style: none;
  transition: all 0.3s ease-in-out;
}

header {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.top {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-top-bar {
  display: flex;
  justify-content: space-between;
  background-color: var(--accent);
  text-align: center;
  width: 100%;
  font-size: 13px;
  padding: 5px 20px;
  color: var(--surface);
  word-spacing: 10px;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  padding: 15px 50px;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.nav-brand {
  display: flex;
  flex-direction: column;
}

.nav-title,
.footer-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
}

.nav-subtitle,
.hero-eyebrow,
.footer-sub {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  text-align: center;
  width: 40%;
}

.nav-links a,
.nav-profile {
  font-size: 13px;
  font-weight: 500;
  word-spacing: 1px;
  letter-spacing: 1px;
  padding: 8px 16px;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links a:hover {
  background-color: var(--surface);
  border-radius: 20px;
}

.nav-profile:hover {
  background-color: var(--border);
  border-radius: 20px;
}

.nav-profile {
  background-color: var(--surface);
  padding: 10px 20px;
  border-radius: 20px;
}

.header-hero {
  margin-top: 150px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-container {
  width: 60%;
}

.header-hero h1 {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 0.8;
  margin: 10px 0 20px 0;
}

.hero-title2 {
  color: var(--accent);
  font-style: italic;
}

.hero-sub {
  max-width: 650px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
  word-spacing: 1px;
}

.divider {
  width: 50px;
  height: 3px;
  background-color: var(--accent);
  margin: 10px 0;
}

main {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: flex-start;
  width: 80%;
  margin: 0 auto 60px;
  padding: 40px 0;
  gap: 15px;
}

.content {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

article {
  scroll-margin-top: 125px;
  padding: 20px 30px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.article-meta {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-self: self-end;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent2);
}

.date {
  font-size: 12px;
  color: var(--muted);
}

article h2 {
  font-size: 30px;
  color: var(--accent);
  margin-bottom: 20px;
}

article figure {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

article figure img {
  width: 450px;
}

article figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

article p {
  line-height: 1.5;
  word-spacing: 1px;
}

aside {
  width: 25%;
  background-color: var(--surface);
  padding: 20px 30px;
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aside-profile {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.aside-profile img {
  width: 150px;
  border-radius: 50%;
  border: 3px solid var(--card);
}

.aside-profile h3 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  font-style: italic;
  color: var(--accent3);
}

.profile-tagline {
  word-spacing: 3px;
}

.profile-bio,
.stat span,
.fav-list {
  font-size: 13px;
  color: var(--muted);
  word-spacing: 1px;
}

.profile-stats {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.stat strong {
  font-size: 18px;
  color: var(--accent3);
}

.aside-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.aside-divider {
  background-color: var(--accent);
  width: 40px;
  height: 2px;
  margin-bottom: 8px;
}

.aside-section h4 {
  color: var(--accent3);
}

.line {
  color: var(--accent);
  margin-right: 2px;
  font-weight: 700;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags span {
  color: var(--muted);
  font-size: 12px;
  padding: 4px 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

footer {
  width: 100%;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 60%;
  margin: 0 auto 40px;
  padding: 40px 48px 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-container p {
  font-size: 14px;
  line-height: 1.5;
  word-spacing: 1px;
  max-width: 600px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-label {
  font-size: 11px !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent2);
}

.contact-email {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  transition: all 0.3s ease-in-out;
}

.email-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}

.email-icon-img {
  width: 25px;
  height: 25px;
}

.email-text {
  display: flex;
  flex-direction: column;
  line-height: 0.6;
  padding: 10px 15px;
  transition: all 0.3s ease-in-out;
  border-radius: 20px;
}

.email-text:hover,
.contact-email:hover .email-icon:hover {
  background-color: var(--border);
}

.email-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent3);
}

.email-adr {
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: 10px 30px;
  display: flex;
  justify-content: center;
}

.footer-bottom p {
  font-size: 14px;
  align-self: center;
  word-spacing: 1px;
}

/*  hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger img {
  width: 24px;
  height: 24px;
}

/* tablet */
@media (max-width: 1024px) {
  .header-top-bar {
    font-size: 11px;
    word-spacing: 4px;
  }

  nav {
    padding: 12px 24px;
    flex-wrap: wrap;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 4px;
    padding-bottom: 8px;
  }

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

  .nav-profile {
    display: none;
    width: 100%;
    text-align: center;
  }

  .nav-profile.open {
    display: block;
  }

  .header-hero {
    margin-top: 180px;
  }

  .hero-container {
    width: 85%;
  }

  .header-hero h1 {
    font-size: 48px;
  }

  main {
    flex-direction: column;
    width: 90%;
  }

  article figure {
    flex-direction: column;
    align-items: center;
  }

  article figure figcaption {
    text-align: center;
  }

  article figure img {
    width: 100%;
    height: auto;
  }

  .content {
    width: 100%;
  }

  aside {
    margin-top: 20px;
    width: 100%;
    position: static;
  }

  .footer-container {
    flex-direction: column;
    width: 85%;
    padding: 32px 24px;
    gap: 28px;
  }
}

/* mobile */
@media (max-width: 540px) {
  .header-top-bar {
    flex-direction: column;
    text-align: center;
    gap: 2px;
    font-size: 10px;
  }

  nav {
    padding: 10px 16px;
  }

  .header-hero {
    margin-top: 200px;
  }

  .hero-container {
    width: 90%;
  }

  .header-hero h1 {
    font-size: 36px;
    line-height: 1;
    margin-bottom: 16px;
  }

  main {
    width: 92%;
    padding: 20px 0;
  }

  article {
    padding: 16px 18px;
  }

  article h2 {
    font-size: 22px;
  }

  .footer-container {
    width: 92%;
    padding: 24px 16px;
  }

  .footer-bottom {
    text-align: center;
  }
}
