/* The approved light gallery / editorial direction. Home-only overrides. */
body[data-page=home] .gallery-hero .editorial-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: clamp(440px,34vw,490px);
  padding-block: 53px 57px;
}
body[data-page=home] .gallery-hero-brand {
  margin: 0 0 19px;
  color: #f5efe0;
  font-size: 10px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
}
body[data-page=home] .gallery-hero h1 {
  max-width: 700px;
  margin: 0 0 20px;
  color: #fffefa;
  font-size: clamp(45px,4.7vw,64px);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 400;
  text-wrap: balance;
}
body[data-page=home] .gallery-hero .lead {
  max-width: 640px;
  margin: 0 0 25px;
  color: #f5f2ea;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .015em;
}
body[data-page=home] .gallery-hero .actions { display: flex; flex-direction: row; align-items: center; gap: 30px; margin: 0; }
body[data-page=home] .gallery-hero .btn {
  min-height: 46px;
  padding: 13px 27px;
  border: 1px solid #af925b;
  border-radius: 0;
  background: #af925b;
  box-shadow: none;
  color: #20241f;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}
body[data-page=home] .gallery-hero .actions .link-arrow {
  min-height: 44px;
  padding-block: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fffefa;
  font-size: 12px;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: #d8d9d5a3;
  text-underline-offset: 7px;
}
body[data-page=home] .gallery-hero .actions .link-arrow svg { width: 18px; height: 18px; }
body[data-page=home] .gallery-hero .editorial-hero-backdrop img { inset: 0; width: 100%; height: 100%; object-position: center; }
body[data-page=home] .gallery-hero .editorial-hero-background-video { object-position: center; }
body[data-page=home] .gallery-hero .editorial-hero-shade {
  background: linear-gradient(90deg,#182027c7 0%,#182027b3 30%,#18202752 63%,#1820271a 100%);
}
body[data-page=home] .gallery-hero .editorial-hero-film-controls { right: max(24px,var(--gutter)); bottom: 22px; }
body[data-page=home] .gallery-hero .editorial-hero-film-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid #f8f6f0b3;
  border-radius: 50%;
  background: #18202745;
  color: #fffefa;
  backdrop-filter: none;
}
body[data-page=home] #competencies { padding-block: clamp(35px,4vw,56px) 25px; background: #fffefa; }
body[data-page=home] #competencies > .container > .eyebrow { margin-bottom: 12px; color: #947746; font-size: 10px; line-height: 1.5; letter-spacing: .19em; }
body[data-page=home] #competencies .section-head { display: block; max-width: none; margin-bottom: 27px; }
body[data-page=home] #competencies .section-head h2 { max-width: 900px; margin: 0; color: #292d29; font-size: clamp(30px,3.1vw,43px); font-weight: 400; line-height: 1.2; letter-spacing: -.02em; }
body[data-page=home] #competencies .section-head > p:empty { display: none; }
body[data-page=home] #competencies .section-head > p:not(:empty) { max-width: 62ch; margin-top: 15px; font-size: 14px; }
body[data-page=home] .services-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 26px; }
body[data-page=home] .gallery-service-card {
  display: block;
  min-width: 0;
  padding: 0!important;
  overflow: visible;
  border: 0!important;
  border-radius: 0;
  background: transparent;
  box-shadow: none!important;
  transform: none!important;
}
body[data-page=home] .gallery-service-link { display: block; height: 100%; color: inherit; text-decoration: none; }
body[data-page=home] .gallery-service-link:focus-visible { outline: 2px solid #947746; outline-offset: 7px; }
body[data-page=home] .gallery-service-card .editorial-card-photo { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; border-radius: 0; }
body[data-page=home] .gallery-service-card .editorial-card-photo img { height: 100%; border-radius: 0; transform: none; }
body[data-page=home] .gallery-service-card .editorial-card-copy { display: block; padding: 15px 0 0; }
body[data-page=home] .gallery-service-card h3 { margin: 0 0 5px; color: #292d29; font-size: clamp(18px,1.75vw,24px); font-weight: 400; line-height: 1.3; letter-spacing: -.012em; overflow-wrap: normal; }
body[data-page=home] .gallery-service-card .clarity-card-description { max-width: none; margin: 0; color: #66685f; font-size: 13px; line-height: 1.7; }
.gallery-service-line { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 32px; color: #af925b; }
.gallery-service-line > span { display: block; width: 42%; height: 1px; background: #af925b; }
.gallery-service-line svg { display: block; flex: none; width: 22px; height: 22px; transition: transform .25s ease; }
body[data-page=home] .gallery-system { padding-block: 28px 0; overflow: hidden; border: 0; background: #f8f6f0; }
.gallery-system-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.25fr); gap: 48px; align-items: center; }
.gallery-system-copy { position: relative; isolation: isolate; min-width: 0; padding-block: 36px 44px; padding-left: clamp(32px,5vw,76px); }
.gallery-system-watermark { position: absolute; z-index: -1; left: -105px; bottom: 18px; width: 285px; height: 285px; max-width: none; object-fit: contain; opacity: .065; pointer-events: none; }
body[data-page=home] .gallery-system .eyebrow { margin: 0 0 16px; color: #8d7549; font-size: 10px; line-height: 1.6; letter-spacing: .13em; }
body[data-page=home] .gallery-system h2 { max-width: 430px; margin: 0 0 16px; color: #292d29; font-size: clamp(32px,3.2vw,45px); font-weight: 400; line-height: 1.13; letter-spacing: -.02em; }
body[data-page=home] .gallery-system .gallery-system-copy > p:not(.eyebrow) { max-width: 42ch; margin: 0 0 20px; color: #63665d; font-size: 14px; line-height: 1.8; }
body[data-page=home] .gallery-system .link-arrow { min-height: 44px; color: #806534; font-size: 12px; font-weight: 400; }
body[data-page=home] .gallery-system .link-arrow svg { display: block; width: 19px; height: 19px; }
.gallery-system-image { position: relative; margin: 0; align-self: stretch; min-height: 340px; overflow: hidden; transform: translateY(-20px); }
.gallery-system-image img { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: 64% center; }

@media (hover:hover) and (pointer:fine) {
  body[data-page=home] .gallery-service-link:hover .editorial-card-photo img { transform: scale(1.025); }
  body[data-page=home] .gallery-service-link:hover .gallery-service-line svg { transform: translateX(4px); }
  body[data-page=home] .gallery-hero .btn:hover { background: #bca270; border-color: #bca270; transform: none; }
}
@media (max-width:1100px) {
  .gallery-system-layout { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 30px; }
  .gallery-system-copy { padding-left: 26px; }
  body[data-page=home] .gallery-service-card h3 { font-size: 18px; }
}
@media (max-width:900px) {
  body[data-page=home] .services-grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
  body[data-page=home] .gallery-service-card { display: block; }
  body[data-page=home] .gallery-service-card .editorial-card-photo { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  body[data-page=home] .gallery-service-card .editorial-card-copy { padding: 15px 0 0; }
  body[data-page=home] .gallery-service-card h3 { font-size: 24px; }
  .gallery-system-layout { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .gallery-system-copy { padding: 30px 0 25px 48px; }
  .gallery-system-watermark { left: -100px; bottom: 0; width: 270px; height: 270px; opacity: .055; }
  .gallery-system-image { min-height: 300px; transform: none; }
  .gallery-system-image img { min-height: 300px; max-height: 410px; }
}
@media (max-width:760px) {
  body[data-page=home] .gallery-hero .editorial-hero-content { min-height: 455px; padding-block: 43px 51px; }
  body[data-page=home] .gallery-hero-brand { margin-bottom: 18px; font-size: 9px; letter-spacing: .19em; }
  body[data-page=home] .gallery-hero h1 { max-width: 560px; margin-bottom: 17px; font-size: clamp(36px,10vw,48px); line-height: 1.12; letter-spacing: -.025em; }
  body[data-page=home] .gallery-hero .lead { max-width: 37ch; margin-bottom: 20px; font-size: 14px; line-height: 1.7; }
  body[data-page=home] .gallery-hero .actions { flex-direction: column; align-items: flex-start; gap: 7px; }
  body[data-page=home] .gallery-hero .btn { min-height: 46px; padding: 13px 23px; font-size: 12px; }
  body[data-page=home] .gallery-hero .actions .link-arrow { min-height: 44px; padding-block: 10px; font-size: 11px; }
  body[data-page=home] .gallery-hero .editorial-hero-shade { background: linear-gradient(90deg,#182027d9 0%,#182027ba 55%,#1820279e 100%); }
  body[data-page=home] .gallery-hero .editorial-hero-film-controls { right: 20px; bottom: 18px; }
  body[data-page=home] #competencies { padding-block: 31px 23px; }
  body[data-page=home] #competencies .section-head { margin-bottom: 23px; }
  body[data-page=home] #competencies .section-head h2 { max-width: 520px; font-size: 31px; line-height: 1.2; }
  body[data-page=home] .gallery-service-card h3 { font-size: 23px; }
  body[data-page=home] .gallery-service-card .clarity-card-description { font-size: 13px; }
  body[data-page=home] .gallery-system { padding-top: 15px; }
  .gallery-system-copy { padding-left: 28px; }
  body[data-page=home] .gallery-system h2 { font-size: 34px; }
  .gallery-system-image { min-height: 240px; }
  .gallery-system-image img { min-height: 240px; max-height: 310px; }
}
@media (max-width:380px) {
  body[data-page=home] .gallery-hero .editorial-hero-content { min-height: 455px; }
  body[data-page=home] .gallery-hero .lead { max-width: 30ch; }
  body[data-page=home] .gallery-service-card h3 { font-size: 21px; }
  body[data-page=home] #competencies .section-head h2 { font-size: 29px; }
}
@media (prefers-reduced-motion:reduce) {
  body[data-page=home] .gallery-service-card .editorial-card-photo img,
  .gallery-service-line svg { transition: none; transform: none!important; }
}
.concept-motion-limited .gallery-service-line svg,
.concept-motion-limited .gallery-service-card .editorial-card-photo img { transition: none; transform: none!important; }
@media print {
  .gallery-system-layout { display: block; }
  .gallery-system-watermark { display: none; }
  body[data-page=home] .gallery-hero .editorial-hero-content { min-height: 0; padding-block: 30px; }
  body[data-page=home] .gallery-hero-brand,
  body[data-page=home] .gallery-hero h1,
  body[data-page=home] .gallery-hero .lead { color: #292d29; }
}

/* The intro focuses the non-interactive heading for screen readers. */
body[data-page=home] #opening-title:focus { outline: none; }
