/* GLOBAL  */

.site-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


body {
  font-family: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #000;
  font-weight: 300;
}

/* IMAGE PROTECTION */

img, video {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

/* GLOBAL SECTION LAYOUTS */


.section {
  padding: 2.5rem 0;
}

@media (max-width: 800px) {
  .section {
    padding: 0.5rem 0;
    margin-top: 0;
  }
}

.section--white {
  background: #fff;
}

.section--gray {
  background: #f6f6f6;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 200;
  margin: 0 0 1.5rem;
}

.section-text h1 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.section-text p {
  margin-bottom: 1.2rem;
  margin-top: 0;
  line-height: 1.6;
  text-align: justify;
}

.section-quote {
  font-style: italic;
}

.section-cta {
  margin-top: 2rem;
  text-align: right;
}

/* Image with shadow */

.section-image--shadow {
  position: relative;
}

.section-image--shadow img {
  display: block;
  width: 100%;
  position: relative;
  z-index: 2;
}

.section-image--shadow::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 1;
}

/* --- Triptych layout --- */

.triptych {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--triptych-gap, 4vw);
  width: 100%;
}


.triptych__image {
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.triptych__image img {
  display: block;
  max-height: 420px;
  width: auto;
  flex: 0 0 auto;
}


.triptych__center {
  display: flex;
  align-items: center;
  justify-content: center;
}


@media (max-width: 900px) {
  .triptych {
    gap: 2rem;
  }

  .triptych__image--right {
    display: none;
  }

  .triptych__image img {
    max-height: 300px;
  }
}

@media (max-width: 768px) {
  .triptych {
    gap: clamp(0.5rem, 2vw, 1rem);
    padding: 0 0.5rem;
  }

  .triptych__image {
    flex: 0 1 40%;
    min-width: 0;
    padding: 0.75rem;
  }

  .triptych__image img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
  }

  .triptych__center {
    flex: 1;
    min-width: 0;
  }

  .triptych__center .overlay-card {
    max-width: 100%;
    padding: 1rem 1.25rem;
  }
}


/* OVERLAY CARD – reusable content panel */

.overlay-card {
  --overlay-padding: 1rem;

  background: #fff;
  padding: var(--overlay-padding);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 420px;
}

/* OVERLAY internal structure */
.overlay-card__title {
  font-size: 2rem;
  font-weight: 300;
  margin: 0 0 1.5rem;
}

.overlay-card--left {
  text-align: left;
}

.overlay-card--wide {
  max-width: 520px;
}

.overlay-card--compact {
  padding: 1.75rem 2rem;
}


.overlay-card--center {
  position: absolute;
  z-index: 20;
  max-width: 420px;
  text-align: center;
}


/* BUTTON */

.button-outline {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border: 1px solid #000;
  border-radius: 999px;
  text-decoration: none;
  color: #000;
  font-size: 1.05rem;
  font-weight: 300;
  transition: background 0.2s ease, color 0.2s ease;
}


.button-outline:hover {
  background: #000;
  color: #fff;
}

/* TWO-COLUMN LAYOUT */

.two-col {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.two-col .section-text {
  flex: 1;
  min-width: 0;
}


.two-col .section-image {
  flex-shrink: 0;
  flex: 0 0 auto;
}

.section-image img {
  width: 100%;
  height: auto;
  display: block;
}


/* IMAGE SIZE VARIANTS */

/* Default / equal */
.two-col--equal .section-image {
  flex: 0 0 50%;
}

/* Image is visually smaller */
.two-col--image-narrow .section-image {
  flex: 0 0 35%;
}

/* Image is visually larger */
.two-col--image-wide .section-image {
  flex: 0 0 65%;
}



/* RESPONSIVE */

@media (max-width: 800px) {
  .two-col {
    flex-direction: column;
  }

    .two-col > div {
    flex: 1 0 auto;
  }
}


/* Mobile-only column order overrides */

@media (max-width: 800px) {
  .section--stack-text-first .two-col {
    flex-direction: column;
  }

  .section--stack-text-first .two-col .section-text {
    order: 1;
  }

  .section--stack-text-first .two-col .section-image {
    order: 2;
  }

  .section--stack-image-first .two-col .section-image {
    order: 1;
  }

  .section--stack-image-first .two-col .section-text {
    order: 2;
  }
}


/* HEADER */

.site-header {
  padding-bottom: 0.75rem;
}

.site-logo {
  text-align: center;
  padding: 0;
  margin: 0;
}

.site-logo img {
  display: block;
  margin: 0 auto;
  max-width: 265px;
  height: auto;
}

/* HEADER DIVIDER */

.header-divider {
  border: none;
  border-top: 1px solid #000;
  margin: 0.25rem 0 0.35rem;
}


/* HEADER BAR */

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* NAVIGATION */

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  color: #000;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0;
}

.site-nav a:hover {
  text-decoration: underline;
}

/* SOCIAL */

.site-social a {
  font-size: 1.4rem;
  color: #000;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .site-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .site-social {
    position: static;
    transform: none;
    margin-top: 1rem;
  }
}


/* FOOTER */

.site-footer {
  padding: 150px 0 40px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
}

/* WORK SLIDESHOW */

.work-heading {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 200;
  margin: 0 0 2rem;
}

.work-slideshow {
  position: relative;
}

.work-slideshow.is-dragging {
  cursor: grabbing;
}

.work-slideshow__track {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  overflow-x: scroll;
  overflow-y: hidden;
  padding-bottom: 20px; /* room for item shadow */
  padding-right: 18px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.work-slideshow__track::-webkit-scrollbar {
  display: none;
}

.work-slideshow.is-dragging .work-slideshow__track {
  cursor: grabbing;
}

.work-slideshow__item {
  flex: 0 0 auto;
  height: 380px;
  position: relative;
}

.work-slideshow__item img {
  height: 100%;
  width: auto;
  display: block;
  position: relative;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

/* offset shadow behind each image */
.work-slideshow__item::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 1;
}

.work-slideshow__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  color: #000;
  opacity: 0.6;
  padding: 0.5rem;
}

.work-slideshow__arrow:hover {
  opacity: 1;
}

.work-slideshow__arrow--left { left: 0; }
.work-slideshow__arrow--right { right: 0; }

@media (max-width: 768px) {
  .work-slideshow__arrow { display: none; }
  .work-slideshow__item { height: 260px; }
}


/* ARTWORK DETAIL PAGE */

.artwork-detail {
  max-width: 900px;
  margin: 2rem auto;
}

.artwork-detail__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.artwork-detail__title {
  font-size: 2.5rem;
  font-weight: 300;
  margin: 0;
}

.artwork-detail__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #000;
  border-radius: 50%;
  font-size: 1rem;
  color: #000;
  text-decoration: none;
  flex-shrink: 0;
  margin-left: 1rem;
}

.artwork-detail__close:hover {
  background: #000;
  color: #fff;
}

/* Artwork slideshow */

.artwork-slideshow {
  user-select: none;
}

.artwork-slideshow__container {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.artwork-slideshow__track {
  display: flex;
  gap: 1rem;
  height: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.artwork-slideshow__track::-webkit-scrollbar {
  display: none;
}

.artwork-slideshow__item {
  height: 100%;
  width: auto;
  flex-shrink: 0;
  display: block;
  cursor: pointer;
}

.artwork-slideshow__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 3rem;
  line-height: 1;
  color: #000;
  cursor: pointer;
  padding: 0 0.5rem;
  z-index: 1;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.artwork-slideshow__btn:hover { opacity: 1; }
.artwork-slideshow__btn--prev { left: 0; }
.artwork-slideshow__btn--next { right: 0; }

/* Artwork modal */

.artwork-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artwork-modal[hidden] { display: none; }

.artwork-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.artwork-modal__stage {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artwork-modal__stage img,
.artwork-modal__stage video {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.artwork-modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  background: none;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artwork-modal__close:hover { background: rgba(255,255,255,0.15); }

.artwork-modal__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: none;
  border: none;
  color: #fff;
  font-size: 4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 1rem;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.artwork-modal__btn:hover { opacity: 1; }
.artwork-modal__btn--prev { left: 0; }
.artwork-modal__btn--next { right: 0; }

.artwork-modal__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.artwork-detail__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #555;
}

.artwork-detail__description {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: #333;
}

.artwork-detail__purchase {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  margin-top: 2rem;
}

.artwork-detail__sold {
  font-size: 1rem;
  color: #888;
  font-style: italic;
}

.artwork-detail__price {
  font-size: 1.1rem;
}

.artwork-detail__buy-btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid #000;
  border-radius: 2rem;
  font-size: 0.9rem;
  color: #000;
  text-decoration: none;
}

.artwork-detail__buy-btn:hover {
  background: #000;
  color: #fff;
}

/* WORK GALLERY — clickable items */

.work-gallery__item {
  cursor: pointer;
}

/* FOR SALE / ECWID */

#my-store-9877387 {
  margin-top: 0;
}

.forsale-store .ec-store,
.forsale-store .ecwid,
.forsale-store .ec-wrapper,
.forsale-store .ec-page-body {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.forsale-store .grid-category__spacer-inner {
  display: none !important;
}

/* ECWID BUTTON STYLES */

.ec-store .btn-primary,
.ec-store .form-control--button,
.ec-store .ec-cart-widget__button,
.ec-store .form-control__button,
.ec-store .form-control__button--icon-center {
  background-color: #5b9bd5 !important;
  border-color: #5b9bd5 !important;
  color: #fff !important;
}

#my-store-9877387 .ec-page-title,
#my-store-9877387 .page-title__name {
  display: none;
}

/* WORK GALLERY */

.work-gallery {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.work-gallery__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.work-gallery__item {
  position: relative;
}

.work-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
}

.work-gallery__sold-dot {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e02020;
  opacity: 0.8;
  cursor: default;
}

.work-gallery__sold-dot::after {
  content: 'Sold';
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.work-gallery__sold-dot:hover::after {
  opacity: 1;
}

@media (max-width: 600px) {
  .work-gallery {
    flex-direction: column;
  }
}


/* WORK SUB-NAVIGATION */

.work-subnav-wrapper {
  text-align: center;
  margin-bottom: 2rem;
}

.work-subnav {
  display: inline-block;
  border: 1px solid #000;
  border-radius: 999px;
  padding: 0.65rem 1.75rem;
  margin-bottom: 1rem;
}

.work-subnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.work-subnav a {
  color: #000;
  text-decoration: underline;
  font-weight: 300;
  font-size: 1rem;
}

.work-subnav a:hover {
  text-decoration: none;
}

.work-subnav__active {
  font-weight: 600;
  font-size: 1rem;
}

.work-commission {
  font-size: 0.95rem;
  font-weight: 300;
  margin: 0;
}

.work-commission a {
  color: #000;
}

@media (max-width: 600px) {
  .work-subnav ul {
    gap: 1.25rem;
  }

  .work-subnav {
    padding: 0.6rem 1.25rem;
  }
}


/* SCARVES PAGE */

.scarves-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
  min-height: 2rem;
}

.scarves-close {
  display: none;
  width: 2rem;
  height: 2rem;
  border: 1px solid #000;
  border-radius: 50%;
  text-align: center;
  line-height: 1.9rem;
  font-size: 1.25rem;
  color: #000;
  text-decoration: none;
  font-weight: 300;
  transition: background 0.2s ease, color 0.2s ease;
}

.scarves-close:hover {
  background: #000;
  color: #fff;
}


/* CONTACT PAGE */

.contact-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.contact-hero__bg-image,
.contact-hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.6s ease;
}

.contact-hero__bg-image {
  background-image: url('https://res.cloudinary.com/dn56nm273/image/upload/v1774594627/Contact.png');
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
}

.contact-hero__bg-video {
  object-fit: cover;
  opacity: 0;
  z-index: 0;
}

.contact-hero.is-hovered .contact-hero__bg-image {
  opacity: 0;
}

.contact-hero.is-hovered .contact-hero__bg-video {
  opacity: 1;
}

.contact-hero__card {
  position: relative;
  z-index: 2;
  background: #fff;
  width: 46%;
  max-width: 560px;
  margin: 1.25rem;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card__info,
.contact-card__form {
  transition: opacity 0.4s ease;
}

.contact-card__form {
  display: none;
  opacity: 0;
}

.contact-hero.is-hovered .contact-card__info {
  display: none;
}

.contact-hero.is-hovered .contact-card__form {
  display: block;
  opacity: 1;
}

.contact-card__heading {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  text-align: center;
}

.contact-card__message {
  font-size: 1rem;
  font-weight: 300;
  color: #555;
  text-align: center;
  line-height: 1.8;
  margin: 0;
}

.contact-honeypot {
  display: none;
}

.contact-field {
  margin-bottom: 0.5rem;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 300;
  border: 1px solid #ccc;
  padding: 0.5rem 0.65rem;
  outline: none;
  background: #fff;
  transition: border-color 0.2s ease;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: #000;
}

.contact-field textarea {
  resize: vertical;
}

.contact-field--submit {
  margin-top: 0.5rem;
  text-align: center;
}

.contact-send-btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 0.75rem 3rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-send-btn:hover {
  background: #333;
}

.contact-hero__aside {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.contact-hero.is-hovered .contact-hero__aside {
  opacity: 1;
  pointer-events: auto;
}

.contact-aside__email {
  font-size: 1.6rem;
  font-weight: 300;
  color: #fff;
  margin: 0;
}

.contact-aside__icon {
  font-size: 2.5rem;
  color: #fff;
}

@media (max-width: 700px) {
  .contact-hero {
    flex-direction: column;
  }

  .contact-hero__card {
    width: auto;
    max-width: 100%;
    margin: 1.5rem;
    padding: 2rem;
  }

  .contact-card__info { display: none; }
  .contact-card__form { display: block; opacity: 1; }
  .contact-hero__aside { opacity: 1; pointer-events: auto; flex-direction: row; padding: 1.5rem; }
}


/* PRESS PAGE */

.press-enquiries {
  text-align: center;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.press-enquiries a {
  color: #000;
}

.press-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.press-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 1.25rem;
  background: #f6f6f6;
}

.press-card__image-link {
  flex: 0 0 auto;
}

.press-card__image {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.press-card__body {
  flex: 1;
  min-width: 0;
}

.press-card__title {
  display: block;
  font-size: 1.3rem;
  font-weight: 300;
  color: #000;
  text-decoration: underline;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.press-card__title--no-link {
  text-decoration: none;
}

.press-card__title:hover {
  text-decoration: none;
}

.press-card__date {
  color: #8b3a3a;
  font-size: 0.95rem;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 650px) {
  .press-grid {
    grid-template-columns: 1fr;
  }

  .press-card:nth-child(odd) {
    border-right: none;
  }

  .press-card__image {
    width: 80px;
    height: 80px;
  }
}


/* ECWID STORE OVERRIDES */

.grid__products {
  max-width: 100% !important;
}

.scarves-store .grid-product {
  flex: 0 0 33.333% !important;
  max-width: 33.333% !important;
  width: 33.333% !important;
}

.forsale-store .grid-product {
  flex: 0 0 20% !important;
  max-width: 20% !important;
  width: 20% !important;
}


/* EXHIBITIONS PAGE */

.exhibitions-heading {
  font-size: 4rem;
  font-weight: 200;
  margin: 1.5rem 0 2.5rem;
}

.exhibitions-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
}

.exhibitions-list li {
  margin-bottom: 1.25rem;
  line-height: 1.5;
  font-size: 1.05rem;
  font-weight: 300;
}

.exhibitions-list a {
  color: #000;
}

.ex-year {
  font-weight: 400;
}

/* EXHIBITIONS LIST */

.exhibition-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 2rem;
}

.exhibition-list li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}