@font-face {
  font-family: "Marcellus";
  src: url("./assets/fonts/marcellus-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/cormorant-garamond-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  /* Original palette: warm gold for Angela, neutral copy, muted burgundy accents. */
  --background: #030303;
  --background-deep: #020202;
  --foreground: #c2b7b0;
  --foreground-soft: #928984;
  --gold: #d1bd97;
  --gold-light: #edd3a1;
  --accent: #99726f;
  --accent-light: #b58480;
  --brown: #6e5e54;
  --line: rgb(153 114 111 / 35%);
  --font-display: "Marcellus", Georgia, serif;
  --font-italic: "Cormorant Garamond", Georgia, serif;
  --font-label: Arial, Helvetica, sans-serif;
  --gutter: clamp(24px, 5.5vw, 100px);
  --photo-height: clamp(580px, 52vw, 800px);
  --studio-overlap: calc(var(--photo-height) * 0.22);
  --landscape-width: 2000px;
  --landscape-edge-fade: linear-gradient(to right, transparent, #000 21%, #000 79%, transparent);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scrollbar-color: var(--brown) var(--background);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: #fff8e9;
}

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

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

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 14px 18px;
  transform: translateY(-160%);
  background: var(--gold);
  color: var(--background);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Original warm-gold wordmark, unchanged paths and intermediate size. */
.masthead {
  position: relative;
  z-index: 2;
  padding: 38px var(--gutter) 0;
  text-align: center;
}

.studio-label,
.eyebrow {
  color: var(--foreground-soft);
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  line-height: 1.7;
  text-transform: uppercase;
}

.studio-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  margin: 0;
}

.studio-label > span {
  width: 25px;
  height: 1px;
  background: rgb(209 189 151 / 24%);
}

.artist-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 43px);
  max-width: 960px;
  margin: 28px auto 0;
  font-size: 0;
}

.artist-name img {
  width: auto;
  height: clamp(40px, 6.2vw, 76px);
  min-width: 0;
}

.artist-subtitle {
  margin: 14px 0 0;
  color: var(--foreground-soft);
  font-family: var(--font-italic);
  font-size: clamp(21px, 1.8vw, 25px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
}

/* Calcata and the uncropped still share their full width and side fades.
   The studio enters throughout the last 22% of Calcata; the label sits halfway. */
.atelier-composition {
  position: relative;
  isolation: isolate;
  margin-top: 4px;
  padding-bottom: 90px;
  overflow: hidden;
  overflow: clip;
  background: var(--background);
}

.landscape-layer--calcata,
.studio-figure {
  width: min(100%, var(--landscape-width));
  margin-inline: auto;
}

.landscape-layer--calcata {
  --photo-fade: linear-gradient(to bottom, transparent, rgb(0 0 0 / 45%) 12%, #000 25%, #000 78%, rgb(0 0 0 / 55%) 89%, transparent 100%);
  --photo-edge-fade: var(--landscape-edge-fade);
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: var(--photo-height);
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: var(--photo-fade), var(--photo-edge-fade);
  mask-image: var(--photo-fade), var(--photo-edge-fade);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.landscape-layer--calcata picture {
  display: block;
  width: 100%;
  height: 100%;
}

.calcata-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 47% 45%;
  filter: saturate(0.68) brightness(0.82) sepia(0.08);
}

.landscape-layer--calcata::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(3 3 3 / 36%), transparent 24%, transparent 78%, rgb(3 3 3 / 22%));
}

.atelier-opening {
  position: relative;
  padding-top: calc(var(--photo-height) - var(--studio-overlap));
}

.place-label {
  position: absolute;
  z-index: 3;
  top: calc(var(--photo-height) * 0.3);
  left: max(var(--gutter), calc((100% - 1260px) / 2));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.small-rule {
  width: 34px;
  height: 1px;
  margin-bottom: 5px;
  background: rgb(209 189 151 / 55%);
}

.place-region {
  color: var(--foreground);
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Unclipped radial shading: fully transparent BEFORE the box edges.
   No border-radius, outline or solid oval silhouette to leave a visible rim. */
.soft-ellipse {
  display: flex;
  isolation: isolate;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-align: center;
}

.soft-ellipse::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -14% -10%;
  background: radial-gradient(ellipse closest-side at center, rgb(2 2 2 / 96%) 0%, rgb(2 2 2 / 90%) 30%, rgb(2 2 2 / 74%) 48%, rgb(2 2 2 / 44%) 65%, rgb(2 2 2 / 14%) 81%, transparent 95%);
  filter: blur(4px);
  pointer-events: none;
}

.forest-label,
.exploration-label {
  z-index: 3;
  min-height: 96px;
  padding: 16px 25px;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.forest-label {
  position: absolute;
  top: calc(var(--photo-height) - var(--studio-overlap) / 2);
  left: 50%;
  width: min(290px, 78%);
  margin: 0;
  transform: translate(-50%, -50%);
}

.exploration-label {
  position: relative;
  width: min(440px, calc(100% - 64px));
  margin: -60px auto 0;
}

.studio-figure {
  position: relative;
  z-index: 0;
  margin-block: 0;
  --studio-fade: linear-gradient(to bottom, transparent, #000 var(--studio-overlap), #000 82%, transparent 100%);
  -webkit-mask-image: var(--studio-fade), var(--landscape-edge-fade);
  mask-image: var(--studio-fade), var(--landscape-edge-fade);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.studio-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
  filter: none;
}

/* All three equal frames have their oval title ON the painting, at its centre. */
.series-section {
  position: relative;
  z-index: 2;
  width: min(100% - var(--gutter) * 2, 1260px);
  margin: 28px auto 0;
  scroll-margin-top: 35px;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 42px);
}

.series-card {
  display: block;
  min-width: 0;
  border: 1px solid rgb(153 114 111 / 54%);
  background: var(--background-deep);
  box-shadow: 0 12px 50px rgb(0 0 0 / 30%);
  scroll-margin-top: 30px;
  transition: border-color 220ms ease;
}

.series-art {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.series-art picture {
  display: block;
  width: 100%;
  height: 100%;
}

.series-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.8) brightness(0.87);
  transition: filter 300ms ease;
}

.series-card:first-child .series-art img {
  object-position: 50% 38%;
}

.series-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(2 2 2 / 12%), transparent 25%, transparent 65%, rgb(2 2 2 / 40%) 84%, var(--background-deep));
  pointer-events: none;
}

.series-title {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(66%, 240px);
  min-height: 88px;
  padding: 12px 8px;
  transform: translate(-50%, -50%);
}

.series-title h3 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.2;
}

.series-enter {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 24px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--foreground);
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.series-enter > span {
  color: var(--accent-light);
  font-size: 20px;
}

.series-card:hover,
.series-card:focus-visible {
  border-color: var(--accent-light);
}

.series-card:hover .series-art img,
.series-card:focus-visible .series-art img {
  filter: saturate(0.95) brightness(0.98);
}

.selection-note {
  margin: 27px 0 0;
  color: var(--foreground-soft);
  font-family: var(--font-label);
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
}

.artist-section {
  padding: 20px 0 100px;
  background: var(--background);
  scroll-margin-top: 30px;
}

.artist-profile {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  width: min(100% - var(--gutter) * 2, 1120px);
  margin: 20px auto 0;
}

.artist-profile-image {
  position: relative;
  aspect-ratio: 4 / 5;
}

.artist-profile-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.artist-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  filter: saturate(0.74) brightness(0.92);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 86%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 86%, transparent);
}

.profile-image-label {
  position: absolute;
  bottom: 20px;
  left: 0;
  color: var(--foreground-soft);
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.artist-profile-copy .eyebrow {
  color: var(--accent);
}

.artist-profile h2 {
  margin: 25px 0;
  color: var(--gold);
  font-size: clamp(56px, 5vw, 76px);
  font-weight: 400;
  line-height: 1;
}

.artist-profile h2 em {
  font-family: var(--font-italic);
  font-weight: 400;
}

.artist-profile-copy > p:not(.eyebrow) {
  color: var(--foreground);
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.95;
}

.profile-signature {
  display: inline-block;
  margin-top: 27px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  color: var(--gold);
  font-family: var(--font-italic);
  font-size: 22px;
  font-style: italic;
}

.site-footer {
  padding: 0 var(--gutter);
  background: var(--background-deep);
  color: var(--accent);
  font-family: var(--font-label);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.35fr 0.8fr;
  gap: 35px;
  max-width: 1260px;
  margin-inline: auto;
  padding: 60px 0 50px;
  border-top: 1px solid var(--line);
}

.footer-name {
  margin: 0 0 16px;
  color: var(--accent-light);
  font-family: var(--font-display);
  font-size: 23px;
}

.footer-identity > p:not(.footer-name) {
  margin: 0;
  font-size: 11px;
  line-height: 1.9;
}

.footer-column {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  line-height: 1.7;
}

.footer-column h2 {
  margin: 0 0 16px;
  color: var(--accent-light);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-column a {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  gap: 17px;
  overflow-wrap: anywhere;
}

.footer-column .footer-placeholder {
  margin-top: 7px;
  font-size: 9px;
}

.footer-placeholder:target {
  outline: 1px solid var(--accent);
  outline-offset: 6px;
}

.footer-bottom {
  display: flex;
  max-width: 1260px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 9px;
  line-height: 1.8;
}

.footer-bottom a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 20px;
}

.site-footer a:hover {
  color: var(--accent-light);
}

/* Independent series pages retain ordinary links, full-image access and history. */
.series-page .masthead {
  padding-bottom: 25px;
}

.series-page .artist-name {
  margin-top: 0;
}

.series-page .artist-name img {
  height: 38px;
}

.series-page-nav {
  display: flex;
  width: min(100% - var(--gutter) * 2, 1120px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 20px auto 0;
  padding: 15px 0;
  border-block: 1px solid var(--line);
  color: var(--accent-light);
  font-family: var(--font-label);
  font-size: 11px;
  line-height: 1.8;
}

.series-page-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.series-page-nav div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
}

.series-page-nav [aria-current="page"] {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 7px;
}

.series-intro {
  width: min(100% - var(--gutter) * 2, 900px);
  margin: 80px auto 55px;
  text-align: center;
}

.series-intro h1 {
  margin: 20px 0;
  color: var(--accent-light);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.series-intro > p:not(.eyebrow) {
  max-width: 540px;
  margin: 25px auto 0;
  color: var(--foreground);
  font-family: var(--font-label);
  font-size: 13px;
  line-height: 1.9;
}

.series-work {
  width: min(100% - var(--gutter) * 2, 760px);
  margin: 0 auto 90px;
  text-align: center;
}

.series-work-image {
  display: inline-block;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--background-deep);
}

.series-work-image img {
  width: auto;
  max-height: 850px;
  margin-inline: auto;
  object-fit: contain;
}

.series-work figcaption {
  margin: 24px auto 0;
  color: var(--foreground-soft);
  font-family: var(--font-label);
  font-size: 11px;
  line-height: 1.9;
}

.series-work figcaption span {
  display: block;
}

.series-work figcaption a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--accent-light);
}

@media (max-width: 1000px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }
}

@media (max-width: 900px) {
  .masthead {
    padding-top: 32px;
  }

  .artist-name {
    gap: 24px;
  }

  .series-title h3 {
    font-size: 18px;
  }

  .series-title {
    min-height: 76px;
  }

  .series-enter {
    right: 13px;
    left: 13px;
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .artist-profile {
    gap: 34px;
  }

  .series-page-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  :root {
    --photo-height: 520px;
    --gutter: 26px;
    --landscape-edge-fade: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent);
  }

  .masthead {
    padding: 28px 24px 0;
  }

  .studio-label {
    gap: 12px;
    font-size: 8px;
    letter-spacing: 0.24em;
  }

  .studio-label > span {
    width: 17px;
  }

  .artist-name {
    flex-direction: column;
    gap: 5px;
    margin-top: 23px;
  }

  .artist-name img {
    height: clamp(32px, 10vw, 43px);
  }

  .artist-subtitle {
    margin-top: 15px;
    font-size: 21px;
  }

  .atelier-composition {
    margin-top: 0;
    padding-bottom: 60px;
  }

  .calcata-image {
    object-position: 46% 48%;
  }

  .landscape-layer--calcata {
    --photo-fade: linear-gradient(to bottom, transparent, rgb(0 0 0 / 45%) 12%, #000 25%, #000 78%, rgb(0 0 0 / 55%) 89%, transparent 100%);
  }

  .place-label {
    top: 105px;
    gap: 7px;
    font-size: 11px;
  }

  .small-rule {
    width: 22px;
    margin-bottom: 2px;
  }

  .place-region {
    font-size: 7px;
  }

  .forest-label,
  .exploration-label {
    min-height: 86px;
    font-size: 22px;
  }

  .forest-label {
    width: 235px;
  }

  .exploration-label {
    margin-top: -38px;
  }

  .series-section {
    margin-top: 25px;
  }

  .series-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    max-width: 380px;
    margin-inline: auto;
  }

  .series-title {
    min-height: 84px;
  }

  .series-title h3 {
    font-size: 24px;
  }

  .series-enter {
    right: 22px;
    bottom: 24px;
    left: 22px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .artist-section {
    padding-block: 0 70px;
  }

  .artist-profile {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 35px;
    margin-top: 10px;
  }

  .artist-profile-image {
    width: 100%;
  }

  .artist-profile h2 {
    font-size: 60px;
  }

  .artist-profile-copy > p:not(.eyebrow) {
    font-size: 13px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px 22px;
    padding-block: 40px;
  }

  .footer-identity,
  .footer-column:nth-child(3) {
    grid-column: 1 / -1;
  }

  .footer-column:nth-child(3) {
    grid-row: 2;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 23px 15px;
  }

  .series-page .artist-name {
    flex-direction: row;
    gap: 13px;
  }

  .series-page .artist-name img {
    height: clamp(20px, 5.6vw, 30px);
  }

  .series-page-nav div {
    gap: 6px 18px;
  }

  .series-intro {
    margin-block: 50px 35px;
  }

  .series-work-image {
    padding: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
