/* ==========================================================================
   About Us page. Markup: about-us.php. Banner: page-banner.css.
   Motion: assets/js/reveal.js (.jh-rise → .is-in, [data-split] words,
   [data-count] numbers count up).
   ========================================================================== */
.jh-about {
  --ab-ink: #1f2a1c; --ab-body: #3a4436; --ab-muted: #5f695a;
  --ab-green: hsl(109, 37%, 33%); --ab-forest: #12261a; --ab-leaf: #b5d29a; --ab-gold: #c9a84c;
  --ab-cream: #f7f3ec; --ab-sand: #efe8da; --ab-line: rgba(31, 42, 28, .12);
  --ab-serif: var(--heading-font-font-family, "Cormorant Garamond"), Georgia, serif;
  --ab-gutter: clamp(20px, 5vw, 72px);
  --ab-ease: cubic-bezier(.22, 1, .36, 1);
  background: var(--ab-cream); color: var(--ab-ink);
}
.jh-about *, .jh-about *::before, .jh-about *::after { box-sizing: border-box; }
.jh-about h2, .jh-about p { margin: 0; }
#siteWrapper:has(.jh-about) { background: #f7f3ec; }

/* ---------- award ---------- */
.jh-aw { padding: clamp(80px, 13vh, 140px) var(--ab-gutter); }
.jh-aw__in { width: min(1180px, 100%); margin-inline: auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 104px); align-items: center; }
.jh-aw__media { position: relative; }
.jh-aw__photo { margin: 0; aspect-ratio: 1 / 1; border-radius: 26px; overflow: hidden; box-shadow: 0 34px 80px rgba(31, 42, 28, .18); }
.jh-aw__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.8s var(--ab-ease); }
.jh-aw__seal {
  position: absolute; right: -28px; bottom: -28px; width: 128px; height: 128px; border-radius: 50%;   /* lower-right: clear of the faces */
  display: grid; place-items: center; background: var(--ab-forest); color: #f3ede1;
  box-shadow: 0 18px 40px rgba(18, 38, 26, .3);
}
.jh-aw__seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: jh-ab-spin 20s linear infinite; }
.jh-aw__seal text { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; fill: var(--ab-leaf); }
.jh-aw__seal b { font-family: var(--ab-serif); font-size: 30px; font-weight: 700; color: var(--ab-gold); }
@keyframes jh-ab-spin { to { transform: rotate(360deg); } }

.jh-about .jh-aw__title { font-family: var(--ab-serif) !important; font-weight: 700 !important; font-size: clamp(42px, 5vw, 72px) !important; line-height: 1 !important; letter-spacing: -0.02em !important; color: var(--ab-ink) !important; }
.jh-aw__title em { font-style: italic; font-weight: 500; color: var(--ab-green); }
.jh-about .jh-aw__text { margin-top: 26px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.75; color: var(--ab-body); }
.jh-mark {
  color: var(--ab-ink); font-weight: 600; padding: 0 3px;
  background: linear-gradient(transparent 58%, rgba(201, 168, 76, .4) 58%) 0 0 / 100% 100% no-repeat;
  transition: background-size 1.1s cubic-bezier(.65, 0, .35, 1) .6s;
}
.jh-reveal-motion .jh-rise:not(.is-in) .jh-mark { background-size: 0 100%; }

/* ---------- story bento ---------- */
.jh-story { padding: 0 var(--ab-gutter) clamp(80px, 13vh, 140px); }
.jh-story__grid {
  width: min(1180px, 100%); margin-inline: auto;
  display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "lead lead lead y1"
    "t1   t1   ph   ph"
    "y2   t2   t2   t2"
    "cl   cl   cl   cl";
}
.jh-story__tile { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--ab-line); }
.jh-story__tile--lead { grid-area: lead; background: var(--ab-sand); border-color: transparent; display: flex; align-items: center; }
.jh-story__tile--year:not(.jh-story__tile--dark) { grid-area: y1; }
.jh-story__tile--dark { grid-area: y2; }
.jh-story__tile--text:not(.jh-story__tile--wide) { grid-area: t1; }
.jh-story__tile--wide { grid-area: t2; }
.jh-story__tile--photo { grid-area: ph; padding: 0; min-height: 260px; }
.jh-story__tile--close { grid-area: cl; background: var(--ab-forest); color: #f3ede1; border-color: transparent; }

.jh-about .jh-story__lead { font-family: var(--ab-serif); font-weight: 600; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25; color: var(--ab-ink); }
.jh-about .jh-story__lead::first-letter { float: left; font-size: 3.1em; line-height: .85; padding: .06em .1em 0 0; color: var(--ab-green); font-weight: 700; }
.jh-story__tile--text p, .jh-story__tile--close p { font-size: 17px; line-height: 1.75; color: var(--ab-body); }
.jh-about .jh-story__tile--close p { font-family: var(--ab-serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.35; color: #f3ede1; }
.jh-story__tile--close b { color: var(--ab-leaf); font-weight: 700; }
.jh-story__tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transition: transform 1.2s var(--ab-ease); }
.jh-story__tile--photo:hover img { transform: scale(1.05); }

.jh-story__tile--year { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.jh-story__num { font-family: var(--ab-serif); font-weight: 700; font-size: clamp(48px, 5vw, 72px); line-height: 1; color: var(--ab-green); font-variant-numeric: tabular-nums; }
.jh-story__tile--year p { font-size: 14px; line-height: 1.55; color: var(--ab-muted); font-style: italic; }
.jh-story__tile--dark { background: var(--ab-green); border-color: transparent; }
.jh-story__tile--dark .jh-story__num { color: #fff; }
.jh-about .jh-story__tile--dark p { color: rgba(255, 255, 255, .88); }

/* tile backgrounds: decoration sits on pseudo-elements under the text */
.jh-story__tile--text > p, .jh-story__tile--close > p { position: relative; z-index: 1; }
.jh-story__tile--text::before, .jh-story__tile--close::before, .jh-story__tile--close::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
}

/* text tiles: a soft sage glow in one corner and a line-drawn leaf branch
   that lies along the bottom edge and sways slowly, clear of the paragraph */
.jh-story__tile--text { background: radial-gradient(70% 90% at 100% 100%, rgba(181, 210, 154, .22), transparent 60%), #fff; }
.jh-story__tile--text::before {
  right: 14px; bottom: 4px; width: 210px; height: 210px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 210 210' fill='%234a7e3a' fill-opacity='.07' stroke='%234a7e3a' stroke-opacity='.3' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath fill='none' d='M196 198C175 180 150 160 135 146S100 105 90 88 60 38 44 18'/%3E%3Cellipse cx='171.2' cy='163.1' rx='14' ry='5' transform='rotate(-85 171.2 163.1)'/%3E%3Cellipse cx='138.1' cy='160.8' rx='14' ry='5' transform='rotate(-185 138.1 160.8)'/%3E%3Cellipse cx='136.2' cy='132.1' rx='14' ry='5' transform='rotate(-85 136.2 132.1)'/%3E%3Cellipse cx='104.1' cy='126.8' rx='14' ry='5' transform='rotate(-185 104.1 126.8)'/%3E%3Cellipse cx='104.2' cy='94.1' rx='14' ry='5' transform='rotate(-85 104.2 94.1)'/%3E%3Cellipse cx='76.1' cy='86.8' rx='14' ry='5' transform='rotate(-185 76.1 86.8)'/%3E%3Cellipse cx='78.4' cy='50.2' rx='14' ry='5' transform='rotate(-80 78.4 50.2)'/%3E%3Cellipse cx='48.2' cy='39.6' rx='14' ry='5' transform='rotate(-190 48.2 39.6)'/%3E%3Cellipse cx='34.1' cy='8.1' rx='14' ry='5' transform='rotate(-135 34.1 8.1)'/%3E%3C/svg%3E") center / contain no-repeat;
  transform-origin: 100% 100%;
  animation: jh-ab-sway 9s ease-in-out infinite alternate;
}
.jh-story__tile--wide { background: radial-gradient(45% 120% at 100% 100%, rgba(181, 210, 154, .2), transparent 60%), #fff; }
.jh-story__tile--wide::before { right: 14px; bottom: 2px; width: 190px; height: 190px; }
@keyframes jh-ab-sway { from { transform: rotate(-44deg); } to { transform: rotate(-36deg); } }

/* closing tile: two soft glows (leaf and gold) wander behind flowing contour lines */
.jh-story__tile--close { isolation: isolate; }
.jh-story__tile--close::before {
  inset: -30%;
  background:
    radial-gradient(32% 42% at 22% 35%, rgba(181, 210, 154, .2), transparent 70%),
    radial-gradient(28% 38% at 78% 65%, rgba(201, 168, 76, .16), transparent 70%);
  animation: jh-ab-glow 16s ease-in-out infinite alternate;
}
.jh-story__tile--close::after {
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='80' fill='none' stroke='%23b5d29a' stroke-width='1'%3E%3Cpath d='M0 14C30-1 90-1 120 14s90 15 120 0' stroke-opacity='.16'/%3E%3Cpath d='M0 41C30 26 90 26 120 41s90 15 120 0' stroke-opacity='.1'/%3E%3Cpath d='M0 68C30 53 90 53 120 68s90 15 120 0' stroke-opacity='.06'/%3E%3C/svg%3E");
  background-size: 240px 80px;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 45%, #000 100%);
          mask-image: linear-gradient(100deg, transparent 0%, #000 45%, #000 100%);
  animation: jh-ab-waves 28s linear infinite;
}
@keyframes jh-ab-glow { from { transform: translate(-8%, -5%) rotate(0deg); } to { transform: translate(8%, 6%) rotate(10deg); } }
@keyframes jh-ab-waves { to { background-position: 240px 80px; } }

/* hover lift */
.jh-story__tile:not(.jh-story__tile--photo) { transition: transform .45s var(--ab-ease), box-shadow .45s var(--ab-ease); }
.jh-story__tile:not(.jh-story__tile--photo):hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(31, 42, 28, .1); }

/* rise-in */
.jh-reveal-motion .jh-about .jh-rise { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform 1s var(--ab-ease), box-shadow .45s var(--ab-ease); transition-delay: calc(var(--i, 0) * 80ms); }
.jh-reveal-motion .jh-about .jh-rise.is-in { opacity: 1; transform: none; }
.jh-reveal-motion .jh-aw__media:not(.is-in) .jh-aw__photo img { transform: scale(1.15); }

@media (max-width: 960px) {
  .jh-aw__in { grid-template-columns: 1fr; }
  .jh-aw__media { max-width: 520px; margin-bottom: 26px; }   /* room for the seal below the photo */
  .jh-aw__seal { right: auto; top: auto; left: 14px; bottom: -34px; width: 104px; height: 104px; }   /* off the faces: lower-left corner */
  .jh-story__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "lead lead" "y1 y2" "t1 t1" "ph ph" "t2 t2" "cl cl"; }
}
@media (max-width: 560px) {
  .jh-story__grid { grid-template-columns: 1fr; grid-template-areas: "lead" "y1" "t1" "ph" "y2" "t2" "cl"; }
  .jh-story__tile--text { padding-bottom: 72px; }   /* room for the leaf branch under the text */
  .jh-aw { padding-top: 64px; padding-bottom: 40px; }   /* tighter gap before the story tiles */
  .jh-story { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .jh-aw__seal svg,
  .jh-story__tile--text::before, .jh-story__tile--close::before, .jh-story__tile--close::after { animation: none; }
}
