/* Yana Kapina Art
   Breakpoints: 976px (content columns), 921px (header + base type), 767px (stacking), 544px (small phones) */

/* ---------- Fonts (only the regular weights are loaded, as on the original site) ---------- */

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url("../fonts/lato-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url("../fonts/lato-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 400;
  font-display: fallback;
  src: url("../fonts/lato-400italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 400;
  font-display: fallback;
  src: url("../fonts/lato-400italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url("../fonts/merriweather-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url("../fonts/merriweather-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
  --accent: #c39c8a;
  --hover: #fd2626;
  --ink: #111111;
  --light: #f9f9f9;
  --line: #243673;
  --btn-dark: #3a3a3a;
  --footer: #121212;
  --serif: "Merriweather", serif;
  --sans: "Lato", sans-serif;
}

/* ---------- Base ---------- */

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

html {
  font-size: 93.75%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--accent);
}

p, figure, ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s linear, background-color .2s linear, border-color .2s linear, box-shadow .2s linear;
}

a:hover,
a:focus {
  color: var(--hover);
}

button,
input,
textarea {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: absolute;
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 20px;
  clip: auto;
  background: #fff;
}

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

.site-header {
  position: relative;
  z-index: 99;
  background: var(--ink);
}

.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
}

.header-bar {
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  min-height: 70px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: block;
  padding: 15px 0;
}

.logo img {
  width: 240px;
}

.nav {
  display: flex;
}

.nav > li {
  position: relative;
  line-height: 70px;
}

.nav a {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 16px;
  color: #fff;
}

.nav .is-current > a {
  color: var(--accent);
}

.nav li:hover > a,
.nav a:focus {
  color: var(--hover);
}

.nav__arrow {
  width: 10px;
  height: 10px;
  margin-left: 10px;
  fill: currentColor;
}

.submenu {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  z-index: 99999;
  width: 240px;
  border: 1px solid #eaeaea;
  background: var(--ink);
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .1);
  line-height: 1.45;
}

.nav li:hover > .submenu,
.nav li:focus-within > .submenu {
  display: block;
}

.submenu a {
  padding: .9em 1em;
}

.submenu li + li a {
  border-top: 1px solid #eaeaea;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

/* ---------- Layout primitives ---------- */

.section {
  display: flex;
  padding-left: 10px;
  padding-right: 10px;
}

.section--cover {
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

.wrap {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ---------- Type helpers ---------- */

.title-xxl {
  font-size: 80px;
  font-weight: 700;
  line-height: 1.4;
}

.title-xl {
  font-size: 60px;
  line-height: 1;
}

.title-lg {
  font-size: 35px;
  line-height: 1;
}

.title-md {
  font-size: 1.33333rem;
  line-height: 1.2;
}

.title-sm {
  font-size: 1rem;
  line-height: 1.25;
}

.eyebrow {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
  border: 2px solid #333;
  background: transparent;
  font-family: var(--sans);
  font-size: 1.06667rem;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--accent);
  cursor: pointer;
  transition: color .2s, background-color .2s, border-color .2s;
}

.btn:hover,
.btn:focus {
  border-color: #333;
  background: var(--btn-dark);
  color: #fff;
}

.btn--caps {
  font-size: 15px;
  text-transform: uppercase;
}

.btn--thin {
  border-width: 1px;
}

.btn--ink {
  color: #000;
}

.btn--light {
  border-color: #fff;
}

.btn--light:hover,
.btn--light:focus {
  border-color: #fff;
  background: transparent;
  color: var(--hover);
}

.btn--red-text:hover,
.btn--red-text:focus {
  color: var(--hover);
}

.btn--buy,
.btn.btn--buy {
  padding: 14px 32px;
  border-color: #000;
}

.btn--buy:hover,
.btn--buy:focus {
  border-color: var(--btn-dark);
}

.btn-row {
  display: flex;
  margin-bottom: 1.5rem;
}

/* ---------- Images ---------- */

.shadow {
  box-shadow: -25px 25px 50px 0 rgba(0, 0, 0, .15);
  transition: box-shadow .2s;
}

.shadow:hover {
  box-shadow: 0 0 0 0 rgba(0, 0, 0, .15);
}

/* ---------- Page hero (About / Works / Contact) ---------- */

.page-hero {
  padding-top: 200px;
  padding-bottom: 50px;
  background-image: url("../img/abstract-bg-free-img.jpg");
}

.page-hero h1 {
  width: 100%;
  padding: 10px;
}

.page-hero--contact {
  padding-top: 210px;
  padding-bottom: 60px;
}

.page-hero--contact h1 {
  padding: 0 600px 0 12px;
}

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

.home-hero {
  padding-top: 200px;
  padding-bottom: 100px;
  background-image: url("../img/header-background.jpg");
}

.home-hero .col {
  width: 50%;
  padding: 30px;
}

.home-hero__text {
  width: 100%;
}

.home-hero__eyebrow {
  padding-bottom: 20px;
  font-size: 1.33333rem;
  line-height: 1.2;
}

.home-hero h1 {
  margin-bottom: 10px;
  color: #fff;
}

.home-hero__text p {
  margin-bottom: 40px;
  color: #fff;
}

.home-hero .btn-row {
  align-self: flex-start;
}

.genres {
  padding-top: 100px;
  padding-bottom: 100px;
}

.genres .wrap {
  align-items: center;
}

.genres .col {
  width: 50%;
  padding: 30px 50px;
  gap: 20px;
}

.genres__card {
  width: 100%;
}

.genres__card img {
  width: 500px;
  margin: 15px 0 40px;
}

.genres__card--paintings img {
  aspect-ratio: 850 / 700;
  margin: 30px 0 40px;
}

.genres__card h4 {
  margin-bottom: 15px;
}

.genres__intro {
  width: 100%;
  padding: 20px;
}

.genres__intro h2 {
  margin-bottom: 20px;
}

.genres__intro p {
  margin-bottom: 30px;
}

.genres__intro .btn {
  font-size: 15px;
}

.genres .btn-row {
  align-self: flex-start;
}

.intro {
  padding-top: 120px;
  padding-bottom: 120px;
  background-image: url("../img/artist-intro-bg.jpg");
}

.intro .wrap {
  justify-content: center;
}

.intro__card {
  display: flex;
  justify-content: center;
  width: 67%;
}

.intro__photo {
  width: 33%;
  min-height: 477px;
  background: url("../img/about.jpg") 50% 50% / cover no-repeat;
}

.intro__text {
  width: 66%;
  padding: 50px;
  background: var(--light);
}

.intro__text h3 {
  margin-bottom: 20px;
}

.intro__text p {
  margin-bottom: 30px;
}

.intro__text a {
  display: inline-flex;
  font-size: 15px;
  line-height: 24px;
}

.exhibitions {
  padding-top: 50px;
  padding-bottom: 60px;
}

.exhibitions .wrap {
  flex-direction: column;
}

.exhibitions__top {
  display: flex;
  padding: 10px;
}

.exhibitions__top > .col {
  width: 50%;
  padding: 50px;
  gap: 20px;
}

.exhibitions__top h2 {
  width: 100%;
  padding: 20px 0 15px;
  margin-bottom: 15px;
  text-align: right;
}

.exhibitions__lead img {
  width: 450px;
  height: 371px;
  object-fit: cover;
}

.exhibitions__row {
  display: flex;
  padding: 0 10px 20px;
}

.exhibitions__row > .col {
  flex: 1;
  padding: 10px;
  gap: 20px;
}

.exhibition {
  width: 100%;
  text-align: center;
}

.exhibition img {
  width: 364px;
  height: 300px;
  margin: 0 auto 20px;
}

.exhibitions__lead .exhibition img {
  width: 450px;
  height: 371px;
}

.video {
  padding-top: 100px;
  padding-bottom: 100px;
}

.video .wrap {
  padding: 10px;
}

.video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

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

.story {
  padding-top: 60px;
  padding-bottom: 100px;
}

.story__text {
  width: 50%;
  padding: 22px 50px 50px 0;
}

.story__text h2 {
  margin-bottom: 15px;
}

.story__lead {
  width: 100%;
  padding-bottom: 20px;
}

.story__columns {
  display: flex;
  align-items: center;
  gap: 50px;
  width: 100%;
  padding: 10px;
}

.story__columns p {
  flex: 1;
}

.story__photo {
  width: 50%;
  padding: 10px;
}

.story__photo img {
  width: 580px;
  height: 746px;
}

.formation {
  padding: 112px 40px;
}

.formation .wrap {
  flex-direction: column;
  gap: 48px;
}

.formation__intro .eyebrow {
  margin-bottom: 24px;
}

.formation__intro h2 {
  margin-bottom: 20px;
}

.formation__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.degree {
  display: flex;
  gap: 72px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.degree__title {
  flex: 0 0 30%;
  max-width: 30%;
}

.degree__title h3,
.degree__title h4 {
  margin-bottom: 15px;
  font-weight: 700;
}

.degree__title p,
.degree__body p {
  margin-bottom: 15px;
}

.degree__body {
  flex: 0 1 70%;
}

.signature {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  background: url("../img/about_2.jpg") 52% 27% / cover no-repeat fixed;
}

.signature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #101010;
  opacity: .35;
}

.signature .wrap {
  position: relative;
}

.signature__text {
  width: 50%;
  padding: 50px 50px 50px 0;
  align-items: stretch;
  justify-content: flex-start;
  gap: 20px;
}

.signature__text h3 {
  color: var(--light);
}

.signature__text h2 {
  margin-bottom: 10px;
}

.signature__text p {
  margin-bottom: 40px;
  color: #fff;
}

.signature__text img {
  align-self: flex-end;
  margin-top: 20px;
}

/* Gallery teaser (About, Gravures, Peinture) */

.teaser {
  padding-top: 100px;
  padding-bottom: 100px;
}

.teaser .wrap {
  justify-content: center;
}

.teaser__images {
  width: 67%;
  padding: 30px;
}

.teaser__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
}

.teaser__grid img {
  width: 100%;
  aspect-ratio: 850 / 700;
  object-fit: cover;
}

.teaser__text {
  width: 33%;
  padding: 30px;
}

.teaser__text p {
  margin: 10px 0 20px;
}

.teaser__text > div {
  width: 100%;
}

.teaser__text .btn-row {
  align-self: flex-start;
}

.artworks + .teaser {
  margin-top: 1.6rem;
}

.teaser--about .teaser__grid {
  margin-bottom: 8px;
}

.teaser--boxed .teaser__grid img {
  aspect-ratio: 300 / 247;
}

.teaser--boxed {
  padding: 10px;
}

.teaser--boxed .wrap {
  padding: 100px 10px;
}

/* ---------- Works ---------- */

.works {
  padding-top: 50px;
}

.works--second {
  padding-top: 0;
  padding-bottom: 100px;
}

.works__text {
  width: 33%;
  padding: 25px;
}

.works__text > div {
  width: 100%;
}

.works__text h2 {
  margin-bottom: 10px;
}

.works__text p {
  margin-bottom: 40px;
}

.works__text .btn-row {
  align-self: flex-start;
}

.works__images {
  display: flex;
  row-gap: 20px;
  width: 67%;
  padding: 25px;
}

.works__images .col {
  width: 50%;
  padding: 20px;
  gap: 40px;
}

.works__images img {
  width: 335px;
}

/* ---------- Artwork lists (Gravures / Peinture) ---------- */

.artworks {
  margin-top: 1.6rem;
  padding: 112px 40px;
}

.artworks .wrap {
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.artworks__intro {
  text-align: center;
}

.artworks__intro h2 {
  margin-bottom: 20px;
}

.artworks__intro p {
  margin: 0 180px;
}

.artworks__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.artwork {
  display: grid;
  grid-template-columns: 33% 63%;
  column-gap: 48px;
  align-items: center;
}

.artwork__image {
  display: flex;
  justify-content: center;
  padding: 10px;
}

.artwork__image a {
  display: block;
}

.artwork__info {
  padding: 10px;
}

.artwork__info .eyebrow {
  margin: 5px 0 10px;
}

.artwork__info p:not(.eyebrow) {
  margin: 10px 0 20px;
  line-height: 30px;
}

.artwork__info .btn {
  display: flex;
  width: max-content;
  margin-top: 40px;
}

.artworks--paintings .artwork__info .eyebrow {
  margin: 0;
}

.artworks--paintings .artwork__info h3 {
  margin: 12px 0 8px;
}

.artworks--paintings .artwork__info p:not(.eyebrow) {
  margin: 0;
}

.artworks--paintings .artwork__info .btn {
  margin-top: 20px;
}

.artworks--paintings .artwork--spaced .artwork__info .btn {
  margin-top: 40px;
}

.artwork--padded .artwork__image {
  padding: 20px;
}

.separator {
  height: 11px;
  padding: 5px 0;
}

.separator::before {
  content: "";
  display: block;
  border-top: 1px solid var(--line);
}

/* ---------- Contact ---------- */

.contact {
  margin-top: 1.6rem;
  padding: 112px 40px;
}

.contact .wrap {
  gap: 72px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 0 0 35%;
  max-width: 35%;
}

.contact__info h2 {
  padding-bottom: 16px;
}

.contact__label {
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: var(--accent);
}

.contact__address {
  display: flex;
  gap: 10px;
}

.contact__address svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.contact__address .contact__label {
  margin-bottom: 12px;
}

.contact__address .contact__label + p {
  margin-bottom: 3px;
}

.contact__address div {
  flex: 1;
}

.contact__address hr {
  margin: 16px 0 8px;
  border: 0;
  border-top: 1px solid var(--line);
}

.contact__message .contact__label {
  margin-bottom: 20px;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
  color: var(--accent);
}

.contact__list svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.contact-form {
  flex: 1;
}

/* ---------- Forms ---------- */

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.65rem;
  color: var(--accent);
}

.req {
  color: #d63637;
}

.contact-form .field input,
.contact-form .field textarea {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: #666;
  line-height: 1.65;
  outline: 0;
  transition: border-color .2s;
}

.contact-form .field input:focus,
.contact-form .field textarea:focus {
  border-color: var(--accent);
}

.contact-form .field textarea {
  display: inline-block;
  height: 175px;
  resize: vertical;
}

.contact-form .btn {
  border-color: #000;
  background: var(--accent);
  color: #000;
}

.contact-form .btn:hover,
.contact-form .btn:focus {
  border-color: var(--accent);
  background: #ffa700;
  color: #fff;
}

.form-message {
  margin-top: 20px;
}

.form-message[hidden] {
  display: none;
}

.form-message.is-error {
  color: #d63637;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Buy form (inside the modal) and the dark "Form design" variant */

.wpf .wpf-field {
  padding: 15px 0;
}

.wpf label {
  display: block;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
  color: rgba(0, 0, 0, .85);
}

.wpf .req {
  font-weight: 400;
}

.wpf input {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(0, 0, 0, .25);
  border-radius: 3px;
  background: #fff;
  font-size: 18px;
  color: rgba(0, 0, 0, .7);
  outline: 0;
}

.wpf input:focus {
  border-color: var(--accent);
}

.wpf .is-invalid input {
  border-color: #d63637;
}

.wpf .is-invalid input:focus {
  border-width: 2px;
}

.wpf-error {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 17px;
  color: #d63637;
}

.wpf-error svg {
  width: 16px;
  height: 14px;
  fill: currentColor;
}

.wpf-submit {
  margin-top: 15px;
  height: 48px;
  padding: 0 20px;
  border: 2px solid #101010;
  background: transparent;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  cursor: pointer;
}

.wpf-submit:hover {
  background: transparent;
  opacity: .75;
}

.wpf-confirm {
  padding: 15px;
  border: 1px solid #b4d39b;
  background: #e0ffc7;
  color: #333;
}

.form-dark {
  padding: 100px 10px;
  background: #5d5d5d;
}

.form-dark .wpf {
  width: 100%;
  margin: 24px 0;
}

.form-dark .wpf label {
  margin-bottom: 15px;
  color: #fff;
}

.form-dark .wpf input {
  height: 43px;
  border-color: #fff;
  background: transparent;
  font-size: 16px;
  color: #fff;
}

.form-dark .wpf-submit {
  height: 41px;
  margin-top: 10px;
  padding: 0 15px;
  border: 1px solid #fff;
  border-radius: 3px;
  font-size: 17px;
}

.plain-page {
  padding: 60px 0;
}

.plain-page h1 {
  max-width: 1240px;
  margin: 0 auto 22.5px;
  padding: 0 20px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

/* ---------- Modals ---------- */

.modal {
  width: fit-content;
  max-width: 100%;
  max-height: 80%;
  padding: 0;
  border: 0;
  border-radius: 3px;
  overflow: visible;
  background: #fff;
  color: #333;
}

.modal::backdrop {
  background: rgba(0, 0, 0, .75);
}

.modal[open] {
  display: flex;
  flex-direction: column;
  animation: modal-fade .3s ease;
}

.modal__content {
  padding: 35px;
  overflow: hidden auto;
}

.modal__close {
  position: absolute;
  top: -25px;
  right: -25px;
  display: flex;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.modal__close svg {
  width: 25px;
  height: 25px;
  fill: #fff;
}

.modal--image {
  background: transparent;
}

.modal--image[open] {
  animation-name: modal-zoom;
}

.modal--image .modal__close {
  top: -55px;
  right: -20px;
  width: 29px;
  height: 29px;
  border: 2px solid #fff;
}

.modal--image img {
  width: auto;
}

.modal--image h3 {
  padding-top: 30px;
  font-size: 35px;
  line-height: 1;
  text-align: center;
  color: #fff;
}

.modal.modal--buy {
  width: 600px;
}

.modal--buy .modal__intro {
  display: flow-root;
  text-align: center;
}

.modal--buy .modal__intro svg {
  width: 30px;
  height: 45px;
  padding-bottom: 15px;
  fill: #333;
}

.modal--buy h3 {
  margin-bottom: 10px;
}

.modal--buy .modal__intro p {
  margin-bottom: 30px;
}

.modal--buy .wpf {
  margin: 24px 0;
}

@keyframes modal-fade {
  from { opacity: 0; }
}

@keyframes modal-zoom {
  from { opacity: 0; transform: scale(.7); }
}

body.has-modal {
  overflow: hidden;
}

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

.site-footer {
  background: var(--footer);
  text-align: center;
}

.footer-main {
  padding: 110px 0 55px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 50px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid h2 {
  font-size: 21px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer-grid p {
  margin-bottom: 15px;
  line-height: 24px;
  color: var(--light);
}

.footer-grid .footer-follow h2 {
  margin-bottom: 25px;
}

.social {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social a {
  display: inline-flex;
  padding: 8px;
  background: var(--light);
  color: #3a3a3a;
  transition: color .01s, background-color .01s;
}

.social a:hover,
.social a:focus {
  background: var(--accent);
  color: var(--light);
}

.social svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 123px;
  padding: 28px 0 35px;
  color: var(--light);
}

/* ======================================================================
   Responsive
   ====================================================================== */

@media (max-width: 976px) {
  .title-xxl {
    font-size: 30px;
  }

  .title-xl {
    font-size: 25px;
  }

  .title-lg {
    font-size: 20px;
  }

  /* Page heroes */
  .page-hero {
    align-items: center;
    min-height: 262px;
    padding: 100px 50px 0 30px;
  }

  .page-hero h1 {
    padding: 0;
  }

  .page-hero--works {
    padding: 150px 50px 0;
  }

  .page-hero--works h1 {
    padding: 10px;
  }

  .page-hero--contact {
    padding: 150px 50px 0;
  }

  .page-hero--contact h1 {
    padding: 0 0 0 10px;
  }

  .btn {
    padding: 14px 28px;
  }

  .genres__intro .btn {
    padding: 12px 15px;
  }

  /* Home */
  .home-hero img {
    width: 324px;
  }

  .genres {
    padding: 100px 0;
  }

  .genres .col {
    padding: 30px;
  }

  .genres__card img,
  .genres__card--paintings img {
    width: 100%;
    height: auto;
  }

  .intro {
    padding: 80px 0 40px;
  }

  .intro__card {
    width: 100%;
  }

  .exhibitions {
    padding: 50px 0;
  }

  .exhibitions__top {
    padding: 0;
  }

  .exhibitions__top > .col:first-child {
    padding: 30px 30px 30px 40px;
  }

  .exhibitions__top > .col:last-child {
    padding: 30px 40px 30px 30px;
  }

  .exhibitions__lead .exhibition img {
    width: 314px;
    height: 259px;
  }

  .exhibitions__row {
    align-items: flex-start;
    justify-content: center;
    padding: 10px;
  }

  .exhibitions__row > .col {
    flex: 0 1 33%;
  }

  .exhibition img {
    width: 237px;
    height: 196px;
  }

  /* About */
  .story {
    padding: 50px 10px;
  }

  .story .wrap {
    flex-direction: column;
  }

  .story__text {
    width: 100%;
    padding: 30px;
  }

  .story__columns {
    margin-bottom: 20px;
  }

  .story__photo {
    width: 100%;
    padding: 0 150px;
  }

  .story__photo img {
    width: 468px;
    height: auto;
    aspect-ratio: 580 / 746;
  }

  .formation {
    padding: 80px 32px;
  }

  .formation .wrap {
    gap: 50px;
  }

  .formation__intro .eyebrow {
    margin-bottom: 12px;
  }

  .formation__intro h2 {
    margin-bottom: 0;
  }

  .degree {
    gap: 40px;
    padding-top: 24px;
  }

  .signature {
    padding: 50px;
  }

  .signature__text {
    width: 100%;
    padding: 30px;
  }

  .teaser {
    padding: 80px 0;
  }

  .teaser__images,
  .teaser__text {
    width: 50%;
  }

  .teaser__grid {
    gap: 10px;
  }

  .teaser--about .teaser__grid {
    gap: 20px;
  }

  .teaser--boxed {
    padding: 10px;
  }

  .teaser--boxed .wrap {
    padding: 80px 0;
  }

  /* Works */
  .works {
    padding: 0;
  }

  .works .wrap {
    flex-direction: column;
  }

  .works__text {
    width: 100%;
    padding: 50px;
  }

  .works__images {
    width: 100%;
    padding: 30px;
  }

  .works__images img {
    width: 100%;
  }

  .works--second {
    padding: 0 10px 100px;
  }

  .works--second .works__images {
    padding: 50px;
  }

  .works--second .works__images .col {
    padding: 10px;
    gap: 20px;
  }

  .works--second .works__text h2 {
    margin-bottom: 15px;
  }

  .works--second .works__text p {
    margin-bottom: 30px;
  }

  .works--second .works__images img {
    margin: 10px 0;
  }

  /* Artwork lists */
  .artworks {
    padding: 80px 32px;
  }

  .artworks .wrap {
    gap: 50px;
  }

  .artworks__intro h2 {
    margin-bottom: 16px;
  }

  .artworks__intro p {
    margin: 0 8%;
  }

  .artwork__info h3,
  .artworks--paintings .artwork__info h3 {
    margin: 8px 0 12px;
  }

  .artwork__info p:not(.eyebrow) {
    line-height: 2;
  }

  .artwork {
    grid-template-columns: 33fr 45fr;
    column-gap: 40px;
  }

  /* Contact */
  .contact {
    padding: 80px 32px;
  }

  .contact .wrap {
    gap: 40px;
  }

  .contact__info {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .contact__address .contact__label + p {
    margin-bottom: 0;
  }

  .contact__address hr {
    margin: 15px 0 6px;
  }

  .contact__message .contact__label {
    margin-bottom: 12px;
  }

  .contact-form .field textarea {
    height: 161px;
  }
}

@media (max-width: 921px) {
  html {
    font-size: 85.5%;
  }

  .header-bar {
    padding: 7px 20px;
    min-height: 79px;
    background: var(--ink);
  }

  .header-inner {
    max-width: none;
    min-height: 65px;
    padding: 0;
  }

  .logo {
    padding: 13.68px 0;
  }

  .logo img {
    width: 150px;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 41px;
    height: 41px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .menu-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .menu-toggle .icon-close,
  .menu-toggle[aria-expanded="true"] .icon-menu {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] .icon-close {
    display: block;
  }

  .mobile-nav.is-open {
    display: block;
    background: #fff;
  }

  .mobile-nav a {
    display: block;
    padding: 0 20px;
    line-height: 3;
    color: var(--ink);
  }

  .mobile-nav .is-current > a,
  .mobile-nav a:hover,
  .mobile-nav a:focus {
    background: var(--light);
    color: var(--accent);
  }

  .plain-page {
    padding: 0;
  }

  .plain-page h1 {
    margin-bottom: 1.5rem;
    font-size: 2.1333rem;
  }

  .footer-grid h2 {
    font-size: 19px;
  }

  .footer-grid .footer-follow h2 {
    font-size: 21px;
  }

  .footer-grid p {
    font-size: 14px;
    line-height: 1.5;
  }

  .footer-grid > div {
    margin-bottom: 10px;
  }
}

@media (max-width: 767px) {
  .wrap,
  .exhibitions__top,
  .exhibitions__row,
  .works__images,
  .story__columns,
  .degree,
  .intro__card,
  .contact .wrap {
    flex-direction: column;
  }

  .home-hero .wrap,
  .genres .wrap,
  .story .wrap,
  .works--second .wrap {
    flex-direction: column-reverse;
  }

  .home-hero .col,
  .genres .col,
  .intro__photo,
  .intro__text,
  .exhibitions__top > .col,
  .exhibitions__row > .col,
  .teaser__images,
  .teaser__text,
  .works__images .col,
  .contact__info,
  .degree__title,
  .degree__body {
    width: 100%;
    max-width: 100%;
    flex-basis: auto;
  }

  .btn {
    padding: 12px 24px;
  }

  /* Page heroes */
  .page-hero {
    min-height: 233px;
    padding: 145px 45px 0;
    text-align: center;
  }

  .page-hero--works {
    padding: 100px 45px 0;
  }

  .page-hero--works h1 {
    padding: 0;
  }

  .page-hero--contact {
    padding: 145px 45px 45px;
  }

  .page-hero--contact h1 {
    padding: 0;
  }

  /* Home */
  .home-hero {
    padding: 100px 10px 50px;
  }

  .home-hero .col:first-child {
    padding: 20px;
    text-align: center;
  }

  .home-hero__eyebrow {
    padding-bottom: 10px;
  }

  .home-hero h1 {
    margin-bottom: 15px;
  }

  .home-hero__text p {
    margin-bottom: 30px;
  }

  .home-hero .btn-row {
    align-self: center;
  }

  .home-hero img {
    width: 310px;
    height: 366px;
  }

  .genres {
    padding: 30px 0;
  }

  .genres__card,
  .genres__intro {
    text-align: center;
  }

  .genres__intro {
    padding: 0 0 30px;
  }

  .genres__intro h2 {
    margin-bottom: 15px;
  }

  .genres .btn-row {
    align-self: center;
  }

  .genres__card img {
    margin: 0 0 20px;
  }

  .intro {
    padding: 0;
  }

  .intro__text {
    padding: 50px 25px;
    text-align: center;
  }

  .exhibitions {
    padding: 0;
  }

  .exhibitions__top {
    padding: 10px;
  }

  .exhibitions__top > .col:first-child,
  .exhibitions__top > .col:last-child {
    padding: 30px;
  }

  .exhibitions__top h2 {
    padding: 0;
    text-align: center;
  }

  .exhibitions__lead .exhibition img {
    width: 310px;
    height: 256px;
  }

  .exhibitions__row {
    padding: 30px;
  }

  .exhibitions__row > .col {
    padding: 10px;
  }

  .exhibition img {
    width: 300px;
    height: 364px;
  }

  .exhibitions__row h4 {
    margin-bottom: 10px;
  }

  /* About */
  .story__text {
    padding: 15px;
  }

  .story__lead {
    text-align: center;
  }

  .story__columns {
    gap: 0;
    margin-bottom: 0;
    text-align: center;
  }

  .story__photo {
    padding: 0 20px;
  }

  .story__photo img {
    width: 100%;
  }

  .formation {
    padding: 64px 24px;
  }

  .formation .wrap {
    gap: 40px;
  }

  .formation__intro .eyebrow {
    font-size: 15px;
  }

  .degree {
    gap: 16px;
  }

  .signature {
    padding: 50px 20px;
  }

  .signature__text {
    text-align: center;
  }

  .signature__text img {
    align-self: center;
  }

  .teaser {
    padding: 50px 0;
  }

  .teaser--about .teaser__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 20px) / 2);
    overflow: hidden;
  }

  .artworks + .teaser:not(.teaser--boxed) .teaser__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .teaser__text {
    text-align: center;
  }

  .teaser__text h3 {
    margin-bottom: 10px;
  }

  .teaser__text p {
    margin: 0 0 30px;
  }

  .teaser__text .btn-row {
    align-self: center;
  }

  .teaser--boxed {
    padding: 10px;
  }

  .teaser--boxed .wrap {
    padding: 50px 0;
  }


  /* Works */
  .works {
    padding: 0 0 20px;
  }

  .works__text {
    padding: 30px;
    text-align: center;
  }

  .works__text p {
    margin-bottom: 24px;
  }

  .works--second .works__text p {
    margin-bottom: 30px;
  }

  .works__images img {
    width: 100%;
  }

  .works__images .col:last-child img {
    margin-top: -20px;
  }

  .works__text .btn-row {
    align-self: center;
  }

  .works__images {
    padding: 0 15px 15px;
  }

  .works__images .col {
    padding: 10px;
  }

  .works--second {
    padding: 20px 0 50px;
  }

  .works--second .works__text {
    padding: 30px 30px 15px;
  }

  .works--second .works__images {
    row-gap: 0;
    padding: 0 15px;
  }

  .works--second .works__text h2 {
    margin-bottom: 10px;
  }

  .works--second .works__images .col {
    padding: 0;
    gap: 0;
  }

  .works--second .works__images img,
  .works--second .works__images .col:last-child img {
    width: 360px;
    max-width: none;
    margin: 20px;
    align-self: flex-start;
  }

  /* Artwork lists */
  .artworks {
    padding: 64px 24px;
  }

  .artworks .wrap {
    gap: 40px;
  }

  .artworks__intro h2 {
    margin-bottom: 12px;
  }

  .artworks__intro p {
    margin: 0;
  }

  .artworks__list {
    gap: 20px;
  }

  .artwork {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .artworks:not(.artworks--paintings) .artwork__info {
    text-align: center;
  }

  .artwork__info .eyebrow {
    font-size: 15px;
  }

  .artwork__info h3 {
    margin: 0 0 10px;
  }

  .artwork__info p:not(.eyebrow) {
    margin: 0 0 30px;
  }

  .artwork__info .btn {
    margin: 50px auto 0;
  }

  .artworks--paintings .artwork__info p:not(.eyebrow) {
    margin: 0;
  }

  .artworks--paintings .artwork__info .btn,
  .artworks--paintings .artwork--spaced .artwork__info .btn {
    margin-top: 20px;
  }

  /* Contact */
  .contact {
    padding: 64px 24px;
  }

  .contact__info {
    max-width: 100%;
  }

  .contact__info h2 {
    padding-bottom: 12px;
  }

  .contact__label {
    font-size: 18px;
    line-height: 27px;
  }

  .contact__address hr {
    margin: 14px 0 8px;
  }

}

@media (max-width: 900px) {
  .modal__content {
    width: 80vw;
    padding: 0;
  }
}

@media (max-width: 544px) {
  .header-bar {
    min-height: 70px;
    padding: 0 20px;
  }

  .header-inner {
    min-height: 70px;
  }

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

  .footer-grid .footer-follow h2 {
    font-size: 19px;
  }
}
