/* Keep the painted water at the page edge, behind the kiln and footer. */
.water-wash {
  position: absolute;
  left: 50%;
  bottom: -7vh;
  width: max(100%, 160vh);
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  z-index: 0;
  opacity: .10;
  pointer-events: none;
}
@media (max-width: 640px) {
  .water-wash { bottom: -4vh; }
}
/* The visible stem is anchored to the consent line, above the PNG's empty bottom. */
.branch-wash {
  position: absolute;
  left: -6px;
  top: var(--branch-top, 28vh);
  width: var(--branch-width, 26vw);
  height: auto;
  z-index: 0;
  opacity: .80;
  pointer-events: none;
  transform-origin: 0% 81.5%;
  transform: rotate(var(--branch-angle, 0deg));
  animation: branch-sway 9s ease-in-out infinite;
}
@keyframes branch-sway {
  0%, 100% { transform: rotate(calc(var(--branch-angle, 0deg) - .6deg)); }
  50% { transform: rotate(calc(var(--branch-angle, 0deg) + .6deg)); }
}
/* Blend the standalone kiln into the lower-right paper without the old landscape. */
.kiln-wash {
  position: absolute;
  right: -3vw;
  bottom: 16vh;
  width: clamp(320px, 44vw, 680px);
  max-width: 80vw;
  aspect-ratio: 4 / 3;
  z-index: 0;
  pointer-events: none;
  opacity: .40;
  background: url('./kiln-soft-ground.png') right bottom / contain no-repeat;
  mix-blend-mode: multiply;
  /* Ease the earth into the paper without fading the upper kiln. */
  -webkit-mask-image:
    linear-gradient(to top, transparent 0%, rgba(0, 0, 0, .35) 6%, #000 14%),
    linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to top, transparent 0%, rgba(0, 0, 0, .35) 6%, #000 14%),
    linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 640px) {
  .kiln-wash { width: 78vw; max-width: none; right: -10vw; bottom: 21vh; }
}

[data-screen-label="Hero"] main {
  min-width: 0;
  padding: clamp(40px, 7vh, 80px) 8vw clamp(24px, calc(16vh - 106px), 54px) !important;
}
[data-screen-label="Hero"] [data-seal] { width: clamp(86px, 10vw, 128px) !important; }
[data-screen-label="Hero"] [data-wordmark] {
  font-size: clamp(20px, 2vw, 26px) !important;
  margin-bottom: clamp(32px, 5vh, 48px) !important;
}
[data-screen-label="Hero"] [data-hero-title] {
  font-size: clamp(40px, 5.6vw, 80px) !important;
  line-height: 1.12 !important;
}
[data-screen-label="Hero"] [data-hero-title] + p {
  font-size: clamp(18px, 1.55vw, 22px) !important;
  line-height: 1.5;
  margin-top: 12px !important;
  color: #1e1b18;
  letter-spacing: .04em !important;
}
[data-screen-label="Hero"] [data-cta] { margin-top: clamp(36px, 6vh, 56px) !important; }
@media (max-width: 640px) {
  [data-screen-label="Hero"] main {
  min-width: 0; padding: 44px 30px 16px !important; }
  [data-screen-label="Hero"] [data-hero-title] { font-size: clamp(38px, 9.5vw, 52px) !important; }
  [data-screen-label="Hero"] [data-hero-title] + p { font-size: 18px !important; }

}
.site-footer {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  padding: 12px 24px 36px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: .025em;
  color: #171411;
  text-shadow: 0 1px 4px rgba(244,239,229,.85);
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .site-footer { gap: 12px 24px; }
}

.ship {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  margin-top: 88px;
  width: max-content;
  max-width: calc(100vw - 24px);
  font: 500 calc(.9rem + 2px)/1.4 var(--font-body);
  font-variant: small-caps;
  letter-spacing: .12em;
  white-space: nowrap;
  color: #5a4e40;
  text-decoration: none;
  text-shadow: 0 1px 3px #f4ede0;
}
.ship-label {
  color: #2a231c;
  /* Lift the mostly small-cap label to balance GamaScan's taller capitals. */
  transform: translateY(-.06em);
}
.ship-brand { color: #9a2a1f; }
.ship-sep {
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9a2a1f;
}
.ship-arrow { color: #9a2a1f; transition: transform .2s; }
.ship:hover, .ship:focus-visible { color: #2a231c; text-decoration: none; }
.ship:hover .ship-arrow, .ship:focus-visible .ship-arrow { transform: translateX(3px); }
@media (max-width: 640px) {
  .ship {
    margin-top: 56px;
    gap: .3em;
    font-size: clamp(12.2px, calc(3.2vw + 2px), 16.4px);
    letter-spacing: -.025em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ship-arrow { transition: none; }
}
