/* Reference-led photographic desk composition. Local design candidate only.
   v20 is a generated source with resized browser derivatives, not a native 4K render.
   The scene is decorative: all copy, links, gallery and audio stay real HTML. */
body.reference-home {
  --reference-scene: url('assets/desk/reference-world-v20-3840.webp');
  --reference-scene: image-set(url('assets/desk/reference-world-v20-1920.webp') 1x, url('assets/desk/reference-world-v20-3840.webp') 2x);
  --plane-objects: 1;
  --plane-data: 10;
  --scene-inset: max(0px, calc(36vw - 340px));
  --desk-continuation: url('assets/desk/reference-oak-v3.webp');
  --foreground-paper-tile: url('assets/desk/paper-fibre-v4.webp');
  --foreground-paper-edge: url('assets/desk/paper-deckle-v4.webp');
  background-color: #c58f59;
  background-image: radial-gradient(ellipse at 15% 0%, #fff6d526, transparent 70%), var(--desk-continuation);
  background-size: auto, 100% auto;
  background-repeat: no-repeat, repeat;
  background-position: center top;
  overflow-x: clip;
}
body.reference-home::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 100%;
  background: var(--reference-scene) center top / 100% auto no-repeat;
  clip-path: none;
  mask-image: linear-gradient(to bottom, #000 0, #000 82.8vw, transparent 83.5vw);
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
  z-index: -1;
  pointer-events: none;
}
body.reference-home::after { display: none; }
body.reference-home > .desk-props { display: none; }
body.reference-home .scroll-meter:not([hidden]) { display: grid; }
body.reference-home .header {
  position: absolute;
  z-index: 10;
  top: 2.3vw;
  left: 14.8%;
  display: flex;
  align-items: center;
  width: 67%;
  height: auto;
  min-height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  gap: 0;
  background: none;
  box-shadow: none;
}
body.reference-home .header .reference-wordmark {
  width: auto;
  height: auto;
  display: inline-flex;
  color: #111711;
  font: 700 clamp(26px, 2.4vw, 43px)/1 Georgia, 'Times New Roman', serif;
  letter-spacing: -.055em;
  white-space: nowrap;
  flex: 0 0 auto;
}
body.reference-home .header #site-nav {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  width: auto;
  margin: 0 0 0 auto;
  padding: 0;
  gap: 2.3vw;
  font-size: clamp(12px, 1.1vw, 17px);
  font-weight: 500;
}
body.reference-home .header #site-nav a { padding: 9px 0; }
body.reference-home .header:has(.ea-header-tools) > .menu-button { display: none !important; }
body.reference-home .ea-header-tools {
  position: static;
  margin-left: 5vw;
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
body.reference-home .ea-header-tools .ea-language,
body.reference-home .ea-header-tools .ea-launcher {
  min-width: 34px;
  min-height: 44px;
  padding: 7px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: 13px;
  color: #25251d;
}
body.reference-home .ea-language::after { content: '⌄'; font-size: 17px; margin-left: 5px; }
body.reference-home .ea-language > svg,
body.reference-home .ea-language-name,
body.reference-home .ea-launcher > span { display: none; }
body.reference-home .ea-launcher svg { width: 17px; stroke: #28291f; }
/* Foreground control: deliberately independent from the tabletop/header plane. */
body.reference-home > .ea-launcher {
  position: fixed;
  z-index: 100;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 88px;
  min-height: 46px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #d6c6aa;
  border-radius: 4px;
  background: var(--desk-white);
  color: #292d26;
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 2px 3px #51351e33, 0 11px 19px -7px #3c25116b;
}
body.reference-home > .ea-launcher > span { display: inline; }
body.reference-home > .ea-launcher:hover { background-color: #fffdf4; box-shadow: 0 3px 4px #51351e38, 0 14px 22px -8px #3c25117d; }
body.reference-home > .ea-launcher:focus-visible { outline: 3px solid #256482; outline-offset: 4px; }
body.reference-home .ea-language-menu { top: 5.9vw; right: 18%; }
body.reference-home .hero.shell {
  position: relative;
  z-index: var(--plane-data);
  display: block;
  width: 100%;
  max-width: none;
  height: 47.4465vw;
  min-height: 0;
  margin: 0;
  padding: 0;
  isolation: auto;
}
body.reference-home .hero-copy {
  position: absolute;
  left: 14.8%;
  top: 11.05vw;
  width: 29.8%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: none;
}
body.reference-home .hero-copy::before,
body.reference-home .hero-copy::after,
body.reference-home .hero-copy > .paper-corner { display: none; }
body.reference-home .hero-copy .eyebrow {
  color: #db4c11;
  font-size: clamp(9px, .94vw, 16px);
  font-weight: 600;
  letter-spacing: .21em;
  line-height: 1.4;
}
body.reference-home .hero h1 {
  max-width: none;
  margin: 1.35vw 0 1.15vw;
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 6.2vw;
  line-height: .83;
  font-weight: 700;
  letter-spacing: -.055em;
  color: #101511;
  text-wrap: initial;
}
body.reference-home .hero h1 em { color: inherit; }
body.reference-home:lang(uk) .hero h1 { font-size: 5.3vw; letter-spacing: -.06em; }
body.reference-home .hero-copy .lead {
  max-width: 29ch;
  margin: 0;
  color: #1a2119;
  font-size: 1.82vw;
  line-height: 1.24;
  font-weight: 400;
  letter-spacing: -.035em;
}
body.reference-home .hero .actions { gap: .95vw; margin-top: 1.7vw; flex-wrap: wrap; }
body.reference-home .hero .actions .button,
body.reference-home .hero .actions > .text-link:nth-child(2) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 3.8vw;
  padding: .65vw 1.4vw;
  border-radius: 999px;
  font-size: 1.07vw;
  line-height: 1.35;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}
body.reference-home .hero .actions .button {
  border: 1px solid #e65b20;
  background: #e95819;
  color: #fffdf4;
  box-shadow: inset 0 1px 0 #ffffff26, 0 4px 7px -5px #70341073;
}
body.reference-home .hero .actions .button::after { content: '→'; font-size: 1.4em; line-height: 1; }
body.reference-home .hero .actions > .text-link:nth-child(2) {
  color: #1d241c;
  border: 1px solid #414c3cbf;
  background: #fff9df08;
  box-shadow: none;
}
body.reference-home .hero .actions > .text-link:nth-child(2) span { display: none; }
body.reference-home .hero .actions > .text-link:last-of-type,
body.reference-home .hero .format-note { display: none; }
body.reference-home .hero .actions .button:hover { background: #cf4610; transform: translateY(-1px); }
body.reference-home .hero .actions > .text-link:nth-child(2):hover { background: #fffbed8c; }
body.reference-home .hero-media {
  position: absolute;
  top: 9.1vw;
  left: 50.9%;
  width: 41%;
  display: block;
  gap: 0;
  transform: none;
  transform-origin: center;
}
body.reference-home .hero-media .gallery {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  box-shadow: 4px 7px 3px #251a1266, 9px 20px 21px #251a126b;
  transform: none;
}
body.reference-home .hero-media .gallery::before,
body.reference-home .hero-media .gallery::after { display: none; }
body.reference-home .hero-media .gallery-frame {
  aspect-ratio: 2850 / 1890;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: #e4dfd5;
  box-shadow: 0 0 0 1px #1e1c1966;
  transform: none;
  overflow: hidden;
}
body.reference-home .hero-media .gallery-slide,
body.reference-home .hero-media .gallery-slide img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  filter: none;
  opacity: 1;
}
body.reference-home .hero-media .gallery-slide figcaption { display: none; }
body.reference-home .hero-media .gallery-controls {
  position: absolute;
  left: 50%;
  bottom: -33px;
  width: max-content;
  min-height: 29px;
  margin: 0;
  padding: 0 6px;
  gap: 6px;
  border: 0;
  border-radius: 2px;
  background: #fff5e4e8;
  box-shadow: 0 2px 4px #37200e38;
  transform: translateX(-50%);
}
body.reference-home .hero-media .gallery-controls button {
  width: 34px;
  min-width: 34px;
  height: 30px;
  min-height: 30px;
  margin: 0;
  padding: 7px;
  border: 0;
  border-radius: 0;
  background: none;
  color: #38392c;
  box-shadow: none;
}
body.reference-home .hero-media .gallery-controls button:hover { background: #dfb77e5c; }
body.reference-home .hero-media [data-gallery-count] {
  min-width: 54px;
  padding: 0;
  border: 0;
  background: none;
  font: 500 10px/1.3 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .07em;
  color: #38392c;
}
body.reference-home .hero-media .plugin-details-button {
  position: absolute;
  right: 0;
  top: -32px;
  display: inline-flex;
  width: auto;
  min-height: 25px;
  margin: 0;
  padding: 2px 4px;
  border: 0;
  border-radius: 0;
  background: none;
  color: #272820;
  font-size: 10px;
  font-weight: 600;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* A raised off-white sheet breaks up the wood, like the reference's second row. */
body.reference-home .desk-examples {
  position: relative;
  z-index: var(--plane-data);
  width: 100%;
  max-width: none;
  margin: 0 0 clamp(95px, 9vw, 155px);
  padding: 25px max(7vw, calc((100vw - 1320px) / 2));
  border: 0;
  background: none;
  box-shadow: none;
  isolation: isolate;
}
body.reference-home .desk-examples .audio-examples {
  margin: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
body.reference-home .desk-examples .audio-examples > summary {
  min-height: 46px;
  padding: 10px 0;
  color: #cb4c17;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}
body.reference-home .audio-examples-content { border-top-color: #cbb59147; padding: 0 0 12px; }
body.reference-home .audio-track { min-height: 76px; background-color: #fff7e6; box-shadow: 1px 2px 2px #6d4d292e, 2px 5px 7px -3px #63461c42; }
body.reference-home .collage-proof { position: relative; z-index: var(--plane-data); gap: 28px; margin-bottom: 15px; padding-left: clamp(75px, 8vw, 140px); }
body.reference-home .collage-proof article { transform: rotate(-.7deg); }
body.reference-home .collage-proof article:nth-child(2) { transform: rotate(.8deg); }
body.reference-home .collage-proof article:nth-child(3) { transform: rotate(-.5deg); }
body.reference-home .collage-proof article:nth-child(4) { transform: rotate(.7deg); }
/* Three planes: the body is wood, these photographed viewing windows are objects,
   and every data sheet is above them. No object silhouette is gradient-masked. */
body.reference-home .desk-scene-middle,
body.reference-home .desk-scene-lower {
  position: relative;
  width: 100%;
  pointer-events: none;
  user-select: none;
}
body.reference-home .desk-scene-middle { height: calc(max(350px, 42vw) + var(--scene-inset)); z-index: var(--plane-objects); isolation: isolate; }
body.reference-home .desk-scene-lower { height: max(350px, 100vw); z-index: var(--plane-objects); }
body.reference-home .desk-scene-middle::before,
body.reference-home .desk-scene-lower::before {
  content: '';
  position: absolute;
  inset: var(--scene-inset) 0 auto;
  height: calc(100% - var(--scene-inset) + 24px);
  z-index: -1;
  background-image: var(--reference-scene);
  background-repeat: no-repeat;
  background-size: 100% auto;
  /* The photographed cable continues beneath the next foreground sheet.
     Extend 24px under its opaque paper edge instead of fading the wire. */
  mask-image: none;
  pointer-events: none;
}
body.reference-home .desk-scene-middle::before {
  top: calc(var(--scene-inset) - var(--middle-scene-shift, 0px));
  height: calc(100% - var(--scene-inset) + var(--middle-scene-shift, 0px) + 24px);
  background-position: center -84vw;
  /* Only the first 12.3 virtual pixels are bare wood. The first wire starts
     at703, after this fade has reached full opacity at700.3. */
  mask-image: linear-gradient(to bottom, transparent 0, #000 min(1.5vw, 24px), #000 100%);
}
body.reference-home .desk-scene-lower::before {
  inset: -40px 0 -35vw;
  height: auto;
  background-position: center calc(40px - 131vw);
  /* Register the complete lower photograph beneath the opaque paper edge.
     Its drum, sticks and slim MP3 player are not independent overlays. */
  mask-image: none;
}
body.reference-home #availability.section.shell {
  position: relative;
  z-index: var(--plane-data);
  width: 100%;
  max-width: none;
  margin: 20px 0 40px;
  padding: 45px max(18vw, calc((100vw - 1050px) / 2)) 45px max(8vw, calc((100vw - 1240px) / 2));
  border: 0;
  background: none;
  box-shadow: none;
  isolation: isolate;
}
/* Real fibrous top/bottom edges; the sides continue beyond the viewing window.
   The centre tiles independently, so expanding audio never stretches its grain. */
body.reference-home .desk-examples::before,
body.reference-home #availability.section.shell::before {
  content: '';
  position: absolute;
  inset: -20px -64px;
  z-index: -1;
  box-sizing: border-box;
  border-style: solid;
  border-color: transparent;
  border-width: 30px 0;
  border-image-source: var(--foreground-paper-edge);
  border-image-slice: 150 0 150 0;
  border-image-width: 30px 0;
  border-image-repeat: stretch;
  background-color: #f3e4c6;
  background-image: var(--foreground-paper-tile);
  background-size: 560px auto;
  background-repeat: repeat;
  background-clip: padding-box;
  filter: drop-shadow(0 2px 2px #543e264d) drop-shadow(0 14px 12px #583c2859);
  pointer-events: none;
}
body.reference-home .collage-proof article,
body.reference-home .audio-track,
body.reference-home .footer {
  background-color: #f3e4c6;
  background-image: var(--foreground-paper-tile);
  background-size: 560px auto;
}
body.reference-home #availability .buy-card { padding: 0; border: 0; background: none; box-shadow: none; }
body.reference-home #availability .buy-card > .paper-corner { display: none; }
body.reference-home .footer {
  position: relative;
  z-index: var(--plane-data);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 40px max(5vw, calc((100vw - 1320px) / 2));
  border: 0;
  box-shadow: 0 -6px 16px #5a351d26;
}

/* Smaller screens become a readable stack rather than shrinking a desktop photo. */
@media (max-width: 1000px) {
  body.reference-home .header { left: 14%; width: 72%; top: 2vw; }
  body.reference-home .header #site-nav { gap: 18px; font-size: 11px; }
  body.reference-home .ea-header-tools { margin-left: 28px; gap: 6px; }
  body.reference-home .ea-header-tools .ea-language { font-size: 11px; }
  body.reference-home .hero-copy { left: 14%; width: 30.8%; }
  body.reference-home .hero .actions { gap: 7px; }
}
@media (max-width: 1100px) {
  body.reference-home { background-size: auto, 1400px auto; }
  body.reference-home::before {
    height: 100%;
    background-size: max(1400px, 100vw) auto;
    background-position: left top;
    opacity: 1;
    /* At the fixed photo scale, this transition crosses the narrow strip of
       bare wood between the complete vinyl and the earphone cable. */
    mask-image: linear-gradient(to bottom, #000 0, #000 1158px, transparent 1168px);
  }
  body.reference-home .header {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 40px);
    min-height: 76px;
    margin: 17px 20px 0;
    padding: 10px 20px;
    border: 0;
    border-radius: 1px;
    background: var(--desk-paper);
    box-shadow: var(--paper-shadow);
  }
  body.reference-home .header .reference-wordmark { font-size: 29px; }
  body.reference-home .header #site-nav { display: none !important; }
  body.reference-home .ea-header-tools { margin-left: auto; margin-right: 70px; gap: 12px; }
  body.reference-home > .ea-launcher { top: 12px; right: 12px; min-width: 76px; padding-inline: 11px; }
  body.reference-home .ea-header-tools .ea-language { min-height: 44px; font-size: 12px; }
  body.reference-home .ea-header-tools .ea-launcher { min-height: 44px; min-width: 32px; }
  body.reference-home .ea-language-menu { top: 89px; right: 20px; }
  body.reference-home .hero.shell {
    display: flex;
    flex-direction: column;
    width: calc(100% - 40px);
    height: auto;
    margin: 0 20px;
    padding: 26px 0 45px;
    gap: 37px;
  }
  body.reference-home .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    padding: 38px 30px 42px;
    border-radius: 1px 1px 44px 2px;
    background: linear-gradient(135deg, #fff8e5db, #fff4e0e0), url('assets/collage/paper-grain.webp');
    background-color: #fff6e5;
    background-size: auto, 650px;
    box-shadow: var(--paper-shadow);
  }
  body.reference-home .hero-copy .eyebrow { font-size: 10px; }
  body.reference-home .hero h1 { font-size: clamp(51px, 9.2vw, 75px); line-height: .88; margin: 23px 0 20px; }
  body.reference-home:lang(uk) .hero h1 { font-size: clamp(44px, 8.2vw, 64px); }
  body.reference-home .hero-copy .lead { max-width: 28ch; font-size: 21px; line-height: 1.3; }
  body.reference-home .hero .actions { margin-top: 25px; gap: 12px; }
  body.reference-home .hero .actions .button,
  body.reference-home .hero .actions > .text-link:nth-child(2) { min-height: 46px; padding: 11px 20px; font-size: 13px; white-space: normal; }
  body.reference-home .hero-copy > .paper-corner { display: block; --corner-size: 39px; }
  body.reference-home .hero-media {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 10px);
    margin: 4px 0 0;
    padding: 5px;
    border: 7px solid #f6e9d1;
    background: #f3e4c6 var(--foreground-paper-tile) center / 560px;
    box-shadow: 3px 7px 15px #50331e66;
    transform: none;
  }
  body.reference-home .hero-media .gallery { box-shadow: 1px 3px 8px #1e161e4d; }
  body.reference-home .hero-media .gallery-controls { position: relative; left: auto; bottom: auto; justify-content: center; width: 100%; padding-top: 9px; background: none; transform: none; box-shadow: none; }
  body.reference-home .hero-media .gallery-controls button { width: 44px; min-width: 44px; height: 40px; min-height: 40px; color: #38392c; }
  body.reference-home .hero-media [data-gallery-count] { color: #38392c; }
  body.reference-home .hero-media .plugin-details-button { top: -36px; right: 3px; background: #fff7e5; padding: 2px 8px; font-size: 10px; }
  body.reference-home .desk-examples { margin-top: 0; margin-bottom: 75px; padding: 20px; }
  body.reference-home .collage-proof { gap: 17px; padding-left: 35px; }
  /* Stop this viewing window before the photographed drum starts; the cable
     passes behind paper, and the drum appears only once in the lower chapter. */
  body.reference-home .desk-scene-middle { --scene-inset: 0px; height: calc(55vw - 24px); }
  body.reference-home .desk-scene-lower { height: max(350px, 100vw); }
  body.reference-home .desk-scene-lower::before {
    inset: -40px 0 -160px;
    background-position: center calc(40px - 131vw);
    mask-image: none;
  }
  body.reference-home #availability.section.shell { margin: 20px 0 40px; padding: 35px 25px; }
}
@media (max-width: 420px) {
  body.reference-home .header { width: calc(100% - 30px); margin-inline: 15px; padding-inline: 17px; }
  body.reference-home .header .reference-wordmark { font-size: 27px; }
  body.reference-home > .ea-launcher { min-width: 44px; min-height: 44px; padding: 10px; }
  body.reference-home > .ea-launcher > span { display: none; }
  body.reference-home .ea-header-tools { margin-right: 46px; }
  body.reference-home .hero.shell { width: calc(100% - 30px); margin-inline: 15px; }
  body.reference-home .hero-copy { padding: 34px 26px 38px; }
  body.reference-home .hero h1 { font-size: 12.2vw; }
  body.reference-home:lang(uk) .hero h1 { font-size: 11.3vw; }
  body.reference-home .hero-copy .lead { font-size: 19px; }
  body.reference-home .hero .actions .button,
  body.reference-home .hero .actions > .text-link:nth-child(2) { font-size: 12px; padding-inline: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  body.reference-home .hero .actions .button:hover { transform: none; }
}
/* A 4K-width display must not select a 1920px source just because DPR is 1. */
@media (min-width: 1921px) {
  body.reference-home { --reference-scene: url('assets/desk/reference-world-v20-3840.webp'); }
}
