/* House of Zejd — About page */

/* page hero (sits under the transparent header like the home slider) */
.hz-page-hero { position: relative; height: clamp(560px, 92vh, 860px); overflow: hidden; background: var(--charcoal); color: #fff; }
.hz-page-hero > img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.hz-page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,19,15,.62) 0%, rgba(20,19,15,.3) 50%, rgba(20,19,15,.05) 85%), linear-gradient(to top, rgba(20,19,15,.5), rgba(20,19,15,0) 50%); }
.hz-page-hero-copy { position: absolute; left: 0; right: 0; bottom: 120px; z-index: 2; }
.hz-page-hero h1 { font: 400 84px/1 var(--font-display); letter-spacing: -.015em; margin: var(--space-6) 0 var(--space-4); color: #fff; }
.hz-page-hero h1 em { font-style: italic; color: var(--gold); }
.hz-page-hero p { max-width: 520px; font-size: 19px; line-height: 30px; font-weight: 300; color: var(--on-charcoal); margin: 0; }
.hz-page-hero-copy > .hz-container > * { animation: hz-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hz-page-hero-copy > .hz-container > :nth-child(2) { animation-delay: .15s; }
.hz-page-hero-copy > .hz-container > :nth-child(3) { animation-delay: .3s; }
@keyframes hz-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hz-crumbs { display: flex; gap: var(--space-3); font: 700 11px/16px var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-charcoal); }
.hz-crumbs a:hover { color: var(--gold); }
.hz-crumbs [aria-current] { color: var(--gold); }
.hz-scroll-cue { position: absolute; left: 50%; bottom: var(--space-8); z-index: 2; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; }
.hz-scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: hz-cue 1.8s ease-in-out infinite; }
@keyframes hz-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* intro: tree + three paragraphs, same 960px width as the sections below (client fix) */
.hz-about-intro { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-16); align-items: center; }
.hz-about-tree img { width: 100%; max-width: 360px; height: auto; margin: 0 auto; }
.hz-about-text p { font-size: 17px; line-height: 29px; }
.hz-about-text .hz-lead { font-size: 21px; line-height: 33px; color: var(--ink); font-family: var(--font-display); font-weight: 400; }

/* heritage timeline (dark) */
.hz-heritage { background: #1d1c18; color: #d9d2c3; padding: var(--space-24) 0; }
.hz-heritage-head { text-align: center; margin-bottom: var(--space-16); }
.hz-heritage .hz-eyebrow { color: var(--gold); }
.hz-heritage .hz-display { color: #f4efe4; }
.hz-heritage .hz-display em { color: var(--gold); }
.hz-timeline-h { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-12); position: relative; }
.hz-timeline-h::before { content: ""; position: absolute; left: 0; right: 0; top: 29px; height: 1px; background: rgba(227,190,47,.4); }
.hz-timeline-h li { position: relative; padding-top: var(--space-16); }
.hz-timeline-h li::before { content: ""; position: absolute; left: 0; top: 24px; width: 11px; height: 11px; border-radius: 999px; background: var(--gold); box-shadow: 0 0 0 6px #1d1c18, 0 0 0 7px rgba(227,190,47,.45); }
.hz-timeline-h .yr { display: block; font: 400 46px/1 var(--font-display); color: var(--gold); margin-bottom: var(--space-4); font-variant-numeric: lining-nums; }
.hz-timeline-h h3 { font: 400 24px/30px var(--font-display); color: #f4efe4; margin: 0 0 var(--space-2); }
.hz-timeline-h p { color: #bfb8a8; font-size: 16px; line-height: 26px; margin: 0; }

/* photo with an offset olive hairline frame (straight edges, no arch) */
.hz-frame { position: relative; padding: 0 22px 22px 0; }
.hz-frame::before { content: ""; position: absolute; left: 22px; top: 22px; right: 0; bottom: 0; border: 1px solid rgba(93,107,74,.55); pointer-events: none; }
.hz-frame .hz-curtain { position: relative; z-index: 1; aspect-ratio: 4 / 5; }
.hz-frame .hz-curtain img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }

/* souri: the olive glides in (script sets transform/opacity) */
.hz-souri { overflow-x: clip; }
.hz-souri .hz-variety-img img { will-change: transform, opacity; }

/* making of + certifications */
.hz-making { text-align: center; max-width: 780px; margin: 0 auto var(--space-16); }
.hz-making blockquote { margin: 0 0 var(--space-6); font: 400 34px/46px var(--font-display); color: var(--ink); }
.hz-making blockquote em { color: var(--olive); }
.hz-making p { font-size: 17px; line-height: 29px; }
.hz-certs { list-style: none; margin: 0; padding: var(--space-8) 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); text-align: center; }
.hz-certs img { height: 64px; width: auto; margin: 0 auto var(--space-4); filter: grayscale(1) contrast(1.1); opacity: .75; transition: filter .4s, opacity .4s; }
.hz-certs li:hover img { filter: none; opacity: 1; }
.hz-certs b { display: block; font: 400 19px/26px var(--font-display); color: var(--ink); }
.hz-certs span { display: block; font-size: 13px; line-height: 20px; color: var(--ink-subtle); margin-top: var(--space-1); }

/* film */
.hz-video-xl { max-width: 1100px; margin: 0 auto; }
.hz-film-addr { text-align: center; margin-top: var(--space-6); font-size: 14px; color: var(--ink-subtle); letter-spacing: .02em; }

/* next-step duo */
.hz-duo { display: grid; grid-template-columns: 1fr 1fr; }
.hz-duo-item { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; padding: var(--space-12); overflow: hidden; color: #fff; background: var(--charcoal); }
.hz-duo-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hz-duo-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,19,15,.78), rgba(20,19,15,.1) 60%); transition: background .5s; }
.hz-duo-item:hover img { transform: scale(1.05); }
.hz-duo-item:hover::after { background: linear-gradient(to top, rgba(20,19,15,.85), rgba(20,19,15,.25) 70%); }
.hz-duo-item > span { position: relative; z-index: 1; }
.hz-duo-item .hz-eyebrow { color: var(--gold); }
.hz-duo-item .t { font: 400 44px/1.1 var(--font-display); }
.hz-duo-item .t em { color: var(--gold); }
.hz-duo-item .go { margin-top: var(--space-4); font: 700 11px/16px var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--on-charcoal); }

@media (max-width: 860px) {
  .hz-page-hero { height: clamp(520px, 90svh, 720px); }
  .hz-page-hero h1 { font-size: 52px; }
  .hz-page-hero p { font-size: 16px; line-height: 26px; }
  .hz-page-hero-copy { bottom: 96px; }
  .hz-about-intro { grid-template-columns: 1fr; gap: var(--space-8); }
  .hz-about-tree img { max-width: 220px; }
  .hz-heritage { padding: var(--space-16) 0; }
  .hz-timeline-h { grid-template-columns: 1fr; gap: var(--space-8); padding-left: var(--space-8); }
  .hz-timeline-h::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .hz-timeline-h li { padding-top: 0; }
  .hz-timeline-h li::before { left: calc(-1 * var(--space-8)); top: 12px; }
  .hz-making blockquote { font-size: 26px; line-height: 36px; }
  .hz-certs { grid-template-columns: 1fr 1fr; }
  .hz-duo { grid-template-columns: 1fr; }
  .hz-duo-item { min-height: 320px; padding: var(--space-8) var(--space-4); }
  .hz-duo-item .t { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .hz-page-hero-copy > .hz-container > *, .hz-scroll-cue span { animation: none; }
}

/* souri: editorial composition — giant italic title, olive overlapping it, text joined by hairlines */
.hz-souri { padding-top: var(--space-16); }
.hz-souri-head { text-align: center; position: relative; z-index: 0; }
.hz-souri-head .hz-eyebrow { margin-bottom: 0; }
.hz-souri-word { margin: 0 0 var(--space-6); font: italic 400 clamp(120px, 17vw, 240px)/1 var(--font-display); letter-spacing: -.03em; color: var(--olive); }
.hz-souri-stage { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(0, 420px) 1fr; column-gap: var(--space-12); align-items: center; }
.hz-souri-olive img { width: 100%; height: 560px; max-height: 68vh; object-fit: contain; filter: drop-shadow(0 34px 38px rgba(60,70,20,.2)); will-change: transform, opacity; }
.hz-souri-col { position: relative; max-width: 330px; }
.hz-souri-col.left { justify-self: end; text-align: right; }
.hz-souri-col.right { justify-self: start; }
.hz-souri-col::before { content: ""; position: absolute; top: 50%; width: calc(var(--space-12) - 8px); height: 1px; background: var(--olive-ink); }
.hz-souri-col::after { content: ""; position: absolute; top: calc(50% - 2.5px); width: 6px; height: 6px; border-radius: 50%; background: var(--olive-ink); }
.hz-souri-col.left::after { right: calc(-1 * var(--space-12) - 4px); }
.hz-souri-col.right::after { left: calc(-1 * var(--space-12) - 4px); }
.hz-souri-col.left::before { right: calc(-1 * var(--space-12) + 4px); }
.hz-souri-col.right::before { left: calc(-1 * var(--space-12) + 4px); }
.hz-souri-lead { font: 400 20px/31px var(--font-display); color: var(--ink); margin: 0 0 var(--space-4); }
.hz-souri-col.right .hz-souri-lead { font-style: italic; font-size: 24px; line-height: 30px; color: var(--olive); }
.hz-souri-col p:not(.hz-souri-lead) { font-size: 15px; line-height: 26px; color: var(--ink-muted); }
.hz-souri-facts { margin: var(--space-6) 0 0; padding-top: var(--space-4); border-top: 1px solid var(--line); }
.hz-souri-facts dt { font: 700 10px/14px var(--font-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--olive); }
.hz-souri-facts dd { margin: var(--space-1) 0 0; font: italic 400 18px/26px var(--font-display); color: var(--ink); }
@media (max-width: 960px) {
  .hz-souri-word { margin-bottom: var(--space-4); }
  .hz-souri-stage { grid-template-columns: 1fr; row-gap: var(--space-8); }
  .hz-souri-olive { order: -1; }
  .hz-souri-olive img { height: 380px; }
  .hz-souri-col, .hz-souri-col.left { justify-self: center; text-align: center; max-width: 520px; }
  .hz-souri-col::before, .hz-souri-col::after { display: none; }
}

/* ===== awards (from zejd.net) ===== */
.hz-awards { overflow: hidden; }
.hz-awards-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-12); }
.hz-awards-head .hz-display em { color: var(--olive); }
.hz-awards-nav { display: flex; gap: var(--space-2); }
.hz-awards-nav button { width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s, border-color .2s; }
.hz-awards-nav button:hover { background: var(--olive); border-color: var(--olive); color: var(--on-olive); }
.hz-awards-nav button:disabled { opacity: .35; cursor: default; background: transparent; color: var(--ink); border-color: var(--line-strong); }
.hz-awards-nav svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.hz-awards-track { list-style: none; margin: 0; padding: 0 0 var(--space-4); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--space-8)) / 4); gap: var(--space-8); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.hz-awards-track::-webkit-scrollbar { display: none; }
.hz-award { scroll-snap-align: start; }
.hz-award-img { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-6); }
.hz-award-img img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hz-award:hover .hz-award-img img { transform: translateY(-6px) rotate(-2deg); }
.hz-award-place { display: block; font: 700 10px/14px var(--font-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-subtle); margin-bottom: var(--space-2); }
.hz-award h3 { font: 400 20px/27px var(--font-display); color: var(--ink); margin: 0 0 var(--space-3); }
.hz-award-medal { display: flex; align-items: center; gap: var(--space-2); font: 700 11px/16px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 0 0 var(--space-1); }
.hz-award-medal::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 999px; }
.hz-award-medal.m-gold::before { background: #c9a227; }
.hz-award-medal.m-silver::before { background: #a7a9ac; }
.hz-award-medal.m-bronze::before { background: #a8683a; }
.hz-award-prod { font-size: 14px; line-height: 22px; color: var(--ink-muted); margin: 0; }
@media (max-width: 960px) { .hz-awards-track { grid-auto-columns: calc((100% - var(--space-8)) / 2); } }
@media (max-width: 560px) { .hz-awards-track { grid-auto-columns: 78%; gap: var(--space-6); } .hz-awards-head { align-items: center; } }

/* ===== awards: responsive v2 ===== */
.hz-award-img img { mix-blend-mode: normal; }
/* tablets: three per view */
@media (max-width: 1024px) { .hz-awards-track { grid-auto-columns: calc((100% - 2 * var(--space-6)) / 3); gap: var(--space-6); } }
/* phones: no carousel — every medal visible in a two-column grid */
@media (max-width: 640px) {
  .hz-awards-head { align-items: flex-end; margin-bottom: var(--space-6); }
  .hz-awards-nav { display: none; }
  .hz-awards-track { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; gap: var(--space-8) var(--space-4); overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
  .hz-award { display: flex; flex-direction: column; }
  .hz-award-img { height: 96px; margin-bottom: var(--space-3); }
  .hz-award-place { font-size: 9px; letter-spacing: .18em; margin-bottom: 4px; }
  .hz-award h3 { font-size: 16px; line-height: 21px; margin-bottom: 6px; }
  .hz-award-medal { font-size: 9.5px; letter-spacing: .08em; gap: 6px; }
  .hz-award-medal::before { width: 8px; height: 8px; }
  .hz-award-prod { font-size: 12.5px; line-height: 18px; }
  .hz-award:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 50%; }
}

/* souri: the old site's entrance, the olive drops in, the texts slide in from each side */
.js .hz-souri .reveal.from-top { transform: translateY(-120px); transition-duration: 1.1s; }
.js .hz-souri .reveal.from-left { transform: translateX(-90px); transition-duration: 1s; transition-delay: .25s; }
.js .hz-souri .reveal.from-right { transform: translateX(90px); transition-duration: 1s; transition-delay: .25s; }
.js .hz-souri .reveal.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) { .js .hz-souri .reveal { transform: none; transition: none; } }
/* the olive column is exactly as wide as the olive, so the connector lines end right at it */
.hz-souri-stage { grid-template-columns: 1fr auto 1fr; }
.hz-souri-olive img { width: auto; max-width: 100%; margin: 0 auto; display: block; }
/* awards: arrows on either side of the carousel, centred on the medals */
.hz-awards-carousel { position: relative; }
.hz-awards-carousel .hz-awards-nav { position: absolute; z-index: 2; top: 0; left: -76px; right: -76px; height: 150px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.hz-awards-carousel .hz-awards-nav button { pointer-events: auto; background: var(--paper); }
@media (max-width: 1420px) { .hz-awards-carousel .hz-awards-nav { left: -20px; right: -20px; } }
