:root {
  --paper: #f5f3ed; --ink: #2a2724; --soft: #8a8178; --faint: #b5ab9f; --gold: #9a7a4c; --line: #e4dfd5;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 15px/1.8 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
main { min-height: 60vh; }

/* ---------- header ---------- */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 22px 48px; border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand span { font-weight: 500; font-size: 20px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 22px; }
.nav a { text-decoration: none; font-size: 11.5px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); transition: color .3s; }
.nav a:hover, .nav a.active { color: var(--gold); }
.nav a.ig { display: inline-flex; align-items: center; }
.nav .ig svg { width: 15px; height: 15px; display: block; fill: none; stroke: currentColor; stroke-width: 1.5; }
.nav .ig .dot { fill: currentColor; stroke: none; }

/* homepage header: big logo, name, row of words */
.site-header.home { flex-direction: column; justify-content: center; gap: 0; padding: 56px 24px 34px; position: relative; border-bottom: 0; }
.home .brand { flex-direction: column; gap: 22px; }
.home .brand img { width: 150px; height: 150px; }
.home .nav { justify-content: center; margin-top: 30px; gap: 12px 0; }
.home .nav a { color: var(--soft); font-size: 11px; letter-spacing: .3em; }
.home .nav a:hover { color: var(--ink); }
.home .nav a + a::before { content: "\00B7"; color: var(--faint); margin: 0 1em; display: inline-block; letter-spacing: 0; }

@media (max-width: 900px) {
  .site-header { flex-direction: column; gap: 14px; padding: 18px 16px 16px; position: relative; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 17px; }
  .nav { justify-content: center; gap: 10px 18px; }
  .nav a { font-size: 10.5px; letter-spacing: .22em; color: var(--soft); }
  .nav a.active { color: var(--ink); }
  .home .brand img { width: 110px; height: 110px; }
  .home .nav { gap: 12px 18px; }
  .home .nav a + a::before { display: none; }
}

/* ---------- common ---------- */
.page-title { font-weight: 400; font-size: 22px; letter-spacing: .28em; text-transform: uppercase; text-align: center; margin: 56px 0 44px; }
.page-title.left { text-align: left; margin-top: 0; }
.label { font-weight: 500; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; margin: 56px 0 22px; }
.lede { color: var(--soft); }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-weight: 400; font-size: 18px; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 18px; }
.prose h4 { font-weight: 500; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; margin: 30px 0 10px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wide { max-width: 1080px; margin: 0 auto; padding: 0 24px 40px; }
.center { text-align: center; }
.btn { display: inline-block; margin-top: 16px; padding: 11px 24px; border: 1px solid var(--ink); text-decoration: none;
  font: 400 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; background: transparent; color: var(--ink); cursor: pointer; transition: background .3s, color .3s; }
.btn:hover { background: var(--ink); color: var(--paper); }

/* ---------- grids ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 38px; }
.tile { margin: 0; }
.tile .frame { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #e9e5dc; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease, opacity .6s; }
.tile .frame:hover img { transform: scale(1.04); }
.tile.arjuna img { object-position: 0% 50%; }
.tile figcaption { margin-top: 12px; font-size: 11px; line-height: 1.6; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); text-align: center; }
@media (max-width: 767px) { .grid3 { grid-template-columns: repeat(2, 1fr); gap: 30px 14px; } .tile figcaption { font-size: 10px; letter-spacing: .1em; } }

/* ---------- home puzzle ---------- */
.puzzle { max-width: 1080px; margin: 0 auto; padding: 8px 24px 64px; }
.puzzle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cell { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #e9e5dc; }
.cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08);
  transition: opacity 1.4s ease, transform 2.2s ease, filter .6s ease; }
.cell img.on { opacity: 1; transform: scale(1); }
.puzzle-grid:hover .cell img.on { filter: brightness(.5) saturate(.85); }
.puzzle-grid .cell:hover img.on { filter: none; }
@media (max-width: 767px) { .puzzle-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; } .puzzle { padding: 0 12px 48px; } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1.15fr); gap: 60px; max-width: 1240px; margin: 56px auto; padding: 0 32px; align-items: start; }
.about-tiles { display: flex; flex-direction: column; gap: 16px; }
.itile img, .stile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: opacity .4s; }
.itile:hover img, .stile:hover img { opacity: .75; }
.about-portrait { position: sticky; top: 130px; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 28px; padding: 0 16px; margin-top: 28px; }
  .about-portrait { order: -1; position: static; }
  .about-tiles { order: 2; flex-direction: row; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
}

/* ---------- paintings landing ---------- */
.series { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1180px; margin: 64px auto; padding: 0 24px; }
.series-tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; text-decoration: none; }
.series-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); transition: transform 1.2s ease, filter .8s ease; }
.series-tile:hover img { transform: scale(1.05); filter: brightness(.9); }
.series-tile span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 18px;
  color: #fbfaf6; font-size: 15px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; line-height: 1.7; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
@media (max-width: 767px) { .series { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; } }

/* ---------- tides ---------- */
.tides-hero { padding-top: 48px; }
.floats { display: flex; justify-content: center; align-items: flex-start; }
.float { position: relative; width: 230px; aspect-ratio: 9 / 16; overflow: hidden; border: 8px solid #fbfaf6; box-shadow: 0 18px 40px rgba(42,39,36,.22); background: #ddd; }
.float img, .float video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.float.f1 { margin-right: -34px; z-index: 2; transform: rotate(-2.5deg); animation: floatA 9s ease-in-out infinite alternate; }
.float.f2 { margin-top: 96px; z-index: 1; transform: rotate(2deg); animation: floatB 11s ease-in-out infinite alternate; }
@keyframes floatA { from { transform: rotate(-2.5deg) translateY(0) } to { transform: rotate(-1deg) translateY(-12px) } }
@keyframes floatB { from { transform: rotate(2deg) translateY(0) } to { transform: rotate(3.2deg) translateY(10px) } }
.hero-img { margin: 0 0 8px; }
.hero-img figcaption { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); text-align: center; margin-top: 10px; }
.process { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; max-width: 1080px; margin: 24px auto 40px; padding: 0 24px; align-items: start; }
.process-imgs { display: flex; flex-direction: column; gap: 18px; margin-top: 56px; }
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 767px) {
  .float { width: 42%; }
  .float.f2 { margin-top: 56px; }
  .process { grid-template-columns: 1fr; gap: 0; padding: 0 16px; }
  .strip { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .float { animation: none !important; } .cell img { transition: none; } }

/* ---------- film ---------- */
.film { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 56px; max-width: 1080px; margin: 0 auto 64px; padding: 0 24px; align-items: start; }
.film-poster { text-align: center; }
.awards p { margin: 0 0 .35em; font-size: 14px; }
.laurels { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 18px; align-items: center; margin: 0 0 64px; }
.laurels img { width: 100%; height: 90px; object-fit: contain; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
@media (max-width: 767px) { .film { grid-template-columns: 1fr; gap: 24px; padding: 0 16px; } .film-poster img { max-width: 300px; margin: 0 auto; } .laurels { grid-template-columns: repeat(4, 1fr); gap: 10px; } .laurels img { height: 60px; } }

/* ---------- cv ---------- */
.cv .prose p { margin-bottom: .5em; }
.cv-dl { margin: 32px 0 64px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 1080px; margin: 64px auto; padding: 0 24px; align-items: start; }
.contact form { margin-top: 24px; }
.contact label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); margin-bottom: 18px; }
.contact input, .contact textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 2px; border: 0; border-bottom: 1px solid #c9c1b4;
  background: transparent; font: 300 15px var(--sans); color: var(--ink); outline: none; }
.contact input:focus, .contact textarea:focus { border-color: var(--ink); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 767px) { .contact { grid-template-columns: 1fr; gap: 32px; margin-top: 28px; padding: 0 16px; } }

/* ---------- footer ---------- */
.site-footer { display: flex; justify-content: center; gap: 28px; padding: 40px 16px 48px; border-top: 1px solid var(--line); margin-top: 40px;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--soft); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(245,243,237,.97); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 32px; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 80vh; object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,.12); }
.lb p { margin: 18px 0 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); text-align: center; max-width: 80vw; }
.lb button { position: absolute; background: none; border: 0; font: 300 30px var(--sans); color: var(--ink); cursor: pointer; padding: 12px 18px; }
.lb .x { top: 12px; right: 12px; } .lb .prev { left: 8px; top: 50%; transform: translateY(-50%); } .lb .next { right: 8px; top: 50%; transform: translateY(-50%); }
