/* dorlazimi.co.il: light paper in the Golani colours (the yellow of the flag, the green of its tree, the brown of the
   beret), Frank Ruhl Libre for the words that matter, Assistant for reading, and one candle. */
:root {
  --bg: #fbf9ef; --bg-2: #f4f0dc; --bg-3: #ece6c9; --line: #ddd5b2; --text: #1b2414; --text-2: #303d26; --muted: #525d45; --dim: #626b53;
  --accent: #f2cd1c; --accent-hover: #f7d84a; --accent-ink: #1f3a17; --accent-text: #2e5a24; --accent-soft: rgba(242, 205, 28, .2); --accent-line: rgba(46, 90, 36, .4);
  --accent-line-strong: #2e5a24; --accent-glow: rgba(242, 205, 28, .45); --flame: #e9a92a; --glow: rgba(233, 169, 42, .45);
  --wash1: rgba(242, 205, 28, .12); --wash2: rgba(46, 90, 36, .06); --head-bg: rgba(251, 249, 239, .9); --shadow-c: rgba(30, 45, 15, .2);
  --photo-filter: saturate(.95); --hero-filter: saturate(.95); --err-c: #b42318; --focus: #2e5a24; --beret: #6b4a2b;
  color-scheme: light;
}
:root { --serif: 'Frank Ruhl Libre', 'Times New Roman', serif; --sans: Assistant, 'Segoe UI', Arial, sans-serif; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60vw 50vh at 85% -10%, var(--wash1), transparent 70%), radial-gradient(50vw 60vh at 0% 110%, var(--wash2), transparent 70%); }
::selection { background: var(--accent); color: var(--accent-ink); }
.flame-out { fill: var(--flame); } .flame-in { fill: #fff1c9; }

/* ---------- header ---------- */
.n-head { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px; height: 72px; padding-inline: clamp(20px, 4vw, 56px);
  background: var(--head-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.n-head.is-stuck { border-color: var(--line); }
.n-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.n-brand small { font-size: .8em; color: var(--muted); font-weight: 400; }
.n-nav { margin-inline-start: auto; }
.n-nav ul { display: flex; gap: 4px; list-style: none; }
.n-nav a { display: block; padding: 10px 12px; font-size: 1rem; color: var(--muted); text-decoration: none; border-radius: 8px; transition: color .2s; }
.n-nav a:hover, .n-nav a[aria-current] { color: var(--text); }
.n-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent-line-strong); border-radius: 0; }
.n-light { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid var(--accent-line); border-radius: 999px;
  background: transparent; color: var(--accent-text); font-weight: 700; font-size: 1rem; transition: background-color .2s, border-color .2s; }
.n-light:hover { background: var(--accent-soft); border-color: var(--accent-line-strong); }
.n-menu-btn { display: none; }

/* ---------- shared bits ---------- */
.n-h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.01em; }
.n-h2 span { display: inline-flex; align-items: center; gap: 18px; }
.n-h2 span::before { content: ''; width: 34px; height: 1px; background: var(--accent); }
.n-kicker { font-size: .95rem; letter-spacing: .03em; color: var(--accent-text); }
.n-sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.n-sec-sub { color: var(--muted); font-size: 1.1rem; }
.n-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--accent);
  color: var(--accent-ink); font-weight: 800; font-size: 1.05rem; text-decoration: none; box-shadow: 0 0 0 0 var(--glow); transition: box-shadow .4s var(--ease), background-color .2s; }
.n-btn:hover { background: var(--accent-hover); box-shadow: 0 0 36px 2px var(--accent-glow); }
.n-btn .flame-out { fill: var(--accent-ink); } .n-btn .flame-in { fill: var(--accent); } .n-btn .flame-lit { filter: none; }
.n-btn-line { background: transparent; color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent-line); }
.n-btn-line:hover { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line-strong); }
.n-link { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent-line); }
.n-link:hover { text-decoration-color: var(--accent-text); }
section { scroll-margin-top: 80px; }

/* ---------- hero ---------- */
.n-hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: calc(var(--screen) - 72px); align-items: center; overflow: hidden; }
.n-hero-pic { position: absolute; inset: 0 auto 0 0; width: 50%; }
.n-hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: var(--hero-filter);
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 42%), linear-gradient(to top, transparent, #000 30%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to left, transparent 0%, #000 42%), linear-gradient(to top, transparent, #000 30%); mask-composite: intersect; }
.n-hero-text { grid-column: 1; position: relative; padding: 60px clamp(24px, 6vw, 96px); display: grid; gap: 22px; justify-items: start; }
.n-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3.2rem, 7.2vw, 7rem); line-height: .98; letter-spacing: -.02em; }
.n-rank { display: block; font-size: .32em; letter-spacing: .08em; color: var(--muted); margin-bottom: .2em; }
.n-zl { display: block; font-size: .36em; color: var(--accent-text); margin-top: .25em; letter-spacing: .02em; }
.n-dates { display: flex; gap: 0; border-block: 1px solid var(--line); }
.n-dates div { padding: 14px 0; padding-inline-end: 32px; }
.n-dates div + div { padding-inline-start: 32px; border-inline-start: 1px solid var(--line); }
.n-dates dt { font-size: .85rem; letter-spacing: .03em; color: var(--dim); }
.n-dates dd { font-family: var(--serif); font-size: 1.35rem; display: grid; }
.n-dates dd span { font-family: var(--sans); font-size: 1rem; color: var(--muted); }
.n-role { font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.n-hero-acts { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 8px; }
.n-count { color: var(--muted); text-decoration: none; font-size: 1.05rem; }
.n-count b { color: var(--text); font-family: var(--serif); font-size: 1.6rem; font-weight: 500; margin-inline-end: 4px; }
.n-count:hover { color: var(--text); }

/* ---------- bio ---------- */
.n-bio { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2fr); gap: 48px; width: min(100% - 48px, 1180px); margin: 120px auto; }
.n-bio-text { display: grid; gap: 22px; max-width: 64ch; font-size: 1.2rem; line-height: 1.85; color: var(--text-2); }
.n-lead { font-family: var(--serif); font-size: 1.6rem; line-height: 1.55; color: var(--text); }
.n-forever { font-family: var(--serif); font-size: 2rem; color: var(--accent-text); margin-top: 10px; }

/* ---------- candles ---------- */
.n-candles { width: min(100% - 48px, 1240px); margin: 0 auto 120px; }
.n-sec-sub b { color: var(--accent-text); font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.n-flames { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.n-fl { display: grid; gap: 6px; align-content: start; justify-items: start; padding: 26px 24px 28px; background: var(--bg); min-height: 170px; transition: background-color .4s; }
.n-fl:hover { background: var(--bg-2); }
.n-fl b { font-size: 1.1rem; margin-top: 8px; }
.n-fl p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.n-fl:nth-child(n+9) { display: none; }
.n-fl.is-new { background: var(--accent-soft); }
.n-row-acts { display: flex; align-items: center; gap: 28px; margin-top: 32px; }

/* ---------- lookout ---------- */
.n-lookout { position: relative; display: grid; min-height: 640px; align-items: end; margin-bottom: 120px; isolation: isolate; }
.n-lookout-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -1; }
.n-lookout::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bg) 4%, color-mix(in srgb, var(--bg) 55%, transparent) 50%, color-mix(in srgb, var(--bg) 10%, transparent)), linear-gradient(to left, color-mix(in srgb, var(--bg) 75%, transparent), transparent 60%); }
.n-lookout-text { display: grid; gap: 14px; justify-items: start; max-width: 560px; padding: 0 clamp(24px, 6vw, 96px) 72px; font-size: 1.2rem; }
.n-addr { color: var(--accent-text); font-weight: 600; }
.n-lookout .n-btn { margin-top: 8px; }

/* ---------- music ---------- */
.n-music, .n-pl { width: min(100% - 48px, 1240px); margin: 0 auto 120px; }
.n-music-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.n-deck { position: relative; display: grid; gap: 18px; }
.n-record { position: relative; aspect-ratio: 1; width: min(100%, 440px); justify-self: center; border-radius: 50%;
  background: repeating-radial-gradient(circle, #141210 0 2px, #1c1915 2px 3px); box-shadow: 0 30px 80px var(--shadow-c), 0 0 0 1px #2a241d; }
.n-record img { position: absolute; inset: 31%; width: 38%; height: 38%; object-fit: cover; border-radius: 50%; filter: saturate(.8); }
.n-record::after { content: ''; position: absolute; inset: calc(50% - 6px); border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 2px #2a241d; }
.is-playing .n-record { display: none; }
.n-screen { border-radius: 14px; display: none; }
.is-playing .n-screen { display: block; }
.n-now { text-align: center; color: var(--muted); }
.n-now b { color: var(--text); font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.n-now-l { display: block; font-size: .85rem; letter-spacing: .03em; color: var(--dim); }
.n-tracks { list-style: none; border-top: 1px solid var(--line); }
.n-tracks li { border-bottom: 1px solid var(--line); }
.n-tracks button { display: grid; grid-template-columns: 40px 1fr auto 24px; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 8px 6px; border: 0;
  background: transparent; text-align: start; transition: background-color .2s; }
.n-tracks button:hover { background: var(--bg-2); }
.n-tracks button b { font-weight: 600; font-size: 1.1rem; }
.n-tracks button span { color: var(--muted); font-size: 1rem; }
.n-tracks button .n-tn { color: var(--dim); font-size: .9rem; }
.n-tracks button svg { color: var(--dim); }
.n-tracks button[aria-pressed=true] { background: var(--accent-soft); }
.n-tracks button[aria-pressed=true] b, .n-tracks button[aria-pressed=true] svg { color: var(--accent-text); }
.n-tracks-big button { grid-template-columns: 64px 36px 1fr auto 24px; min-height: 72px; }
.n-tracks-big img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; }
.n-ctrl { display: flex; justify-content: center; gap: 14px; direction: ltr; }
.n-ctrl button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); }
.n-ctrl .n-play { width: 64px; height: 64px; background: var(--accent); color: var(--accent-ink); border: 0; }
.n-ctrl button:hover { color: var(--text); border-color: var(--muted); }
.n-pl-head { display: grid; gap: 10px; margin: 72px 0 48px; }
.n-pl-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.4rem); }

/* ---------- memories ---------- */
.n-mem { width: min(100% - 48px, 1240px); margin: 0 auto 120px; }
.n-letters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.n-letter { display: grid; gap: 18px; align-content: start; padding: 34px 30px; background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line); border-radius: 4px 4px 22px 4px; }
.n-from { font-family: var(--serif); font-size: 1.45rem; display: grid; }
.n-from span { font-family: var(--sans); font-size: 1rem; color: var(--accent-text); }
.n-ex { color: var(--text-2); line-height: 1.75; }

/* ---------- press ---------- */
.n-press { width: min(100% - 48px, 1240px); margin: 0 auto 120px; display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2fr); gap: 48px; }
.n-press-list { list-style: none; border-top: 1px solid var(--line); }
.n-press-list li { border-bottom: 1px solid var(--line); }
.n-press-list a { display: grid; grid-template-columns: 150px 1fr 24px; gap: 18px; align-items: center; padding: 20px 4px; text-decoration: none; transition: padding .3s var(--ease), color .2s; }
.n-press-list a:hover { padding-inline-start: 14px; color: var(--accent-text); }
.n-src { color: var(--dim); font-size: .95rem; }
.n-press-list b { font-weight: 500; font-size: 1.15rem; }

/* ---------- gallery ---------- */
.n-gal { width: min(100% - 48px, 1240px); margin: 0 auto 120px; }
.n-photos { list-style: none; columns: 4 240px; column-gap: 14px; }
.n-photos li { break-inside: avoid; margin-bottom: 14px; }
.n-photos a { overflow: hidden; border-radius: 6px; }
.n-photos img { width: 100%; filter: var(--photo-filter); transition: filter .6s var(--ease), transform .8s var(--ease); }
.n-photos a:hover img, .n-photos a:focus-visible img { filter: none; transform: scale(1.03); }

/* ---------- candle wall page ---------- */
.n-wall-head { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 88px 24px 56px; }
.n-wall-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.n-wall-count { color: var(--muted); font-size: 1.15rem; }
.n-wall-count b { font-family: var(--serif); color: var(--accent-text); font-size: 2.4rem; font-weight: 500; margin-inline-end: 6px; }
.n-wall { width: min(100% - 48px, 1240px); margin: 0 auto 120px; }
.n-tools { position: sticky; top: 72px; z-index: 5; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.n-search { display: flex; align-items: center; gap: 10px; min-width: min(100%, 320px); padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.n-search:focus-within { border-color: var(--accent-line-strong); }
.n-search input { flex: 1; min-height: 46px; border: 0; background: transparent; outline: 0; font-size: 1rem; }
.n-sorts { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.n-sorts button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: .98rem; }
.n-sorts button[aria-pressed=true] { background: var(--bg-3); color: var(--accent-text); }
.n-status { min-height: 1.6em; margin: 14px 0 6px; color: var(--muted); }
.n-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.n-c { position: relative; display: grid; gap: 4px; align-content: start; justify-items: start; padding: 20px 20px 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; }
.n-c b { font-size: 1.08rem; margin-top: 8px; }
.n-c p { color: var(--muted); font-size: .98rem; line-height: 1.5; }
.n-c time { color: var(--dim); font-size: .85rem; margin-top: 4px; }
.n-c.is-new { border-color: var(--accent-line-strong); box-shadow: 0 0 30px var(--accent-soft); }
.n-more { display: flex; margin: 32px auto 0; }

/* ---------- memory page ---------- */
.n-read { width: min(100% - 48px, 720px); margin: 64px auto 56px; display: grid; gap: 10px; }
.n-back { color: var(--muted); font-size: 1rem; margin-bottom: 28px; text-decoration: none; }
.n-back::before { content: '→ '; }
.n-back:hover { color: var(--text); }
.n-read h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.n-read-rel { color: var(--accent-text); font-size: 1.15rem; }
.n-read-text { display: grid; gap: 22px; margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.32rem; line-height: 1.85; color: var(--text-2); }
.n-read-photos { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 44px; }
.n-read-photos a { aspect-ratio: 1; overflow: hidden; border-radius: 6px; }
.n-read-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.n-read-photos a:hover img { transform: scale(1.05); }
.n-read-next { width: min(100% - 48px, 720px); margin: 0 auto 120px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--line); }
.n-read-next > a:first-child { display: grid; text-decoration: none; }
.n-read-next span { color: var(--dim); font-size: .95rem; }
.n-read-next b { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.n-read-next > a:first-child:hover b { color: var(--accent-text); }

/* ---------- write page + forms + dialog ---------- */
.n-write { width: min(100% - 48px, 760px); margin: 72px auto 120px; display: grid; gap: 14px; }
.n-write h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.n-write .form { margin-top: 28px; }
.f-input { background: var(--bg-2); border: 1px solid var(--line); color: var(--text); }
.f-input:focus { outline: 0; border-color: var(--accent-line-strong); box-shadow: 0 0 0 3px var(--accent-soft); }
.f-input::placeholder { color: var(--dim); }
.f-btn { background: var(--accent); color: var(--accent-ink); }
.f-btn:hover { background: var(--accent-hover); }
.f-done { background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-text); }
:root { --err: var(--err-c); }
.dlg { background: var(--bg-2); color: var(--text); border: 1px solid var(--line); box-shadow: 0 30px 90px var(--shadow-c), 0 0 120px var(--accent-soft); }
.dlg-h { font-family: var(--serif); font-weight: 500; }
.dlg .f-btn { justify-self: stretch; }

/* ---------- footer ---------- */
.n-foot { border-top: 1px solid var(--line); padding: 56px clamp(24px, 6vw, 96px) 96px; }
.n-foot-in { display: grid; gap: 8px; justify-items: center; text-align: center; }
.n-foot-name { font-family: var(--serif); font-size: 1.5rem; }
.n-foot-dates { color: var(--dim); }
.n-foot-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 16px; color: var(--muted); font-size: 1rem; }
.n-foot-links a:hover { color: var(--accent-text); }

/* ---------- small screens ---------- */
@media (max-width: 1100px) {
  .n-menu-btn { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; margin-inline-start: auto; border: 0; background: transparent; }
  .n-menu-btn i { display: block; width: 22px; height: 2px; background: var(--text); transition: transform .3s var(--ease); }
  .n-menu-btn[aria-expanded=true] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .n-menu-btn[aria-expanded=true] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .n-nav { position: fixed; inset: 72px 0 auto; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 24px 24px; display: none; }
  .n-nav.is-open { display: block; }
  .n-nav ul { flex-direction: column; }
  .n-nav a { padding: 14px 4px; font-size: 1.15rem; }
  .n-light { padding: 0 14px; }
  .n-flames { grid-template-columns: repeat(2, 1fr); }
  .n-letters { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .n-head { gap: 12px; height: 64px; }
  .n-nav { inset: 64px 0 auto; }
  .n-hero { grid-template-columns: 1fr; min-height: 0; }
  .n-hero-pic { position: relative; width: 100%; height: min(62svh, 560px); }
  .n-hero-pic img { -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 40%); mask-image: linear-gradient(to top, transparent 0%, #000 40%); }
  .n-hero-text { margin-top: -120px; padding: 0 22px 56px; }
  .n-dates { flex-direction: column; }
  .n-dates div + div { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .n-bio, .n-press { grid-template-columns: 1fr; gap: 24px; margin-block: 72px; }
  .n-candles, .n-music, .n-mem, .n-gal, .n-pl { margin-bottom: 80px; }
  .n-flames { grid-template-columns: 1fr 1fr; }
  .n-fl { min-height: 0; padding: 18px 16px 20px; }
  .n-fl b { font-size: 1rem; }
  .n-fl p { font-size: .95rem; }
  .n-fl:nth-child(n+5) { display: none; }
  .n-music-grid { grid-template-columns: 1fr; gap: 28px; }
  .n-record { width: 70%; }
  .n-press-list a { grid-template-columns: 1fr 24px; gap: 4px 12px; }
  .n-src { grid-column: 1; }
  .n-press-list b { grid-column: 1; }
  .n-press-list svg { grid-row: 1 / 3; grid-column: 2; }
  .n-lookout { min-height: 520px; margin-bottom: 80px; }
  .n-photos { columns: 2; column-gap: 8px; }
  .n-photos li { margin-bottom: 8px; }
  .n-tools { top: 64px; }
  .n-sorts { width: 100%; justify-content: space-between; }
  .n-sorts button { padding: 0 10px; flex: 1; }
  .n-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .n-tracks-big button { grid-template-columns: 56px 1fr 22px; }
  .n-tracks-big .n-tn { display: none; }
  .n-tracks-big button > span:not(.n-tn) { grid-column: 2; font-size: .92rem; }
  .n-tracks-big button > b { grid-column: 2; grid-row: 1; }
  .n-tracks-big img { grid-row: 1 / 3; width: 56px; }
  .n-tracks-big button > svg { grid-row: 1 / 3; grid-column: 3; }
}
@media (max-width: 420px) { .n-c { padding: 16px 14px; } .n-c b { font-size: 1rem; } }

/* light palettes: the lookout as photo beside text (text over the bright photo would not read); a smaller record */
.n-lookout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 56px; align-items: center; min-height: 0; width: min(100% - 48px, 1240px); margin-inline: auto; isolation: auto; }
.n-lookout::after { display: none; }
.n-lookout-img { position: static; grid-column: 2; grid-row: 1; height: 520px; border-radius: 16px; z-index: auto; box-shadow: 0 24px 60px -24px var(--shadow-c); }
.n-lookout-text { grid-column: 1; grid-row: 1; padding: 0; max-width: none; }
@media (max-width: 800px) { .n-lookout { grid-template-columns: 1fr; gap: 24px; } .n-lookout-img, .n-lookout-text { grid-column: 1; grid-row: auto; } .n-lookout-img { height: 300px; } }
.n-record { width: min(100%, 340px); box-shadow: 0 24px 50px var(--shadow-c), 0 0 0 1px #2a241d; }

/* Golani touches: a yellow band under the header, the brown of the beret on the rules and the dates */
.n-head { box-shadow: inset 0 -3px 0 var(--accent); }
.n-h2 span::before { height: 3px; background: var(--accent); box-shadow: 0 3px 0 var(--accent-text); }
.n-zl, .n-addr { color: var(--beret); }
.n-dates { border-color: var(--accent-text); }
.n-foot { background: var(--accent-text); color: #f4f0dc; border: 0; }
.n-foot .n-foot-dates, .n-foot-links { color: #d9dcc4; }
.n-foot a:hover { color: var(--accent); }

/* Header: Dor with the flag, the image the current site uses as its logo, in a yellow ring */
.n-brand-flag { gap: 12px; }
.n-brand-flag img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; box-shadow: 0 0 0 3px var(--accent), 0 0 0 4px var(--accent-text); }
.n-brand-flag small { color: var(--beret); }

/* Hero: three framed photos, each fading slowly through its own three; a yellow block like the flag behind them */
.n-hero-collage { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); padding-inline-end: clamp(24px, 4vw, 64px); }
.n-hero-collage .n-hero-text { grid-column: 1; grid-row: 1; }
.n-frames { grid-column: 2; grid-row: 1; position: relative; height: min(calc(var(--screen) - 160px), 680px); min-height: 480px; }
.n-frames::before { content: ''; position: absolute; left: 30%; top: 4%; width: 48%; height: 80%; background: var(--accent); border-radius: 18px; }
.n-frames::after { content: ''; position: absolute; left: 8%; top: 88%; width: 34%; height: 3px; background: var(--accent-text); }
.n-frame { position: absolute; overflow: hidden; border-radius: 16px; border: 6px solid var(--bg); background: var(--bg-3); box-shadow: 0 26px 60px -24px var(--shadow-c), 0 2px 6px var(--shadow-c); }
.n-frame-1 { left: 22%; top: 0; width: 50%; height: 80%; --d: 0s; }
.n-frame-2 { left: 0; top: 34%; width: 34%; height: 42%; --d: 2s; }
.n-frame-3 { left: 58%; top: 50%; width: 40%; height: 46%; --d: 4s; }
.n-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0;
  animation: frame 18s ease-in-out infinite both; animation-delay: calc(var(--i) * 6s - 1s - var(--d)); }
@keyframes frame { 0% { opacity: 0; transform: scale(1.02); } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1.1); } }
html.shot .n-frame img { animation: none; }
html.shot .n-frame img:first-child { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .n-frame img { animation: none !important; } .n-frame img:first-child { opacity: 1; } }
@media (max-width: 800px) {
  .n-hero-collage { grid-template-columns: 1fr; padding-inline-end: 0; }
  .n-frames { grid-column: 1; grid-row: 1; height: 340px; min-height: 0; margin: 16px 16px 0; }
  .n-hero-collage .n-hero-text { grid-row: 2; margin-top: 0; padding-top: 8px; gap: 16px; }
  .n-brand-flag img { width: 44px; height: 44px; }
}
@media (max-width: 420px) { .n-brand-flag span { display: inline; font-size: 1rem; } .n-brand-flag small { display: none; } }

/* ---------- full site additions ---------- */
main:focus { outline: none; }
.f-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.f-fail { padding: 12px 14px; border-radius: 10px; background: #fdecea; color: #8a1c12; font-weight: 600; }
.f-btn:disabled { opacity: .6; cursor: progress; }
.n-pending { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: .85rem; font-weight: 600; }
.n-crumbs { display: flex; gap: 8px; color: var(--muted); font-size: 1rem; margin-bottom: 28px; }
.n-crumbs a { color: var(--muted); }
.n-crumbs a:hover { color: var(--accent-text); }
.n-page-head { display: grid; justify-items: center; gap: 14px; text-align: center; width: min(100% - 48px, 760px); margin: 0 auto; padding: 80px 0 56px; }
.n-page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4rem); }
.n-mem-list { display: grid; gap: 28px; width: min(100% - 48px, 1040px); margin: 0 auto 120px; }
.n-letter-wide { grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.n-letter-wide:not(:has(img)) { grid-template-columns: 1fr; }
.n-letter-wide > div { display: grid; gap: 16px; justify-items: start; }
.n-letter-pic { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.n-q { font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; color: var(--accent-text); }
.n-gal-full { margin-top: 0; }
.n-text { width: min(100% - 48px, 720px); margin: 72px auto 120px; display: grid; gap: 18px; font-size: 1.15rem; line-height: 1.85; color: var(--text-2); }
.n-text h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--text); }
.n-text strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--text); margin-top: 10px; }
.n-text a { color: var(--accent-text); }
.n-updated { color: var(--dim); font-size: 1rem; margin-bottom: 12px; }
.n-404 { padding-block: 120px; }
.n-404-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.n-src { display: flex; align-items: center; gap: 10px; }
.n-plogo { width: 54px; height: 26px; object-fit: contain; filter: grayscale(1); opacity: .8; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.n-press-list a:hover .n-plogo { filter: none; opacity: 1; }
.n-press-list a { grid-template-columns: 170px 1fr 24px; }
.n-foot-mail { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.n-foot .n-foot-mail { color: #d9dcc4; }
@media (max-width: 800px) {
  .n-letter-wide { grid-template-columns: 1fr; }
  .n-letter-pic { aspect-ratio: 16 / 10; }
  .n-page-head { padding: 48px 0 36px; }
  .n-press-list a { grid-template-columns: 1fr 24px; }
}
@media (max-width: 800px) { .n-record { width: 52%; } }
