@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500&display=swap');

:root{
  --bg: #0a0a09;
  --fg: #f3efe6;
  --muted: #8f8c85;
  --line: #2b2a27;
  --line-active: #f3efe6;
  --nav-h: 88px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

.serif{ font-family: 'Cormorant Garamond', serif; }

/* ---------- Header ---------- */

header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 64px);
  z-index: 50;
  background: linear-gradient(to bottom, rgba(10,10,9,0.9), rgba(10,10,9,0));
}

.logo{
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

nav{
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

nav .links{
  display: flex;
  gap: clamp(18px, 2.5vw, 32px);
}

nav .links a{
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, opacity 0.25s ease;
  opacity: 0.75;
}

nav .links a:hover{ opacity: 1; }

nav .links a.active{
  opacity: 1;
  border-bottom-color: var(--line-active);
}

.socials{
  display: flex;
  gap: 16px;
  align-items: center;
}

.socials a{ opacity: 0.85; transition: opacity 0.2s ease; }
.socials a:hover{ opacity: 1; }

.socials svg{ width: 17px; height: 17px; display: block; }

/* mobile nav toggle */
.nav-toggle{ display: none; }

@media (max-width: 720px){
  nav .links{
    position: fixed;
    top: var(--nav-h);
    right: 0;
    left: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px clamp(24px,5vw,64px) 32px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  nav.open .links{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-toggle{
    display: block;
    background: none;
    border: none;
    color: var(--fg);
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
  }
}

/* ---------- Page shell ---------- */

main{
  min-height: 100vh;
  padding-top: var(--nav-h);
}

.container{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

/* ---------- Footer ---------- */

footer{
  padding: 40px clamp(24px,5vw,64px) 56px;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--line);
  margin-top: 80px;
}

/* ---------- Home ---------- */

.home-hero{
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 28px;
  padding: 40px 24px;
}

.home-hero p{
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-family: 'Cormorant Garamond', serif;
  color: var(--fg);
  max-width: 560px;
  line-height: 1.5;
  margin: 0;
  opacity: 0;
  animation: rise 0.9s ease forwards;
}

.home-hero p:nth-child(2){ animation-delay: 0.15s; }
.home-hero p:nth-child(3){ animation-delay: 0.3s; }

@keyframes rise{
  from{ opacity: 0; transform: translateY(10px); }
  to{ opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  .home-hero p{ animation: none; opacity: 1; }
}

/* ---------- About ---------- */

.about-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: stretch;
  min-height: calc(100vh - var(--nav-h));
}

.about-left{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

.about-left h1{
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  font-weight: 500;
  margin: 0 0 8px;
  line-height: 1;
}

.about-left h2{
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 32px;
  color: var(--muted);
}

.about-left hr{
  border: none;
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 520px;
  margin: 0 0 28px;
}

.about-left .bio{
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 520px;
  color: var(--fg);
}

.about-photo{
  background: #16150f;
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
  min-height: 320px;
}

@media (max-width: 900px){
  .about-grid{ grid-template-columns: 1fr; min-height: auto; }
  .about-photo{ order: -1; aspect-ratio: 4/5; min-height: 0; }
}

/* ---------- Photo ---------- */

.photo-landing{
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
  padding: 40px 24px;
}

.photo-landing .locations{
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 56px);
  justify-content: center;
}

.photo-landing .locations a{
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  opacity: 0.55;
  transition: opacity 0.25s ease;
}

.photo-landing .locations a:hover,
.photo-landing .locations a.active{ opacity: 1; }

.filter-row{
  display: flex;
  gap: 28px;
  justify-content: center;
  padding: 16px 0 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.filter-row button{
  background: none;
  border: none;
  color: var(--muted);
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
}

.filter-row button.active,
.filter-row button:hover{
  color: var(--fg);
  border-bottom-color: var(--fg);
}

.gallery-section{ padding: 64px 0; }

.gallery-section h3{
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 24px;
  text-transform: lowercase;
}

.gallery-strip{
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}

.gallery-strip::-webkit-scrollbar{ height: 6px; }
.gallery-strip::-webkit-scrollbar-thumb{ background: var(--line); border-radius: 4px; }

.tile{
  flex: 0 0 auto;
  width: min(340px, 70vw);
  aspect-ratio: 4/5;
  scroll-snap-align: start;
  background: #16150f;
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 16px;
}

.tile.hidden{ display: none; }

/* ---------- Writing ---------- */

.outlet-block{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.outlet-block:first-child{ border-top: none; }

.outlet-wordmark{
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  align-self: start;
}

.outlet-role{
  font-size: 0.95rem;
  color: var(--muted);
  margin: 10px 0 0;
}

.outlet-content h3{
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 500;
  margin: 0 0 20px;
}

.outlet-content .archive-link{
  font-size: 0.95rem;
  margin-bottom: 28px;
  display: inline-block;
  border-bottom: 1px solid var(--fg);
}

.selected-label{
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 12px;
}

.outlet-content ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.outlet-content li a{
  font-size: 1rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.outlet-content li a:hover{ border-bottom-color: var(--fg); }

.placeholder-note{
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
}

@media (max-width: 720px){
  .outlet-block{ grid-template-columns: 1fr; gap: 20px; }
}
