/* AW Gallery — boutique one-page gallery */
:root {
  color-scheme: only light;
  --bg: #f7f4ef;
  --paper: #fcfaf6;
  --ink: #262722;
  --muted: #69675f;
  --line: #dfd8cc;
  --gold: #a8875b;
  --gold-dark: #806441;
  --shadow: 0 20px 46px rgba(36, 33, 27, .09);
  --sans: "Noto Sans Hebrew", Arial, sans-serif;
  --serif: "Noto Serif Hebrew", Georgia, serif;
  --latin: "Cormorant Garamond", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Keep anchored sections visible below the sticky navigation bar */
#collections, #custom, #quality, #contact {
  scroll-margin-top: 106px;
}

body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-weight: 400; line-height: 1.75;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; }
a { color: inherit; text-decoration: none; }
.container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.narrow { max-width: 880px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247,244,239,.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223,216,204,.55);
}
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 38px; }
.brand { display: inline-flex; direction: ltr; align-items: center; gap: 11px; margin-left: auto; }
.monogram {
  height: 50px; width: 50px; display: grid; place-items: center;
  border: 1px solid var(--gold); font: 500 26px/1 var(--latin); letter-spacing: -1px;
}
.brand-text { font: 500 32px/1 var(--latin); letter-spacing: .03em; }
.desktop-nav { display: flex; gap: 32px; color: var(--muted); font-size: 15px; }
.desktop-nav a:hover { color: var(--gold-dark); }
.header-cta {
  border: 1px solid var(--gold); color: var(--gold-dark); background: transparent;
  padding: 10px 23px; border-radius: 28px; transition: .22s ease;
}
.header-cta:hover { background: var(--gold); color: #fff; }

.hero { padding: 72px 0 92px; }
.hero-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; align-items: center;
  direction: ltr; gap: 64px;
}
.hero-content { direction: rtl; }
.eyebrow {
  direction: ltr; display: inline-block; margin: 0 0 20px; color: var(--gold-dark);
  font: 500 13px/1 var(--sans); letter-spacing: .27em;
}
.hero h1 {
  margin: 0 0 22px; font-family: var(--serif); font-size: clamp(45px, 5vw, 66px);
  font-weight: 500; line-height: 1.28; letter-spacing: -.035em;
}
.hero-lead {
  margin: 0 0 38px; max-width: 475px; color: var(--muted);
  font-size: 18px; line-height: 1.85;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button {
  min-height: 53px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 28px; border-radius: 30px; transition: .2s ease;
}
.button.primary { background: var(--ink); color: white; }
.button.primary:hover { background: var(--gold-dark); }
.button.secondary { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.button.secondary:hover { border-color: var(--gold); }
.button.small { min-height: 44px; padding: 0 19px; font-size: 14px; }

.hero-gallery {
  position: relative; height: 630px; direction: ltr; 
}
.hero-piece {
  padding: 0; background: transparent; position: absolute;
  overflow: hidden; box-shadow: var(--shadow); transition: transform .3s ease;
}
.hero-piece:hover { transform: translateY(-5px); }
.hero-piece img { height: 100%; width: 100%; object-fit: cover; }
.hero-main { left: 0; top: 50px; width: 72%; height: 394px; }
.hero-urban { right: 0; top: 0; width: 31%; height: 370px; }
.hero-abstract { right: 43px; bottom: 0; width: 30%; height: 357px; }

.statement { padding: 52px 0 66px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement p {
  margin: 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 35px);
  font-weight: 400; line-height: 1.75; text-align: center;
}

.collections { padding: 88px 0 20px; }
.section-heading { margin-bottom: 58px; }
.section-heading h2 {
  margin: 0; font-family: var(--serif); font-size: clamp(35px, 4vw, 48px);
  font-weight: 500; line-height: 1.35;
}
.collection { margin-bottom: 108px; }
.collection-intro {
  display: grid; grid-template-columns: .8fr 1fr; align-items: end;
  gap: 54px; margin-bottom: 38px; border-bottom: 1px solid var(--line); padding-bottom: 31px;
  direction: ltr;
}
.collection-intro > * { direction: rtl; }
.collection-label {
  margin: 0 0 8px; font: 500 13px/1 var(--sans); color: var(--gold); letter-spacing: .22em;
}
.collection-intro h3 {
  direction: ltr; text-align: left; margin: 0; font: 500 clamp(35px, 4vw, 46px)/1.15 var(--latin);
}
.collection-intro > p { margin: 0; color: var(--muted); font-size: 19px; line-height: 1.95; max-width: 590px; }

.art-grid {
  direction: ltr; display: grid; grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto; gap: 21px;
}
.art-card { direction: rtl; }
.art-card button {
  display: block; width: 100%; background: transparent; padding: 0; overflow: hidden;
}
.art-card img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease;
}
.art-card button:hover img { transform: scale(1.025); }
.art-card.horizontal:nth-child(1) { grid-column: 1 / 8; grid-row: 1; }
.art-card.horizontal:nth-child(2) { grid-column: 1 / 8; grid-row: 2; }
.art-card.vertical:nth-child(3) { grid-column: 8 / 11; grid-row: 1 / span 2; }
.art-card.vertical:nth-child(4) { grid-column: 11 / 13; grid-row: 1 / span 2; }
.art-card.horizontal button { aspect-ratio: 16 / 9; }
.art-card.vertical button { height: calc(100% - 67px); min-height: 0; }
.art-card.vertical img { aspect-ratio: 9 / 16; }
.art-meta { padding: 13px 4px 0; min-height: 67px; }
.art-meta h4 { margin: 0; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.art-meta span { display: block; direction: ltr; text-align: right; color: var(--muted); font: 400 18px/1.4 var(--latin); }

.custom { padding: 74px 0 102px; background: var(--paper); border-top: 1px solid var(--line); }
.custom-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.custom .section-heading p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin-top: 22px; }
.service-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-cards article {
  min-height: 196px; padding: 30px 27px; border: 1px solid var(--line); background: var(--bg);
}
.service-cards span { color: var(--gold); font: 500 13px var(--sans); letter-spacing: .22em; }
.service-cards h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 12px 0 9px; }
.service-cards p { color: var(--muted); margin: 0; font-size: 15px; }

.quality { padding: 90px 0; }
.quality-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.quality h2 { font-family: var(--serif); font-size: clamp(36px, 4vw, 48px); line-height: 1.35; font-weight: 500; margin: 0; }
.quality-copy { border-right: 1px solid var(--gold); padding-right: 40px; color: var(--muted); font-size: 18px; }
.quality-copy p { margin: 0 0 18px; }
.quality-copy .warranty { color: var(--ink); }
.quality-copy strong { font-weight: 600; }

.contact { padding: 94px 0 118px; background: #efebe3; }
.contact-grid { display: grid; grid-template-columns: .70fr 1.20fr; gap: 62px; align-items: start; }
.contact-intro h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(37px, 4vw, 50px);
  line-height: 1.4; margin: 0 0 20px;
}
.contact-intro > p:last-child { color: var(--muted); font-size: 17px; margin: 0; }

.chatbot { width: 100%; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 42px rgba(40,37,29,.075); overflow: hidden; }
.chat-header {
  min-height: 80px; padding: 18px 25px; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid #ede8de;
}
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: #87a577; }
.chat-header strong { display: block; font-family: var(--latin); direction: ltr; text-align: right; font-size: 23px; font-weight: 500; line-height: 1; }
.chat-header small { display: block; color: var(--muted); margin-top: 5px; }
.chat-messages { min-height: 138px; max-height: 470px; overflow-y: auto; padding: 27px; display: flex; flex-direction: column; gap: 13px; transition: min-height .35s ease; }
.chatbot.is-active .chat-messages { min-height: 286px; }
.message { max-width: 86%; padding: 11px 15px; border-radius: 17px; font-size: 15px; line-height: 1.65; }
.message.bot { background: #f3eee6; align-self: flex-start; border-bottom-right-radius: 5px; }
.message.user { background: var(--ink); color: white; align-self: flex-end; border-bottom-left-radius: 5px; }
.chat-controls { min-height: 84px; border-top: 1px solid #ede8de; padding: 19px 24px; }
.quick-replies { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-replies button {
  border: 1px solid var(--line); background: white; padding: 9px 15px; border-radius: 22px;
  font-size: 14px; transition: .18s ease;
}
.quick-replies button:hover { border-color: var(--gold); color: var(--gold-dark); }
.details-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.details-form input, .details-form textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; padding: 12px 13px;
  font: 400 15px var(--sans); outline: 0;
}
.details-form input:focus, .details-form textarea:focus { border-color: var(--gold); }
.details-form textarea { grid-column: 1 / -1; min-height: 68px; resize: vertical; }
.details-form button { grid-column: 1 / -1; }
.chat-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

.site-footer { padding: 40px 0; background: var(--ink); color: #d5cfc6; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.site-footer .brand { margin: 0; color: #fff; }
.site-footer .monogram { border-color: #a98b61; height: 45px; width: 45px; }
.site-footer .brand-text { font-size: 29px; }
.site-footer p { margin: 0; font-size: 14px; }

.lightbox {
  position: fixed; inset: 0; z-index: 80; padding: 42px 76px;
  background: rgba(23, 23, 20, .94); display: none; place-items: center; color: #f8f4ec;
}
.lightbox.open { display: grid; }
.lightbox-inner { max-width: min(1080px, calc(100vw - 160px)); max-height: calc(100vh - 70px); display: flex; flex-direction: column; }
.lightbox-inner img { max-height: calc(100vh - 168px); max-width: 100%; object-fit: contain; margin: 0 auto; }
.lightbox-caption {
  display: flex; gap: 30px; justify-content: space-between; align-items: center;
  padding-top: 18px; direction: rtl;
}
.lightbox-caption p {
  direction: ltr; text-align: right; letter-spacing: .19em; font-size: 11px;
  color: #bfad92; margin: 0 0 5px;
}
.lightbox-caption h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0; }
.lightbox-caption span { font: 400 20px var(--latin); color: #cfc7ba; direction: ltr; display: block; text-align: right; }
.lightbox-close {
  position: absolute; top: 18px; left: 22px; color: white; background: transparent; font-size: 40px; font-weight: 300;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); background: transparent;
  color: #fff; font-size: 60px; font-family: serif; font-weight: 300; padding: 20px;
}
.lightbox-nav.prev { right: 15px; }
.lightbox-nav.next { left: 15px; }

@media (max-width: 980px) {
  .container { width: min(100% - 34px, 760px); }
  .desktop-nav { display: none; }
  .header-inner { min-height: 75px; gap: 16px; }
  .brand-text { font-size: 29px; }
  .monogram { width: 45px; height: 45px; font-size: 24px; }
  .header-cta { padding: 8px 16px; font-size: 14px; }
  .hero { padding: 42px 0 68px; }
  .hero-grid { grid-template-columns: 1fr; gap: 45px; }
  .hero-content { order: 1; }
  .hero-gallery { order: 2; height: min(118vw, 560px); }
  .hero-main { width: 72%; height: 47%; top: 38px; }
  .hero-urban { width: 32%; height: 49%; }
  .hero-abstract { width: 34%; height: 48%; right: 30px; }
  .collection-intro, .custom-grid, .quality-grid, .contact-grid { grid-template-columns: 1fr; gap: 25px; }
  .art-grid { grid-template-columns: repeat(2, 1fr); display: grid; gap: 17px; }
  .art-card.horizontal:nth-child(1), .art-card.horizontal:nth-child(2) { grid-column: 1 / -1; grid-row: auto; }
  .art-card.vertical:nth-child(3), .art-card.vertical:nth-child(4) { grid-column: auto; grid-row: auto; }
  .art-card.vertical button { height: auto; }
  .art-card.vertical img { aspect-ratio: 9 / 16; }
  .collection { margin-bottom: 76px; }
  .quality-copy { padding-right: 22px; }
  .footer-grid { flex-direction: column; text-align: center; }
  .lightbox { padding: 60px 18px 25px; }
  .lightbox-inner { max-width: 100%; }
  .lightbox-caption { align-items: start; flex-direction: column; gap: 15px; }
  .lightbox-inner img { max-height: calc(100vh - 218px); }
  .lightbox-nav { font-size: 46px; padding: 8px; }
  .lightbox-nav.prev { right: 0; }
  .lightbox-nav.next { left: 0; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 41px; }
  .hero-lead { font-size: 16px; }
  .button { width: 100%; }
  .statement { padding: 40px 0; }
  .statement p { font-size: 24px; }
  .collections { padding-top: 58px; }
  .service-cards { grid-template-columns: 1fr; }
  .details-form { grid-template-columns: 1fr; }

  .chat-messages { min-height: 126px; }
  .chatbot.is-active .chat-messages { min-height: 230px; }
}

.hp-field{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.form-status{grid-column:1/-1;margin:0;font-size:14px;color:var(--muted)}
.form-status.error{color:#8b3e32}
.details-form button[disabled]{opacity:.65;cursor:wait}
