@font-face{font-family:BookHero;src:url(previews/noto-serif-hebrew-regular.woff) format("woff");font-display:swap}
@font-face{font-family:BookHero;src:url(previews/noto-serif-hebrew-bold.woff) format("woff");font-weight:700;font-display:swap}
:root{color-scheme:light;--ink:#182822;--muted:#526159;--paper:#f6f5ef;--white:#fffefa;--line:#d9ddd1;--green:#254b3c;--wash:#e8eee4;--accent:#a55939;--display:Georgia,"Times New Roman",serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--white);font:1rem/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,select{font:inherit}
button{color:inherit;cursor:pointer}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:.25em}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #a14a24;outline-offset:3px}
[hidden]{display:none!important}
.skip,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{z-index:9;clip-path:none;width:auto;height:auto;top:.5rem;left:.5rem;background:white;padding:.6rem}
.wrap{width:min(90%,1240px);margin-inline:auto}
.mast{border-bottom:1px solid var(--line);background:var(--white)}
.mast-inner{min-height:75px;display:flex;align-items:center;justify-content:space-between;gap:1.4rem}
.brand{display:inline-flex;align-items:center;gap:.65rem;font:700 1.35rem/1 var(--display);white-space:nowrap}
.brand-mark{width:37px;height:37px;display:grid;place-items:center;background:var(--green);color:white;border-radius:4px 12px 4px 4px;font:700 1.48rem/1 BookHero,serif}
nav{display:flex;gap:clamp(.9rem,3vw,2.55rem);color:var(--muted);font-size:.95rem}
.mast-bundles{border:1px solid var(--line);padding:.52rem .95rem;border-radius:4px;font-size:.9rem}
.hero{display:grid;grid-template-columns:1.02fr .98fr;gap:clamp(2rem,7vw,6rem);align-items:center;padding-block:clamp(3rem,8vw,6.55rem)}
.kicker{display:flex;align-items:center;gap:.55rem;font-size:.87rem;font-weight:700;letter-spacing:.105em;margin:0 0 .8rem;color:var(--green)}
.kicker span{display:inline-block;width:17px;height:2px;background:var(--accent)}
h1,h2{font-family:var(--display);font-weight:500;line-height:1.04;margin:0;letter-spacing:-.04em}
h1{font-size:clamp(3.15rem,6.9vw,6.55rem)}
h1 em{font-weight:400;color:var(--green);white-space:nowrap}
.hero-copy>p:not(.kicker){font-size:clamp(1rem,1.55vw,1.19rem);max-width:30rem;color:var(--muted);margin:1.35rem 0 1.85rem}
.hero-actions{display:flex;align-items:center;gap:1.4rem;flex-wrap:wrap}
.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:var(--white);padding:.7rem 1rem;min-height:44px;border-radius:4px;font-weight:650;white-space:nowrap;font-size:.95rem}
.button:hover{text-decoration:none;background:var(--wash);border-color:#a9bcab}
.button.dark{background:var(--green);border-color:var(--green);color:white}
.button.dark:hover{background:#183b2f}
.button:disabled{cursor:default;color:#5b625e;background:#f3f3ee}
.text-link{font-weight:650;text-decoration:underline;text-underline-offset:.3em;font-size:.96rem}
.hero-sheet{border:1px solid #cbd3c4;border-radius:5px;margin:0;background:#edf0e6;padding:clamp(1.05rem,3vw,2.1rem);box-shadow:9px 10px 0 #f4f4ec}
.specimen-label,.hero-sheet figcaption{display:flex;justify-content:space-between;align-items:center;gap:.7rem;font-size:.87rem;color:#3d5449}
.specimen-label{padding-bottom:.9rem;border-bottom:1px solid #bdcdbd;font-weight:700;letter-spacing:.07em}
.print-text{font-family:BookHero,serif;padding:clamp(1.6rem,4vw,3rem) 0 1.5rem;color:#203d30}
.print-text strong{font-size:clamp(2.3rem,5.2vw,4.55rem);line-height:1.12;display:block}
.print-text p{font-size:clamp(1.12rem,2.05vw,1.56rem);line-height:1.67;margin:.8rem 0 0}
.hero-sheet figcaption{border-top:1px solid #bdcdbd;padding-top:.85rem}
.catalog{background:var(--paper);border-block:1px solid var(--line);padding:clamp(2.75rem,6vw,4.8rem) 0}
section[id]{scroll-margin-top:1rem}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:1.1rem;margin-bottom:1.6rem}
h2{font-size:clamp(2.15rem,4vw,3.65rem)}
.summary{color:var(--muted);margin:0;font-size:.95rem}
.lab{display:grid;grid-template-columns:minmax(0,1fr) minmax(165px,23%) auto;align-items:end;gap:1rem;border:1px solid var(--line);background:var(--white);padding:.88rem 1rem 1rem;border-radius:6px}
.lab label{display:flex;justify-content:space-between;gap:.6rem;font-size:.89rem;font-weight:650;margin-bottom:.3rem}
.lab output{color:var(--muted);font-weight:500;white-space:nowrap}
input[type=text],input[type=search],select{display:block;min-width:0;width:100%;height:44px;border:1px solid #cdd5c9;border-radius:4px;background:#fff;color:var(--ink);padding:.5rem .7rem}
#sample{font-family:BookHero,serif;font-size:1.32rem}
input[type=range]{width:100%;margin:0;height:44px;accent-color:var(--green)}
.quiet{min-height:42px;border:0;background:transparent;font-weight:620;padding:.4rem .65rem}
.quiet:hover{text-decoration:underline;text-underline-offset:.2rem}
.catalog-controls{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:1.23rem}
.tabs,.filters{display:flex;gap:.36rem;align-items:center;flex-wrap:wrap}
.tabs button{border:1px solid transparent;border-radius:4px;background:transparent;padding:.51rem .62rem;font-size:.92rem;font-weight:640}
.tabs button[aria-pressed=true]{background:var(--wash);border-color:#c9d8c9;color:#254739}
.tabs button:hover{border-color:#c9d8c9}
.filters label{width:148px;max-width:100%}
select{appearance:none;padding-right:1.65rem;background-image:linear-gradient(45deg,transparent 50%,#43554c 51%),linear-gradient(135deg,#43554c 50%,transparent 51%);background-position:calc(100% - 14px) center,calc(100% - 9px) center;background-size:5px 5px;background-repeat:no-repeat}
.results{color:var(--muted);font-size:.9rem;min-height:1.4em;margin:.9rem 0 .75rem}
.font-grid,.bundle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.font-card,.bundle{min-width:0;background:var(--white);border:1px solid var(--line);border-radius:6px}
.font-card{display:flex;flex-direction:column}
.font-card:hover{border-color:#a4b7a8}
.font-card .card-head,.font-card .card-foot{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.91rem .95rem}
.card-head h3,.bundle h3{margin:0;font:500 1.35rem/1.15 var(--display)}
.tag{color:#355444;background:var(--wash);padding:.15rem .38rem;border-radius:3px;font-size:.8rem;white-space:nowrap}
.sample-block{min-height:123px;background:#f9f9f2;display:flex;align-items:center;padding:.65rem .97rem}
.sample-ink{width:100%;text-align:right;overflow-wrap:anywhere;color:#1c392c;line-height:1.3;font-size:var(--sample-size,48px);min-width:0}
.sample-ink.book-paragraph{font-size:clamp(1rem,calc(var(--sample-size,48px)*.45),2.7rem);line-height:1.53}
.card-foot{margin-top:auto;color:var(--muted);font-size:.86rem}
.card-foot button{border:0;border-radius:3px;background:transparent;padding:.4rem 0;color:var(--green);font-weight:700;text-align:right}
.card-foot button:hover{text-decoration:underline;text-underline-offset:.21rem}
.more{text-align:center;margin-top:1.5rem}
.flourishes{padding-top:clamp(2.8rem,6vw,4.6rem)}
.ornament-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.ornament-grid figure{background:#f2f4eb;border:1px solid var(--line);border-radius:6px;margin:0;padding:1.1rem}
.ornament-grid img{display:block;width:100%;height:auto}
.ornament-grid figcaption{font-size:.92rem;font-weight:650;color:var(--green);text-align:center;padding-top:.58rem}
.ornament-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.flourish-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}
.flourish-products .button{margin-right:1rem}
.flourish-products .checkout-note{margin-top:.5rem}
@media(max-width:850px){.ornament-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.flourish-products{grid-template-columns:1fr}}
.bundles{padding:4.25rem 0}
.bundle{padding:1.25rem}
.bundle h3{font-size:1.6rem}
.bundle p{color:var(--muted);margin:.55rem 0 1rem}
.checkout-note{color:var(--muted);font-size:.92rem}
footer{border-top:1px solid var(--line);background:var(--white)}
.footer-inner{min-height:88px;display:flex;justify-content:space-between;align-items:center;gap:1rem;color:var(--muted);font-size:.92rem}
dialog{max-width:min(93vw,680px);padding:0;border:1px solid #bdcbbf;border-radius:7px;background:var(--white);color:var(--ink)}
dialog::backdrop{background:#15272191}
.dialog-content{padding:clamp(1.1rem,4vw,2rem);position:relative}
.close{position:absolute;right:.6rem;top:.5rem;font-size:1.6rem}
.dialog-content h2{padding-right:1.4rem}
#product-description{color:var(--muted)}
.detail-cut{padding:.75rem 0;border-top:1px solid var(--line)}
.detail-cut small{font-size:.9rem;color:var(--muted)}
.detail-cut .sample-ink{padding:.35rem .7rem;background:#f4f6ec}
#product-actions{margin-top:.7rem;display:flex;align-items:center;gap:.85rem;flex-wrap:wrap}
@media(max-width:850px){
  .hero{gap:2rem}
  .font-grid,.bundle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
  .mast-inner{min-height:66px;flex-wrap:wrap;padding:.7rem 0;gap:.65rem}
  .mast-inner nav{order:3;width:100%;justify-content:space-between;font-size:.88rem}
  .hero{grid-template-columns:1fr;padding-block:2.7rem}
  .hero-sheet{box-shadow:5px 5px 0 #f4f4ec}
  .section-heading,.catalog-controls{align-items:flex-start;flex-direction:column;gap:.5rem}
  .lab{grid-template-columns:minmax(0,1fr) auto;gap:.38rem .6rem}
  .lab-text{grid-column:1/-1}
  .lab-size{min-width:0}
  .filters{width:100%}
  .filters label{width:auto;flex:1;min-width:100px}
  .font-grid,.bundle-grid,.ornament-grid{grid-template-columns:1fr}
  .footer-inner{align-items:flex-start;justify-content:center;flex-direction:column;padding-block:1rem}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
