:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --accent-orange: #e84e1b;
  --accent-teal: #4a8080;
  --accent-blue: #4a90d9;
  --font: 'Futura', 'Futura PT', 'Century Gothic', 'Trebuchet MS', sans-serif;
  --header-h: 58px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ──────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: #fff;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 0 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-self: end;
  padding-right: 14px;
  color: var(--text);
  text-decoration: none;
  position: relative;
  z-index: 201;
  transform: translateY(20px);
}

.hamburger {
  grid-column: 2;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--text);
  transition: opacity 0.2s;
}

/* ── NAV PANEL ───────────────────────────── */
.site-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: #fff;
  z-index: 190;
  padding: 44px 24px 40px;
  display: none;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid #ebebeb;
}

.site-nav.is-open { display: flex; }

.site-nav ul { list-style: none; text-align: center; }

.site-nav ul li + li { margin-top: 2px; }

.site-nav ul a {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.site-nav ul a:hover { opacity: 0.45; }

.figure-mark { margin-top: 28px; }

/* ── HERO ────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  margin-top: var(--header-h);
}

.hero-img {
  width: 100%;
  display: block;
  height: calc(100vh - var(--header-h));
  object-fit: cover;
  object-position: center 30%;
}

.weather-widget {
  position: absolute;
  top: 20px;
  left: calc(35% - 100px);
  color: #fff;
  font-family: var(--font);
  font-size: 1.56rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.weather-widget .w-temp,
.weather-widget .w-condition {
  display: block;
  line-height: 0.25;
}

/* ── INNER PAGE LAYOUT ───────────────────── */
.inner-page {
  padding-top: var(--header-h);
}

.page-section {
  padding: 64px 28px 96px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* ── PAGE HEADINGS ───────────────────────── */
.page-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 52px;
  position: relative;
  flex-wrap: nowrap;
}

.ph-letter {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  font-family: var(--font);
}

.ph-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-orange);
  margin: 0 5px 1px;
  vertical-align: middle;
  flex-shrink: 0;
}

.ph-highlight {
  background: rgba(74,144,217,0.22);
  padding: 0 3px;
}

.ph-dash {
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  margin-left: 10px;
  transform: rotate(-10deg);
  transform-origin: left center;
  flex-shrink: 0;
}

.ph-dash-left {
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  margin-right: 12px;
  transform: rotate(-8deg);
  transform-origin: right center;
  flex-shrink: 0;
}

/* ── BIO PAGE ────────────────────────────── */
.bio-text {
  font-size: 1.05rem;
  line-height: 1.9;
  text-align: center;
  margin-bottom: 64px;
}

.exhibitions-block { width: 100%; }

.exhibitions-block h2 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.exhibitions-block hr {
  border: none;
  border-top: 1px solid var(--text);
  margin-bottom: 40px;
}

.exhibition { margin-bottom: 40px; }

.exhibition-title {
  color: var(--accent-teal);
  font-weight: 700;
  text-decoration: none;
  font-style: normal;
}

.exhibition-title:hover { opacity: 0.7; }

.exhibition-venue { font-size: 1rem; line-height: 1.6; }

.exhibition-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 520px;
  margin: 8px auto 0;
  color: #444;
}

/* ── CONTACT PAGE ────────────────────────── */
.contact-info {
  font-size: 1.05rem;
  line-height: 2.2;
  text-align: center;
}

.contact-info a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  transition: border-color 0.2s;
}

.contact-info a:hover { border-bottom-color: var(--text); }

/* ── GALLERY (masonry grid) ───────────────── */
.gallery-section { padding-top: var(--header-h); }

.gallery-heading {
  text-align: center;
  padding: 52px 28px 44px;
}

.gallery-grid {
  columns: 2;
  column-gap: 3px;
  padding: 0 3px 3px;
}

@media (min-width: 640px) { .gallery-grid { columns: 3; } }
@media (min-width: 1024px) { .gallery-grid { columns: 4; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 3px;
  position: relative;
  overflow: hidden;
  display: block;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: opacity 0.3s;
}

.gallery-item:hover img { opacity: 0.88; }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.93);
  padding: 7px 10px 8px;
  font-family: var(--font);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
  transform: translateY(100%);
  transition: transform 0.22s ease;
}

.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ── PAINTINGS (single column) ───────────── */
.paintings-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

.painting-entry {
  margin-bottom: 72px;
}

.painting-entry a {
  display: block;
  text-decoration: none;
}

.painting-entry img {
  width: 100%;
  display: block;
  transition: opacity 0.3s;
}

.painting-entry a:hover img { opacity: 0.92; }

.painting-meta {
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.painting-meta .title {
  font-size: 1rem;
  font-weight: 600;
  display: block;
}

.painting-meta .medium,
.painting-meta .dimensions {
  display: block;
  color: #555;
  font-weight: 300;
}

/* ── LIGHTBOX ────────────────────────────── */
.gslide-image img {
  padding: 30px 30px 0 !important;
  background: #fff;
  box-sizing: border-box;
}

.gdesc-inner {
  padding-left: 30px !important;
  padding-right: 30px !important;
}

.gslide-title {
  font-family: var(--font) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
}

.gslide-desc {
  font-family: var(--font) !important;
  font-weight: 300 !important;
  font-size: 0.9rem !important;
}
