/* Pottery artist site — minimal white aesthetic */
:root {
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e8e6e1;
  --bg: #ffffff;
}

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

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

.about-text a,
.page-intro a,
.split-text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
  z-index: 10;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header.transparent {
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  color: #fff;
}

.brand {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

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

.nav a {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: inherit;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.nav a:hover, .nav a.active {
  border-bottom-color: currentColor;
}

/* Hamburger (CSS-only) */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 28px;
  height: 22px;
  position: relative;
  z-index: 20;
}
.nav-toggle-label span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle-label span:nth-child(1) { top: 4px; }
.nav-toggle-label span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle-label span:nth-child(3) { top: calc(100% - 6px); }

@media (max-width: 900px) {
  .site-header { padding: 1.1rem 1.25rem; }
  .nav-toggle-label { display: block; }
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 15;
  }
  .nav a { font-size: 1.1rem; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }
}

main {
  padding-top: 0;
}

/* ---------- Landing ---------- */
.hero {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('/images/hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.35) 100%);
}
.hero-inner {
  position: relative;
  max-width: 640px;
  padding: 0 2.5rem;
  margin-top: 33vh;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}
/* ---------- Landing: split layout ---------- */
.split-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  padding: 7rem 2.5rem 3rem;
}
.split-image {
  width: 100%;
  height: 85vh;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.split-text {
  padding: 0 1rem;
}
.split-text h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}
.split-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--muted);
  max-width: 28rem;
}
@media (max-width: 760px) {
  .split-hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 6rem; }
  .split-image { height: 60vh; }
}

/* ---------- Page wrapper ---------- */
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 9rem 2.5rem 6rem;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.page-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.page-intro {
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 4rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

/* ---------- Portfolio gallery ---------- */
.gallery {
  columns: 3;
  column-gap: 1.25rem;
}
@media (max-width: 900px) { .gallery { columns: 2; } }
@media (max-width: 560px) { .gallery { columns: 1; } }

.gallery a {
  display: block;
  margin-bottom: 1.25rem;
  break-inside: avoid;
  position: relative;
  overflow: hidden;
}
.gallery img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease, opacity 0.3s ease;
}
.gallery a:hover img { transform: scale(1.03); opacity: 0.92; }

/* CSS-only lightbox via :target */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.97);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 4rem 2rem;
  z-index: 100;
}
.lightbox:target { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.lightbox figcaption {
  margin-top: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-align: center;
  max-width: 600px;
}
.lightbox .close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 200;
}

/* ---------- Teaching ---------- */
.teach-list {
  list-style: none;
  border-top: 1px solid var(--line);
  max-width: 820px;
}
.teach-list li {
  border-bottom: 1px solid var(--line);
}
.teach-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: baseline;
  gap: 2rem;
  padding: 1.75rem 0.25rem;
  transition: padding 0.25s ease, color 0.25s ease;
}
.teach-list a:hover {
  padding-left: 1rem;
  color: var(--muted);
}
.teach-list .title {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.3;
}
.teach-list .meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: none;
  color: var(--muted);
  white-space: normal;
  word-break: break-word;
}
.teach-list .arrow {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: var(--muted);
  margin-left: 0.4rem;
}
@media (max-width: 760px) {
  .teach-list a {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.25rem 0.25rem;
  }
  .teach-list a:hover { padding-left: 0.25rem; }
  .teach-list .title { font-size: 1.2rem; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.about-grid img {
  width: 100%;
  height: auto;
  display: block;
}
.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: #2a2a2a;
}
.about-text .signature {
  margin-top: 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
