/* Sumana Creates: site styles
   Colors and fonts live here at the top so they are easy to change. */
:root {
  --plum: #7a2453;
  --plum-dark: #4f1535;
  --ink: #1f1a1c;
  --text: #4d4448;
  --muted: #6b6166;
  --line: #ece6e8;
  --tint: #faf7f8;
  --white: #ffffff;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--plum); }
a:hover { color: var(--plum-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.15; }
p { margin: 0; }
figure { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--tint { background: var(--tint); }
.stack { display: flex; flex-direction: column; gap: 32px; }
.eyebrow { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--plum); font-weight: 600; }
.h2 { font-size: 36px; }
.lead { font-size: 17px; line-height: 1.65; color: var(--text); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.section-head__text { display: flex; flex-direction: column; gap: 8px; flex: 1 1 420px; min-width: 0; max-width: 760px; }
.stack > .section-head__text { flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid var(--plum); cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn--solid { background: var(--plum); color: var(--white); }
.btn--solid:hover { background: var(--plum-dark); border-color: var(--plum-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--plum); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--plum-dark); border-color: var(--plum-dark); color: var(--white); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.site-header__logo img { height: 88px; width: auto; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); padding: 10px 14px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 500; letter-spacing: 0.02em; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--plum); }
.site-nav a.site-nav__contact { color: var(--plum); }

@media (max-width: 860px) {
  .site-header__logo img { height: 64px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; flex-direction: column; gap: 0; padding-bottom: 8px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-top: 1px solid var(--line); }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 72px 24px; }
.hero__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__title { font-size: 54px; line-height: 1.12; }
.hero__intro + .hero__intro { margin-top: -10px; }
.hero__intro { font-size: 17px; line-height: 1.6; color: var(--text); }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { flex: 1 1 420px; min-width: 0; }
@media (max-width: 600px) { .hero { padding-top: 40px; padding-bottom: 48px; gap: 36px; } .hero__title { font-size: 38px; } .h2 { font-size: 30px; } .section { padding: 56px 0; } }

/* Slideshow */
.slideshow__frame { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--tint); box-shadow: 0 24px 48px rgba(31,26,28,0.18); }
.slideshow__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s ease; }
.slideshow__slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .slideshow__slide { transition: none; } }
.slideshow__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.slideshow__caption { font-size: 14px; color: var(--muted); font-style: italic; }
.slideshow__dots { display: flex; gap: 2px; }
.dot { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #d8ccd1; }
.dot[aria-current="true"]::before { background: var(--plum); }

/* Explore cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; background: var(--white); padding: 16px; transition: box-shadow 0.2s ease; }
.card:hover { color: var(--ink); box-shadow: 0 12px 32px rgba(31,26,28,0.12); }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.card img.card__img--logo { object-fit: contain; padding: 12px; background: var(--white); } /* logos: show the whole design */
.card__title { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.card__text { font-size: 15px; color: var(--text); line-height: 1.5; }

/* Galleries */
.grid { display: grid; gap: 32px 24px; }
.grid--art { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid--wares { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.grid--books { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.grid img { width: 100%; object-fit: cover; }
.grid--art img { aspect-ratio: 1 / 1; }
.grid--art img.is-tall { object-fit: contain; background: var(--tint); } /* portrait pieces: show the whole artwork */
.grid--wares img { aspect-ratio: 4 / 3; }
.grid figcaption { padding-top: 10px; font-size: 15px; }
.grid a { color: var(--ink); text-decoration: none; }
.grid a:hover figcaption { color: var(--plum); text-decoration: underline; }
.wide-art { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; box-shadow: 0 24px 48px rgba(31,26,28,0.16); }

.book { display: flex; flex-direction: column; gap: 12px; }
.book img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; box-shadow: 0 16px 32px rgba(31,26,28,0.16); }
.book h3 { font-size: 22px; font-weight: 600; margin-top: 4px; }
.book p { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* About */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.about__photo { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.about__photo img { width: 100%; max-width: 400px; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: 0 24px 48px rgba(31,26,28,0.16); }
.about__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about__text h2 { font-style: italic; color: var(--plum); }

/* Contact and forms */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact__form { flex: 2 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact__form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .contact__form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea, .signup input { font: inherit; font-weight: 400; font-size: 16px; padding: 13px 14px; border: 1px solid #c9bec3; background: var(--white); color: var(--ink); width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .signup input:focus { outline: 2px solid var(--plum); outline-offset: 1px; border-color: var(--plum); }
.hidden-field { display: none; }

.signup-section { text-align: center; }
.signup-section .wrap { max-width: 720px; display: flex; flex-direction: column; gap: 20px; }
.signup { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.signup input { flex: 1 1 260px; min-width: 0; width: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 32px; font-size: 14px; color: var(--muted); }
.site-footer a { color: var(--muted); }

/* Product page */
.breadcrumb { font-size: 14px; color: var(--muted); padding-top: 32px; }
.breadcrumb a { color: var(--muted); }
.product { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding: 24px 0 56px; }
.product__gallery { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.product__info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.product__info h1 { font-size: 48px; line-height: 1.1; }
.product__info ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.8; color: var(--text); }
.price-from { font-size: 17px; }
.price-from strong { font-weight: 600; }
.price-from span { color: var(--muted); }

.carousel__frame { position: relative; aspect-ratio: 1 / 1; background: var(--tint); overflow: hidden; }
.carousel__slide { position: absolute; inset: 0; display: none; }
.carousel__slide.is-active { display: block; }
.carousel__slide > img { width: 100%; height: 100%; object-fit: cover; }
.carousel__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.92); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.carousel__arrow--prev { left: 12px; }
.carousel__arrow--next { right: 12px; }
.carousel__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.carousel__tab { min-height: 56px; padding: 12px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--white); border: 1px solid #e3dadd; }
.carousel__tab[aria-selected="true"] { color: var(--plum); background: var(--tint); border: 2px solid var(--plum); }

/* Placeholder slides (swap for real photos later) */
.placeholder { width: 100%; height: 100%; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; padding: 48px; }
.placeholder__label { position: absolute; top: 16px; left: 16px; background: var(--white); color: var(--ink); font-size: 13px; font-weight: 600; padding: 6px 12px; }
.placeholder--room { background: #d9cfc4; }
.placeholder--room img { width: 38%; aspect-ratio: 1 / 1; object-fit: cover; border: 10px solid #2b2326; box-shadow: 0 18px 36px rgba(0,0,0,0.3); }
.placeholder__sofa { width: 78%; height: 90px; background: #8a9a8c; border-radius: 18px 18px 6px 6px; }
.placeholder--back { background: #efeae6; padding: 64px; }
.placeholder__back { width: 70%; aspect-ratio: 1 / 1; background: #c9b79c; border: 14px solid #a8916f; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #4a3d2c; box-shadow: 0 18px 36px rgba(0,0,0,0.18); text-align: center; }
.placeholder__back strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.placeholder__back span { font-size: 14px; }

.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.price-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 16px; }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; }
.price-table thead tr { background: var(--tint); }
.price-table th { font-weight: 600; }
.price-table .num { text-align: right; }
.price-table .na { text-align: right; color: #9a9095; }
.price-table tbody tr { border-top: 1px solid var(--line); }
.price-table tbody tr.sub { border-top-color: #f3eef0; }
.price-table tbody th { vertical-align: top; }
.price-table small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }

/* Thank-you page */
.thanks { min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; padding: 80px 24px; }

/* Coming soon pages (Artware categories) */
.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 72px 24px; }
.soon__img { flex: 1 1 380px; min-width: 0; }
.soon__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 24px 48px rgba(31,26,28,0.16); }
.soon__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.soon__title { font-size: 48px; }
.soon__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) { .soon { padding-top: 40px; padding-bottom: 48px; gap: 32px; } .soon__title { font-size: 36px; } }

/* Wall Art gallery */
.gallery-head { display: flex; flex-direction: column; gap: 16px; padding-top: 56px; padding-bottom: 32px; max-width: var(--wrap); }
.gallery-head .lead { max-width: 760px; }
.gallery-head__title { font-size: 48px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.filter { font: inherit; font-size: 15px; font-weight: 600; padding: 10px 18px; border: 1px solid #e3dadd; background: var(--white); color: var(--ink); cursor: pointer; }
.filter span { color: var(--muted); font-weight: 400; margin-left: 4px; }
.filter:hover { border-color: var(--plum); color: var(--plum); }
.filter[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: var(--white); }
.filter[aria-pressed="true"] span { color: rgba(255,255,255,0.8); }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 24px; }
.art-card { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; }
.art-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--tint); margin-bottom: 8px; transition: box-shadow 0.2s ease; }
.art-card:hover img { box-shadow: 0 12px 32px rgba(31,26,28,0.16); }
.art-card__title { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.art-card:hover .art-card__title { color: var(--plum); }
.art-card__price { font-size: 15px; color: var(--muted); }
.art-card[hidden] { display: none; }
@media (max-width: 600px) { .gallery-head__title { font-size: 36px; } .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } .art-card__title { font-size: 17px; } }

/* Artwork pages */
.carousel__tabs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wall-preview { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; background: linear-gradient(#e4dbd1 0 78%, #c9b9a6 78%); padding: 48px; }
.wall-preview img { width: 40%; max-height: 50%; object-fit: contain; box-shadow: 0 18px 36px rgba(0,0,0,0.28); }
.wall-preview__sofa { width: 80%; height: 18%; background: #7f8f86; border-radius: 22px 22px 8px 8px; box-shadow: inset 0 -14px 0 rgba(0,0,0,0.08); }
.art-note { font-size: 15px; font-weight: 600; color: var(--plum); }
.paper-note { font-size: 15px; line-height: 1.6; color: var(--text); max-width: 820px; }
.art-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding: 32px 0 72px; }
.art-nav a { color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 18px; }
.art-nav a span { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--plum); font-weight: 600; margin-bottom: 4px; }
.art-nav a:hover { color: var(--plum); }
.art-nav .art-nav__all { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--plum); border: 1px solid var(--plum); padding: 12px 20px; }
.art-nav .art-nav__all:hover { background: var(--plum-dark); border-color: var(--plum-dark); color: var(--white); }
@media (max-width: 600px) { .product__info h1 { font-size: 36px; } .art-nav { grid-template-columns: 1fr 1fr; } .art-nav .art-nav__all { grid-column: 1 / -1; grid-row: 2; text-align: center; } }

/* Artware "more coming soon" collage */
.collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.collage img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 760px) { .collage { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Wall Art gallery: Finishes and details */
.finishes { background: var(--tint); padding: 56px 0; }
.finishes__row { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.finishes__slides { flex: 1 1 420px; min-width: 0; }
.finishes__slides .slideshow__frame { aspect-ratio: 4 / 3; box-shadow: none; background: var(--white); }
.finish-slide { background: var(--white); }
.finish-slide > img { width: 100%; height: 100%; object-fit: cover; }
.finish-slide__placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 48px 48px 96px; text-align: center; background: linear-gradient(135deg, #f3ecef, #e8dfe3); }
.finish-slide__placeholder span:not(.placeholder__label) { font-size: 16px; color: var(--text); max-width: 380px; }
.finish-slide__label { position: absolute; left: 16px; bottom: 16px; background: var(--plum); color: var(--white); font-family: var(--serif); font-size: 20px; font-weight: 500; padding: 10px 18px; }
.filters { margin-bottom: 32px; }
.finishes__video { flex: 1 1 420px; min-width: 0; }
.video-placeholder { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #3a2a31, #7a2453); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--white); text-align: center; padding: 32px; }
.video-placeholder p { font-size: 16px; opacity: 0.9; }
.finishes__video video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #000; display: block; }
.finishes__caption { margin-top: 12px; font-size: 14px; color: var(--muted); font-style: italic; min-height: 28px; display: flex; align-items: center; }
