/* rasar.ai - Clean, calm, spacious */

:root {
  --white: #ffffff;
  --black: #2d2d2d;
  --gray: #6b6b6b;
  --light-gray: #e5e5e5;
  --accent: #c9a9a6;
  --max-width: 680px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1.25rem;
  --spacing-md: 2.5rem;
  --spacing-lg: 4.5rem;
  --spacing-xl: 9rem;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
html {
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.9;
  color: #6b6b6b;
  background-color: var(--white);
}

/* Typography */
h1 {
  font-family: 'Lora', serif;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding-top: 1.5rem;
  color: #6b6b6b;
}

h3 {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.3s ease, text-decoration-thickness 0.3s ease;
}

a:hover {
  color: var(--accent);
  text-decoration-thickness: 2px;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

ul {
  margin-bottom: var(--spacing-md);
  padding-left: 1.5rem;
}

/* Headshot */
.headshot {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 0 1.75rem 0;
  opacity: 0.85;
  filter: grayscale(15%);
}

ul li {
  margin-bottom: var(--spacing-sm);
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Set content width for main content */
main .container {
  width: 100%;
  max-width: 700px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

/* Header */
header {
  padding: 1.75rem 0;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid #f5f5f5;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
}

.logo {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: #6b6b6b;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.logo-name {
  display: block;
}

.logo-tagline {
  display: block;
  font-family: 'Lora', serif;
  font-size: 0.65rem;
  font-weight: 400;
  font-style: italic;
  color: #888;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.logo:hover {
  text-decoration: none;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 0.85rem;
  font-weight: 400;
  color: #6b6b6b;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

nav a:hover {
  color: #c9a9a6;
}

nav a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #c9a9a6;
}

nav a.active {
  color: #6b6b6b;
  font-weight: 400;
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #c9a9a6;
}

/* Hero */
.hero {
  padding: var(--spacing-xl) 0;
}

.hero h1 {
  margin-bottom: var(--spacing-sm);
}

/* Main content */
main {
  padding-bottom: 1.5rem;
}

/* Sections */
section {
  margin-bottom: 1.75rem;
  padding-top: 0;
}

/* Project list */
.project {
  max-width: 680px;
  margin: 0 auto;
  margin-bottom: 3rem;
  padding-top: 0.5rem;
}

.project h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  color: #6b6b6b;
}

.project a {
  text-decoration: none;
  color: #6b6b6b;
  transition: color 0.3s ease;
}

.project a:hover {
  color: #c9a9a6;
  text-decoration: none;
}

.project p {
  line-height: 1.75;
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.notes-muted {
  color: #7a7a7a;
}

.coming-title {
  color: #888888;
  font-weight: 600;
}

.coming-note {
  color: #9a9a9a;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.divider {
  text-align: center;
  color: var(--light-gray);
  margin: 0.5rem 0;
  font-size: 1rem;
  letter-spacing: 0.5rem;
}

.section-divider {
  width: 70px;
  height: 1px;
  background-color: #e8e8e8;
  border: none;
  margin: 0.75rem auto 1.5rem;
}
.contact {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid #f0f0f0;
  text-align: center;
}

.contact p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.contact p:last-child {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 0.75rem;
}

.contact-links {
  font-size: 0.95rem;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.contact-links a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-links a:hover {
  color: #6b6b6b;
}

/* icon styles removed during revert */

.contact-links .resume-btn {
  color: #5c5c5c;
}

.resume-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.4rem 1rem;
  border: 1px solid #c9a9a6;
  border-radius: 50px;
  background-color: #faf8f7;
  color: #5c5c5c;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  vertical-align: baseline;
  line-height: 1.2;
}

.resume-btn:hover {
  background-color: #f5eeeb;
  color: #6b6b6b;
  border-color: #a89482;
}

.cta-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid #c9a9a6;
  border-radius: 50px;
  background-color: #faf8f7;
  color: #5c5c5c;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: #f5eeeb;
  color: #6b6b6b;
  border-color: #a89482;
  text-decoration: none;
}

.subscribe-cta {
  text-align: center;
  font-size: 0.95rem;
  color: #6b6b6b;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #f0f0f0;
}

.subscribe-cta a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.subscribe-cta a:hover {
  color: #6b6b6b;
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #6b6b6b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #6b6b6b;
}

/* Footer */
footer {
  padding: var(--spacing-lg) 0;
  border-top: 1px solid #f0f0f0;
  margin-top: var(--spacing-lg);
}

footer .container {
  max-width: 900px;
  text-align: center;
}

footer p {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

footer p:last-child {
  margin-bottom: 0;
}

.footer-links {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #6b6b6b;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--gray);
  text-align: center;
  margin-top: var(--spacing-md);
  margin-bottom: 0;
}

.footer-copyright {
  font-size: 0.8rem;
}

.footer-note {
  font-size: 0.75rem;
  color: #8a8a8a;
  margin-top: 0.3rem;
}

footer nav {
  gap: var(--spacing-sm);
}

footer nav a {
  font-size: 0.875rem;
  color: var(--gray);
  text-decoration: none;
}

footer nav a:hover {
  color: #6b6b6b;
}

.project-links {
  margin-top: 1rem;
}

.project-link {
  display: inline-block;
  font-size: 1rem;
  color: #6b6b6b;
  text-decoration: none;
  font-weight: 500;
}

.project-link:hover {
  color: #c9a9a6;
}

.project-link-note {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #6b6b6b;
  font-style: italic;
}

.project-link-note a {
  color: #8b7355;
}

.page-footnote {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #6b6b6b;
}

/* (Removed .cta-button styles; using shared .cta-btn across pages) */

/* Responsive iframe styles */
iframe {
  max-width: 100%;
  border: none;
}

/* Responsive */
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
  
  body {
    line-height: 1.85;
  }
  
  h1 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
  }
  
  h2 {
    padding-top: 2rem;
  }
  
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }
  
  nav {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .hero {
    padding: var(--spacing-lg) 0;
  }
  
  section {
    margin-bottom: var(--spacing-lg);
  }
  
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }
  
  main .container {
    padding: 0 1rem;
  }
}
