/* WordPress integration helpers. Keep visual rules in style.css and page CSS. */
[hidden] { display: none !important; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  z-index: 100000;
  top: 5px;
  left: 5px;
  display: block;
  width: auto;
  height: auto;
  padding: 15px 23px 14px;
  margin: 0;
  clip: auto;
  color: var(--white);
  background: var(--navy-deep);
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
}
.admin-bar .site-header { top: 32px; }
.wp-block-image, .wp-block-gallery, .wp-block-table { margin-block: 0 1.5em; }
.wp-block-image img, .wp-caption img { height: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { margin-top: .55rem; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.alignwide { width: min(100%, 1240px); margin-inline: auto; }
.alignfull { width: 100%; max-width: none; margin-inline: 0; }
.company-form [aria-invalid="true"] { border-color: var(--red) !important; }
.company-form .has-error label { color: var(--red); }
.company-confirm[hidden] { display: none !important; }
.company-form-notice {
  margin-bottom: 20px;
  padding: 16px 18px;
  border-left: 3px solid var(--red);
  font-size: 14px;
  line-height: 1.8;
}
.company-form-notice.is-error { color: var(--red); background: var(--white); }
#nomura-contact-form .wpcf7-form-control-wrap { display: block; }
#nomura-contact-form .wpcf7-not-valid-tip { display: block; margin-top: 6px; color: var(--red); font-size: 12px; line-height: 1.6; }
#nomura-contact-form .wpcf7-response-output { margin: 24px 0 0; padding: 14px 16px; color: var(--red); background: var(--white); border: 0; border-left: 3px solid var(--red); font-size: 14px; line-height: 1.8; }
#nomura-contact-form .company-confirm { margin: 0; padding: 0; background: transparent; border: 0; }
#nomura-contact-form .company-confirm .company-submit { margin-top: 0; }
#nomura-contact-form .company-consent .wpcf7-list-item { margin: 0; }
#nomura-contact-form .company-confirm-actions { position: relative; }
#nomura-contact-form .company-confirm-actions > p { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; margin: 0; }
#nomura-contact-form .company-confirm-actions .company-back,
#nomura-contact-form .company-confirm-actions input.company-submit { width: 100%; min-height: 56px; margin: 0; border-radius: 0; font: inherit; font-weight: 700; }
#nomura-contact-form .company-confirm-actions input.company-submit { padding: 0 20px; color: var(--white); background: var(--red); border: 1px solid var(--red); cursor: pointer; appearance: none; }
#nomura-contact-form .company-confirm-actions input.company-submit:hover { filter: brightness(.9); }
#nomura-contact-form .company-confirm-actions .wpcf7-spinner { position: absolute; right: 14px; bottom: 16px; margin: 0; }

@media (max-width: 768px) {
  #nomura-contact-form .company-confirm-actions > p { grid-template-columns: 1fr; }
}

.latest-case-studies { padding-block: 102px 110px; background: var(--paper); }
.latest-case-studies-heading { display: grid; gap: 14px; max-width: 680px; margin-bottom: 44px; }
.latest-case-studies-heading .section-kicker { margin: 0; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.latest-case-studies-heading .section-title { margin: 0; }
.latest-case-studies-heading > p:last-child { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.latest-case-studies-grid { gap: 24px; }
.latest-case-study-card { min-height: 100%; padding: 0 0 30px; background: var(--white); }
.latest-case-study-card .case-study-card-image { margin: 0; }
.latest-case-study-card h3 { margin-top: 10px; color: var(--navy); font-size: 20px; line-height: 1.6; }
.latest-case-study-card h3 a { transition: color 160ms ease; }
.latest-case-study-card h3 a:hover { color: var(--red); }
.latest-case-study-card .case-study-read-more { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 42px; margin-top: auto; padding: 0 18px; color: var(--navy); border: 1px solid var(--navy); font-size: 13px; font-weight: 700; transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.latest-case-study-card .case-study-read-more:hover, .latest-case-study-card .case-study-read-more:focus-visible { color: var(--white); background: var(--red); border-color: var(--red); }
.latest-case-studies-action { display: flex; justify-content: center; margin-top: 46px; }
.latest-case-studies-action .button-link { min-width: 240px; justify-content: center; }

.case-study-card, .report-card { display: flex; flex-direction: column; min-width: 0; padding: 0 0 30px; overflow: hidden; }
.case-study-card-image, .report-card-image { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #e4e1dc; }
.case-study-card-image img, .report-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 260ms ease; }
.case-study-card-image:hover img, .report-card-image:hover img { transform: scale(1.025); }
.case-study-card > :not(.case-study-card-image), .report-card > :not(.report-card-image) { margin-right: 30px; margin-left: 30px; }
.case-study-card-meta, .report-card time { margin-top: 24px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.case-study-card h2, .report-card h2 { margin-top: 10px; color: var(--navy); font-size: 20px; line-height: 1.6; }
.case-study-card h2 a, .report-card h2 a { transition: color 160ms ease; }
.case-study-card h2 a:hover, .report-card h2 a:hover { color: var(--red); }
.case-study-card p, .report-card p { margin-top: 13px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.sub-text-link { display: inline-block; width: fit-content; margin-top: auto; padding-top: 20px; padding-bottom: 5px; color: var(--navy); border-bottom: 1px solid var(--red); font-size: 13px; font-weight: 700; }
.case-study-featured-image, .report-single .sub-container > figure { margin-bottom: 42px; }
.case-study-featured-image img, .report-single .sub-container > figure img { width: 100%; height: auto; }
.case-study-details { margin-top: 48px; border-top: 1px solid var(--line); }
.case-study-details > div { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--line); }
.case-study-details dt, .case-study-details dd { padding: 20px 22px; font-size: 14px; line-height: 1.9; }
.case-study-details dt { color: var(--navy); background: #eeece8; font-weight: 700; }
.sub-rich-text { color: var(--ink); font-size: 16px; line-height: 2; }
.sub-rich-text > * + * { margin-top: 1.5em; }
.sub-rich-text h2, .sub-rich-text h3 { color: var(--navy); line-height: 1.6; }
.sub-rich-text h2 { margin-top: 2.4em; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: clamp(25px, 2.4vw, 34px); }
.sub-rich-text h3 { margin-top: 2em; font-size: clamp(20px, 1.8vw, 25px); }
.sub-rich-text a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.sub-rich-text ul, .sub-rich-text ol { padding-left: 1.4em; }
.sub-rich-text img { height: auto; }
.content-back-link, .case-study-single .sub-container > p { margin-top: 48px; }
.navigation.pagination { margin-top: 46px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nav-links .page-numbers { display: grid; min-width: 42px; height: 42px; padding-inline: 10px; border: 1px solid var(--line); place-items: center; }
.nav-links .current { color: var(--white); background: var(--navy); border-color: var(--navy); }
.report-single .sub-hero time { margin-bottom: 10px; color: rgba(255,255,255,.75); font-size: 12px; letter-spacing: .06em; }
.case-study-hero .sub-hero-photo img, .report-hero .sub-hero-photo img { object-position: center; }
@media (min-width: 981px) and (max-width: 1120px) {
  .site-header { padding-inline: 24px 16px; }
  .site-logo { font-size: 15px; }
  .desktop-nav { gap: 8px; font-size: 11.5px; }
  .header-line { min-width: 128px; padding-inline: 12px; }
}
@media (min-width: 769px) and (max-width: 1200px) {
  .site-footer nav { flex-wrap: wrap; gap: 10px 18px; padding-inline: 18px; }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
}
@media (max-width: 768px) {
  .latest-case-studies { padding-block: 68px 72px; }
  .latest-case-studies-heading { gap: 11px; margin-bottom: 32px; }
  .latest-case-studies-heading > p:last-child { font-size: 14px; }
  .latest-case-studies-action { margin-top: 32px; }
  .latest-case-studies-action .button-link { width: 100%; }
  .case-study-details > div { display: block; }
  .case-study-details dt, .case-study-details dd { display: block; padding: 15px 17px; }
  .sub-rich-text { font-size: 15px; line-height: 1.95; }
}
