/* Round 02 shared shell.
   The final HR-A logo, Folio Spine hero, and film remain identical in every
   direction. This file owns shared review behavior, liked-element variants,
   light fallback contact treatment, and footer families. */

.concept-site section[id],
.concept-site footer[id] {
  scroll-margin-top: calc(var(--review-strip-h) + 16px);
}

.concept-site h2,
.concept-site h3,
.concept-site p {
  overflow-wrap: break-word;
}

.concept-site h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.concept-site section p,
.concept-site section li {
  text-wrap: pretty;
}

.e3-registry {
  display: block;
  color: #8da096;
  font: 600 10px/1.2 var(--utility);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* The two E1/E3-only directions use a deliberately light closing field so
   their last two sections do not collapse into consecutive dark bands. */
.contact-section--light {
  background: #eee6d5;
  color: var(--ink);
}

.contact-section--light .contact-motif {
  opacity: 0.32;
  color: var(--ink);
}

.contact-section--light .contact-grid > div:last-child > p {
  color: var(--muted);
}

.contact-section--light .contact-button {
  background: var(--dark);
  color: var(--light);
}

.contact-section--light .contact-grid small {
  color: var(--muted);
  opacity: 1;
}

/* Direction-specific expressions of the approved E1 Offset Shore family. */
.e1-bound-register::after {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 3.4%;
  z-index: 4;
  width: 7px;
  background: repeating-linear-gradient(
    to bottom,
    var(--accent) 0 38px,
    transparent 38px 58px
  );
  content: "";
  pointer-events: none;
}

.e1-tide-almanac {
  background: #d5cab0;
}

.e1-tide-almanac .e1-figure img {
  filter: sepia(0.16) saturate(0.62) contrast(0.92);
}

.e1-harbor-house .e1-figure {
  clip-path: polygon(0 0, 100% 0, 100% 86%, 92% 86%, 92% 100%, 0 100%);
}

.e1-harbor-house .e1-panel::before {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 250, 240, 0.25);
  content: "";
  pointer-events: none;
}

.e1-soundings-atlas {
  background-color: #e7dfce;
}

.e1-soundings-atlas .e1-contours {
  background:
    repeating-radial-gradient(
      circle at 8% 49%,
      transparent 0 112px,
      rgba(23, 59, 51, 0.3) 113px 115px,
      transparent 116px 175px
    ),
    repeating-linear-gradient(
      to bottom,
      transparent 0 79px,
      rgba(23, 59, 51, 0.11) 80px 81px
    );
}

.e1-coastal-observatory .e1-figure {
  border-radius: 48% 48% 0 0;
}

.e1-coastal-observatory .e1-panel::after {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: 88px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 250, 240, 0.3);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 18px transparent,
    inset 0 0 0 19px rgba(255, 250, 240, 0.3);
  content: "";
}

.e1-admiralty-dossier .e1-panel::after {
  position: absolute;
  top: 46px;
  right: -28px;
  padding: 10px 22px;
  border: 1px solid var(--dark);
  background: var(--accent);
  color: var(--dark);
  content: "EXHIBIT 04";
  font: 700 9px/1 var(--utility);
  letter-spacing: 0.16em;
}

.e1-beacon-sequence .e1-contours {
  opacity: 0.56;
  background:
    linear-gradient(105deg, transparent 0 23%, rgba(179, 139, 79, 0.25) 23.2% 36%, transparent 36.2%),
    repeating-radial-gradient(
      circle at 8% 49%,
      transparent 0 112px,
      rgba(23, 59, 51, 0.3) 113px 115px,
      transparent 116px 175px
    );
}

/* Direction-specific expressions of the approved E2 Concentric CTA family. */
.e2-k {
  border-top: 12px solid #d9ceb5;
}

.e2-k .e2-layout::before {
  position: absolute;
  top: -112px;
  bottom: -112px;
  left: -34px;
  width: 6px;
  background: var(--accent);
  content: "";
}

.e2-l .e2-contours {
  background:
    repeating-radial-gradient(
      circle at 89% 52%,
      transparent 0 88px,
      rgba(236, 229, 211, 0.38) 89px 91px,
      transparent 92px 154px
    ),
    linear-gradient(rgba(236, 229, 211, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 229, 211, 0.08) 1px, transparent 1px);
  background-size: auto, 96px 96px, 96px 96px;
  transform: none;
}

.e2-n .e2-copy {
  padding: clamp(48px, 6vw, 94px);
  border: 1px solid rgba(255, 250, 240, 0.34);
}

.e2-o .e2-contours {
  background:
    repeating-radial-gradient(
      ellipse at 11% 52%,
      transparent 0 78px,
      rgba(236, 229, 211, 0.36) 79px 81px,
      transparent 82px 143px
    ),
    repeating-linear-gradient(0deg, transparent 0 71px, rgba(236, 229, 211, 0.1) 72px 73px);
}

.e2-p .e2-layout::after {
  position: absolute;
  top: -42px;
  right: -42px;
  width: 190px;
  height: 18px;
  border: 1px solid rgba(255, 250, 240, 0.38);
  box-shadow:
    0 42px 0 -1px var(--dark),
    0 42px 0 0 rgba(255, 250, 240, 0.38);
  content: "";
  transform: rotate(-45deg);
  pointer-events: none;
}

.e2-r .e2-copy::after {
  display: block;
  width: max-content;
  margin: 30px 0 0 auto;
  padding: 9px 16px;
  border: 1px solid rgba(255, 250, 240, 0.46);
  color: rgba(255, 250, 240, 0.7);
  content: "ADVISOR WORKING MODEL";
  font: 700 9px/1 var(--utility);
  letter-spacing: 0.16em;
  transform: rotate(-3deg);
}

.e2-s .e2-contours {
  opacity: 0.48;
  background:
    conic-gradient(from 258deg at 4% 50%, transparent 0 11deg, rgba(179, 139, 79, 0.18) 11.2deg 26deg, transparent 26.2deg),
    repeating-radial-gradient(
      circle at 5% 50%,
      transparent 0 88px,
      rgba(236, 229, 211, 0.38) 89px 91px,
      transparent 92px 154px
    );
}

.e2-t .e2-contours {
  background:
    repeating-radial-gradient(
      ellipse at 91% 25%,
      transparent 0 82px,
      rgba(236, 229, 211, 0.3) 83px 85px,
      transparent 86px 144px
    ),
    repeating-radial-gradient(
      ellipse at 91% 77%,
      transparent 0 72px,
      rgba(236, 229, 211, 0.24) 73px 75px,
      transparent 76px 134px
    );
  transform: none;
}

/* Direction-specific expressions of the approved E3 framed principle. */
.e3-chartroom-cabinet .e3-frame {
  background-image:
    linear-gradient(rgba(255, 250, 240, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 240, 0.06) 1px, transparent 1px);
  background-size: 82px 82px;
}

.e3-tide-almanac .e3-frame::before,
.e3-tide-almanac .e3-frame::after {
  position: absolute;
  top: 50%;
  width: 62px;
  height: 1px;
  background: rgba(255, 250, 240, 0.44);
  content: "";
}

.e3-tide-almanac .e3-frame::before {
  left: 28px;
}

.e3-tide-almanac .e3-frame::after {
  right: 28px;
}

.e3-harbor-house .e3-frame {
  border-top-width: 18px;
}

.e3-harbor-house .e3-frame::before {
  position: absolute;
  top: -18px;
  left: 50%;
  border-right: 34px solid transparent;
  border-bottom: 18px solid var(--accent);
  border-left: 34px solid transparent;
  content: "";
  transform: translateX(-50%);
}

.e3-shipwright-assembly .e3-frame {
  border-style: dashed;
}

.e3-shipwright-assembly .e3-copy::before,
.e3-shipwright-assembly .e3-copy::after {
  position: absolute;
  width: 10px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 250, 240, 0.7);
  border-radius: 50%;
  content: "";
}

.e3-shipwright-assembly .e3-copy::before {
  top: 40px;
  right: 40px;
}

.e3-shipwright-assembly .e3-copy::after {
  bottom: 40px;
  left: 40px;
}

.e3-coastal-observatory .e3-frame::after {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(255, 250, 240, 0.13);
  border-radius: 50%;
  content: "";
}

.e3-admiralty-dossier .e3-frame::after {
  position: absolute;
  right: 40px;
  bottom: 36px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 250, 240, 0.5);
  color: rgba(255, 250, 240, 0.65);
  content: "FILED / 06";
  font: 700 9px/1 var(--utility);
  letter-spacing: 0.16em;
  transform: rotate(-4deg);
}

.e3-estuary-index .e3-frame {
  background:
    radial-gradient(ellipse at 0 28%, transparent 0 28%, rgba(255, 250, 240, 0.08) 28.2% 28.7%, transparent 28.9%),
    radial-gradient(ellipse at 100% 72%, transparent 0 28%, rgba(255, 250, 240, 0.08) 28.2% 28.7%, transparent 28.9%);
}

/* Footer families keep the directory usable while carrying each concept's
   visual grammar. */
.footer-style-bound {
  border-left: 12px solid var(--accent);
}

.footer-style-bound::before {
  position: absolute;
  inset: 0 auto 0 7%;
  width: 1px;
  background: rgba(243, 231, 208, 0.18);
  content: "";
}

.footer-style-chartroom {
  background-color: #0b2b25;
  background-image:
    linear-gradient(rgba(243, 231, 208, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 231, 208, 0.04) 1px, transparent 1px);
  background-size: 90px 90px;
}

.footer-style-almanac {
  border-top: 22px solid var(--accent);
}

.footer-style-harbor-house::after {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 22%;
  height: 72%;
  border: 1px solid rgba(243, 231, 208, 0.1);
  border-bottom: 0;
  content: "";
}

.footer-style-atlas {
  background-image: repeating-radial-gradient(
    ellipse at 100% 100%,
    transparent 0 68px,
    rgba(243, 231, 208, 0.06) 69px 71px,
    transparent 72px 124px
  );
}

.footer-style-shipwright {
  border-top: 1px dashed rgba(243, 231, 208, 0.52);
}

.footer-style-observatory::after {
  position: absolute;
  top: 32px;
  right: 7%;
  width: 190px;
  aspect-ratio: 1;
  border: 1px solid rgba(243, 231, 208, 0.1);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 34px transparent,
    inset 0 0 0 35px rgba(243, 231, 208, 0.08),
    inset 0 0 0 68px transparent,
    inset 0 0 0 69px rgba(243, 231, 208, 0.06);
  content: "";
}

.footer-style-admiralty {
  border-top: 9px double rgba(179, 139, 79, 0.78);
}

.footer-style-beacon {
  background:
    conic-gradient(from 252deg at 0 42%, transparent 0 14deg, rgba(179, 139, 79, 0.08) 14.2deg 32deg, transparent 32.2deg),
    #0b2b25;
}

.footer-style-estuary {
  background:
    radial-gradient(ellipse at 100% 16%, transparent 0 22%, rgba(243, 231, 208, 0.06) 22.2% 22.7%, transparent 22.9%),
    radial-gradient(ellipse at 100% 88%, transparent 0 24%, rgba(243, 231, 208, 0.06) 24.2% 24.7%, transparent 24.9%),
    #0b2b25;
}

@media (max-width: 980px) {
  .e1-bound-register::after {
    display: none;
  }

  .e1-coastal-observatory .e1-figure {
    border-radius: 44% 44% 0 0;
  }

  .e2-k .e2-layout::before,
  .e2-p .e2-layout::after {
    display: none;
  }

  .e2-n .e2-copy {
    padding: 46px;
  }
}

@media (max-width: 600px) {
  .e1-harbor-house .e1-panel::before {
    inset: 14px;
  }

  .e1-coastal-observatory .e1-panel::after,
  .e1-admiralty-dossier .e1-panel::after,
  .e3-tide-almanac .e3-frame::before,
  .e3-tide-almanac .e3-frame::after,
  .e3-admiralty-dossier .e3-frame::after {
    display: none;
  }

  .e2-n .e2-copy {
    padding: 32px 24px;
  }

  .footer-top > p {
    font-size: 16px;
  }

  .footer-directory a,
  .footer-directory span {
    font-size: 14px;
  }
}
