/* Personal identity, intact artwork and a layered scroll scene. */
:root {
  --ink: #090d0b;
  --paper: #f1f0e8;
  --accent: #b3c79b;
  --pink: var(--accent);
  --line: #343b34;
  --reading: #1c211d;
}

.brand-type { letter-spacing: .015em; line-height: 1.02; max-width: 100px; }
.brand-portrait img { object-position: 50% 40%; transform: scale(1.9); transform-origin: 50% 40%; }
.display-title { letter-spacing: .005em; line-height: 1; }
.featured-row h3, .latest-row h3, .post-card h2, .related-item h3 {
  letter-spacing: .012em;
  line-height: 1.16;
}
.topic-tile:before { color: #b3c79b0a; }
.topic-tile:hover .topic-number, .topic-tile:hover p { color: #26321e; }
.image-tone-2, .image-tone-4 { background: #1b211c; }
.search-dialog { background: #141b15; border-color: #4b5947; }

.hero.hero-scroll {
  height: 170svh;
  min-height: 1200px;
  max-height: none;
  overflow: visible;
  background: var(--ink);
}
.hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 640px;
  isolation: isolate;
}
.hero-picture { position: absolute; inset: 2% 3% 0; display: block; z-index: 0; }
.hero-portrait {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 0;
  transform: scale(var(--hero-photo-scale, 1));
  transform-origin: 50% 40%;
}
.hero-shade {
  background: linear-gradient(90deg, #090d0bcc, transparent 18%, transparent 82%, #090d0bcc),
    linear-gradient(180deg, #090d0b33, transparent 32%, #090d0b22 56%, #090d0bef 95%);
}
.hero-content {
  inset: auto 5% 160px;
  transform: translateY(var(--hero-title-y, 0px));
  z-index: 4;
}
.hero-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .2em;
  font-size: clamp(130px, 17vw, 250px);
  line-height: 1.13;
  letter-spacing: .035em;
  filter: none;
}
.hero-title span, .hero-title span + span { display: block; font-size: 1em; margin: 0; }
.hero-flower-front {
  left: 5%;
  bottom: 4%;
  width: 90%;
  max-width: 90%;
  height: 58%;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  mix-blend-mode: normal;
  filter: none;
  mask-image: none;
  -webkit-mask-image: none;
  transform: translateY(var(--hero-flowers-y, 0px)) scale(var(--hero-flowers-scale, 1));
  transform-origin: center;
  z-index: 3;
}
.hero-caption {
  bottom: 45px;
  opacity: var(--hero-caption-opacity, 1);
  z-index: 5;
}
.hero-caption > p { max-width: 650px; font-size: clamp(23px, 2.5vw, 36px); }

/* Artwork keeps its own dimensions instead of being cropped into frames. */
.intro-section, .intro-body, .intro-art { overflow: visible; }
.intro-art { min-height: 0; margin-left: 0; padding-bottom: 60px; }
.intro-art > img {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.art-caption { bottom: 0; left: 9%; }
.archive-hero, .category-hero {
  min-height: 0;
  padding-bottom: 10px;
  overflow: visible;
}
.archive-title { letter-spacing: .008em; line-height: 1.08; }
.archive-hero .archive-flowers, .category-hero .archive-flowers {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 590px;
  margin: 35px auto 0;
  object-fit: contain;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  mask-image: none;
  -webkit-mask-image: none;
  transform: none;
}
.post-card-image { aspect-ratio: 1.55; background: #1b211c; }
.post-card-image > img { object-fit: contain; }
.post-card > a:hover .post-card-image > img { transform: none; }
.article-flower { mask-image: none; -webkit-mask-image: none; }
.about-portrait { aspect-ratio: auto; margin-left: 0; }
.about-portrait > img:first-child { height: auto; object-fit: contain; filter: none; }
.about-portrait-flowers { right: 0; bottom: -7%; width: 38%; height: auto; transform: none; }

.floral-interlude {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 4%;
  min-height: 0;
  padding: 65px var(--gutter) 40px;
  overflow: visible;
  background: #121913;
}
.floral-interlude > img {
  position: relative;
  inset: auto;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
  transform: none;
  z-index: 0;
}
.interlude-shade { display: none; }
.floral-interlude > p { grid-column: 2; grid-row: 1; font-size: clamp(35px, 4.3vw, 65px); padding: 20px 0; text-align: left; text-shadow: none; }
.floral-interlude > .eyebrow { grid-column: 1 / -1; font-size: 8px; margin-top: 20px; }

.site-footer { padding-top: 55px; overflow: visible; }
.footer-flowers {
  position: relative;
  inset: auto;
  width: min(720px, 100%);
  height: auto;
  margin: 0 auto 30px;
  opacity: 1;
  mask-image: none;
  -webkit-mask-image: none;
  overflow: visible;
}
.footer-flowers img { width: 100%; height: auto; object-fit: contain; }
.footer-main { position: relative; }

@media (min-width: 1700px) {
  .hero.hero-scroll { height: 175svh; }
  .hero-content { top: auto; bottom: 160px; }
  .hero-title { font-size: 290px; }
}
@media (max-width: 1100px) and (min-width:810px) {
  .hero-content { top: auto; bottom: 140px; }
  .hero-title { font-size: 19vw; gap: .16em; }
  .hero-flower-front { left: 4%; bottom: 5%; width: 92%; max-width: 92%; height: 58%; }
  .hero-caption { bottom: 35px; }
}
@media (max-width:809px) {
  .hero.hero-scroll { height: 145svh; min-height: 1000px; max-height: none; }
  .hero-stage { height: 100svh; min-height: 650px; }
  .hero-picture { inset: 75px 10px auto; height: calc(100vw - 20px); }
  .hero-portrait { height: 100%; object-fit: contain; object-position: center top; }
  .hero-shade { background: linear-gradient(180deg, #090d0b22 0, transparent 25%, #090d0b44 45%, #090d0b 73%); }
  .hero-content { inset: auto 4% 190px; }
  .hero-title { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: clamp(100px, 29vw, 165px); line-height: 1.12; letter-spacing: .055em; }
  .hero-title span + span { font-size: 1em; margin: 0; }
  .hero-flower-front { left: 4%; bottom: 11%; width: 92%; max-width: 92%; height: 43%; object-position: center; }
  .hero-caption { bottom: 35px; }
  .hero-caption > p { font-size: 23px; max-width: 340px; line-height: 1.5; }
  .scroll-hint { margin-top: 22px; }
  .intro-art { min-height: 0; margin: 20px 0 0; padding-bottom: 65px; }
  .intro-art > img { width: 100%; max-width: 100%; height: auto; inset: auto; }
  .art-caption { font-size: 23px; bottom: 0; }
  .intro-title { line-height: 1.12; }
  .archive-hero, .category-hero { padding-top: 40px; padding-bottom: 15px; min-height: 0; }
  .archive-hero .archive-flowers, .category-hero .archive-flowers { width: 100%; max-width: 100%; height: auto; max-height: none; margin-top: 35px; inset: auto; opacity: 1; }
  .category-title { font-size: clamp(75px, 22vw, 140px); line-height: 1.15; }
  .archive-title { line-height: 1.13; }
  .post-card-image { aspect-ratio: 1.45; }
  .about-portrait { margin-right: 0; aspect-ratio: auto; }
  .about-portrait-flowers { width: 35%; bottom: 0; right: 0; height: auto; }
  .floral-interlude { grid-template-columns: 1fr; gap: 20px; padding: 45px var(--gutter) 30px; }
  .floral-interlude > p { grid-column: 1; grid-row: 1; font-size: 39px; text-align: center; padding: 0; }
  .floral-interlude > img { grid-column: 1; grid-row: 2; width: 100%; max-width: 100%; inset: auto; height: auto; }
  .floral-interlude > .eyebrow { grid-row: 3; margin-top: 0; padding: 0; font-size: 7px; }
  .site-footer { padding-top: 35px; }
  .footer-flowers { width: 100%; height: auto; inset: auto; margin-bottom: 35px; opacity: 1; }
}
@media (max-height: 740px) and (min-width:810px) {
  .hero-content { bottom: 115px; }
  .hero-title { font-size: min(16vw, 185px); }
  .hero-caption > p { font-size: 25px; }
}
@media (max-height: 740px) and (max-width:809px) {
  .hero.hero-scroll { height: auto; min-height: 0; }
  .hero-stage { position: relative; height: 810px; min-height: 0; }
}
@media (max-height: 600px) and (min-width:810px) {
  .hero.hero-scroll { height: auto; min-height: 0; }
  .hero-stage { position: relative; height: 780px; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero.hero-scroll { height: auto; min-height: 0; }
  .hero-stage { position: relative; }
  .hero-portrait, .hero-content, .hero-flower-front { transform: none; }
  .hero-caption { opacity: 1; }
}
