/* =========================================================================
   THE WORKING SHORE — studio chronicle, signed design system (prefix ezl-)
   Metaphor: the working shoreline of the Chesapeake. Quay (header),
   channels (nav), broadside (a typed front page, no photograph behind it),
   ledger (section), daybook (one-column dated log), entry (log line),
   rack (section catalogue), plate (catalogue tile), sweep, grain, keel.
   Chart: rose clay paper + cocoa ink-wells + bay blue accent.
   Perpetua display over a Corbel body — a book-face and a shop-face.
   3px corners, 1px hairlines, single-rule imprint line, drop caps,
   small-cap hallmarks, four inline SVG ornaments, auto dark mode.
   ========================================================================= */

:root {

  /* ---- 1. CHART: 3 hues + 1 accent + papers ------------------------------ */
  --shale:         #f0a694;  /* rose clay, the pressed-mud shore at noon    */
  --shale-deep:    #e2967d;  /* wet clay, one tide lower                    */
  --oak:          #4d2b1e;  /* cocoa: quay, keel, studio wells             */
  --oak-deep:     #3a2015;  /* pressed cocoa                              */
  --umber:           #2b1d14;  /* running text, near-black cocoa             */
  --umber-soft:      #573f31;  /* imprints, captions, soft mentions          */
  --harbor:        #2b4560;  /* bay blue: links, rules, focus               */
  --harbor-strong: #22394f;  /* hover and hallmarks, darker in light mode   */
  --seam:          #c07f5c;  /* 1px hairlines on clay                       */
  --crate:         #ecb699;  /* boxed asides                                */
  --broadside-chalk:    #f9eee4;  /* copy on the cocoa front page            */
  --keel-text:     #ecd9c8;  /* keel copy on cocoa                         */
  --keel-link:     #efc9a4;  /* keel links on cocoa                        */

  /* ---- 2. TYPOGRAPHY (composed system stacks, nothing remote) ------------ */
  --masthead-font: "Perpetua", "Perpetua Titling MT", "Book Antiqua", "Times New Roman", Georgia, serif;
  --main-font: Corbel, Seravek, Candara, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --masthead-weight: 600;
  --track-spacing: 0.18em;    /* hallmarks and imprints                     */

  /* Fluid editorial scale. */
  --step-0:    clamp(1.03rem, 0.99rem + 0.2vw, 1.14rem);   /* body            */
  --step-1:    clamp(1.14rem, 1.07rem + 0.35vw, 1.34rem);  /* overture, h3  */
  --step-2:    clamp(1.34rem, 1.2rem + 0.7vw, 1.72rem);    /* sub heads       */
  --step-3:    clamp(1.66rem, 1.38rem + 1.4vw, 2.35rem);   /* section titles  */
  --step-4:    clamp(2.05rem, 1.5rem + 2.8vw, 3.3rem);     /* page h1         */
  --step-hero: clamp(2.35rem, 1.55rem + 4vw, 4.2rem);      /* home h1         */

  --main-leading: 1.66;
  --masthead-leading: 1.12;

  /* ---- 3. RHYTHM AND MEASURES -------------------------------------------- */
  --beam:       64ch;
  --beam-wide:  1340px;
  --leaf-margin:   clamp(1.15rem, 4.2vw, 4.6rem);
  --scupper:        clamp(0.9rem, 2.2vw, 2.1rem);
  --swing:        clamp(2.8rem, 6.5vw, 6.5rem);
  --sheer:        clamp(1.3rem, 3.4vw, 3.8rem);

  /* ---- 4. DETAILS --------------------------------------------------------- */
  --bevel:    3px;
  --scribe:      1px solid var(--seam);
  --scribe-oak: 2px solid var(--oak);
  --drift:    150ms ease;
}

/* Automatic dark mode: the same chart, lamp over the bench. */
@media (prefers-color-scheme: dark) {
  :root {
    --shale:         #221410;
    --shale-deep:    #1a0f0b;
    --oak:          #5c3526;
    --oak-deep:     #452517;
    --umber:           #efdfd2;
    --umber-soft:      #c2a694;
    --harbor:        #a3bdd9;
    --harbor-strong: #c5d6ea;
    --seam:          #4a3227;
    --crate:         #2c1a11;
    --keel-text:     #e9d6c5;
    --keel-link:     #efc9a4;
  }
}

/* =========================================================================
   BASE
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--shale);
  color: var(--umber);
  font-family: var(--main-font);
  font-size: var(--step-0);
  line-height: var(--main-leading);
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; display: block; }

::selection { background: var(--harbor); color: #fff; }
@media (prefers-color-scheme: dark) {
  ::selection { background: var(--harbor); color: #241207; }
}

h1, h2, h3, h4 {
  font-family: var(--masthead-font);
  font-weight: var(--masthead-weight);
  line-height: var(--masthead-leading);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); letter-spacing: 0.001em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.22; }
h4 { font-size: 1rem; }

p, ul, ol { margin: 0 0 1.15em; }
a {
  color: var(--harbor);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--drift);
}
a:hover { color: var(--harbor-strong); }
:focus-visible { outline: 2px solid var(--harbor); outline-offset: 3px; border-radius: 1px; }
hr { border: 0; border-top: var(--scribe); margin: var(--swing) 0; }

/* =========================================================================
   ORNAMENTS — four inline glyphs, reused everywhere (shell, star, burr,
   rosette). CurrentColor only, so both bearings and every context work.
   ========================================================================= */

.ezl-dingbat { display: inline-block; width: 0.62em; height: 0.62em; fill: currentColor; vertical-align: -0.04em; }
.ezl-dingbat--shell { width: 0.72em; height: 0.72em; }
.ezl-dingbat--burr { width: 0.7em; height: 0.7em; }

/* Rosette: a full-width divider, lines and diamond. */
.ezl-rosette {
  display: flex; align-items: center; gap: 0.9rem;
  margin: 2.6rem 0 2.2rem; color: var(--harbor-strong);
}
.ezl-rosette::before, .ezl-rosette::after {
  content: ""; flex: 1; border-top: var(--scribe);
}
.ezl-rosette svg { width: 0.85rem; height: 0.85rem; fill: currentColor; flex: none; }

/* =========================================================================
   FRAME
   ========================================================================= */

/* Gangway link. DO NOT REMOVE. */
.ezl-gangway {
  position: absolute; left: -9999px; top: 0;
  background: var(--umber); color: var(--shale);
  padding: 0.7rem 1.1rem; z-index: 50;
}
.ezl-gangway:focus { left: 0.6rem; top: 0.6rem; }

/* The reach: useful width of any content zone. */
.ezl-reach {
  width: 100%;
  max-width: var(--beam-wide);
  margin-inline: auto;
  padding-inline: var(--leaf-margin);
}
.ezl-stretch { display: block; }

/* --- Quay (header) ------------------------------------------------------- */
.ezl-quay {
  background: var(--oak);
  padding-block: clamp(0.85rem, 1.9vw, 1.35rem);
  border-bottom: 4px solid var(--harbor);
}
.ezl-quay__row {
  display: flex; flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem 1.6rem;
}
.ezl-stem {
  font-family: var(--masthead-font);
  font-size: clamp(1.32rem, 1.1rem + 0.95vw, 1.9rem);
  color: var(--shale); text-decoration: none;
  font-weight: var(--masthead-weight);
}
.ezl-stem .ezl-dingbat--shell { color: var(--keel-link); margin-right: 0.34rem; }
.ezl-stem__tag {
  display: block;
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: var(--track-spacing);
  text-transform: uppercase;
  color: var(--keel-link);
  margin-top: 0.3rem;
}
.ezl-channels ul {
  display: flex; flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
  list-style: none; margin: 0; padding: 0;
}
.ezl-channels a {
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--keel-text); text-decoration: none;
  padding-bottom: 0.22rem; border-bottom: 1px solid transparent;
  transition: color var(--drift), border-color var(--drift);
}
.ezl-channels a:hover, .ezl-channels [aria-current="page"] {
  border-bottom-color: var(--keel-link); color: #fff;
}
@media (prefers-color-scheme: dark) {
  .ezl-channels a:hover, .ezl-channels [aria-current="page"] { color: var(--shale); }
}

/* --- Wake (breadcrumb) ---------------------------------------------------- */
.ezl-wake {
  font-size: 0.8rem; color: var(--umber-soft);
  font-family: var(--main-font);
  padding-block: 1.15rem;
}
.ezl-wake ol {
  display: flex; flex-wrap: wrap; gap: 0.3rem 0.55rem;
  list-style: none; margin: 0; padding: 0;
}
.ezl-wake li + li::before { content: "›"; margin-right: 0.55rem; color: var(--harbor); }

/* =========================================================================
   HOME BROADSIDE — a typed front page, no photograph behind it: solid cocoa,
   one hairline imprint row, Perpetua display, bearings under burrs.
   ========================================================================= */

.ezl-broadside {
  position: relative;
  background: var(--oak);
}
.ezl-broadside__copy {
  position: relative;
  padding-block: clamp(2.4rem, 6vw, 5.2rem);
  color: var(--broadside-chalk);
}
.ezl-broadside__imprint {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.5rem 1.1rem;
  border-top: 1px solid rgba(249, 238, 228, 0.55);
  border-bottom: 1px solid rgba(249, 238, 228, 0.55);
  padding-block: 0.65rem;
  margin-bottom: clamp(1rem, 2.4vw, 1.7rem);
  font-family: var(--main-font);
  font-size: 0.72rem; letter-spacing: var(--track-spacing);
  text-transform: uppercase;
  color: var(--broadside-chalk);
}
.ezl-broadside__imprint .ezl-dingbat { color: var(--keel-link); }
.ezl-broadside__copy h1 { color: inherit; max-width: 24ch; font-size: var(--step-hero); }
.ezl-broadside__tiller {
  margin: 1rem 0 0; max-width: 58ch;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.14rem);
  line-height: 1.55;
}
.ezl-broadside__bearings {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.55rem;
  margin: 1.2rem 0 0 !important;
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 0.74rem !important;
  letter-spacing: var(--track-spacing);
  text-transform: uppercase;
  color: var(--keel-link) !important;
}
.ezl-broadside__bearings .ezl-dingbat { color: var(--harbor); }

/* =========================================================================
   LEDGER: a section of any page
   ========================================================================= */

.ezl-ledger { margin-top: clamp(1.9rem, 4vw, 3.2rem); }
.ezl-ledger__head {
  display: flex; flex-wrap: wrap;
  align-items: end; justify-content: space-between;
  gap: 0.6rem 2rem;
  border-top: var(--scribe-oak);
  padding-top: 0.85rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.6rem);
}
.ezl-ledger__title {
  max-width: 30ch;
  display: flex; align-items: baseline; gap: 0.6rem;
}
.ezl-ledger__title .ezl-dingbat { color: var(--harbor); align-self: center; }
.ezl-ledger__note {
  font-size: 0.83rem; color: var(--umber-soft); max-width: 42ch; margin: 0;
  font-family: var(--main-font);
}

/* Hallmark: small-cap label above a headline. */
.ezl-hallmark {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 0.68rem; letter-spacing: var(--track-spacing);
  text-transform: uppercase; color: var(--harbor-strong);
  margin-bottom: 0.55rem;
}
.ezl-hallmark::before {
  content: ""; width: 1.6rem; border-top: 2px solid var(--harbor);
}

/* =========================================================================
   RACK: the section catalogue grid (deep pages only, never the home page)
   ========================================================================= */

.ezl-rack {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--scupper);
  align-items: start;
  list-style: none; margin: 0; padding: 0;
}
.ezl-plate { grid-grain: span 3; margin: 0; position: relative; }
.ezl-plate--full  { grid-grain: span 6; }
.ezl-plate--wide  { grid-grain: span 4; }
.ezl-plate--half  { grid-grain: span 3; }
.ezl-plate--third { grid-grain: span 2; }

/* Vertical misalignment: breaks the regular grid. */
.ezl-plate--drop  { margin-top: var(--sheer); }
.ezl-plate--drop2 { margin-top: calc(var(--sheer) * 2); }

.ezl-plate__window { overflow: hidden; background: var(--oak); border-radius: var(--bevel); }
.ezl-plate__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--drift), filter var(--drift);
}
.ezl-plate__window--portrait { aspect-ratio: 3 / 4; }
.ezl-plate__window--landscape { aspect-ratio: 4 / 3; }
.ezl-plate__window--square   { aspect-ratio: 1 / 1; }
.ezl-plate__window--pano     { aspect-ratio: 21 / 9; }
.ezl-plate__window--tall     { aspect-ratio: 2 / 3; }

/* Caption: the plate's legend under the image, never a slab. */
.ezl-plate__caption { padding-top: 0.75rem; margin-top: 0.75rem; border-top: var(--scribe); }
.ezl-plate__num {
  display: inline-block;
  font-family: var(--masthead-font);
  font-size: 0.78rem; letter-spacing: 0.22em;
  color: var(--harbor-strong);
  margin-bottom: 0.4rem;
}
.ezl-plate__num::after {
  content: ""; display: inline-block; width: 1.4rem;
  border-top: 1px solid var(--seam);
  margin-left: 0.5rem; vertical-align: 0.24em;
}
.ezl-plate__title {
  font-family: var(--masthead-font);
  font-size: var(--step-1);
  line-height: 1.2; margin: 0;
}
.ezl-plate--full .ezl-plate__title,
.ezl-plate--wide .ezl-plate__title { font-size: var(--step-2); }
.ezl-plate__link { color: var(--umber); text-decoration: none; transition: color var(--drift); }
.ezl-plate__link:hover { color: var(--harbor); }
.ezl-plate__link::after { content: ""; position: absolute; inset: 0; }
.ezl-plate:hover .ezl-plate__img { transform: scale(1.015); }
.ezl-plate__gloss {
  margin: 0.45rem 0 0; color: var(--umber-soft); font-size: 0.87rem;
  line-height: 1.5; max-width: 46ch;
}
.ezl-plate__tag {
  display: flex; align-items: center; gap: 0.45rem;
  margin: 0.6rem 0 0;
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--harbor-strong);
}
.ezl-plate__tag .ezl-dingbat { color: var(--harbor); }
.ezl-rack--dense { --scupper: clamp(0.7rem, 1.5vw, 1.3rem); }

/* =========================================================================
   DAYBOOK: the dated log of the home page — one column, thumbnails aside,
   the way a bench log is read top to bottom.
   ========================================================================= */

.ezl-daybook {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  list-style: none; margin: 0; padding: 0;
}
.ezl-entry {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: clamp(0.9rem, 2vw, 1.6rem);
  padding-block: clamp(1rem, 2.2vw, 1.4rem);
  border-top: var(--scribe);
}
.ezl-daybook > .ezl-entry:first-child { border-top: var(--scribe-oak); }
.ezl-entry__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--oak);
  border-radius: var(--bevel);
}
.ezl-imprint {
  display: flex; align-items: center; gap: 0.45rem;
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--harbor-strong); margin: 0 0 0.32rem;
}
.ezl-imprint::before {
  content: ""; width: 0.5rem; height: 0.5rem; flex: none;
  background: var(--harbor);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.ezl-entry h3 { margin: 0 0 0.35rem; }
.ezl-entry h3 a { color: var(--umber); text-decoration: none; }
.ezl-entry h3 a:hover { color: var(--harbor); }
.ezl-entry p { margin: 0; color: var(--umber-soft); font-size: 0.93rem; line-height: 1.52; max-width: 56ch; }

/* Index bearing of the daybook: the ruled register of the workrooms,
   number in the margin, no thumbnails, hairline between every line. */
.ezl-daybook--index .ezl-entry {
  grid-template-columns: 4.5ch 1fr;
  align-items: baseline;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.ezl-daybook--index .ezl-plate__num { margin: 0; }
.ezl-daybook--index .ezl-entry h3 { font-size: var(--step-2); margin-bottom: 0.4rem; }

/* =========================================================================
   DEEP PAGES (article, bench, trust)
   ========================================================================= */

.ezl-prelude {
  padding-block: clamp(1.4rem, 3.4vw, 2.9rem) clamp(1.2rem, 2.6vw, 2.2rem);
  max-width: 54rem;
}
.ezl-prelude h1 { max-width: 26ch; }
.ezl-prelude__overture {
  font-family: var(--masthead-font);
  font-size: var(--step-1);
  line-height: 1.42;
  color: var(--umber-soft); margin-top: 1.1rem; max-width: 58ch;
}
.ezl-signature {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem;
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--umber-soft);
  border-top: var(--scribe); border-bottom: var(--scribe);
  padding-block: 0.55rem;
}
.ezl-signature a { color: var(--umber-soft); }
.ezl-signature a:hover { color: var(--harbor); }

/* Sweep: full-width image, direct child of .ezl-stretch. */
.ezl-sweep { margin: 0; }
.ezl-sweep__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--oak); }
.ezl-sweep__caption {
  max-width: var(--beam-wide); margin-inline: auto;
  padding: 0.75rem var(--leaf-margin) 0;
  font-size: 0.8rem; color: var(--umber-soft);
  font-style: italic;
}

/* Reading grain. */
.ezl-grain { max-width: var(--beam); margin-top: var(--swing); }
.ezl-grain h2 { margin-top: 2.4rem; }
.ezl-grain h3 { margin-top: 1.9rem; }
.ezl-grain h2:first-child, .ezl-grain h3:first-child { margin-top: 0; }
.ezl-grain ul, .ezl-grain ol { padding-left: 1.15rem; }
.ezl-grain li { margin-bottom: 0.42em; }
.ezl-grain li::marker { color: var(--harbor-strong); }

/* Drop cap: the bench lettrine, on the opening paragraph. */
.ezl-grain > p:first-of-type::first-letter {
  font-family: var(--masthead-font);
  font-weight: var(--masthead-weight);
  float: left;
  font-size: 3.05em;
  line-height: 0.8;
  padding: 0.06em 0.14em 0 0;
  color: var(--harbor-strong);
}

/* Exergue: lift quote with a thick left rule. */
.ezl-lift {
  margin: 2.2rem 0; padding-left: 1.4rem;
  border-left: 4px solid var(--harbor);
  font-family: var(--masthead-font);
  font-size: clamp(1.18rem, 1.02rem + 0.8vw, 1.6rem);
  line-height: 1.36;
}
.ezl-bay {
  background: var(--crate);
  border-top: 2px solid var(--oak);
  padding: clamp(1.1rem, 2.8vw, 1.9rem); margin: 2.4rem 0;
  border-radius: 0 0 var(--bevel) var(--bevel);
}
.ezl-bay > :last-child { margin-bottom: 0; }
.ezl-bay h3 { font-size: var(--step-2); }

/* Tables: always inside a roll container of their own. */
.ezl-roll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 2.2rem 0; border-top: var(--scribe-oak); border-bottom: var(--scribe);
}
.ezl-roll table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.92rem; }
.ezl-roll th, .ezl-roll td {
  text-align: left; padding: 0.62rem 1rem 0.62rem 0;
  border-bottom: 1px solid var(--seam); vertical-align: top;
}
.ezl-roll th {
  font-family: var(--main-font);
  font-weight: 600; font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--umber-soft);
}
.ezl-roll tr:last-child td { border-bottom: 0; }

/* Read onward. */
.ezl-onward { border-top: var(--scribe-oak); margin-top: var(--swing); padding-top: 1.15rem; }
.ezl-onward h2 { font-size: var(--step-2); }
.ezl-onward ul { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.ezl-onward li { margin-bottom: 0.6rem; }

/* =========================================================================
   KEEL (footer)
   ========================================================================= */

.ezl-keel {
  margin-top: var(--swing);
  background: var(--oak);
  border-top: 4px solid var(--harbor);
  padding-block: clamp(2.2rem, 5.5vw, 4rem);
  color: var(--keel-text);
}
.ezl-keel__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: clamp(1.5rem, 4vw, 3.4rem);
}
.ezl-keel h2 {
  font-size: 1.15rem; margin-bottom: 0.85rem; color: var(--shale);
}
.ezl-keel ul { list-style: none; margin: 0; padding: 0; }
.ezl-keel li { margin-bottom: 0.48rem; }
.ezl-keel a {
  color: var(--keel-link); text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--drift);
}
.ezl-keel a:hover { border-bottom-color: var(--keel-link); }
.ezl-keel p { color: var(--keel-text); font-size: 0.9rem; }
.ezl-keel__base {
  margin-top: clamp(1.8rem, 4.5vw, 3rem); padding-top: 1.1rem;
  border-top: 1px solid rgba(249, 238, 228, 0.28);
  font-size: 0.75rem; color: var(--keel-text);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
}
.ezl-keel__base .ezl-dingbat { color: var(--keel-link); }

/* =========================================================================
   RESPONSIVE: the rack folds, no horizontal overflow anywhere
   ========================================================================= */

@media (max-width: 1020px) {
  .ezl-daybook { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .ezl-rack { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ezl-plate, .ezl-plate--half { grid-grain: span 2; }
  .ezl-plate--wide, .ezl-plate--full { grid-grain: span 4; }
  .ezl-plate--drop, .ezl-plate--drop2 { margin-top: calc(var(--sheer) / 2); }
}
@media (max-width: 620px) {
  .ezl-rack { grid-template-columns: minmax(0, 1fr); }
  .ezl-plate, .ezl-plate--third, .ezl-plate--half,
  .ezl-plate--wide, .ezl-plate--full { grid-grain: span 1; }
  .ezl-plate--drop, .ezl-plate--drop2 { margin-top: 0; }
  .ezl-plate__window--tall { aspect-ratio: 3 / 4; }
  .ezl-entry { grid-template-columns: 1fr; }
  .ezl-entry__thumb { max-width: 320px; }
  .ezl-daybook--index .ezl-entry { grid-template-columns: 4.5ch 1fr; }
  .ezl-grain > p:first-of-type::first-letter { font-size: 2.6em; }
}

/* =========================================================================
   PRINT: ink on paper, chrome away, the chronicle becomes a chronicle
   ========================================================================= */

@media print {
  :root { --shale: #fff; --umber: #000; --umber-soft: #333; --seam: #bbb; --crate: #f2f2f2;
          --oak: #000; --harbor: #000; --harbor-strong: #000; }
  .ezl-quay, .ezl-keel, .ezl-gangway { display: none; }
  .ezl-broadside { background: #fff; }
  .ezl-broadside__copy { color: #000; padding-block: 0; }
  .ezl-broadside__imprint { border-color: #000; }
  body { font-size: 11pt; line-height: 1.45; }
  .ezl-broadside__copy h1 { font-size: 22pt; }
  a { color: #000; text-decoration: underline; }
  .ezl-grain { max-width: 100%; }
  .ezl-plate__window, .ezl-entry__thumb, .ezl-sweep__img { break-inside: avoid; }
}

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .ezl-plate:hover .ezl-plate__img { transform: none; }
}
