/* Numbered specimen record, based on the archival report reference. */
#main.detail-page .specimen-report {
  --report-ink: #183b3b;
  --report-muted: #65736c;
  --report-line: rgba(73, 91, 77, .18);
  --section-accent-width: 32%;
  --section-content-width: 68%;
  --section-accent-surface: rgba(210, 185, 140, .215);
  --section-content-surface: rgba(250, 248, 241, .86);
  position: relative;
  margin-top: 0;
  color: var(--report-ink);
  background: transparent;
  font-family: Anuphan, 'Anuphan', sans-serif;
  isolation: isolate;
}

#main.detail-page .specimen-report-row {
  position: relative;
  min-height: 330px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: clamp(14px, 1.45vw, 26px);
  padding: 48px clamp(36px, 4.5vw, 72px);
  border-bottom: 0;
  overflow: hidden;
}

/* Shared 32/68 archival-paper rhythm for Sections 01–05. */
@media (min-width: 768px) {
  #main.detail-page .specimen-report-row {
    margin-bottom: 34px;
    background: var(--section-content-surface);
    box-shadow: 0 7px 20px rgba(74, 62, 40, .055);
  }

  #main.detail-page .specimen-report-row:last-child {
    margin-bottom: 0;
  }

  #main.detail-page .specimen-report-row::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    width: var(--section-accent-width);
    background: var(--section-accent-surface);
    pointer-events: none;
  }

  #main.detail-page .specimen-report-row:nth-child(odd)::before {
    left: 0;
  }

  #main.detail-page .specimen-report-row:nth-child(even)::before {
    right: 0;
  }

  #main.detail-page .specimen-report-row--type::after {
    content: '';
    position: absolute;
    z-index: 0;
    top: 48px;
    right: var(--section-accent-width);
    bottom: 48px;
    width: 34%;
    background: url('../img/ChatGPT Image Sep 25, 2026, 11_35_43 PM.png') 58% center / 690px auto no-repeat;
    -webkit-mask-image: linear-gradient(to right, #000 0 82%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0 82%, transparent 100%);
    opacity: .3;
    pointer-events: none;
  }
}

#main.detail-page .specimen-report-number {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: clamp(18px, 2.8vw, 46px);
  margin: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(60, 76, 70, .11);
  font: 900 clamp(100px, 9vw, 152px)/.8 Anuphan, sans-serif;
  letter-spacing: -.08em;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

#main.detail-page .specimen-report-row:nth-child(even) .specimen-report-number {
  right: clamp(18px, 2.8vw, 46px);
  left: auto;
  text-align: right;
}

#main.detail-page .specimen-report-heading {
  position: relative;
  z-index: 1;
  grid-column: 1 / 5;
  grid-row: 1;
  align-self: center;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#main.detail-page .specimen-report-row:nth-child(even) .specimen-report-heading {
  grid-column: 9 / 13;
  grid-row: 1;
  align-items: flex-end;
  text-align: right;
}

#main.detail-page .specimen-report-eyebrow {
  order: 1;
  margin-bottom: 8px;
  color: #7b8079;
  font: 500 11px/1.25 Anuphan, sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
}

#main.detail-page .specimen-report-heading::after {
  content: '';
  order: 3;
  display: block;
  width: 96px;
  height: 9px;
  margin-top: 16px;
  background: repeating-linear-gradient(-45deg, transparent 0 4px, rgba(64, 77, 71, .30) 4px 5px);
}

#main.detail-page .specimen-report-heading h2 {
  order: 2;
  margin: 0;
  color: #202426;
  font: 800 clamp(30px, 2.25vw, 42px)/1.02 Anuphan, sans-serif;
  letter-spacing: -.045em;
  text-transform: none;
}

#main.detail-page .specimen-report-heading p {
  order: 4;
  max-width: 300px;
  margin: 18px 0 0;
  color: #5d6560;
  font: 400 14px/1.55 'Anuphan', sans-serif;
}

#main.detail-page .specimen-report-facts {
  display: grid;
  margin: 0;
}

#main.detail-page .collection-sand {
  position: relative;
  z-index: 1;
  grid-column: 1 / 5;
  grid-row: 1;
  align-self: start;
  min-width: 0;
}

#main.detail-page .collection-content {
  position: relative;
  top: 8px;
  z-index: 1;
  grid-column: 5 / 13;
  grid-row: 1;
  justify-self: start;
  align-self: start;
  width: 100%;
  min-width: 0;
}

#main.detail-page .collection-sand .specimen-report-heading,
#main.detail-page .collection-sand .specimen-report-quote {
  grid-column: auto;
  grid-row: auto;
}

/* Independent information grid: the outer report grid positions this wrapper
   as one object; only this grid controls the five Collection fields. */
#main.detail-page .collection-info {
  display: grid;
  width: min(100%, 680px);
  min-height: 261px;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: clamp(32px, 4vw, 56px);
  row-gap: 18px;
  align-content: start;
}

#main.detail-page .specimen-report-facts > div {
  min-width: 0;
  min-height: 72px;
  padding: 0 clamp(12px, 1.5vw, 24px);
  border-left: 1px solid #aab09d;
}

#main.detail-page .specimen-report-facts > div:first-child { border-left: 0; padding-left: 0; }
#main.detail-page .specimen-report dt,
#main.detail-page .specimen-report dd { margin: 0; }

#main.detail-page .specimen-report dt {
  color: #173c3d;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

#main.detail-page .specimen-report dt span {
  display: block;
  color: #3f5d59;
  font: 400 11px/1.25 'Anuphan', sans-serif;
}

#main.detail-page .specimen-report dd {
  margin-top: 10px;
  color: #173c3d;
  font-size: 12px;
  line-height: 1.45;
}

/* Section 01 reads as a compact editorial information cluster, not a table. */
#main.detail-page .specimen-report-facts--collection > div {
  min-height: 0;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  padding: 0;
  border: 0;
  text-align: left;
}

#main.detail-page .specimen-report-facts--collection > div:nth-child(1) { grid-column: 1 / -1; grid-row: 1; }
#main.detail-page .specimen-report-facts--collection > div:nth-child(2) { grid-column: 1; grid-row: 2; }
#main.detail-page .specimen-report-facts--collection > div:nth-child(3) { grid-column: 2; grid-row: 2; }
#main.detail-page .specimen-report-facts--collection > div:nth-child(4) { grid-column: 1 / -1; grid-row: 3; }
#main.detail-page .specimen-report-facts--collection > div:nth-child(5) { grid-column: 1 / -1; grid-row: 4; }

#main.detail-page .specimen-report-facts--collection dt {
  display: grid;
  gap: 3px;
  color: #65736c;
}

#main.detail-page .specimen-report-facts--collection dt strong {
  color: #303942;
  font: 600 13px/1.3 Anuphan, 'Anuphan', sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#main.detail-page .specimen-report-facts--collection dt span {
  color: #7a8580;
  font: 400 12px/1.35 'Anuphan', sans-serif;
}

#main.detail-page .specimen-report-facts--collection dd {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
  color: #173c3d;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

#main.detail-page .specimen-report-quote {
  position: relative;
  z-index: 1;
  grid-column: 1 / 5;
  grid-row: 2;
  align-self: start;
  margin: 22px 0 0;
  color: #929387;
  font: italic 16px/1.35 'Cormorant Garamond', Georgia, serif;
}

#main.detail-page .specimen-report-row:nth-child(even) .specimen-report-quote {
  grid-column: 9 / 13;
  text-align: right;
}

#main.detail-page .specimen-report-flower {
  grid-column: 5 / 7;
  grid-row: 1 / 3;
}

#main.detail-page .specimen-report-row--location {
  min-height: 360px;
}

#main.detail-page .specimen-report-illustration {
  position: relative;
  align-self: stretch;
  min-height: 130px;
}

#main.detail-page .specimen-report-map {
  z-index: 1;
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  width: 145px;
  min-height: 175px;
  background:
    url('../img/maple.png') center / contain no-repeat;
  filter: grayscale(1) sepia(.3) hue-rotate(55deg) saturate(.65);
  opacity: .76;
}

#main.detail-page .specimen-report-map i {
  position: absolute;
  left: 53%;
  top: 45%;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #174a47;
  color: #f6f3df;
  font-size: 13px;
  transform: translate(-50%, -50%);
  filter: none;
}

#main.detail-page .specimen-report-facts--location {
  z-index: 1;
  grid-column: 3 / 9;
  grid-row: 1 / 3;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 40px);
  row-gap: 18px;
  padding-left: 22px;
  border-left: 1px solid #aab09d;
}

#main.detail-page .specimen-report-facts--location > div {
  min-height: 0;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  padding: 0;
  border: 0;
}

#main.detail-page .specimen-report-facts--location > div:last-child { grid-column: 1 / -1; }

#main.detail-page .specimen-report-facts--location dt {
  display: grid;
  gap: 3px;
}

#main.detail-page .specimen-report-facts--location dt strong {
  color: #303942;
  font: 600 13px/1.3 Anuphan, 'Anuphan', sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#main.detail-page .specimen-report-facts--location dt span {
  color: #7a8580;
  font: 400 12px/1.35 'Anuphan', sans-serif;
}

#main.detail-page .specimen-report-facts--location dd {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
  color: #173c3d;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

#main.detail-page .specimen-report-row--determination {
  min-height: 330px;
}

#main.detail-page .specimen-report-flower,
#main.detail-page .specimen-report-seed {
  z-index: 1;
  background: url('../img/curcuma-140807-illustration.svg') 37% 34% / 300% auto no-repeat;
  filter: sepia(.3) saturate(.72);
}

#main.detail-page .specimen-report-determination {
  z-index: 1;
  grid-column: 5 / 13;
  grid-row: 1 / 3;
  position: relative;
  padding-left: 38px;
  border-left: 1px solid #7a8f73;
}

#main.detail-page .specimen-report-determination::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #355f2a;
  box-shadow: 0 82px 0 -2px #f6f4e9, 0 82px 0 0 #70886d;
}

#main.detail-page .specimen-report-kicker {
  margin: 0 0 10px;
  color: #3d6936;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

#main.detail-page .specimen-report-determination dl {
  display: grid;
  row-gap: 18px;
  margin: 0;
}

#main.detail-page .specimen-report-determination dl > div {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

#main.detail-page .specimen-report-determination dt {
  display: grid;
  gap: 3px;
}

#main.detail-page .specimen-report-determination dt strong {
  color: #303942;
  font: 600 13px/1.3 Anuphan, 'Anuphan', sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#main.detail-page .specimen-report-determination dt span {
  color: #7a8580;
  font: 400 12px/1.35 'Anuphan', sans-serif;
}

#main.detail-page .specimen-report-determination dd {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
  color: #173c3d;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
#main.detail-page .specimen-report-determination em { text-decoration: underline; text-decoration-color: #a27c65; text-underline-offset: 3px; }

#main.detail-page .determination-history-placeholder {
  position: relative;
  z-index: 1;
  grid-column: 5 / 13;
  grid-row: 1 / 3;
  align-self: end;
  justify-self: end;
  display: grid;
  gap: 2px;
  padding: 7px 0;
  color: #52645d;
  text-align: right;
  pointer-events: none;
  user-select: none;
}

#main.detail-page .determination-history-placeholder span {
  font: 600 11px/1.25 Anuphan, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#main.detail-page .determination-history-placeholder b {
  margin-left: 5px;
  font-weight: 500;
}

#main.detail-page .determination-history-placeholder small {
  color: #7a8580;
  font: 400 11px/1.35 'Anuphan', sans-serif;
}

#main.detail-page .specimen-report-row--type {
  min-height: 330px;
}

#main.detail-page .type-botanical {
  position: relative;
  z-index: 1;
  grid-column: 1 / 4;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: start;
  width: clamp(130px, 11vw, 160px);
  height: 170px;
  display: grid;
  place-items: center;
  overflow: visible;
}

#main.detail-page .type-botanical::before {
  content: '';
  position: absolute;
  z-index: 0;
  right: 3px;
  bottom: -16px;
  width: 138px;
  height: 138px;
  border: 1px solid rgba(190, 156, 96, .42);
  border-radius: 50%;
  background: rgba(218, 193, 145, .18);
}

#main.detail-page .type-botanical::after {
  content: '';
  position: absolute;
  z-index: 0;
  right: 18px;
  bottom: 35px;
  width: 58px;
  height: 38px;
  border-top: 1px solid rgba(146, 132, 101, .16);
  transform: rotate(-27deg);
}

#main.detail-page .type-botanical img {
  position: relative;
  z-index: 1;
  width: 171px;
  height: 260px;
  object-fit: contain;
  filter: sepia(.14) saturate(.62) contrast(.9);
  opacity: .82;
  transform: translate(10px, -45px) rotate(-4deg);
}

#main.detail-page .specimen-report-type-card {
  position: relative;
  z-index: 1;
  grid-column: 4 / 8;
  grid-row: 1 / 3;
  display: grid;
  align-content: center;
  row-gap: 18px;
  margin: 0;
}

#main.detail-page .specimen-report-type-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -20px;
  width: 1px;
  height: 100px;
  background: rgba(116, 122, 101, .36);
  transform: translateY(-50%);
  pointer-events: none;
}

#main.detail-page .specimen-report-type-card > div {
  min-width: 0;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

#main.detail-page .specimen-report-type-card dt {
  display: grid;
  gap: 3px;
}

#main.detail-page .specimen-report-type-card dt strong {
  color: #303942;
  font: 600 13px/1.3 Anuphan, 'Anuphan', sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#main.detail-page .specimen-report-type-card dt span {
  color: #7a8580;
  font: 400 12px/1.35 'Anuphan', sans-serif;
}

#main.detail-page .specimen-report-type-card dd {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
  color: #173c3d;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

#main.detail-page .type-ribbon {
  position: absolute;
  z-index: 1;
  top: 0;
  right: calc(var(--section-accent-width) + 26px);
  width: 88px;
  height: calc(84% + 20px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto minmax(0, 1fr);
  justify-items: center;
  padding: 24px 8px 25px;
  color: #3f513d;
  background:
    radial-gradient(ellipse 85% 18% at 16% 3%, rgba(148,103,43,.235), transparent 68%),
    radial-gradient(ellipse 72% 23% at 88% 9%, rgba(202,166,91,.21), transparent 72%),
    radial-gradient(ellipse 105% 19% at 42% 98%, rgba(153,111,49,.247), transparent 70%),
    radial-gradient(ellipse 54% 14% at 84% 91%, rgba(218,180,102,.22), transparent 73%),
    radial-gradient(ellipse 38% 11% at 7% 77%, rgba(131,91,43,.105), transparent 76%),
    radial-gradient(ellipse 29% 8% at 73% 24%, rgba(226,194,130,.14), transparent 78%),
    radial-gradient(circle at 19% 31%, rgba(190,146,75,.12), transparent 28%),
    radial-gradient(circle at 77% 62%, rgba(157,116,56,.1), transparent 31%),
    radial-gradient(ellipse at center, rgba(255,251,237,.42) 12%, transparent 62%),
    linear-gradient(90deg, rgba(129,94,43,.1), transparent 16%, transparent 82%, rgba(125,89,39,.09)),
    linear-gradient(176deg, #eee0c2 0%, #f6ecd7 31%, #ead9b8 100%);
  border: 1px solid rgba(137,116,76,.26);
  box-shadow:
    inset 1px 0 rgba(255,255,255,.45),
    inset -1px 0 rgba(133,108,65,.06),
    0 5px 12px rgba(72,61,39,.09);
  clip-path: polygon(0 0, 100% 0, 100% 91%, 50% 100%, 0 91%);
  pointer-events: none;
}

#main.detail-page .type-ribbon::before {
  content: none;
}

#main.detail-page .type-ribbon__stamp {
  grid-row: 1;
  align-self: start;
  justify-self: center;
  display: grid;
  box-sizing: border-box;
  width: 82%;
  margin-right: 0;
  margin-left: 0;
  padding-top: 5px;
  color: rgba(57, 72, 48, .76);
  background:
    radial-gradient(ellipse at 22% 28%, rgba(84,96,63,.88), rgba(57,72,48,.62) 42%, transparent 74%),
    radial-gradient(ellipse at 78% 72%, rgba(68,81,52,.75), rgba(83,72,46,.58) 48%, transparent 76%),
    rgba(58,73,48,.7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: contrast(.92);
  text-align: center;
  transform: rotate(-5deg);
  text-transform: uppercase;
}

#main.detail-page .type-ribbon__stamp strong,
#main.detail-page .type-ribbon__stamp small {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  line-height: .82;
}

#main.detail-page .type-ribbon__stamp strong {
  font-size: 19px;
  letter-spacing: .045em;
}

#main.detail-page .type-ribbon__stamp small {
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: .025em;
}

#main.detail-page .type-ribbon--candidate-b .type-ribbon__stamp--a {
  display: none;
}

#main.detail-page .type-ribbon__stamp-b {
  position: absolute;
  top: 24px;
  left: 50%;
  width: 51px;
  height: 51px;
  display: grid;
  place-items: center;
  color: rgba(69, 77, 52, .76);
  opacity: .78;
  transform: translateX(-50%) rotate(-4deg);
}

#main.detail-page .type-ribbon__stamp-b::before,
#main.detail-page .type-ribbon__stamp-b::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: conic-gradient(
    rgba(71,78,51,.88) 0 13%, transparent 13.5% 15%,
    rgba(71,78,51,.78) 15.5% 57%, transparent 57.5% 59.5%,
    rgba(71,78,51,.84) 60% 87%, transparent 87.5% 89%,
    rgba(71,78,51,.8) 89.5% 100%
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.2px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.2px), #000 0);
}

#main.detail-page .type-ribbon__stamp-b::before {
  inset: 0;
}

#main.detail-page .type-ribbon__stamp-b::after {
  inset: 5px;
  opacity: .72;
  transform: rotate(19deg);
}

#main.detail-page .type-ribbon__stamp-b strong {
  position: relative;
  z-index: 1;
  font: 700 17px/.9 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .035em;
}

#main.detail-page .type-ribbon__quote {
  position: absolute;
  top: 104px;
  right: 0;
  left: 0;
  box-sizing: border-box;
  padding: 0 7px;
  color: rgba(92, 91, 72, .66);
  font: italic 400 9px/1.4 'Cormorant Garamond', Georgia, serif;
  text-align: center;
}

#main.detail-page .type-ribbon__botanical {
  grid-row: 4;
  position: relative;
  top: -18px;
  align-self: end;
  justify-self: center;
  display: block;
  box-sizing: border-box;
  width: 128px;
  height: 64px;
  margin-right: 0;
  margin-left: 0;
  background: url('../img/ChatGPT Image Sep 19, 2026, 11_29_07 PM.png') center / auto 112% no-repeat;
  filter: sepia(.25) saturate(.62);
  opacity: .72;
  transform: rotate(-90deg);
}

#main.detail-page .specimen-report-row--about {
  min-height: 340px;
  padding-bottom: 58px;
}

#main.detail-page .specimen-report-about-copy {
  position: relative;
  z-index: 1;
  grid-column: 5 / 13;
  grid-row: 1 / 3;
  align-self: start;
  box-sizing: border-box;
  min-height: 208px;
  margin-top: 18px;
  padding: 31px 36px 25px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse 46% 13% at 10% 1%, rgba(255,255,250,.58), transparent 72%),
    radial-gradient(ellipse 52% 15% at 94% 2%, rgba(255,255,250,.46), transparent 74%),
    radial-gradient(ellipse 92% 18% at 48% 100%, rgba(255,254,247,.34), transparent 45%),
    radial-gradient(ellipse 78% 16% at 58% 98%, rgba(210,181,113,.052), transparent 72%),
    radial-gradient(ellipse 62% 42% at 54% 72%, rgba(222,196,132,.024), transparent 74%),
    radial-gradient(ellipse at 13% 7%, rgba(219,190,121,.042), transparent 30%),
    radial-gradient(ellipse at 88% 91%, rgba(204,174,108,.036), transparent 33%),
    radial-gradient(circle at 62% 34%, rgba(255,254,248,.42), transparent 38%),
    linear-gradient(174deg, rgba(255,253,245,.985), rgba(250,244,226,.965));
  box-shadow: 0 1px 2px rgba(72,61,42,.025);
  transform: rotate(-.45deg);
}

#main.detail-page .specimen-report-about-copy::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 5px;
  left: 43%;
  width: 24px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(72,57,35,.13), transparent 68%);
  pointer-events: none;
}

#main.detail-page .specimen-report-about-copy > * {
  position: relative;
  z-index: 1;
}

#main.detail-page .specimen-note-lift {
  position: absolute;
  z-index: 0;
  right: 0;
  left: 0;
  pointer-events: none;
}

#main.detail-page .specimen-note-lift--top {
  top: -2px;
  height: 16px;
  border-radius: 52% 48% 0 0 / 18% 25% 0 0;
  background:
    radial-gradient(ellipse 18% 110% at 44% 13%, rgba(107,82,45,.075), transparent 68%),
    radial-gradient(ellipse 44% 76% at 6% 0, rgba(255,255,251,.42), transparent 73%),
    radial-gradient(ellipse 48% 82% at 96% 0, rgba(255,255,251,.36), transparent 75%),
    linear-gradient(to bottom, rgba(255,255,251,.4), rgba(249,244,228,.055) 70%, transparent);
  box-shadow: inset 0 1px rgba(255,255,255,.46);
}

#main.detail-page .specimen-note-lift--bottom {
  right: -1px;
  bottom: -3px;
  left: -1px;
  height: 20px;
  border-radius: 0 0 48% 52% / 0 0 25% 31%;
  background:
    radial-gradient(ellipse 54% 92% at 14% 112%, rgba(255,255,251,.36), transparent 66%),
    radial-gradient(ellipse 66% 105% at 91% 118%, rgba(255,255,251,.4), transparent 68%),
    radial-gradient(ellipse 78% 48% at 50% 103%, rgba(126,96,54,.065), transparent 72%),
    linear-gradient(to bottom, transparent 8%, rgba(225,210,177,.045) 64%, rgba(255,253,243,.28) 100%);
  box-shadow:
    inset 0 -1px rgba(105,82,48,.07),
    inset 0 6px 10px rgba(255,255,250,.14);
}

#main.detail-page .specimen-note-lift::before,
#main.detail-page .specimen-note-lift::after {
  content: '';
  position: absolute;
  width: 34%;
  height: 9px;
  border-radius: 50%;
  pointer-events: none;
}

#main.detail-page .specimen-note-lift--top::before {
  top: 3px;
  left: 1%;
  box-shadow: 0 6px 10px rgba(72,57,36,.095);
  transform: rotate(-.5deg);
}

#main.detail-page .specimen-note-lift--top::after {
  top: 2px;
  right: 1%;
  box-shadow: 0 7px 11px rgba(72,57,36,.082);
  transform: rotate(.45deg);
}

#main.detail-page .specimen-note-lift--bottom::before {
  z-index: -1;
  bottom: -8px;
  left: 4%;
  width: 91%;
  height: 11px;
  background:
    radial-gradient(ellipse at 24% 40%, rgba(72,57,36,.1), transparent 48%),
    radial-gradient(ellipse at 82% 45%, rgba(72,57,36,.15), transparent 57%);
  filter: blur(4px);
  transform: rotate(.2deg);
}

#main.detail-page .specimen-note-lift--bottom::after {
  right: -2px;
  bottom: -6px;
  width: 18%;
  height: 10px;
  border-radius: 0 0 72% 38% / 0 0 88% 42%;
  background: linear-gradient(176deg, rgba(214,198,163,.13), rgba(255,254,247,.76) 58%, rgba(169,139,91,.1));
  box-shadow: 6px 10px 17px rgba(72,57,36,.17);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 38%);
  mask-image: linear-gradient(to right, transparent, #000 38%);
  transform: rotate(-1deg);
}

#main.detail-page .specimen-note-label {
  display: block;
  margin-bottom: 14px;
  color: #74765f;
  font: 600 9px/1.2 Anuphan, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

#main.detail-page .specimen-note-pin {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 44%;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(94,68,29,.58);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 27%, rgba(255,239,177,.9) 0 11%, transparent 24%),
    radial-gradient(circle at 50% 55%, #b98d45, #81602e 76%);
  box-shadow:
    inset 0 0 0 1px rgba(244,211,139,.1),
    0 1px 1px rgba(61,45,24,.35),
    0 3px 6px rgba(65,48,27,.17);
}

#main.detail-page .specimen-note-hole {
  position: absolute;
  z-index: 2;
  left: 7px;
  width: 7px;
  height: 7px;
  border-radius: 47% 53% 51% 49%;
  background: #f4f1e7;
  box-shadow:
    inset 1px 1px 2px rgba(75,62,43,.28),
    0 0 0 1px rgba(151,126,81,.18);
}

#main.detail-page .specimen-note-hole--upper { top: 86px; }
#main.detail-page .specimen-note-hole--lower { top: 139px; }

#main.detail-page .specimen-report-about-copy p {
  max-width: 760px;
  margin: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 calc(1.68em - 1px),
    rgba(126, 105, 72, .14) calc(1.68em - 1px) 1.68em
  );
  color: #4a5145;
  font: italic 400 14px/1.68 'Cormorant Garamond', Georgia, serif;
}

#main.detail-page .specimen-note-content {
  overflow: visible;
  transition: max-height 420ms ease-in-out;
}

#main.detail-page .specimen-note-content.is-collapsible {
  overflow: hidden;
}

#main.detail-page .specimen-note-content.is-collapsible.is-expanded {
  overflow: visible;
}

#main.detail-page .specimen-report-about-copy .resume-more-content p { margin-top: 12px; }
#main.detail-page .specimen-report-about-copy .resume-more-button {
  margin-top: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #596451;
  font: 600 9px/1.4 Anuphan, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#main.detail-page .specimen-note-reference {
  position: absolute;
  right: 24px;
  bottom: 16px;
  color: rgba(82, 91, 70, .65);
  font: 600 9px/1.2 Anuphan, sans-serif;
  letter-spacing: .12em;
}

#main.detail-page .specimen-note-reference[hidden] { display: none; }

/* Preserve the approved desktop composition through landscape/tablet widths.
   Components scale within the same grid before the true stacked layout begins. */
@media (min-width: 768px) and (max-width: 1199px) {
  #main.detail-page .specimen-report-row {
    min-height: clamp(300px, 28vw, 330px);
    padding: clamp(36px, 4vw, 48px) clamp(28px, 4.5vw, 54px);
  }

  #main.detail-page .specimen-report-row--location {
    min-height: clamp(325px, 30vw, 360px);
  }

  #main.detail-page .specimen-report-row--about {
    min-height: clamp(315px, 29vw, 340px);
    padding-bottom: clamp(44px, 5vw, 58px);
  }

  #main.detail-page .specimen-report-heading h2 {
    font-size: clamp(28px, 3vw, 36px);
  }

  #main.detail-page .specimen-report-heading p {
    font-size: clamp(12px, 1.2vw, 14px);
  }

  #main.detail-page .type-botanical {
    width: clamp(112px, 11vw, 140px);
    height: clamp(150px, 15vw, 170px);
  }

  #main.detail-page .type-botanical::before {
    width: clamp(112px, 11vw, 138px);
    height: clamp(112px, 11vw, 138px);
  }

  #main.detail-page .type-botanical img {
    width: clamp(145px, 14vw, 171px);
    height: clamp(220px, 21vw, 260px);
  }

  #main.detail-page .type-ribbon {
    right: calc(var(--section-accent-width) + clamp(18px, 2vw, 26px));
    width: clamp(74px, 7.4vw, 88px);
  }
}

@media (max-width: 1300px) {
  #main.detail-page .specimen-report-facts--location {
    grid-template-columns: 1fr;
  }

  #main.detail-page .specimen-report-facts--location > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  #main.detail-page .specimen-report-row,
  #main.detail-page .specimen-report-row--location,
  #main.detail-page .specimen-report-row--determination,
  #main.detail-page .specimen-report-row--type,
  #main.detail-page .specimen-report-row--about {
    min-height: 0;
    grid-template-columns: 75px minmax(0, 1fr);
    gap: 22px;
    padding: 34px 30px;
  }

  #main.detail-page .specimen-report-number,
  #main.detail-page .specimen-report-row:nth-child(even) .specimen-report-number {
    position: static;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    color: #cbd0bc;
    -webkit-text-stroke: 0;
    font: 500 64px/.9 'Cormorant Garamond', Georgia, serif;
    text-align: left;
    transform: none;
  }

  #main.detail-page .collection-sand {
    grid-column: 2;
    grid-row: 1;
  }

  #main.detail-page .collection-content {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  #main.detail-page .determination-history-placeholder {
    grid-column: 1 / -1;
    grid-row: 3;
    align-self: start;
    margin-top: 18px;
  }

  #main.detail-page .specimen-report-heading,
  #main.detail-page .specimen-report-row:nth-child(even) .specimen-report-heading {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-start;
    text-align: left;
  }

  #main.detail-page .specimen-report-heading h2 { font-size: clamp(28px, 3.2vw, 36px); }
  #main.detail-page .specimen-report-heading::after { width: 78px; }
  #main.detail-page .specimen-report-quote,
  #main.detail-page .specimen-report-label,
  #main.detail-page .specimen-report-map,
  #main.detail-page .specimen-report-flower,
  #main.detail-page .specimen-report-seed,
  #main.detail-page .specimen-report-leaf { display: none; }

  #main.detail-page .specimen-report-facts,
  #main.detail-page .specimen-report-determination,
  #main.detail-page .specimen-report-type-card,
  #main.detail-page .specimen-report-about-copy {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  #main.detail-page .specimen-report-about-copy { padding: 28px 32px 26px; }

  #main.detail-page .specimen-report-row--type .type-botanical {
    grid-column: 1;
    grid-row: 2;
    width: 70px;
    height: 120px;
  }

  #main.detail-page .specimen-report-row--type .type-botanical img {
    width: 64px;
    height: 110px;
    transform: translate(-5px, -3px) rotate(-5deg);
  }

  #main.detail-page .specimen-report-row--type .specimen-report-type-card {
    grid-column: 2;
    grid-row: 2;
  }

  #main.detail-page .specimen-report-row--type .type-ribbon {
    display: none;
  }
}

@media (max-width: 767px) {
  #main.detail-page .specimen-report-row,
  #main.detail-page .specimen-report-row--location,
  #main.detail-page .specimen-report-row--determination,
  #main.detail-page .specimen-report-row--type,
  #main.detail-page .specimen-report-row--about {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 18px 22px;
    padding: 30px 26px;
  }

  #main.detail-page .collection-info {
    width: min(100%, 560px);
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: clamp(24px, 4vw, 36px);
  }
}

@media (max-width: 600px) {
  #main.detail-page .specimen-report-row,
  #main.detail-page .specimen-report-row--location,
  #main.detail-page .specimen-report-row--determination,
  #main.detail-page .specimen-report-row--type,
  #main.detail-page .specimen-report-row--about {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 25px 18px;
  }

  #main.detail-page .specimen-report-number,
  #main.detail-page .specimen-report-row:nth-child(even) .specimen-report-number { font-size: 54px; }
  #main.detail-page .specimen-report-heading h2 { font-size: 27px; }
  #main.detail-page .specimen-report-eyebrow { font-size: 9px; letter-spacing: .16em; }
  #main.detail-page .specimen-report-heading p { margin-top: 12px; font-size: 13px; }
  #main.detail-page .collection-info {
    width: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  #main.detail-page .specimen-report-facts--collection > div:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
  }
  #main.detail-page .specimen-report-facts--location { grid-template-columns: 1fr; padding-left: 0; border-left: 0; }
  #main.detail-page .specimen-report-facts--location > div:last-child { grid-column: auto; }
  #main.detail-page .specimen-report-determination { padding-left: 22px; }
  #main.detail-page .specimen-report-determination dl > div { grid-template-columns: max-content minmax(0, 1fr); }
  #main.detail-page .determination-history-placeholder {
    justify-self: start;
    text-align: left;
  }
  #main.detail-page .specimen-report-row--type .type-botanical {
    width: 58px;
    height: 105px;
  }
  #main.detail-page .specimen-report-row--type .type-botanical img {
    width: 54px;
    height: 96px;
  }
  #main.detail-page .specimen-report-type-card { gap: 18px; }
  #main.detail-page .specimen-report-type-card > div + div { padding: 0; border: 0; }
  #main.detail-page .specimen-report-about-copy { padding: 26px 24px 24px; }
}
