/* =====================================================================
   Orly Boker — ceramics. "Art in clay" design: light clay paper, darker
   clay bands, organic frames (SVG clip-paths in index.html: s1 s4 s5 s6),
   Cormorant Garamond for English, Assistant for Hebrew.
   ===================================================================== */
:root {
  --paper: #efe2cf;
  --paper-deep: #e4d1b8;
  --clay: #a8754d;
  --clay-deep: #7a5236;
  --btn: #6b4630;
  --btn-hover: #4f3322;
  --ink: #3b2a1e;
  --ink-soft: #6a5543;
  --cream: #f7efe3;
  --line: rgba(59, 42, 30, 0.4);
  --frame: 1px solid rgba(59, 42, 30, 0.18);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Assistant', 'Heebo', sans-serif;
  --section-y: clamp(72px, 9vw, 120px);
  --wrap: 1200px;
  --text: 1.08rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scrollbar-gutter: stable; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  /* warm light plaster (the user's photo, mirrored tile so it repeats without a seam), warmed with a
     soft tint and scaled to the screen width, as approved on the design canvas (option B) */
  background: linear-gradient(rgba(226, 192, 154, 0.46), rgba(226, 192, 154, 0.46)), #dacfbe url("images/plaster-light-tile.jpg") center top / 200vw auto repeat;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
}

h1, h2, h3 { margin: 0; font-weight: 300; }

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

img { display: block; }

/* organic frames (shapes chosen by the user: 1, 5, 6; 4 = wide hero shape) */
.shape-s1 { clip-path: url(#s1); }
.shape-s4 { clip-path: url(#s4); }
.shape-s5 { clip-path: url(#s5); }
.shape-s6 { clip-path: url(#s6); }

/* Buttons: brown pill with an arrow, as in the design */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 30px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.02rem;
  transition: background 0.3s;
}

.btn:hover { background: var(--btn-hover); }
.btn:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--btn); color: var(--cream); border-color: var(--btn); }

/* Section titles: light Hebrew title + a thin line, as in the design */
.section-title {
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: var(--wrap);
  margin: 0 auto 18px;
}

.section-title h2 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: var(--ink);
}

.title-line { width: clamp(70px, 10vw, 120px); height: 1px; background: var(--ink); opacity: 0.7; }

.section-sub {
  max-width: var(--wrap);
  margin: 0 auto 40px;
  color: var(--ink-soft);
  font-size: var(--text);
}

section { padding: var(--section-y) 6vw; scroll-margin-top: 76px; }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px 5vw;
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(228, 212, 192, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(59, 42, 30, 0.08);
}

.logo { display: flex; align-items: center; gap: 12px; }

/* the wax seal, cut out with a transparent background (images/logo-seal-cut.png) */
.logo-img { height: 50px; width: auto; filter: drop-shadow(0 1px 2px rgba(59, 42, 30, 0.25)); transform: translateY(-8px); }


.site-header nav { display: flex; gap: clamp(22px, 3vw, 44px); margin-inline-start: auto; }

.site-header nav a {
  position: relative;
  font-size: 1rem;
  color: var(--ink);
  padding: 6px 0;
  transition: color 0.2s;
}

.site-header nav a::after {
  content: '';
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.site-header nav a:hover::after { transform: scaleX(1); }

.header-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px;
  color: var(--ink);
  font-size: 0.95rem;
}

.header-wa:hover { color: var(--clay-deep); }

/* Menu button: only on phones */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  right: 10px;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s ease, width 0.35s ease;
}

.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; width: 16px; }
.nav-toggle:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.menu-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav-toggle span:last-child { width: 24px; transform: translateY(-4px) rotate(-45deg); }

/* ------------------------------------------------------------------ Hero */
/* The name beside a wide organic frame; inside it the clay block becomes the piece as you scroll */
.kiln-hero { position: relative; height: 260vh; padding: 0; }

.kh-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  /* the darker clay shows around the light paper, like in the design */
  background: var(--clay) url("images/clay-texture.jpg") center / cover;
  /* a wavy lower edge into the page, so there is no straight seam */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L100,0 L100,95 C85,98.5 70,94 55,96.5 C40,99.5 22,95 0,97.5 Z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L100,0 L100,95 C85,98.5 70,94 55,96.5 C40,99.5 22,95 0,97.5 Z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
}

.kh-paper {
  position: absolute;
  inset: 0;
  background: var(--paper) url("images/clay-texture-light.jpg") center / cover;
  clip-path: url(#paper);
}

.kh-inner {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 4vw;
  padding: 96px 5vw 13vh;
}

.kh-frame {
  position: relative;
  height: min(70vh, 640px);
  clip-path: url(#s4);
  background: var(--paper-deep);
}

.kh-fg,
.kh-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 62%;
  filter: brightness(1.06);
}

.kh-still { opacity: 0; }

.kh-copy { justify-self: start; padding-inline-start: 2vw; }

.kh-copy h1 {
  direction: ltr;
  text-align: left;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.4rem, 7.2vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

.kh-rule { display: block; width: 38px; height: 1px; background: var(--ink); margin: 26px auto 22px 0; }

.kh-copy p { margin: 0 0 30px; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.6; color: var(--ink-soft); }

.kh-hint {
  position: absolute;
  bottom: 6vh;
  inset-inline: 0;
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--cream);
  text-shadow: 0 1px 6px rgba(59, 42, 30, 0.5);
}

/* no animation (reduced motion or scripts blocked): show the finished piece */
.kh-static .kiln-hero { height: auto; }
.kh-static .kh-stage { position: relative; }
.kh-static .kh-hint { display: none; }
.kh-static .kh-still { opacity: 1; }

/* ----------------------------------------------------------- Collections */
.collections-section { padding-top: clamp(48px, 6vw, 80px); }

/* three per row on computers, two on phones; a last row that is not full sits in the middle */
.collections {
  --cols: 3;
  --col-gap: clamp(20px, 4vw, 72px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 4vw, 64px) var(--col-gap);
  max-width: 1000px;
  margin: 40px auto 0;
}

.collection { text-align: center; flex: 0 0 calc((100% - (var(--cols) - 1) * var(--col-gap)) / var(--cols)); }

.collection-media {
  position: relative;
  aspect-ratio: 5 / 6;
  background: var(--paper-deep);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.collection-media img { width: 100%; height: 100%; object-fit: cover; }

.collection-soon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--cream);
  background: rgba(74, 47, 30, 0.25);
}

.collection h3 { margin-top: 18px; font-family: var(--sans); font-weight: 400; font-size: 1.25rem; color: var(--ink); }

.collection .arrow { display: block; margin-top: 2px; font-size: 1.2rem; color: var(--ink); transition: transform 0.3s; }

@media (hover: hover) and (pointer: fine) {
  .collection:hover .collection-media { transform: translateY(-8px); }
  .collection:hover .arrow { transform: translateX(-6px); }
}

.collection:focus-visible { outline: 2px solid var(--clay); outline-offset: 6px; }

/* --------------------------------------------------------------- Gallery */
.gallery-section { padding-top: clamp(40px, 5vw, 70px); }

/* filter: quiet words, not buttons */
.category-tiles {
  display: flex;
  justify-content: safe center;
  align-items: center;
  max-width: var(--wrap);
  margin: 0 auto 56px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tiles::-webkit-scrollbar { display: none; }

.category-tile {
  position: relative;
  flex: none;
  font-family: var(--sans);
  font-size: 1.1rem;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s;
}

.category-tile + .category-tile:not([hidden]) { margin-right: 32px; }

.category-tile + .category-tile:not([hidden])::before {
  content: '·';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clay);
  pointer-events: none;
}

.category-tile::after {
  content: '';
  position: absolute;
  right: 4px;
  left: 4px;
  bottom: 8px;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.category-tile:hover,
.category-tile.active { color: var(--ink); }
.category-tile.active::after { transform: scaleX(1); }
.category-tile:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }

.gallery-empty { text-align: center; color: var(--ink-soft); padding: 60px 6vw; font-size: var(--text); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px clamp(28px, 4vw, 56px);
  max-width: var(--wrap);
  margin: 0 auto;
}

.gallery-item { cursor: pointer; text-align: center; outline: none; }

.gallery-media {
  position: relative;
  aspect-ratio: 5 / 6;
  background: var(--paper-deep);
  clip-path: url(#s1);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* the three chosen shapes take turns down the gallery */
.gallery-item:nth-child(3n+2) .gallery-media { clip-path: url(#s6); }
.gallery-item:nth-child(3n+3) .gallery-media { clip-path: url(#s5); }

.gallery-media img { width: 100%; height: 100%; object-fit: cover; }

@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover .gallery-media { transform: translateY(-8px); }
}

.gallery-item:focus-visible .gallery-caption h3 { text-decoration: underline; text-underline-offset: 6px; }

.gallery-count {
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(247, 239, 227, 0.9);
  color: var(--ink);
  font-size: 0.85rem;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.gallery-caption { padding: 18px 4px 0; }

.gallery-caption h3 { font-family: var(--sans); font-weight: 400; font-size: 1.2rem; line-height: 1.35; color: var(--ink); margin: 0 0 4px; }

.gallery-status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--ink-soft); }

.gallery-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }

/* ----------------------------------------------------------- Detail view */
.detail {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.detail[hidden] { display: none; }

/* while a piece is open the page behind it is hidden, so nothing shows through
   Safari's see-through bottom bar on iPhone (the page keeps its place) */
html.detail-open main,
html.detail-open .site-footer { visibility: hidden; }

.detail-backdrop {
  position: fixed;
  inset: 0;
  background: linear-gradient(rgba(226, 192, 154, 0.46), rgba(226, 192, 154, 0.46)), #dacfbe url("images/plaster-light-tile.jpg") center top / 200vw auto repeat;
}

.detail-close {
  position: fixed;
  top: 22px;
  left: 24px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.detail-close:hover { background: var(--btn); color: var(--cream); }
.detail-close:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }

.detail-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 7vw, 110px);
  width: 100%;
  max-width: 1040px;
  margin: auto;
  padding: 80px 6vw calc(80px + env(safe-area-inset-bottom));
}

.detail-visual { flex: none; }

.detail-arch {
  --aw: min(38vw, 440px, 60svh);
  width: var(--aw);
  aspect-ratio: 5 / 6;
  overflow: hidden;
  clip-path: url(#s1);
  background: var(--paper-deep);
}

.detail-img { width: 100%; height: 100%; object-fit: cover; }

.detail-angles { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }

.detail-angle {
  width: 52px;
  aspect-ratio: 5 / 6;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip-path: url(#s5);
  background: var(--paper-deep);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.3s;
}

.detail-angle img { width: 100%; height: 100%; object-fit: cover; }
.detail-angle[aria-current="true"] { opacity: 1; }
.detail-angle:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }

.detail-copy { flex: 1 1 0; max-width: 420px; min-width: 0; text-align: right; }

.detail-eyebrow { font-size: 0.95rem; color: var(--clay-deep); margin: 0 0 12px; }

.detail-title { font-family: var(--sans); font-weight: 300; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.15; color: var(--ink); margin: 0 0 16px; }

.detail-text { font-size: var(--text); color: var(--ink-soft); margin: 0 0 24px; }

.detail-specs { margin: 0 0 28px; padding-top: 18px; border-top: var(--frame); display: grid; gap: 8px; }

.detail-spec { display: flex; gap: 14px; align-items: baseline; font-size: 1rem; }
.detail-spec dt { color: var(--ink-soft); }
.detail-spec dd { margin: 0; color: var(--ink); font-weight: 600; white-space: pre-line; } /* a line break in the data = a new line (e.g. sizes of a set) */

.detail-cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 30px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--cream);
  font-size: 1.02rem;
  transition: background 0.3s;
}

.detail-cta:hover { background: var(--btn-hover); }
.detail-cta:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }

/* ------------------------------------------------- Behind the piece (dark) */
.behind-section {
  position: relative;
  color: var(--cream);
  /* a warm dark veil over the clay so the light text reads well */
  background: linear-gradient(rgba(74, 47, 30, 0.6), rgba(74, 47, 30, 0.6)), var(--clay) url("images/clay-texture.jpg") center / cover;
  padding-top: calc(var(--section-y) + 30px);
  padding-bottom: calc(var(--section-y) + 30px);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,3 C18,0 35,4.5 55,2 C72,0 86,3.5 100,1.5 L100,97 C82,100 66,95.5 45,98 C28,100 14,96.5 0,98.5 Z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,3 C18,0 35,4.5 55,2 C72,0 86,3.5 100,1.5 L100,97 C82,100 66,95.5 45,98 C28,100 14,96.5 0,98.5 Z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
}

.behind-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  max-width: var(--wrap);
  margin: 0 auto;
}

.behind-media { aspect-ratio: 4 / 5; background: var(--clay-deep); }
.behind-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }

.behind-section .section-title h2 { color: var(--cream); }
.behind-section .title-line { background: var(--cream); }

.process-steps { display: grid; gap: 34px; margin-top: 30px; }

.process-steps { counter-reset: step; }
.process-step { display: block; counter-increment: step; }
/* 01 / 02 / 03, quiet serif numbers above each step */
.process-step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: #f0d7b4;
}

.step-number {
  grid-row: span 2;
  direction: ltr;
  text-align: right;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: #f0d7b4;
}

.process-step h3 { font-family: var(--sans); font-weight: 600; font-size: 1.2rem; color: var(--cream); margin: 0 0 4px; }
.process-step p { margin: 0; color: rgba(247, 239, 227, 0.88); font-size: var(--text); line-height: 1.75; }

/* ----------------------------------------------------------------- About */
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  max-width: var(--wrap);
  margin: 0 auto;
}

.about-photo { aspect-ratio: 5 / 6; background: var(--paper-deep); order: 2; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 24%; }

.about-text { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.85; margin: 24px 0 0; font-weight: 300; color: var(--ink); }

.about-eyebrow { margin: 0 0 10px; font-size: 1rem; letter-spacing: 0.02em; color: var(--clay-deep); }
.about-eyebrow span { font-family: var(--serif); font-size: 1.2rem; }

.about-more { margin: 18px 0 0; font-size: var(--text); line-height: 1.85; color: var(--ink-soft); }

/* three short facts under the story, on one hairline — not cards */
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px clamp(28px, 4vw, 64px);
  max-width: var(--wrap);
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.about-fact h3 { margin: 0 0 10px; font-family: var(--sans); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.about-fact p { margin: 0; font-size: 1rem; line-height: 1.75; color: var(--ink-soft); }
.about-fact ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.about-fact li { position: relative; padding-right: 16px; font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }
.about-fact li::before { content: ''; position: absolute; right: 0; top: 0.68em; width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }

.about-fields {
  max-width: var(--wrap);
  margin: 34px auto 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-style: italic;
  color: var(--clay-deep);
  text-align: center;
}

/* ------------------------------------------------------------------- FAQ */
.faq-section .section-title { max-width: 820px; }

.faq-list { max-width: 820px; margin: 30px auto 0; border-bottom: 1px solid var(--line); }

.faq-item { border-top: 1px solid var(--line); padding: 16px 4px; }

.faq-item summary {
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.4;
  min-height: 44px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--clay); outline-offset: 6px; }

.faq-item summary::after {
  content: '+';
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--clay-deep);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p { color: var(--ink-soft); font-size: var(--text); margin: 10px 0 6px; line-height: 1.8; max-width: 680px; }

/* --------------------------------------------------------------- Contact */
/* "בואו נדבר" and the footer sit on dark clay, like "מאחורי היצירה", fading into the footer */
.contact-section {
  color: var(--cream);
  background:
    linear-gradient(to bottom, transparent 65%, #63402a 100%),
    linear-gradient(rgba(74, 47, 30, 0.6), rgba(74, 47, 30, 0.6)),
    var(--clay) url("images/clay-texture.jpg") center / cover;
  padding-top: calc(var(--section-y) + 30px);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,3 C18,0 35,4.5 55,2 C72,0 86,3.5 100,1.5 L100,100 L0,100 Z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,3 C18,0 35,4.5 55,2 C72,0 86,3.5 100,1.5 L100,100 L0,100 Z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
}

.contact-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 6vw, 80px);
  text-align: center;
}

.contact-card h2 { font-family: var(--sans); font-weight: 300; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.1; margin-bottom: 12px; color: var(--cream); }

.contact-lead { color: rgba(247, 239, 227, 0.85); font-size: 1.15rem; margin: 0 0 36px; }

.shipping-info { display: flex; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }

.shipping-card { padding: 4px 40px; }
.shipping-card + .shipping-card { border-right: 1px solid rgba(247, 239, 227, 0.4); }
.shipping-card h3 { font-family: var(--sans); font-weight: 600; font-size: 1.15rem; margin: 0 0 4px; }
.shipping-card p { font-size: 1rem; color: rgba(247, 239, 227, 0.85); margin: 0; }

.inline-link { display: inline-block; padding: 10px 0; color: #f0d7b4; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.inline-link:hover { color: var(--cream); }
.contact-section .btn { background: var(--cream); color: var(--btn-hover); }
.contact-section .btn:hover { background: #fff; }
.contact-section .btn-ghost { background: transparent; color: var(--cream); border-color: rgba(247, 239, 227, 0.6); }

/* the ways to reach Orly, one per row with its icon (same pattern as Ohad's footer) */
.contact-list { list-style: none; margin: 0 auto; padding: 0; max-width: 560px; text-align: right; }
.contact-list li { border-top: 1px solid rgba(247, 239, 227, 0.28); }
.contact-list li:last-child { border-bottom: 1px solid rgba(247, 239, 227, 0.28); }
.contact-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; color: var(--cream); transition: color 0.3s; }
.contact-list a:hover { color: #f0d7b4; }
.contact-list .contact-ico { display: inline-grid; place-items: center; width: 26px; height: 26px; color: #f0d7b4; }
.contact-list .contact-ico svg { width: 22px; height: 22px; display: block; }
.contact-list span { font-weight: 300; font-size: clamp(1.15rem, 4.6vw, 1.45rem); letter-spacing: 0.06em; }
.contact-list span.ltr { direction: ltr; }

/* ---------------------------------------------------------------- Footer */
.site-footer { text-align: center; padding: 30px 6vw 44px; color: rgba(247, 239, 227, 0.85); font-size: 0.95rem; background: #63402a; margin-top: -1px; }

.social-links { display: flex; justify-content: center; margin-bottom: 14px; }

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(247, 239, 227, 0.5);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}

.social-icon:hover { background: var(--btn); color: var(--cream); }

/* WhatsApp floating button: phones only, after the hero (desktop has it in the header) */
.whatsapp-fab { display: none; }

/* --------------------------------------------------------- Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ================================================================ Phones */
@media (max-width: 900px) {
  .collections { --cols: 2; row-gap: 40px; }
  .behind-inner,
  .about-inner { grid-template-columns: 1fr; }
  .behind-media,
  .about-photo { width: min(82vw, 420px); justify-self: center; order: 0; }
}

@media (max-width: 780px) {
  /* header: menu button (right) · seal (middle) · WhatsApp (left) */
  .site-header { padding: max(12px, env(safe-area-inset-top)) 4vw 12px; gap: 0; justify-content: space-between; }
  .nav-toggle { display: block; margin-right: -10px; }
  .header-wa span { display: none; }
  .header-wa { width: 44px; justify-content: center; }

  /* phone menu: a full-screen list of the sections */
  .site-header nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 90px 10vw 60px;
    background: linear-gradient(rgba(226, 192, 154, 0.46), rgba(226, 192, 154, 0.46)), #dacfbe url("images/plaster-light-tile.jpg") center top / 200vw auto repeat;
    opacity: 0;
    visibility: hidden;
  }
  .site-header.menu-open { backdrop-filter: none; background: transparent; box-shadow: none; }
  .site-header.menu-open nav { opacity: 1; visibility: visible; transition: opacity 0.35s ease; }
  .site-header nav a { font-weight: 300; font-size: 2rem; line-height: 1.2; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .site-header nav a::after { display: none; }

  /* hero: reaches behind Safari's bottom bar (100lvh + 70px, like before), so the page
     underneath never shows while scrolling; the content stays in the always-visible part */
  .kh-stage { height: calc(100lvh + 70px); }
  .kh-hint { bottom: calc(100lvh + 70px - 100svh + 3svh); }

  /* hero: name on top on the light paper, the organic frame below over the clay */
  .kh-paper { clip-path: url(#paper-phone); }
  .kh-copy h1 { text-align: right; }
  .kh-rule { margin-right: 0; }
  .kh-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: 18px;
    padding: 88px 6vw calc(100lvh + 70px - 100svh + 9svh);
  }
  .kh-copy { order: -1; justify-self: stretch; padding: 0; }
  .kh-copy h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .kh-rule { margin: 16px 0 14px auto; margin-right: 0; margin-left: auto; }
  .kh-copy p { margin-bottom: 18px; font-size: 1.05rem; }
  .kh-frame { height: 100%; min-height: 0; clip-path: url(#s6); }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
  .gallery-caption h3 { font-size: 1.02rem; }
  .gallery-status { font-size: 0.875rem; }
  .gallery-count { font-size: 0.875rem; }
  /* the filter row scrolls sideways: fade its far end to show there is more */
  .category-tiles { -webkit-mask-image: linear-gradient(to left, transparent 0, #000 40px); mask-image: linear-gradient(to left, transparent 0, #000 40px); }
  .category-tiles { margin-bottom: 36px; justify-content: flex-start; }
  .category-tile { font-size: 1.02rem; }
  .category-tile + .category-tile:not([hidden]) { margin-right: 26px; }
  .category-tile + .category-tile:not([hidden])::before { right: -17px; }

  .detail-inner { flex-direction: column; gap: 22px; padding: 76px 6vw 40px; }
  .detail-arch { --aw: min(70vw, 320px, 42svh); }
  .detail-copy { text-align: center; max-width: 440px; }
  .detail-spec { justify-content: center; }
  .detail-close { top: 14px; left: 14px; }


  .about-facts { grid-template-columns: 1fr; gap: 26px; }
  .about-eyebrow, .about-copy .section-title { justify-content: flex-start; }
  .step-number { font-size: 2rem; }
  .shipping-card { padding: 16px 0; width: 100%; }
  .shipping-card + .shipping-card { border-right: 0; border-top: 1px solid rgba(247, 239, 227, 0.4); }

  .whatsapp-fab {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    background: var(--btn);
    color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px rgba(247, 239, 227, 0.75), 0 2px 8px rgba(59, 42, 30, 0.25);
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.35s, transform 0.35s, visibility 0.35s;
  }
  .whatsapp-fab svg { width: 24px; height: 24px; }
  .past-hero .whatsapp-fab { opacity: 1; visibility: visible; transform: none; }
}

/* ================================================= Full-screen opening
   (approved 2026-10-26: the clay becomes the piece on the whole screen; replaces the
   name-beside-a-frame opening for the class .kh-full) */
.kh-full .kh-stage { background: none; -webkit-mask: none; mask: none; display: grid; place-items: center; }
.kh-full .kh-media {
  position: absolute; inset: 0; overflow: hidden;
  background: #7a634f url("images/kiln-frames-desktop/frame-000.jpg") center / cover no-repeat;
  filter: brightness(1.08) contrast(1.02);
}
.kh-full .kh-fg,
.kh-full .kh-still {
  position: absolute; inset: auto; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  height: max(100%, 56.25vw); width: auto; aspect-ratio: 9 / 16;
  display: block; object-fit: cover; filter: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
}
.kh-full .kh-still { opacity: 0; }
.kh-full .kh-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(245, 238, 225, 0.4) 0%, rgba(245, 238, 225, 0) 16%); }
.kh-full .kh-reveal {
  position: absolute; inset-inline: 0; bottom: 7vh; text-align: center; opacity: 0; padding: 0; justify-self: auto;
  text-shadow: 0 0 4px rgba(245, 238, 225, 0.85), 0 0 18px rgba(245, 238, 225, 0.9);
}
.kh-full .kh-reveal h1 { direction: ltr; text-align: center; text-transform: none; font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1; margin: 0 0 8px; color: var(--ink); }
.kh-full .kh-reveal p { margin: 0 0 22px; color: var(--ink); font-size: 1.15rem; }
.kh-full .kh-reveal a { display: inline-block; border-bottom: 1px solid var(--ink); padding-bottom: 4px; font-size: 1.05rem; color: var(--ink); }
.kh-full .kh-hint { bottom: 3vh; color: var(--ink-soft); text-shadow: 0 0 4px rgba(245, 238, 225, 0.85), 0 0 18px rgba(245, 238, 225, 0.9); }
.kh-static .kh-full .kh-still,
.kh-static .kh-full .kh-reveal { opacity: 1; }

/* strips that colour Safari's bars on iPhone during the opening (phones only) */
.kh-edge { display: none; }

@media (max-width: 780px) {
  .kh-full .kh-stage { height: calc(100lvh + 70px); }
  .kh-full .kh-reveal { bottom: calc(100lvh + 70px - 100svh + 3svh); }
  .kh-full .kh-hint { bottom: calc(100lvh + 70px - 100svh + 2svh); }
  .kh-full .kh-media { background-image: none; }
  .kh-full .kh-fg,
  .kh-full .kh-still {
    top: 0; left: 0; transform: none; width: 100%; height: 100%; aspect-ratio: auto;
    object-position: 50% 50%; -webkit-mask-image: none; mask-image: none;
  }
  .kh-edge { display: block; position: fixed; left: 0; right: 0; height: 2px; z-index: 1; pointer-events: none; }
  .kh-edge-top { top: 0; background: #837163; }
  .kh-edge-bottom { bottom: 0; background: #795e48; }
  html:has(body:not(.past-hero)) { background: #795e48; }
  /* behind the opening the page is one still colour (the picture's lower edge), so the
     plaster texture is not seen sliding under Safari's bottom bar while the piece forms */
  .kiln-hero.kh-full { background: #795e48; }
  .past-hero .kh-edge { display: none; }

  /* phones: the plaster a little warmer (user's request) */
  body, .detail-backdrop { background: linear-gradient(rgba(222, 184, 142, 0.56), rgba(222, 184, 142, 0.56)), #dacfbe url("images/plaster-light-tile.jpg") center top / 200vw auto repeat; }
}

/* ============================================== Menu: "היצירות" sub-list */
.nav-group { position: relative; display: flex; align-items: center; }

.nav-sub-toggle {
  position: relative;
  border: 0;
  background: transparent;
  padding: 6px 0;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
}

.nav-sub-toggle::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-3px) rotate(-45deg);
  transition: transform 0.3s;
}

.nav-group.is-open .nav-sub-toggle::after { transform: translateY(0) rotate(135deg); }
.nav-sub-toggle:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }

/* computers: a small panel under the word */
.nav-sub {
  position: absolute;
  top: calc(100% + 12px);
  right: -18px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  background: rgba(240, 228, 212, 0.97);
  border-radius: 14px;
  box-shadow: 0 10px 30px -12px rgba(59, 42, 30, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 5;
}

.nav-sub::before { content: ''; position: absolute; inset: -14px 0 auto; height: 14px; }

.nav-sub-list { display: flex; flex-direction: column; }

.nav-group.is-open .nav-sub { opacity: 1; visibility: visible; transform: none; }

@media (hover: hover) and (pointer: fine) {
  .nav-group:hover .nav-sub { opacity: 1; visibility: visible; transform: none; }
}

.site-header nav .nav-sub a { padding: 9px 20px; white-space: nowrap; }
.site-header nav .nav-sub a::after { display: none; }
.site-header nav .nav-sub a:hover { background: rgba(168, 117, 77, 0.12); }

/* ======================================================= Collection page */
.collection-page {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 130px 6vw var(--section-y);
  box-sizing: content-box;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.back-link:hover { color: var(--ink); }

.collection-page .section-title h1 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  color: var(--ink);
}

.collection-page .section-sub { margin-bottom: 48px; }

.other-collections {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  margin-top: 80px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.other-collections > div { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.other-collections a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); border-bottom: 1px solid transparent; }
.other-collections a:hover { border-bottom-color: var(--clay); }

@media (max-width: 780px) {
  /* phones: inside the full-screen menu the list unfolds under "היצירות" */
  .nav-group { display: block; border-bottom: 1px solid var(--line); }
  .nav-sub-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0;
    font-weight: 300;
    font-size: 2rem;
    line-height: 1.2;
    text-align: right;
  }
  .nav-sub-toggle::after { width: 10px; height: 10px; margin: 0 0 0 6px; }
  .nav-sub {
    position: static;
    min-width: 0;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
    transform: none;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s ease, opacity 0.3s, visibility 0.3s;
  }
  .nav-sub::before { display: none; }
  .nav-group.is-open .nav-sub { grid-template-rows: 1fr; }
  .nav-sub-list { min-height: 0; overflow: hidden; }
  .site-header nav .nav-sub a {
    font-size: 1.35rem;
    padding: 8px 18px 8px 0;
    border-bottom: 0;
  }
  .nav-group.is-open .nav-sub { padding-bottom: 10px; }

  .collection-page { padding-top: 100px; }
  .other-collections { margin-top: 56px; }
}

/* the round WhatsApp button hides while the phone menu is open */
.site-header.menu-open ~ .whatsapp-fab { display: none; }

/* computer only: a quieter name and line at the end of the opening (the phone stays as approved) */
@media (min-width: 781px) {
  /* the video is max(100vh, 56.25vw) tall and centred; the pedestal ends at 90% of it,
     so this keeps the text just above the pedestal's bottom edge on any screen shape */
  .kh-full .kh-reveal { bottom: calc(50vh - 0.4 * max(100vh, 56.25vw) + 12px); }
  .kh-full .kh-reveal h1 { font-size: clamp(2.2rem, 3.3vw, 3.4rem); margin-bottom: 6px; }
  .kh-full .kh-reveal p { font-size: 1.05rem; margin-bottom: 12px; }
  .kh-full .kh-reveal a { font-size: 1rem; }
}

/* the scroll hint says what will happen, with a thin line that drips downward (approved 2026-10-26) */
.kh-hint-line { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 1.05rem; letter-spacing: 0.03em; color: var(--ink); }
.kh-full .kh-hint-line { color: var(--ink); }
.kh-hint-line i { display: block; width: 1px; height: 34px; background: var(--ink); transform-origin: top; animation: kh-drop 1.8s ease-in-out infinite; }
@keyframes kh-drop { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .kh-hint-line i { animation: none; } }
/* the hint sits on the wall inside the arch, above the clay, where the eye already is */
.kh-full .kh-hint.kh-hint-line { top: 31%; bottom: auto; font-size: 1.25rem; font-weight: 600; letter-spacing: 0.02em; }

/* computer: the hint a little higher on the arch wall (the phone stays as approved) */
@media (min-width: 781px) {
  .kh-full .kh-hint.kh-hint-line { top: 26%; }
}

/* "לכל היצירות" at the end of the opening: quiet serif words with a short line that
   stretches on hover (option 6, previews/button-options.html); padded so it is easy to tap */
.kh-full .kh-reveal a.kh-btn {
  display: inline-block;
  padding: 8px 10px;
  border: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.kh-full .kh-reveal a.kh-btn::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin: 6px auto 0;
  background: var(--ink);
  transition: width 0.4s ease;
}
.kh-full .kh-reveal a.kh-btn:hover::after { width: 100%; }
.kh-full .kh-reveal a.kh-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* "כתבו לי בוואטסאפ" inside the answers opens WhatsApp */
.faq-link { color: var(--btn); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.faq-link:hover { color: var(--ink); }
/* computer: the taller "לכל היצירות" keeps the name where it was */
@media (min-width: 781px) {
  .kh-full .kh-reveal p { margin-bottom: 8px; }
  .kh-full .kh-reveal a.kh-btn { padding-top: 4px; padding-bottom: 2px; font-size: 1.4rem; }
  .kh-full .kh-reveal a.kh-btn::after { margin-top: 4px; }
}

/* a sold piece: grey dot instead of the clay one */
/* status colours: available = green, sold = brown */
.gallery-status.is-available, .detail-status.is-available { color: #3f6b3a; }
.gallery-status.is-available::before { background: #4f7f45; }
.gallery-status.is-sold, .detail-status.is-sold { color: #7a4a2b; }
.gallery-status.is-sold::before { background: #7a4a2b; }
.detail-spec[hidden] { display: none; }

/* footer: small link to the accessibility statement */
.site-footer .footer-links { margin-top: 6px; font-size: 0.85rem; }
.site-footer .footer-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: 0.85; }
.site-footer .footer-links a:hover { opacity: 1; }
/* small "made with love" credit, leads to the WhatsApp of whoever built the site */
.site-footer .footer-credit { margin-top: 14px; font-size: 0.78rem; opacity: 0.7; }
.site-footer .footer-credit a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(247, 239, 227, 0.35); }
.site-footer .footer-credit a:hover { border-bottom-color: currentColor; }

/* accessibility statement page */
.legal-text { max-width: 720px; color: var(--ink); line-height: 1.8; font-size: 1.05rem; }
.legal-text h2 { font-family: var(--sans); font-weight: 600; font-size: 1.2rem; margin: 36px 0 10px; }
.legal-text ul { padding-inline-start: 1.2em; margin: 0 0 12px; }
.legal-text li { margin-bottom: 6px; }
.legal-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-text .legal-contact { list-style: none; padding: 0; }
.legal-text .legal-date { margin-top: 40px; color: var(--ink-soft); font-size: 0.95rem; }

/* ---- accessibility (IS 5568): only keyboard / screen-reader / reduced-motion users notice these ---- */
.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; }
.skip-link { position: fixed; top: 10px; right: 10px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 4px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.gallery-item:focus-visible { outline: 2px solid var(--clay); outline-offset: 6px; }
/* the name + "לכל היצירות" fade in late in the opening; a keyboard user who tabs to the link sees it at once */
.kh-full .kh-reveal:focus-within, .kh-copy:focus-within { opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: none; }
}

/* small clay-coloured lines darkened one step so they pass text contrast (IS 5568) */
.about-eyebrow, .about-fields { color: #5e3e29; }
