/* Self-hosted Honey Tree fonts. No external requests. */
@font-face{
  font-family:'Cormorant Garamond';
  font-style:normal;
  font-weight:400 600;
  font-display:swap;
  src:url(../fonts/CormorantGaramond-normal-400.woff2) format('woff2');
}
@font-face{
  font-family:'Cormorant Garamond';
  font-style:italic;
  font-weight:400 500;
  font-display:swap;
  src:url(../fonts/CormorantGaramond-italic-400.woff2) format('woff2');
}
@font-face{
  font-family:'Cormorant Garamond';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url(../fonts/CormorantGaramond-normal-600.woff2) format('woff2');
}
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:400 600;
  font-display:swap;
  src:url(../fonts/Inter-normal-567244.woff2) format('woff2');
}

:root{
  --ivory:#f7f1e6;
  --ivory-2:#efe6d4;
  --parchment:#fbf7ef;
  --paper:#fffcf7;
  --espresso:#1c1712;
  --forest:#15261d;
  --forest-2:#1f3a2c;
  --ink:#2a221a;
  --muted:#6b5e4d;
  --line:rgba(28,23,18,.12);
  --gold:#b8892d;
  --gold-soft:#d4b36a;
  --gold-deep:#7a5a18;
  --rust:#7a3220;
  --rust-soft:#f3e4dc;
  --serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --radius:4px;
  --shadow:0 30px 60px -36px rgba(21,38,29,.45);
  --shadow-soft:0 12px 30px -20px rgba(21,38,29,.28);
  --wrap:1120px;
  --header-h:78px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:var(--sans);
  font-size:1.02rem;
  line-height:1.75;
  color:var(--ink);
  background:var(--ivory);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--forest-2);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:var(--gold-deep)}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
h1,h2,h3,h4{
  font-family:var(--serif);
  font-weight:500;
  line-height:1.08;
  letter-spacing:-.01em;
  color:var(--forest);
  margin:0 0 .5em;
}
h1{font-size:clamp(2.05rem,5vw,3.4rem);font-weight:500}
h2{font-size:clamp(1.55rem,3vw,2.15rem)}
h3{font-size:clamp(1.2rem,2vw,1.45rem)}
p{margin:0 0 1.15em}
.wrap{width:min(100% - 2.75rem,var(--wrap));margin-inline:auto}
.skip{
  position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden;
}
.skip:focus{
  left:16px;top:16px;width:auto;height:auto;padding:.4rem .7rem;
  background:var(--paper);z-index:80;color:var(--forest);
}

.site-header{
  background:rgba(247,241,230,.96);
  border-bottom:1px solid var(--line);
  height:var(--header-h);
  display:flex;
  align-items:center;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  width:min(100% - 2rem,1240px);
  margin-inline:auto;
}
.brand{
  display:flex;
  align-items:center;
  gap:.85rem;
  color:var(--forest);
  text-decoration:none;
}
.brand img{width:52px;height:52px}
.brand-name{
  font-family:var(--serif);
  font-size:1.28rem;
  line-height:1.1;
  font-weight:500;
}
.brand-name em{font-style:italic;font-weight:400}
.brand-sub{
  display:block;
  margin-top:.15rem;
  font:600 .62rem/1 var(--sans);
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--gold-deep);
}
.hero{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:2.75rem;
  padding:2.8rem 0 1.5rem;
}
.hero-copy{flex:1 1 22rem;min-width:0;max-width:40rem}
.hero h1{font-size:clamp(3rem,8vw,5.15rem);margin:0;letter-spacing:-.02em}
.hero .subtitle{
  font-family:var(--serif);
  font-style:italic;
  font-weight:400;
  font-size:clamp(1.2rem,2.4vw,1.7rem);
  color:var(--forest);
  margin:.4rem 0 0;
  letter-spacing:.01em;
  max-width:22em;
}
.title-block::after{
  content:"";
  display:block;
  width:4.25rem;
  height:1px;
  background:var(--gold);
  margin:.85rem 0 1.15rem;
}
.gideon-plate{margin:0;flex:0 0 auto;width:min(220px,42vw);text-align:center}
.gideon-plate img{
  width:100%;
  height:auto;
  display:block;
  border-radius:2px;
  border:1px solid var(--line);
  background:var(--paper);
  padding:7px;
  box-shadow:var(--shadow-soft);
}
.gideon-plate figcaption{
  font:600 .62rem/1.4 var(--sans);
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--gold-deep);
  margin-top:.7rem;
}
.gideon-note{
  max-width:40rem;
  border-left:2px solid var(--gold);
  padding:.2rem 0 .2rem 1.15rem;
  margin:0 0 2.1rem;
  color:var(--ink);
  font-size:.98rem;
}
.gideon-note p{margin:0}
.gideon-note strong{
  font-family:var(--serif);
  font-weight:500;
  font-style:italic;
  color:var(--forest);
  letter-spacing:0;
}
@media (max-width:700px){
  .hero{flex-direction:column;align-items:flex-start;gap:1.45rem}
  .gideon-plate{width:min(172px,58vw)}
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.75rem;
  font:600 .7rem/1 var(--sans);
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--gold-deep);
  margin-bottom:1.15rem;
}
.eyebrow::before{content:"";width:28px;height:1px;background:currentColor;opacity:.7}
.lede{font-size:clamp(1.05rem,1.5vw,1.2rem);color:var(--muted);line-height:1.7;max-width:40rem}

.search-panel{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:6px;
  box-shadow:var(--shadow-soft);
  padding:1.15rem 1.2rem 1.05rem;
  margin:1.6rem 0 2rem;
}
.search-label{
  display:block;
  font:600 .7rem/1 var(--sans);
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--gold-deep);
  margin-bottom:.55rem;
}
.search-row{position:relative}
.search-row input[type="search"]{
  width:100%;
  font:400 1.08rem/1.4 var(--sans);
  color:var(--ink);
  background:var(--parchment);
  border:1px solid rgba(28,23,18,.18);
  border-radius:var(--radius);
  padding:.75rem .9rem;
  outline:none;
}
.search-row input[type="search"]:focus{
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(184,137,45,.22);
}
.results{
  list-style:none;
  margin:.45rem 0 0;
  padding:0;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--paper);
  max-height:16rem;
  overflow:auto;
}
.results[hidden]{display:none}
.results li{margin:0;border-top:0}
.results li + li{border-top:1px solid var(--line)}
.results button{
  display:block;
  width:100%;
  text-align:left;
  background:transparent;
  border:0;
  padding:.6rem .85rem;
  font:500 1rem/1.4 var(--sans);
  color:var(--forest);
  cursor:pointer;
}
.results button:hover,
.results button[aria-selected="true"]{background:var(--ivory-2)}
.results .aka{
  display:block;
  font:400 .82rem/1.4 var(--sans);
  color:var(--muted);
  font-weight:400;
}
.results .tag{
  margin-left:.4rem;
  font:600 .62rem/1 var(--sans);
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gold-deep);
}
.search-empty{margin:.7rem 0 0;color:var(--muted);font-size:.95rem}
.search-empty[hidden]{display:none}

.pilot-list{margin:0 0 2.4rem}
.pilot-list h2{margin-bottom:.35rem}
.hint{color:var(--muted);font-size:.95rem;margin-bottom:1rem}
.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chip{
  appearance:none;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:999px;
  padding:.32rem .8rem;
  font:500 .92rem/1.4 var(--sans);
  color:var(--forest-2);
  cursor:pointer;
}
.chip:hover{border-color:var(--gold);color:var(--gold-deep)}

.cultivar-panel{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:6px;
  box-shadow:var(--shadow-soft);
  padding:1.4rem 1.3rem 1.5rem;
  margin:0 0 2.4rem;
}
.cultivar-panel[hidden]{display:none}
.cultivar-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:1rem}
.munq{color:var(--muted);font-size:.9rem;margin:0 0 .4rem}
.badges{display:flex;flex-wrap:wrap;gap:.4rem;margin:.2rem 0 1rem}
.badge{
  font:600 .64rem/1 var(--sans);
  letter-spacing:.1em;
  text-transform:uppercase;
  border:1px solid var(--line);
  border-radius:999px;
  padding:.28rem .55rem;
  color:var(--muted);
}
.caution{
  background:var(--ivory-2);
  border-left:3px solid var(--gold-deep);
  padding:.7rem 1rem;
  margin:0 0 1.15rem;
  color:var(--ink);
  font-size:.95rem;
}
.tree-toolbar{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1rem}
.tool-btn{
  appearance:none;
  background:transparent;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:.35rem .7rem;
  font:600 .78rem/1.2 var(--sans);
  letter-spacing:.04em;
  color:var(--forest-2);
  cursor:pointer;
}
.tool-btn:hover{border-color:var(--gold);color:var(--gold-deep)}
.empty-parents{color:var(--muted);margin:0 0 1rem}

.tree{margin:0;padding:0;list-style:none}
.tree ul{margin:.15rem 0 0 .2rem;padding:0 0 0 1.05rem;list-style:none;border-left:1px solid var(--line)}
.tree li{margin:0;padding:.15rem 0}
.tree-row{display:flex;align-items:flex-start;gap:.35rem;flex-wrap:wrap}
.twisty{
  appearance:none;
  width:1.4rem;height:1.4rem;
  flex:0 0 1.4rem;
  border:1px solid var(--line);
  border-radius:2px;
  background:var(--parchment);
  color:var(--forest);
  cursor:pointer;
  padding:0;
  font:600 .85rem/1.4 var(--sans);
}
.twisty[disabled]{opacity:.35;cursor:default}
.node-name{
  appearance:none;
  background:none;
  border:0;
  padding:0;
  font:500 1.02rem/1.4 var(--serif);
  color:var(--forest);
  cursor:pointer;
  text-align:left;
}
.node-name:hover{color:var(--gold-deep)}
.node-name.current{text-decoration:underline;text-underline-offset:3px}
.leaf-spacer{width:1.4rem;flex:0 0 1.4rem}

.ev{
  display:inline-block;
  font:600 .64rem/1.2 var(--sans);
  letter-spacing:.06em;
  text-transform:uppercase;
  border-radius:999px;
  padding:.22rem .5rem;
  border:1px solid var(--line);
  color:var(--ink);
  background:var(--ivory);
}
.ev-dna-confirmed{background:var(--forest);color:var(--ivory);border-color:var(--forest)}
.ev-dna-supported{background:#e8f0ea;color:var(--forest-2);border-color:#9bb6a3}
.ev-records-only{background:var(--ivory-2);color:var(--muted)}
.ev-conflict{background:var(--rust-soft);color:var(--rust);border-color:#c99a8a}
.ev-inferred{background:transparent;color:var(--muted);border-style:dashed}

.link-note{flex-basis:100%;margin:.1rem 0 .25rem 1.75rem;font-size:.86rem;color:var(--muted);max-width:40rem}
.cycle{font-size:.86rem;color:var(--muted);margin-left:.3rem}

.sources-local{margin-top:1.6rem;padding-top:1.2rem;border-top:1px solid var(--line)}
.sources-local ul, .legend ul, .credits ol{margin:.3rem 0 0;padding:0 0 0 1.15rem}
.sources-local li, .legend li, .credits li{margin:0 0 .45rem}
.cite-table{font-weight:500}

.legend, .credits{margin:0 0 2.4rem}
.legend li, .credits li{max-width:46rem}
.footer{
  border-top:1px solid var(--line);
  padding:1.4rem 0 2.2rem;
  color:var(--muted);
  font-size:.9rem;
}
.footer p{margin:0}

@media (max-width:600px){
  .wrap{width:min(100% - 1.5rem,var(--wrap))}
  .brand img{width:44px;height:44px}
  .cultivar-panel,.search-panel{padding:1rem .9rem}
  .tree ul{padding-left:.8rem}
  .link-note{margin-left:0}
  .credit-id{min-width:0;margin-right:.3rem}
}

.munq-gloss{color:var(--muted);font-size:.95rem;margin:.1rem 0 0;max-width:40rem}
.did-you-mean{margin:.7rem 0 0;color:var(--ink);font-size:.95rem}
.did-you-mean[hidden]{display:none}
.did-you-mean button{
  appearance:none;
  background:none;
  border:0;
  padding:0;
  font:inherit;
  color:var(--forest-2);
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
}
.did-you-mean button:hover{color:var(--gold-deep)}

.conflict-group{margin:.85rem 0 0;padding:.15rem 0 0}
.conflict-heading{
  font:600 .7rem/1.3 var(--sans);
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--rust);
  margin:0 0 .35rem;
}
.tree.conflict-tree{border-left-color:#c99a8a}

.ev-inferred-individual{background:transparent;color:var(--muted);border-style:dashed}

.credit-id{
  display:inline-block;
  font:600 .72rem/1 var(--sans);
  letter-spacing:.08em;
  min-width:3.6rem;
  color:var(--gold-deep);
  margin-right:.45rem;
}
.credits a{font-variant-ligatures:none;overflow-wrap:anywhere}

.sources-local details{margin:.4rem 0 0}
.sources-local summary{
  cursor:pointer;
  font:600 .9rem/1.4 var(--sans);
  color:var(--forest-2);
}
.sources-local summary:hover{color:var(--gold-deep)}
.cite-ids a{margin-right:.05rem}

.credit-id, a.cite-ids{white-space:nowrap}

.credits h3{
  font-size:clamp(1.15rem,2vw,1.35rem);
  margin:1.55rem 0 .45rem;
}
.credits h2 + h3{margin-top:.15rem}
.name-refs{margin:0 0 1.7rem;padding:0 0 0 1.15rem}
.name-refs li{max-width:46rem;margin:0 0 .55rem}

.node-name, .tree, .link-note, .munq, .credit-id, a.cite-ids{
  font-variant-numeric:lining-nums;
}


.updates{margin:0 0 2.4rem}
.updates ol{margin:.3rem 0 0;padding:0 0 0 1.15rem}
.updates li{max-width:46rem;margin:0 0 .45rem}
.footer p + p{margin-top:.35rem}

/* Batch 2 release: all-cultivar list and recorded history */
.chips-scroll{max-height:15.5rem;overflow-y:auto;padding:.6rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper)}
.chips-scroll:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.history{margin-top:1.6rem;padding-top:1.2rem;border-top:1px solid var(--line)}
.history h4{font-family:var(--sans);font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:1.1rem 0 .4rem;font-weight:600}
.history ul{margin:.3rem 0 0;padding:0 0 0 1.15rem}
.history li{margin:0 0 .5rem;overflow-wrap:anywhere}
.history q{font-style:italic}
.hist-notes li{color:var(--rust)}
.hist-label{font-weight:600}
.hist-kind{color:var(--muted)}
.hist-cite{font-size:.85em;color:var(--gold-deep);white-space:nowrap}
.hist-ogl{color:var(--muted);font-size:.85rem;margin-top:1rem}

/* Private picture preview only. Not on the live site. */
.preview-banner{
  background:var(--forest);
  color:var(--ivory);
  text-align:center;
  font:600 .82rem/1.4 var(--sans);
  letter-spacing:.04em;
  padding:.55rem 1rem;
}
.cultivar-head{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem 1.2rem;
}
.cultivar-figure{
  margin:0 0 .2rem;
  max-width:16.5rem;
  flex:0 1 16.5rem;
}
.cultivar-figure[hidden]{display:none}
.cultivar-figure img{
  width:100%;
  height:auto;
  border:1px solid var(--line);
  border-radius:4px;
  background:var(--ivory-2);
}
.cultivar-figure figcaption,
.hist-figure figcaption{
  font-size:.78rem;
  line-height:1.45;
  color:var(--muted);
  margin:.4rem 0 0;
}
.no-picture-yet{
  margin:0 0 1rem;
  color:var(--muted);
  font-size:.95rem;
}
.hist-pictures{
  display:flex;
  flex-wrap:wrap;
  gap:1rem 1.2rem;
  margin:1rem 0 0;
}
.hist-figure{
  margin:0;
  max-width:14rem;
  flex:0 1 14rem;
}
.hist-figure img{
  width:100%;
  height:auto;
  border:1px solid var(--line);
  border-radius:4px;
  background:var(--ivory-2);
}
.hist-label-type{
  display:block;
  font:600 .64rem/1.2 var(--sans);
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gold-deep);
  margin:0 0 .25rem;
}

/* history pass 2026-11-22: folklore label and licence on history items */
.hist-folk { display: inline-block; font-size: 0.78em; font-weight: 600; letter-spacing: 0.02em; padding: 0 0.4em; margin-right: 0.25em; border: 1px solid currentColor; border-radius: 3px; opacity: 0.85; }
.hist-lic { font-size: 0.85em; opacity: 0.75; }
.hist-cite{white-space:normal;overflow-wrap:anywhere}
