/* Shared storefront and editorial typography. The wordmark keeps its original serif. */
:root {
  --atelier-ink: #241d22;
  --atelier-soft: #594c53;
  --atelier-plum: #652e4b;
  --atelier-blush: #f8eef1;
  --atelier-paper: #fbf7f2;
  --atelier-rule: #dcd1d5;
  --atelier-face: Geist, Arial, sans-serif;
  --atelier-display: Georgia, 'Times New Roman', serif;
  --atelier-section: clamp(46px, 6vw, 80px);
  --atelier-heading-gap: clamp(18px, 2.3vw, 30px);
  --atelier-tracking: -.032em;
  --atelier-tracking-small: -.012em;
  --atelier-leading: 1.62;
  --atelier-heading: 400 clamp(1.85rem, 3.15vw, 2.8rem)/1.12 var(--atelier-display);
}
html[lang=ar] {
  --atelier-face: 'IBM Plex Sans Arabic', Arial, sans-serif;
  --atelier-display: 'IBM Plex Sans Arabic', Arial, sans-serif;
  --atelier-tracking: normal;
  --atelier-tracking-small: normal;
  --atelier-leading: 1.78;
  --atelier-heading: 550 clamp(1.8rem, 3vw, 2.65rem)/1.45 var(--atelier-display);
}
.atelier-page, .atelier-bar, .atelier-hero { font-family: var(--atelier-face); color: var(--atelier-ink); }
.atelier-page { margin: 0; background: #fff; font-size: 17px; line-height: 1.62; }
.atelier-page *, .atelier-nav *, .atelier-hero, .atelier-hero * { box-sizing: border-box; }
:where(.atelier-page main) :where(h1,h2,h3,p,ul,ol,figure) { margin: 0; }
.atelier-page a, .atelier-nav a { color: inherit; }
.atelier-page a:focus-visible, .atelier-nav :focus-visible, .atelier-hero a:focus-visible { outline: 3px solid #a74d80; outline-offset: 4px; }
.atelier-page h1, .atelier-page h2 { font: 400 clamp(32px,4.5vw,62px)/1.08 var(--atelier-display); letter-spacing: -.037em; text-wrap: balance; }
.atelier-page h2 { font: var(--atelier-heading); letter-spacing: var(--atelier-tracking); }
.atelier-page h3 { font: 600 20px/1.32 var(--atelier-face); }
html[lang=ar] .atelier-page :is(h1,h2,h3), html[lang=ar] .atelier-hero h1 { letter-spacing: normal; line-height: 1.4; font-weight: 600; }
html[lang=ar] .atelier-page { line-height: 1.85; }
.atelier-wrap { width: min(calc(100% - 64px),1160px); margin-inline: auto; }
.atelier-nav { position: relative; z-index: 20; background: #fff; color: #261f23; }
.atelier-bar { width: min(calc(100% - 48px),1160px); min-height: 72px; margin-inline: auto; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 16px; font-size: 15px; font-weight: 550; }
.atelier-bar a { text-decoration: none; }
.atelier-links, .atelier-tools, .atelier-social { display: flex; align-items: center; }
.atelier-links { gap: clamp(10px,1.35vw,24px); }
.atelier-links a, .atelier-social a { display: inline-flex; align-items: center; min-height: 44px; }
.atelier-tools { justify-self: end; gap: 14px; }
.atelier-social { gap: 5px; }
.atelier-social a { width: 31px; justify-content: center; }
.atelier-social img { display: block; }
.atelier-wordmark { display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; min-height: 44px; color: #2a2523; font: 400 clamp(24px,2.1vw,32px)/1.15 Georgia,serif; }
.atelier-wordmark img { display: block; object-fit: contain; }
.atelier-order, .atelier-bar .atelier-order { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 20px; border-radius: 6px; background: #171416; color: #fff; font-weight: 600; white-space: nowrap; }
.atelier-bar details { position: relative; }
.atelier-bar summary { min-height: 44px; display: flex; gap: 5px; align-items: center; cursor: pointer; list-style: none; }
.atelier-bar summary::-webkit-details-marker, .delivery-help summary::-webkit-details-marker { display: none; }
.atelier-pop { position: absolute; z-index: 5; inset-block-start: 100%; inset-inline-end: 0; min-width: 145px; padding: 5px 10px; box-shadow: 0 8px 26px #2a162318; border: 1px solid var(--atelier-rule); border-radius: 6px; background: #fff; }
.atelier-pop a { display: flex; align-items: center; min-height: 44px; padding: 0 6px; white-space: nowrap; }
.atelier-pop a[aria-current=page], .atelier-bar a:hover:not(.atelier-order) { color: var(--atelier-plum); text-decoration: underline; text-underline-offset: 4px; }
.atelier-bar a.atelier-wordmark:hover { text-decoration: none; }
.atelier-mobile-menu { display: none; }
.atelier-skip { position: absolute; inset-block-start: 0; inset-inline-start: 1rem; transform: translateY(-150%); background: #fff; padding: 10px 20px; z-index: 6; }
.atelier-skip:focus { transform: none; }
.atelier-page .atelier-text { display: inline-flex; align-items: center; min-height: 44px; color: var(--atelier-plum); font-weight: 550; text-decoration: underline; text-underline-offset: .23em; }
.atelier-actions, .atelier-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.atelier-primary, #allrecords .atelier-hero-actions .atelier-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 9px 23px; border: 1px solid var(--atelier-ink); border-radius: 100px; background: var(--atelier-ink); color: white; font: 550 16px/1.35 var(--atelier-face); text-decoration: none; }
.atelier-page .atelier-primary { color: #fff; }
.atelier-primary:hover, #allrecords .atelier-hero-actions .atelier-primary:hover, .atelier-bar .atelier-order:hover { background: var(--atelier-plum); color: #fff; }
.atelier-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "message photo";
  gap: 16px;
  width: calc(100% - clamp(32px, 4.8vw, 88px));
  margin: 15px auto 0;
}
.atelier-hero-panel, .atelier-hero-visual { border-radius: clamp(16px, 1.5vw, 24px); }
.atelier-hero-panel {
  grid-area: message;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-block-size: clamp(340px, 36vw, 580px);
  padding: clamp(30px, 4vw, 60px) clamp(22px, 3vw, 48px);
  background: var(--atelier-blush);
  text-align: center;
}
#allrecords .atelier-hero h1 {
  margin: 0;
  max-inline-size: 17ch;
  color: var(--atelier-ink);
  font: 400 clamp(2rem, 3.3vw, 3.375rem)/1.12 var(--atelier-display);
  letter-spacing: -.025em;
  text-wrap: balance;
}
#allrecords .atelier-hero-copy {
  margin: clamp(12px, 1vw, 17px) 0 0;
  max-inline-size: 35ch;
  color: var(--atelier-soft);
  font: 400 clamp(1rem, 1.2vw, 1.125rem)/1.5 var(--atelier-face);
  text-wrap: pretty;
}
.atelier-hero-actions { justify-content: center; gap: 6px 20px; margin-block-start: clamp(18px, 2vw, 28px); }
#allrecords .atelier-hero .atelier-secondary, #allrecords .atelier-hero-delivery {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  color: var(--atelier-ink);
  font: 500 1rem/1.4 var(--atelier-face);
  text-decoration: underline;
  text-underline-offset: .24em;
  text-decoration-thickness: 1px;
}
#allrecords .atelier-hero-delivery { margin-block-start: 5px; color: var(--atelier-soft); font-size: .875rem; font-weight: 400; }
#allrecords .atelier-hero :is(.atelier-secondary,.atelier-hero-delivery):hover { color: var(--atelier-plum); text-decoration-thickness: 2px; }
.atelier-hero-visual { grid-area: photo; position: relative; overflow: hidden; }
.atelier-hero-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
html[lang=ar] #allrecords .atelier-hero h1 { font-weight: 600; line-height: 1.35; letter-spacing: normal; }
html[lang=ar] #allrecords .atelier-hero-copy { line-height: 1.65; }
.delivery-hero { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); align-items: stretch; margin-block: 16px 48px; background: var(--atelier-blush); border-radius: 20px; overflow: hidden; }
.delivery-picture { position: relative; min-height: 100%; }
.delivery-picture img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 53%; }
.delivery-intro { padding: clamp(26px,4.2vw,62px); align-self: center; }
.delivery-intro p, .delivery-table > p:not(.atelier-note) { max-width: 62ch; margin-top: 16px; color: var(--atelier-soft); }
.delivery-intro .atelier-actions { margin-top: 24px; }
.delivery-table { scroll-margin: 20px; margin-bottom: 48px; }
.delivery-table table { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: start; margin-block: 16px 10px; }
.delivery-table th, .delivery-table td { text-align: start; padding: 12px 8px; border-bottom: 1px solid var(--atelier-rule); vertical-align: baseline; }
.delivery-table thead th { color: var(--atelier-soft); font-weight: 550; font-size: .85em; border-bottom: 1px solid #9e8895; }
.delivery-table tbody th { font-weight: 600; }
.delivery-table th:first-child { padding-inline-start: 0; }
.delivery-table .atelier-note { font-size: .85em; margin-top: 13px; color: var(--atelier-soft); }
.delivery-process { padding-block: var(--atelier-section); background: var(--atelier-paper); }
.delivery-process .atelier-wrap { display: grid; grid-template-columns: .85fr 1.4fr; gap: 40px; align-items: start; }
.delivery-process ol { padding-inline-start: 1.5em; }
.delivery-process li { padding-inline-start: .4em; }
.delivery-process li + li { margin-top: 18px; }
.delivery-process li::marker { color: var(--atelier-plum); font-weight: 600; }
.delivery-process p { padding-top: 4px; color: var(--atelier-soft); }
.delivery-help { margin-block: var(--atelier-section); display: grid; grid-template-columns: 1.4fr .85fr; gap: 7%; }
.delivery-help h2 { margin-bottom: 17px; }
.delivery-help details { border-bottom: 1px solid var(--atelier-rule); }
.delivery-help summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; list-style: none; cursor: pointer; padding: 14px 0; }
.delivery-help summary::after { content: '+'; flex: none; color: var(--atelier-plum); font-size: 1.3em; }
.delivery-help details[open] summary::after { content: '−'; }
.delivery-help details p { margin-bottom: 16px; color: var(--atelier-soft); }
.delivery-help aside { border-inline-start: 1px solid var(--atelier-rule); padding-inline-start: clamp(18px,3vw,42px); }
.delivery-help aside h2 { font-size: clamp(24px,2.5vw,33px); }
.delivery-help ul { list-style: none; padding: 0; }
.delivery-help li + li { margin-block-start: 4px; }
.delivery-help li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: #a28a96; text-underline-offset: 3px; }
.journal-index { padding-block: var(--atelier-section); }
.journal-index > header { max-width: 720px; margin: 0 auto clamp(28px,3vw,44px); text-align: center; }
.journal-index > header p { margin: 13px auto 0; max-width: 56ch; color: var(--atelier-soft); }
.journal-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 1px 12px; font-size: 15px; margin-bottom: 27px; }
.journal-filters a { display: inline-flex; align-items: center; padding: 4px 6px; min-height: 44px; text-decoration: none; border-bottom: 2px solid transparent; }
.journal-filters a[aria-current=true] { border-color: var(--atelier-plum); color: var(--atelier-plum); font-weight: 650; }
.journal-grid, .reader-related ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 37px 26px; list-style: none; padding: 0; }
.journal-grid li[hidden] { display: none; }
.atelier-card { display: block; text-decoration: none; }
.atelier-frame { border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--atelier-paper); margin-bottom: 13px; }
.atelier-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.atelier-card :is(h2,h3) { font: 550 clamp(20px,1.75vw,26px)/1.25 var(--atelier-face); letter-spacing: -.018em; text-wrap: pretty; }
.atelier-card:hover :is(h2,h3) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.atelier-card p { margin: 6px 0 0; font-size: 15px; color: var(--atelier-soft); }
.journal-grid time, .reader-byline { display: block; margin-top: 8px; font-size: 14px; color: var(--atelier-soft); }
.reader-head { width: min(calc(100% - 40px),820px); margin: clamp(28px,4.6vw,70px) auto 22px; text-align: center; }
.reader-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 10px; font-size: 15px; color: var(--atelier-plum); text-underline-offset: 4px; }
.reader-head .reader-byline { margin-block-start: 12px; }
.reader-photo { width: min(calc(100% - 48px),850px); margin: 20px auto 30px; border-radius: 12px; overflow: hidden; }
.reader-photo img { display: block; width: 100%; height: clamp(210px,32vw,420px); object-fit: cover; }
.reader-photo--full img { height: auto; }
.reader-copy { width: min(calc(100% - 44px),660px); margin: auto; font-size: clamp(17px,1.3vw,19px); line-height: 1.75; overflow-wrap: break-word; }
.reader-copy p + p, .reader-copy :is(ul, ol), .reader-copy :is(ul, ol) + p { margin-block-start: 1em; }
.reader-copy h2 { font-size: clamp(25px,2.65vw,34px); margin: 1.25em 0 .35em; }
.reader-copy h3 { font-size: 1.15em; margin: 1em 0 .25em; }
.reader-copy a { color: var(--atelier-plum); text-underline-offset: 3px; }
.reader-copy :is(ul, ol) { padding-inline-start: 1.4em; }
.reader-copy li + li { margin-block-start: .35em; }
html[lang=ar] .reader-copy { line-height: 1.9; }
.reader-related { max-width: 900px; border-top: 1px solid var(--atelier-rule); margin-block: var(--atelier-section); padding-block-start: var(--atelier-heading-gap); }
.reader-related ul { grid-template-columns: repeat(2,minmax(0,1fr)); margin-block: var(--atelier-heading-gap) 15px; }
@media(max-width:1060px) { .atelier-social { display: none; } }
@media(max-width:840px) {
  .atelier-bar { width: calc(100% - 34px); min-height: 60px; }
  .atelier-links, .atelier-tools .atelier-order { display: none; }
  .atelier-mobile-menu { display: block; justify-self: start; }
  .atelier-mobile-menu summary { min-width: 44px; }
  .atelier-mobile-menu .atelier-pop { inset-inline: 0 auto; }
  .atelier-menu-icon { width: 22px; height: 12px; border-block: 1.6px solid currentColor; position: relative; }
  .atelier-menu-icon::after { content: ''; position: absolute; inset: 4px 0 auto; height: 1.6px; background: currentColor; }
  .journal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:700px) {
  .atelier-wrap { width: calc(100% - 36px); }
  .atelier-hero { width: calc(100% - 28px); grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "message"; gap: 0; margin-top: 8px; }
  .atelier-hero-visual { block-size: clamp(165px, 54vw, 300px); border-radius: 16px 16px 0 0; }
  .atelier-hero-panel { min-block-size: 0; padding: 24px 18px 12px; border-radius: 0 0 16px 16px; }
  #allrecords .atelier-hero h1 { font-size: clamp(1.875rem, 8.2vw, 2.3rem); }
  #allrecords .atelier-hero-copy { margin-block-start: 10px; }
  .atelier-hero-actions { margin-block-start: 17px; }
  #allrecords .atelier-hero-delivery { margin-block-start: 2px; }
  .delivery-hero { grid-template-columns: 1fr; margin-block: 8px 26px; border-radius: 13px; }
  .delivery-intro { padding: 20px; }
  .delivery-intro p { margin-top: 8px; }
  .delivery-intro .atelier-actions { margin-top: 11px; }
  .delivery-picture { min-height: 0; height: clamp(110px,24vw,165px); }
  .delivery-picture img { object-position: 50% 54%; }
  .delivery-process .atelier-wrap, .delivery-help { grid-template-columns: 1fr; gap: 22px; }
  .delivery-help aside { border-inline: 0; border-block-start: 1px solid var(--atelier-rule); padding: 24px 0 0; }
  .delivery-help { gap: 34px; }
  .delivery-table { margin-bottom: 40px; }
  .delivery-table th, .delivery-table td { padding: 9px 4px; }
}
@media(max-width:550px) {
  .atelier-page { font-size: 16px; }
  .atelier-bar { gap: 3px; }
  .atelier-bar .atelier-wordmark { font-size: 24px; }
  .atelier-wordmark img { width: 29px; height: 29px; }
  .journal-grid, .reader-related ul { grid-template-columns: 1fr; gap: 25px; }
  .atelier-frame { margin-bottom: 9px; }
  .reader-photo { width: calc(100% - 30px); }
  .reader-copy { width: calc(100% - 36px); }
  .atelier-hero-actions { column-gap: 16px; }
  #allrecords .atelier-hero-actions .atelier-primary { padding-inline: 17px; }
  .delivery-intro .atelier-actions { gap: 8px 12px; }
  .delivery-intro .atelier-primary { padding-inline: 15px; }
  .delivery-table table { font-size: 15px; }
}

.atelier-bouquet { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px,5vw,80px); align-items: center; margin-block: 24px var(--atelier-section); }
.atelier-bouquet > img { display: block; width: 100%; height: clamp(330px,41vw,550px); border-radius: 15px; object-fit: contain; background: var(--atelier-paper); }
.atelier-bouquet p { color: var(--atelier-soft); margin-top: 14px; max-width: 45ch; }
.atelier-bouquet .atelier-actions { margin-top: 24px; }
@media (max-width:700px) {
  .atelier-bouquet { grid-template-columns: 1fr; gap: 20px; margin-block: 10px var(--atelier-section); }
  .atelier-bouquet > img { height: clamp(235px,68vw,370px); }
  .atelier-bouquet .reader-back { margin-bottom: 6px; }
}
