
:root {
  --text: #1a1a1a;
  --muted: #555;
  --bg: #fffefc;
  --surface: #f5f2ef;
  --maxw: 1000px;
  --accent: #8b5a2b;
}

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

body {
  font-family: 'Raleway', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--surface);
  z-index: 10;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.1rem 1rem;
  flex-wrap: wrap;
}

.nav__link {
  font-family: 'Raleway', sans-serif;
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.2px;
}

.nav__link:hover {
  background: var(--surface);
  color: var(--accent);
}

.about {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.about__photo {
  width: 320px;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

@media (min-width: 760px) {
  .about--split {
    grid-template-columns: 320px 1fr;
  }

  .about__photo {
    margin: 0;
  }

  .about__text {
    max-width: 60ch;
  }
}

.container {
  width: min(100% - 2rem, var(--maxw));
  margin-inline: auto;
  padding-block: 2rem 3rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.work-item {
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  position: relative;
}

.work-item:hover {
  transform: translateY(-5px);
}

.work-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.work-item-content {
  padding: 1rem;
}

.work-item-content h2 {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.work-item-content p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.work-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.logo-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 10%;
  max-width: 60px;
  height: auto;
  opacity: 0.9;
  z-index: 2;
}

.contact-list {
  list-style: none;
  font-size: 1.2rem;
  font-family: 'Raleway', sans-serif;
  text-align: center;
  line-height: 2.2;
  padding: 2rem 0;
}

.contact__text a {
  color: var(--text);           /* Black default */
  text-decoration: none;
  font-weight: 500;
}

.contact__text a:hover {
  color: var(--accent);         /* Brown on hover */
  text-decoration: underline;
}

p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.nameblock {
  display: inline-block;
  text-align: left;
  position: relative;
}

h1 {
  font-family: 'Kalam', cursive;
  font-weight: 300;
  margin: 0;
  color: var(--accent);
  font-size: 3rem;
  letter-spacing: -0.2px;
}

.subhead {
  font-family: 'Kalam', cursive;
  font-weight: 300;
  color: var(--muted);
  font-size: 1.2rem;
  text-align: right;
  width: 100%;
  margin-top: -0.2rem;
}

