:root {
  --ink: #1c292d;
  --muted: #66747a;
  --paper: #f7f5f0;
  --white: #ffffff;
  --teal: #2d8b8f;
  --teal_dark: #1f6f73;
  --teal_soft: #e7f1ef;
  --line: rgba(255, 255, 255, .12);
  --shadow: 0 18px 55px rgba(33, 73, 77, .12);
  --max: 1220px;
  --pad: clamp(20px, 3.2vw, 42px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: #1f2933;
  background-image:
    radial-gradient(circle at 12% 10%, rgba(20, 158, 176, .30), transparent 22rem),
    radial-gradient(circle at 88% 15%, rgba(70, 108, 191, .28), transparent 26rem),
    radial-gradient(circle at 16% 72%, rgba(216, 120, 83, .22), transparent 21rem),
    radial-gradient(circle at 82% 78%, rgba(31, 167, 138, .22), transparent 23rem),
    radial-gradient(circle at 52% 95%, rgba(131, 91, 161, .18), transparent 24rem),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 35%),
    repeating-linear-gradient(120deg, rgba(255,255,255,.028) 0, rgba(255,255,255,.028) 1px, transparent 1px, transparent 26px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    22px 22px;
  background-attachment: fixed;
  color: #eef3f5;
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
}

img { display: block; width: 100%; }

a { color: inherit; }

.site_header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,245,240,.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header_inner {
  width: min(1100px, calc(100% - (var(--pad) * 2)));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.05;
}

.brand_name {
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.brand_location {
  margin-top: 5px;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.site_nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .82rem;
  font-weight: 700;
}

.site_nav a { text-decoration: none; }

.site_nav a:hover { color: var(--teal_dark); }

.nav_toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.hero_shell {
  padding: 30px var(--pad) 0;
}

.hero {
  width: min(1100px, 100%);
  min-height: 390px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 12%, rgba(45,139,143,.10), transparent 19rem),
    linear-gradient(90deg, #f2f3ee 0%, #faf9f5 55%, #eef5f3 100%);
  box-shadow: var(--shadow);
}

.hero_person {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: #e8eeeb;
}

.hero_person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.98) contrast(1.03);
}

.hero_copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px 54px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal_dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero_copy h1,
.portfolio_intro h2,
.story_copy h2,
.about_copy h2,
.facebook_panel h2,
.contact_panel h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.hero_copy h1 {
  font-size: clamp(2.7rem, 4vw, 3.7rem);
}

.hero_tagline {
  margin: 8px 0 0;
  color: var(--teal_dark);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.25;
}

.hero_lead {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero_area {
  margin: 16px 0 0;
  color: var(--teal_dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.hero_actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--teal);
  color: white;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(45,139,143,.18);
}

.button:hover { background: var(--teal_dark); }

.text_link {
  font-weight: 700;
  text-underline-offset: 5px;
}

.portfolio_shell {
  width: min(1100px, calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
  padding: 44px 0 52px;
}

.portfolio_intro {
  width: 100%;
  max-width: none;
  margin-bottom: 52px;
}

.portfolio_intro h2 {
  width: 100%;
  font-size: clamp(1.95rem, 2.8vw, 2.75rem);
}

@media (min-width: 1000px) {
  .portfolio_intro h2 {
    white-space: nowrap;
  }
}

.story_section {
  position: relative;
  padding: 40px 0 48px;
}

.story_section::before {
  content: attr(data-title);
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(3.1rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: .9;
  color: rgba(255,255,255,.34);
  pointer-events: none;
  text-transform: uppercase;
}

.story_copy {
  position: relative;
  z-index: 1;
}

.section_number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(45,139,143,.12);
  color: var(--teal_dark);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.story_copy h2 {
  position: relative;
  display: inline-block;
  padding: 8px 16px 10px;
  margin-top: -2px;
  background: rgba(255,255,255,.64);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(33,73,77,.06);
}

.story_section + .story_section {
  border-top: 1px solid var(--line);
}

.story_copy {
  display: grid;
  grid-template-columns: 52px 220px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin-bottom: 30px;
}

.section_number {
  color: var(--teal);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.story_copy h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.story_copy p {
  margin: 2px 0 0;
  color: var(--muted);
}

.quiet_link {
  grid-column: 3;
  color: var(--teal_dark);
  font-size: .88rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.story_gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, 134px);
  gap: 10px;
}

.photo {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
  border-radius: 18px;
  background: #d9e6e3;
  box-shadow: 0 10px 30px rgba(33,73,77,.07);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,30,33,.38), transparent 58%);
  opacity: .34;
  transition: opacity .3s ease;
  pointer-events: none;
}

.photo:hover img {
  transform: scale(1.035);
}

.photo:hover::after {
  opacity: .18;
}

.photo_overlay {
  position: absolute;
  left: 18px;
  bottom: 15px;
  z-index: 2;
  color: white;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

/* Events: large upper left, large lower right, four supporting images */
.events_layout .g1,
.realestate_layout .g1 {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.events_layout .g2,
.realestate_layout .g2 {
  grid-column: 3;
  grid-row: 1;
}

.events_layout .g3,
.realestate_layout .g3 {
  grid-column: 4;
  grid-row: 1;
}

.events_layout .g4,
.realestate_layout .g4 {
  grid-column: 3 / 5;
  grid-row: 2 / 4;
}

.events_layout .g5,
.realestate_layout .g5 {
  grid-column: 1;
  grid-row: 3;
}

.events_layout .g6,
.realestate_layout .g6 {
  grid-column: 2;
  grid-row: 3;
}

/* Conventions: two equal large images with four small images below */
.conventions_layout .g1 {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.conventions_layout .g2 {
  grid-column: 3 / 5;
  grid-row: 1 / 3;
}

.conventions_layout .g3 {
  grid-column: 1;
  grid-row: 3;
}

.conventions_layout .g4 {
  grid-column: 2;
  grid-row: 3;
}

.conventions_layout .g5 {
  grid-column: 3;
  grid-row: 3;
}

.conventions_layout .g6 {
  grid-column: 4;
  grid-row: 3;
}

/* Marine: one large image, four small to the right, four small along the bottom */
.marine_layout .story_gallery {
  grid-template-rows: repeat(3, 132px);
}

.marine_layout .g1 {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.marine_layout .g2 {
  grid-column: 3;
  grid-row: 1;
}

.marine_layout .g3 {
  grid-column: 4;
  grid-row: 1;
}

.marine_layout .g4 {
  grid-column: 3;
  grid-row: 2;
}

.marine_layout .g5 {
  grid-column: 4;
  grid-row: 2;
}

.marine_layout .g6 {
  grid-column: 1;
  grid-row: 3;
}

.marine_layout .g7 {
  grid-column: 2;
  grid-row: 3;
}

.marine_layout .g8 {
  grid-column: 3;
  grid-row: 3;
}

.marine_layout .g9 {
  grid-column: 4;
  grid-row: 3;
}

/* Personal Portfolio: one tall feature, two small upper right, one large lower right */
.personal_layout .story_gallery {
  grid-template-rows: repeat(3, 134px);
}

.personal_layout .g1 {
  grid-column: 1 / 3;
  grid-row: 1 / 4;
}

.personal_layout .g2 {
  grid-column: 3;
  grid-row: 1;
}

.personal_layout .g3 {
  grid-column: 4;
  grid-row: 1;
}

.personal_layout .g4 {
  grid-column: 3 / 5;
  grid-row: 2 / 4;
}

.about_shell {
  padding: 0 var(--pad);
}

.about {
  position: relative;
  width: min(1100px, 100%);
  min-height: 540px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
  background: #173236;
}

.about_background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 17%;
}

.about_shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(13,31,34,.01) 0%,
      rgba(13,31,34,.05) 40%,
      rgba(13,31,34,.43) 64%,
      rgba(13,31,34,.76) 100%);
}

.about_copy {
  position: relative;
  z-index: 2;
  width: min(48%, 560px);
  margin-left: auto;
  padding: 62px 58px;
  color: white;
}

.about_copy .eyebrow {
  color: #bfe2df;
}

.about_copy h2 {
  color: white;
  font-size: clamp(2.05rem, 3.1vw, 3.15rem);
}

.about_copy p:not(.eyebrow) {
  margin: 20px 0 0;
  color: rgba(255,255,255,.88);
  font-size: 1.02rem;
}

.facebook_shell,
.contact_shell {
  padding: 68px var(--pad) 0;
}

.facebook_panel,
.contact_panel {
  width: min(1100px, 100%);
  margin: 0 auto;
  border-radius: 28px;
}

.facebook_panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 44px 48px;
  background: var(--teal_soft);
}

.facebook_panel h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.facebook_panel p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact_panel {
  max-width: 980px;
  padding: 28px 0 72px;
}

.contact_panel h2 {
  font-size: clamp(2.1rem, 3.2vw, 3rem);
}

.contact_panel p {
  max-width: 760px;
  color: var(--muted);
}

.contact_placeholder {
  margin-top: 24px;
  font-size: .86rem;
  font-style: italic;
}

.site_footer {
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.footer_inner {
  width: min(1100px, calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  color: var(--muted);
  font-size: .8rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(8,16,19,.93);
}

.lightbox.is_open { display: flex; }

.lightbox img {
  max-width: min(92vw, 1500px);
  max-height: 88vh;
  width: auto;
  height: auto;
  box-shadow: 0 20px 70px rgba(0,0,0,.38);
}

.lightbox_close,
.lightbox_nav {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,.14);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.lightbox_close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.7rem;
}

.lightbox_nav {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 64px;
  border-radius: 14px;
  font-size: 2rem;
}

.lightbox_prev { left: 20px; }
.lightbox_next { right: 20px; }

@media (max-width: 1040px) {
  .site_nav { display: none; }

  .nav_toggle { display: block; }

  .site_nav.is_open {
    position: absolute;
    top: 76px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .hero {
    width: min(1040px, 100%);
    grid-template-columns: 300px 1fr;
  }

  .hero_person {
    min-height: 360px;
  }

  .story_copy {
    grid-template-columns: 48px 200px 1fr;
  }

  .about {
    grid-template-columns: .8fr 1.2fr;
  }
}

@media (max-width: 760px) {
  .hero_shell {
    padding: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    border-radius: 0;
  }

  .hero_person {
    min-height: 390px;
  }

  .hero_person img {
    object-position: center top;
  }

  .hero_person::after {
    background: linear-gradient(to top, rgba(247,245,240,.95) 0%, transparent 30%);
  }

  .hero_copy {
    padding: 30px 22px 42px;
  }

  .hero_slider {
    min-height: 285px;
  }

  .portfolio_shell {
    width: min(100% - 30px, var(--max));
    padding-top: 64px;
  }

  .story_copy {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quiet_link {
    grid-column: auto;
  }


  .about_shell {
    padding: 0;
  }

  .about {
    min-height: 560px;
    border-radius: 0;
  }

  .about_background {
    object-position: 34% 16%;
  }

  .about_shade {
    background:
      linear-gradient(to top,
        rgba(13,31,34,.88) 0%,
        rgba(13,31,34,.66) 40%,
        rgba(13,31,34,.08) 76%);
  }

  .about_copy {
    width: 100%;
    margin: 0;
    padding: 280px 22px 42px;
  }

  .facebook_panel {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }

  .footer_inner {
    flex-direction: column;
  }

  .story_gallery,
  .marine_layout .story_gallery,
  .personal_layout .story_gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 150px;
  }

  .story_gallery .photo,
  .events_layout .g1,
  .events_layout .g2,
  .events_layout .g3,
  .events_layout .g4,
  .events_layout .g5,
  .events_layout .g6,
  .realestate_layout .g1,
  .realestate_layout .g2,
  .realestate_layout .g3,
  .realestate_layout .g4,
  .realestate_layout .g5,
  .realestate_layout .g6,
  .conventions_layout .g1,
  .conventions_layout .g2,
  .conventions_layout .g3,
  .conventions_layout .g4,
  .conventions_layout .g5,
  .conventions_layout .g6,
  .marine_layout .g1,
  .marine_layout .g2,
  .marine_layout .g3,
  .marine_layout .g4,
  .marine_layout .g5,
  .marine_layout .g6,
  .marine_layout .g7,
  .marine_layout .g8,
  .marine_layout .g9,
  .personal_layout .g1,
  .personal_layout .g2,
  .personal_layout .g3,
  .personal_layout .g4 {
    grid-column: auto;
    grid-row: auto;
  }

  .story_gallery .g1,
  .story_gallery .g4 {
    grid-column: 1 / -1;
    min-height: 240px;
  }
}

.story_gallery .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  .story_section::before {
    top: 4px;
    left: 0;
    font-size: clamp(2.2rem, 13vw, 3.8rem);
    opacity: .7;
  }

  .story_copy h2 {
    padding: 6px 12px 8px;
    border-radius: 12px;
  }
}


/* v12 overrides */
.site_header {
  background: rgba(25, 34, 42, .84);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.brand_location,
.site_nav a {
  color: rgba(238,243,245,.82);
}
.nav_toggle {
  color: #eef3f5;
}
.portfolio_shell {
  width: min(1100px, calc(100% - (var(--pad) * 2)));
}
.story_section {
  position: relative;
  padding: 34px 22px 34px;
  margin-bottom: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.045));
  border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(4px);
  overflow: hidden;
}
.story_section + .story_section {
  border-top: none;
}
.story_section::before {
  content: attr(data-title);
  position: absolute;
  top: 12px;
  left: 72px;
  z-index: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(3.6rem, 8vw, 6.4rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .88;
  color: rgba(255,255,255,.10);
  pointer-events: none;
  text-transform: none;
}
.story_copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 52px 250px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}
.section_number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(20,158,176,.14);
  color: #86e1df;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.story_copy h2 {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0;
  margin: 6px 0 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  color: #f5f8f9;
  font-size: clamp(2.15rem, 3vw, 3rem);
  line-height: .95;
}
.story_copy p {
  margin: 8px 0 0;
  padding-top: 6px;
  color: rgba(238,243,245,.88);
  font-size: 1rem;
}
.quiet_link {
  grid-column: 3;
  color: #8ae3dd;
}
.photo {
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.06);
}
.facebook_panel {
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.10);
  color: #eef3f5;
}
.facebook_panel p:not(.eyebrow) {
  color: rgba(238,243,245,.88);
}
.contact_panel p,
.site_footer,
.footer_inner {
  color: rgba(238,243,245,.82);
}
.site_footer {
  border-top: 1px solid rgba(255,255,255,.10);
}
@media (max-width: 900px) {
  .story_copy {
    grid-template-columns: 48px 220px minmax(0, 1fr);
    gap: 18px;
  }
  .story_section::before {
    left: 64px;
    font-size: clamp(3rem, 11vw, 5rem);
  }
}
@media (max-width: 760px) {
  .story_section {
    padding: 24px 16px 26px;
    border-radius: 18px;
  }
  .story_section::before {
    top: 12px;
    left: 18px;
    font-size: clamp(2.6rem, 13vw, 4rem);
    color: rgba(255,255,255,.08);
  }
  .story_copy {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .story_copy h2 {
    margin-top: 2px;
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }
  .story_copy p {
    padding-top: 0;
  }
}


/* v13 overrides */
.hero {
  background:
    radial-gradient(circle at 8% 12%, rgba(45,139,143,.16), transparent 18rem),
    linear-gradient(90deg, #c7d2d0 0%, #cdd7d4 55%, #c4cfcd 100%);
}

.hero_copy h1 {
  color: #162327;
}

.hero_tagline {
  color: #234a50;
}

.hero_lead {
  color: #314247;
}

.hero_area,
.eyebrow {
  color: #1f666b;
}

/* Remove section numbers and reclaim the space */
.section_number {
  display: none !important;
}

.story_copy {
  grid-template-columns: 250px minmax(0, 1fr) !important;
  gap: 22px !important;
}

.story_section::before {
  left: 28px;
  top: 8px;
}

.story_copy h2 {
  margin-top: 2px;
}

/* Create separation between More Work and About Wiley */
.facebook_shell {
  padding-bottom: 28px;
}

.about_shell {
  padding-top: 20px;
}

@media (max-width: 900px) {
  .story_copy {
    grid-template-columns: 230px minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  .story_section::before {
    left: 24px;
  }
}

@media (max-width: 760px) {
  .story_copy {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .story_section::before {
    left: 18px;
  }

  .facebook_shell {
    padding-bottom: 20px;
  }

  .about_shell {
    padding-top: 12px;
  }
}


/* v14 hero blend refinement */
.hero_person {
  background: #111518;
}

.hero_person::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  width: 42%;
  pointer-events: none;
  background:
    linear-gradient(
      to right,
      rgba(17, 21, 24, 0) 0%,
      rgba(151, 170, 167, 0.10) 36%,
      rgba(182, 198, 195, 0.34) 62%,
      rgba(199, 210, 208, 0.72) 82%,
      rgba(205, 215, 212, 0.98) 100%
    );
}

/* keep the fade safely away from the face area */
.hero_person img {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .hero_person::after {
    width: 36%;
  }
}


/* v15 visible hero image edge blend */
.hero_person {
  background: #cbd6d3;
}

/* Fade the actual headshot image itself into transparency at the far right edge */
.hero_person img {
  position: relative;
  z-index: 1;
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 78%,
    rgba(0,0,0,.92) 83%,
    rgba(0,0,0,.60) 89%,
    rgba(0,0,0,.22) 95%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 78%,
    rgba(0,0,0,.92) 83%,
    rgba(0,0,0,.60) 89%,
    rgba(0,0,0,.22) 95%,
    transparent 100%
  );
}

/* Disable the ineffective overlay from v14 */
.hero_person::after {
  display: none;
}

@media (max-width: 760px) {
  .hero_person img {
    -webkit-mask-image: linear-gradient(
      to right,
      #000 0%,
      #000 82%,
      rgba(0,0,0,.72) 91%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      #000 0%,
      #000 82%,
      rgba(0,0,0,.72) 91%,
      transparent 100%
    );
  }
}


/* v18 hero transition across the entire hero, not inside the portrait */
.hero {
  background:
    linear-gradient(
      90deg,
      #101416 0%,
      #101416 31%,
      #536765 39%,
      #869a96 52%,
      #aebdb9 68%,
      #c8d3cf 84%,
      #d0dad6 100%
    );
}

/* Keep Wiley's headshot fully intact */
.hero_person {
  background: #101416;
}

.hero_person img {
  -webkit-mask-image: none !important;
  mask-image: none !important;
  position: relative;
  z-index: 2;
}

/* Remove any image-cell fade */
.hero_person::after {
  display: none !important;
}

/* The transition continues through the text side */
.hero_copy {
  position: relative;
  z-index: 3;
  background:
    linear-gradient(
      90deg,
      rgba(83,103,101,.00) 0%,
      rgba(134,154,150,.10) 18%,
      rgba(174,189,185,.18) 42%,
      rgba(200,211,207,.30) 72%,
      rgba(208,218,214,.42) 100%
    );
}

/* Slightly strengthen text contrast against the gradient */
.hero_copy h1 {
  color: #102025;
}

.hero_tagline {
  color: #173e44;
}

.hero_lead {
  color: #263a3f;
}

.hero_area,
.hero_copy .eyebrow {
  color: #145c62;
}

@media (max-width: 760px) {
  .hero {
    background:
      linear-gradient(
        180deg,
        #101416 0%,
        #101416 40%,
        #7e918e 60%,
        #c8d3cf 82%,
        #d0dad6 100%
      );
  }

  .hero_copy {
    background: rgba(208,218,214,.74);
  }
}


/* v19 contact intake system */
.contact_shell {
  padding: 68px var(--pad) 72px;
}

.contact_intake {
  max-width: none;
  padding: 0;
}

.contact_intro {
  max-width: 820px;
  margin-bottom: 30px;
}

.contact_intro h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.15rem, 3.2vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -.025em;
}

.contact_intro > p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(238,243,245,.84);
  font-size: 1.02rem;
}

.contact_choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.contact_choice {
  position: relative;
  min-height: 106px;
  padding: 20px 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
  color: #eef3f5;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.contact_choice:hover {
  transform: translateY(-2px);
  border-color: rgba(112,222,216,.44);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

.contact_choice.is_active {
  border-color: rgba(112,222,216,.72);
  background:
    linear-gradient(180deg, rgba(45,139,143,.28), rgba(45,139,143,.12));
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
}

.choice_title {
  display: block;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.choice_note {
  display: block;
  margin-top: 8px;
  color: rgba(238,243,245,.68);
  font-size: .82rem;
  line-height: 1.35;
}

.contact_form_stage {
  position: relative;
  min-height: 150px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(10,20,25,.34), rgba(10,20,25,.22));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.contact_form_placeholder {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 92px;
  justify-content: center;
  color: rgba(238,243,245,.76);
}

.contact_form_placeholder strong {
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
}

.request_form[hidden] {
  display: none !important;
}

.request_form {
  animation: contactFormIn .28s ease;
}

@keyframes contactFormIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form_heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.form_heading h3 {
  margin: 0;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 2.6vw, 2.55rem);
  line-height: 1.08;
}

.form_heading p:last-child {
  margin: 12px 0 0;
  color: rgba(238,243,245,.72);
}

.form_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form_grid label,
.option_group {
  min-width: 0;
}

.form_grid label > span,
.option_group legend {
  display: block;
  margin-bottom: 7px;
  color: rgba(238,243,245,.88);
  font-size: .82rem;
  font-weight: 700;
}

.form_grid input,
.form_grid select,
.form_grid textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 13px;
  background: rgba(255,255,255,.075);
  color: #ffffff;
  font: inherit;
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.form_grid input,
.form_grid select {
  min-height: 46px;
  padding: 0 13px;
}

.form_grid textarea {
  padding: 12px 13px;
  resize: vertical;
}

.form_grid select option {
  color: #1c292d;
  background: #ffffff;
}

.form_grid input::placeholder,
.form_grid textarea::placeholder {
  color: rgba(238,243,245,.42);
}

.form_grid input:focus,
.form_grid select:focus,
.form_grid textarea:focus {
  border-color: rgba(112,222,216,.72);
  background: rgba(255,255,255,.10);
  box-shadow: 0 0 0 3px rgba(45,139,143,.12);
}

.field_wide {
  grid-column: 1 / -1;
}

.option_group {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
}

.option_group legend {
  padding: 0 6px;
}

.option_group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 20px 6px 0;
  color: rgba(238,243,245,.80);
  font-size: .9rem;
}

.option_group input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  margin: 0;
  accent-color: var(--teal);
}

.form_actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.form_status {
  color: #9de3dd;
  font-size: .87rem;
}

@media (max-width: 900px) {
  .contact_choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .contact_shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact_choices {
    grid-template-columns: 1fr;
  }

  .contact_choice {
    min-height: 86px;
  }

  .contact_form_stage {
    padding: 22px 16px;
  }

  .form_grid {
    grid-template-columns: 1fr;
  }

  .field_wide {
    grid-column: auto;
  }

  .option_group {
    grid-column: auto;
  }

  .option_group label {
    display: flex;
    margin-right: 0;
  }
}


/* v20 homepage contact CTA and subpages */
.home_contact_shell {
  padding: 64px var(--pad) 76px;
}

.home_contact_panel {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 38px 42px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.055));
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(5px);
}

.home_contact_panel h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.06;
}

.home_contact_panel p:not(.eyebrow) {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(238,243,245,.84);
}

.footer_with_links {
  align-items: center;
}

.footer_links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer_links a {
  color: rgba(238,243,245,.78);
  text-decoration: none;
}

.footer_links a:hover {
  color: #ffffff;
}

.subpage_main {
  min-height: 70vh;
}

.subpage_intro {
  padding: 64px var(--pad) 24px;
}

.subpage_intro_inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 44px 46px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.055));
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(5px);
}

.subpage_intro h1 {
  max-width: 900px;
  margin: 0;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 4.5vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -.03em;
}

.subpage_intro p:not(.eyebrow) {
  max-width: 780px;
  margin: 18px 0 0;
  color: rgba(238,243,245,.82);
  font-size: 1.04rem;
}

.contact_page .contact_shell {
  padding-top: 28px;
}

.legal_shell {
  padding: 28px var(--pad) 78px;
}

.legal_panel {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 44px 48px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.055));
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(238,243,245,.86);
  backdrop-filter: blur(5px);
}

.legal_panel h2 {
  margin: 32px 0 0;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
}

.legal_panel h2:first-child {
  margin-top: 0;
}

.legal_panel p {
  margin: 12px 0 0;
}

.legal_action {
  margin-top: 32px !important;
}

@media (max-width: 760px) {
  .home_contact_panel {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .subpage_intro {
    padding: 34px 16px 18px;
  }

  .subpage_intro_inner {
    padding: 32px 22px;
    border-radius: 20px;
  }

  .legal_shell {
    padding: 18px 16px 56px;
  }

  .legal_panel {
    padding: 30px 22px;
    border-radius: 20px;
  }

  .footer_with_links {
    align-items: flex-start;
  }

  .footer_links {
    gap: 10px 16px;
  }
}


/* v21 contact revisions */
.contact_page .contact_shell {
  padding-top: 56px;
}

.attire_group .attire_other_wrap {
  display: inline-block;
  min-width: min(360px, 100%);
  margin-top: 10px;
}

.inline_detail {
  display: block !important;
  margin: 0 !important;
}

.inline_detail span {
  display: block;
  margin-bottom: 7px;
  color: rgba(238,243,245,.78);
  font-size: .8rem;
  font-weight: 700;
}

.agent_reminder {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(112,222,216,.28);
  border-radius: 12px;
  background: rgba(45,139,143,.12);
  color: rgba(238,243,245,.82);
}

.agent_reminder strong {
  display: block;
  color: #ffffff;
  margin-bottom: 5px;
}

.agent_reminder p {
  margin: 0;
}

.form_legal_links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: rgba(238,243,245,.46);
  font-size: .78rem;
}

.form_legal_links a {
  color: rgba(238,243,245,.66);
  text-decoration: none;
}

.form_legal_links a:hover {
  color: #ffffff;
}

@media (max-width: 680px) {
  .contact_page .contact_shell {
    padding-top: 34px;
  }

  .attire_group .attire_other_wrap {
    display: block;
    width: 100%;
  }
}


/* v22 compact radio controls */
.option_group input[type="radio"] {
  width: 16px !important;
  height: 16px;
  min-height: 16px !important;
  flex: 0 0 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--teal);
}

.option_group label {
  gap: 7px;
  margin: 4px 16px 4px 0;
}

.option_group legend {
  margin-bottom: 3px;
}

/* Keep short Yes / No groups tight beneath their question */
.option_group:not(.field_wide) {
  align-self: start;
}

.agent_accompany_group label {
  margin-top: 4px;
  margin-bottom: 4px;
}


/* v23 approved dark hero with transparent Wiley portrait */
.hero {
  position: relative;
  isolation: isolate;
  width: min(1100px, 100%);
  min-height: 420px;
  grid-template-columns: 43% minmax(0, 57%);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 30px;
  background:
    radial-gradient(circle at 7% 15%, rgba(38,155,160,.28), transparent 28%),
    radial-gradient(circle at 98% 70%, rgba(143,71,154,.18), transparent 24%),
    radial-gradient(circle at 92% 100%, rgba(197,119,63,.16), transparent 22%),
    linear-gradient(105deg, #26323a 0%, #202c34 42%, #28343d 100%);
  box-shadow: 0 22px 55px rgba(0,0,0,.28);
}

/* subtle pattern like the darker contact treatment */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .30;
  background-image:
    repeating-linear-gradient(
      125deg,
      rgba(255,255,255,.055) 0,
      rgba(255,255,255,.055) 1px,
      transparent 1px,
      transparent 28px
    ),
    radial-gradient(circle, rgba(255,255,255,.10) 1px, transparent 1.5px);
  background-size: auto, 42px 42px;
}

.hero_person {
  position: relative;
  z-index: 2;
  min-height: 420px;
  overflow: visible;
  background: transparent !important;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero_person::after {
  display: none !important;
}

.hero_person img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
  object-position: center bottom;
  filter: none;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  position: relative;
  z-index: 2;
}

.hero_copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 48px 42px 28px;
  background: none !important;
}

.hero_copy .eyebrow {
  color: #2aa7aa !important;
  letter-spacing: .25em;
}

.hero_copy h1 {
  color: #ffffff !important;
  font-size: clamp(3rem, 5vw, 4.45rem);
  line-height: .98;
  text-shadow: 0 2px 18px rgba(0,0,0,.18);
}

.hero_tagline {
  color: rgba(255,255,255,.76) !important;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.hero_lead {
  color: rgba(245,248,249,.82) !important;
  max-width: 560px;
}

.hero_area {
  color: rgba(245,248,249,.78) !important;
  letter-spacing: .07em;
}

.hero_actions .button {
  background: #15999d;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(8,97,101,.28);
}

.hero_actions .button:hover {
  background: #117e82;
}

.hero_actions .text_link {
  color: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  padding: 11px 19px;
  text-decoration: none;
}

.hero_actions .text_link:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,.62);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 42% minmax(0, 58%);
  }

  .hero_copy {
    padding: 36px 34px 36px 20px;
  }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    background:
      radial-gradient(circle at 20% 12%, rgba(38,155,160,.28), transparent 30%),
      radial-gradient(circle at 90% 88%, rgba(143,71,154,.16), transparent 28%),
      linear-gradient(180deg, #26323a 0%, #202c34 55%, #28343d 100%);
  }

  .hero_person {
    min-height: 330px;
    height: 330px;
  }

  .hero_person img {
    max-height: 330px;
    object-position: center bottom;
  }

  .hero_copy {
    padding: 28px 24px 34px;
  }

  .hero_copy h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }
}


/* v24 sitewide image screen overlay system, dots version */
:root {
  --screen-dot-size-hero: 9px;
  --screen-dot-size-thumb: 7px;
  --screen-dot-size-lightbox: 8px;

  --screen-dot-opacity-hero: .14;
  --screen-dot-opacity-thumb: .10;
  --screen-dot-opacity-lightbox: .06;

  --screen-shade-hero: rgba(0,0,0,.06);
  --screen-shade-thumb: rgba(0,0,0,.04);
  --screen-shade-lightbox: rgba(0,0,0,.03);
}

/* Hero overlay, medium strength */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(0,0,0,var(--screen-dot-opacity-hero)) 1px, transparent 1.4px),
    linear-gradient(180deg, var(--screen-shade-hero), var(--screen-shade-hero));
  background-size:
    var(--screen-dot-size-hero) var(--screen-dot-size-hero),
    auto;
  background-position:
    0 0,
    0 0;
}

/* keep portrait and text above the hero overlay */
.hero_person,
.hero_copy {
  position: relative;
  z-index: 2;
}

/* Sample gallery images, light to medium */
.photo {
  position: relative;
}

.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(0,0,0,var(--screen-dot-opacity-thumb)) 1px, transparent 1.35px),
    linear-gradient(180deg, var(--screen-shade-thumb), var(--screen-shade-thumb));
  background-size:
    var(--screen-dot-size-thumb) var(--screen-dot-size-thumb),
    auto;
  background-position:
    0 0,
    0 0;
}

.photo img,
.photo_overlay {
  position: relative;
  z-index: 0;
}

.photo_overlay {
  z-index: 2;
}

/* Full size lightbox image, very subtle */
.lightbox_media {
  position: relative;
  display: inline-block;
  max-width: min(92vw, 1500px);
  max-height: 88vh;
  line-height: 0;
}

.lightbox_media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(0,0,0,var(--screen-dot-opacity-lightbox)) 1px, transparent 1.3px),
    linear-gradient(180deg, var(--screen-shade-lightbox), var(--screen-shade-lightbox));
  background-size:
    var(--screen-dot-size-lightbox) var(--screen-dot-size-lightbox),
    auto;
  background-position:
    0 0,
    0 0;
  border-radius: 0;
}

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  box-shadow: 0 20px 70px rgba(0,0,0,.38);
}

@media (max-width: 760px) {
  :root {
    --screen-dot-size-hero: 8px;
    --screen-dot-size-thumb: 6px;
    --screen-dot-size-lightbox: 7px;
  }
}


/* v25 corrected and more visible dot screen */

/*
  The v24 hero overlay was below the portrait because the portrait sat on a
  higher z-index. This version places the screen directly over the portrait.
  Dot strength is also increased so the effect is actually visible.
*/

:root {
  --screen-dot-size-hero: 5px;
  --screen-dot-size-thumb: 5px;
  --screen-dot-size-lightbox: 6px;

  --screen-dot-opacity-hero: .28;
  --screen-dot-opacity-thumb: .22;
  --screen-dot-opacity-lightbox: .10;
}

/* Do not use the old whole-hero dot layer */
.hero::after {
  display: none !important;
}

/* HERO IMAGE: medium visible screen over Wiley's portrait only */
.hero_person {
  position: relative;
}

.hero_person::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      rgba(0,0,0,var(--screen-dot-opacity-hero)) 1.15px,
      transparent 1.35px
    ),
    rgba(0,0,0,.045);
  background-size:
    var(--screen-dot-size-hero) var(--screen-dot-size-hero),
    auto;
}

.hero_person img {
  position: relative;
  z-index: 2;
}

/* SAMPLE IMAGES: light to medium visible screen */
.photo::before {
  z-index: 4 !important;
  background:
    radial-gradient(
      circle,
      rgba(0,0,0,var(--screen-dot-opacity-thumb)) 1.1px,
      transparent 1.3px
    ),
    rgba(0,0,0,.035) !important;
  background-size:
    var(--screen-dot-size-thumb) var(--screen-dot-size-thumb),
    auto !important;
}

/* Keep any gallery title/text above the screen */
.photo_overlay {
  z-index: 5 !important;
}

/* FULL SIZE LIGHTBOX: intentionally subtle, but still visible */
.lightbox_media::after {
  z-index: 4 !important;
  background:
    radial-gradient(
      circle,
      rgba(0,0,0,var(--screen-dot-opacity-lightbox)) 1px,
      transparent 1.25px
    ),
    rgba(0,0,0,.018) !important;
  background-size:
    var(--screen-dot-size-lightbox) var(--screen-dot-size-lightbox),
    auto !important;
}


/* v26 softer vintage screen effect */
/*
  V25 was intentionally exaggerated for visibility.
  This version is much lighter and hazier:
  smaller dots, far lower opacity, and a faint soft wash.
*/

:root {
  --screen-dot-size-hero: 4px;
  --screen-dot-size-thumb: 4px;
  --screen-dot-size-lightbox: 5px;

  --screen-dot-opacity-hero: .085;
  --screen-dot-opacity-thumb: .065;
  --screen-dot-opacity-lightbox: .028;
}

/* Hero portrait: subtle haze with barely visible dots */
.hero_person::before {
  background:
    radial-gradient(
      circle,
      rgba(0,0,0,var(--screen-dot-opacity-hero)) .65px,
      transparent .9px
    ),
    rgba(205,215,213,.018) !important;
  background-size:
    var(--screen-dot-size-hero) var(--screen-dot-size-hero),
    auto !important;
}

/* Gallery samples: restrained screen effect */
.photo::before {
  background:
    radial-gradient(
      circle,
      rgba(0,0,0,var(--screen-dot-opacity-thumb)) .6px,
      transparent .85px
    ),
    rgba(205,215,213,.014) !important;
  background-size:
    var(--screen-dot-size-thumb) var(--screen-dot-size-thumb),
    auto !important;
}

/* Full size lightbox: almost imperceptible */
.lightbox_media::after {
  background:
    radial-gradient(
      circle,
      rgba(0,0,0,var(--screen-dot-opacity-lightbox)) .55px,
      transparent .8px
    ),
    rgba(205,215,213,.008) !important;
  background-size:
    var(--screen-dot-size-lightbox) var(--screen-dot-size-lightbox),
    auto !important;
}


/* v27 return images to normal and separate gallery thumbnails */

/* Remove all screen / dot / haze overlays */
.hero::after,
.hero_person::before,
.photo::before,
.lightbox_media::after {
  display: none !important;
  content: none !important;
}

/* Keep gallery images visually separate from one another */
.photo {
  border: 2px solid rgba(255,255,255,.30);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.22),
    0 8px 20px rgba(0,0,0,.14);
}

/* Slightly stronger edge on hover without changing the image itself */
.photo:hover {
  border-color: rgba(255,255,255,.52);
}


/* v29 hero only: concept one translated into the live page */
.hero_concept_one {
  position: relative;
  isolation: isolate;
  width: min(1100px, 100%);
  height: 410px;
  min-height: 410px;
  display: grid;
  grid-template-columns: 43% minmax(0, 57%);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 13% 18%, rgba(0,144,164,.24), transparent 31%),
    radial-gradient(circle at 94% 78%, rgba(142,47,110,.22), transparent 28%),
    linear-gradient(105deg, #06141e 0%, #071722 44%, #0b1721 100%);
  box-shadow: 0 22px 55px rgba(0,0,0,.30);
}

/* reset earlier hero effects */
.hero_concept_one::before,
.hero_concept_one::after,
.hero_concept_one .hero_person::after {
  display: none !important;
  content: none !important;
}

/* skyline and waterfront detail from the chosen concept */
.hero_concept_one .hero_scene {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 41%;
  background:
    linear-gradient(90deg, #071722 0%, rgba(7,23,34,.86) 19%, rgba(7,23,34,.22) 65%, rgba(7,23,34,.08) 100%),
    url("/images/site/hero_city_scene.webp") center right / cover no-repeat;
  opacity: .72;
  filter: saturate(.92) brightness(.84);
}

/* subtle lens rings behind the portrait */
.hero_concept_one .hero_person {
  position: relative;
  z-index: 2;
  height: 410px;
  min-height: 410px;
  overflow: visible;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: transparent !important;
}

.hero_concept_one .hero_person::before {
  content: "";
  display: block !important;
  position: absolute;
  z-index: 0;
  width: 500px;
  height: 500px;
  left: 47%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background:
    repeating-radial-gradient(
      circle at center,
      transparent 0,
      transparent 44px,
      rgba(38,164,181,.12) 45px,
      rgba(38,164,181,.12) 46px,
      transparent 47px,
      transparent 72px
    );
  opacity: .95;
}

.hero_concept_one .hero_person img {
  position: relative;
  z-index: 2;
  width: auto;
  height: 395px;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  filter: brightness(.90) saturate(.95) contrast(1.02);
}

/* keep the wording exactly as the live page, just restyled for the darker hero */
.hero_concept_one .hero_copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 42px 34px 26px;
  background:
    linear-gradient(
      90deg,
      rgba(3,13,21,.46) 0%,
      rgba(3,13,21,.56) 45%,
      rgba(3,13,21,.24) 100%
    ) !important;
}

.hero_concept_one .hero_copy .eyebrow {
  margin-bottom: 8px;
  color: #27b5bc !important;
  letter-spacing: .22em;
}

.hero_concept_one .hero_copy h1 {
  color: #ffffff !important;
  font-size: clamp(3rem, 5vw, 4.25rem);
  line-height: .95;
  text-shadow: 0 3px 22px rgba(0,0,0,.28);
}

.hero_concept_one .hero_tagline {
  margin-top: 10px;
  color: rgba(255,255,255,.77) !important;
  font-size: clamp(1.2rem, 2vw, 1.58rem);
}

.hero_concept_one .hero_lead {
  margin-top: 20px;
  color: rgba(246,249,250,.84) !important;
  max-width: 560px;
}

.hero_concept_one .hero_area {
  margin-top: 16px;
  color: rgba(246,249,250,.79) !important;
}

.hero_concept_one .hero_actions {
  margin-top: 21px;
}

.hero_concept_one .hero_actions .button {
  background: #13a3aa;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
}

.hero_concept_one .hero_actions .text_link {
  color: rgba(255,255,255,.90);
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
  padding: 11px 20px;
  text-decoration: none;
}

/* low light trails, intentionally kept below the portrait and text */
.hero_concept_one .hero_swoosh {
  position: absolute;
  z-index: 4;
  left: -4%;
  right: -4%;
  bottom: -42px;
  height: 115px;
  pointer-events: none;
  overflow: visible;
}

.hero_concept_one .hero_swoosh span {
  position: absolute;
  left: 0;
  width: 108%;
  height: 115px;
  border-radius: 50%;
  border-top: 2px solid transparent;
  transform: rotate(-2deg);
  opacity: .82;
}

.hero_concept_one .hero_swoosh span:nth-child(1) {
  top: 6px;
  border-top-color: rgba(25,190,218,.76);
  box-shadow: 0 -2px 10px rgba(25,190,218,.28);
}

.hero_concept_one .hero_swoosh span:nth-child(2) {
  top: 19px;
  border-top-color: rgba(239,63,124,.64);
  transform: rotate(-1deg);
  box-shadow: 0 -2px 10px rgba(239,63,124,.22);
}

.hero_concept_one .hero_swoosh span:nth-child(3) {
  top: 31px;
  border-top-color: rgba(255,124,55,.70);
  transform: rotate(0deg);
  box-shadow: 0 -2px 11px rgba(255,124,55,.24);
}

@media (max-width: 900px) {
  .hero_concept_one {
    grid-template-columns: 41% minmax(0, 59%);
  }

  .hero_concept_one .hero_person img {
    height: 375px;
  }

  .hero_concept_one .hero_copy {
    padding-right: 28px;
  }
}

@media (max-width: 760px) {
  .hero_concept_one {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero_concept_one .hero_scene {
    width: 100%;
    opacity: .38;
  }

  .hero_concept_one .hero_person {
    height: 330px;
    min-height: 330px;
  }

  .hero_concept_one .hero_person img {
    height: 325px;
  }

  .hero_concept_one .hero_copy {
    padding: 28px 24px 42px;
    background: rgba(3,13,21,.66) !important;
  }

  .hero_concept_one .hero_swoosh {
    bottom: -52px;
  }
}


/* v30 final homepage finish */

/* Approved hero visual direction */
.hero_concept_one {
  background:
    radial-gradient(circle at 10% 14%, rgba(0,148,170,.28), transparent 30%),
    radial-gradient(circle at 90% 76%, rgba(137,51,105,.18), transparent 30%),
    linear-gradient(105deg, #06131d 0%, #071622 45%, #09151f 100%);
}

.hero_concept_one .hero_scene {
  width: 40%;
  background:
    linear-gradient(
      90deg,
      #071622 0%,
      rgba(7,22,34,.92) 15%,
      rgba(7,22,34,.38) 45%,
      rgba(7,22,34,.08) 100%
    ),
    url("/images/site/hero_city_scene.webp") center right / cover no-repeat;
  opacity: .82;
  filter: saturate(.96) brightness(.87);
}

.hero_concept_one .hero_person::before {
  width: 520px;
  height: 520px;
  background:
    repeating-radial-gradient(
      circle at center,
      transparent 0,
      transparent 49px,
      rgba(38,164,181,.12) 50px,
      rgba(38,164,181,.12) 51px,
      transparent 52px,
      transparent 78px
    );
}

.hero_concept_one .hero_person img {
  filter: brightness(.91) saturate(.96) contrast(1.02);
}

.hero_concept_one .hero_swoosh {
  bottom: -48px;
}

/* Intro above the existing photography categories */
.samples_intro {
  width: min(1100px, calc(100% - (var(--pad) * 2)));
  margin: 38px auto 16px;
  text-align: center;
}

.samples_intro .eyebrow {
  margin-bottom: 8px;
  color: #22aeb5;
}

.samples_intro h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}

.samples_intro p:not(.eyebrow) {
  max-width: 700px;
  margin: 12px auto 0;
  color: rgba(238,243,245,.76);
}

.samples_rule {
  display: block;
  width: 44px;
  height: 2px;
  margin: 15px auto 0;
  background: #22aeb5;
}

/* Gallery sample borders: use one of the warm hero line colors */
.photo {
  border: 2px solid #944e2a !important;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.28),
    0 8px 20px rgba(0,0,0,.16);
}

.photo:hover {
  border-color: #b5653c !important;
}

@media (max-width: 760px) {
  .samples_intro {
    margin-top: 28px;
    margin-bottom: 12px;
  }
}


/* v35 sample section refinements only */
.story_section {
  border-color: rgba(34, 174, 181, .58) !important;
}

.photo {
  border-color: #22aeb5 !important;
}

.photo:hover {
  border-color: #49c8ce !important;
}


/* v36 bright plum borders around the major shell / panel areas only */
:root {
  --shell-plum: #9d4f87;
  --shell-plum-hover: #b8659f;
}

/* Keep the locked hero graphic itself unchanged; only outline its container */
.hero_exact {
  border: 2px solid var(--shell-plum) !important;
}

/* Main photography category shells */
.story_section {
  border: 2px solid var(--shell-plum) !important;
}

/* Facebook, About and homepage assignment/contact shells */
.facebook_panel,
.about_panel,
.home_contact_panel {
  border: 2px solid var(--shell-plum) !important;
}

/* Standalone contact / legal page primary panels */
.contact_panel,
.subpage_intro_inner,
.legal_panel {
  border: 2px solid var(--shell-plum) !important;
}


/* v37 contact page spacing and request-card color cleanup */

/* The contact intake panel received a border in v36, but its old padding was zero.
   Restore proper breathing room inside the bordered shell. */
.contact_page .contact_shell {
  padding-top: 44px !important;
  padding-bottom: 72px !important;
}

.contact_page .contact_intake {
  padding: 34px 36px 36px !important;
}

.contact_page .contact_intro {
  margin-bottom: 26px;
}

.contact_page .contact_choices {
  gap: 14px;
  margin-bottom: 26px;
}

.contact_page .contact_choice {
  min-height: 104px;
  padding: 19px 18px;
  border-width: 2px;
}

.contact_page .contact_form_stage {
  padding: 30px 32px;
}

/* Give each request choice its own hero/site palette color */
.contact_page .contact_choice:nth-child(1) {
  border-color: #22aeb5; /* Events: aqua */
}

.contact_page .contact_choice:nth-child(2) {
  border-color: #9d4f87; /* Conventions: plum */
}

.contact_page .contact_choice:nth-child(3) {
  border-color: #944e2a; /* Real Estate: warm rust */
}

.contact_page .contact_choice:nth-child(4) {
  border-color: #557f9e; /* General Contact: blue */
}

.contact_page .contact_choice:nth-child(1):hover,
.contact_page .contact_choice:nth-child(1).is_active {
  border-color: #49c8ce;
  background: linear-gradient(180deg, rgba(34,174,181,.22), rgba(34,174,181,.08));
}

.contact_page .contact_choice:nth-child(2):hover,
.contact_page .contact_choice:nth-child(2).is_active {
  border-color: #bd6aa6;
  background: linear-gradient(180deg, rgba(157,79,135,.24), rgba(157,79,135,.08));
}

.contact_page .contact_choice:nth-child(3):hover,
.contact_page .contact_choice:nth-child(3).is_active {
  border-color: #bd7048;
  background: linear-gradient(180deg, rgba(148,78,42,.25), rgba(148,78,42,.08));
}

.contact_page .contact_choice:nth-child(4):hover,
.contact_page .contact_choice:nth-child(4).is_active {
  border-color: #79a6c7;
  background: linear-gradient(180deg, rgba(85,127,158,.24), rgba(85,127,158,.08));
}

@media (max-width: 680px) {
  .contact_page .contact_shell {
    padding-top: 28px !important;
    padding-bottom: 52px !important;
  }

  .contact_page .contact_intake {
    padding: 24px 18px 22px !important;
  }

  .contact_page .contact_choices {
    gap: 10px;
    margin-bottom: 20px;
  }

  .contact_page .contact_choice {
    min-height: 84px;
    padding: 16px;
  }

  .contact_page .contact_form_stage {
    padding: 22px 16px;
  }
}


/* v39 About Wiley shell border only */
.about_panel {
  border-color: #944e2a !important;
}


/* v40 individual sample category shell border colors */

/* Events */
#events.story_section {
  border-color: #22aeb5 !important;
}

/* Conventions */
#conventions.story_section {
  border-color: #9d4f87 !important;
}

/* Real Estate */
#realestate.story_section {
  border-color: #944e2a !important;
}

/* Marine */
#marine.story_section {
  border-color: #557f9e !important;
}

/* Personal Portfolio */
#personal.story_section {
  border-color: #7c5aa6 !important;
}

/* Keep the previously approved About Wiley border */
.about_panel {
  border-color: #944e2a !important;
}


/* v41 correct About Wiley border and match thumbnail borders to each category */

/* The visible About Wiley shell is .about, not .about_panel */
.about {
  border: 2px solid #944e2a !important;
  box-sizing: border-box;
}

/* Match every sample thumbnail border to its category shell */
#events .photo {
  border-color: #22aeb5 !important;
}

#conventions .photo {
  border-color: #9d4f87 !important;
}

#realestate .photo {
  border-color: #944e2a !important;
}

#marine .photo {
  border-color: #557f9e !important;
}

#personal .photo {
  border-color: #7c5aa6 !important;
}

/* Keep thumbnail hover borders in the same category color */
#events .photo:hover {
  border-color: #22aeb5 !important;
}

#conventions .photo:hover {
  border-color: #9d4f87 !important;
}

#realestate .photo:hover {
  border-color: #944e2a !important;
}

#marine .photo:hover {
  border-color: #557f9e !important;
}

#personal .photo:hover {
  border-color: #7c5aa6 !important;
}


/* v42 understated borders for More Work and Photography Assignments */
.facebook_panel {
  border: 2px solid #667078 !important;
}

.home_contact_panel {
  border: 2px solid #667078 !important;
}


/* v43 sample category shell borders: understated gray only */
#conventions.story_section,
#events.story_section,
#realestate.story_section,
#marine.story_section,
#personal.story_section {
  border-color: #667078 !important;
}


/* v44 contact page main shell border to gray */
.contact_panel,
.contact_intake {
  border-color: #667078 !important;
}
