/* Michelle Nguyen — Learning Experience Designer
   Base styles, close match to original Weebly site */

:root {
  --teal: #6f9aa8;
  --teal-dark: #3f6672;
  --cream: #f6ece1;
  --ink: #2b2b2b;
  --gray: #666666;
  --gray-light: #999999;
  --line: #d9d9d9;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--gray);
  background: #ffffff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header { padding-top: 40px; }

.logo-block { text-align: center; margin-bottom: 20px; }

.logo-script {
  font-family: 'Brush Script MT', cursive;
  font-size: 46px;
  color: var(--teal-dark);
  display: inline-block;
}

.logo-img {
  max-width: 260px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.logo-sub {
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--ink);
  margin-top: 6px;
  font-weight: 600;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 10px;
}

nav a {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gray);
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 3px;
}

nav a.active,
nav a:hover {
  background: #f0f0f0;
  color: var(--ink);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--teal-dark); color: #fff; }

/* Hero (home) */
.hero {
  background: #fafafa;
  padding: 60px 0;
  margin-top: 30px;
}

.hero .wrap {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: nowrap;
}

.hero-photo {
  flex-shrink: 0;
}

.hero-photo img {
  width: 300px;
  height: 320px;
  object-fit: cover;
  border-radius: 150px 150px 0 0;
}

.hero-text h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  color: var(--ink);
  margin: 0 0 20px;
}

/* Section headings */
h2.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 27px;
  color: var(--ink);
  margin: 50px 0 20px;
}

/* Featured / project grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.grid-3 figure { margin: 0; }
.grid-3 img { border-radius: 4px; margin-bottom: 10px; }
.grid-3 figcaption { font-weight: 600; color: var(--ink); font-size: 15px; }

/* Contact section */
.contact-layout {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: 40px 0 60px;
}

.contact-form { flex: 1 1 380px; }
.contact-form label { display: block; font-size: 13px; margin: 14px 0 4px; color: var(--ink); }
.contact-form .req { color: #c0392b; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 14px;
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.name-row { display: flex; gap: 14px; }
.name-row > div { flex: 1; }

.contact-card {
  flex: 0 0 260px;
  background: var(--cream);
  border-radius: 4px;
  padding: 30px;
  text-align: center;
}
.contact-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
}
.contact-card h3 { font-family: var(--serif); font-weight: 400; margin: 0 0 10px; color: var(--ink); }
.contact-card p { font-size: 14px; margin: 0; }

/* About page */
.about-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin: 40px 0 60px;
  flex-wrap: wrap;
}
.about-photo { flex: 0 0 240px; text-align: center; }
.about-photo img { border-radius: 4px; margin-bottom: 16px; }
.about-photo h3 { font-family: var(--serif); font-weight: 400; font-size: 17px; color: var(--ink); margin-bottom: 16px; }

.about-text {
  flex: 1 1 400px;
  background: var(--teal);
  color: #fff;
  padding: 34px;
  border-radius: 4px;
}
.about-text p { margin: 0 0 18px; font-size: 14px; }
.about-text p:last-child { margin-bottom: 0; }

/* Projects page */
.project-row {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.project-row.reverse { flex-direction: row-reverse; }
.project-row img { flex: 0 0 380px; height: 260px; object-fit: cover; border-radius: 4px; }
.project-row .info { flex: 1 1 300px; }
.project-row h3 { font-family: var(--serif); font-weight: 400; font-size: 19px; margin: 0 0 10px; color: var(--ink); text-decoration: underline; }
.project-row p { font-size: 14px; margin: 0 0 12px; }
.project-row .tools { font-size: 13px; margin-bottom: 16px; }
.project-row .tools strong { color: var(--ink); }

/* Detail pages */
.detail-hero { display: flex; gap: 30px; align-items: center; margin: 30px 0; flex-wrap: wrap; }
.detail-hero img { flex: 0 0 380px; border-radius: 4px; }
.detail-hero .info { flex: 1 1 260px; }
.detail-hero h1 { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ink); margin: 0 0 16px; }
.eyebrow { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--teal-dark); font-weight: 600; }

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-meta h4 { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); margin: 0 0 8px; }
.detail-meta p { font-size: 14px; margin: 0; }

.process h2 { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--ink); }
.process p { font-size: 14px; margin-bottom: 18px; }
.process strong { color: var(--ink); }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding: 30px 0 50px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
}
footer .brand { font-weight: 700; color: var(--ink); }
footer .social { margin-top: 10px; }
footer .social a { margin-right: 10px; color: var(--gray-light); }
footer .links a { display: block; margin-bottom: 4px; }
footer .copyright { text-align: right; color: var(--gray-light); }

@media (max-width: 640px) {
  .hero .wrap, .about-layout, .contact-layout, .project-row, .detail-hero { flex-direction: column; }
  .grid-3 { grid-template-columns: 1fr; }
  .detail-meta { grid-template-columns: 1fr; }
  footer .wrap { flex-direction: column; }
  footer .copyright { text-align: left; }
}
