/*
Theme Name: Antonia Weetman Portfolio
Theme URI: https://localwp.com/
Author: Antonia Weetman Studio
Description: A simple artist portfolio theme for Antonia Weetman.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: unknown-artist
*/

:root {
  --ink: #17130f;
  --paper: #fffaf1;
  --wash: #f3ebde;
  --soft: #faf3e8;
  --line: rgba(23, 19, 15, 0.15);
  --muted: #746c61;
  --blue: #085fa8;
  --red: #c83a32;
  --yellow: #e7be37;
  --green: #286b4b;
  --shadow: 0 20px 70px rgba(23, 19, 15, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  font-size: 19px;
  font-weight: 850;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.site-nav a:hover,
.contact-strip a:hover,
.contact-panel a:hover {
  color: var(--red);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: end;
  min-height: calc(100vh - 65px);
  padding: clamp(34px, 6vw, 86px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(231, 190, 55, 0.18), transparent 32%),
    linear-gradient(300deg, rgba(8, 95, 168, 0.12), transparent 34%),
    var(--paper);
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 9vw, 116px);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.intro,
.section-lede,
.bio-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.contact-strip {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  color: var(--ink);
  font-weight: 760;
}

.contact-strip span {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 820;
}

.button.primary {
  color: var(--paper);
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 250, 241, 0.62);
}

.hero-art {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 16px;
  align-items: end;
}

.hero-art figure {
  margin: 0;
}

.hero-art img {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--wash);
  box-shadow: var(--shadow);
}

.portrait-card img {
  aspect-ratio: 3 / 5;
}

.painting-card {
  transform: translateY(-38px);
}

.painting-card img {
  aspect-ratio: 4 / 5;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.section {
  padding: clamp(52px, 7vw, 100px) clamp(18px, 5vw, 72px);
}

.bio-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  background: var(--ink);
  color: var(--paper);
}

.bio-section .eyebrow {
  color: var(--yellow);
}

.bio-copy p {
  color: rgba(255, 250, 241, 0.76);
}

.section-head {
  max-width: 860px;
  margin-bottom: 26px;
}

.work-section:nth-of-type(odd) {
  background: var(--soft);
}

.work-list {
  display: grid;
  gap: 18px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink);
  font-weight: 820;
}

.section-link:hover {
  background: var(--red);
  border-color: var(--red);
}

.work-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(280px, 0.62fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  padding: clamp(16px, 2.5vw, 26px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.work-row img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  background: #eee2d0;
}

.work-text {
  max-width: 540px;
}

.meta {
  display: inline-flex;
  min-height: 24px;
  margin-bottom: 12px;
  padding: 0 9px;
  align-items: center;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(8, 95, 168, 0.1);
  font-size: 12px;
  font-weight: 850;
}

.work-text p,
.show-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.exhibitions {
  background: var(--wash);
}

.show-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.show-list article {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: var(--paper);
}

.show-list time {
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 80px);
}

.practice-hero {
  padding: clamp(42px, 7vw, 104px) clamp(18px, 5vw, 72px) clamp(34px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(231, 190, 55, 0.2), transparent 34%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.practice-hero h1 {
  max-width: 900px;
}

.practice-hero .intro {
  max-width: 780px;
}

.gallery-section {
  background: var(--soft);
}

.gallery-instructions {
  max-width: 900px;
  margin-bottom: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(8, 95, 168, 0.28);
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: #fff;
}

.gallery-instructions h2 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.1;
}

.gallery-instructions p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery-item {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.gallery-item a {
  display: block;
  background: #eee2d0;
}

.gallery-item img {
  width: 100%;
  height: 520px;
  object-fit: contain;
}

.gallery-text {
  padding: 18px;
}

.gallery-text h2 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.08;
}

.gallery-text p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.contact-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.contact-panel p {
  margin: 0 0 12px;
  line-height: 1.5;
}

.contact-panel p:last-child {
  margin-bottom: 0;
}

.contact-panel a {
  color: var(--blue);
  font-weight: 850;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .bio-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 820px;
  }

  .work-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 16px;
  }

  .site-nav {
    gap: 11px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-art {
    grid-template-columns: 1fr;
  }

  .portrait-card img,
  .painting-card img {
    aspect-ratio: auto;
  }

  .painting-card {
    transform: none;
  }

  .show-list article {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: auto;
    max-height: 520px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
