/*
 * Almog Haika — Architectural Monolith / Inner Pages
 * Shared visual system for services, projects, about, contact and legal pages.
 * Presentation only: no content, routing or form semantics are changed.
 */

:root {
  --inner-ink: #11110f;
  --inner-graphite: #25231f;
  --inner-stone: #ede7dc;
  --inner-chalk: #f8f5ef;
  --inner-copper: #a84f2d;
  --inner-copper-soft: #c77c58;
  --inner-muted: #666158;
  --inner-line: rgba(17, 17, 15, .14);
  --inner-line-light: rgba(248, 245, 239, .15);
  --inner-grid: min(92vw, 1680px);
  --inner-ease: cubic-bezier(.16, 1, .3, 1);
}

body:not(.home) {
  background: var(--inner-chalk);
  color: var(--inner-ink);
}

body:not(.home) .inner-page {
  overflow: clip;
  background: var(--inner-chalk) !important;
  color: var(--inner-ink);
}

body:not(.home) .inner-page .container {
  width: var(--inner-grid) !important;
  max-width: none !important;
  margin-inline: auto;
}

body:not(.home) .inner-page :focus-visible {
  outline: 2px solid var(--inner-copper-soft);
  outline-offset: 4px;
}

/* Hero — the same graphite/image monolith as the home page. */
body:not(.home) .inner-page .page-hero {
  height: 620px !important;
  overflow: hidden;
  border-bottom: 1px solid var(--inner-line-light) !important;
  background: var(--inner-ink) !important;
}

body:not(.home) .inner-page .page-hero__grid {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  height: 620px !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%) !important;
  grid-template-areas: 'visual copy' !important;
  direction: ltr;
}

body:not(.home) .inner-page .page-hero__content {
  position: relative;
  isolation: isolate;
  grid-area: copy;
  display: flex !important;
  height: 620px !important;
  padding: clamp(58px, 5vw, 92px) clamp(38px, 5.4vw, 104px) 58px !important;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: center !important;
  direction: rtl;
  text-align: right !important;
  background: var(--inner-ink) !important;
  color: var(--inner-chalk);
}

body:not(.home) .inner-page .page-hero__content::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  width: auto;
  opacity: 1;
  background-image:
    linear-gradient(rgba(248, 245, 239, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 245, 239, .035) 1px, transparent 1px) !important;
  background-size: 72px 72px !important;
  background-position: center !important;
  mix-blend-mode: normal !important;
}

body:not(.home) .inner-page .page-hero__content::after {
  content: 'A.H / 02';
  position: absolute;
  right: clamp(38px, 5.4vw, 104px);
  bottom: 28px;
  color: rgba(248, 245, 239, .42);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: .12em;
  direction: ltr;
}

body:not(.home) .inner-page--projects .page-hero__content::after { content: 'A.H / 03'; }
body:not(.home) .inner-page--about .page-hero__content::after { content: 'A.H / 04'; }
body:not(.home) .inner-page--contact .page-hero__content::after { content: 'A.H / 05'; }
body.page-id-15 .inner-page .page-hero__content::after { content: 'A.H / 06'; }
body.page-id-16 .inner-page .page-hero__content::after { content: 'A.H / 07'; }
body.page-id-17 .inner-page .page-hero__content::after { content: 'A.H / 08'; }

body:not(.home) .inner-page .page-hero__visual {
  position: relative;
  grid-area: visual;
  height: 620px !important;
  overflow: hidden;
  background: var(--inner-graphite);
}

body:not(.home) .inner-page .page-hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset -1px 0 rgba(248, 245, 239, .12);
}

body:not(.home) .inner-page .page-hero__visual img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover;
  filter: saturate(.88) contrast(1.03);
}

body:not(.home) .inner-page .page-breadcrumbs {
  display: flex !important;
  margin: 0 0 28px !important;
  align-items: center;
  gap: 10px;
  color: rgba(248, 245, 239, .54) !important;
  font-size: 11px;
  font-weight: 500;
}

body:not(.home) .inner-page .page-breadcrumbs a {
  color: var(--inner-copper-soft) !important;
  text-decoration: none;
}

body:not(.home) .inner-page .page-hero .eyebrow {
  display: inline-flex;
  margin: 0 0 17px;
  align-items: center;
  gap: 12px;
  color: var(--inner-copper-soft) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

body:not(.home) .inner-page .page-hero .eyebrow::before {
  content: '';
  display: block;
  width: 38px;
  height: 1px;
  background: currentColor;
}

body:not(.home) .inner-page .page-title {
  max-width: 700px !important;
  margin: 0 0 23px !important;
  color: var(--inner-chalk) !important;
  font-size: clamp(52px, 4.8vw, 78px) !important;
  font-weight: 760 !important;
  line-height: .99 !important;
  letter-spacing: -.05em !important;
  text-wrap: balance;
}

body:not(.home) .inner-page .page-description {
  max-width: 590px !important;
  margin: 0 0 34px !important;
  color: rgba(248, 245, 239, .68) !important;
  font-size: clamp(16px, 1.2vw, 19px) !important;
  line-height: 1.72 !important;
}

body:not(.home) .inner-page .page-hero__actions {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
}

body:not(.home) .inner-page .page-hero__actions .btn,
body:not(.home) .inner-page .page-cta__actions .btn {
  min-width: 148px !important;
  min-height: 48px;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body:not(.home) .inner-page .btn-primary {
  border-color: var(--inner-copper) !important;
  background: var(--inner-copper) !important;
  color: var(--inner-chalk) !important;
}

body:not(.home) .inner-page .btn-primary:hover,
body:not(.home) .inner-page .btn-primary:focus-visible {
  border-color: var(--inner-chalk) !important;
  background: transparent !important;
  color: var(--inner-chalk) !important;
}

body:not(.home) .inner-page .page-hero .btn-outline {
  border-color: rgba(248, 245, 239, .35) !important;
  background: transparent !important;
  color: var(--inner-chalk) !important;
}

body:not(.home) .inner-page .page-hero .btn-outline:hover,
body:not(.home) .inner-page .page-hero .btn-outline:focus-visible {
  border-color: var(--inner-copper-soft) !important;
  color: var(--inner-copper-soft) !important;
}

/* Legal pages use a concise typographic masthead rather than an unrelated photo. */
body.page-id-15 .inner-page .page-hero,
body.page-id-16 .inner-page .page-hero,
body.page-id-17 .inner-page .page-hero,
body.page-id-15 .inner-page .page-hero__grid,
body.page-id-16 .inner-page .page-hero__grid,
body.page-id-17 .inner-page .page-hero__grid,
body.page-id-15 .inner-page .page-hero__content,
body.page-id-16 .inner-page .page-hero__content,
body.page-id-17 .inner-page .page-hero__content {
  height: 420px !important;
}

body.page-id-15 .inner-page .page-hero__grid,
body.page-id-16 .inner-page .page-hero__grid,
body.page-id-17 .inner-page .page-hero__grid {
  grid-template-columns: 1fr !important;
  grid-template-areas: 'copy' !important;
}

body.page-id-15 .inner-page .page-hero__visual,
body.page-id-16 .inner-page .page-hero__visual,
body.page-id-17 .inner-page .page-hero__visual {
  display: none !important;
}

body.page-id-15 .inner-page .page-hero__content,
body.page-id-16 .inner-page .page-hero__content,
body.page-id-17 .inner-page .page-hero__content {
  padding-inline: max(4vw, calc((100vw - 1680px) / 2)) !important;
}

body.page-id-15 .inner-page .page-title,
body.page-id-16 .inner-page .page-title,
body.page-id-17 .inner-page .page-title {
  max-width: 920px !important;
}

body.page-id-15 .inner-page .page-description,
body.page-id-16 .inner-page .page-description,
body.page-id-17 .inner-page .page-description {
  max-width: 780px !important;
}

/* Section rhythm — continuous dossier, not isolated template bands. */
body:not(.home) .inner-page .page-copy,
body:not(.home) .inner-page .page-section {
  position: relative;
  padding-block: clamp(76px, 8vw, 132px) !important;
  border-top: 1px solid var(--inner-line);
  background: var(--inner-chalk) !important;
}

body:not(.home) .inner-page .page-hero + .page-copy,
body:not(.home) .inner-page .page-hero + .page-section {
  border-top: 0;
}

body:not(.home) .inner-page .page-section--text {
  padding-block: clamp(68px, 7vw, 112px) !important;
  background: var(--inner-stone) !important;
}

body:not(.home) .inner-page .page-section--cards {
  background: var(--inner-stone) !important;
}

body:not(.home) .inner-page .page-section--stats,
body:not(.home) .inner-page .page-section--cta {
  border-color: var(--inner-line-light);
  background: var(--inner-ink) !important;
  color: var(--inner-chalk);
}

body:not(.home) .inner-page .page-copy__inner {
  width: min(100%, 960px);
  margin-inline: auto;
  padding-block: 4px;
  color: var(--inner-muted);
  font-size: 17px;
  line-height: 1.9;
}

body:not(.home) .inner-page .page-copy__inner h2,
body:not(.home) .inner-page .page-copy__inner h3 {
  margin-block: 52px 17px;
  color: var(--inner-ink);
  line-height: 1.12;
  letter-spacing: -.035em;
}

body:not(.home) .inner-page .page-copy__inner h2 {
  padding-top: 22px;
  border-top: 1px solid var(--inner-line);
  font-size: clamp(31px, 3vw, 46px);
}

body:not(.home) .inner-page .page-copy__inner a {
  color: var(--inner-copper);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

body:not(.home) .inner-page .page-section__text-shell,
body:not(.home) .inner-page .page-section__faq-shell {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr) !important;
  gap: clamp(54px, 7vw, 126px) !important;
  align-items: start;
}

body:not(.home) .inner-page .page-rich-text {
  max-width: 780px !important;
  margin: 0 !important;
  color: var(--inner-muted);
  font-size: 17px;
  line-height: 1.86;
}

body:not(.home) .inner-page .page-rich-text p:first-child {
  margin-top: 0;
  color: var(--inner-graphite);
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.68;
}

body:not(.home) .inner-page .eyebrow,
body:not(.home) .inner-page .project-eyebrow-plain,
body:not(.home) .inner-page .page-card__tag,
body:not(.home) .inner-page .page-gallery-item__tag {
  color: var(--inner-copper) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  letter-spacing: .08em;
}

/* Image-overlay eyebrow: readable on variable photography while keeping copper as an accent. */
body:not(.home) .inner-page .page-gallery-item__tag {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  color: #fff8ef !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.25;
  letter-spacing: .02em;
  text-shadow: 0 1px 4px rgb(0 0 0 / 78%);
}

body:not(.home) .inner-page .page-gallery-item__tag::before {
  width: 14px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--inner-copper);
  box-shadow: 0 1px 6px rgb(0 0 0 / 48%);
  content: "";
}

body:not(.home) .inner-page .page-section__title,
body:not(.home) .inner-page .section-head .left h2,
body:not(.home) .inner-page .page-cta h2 {
  margin: 10px 0 0 !important;
  color: var(--inner-ink) !important;
  font-size: clamp(43px, 4.3vw, 70px) !important;
  font-weight: 760 !important;
  line-height: 1.02 !important;
  letter-spacing: -.052em !important;
  text-wrap: balance;
}

body:not(.home) .inner-page .section-head--inner {
  display: grid !important;
  margin-bottom: clamp(42px, 5vw, 74px) !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr) !important;
  gap: clamp(44px, 7vw, 120px) !important;
  align-items: end !important;
}

body:not(.home) .inner-page .section-head--inner .right {
  max-width: 580px;
  margin: 0 !important;
  color: var(--inner-muted) !important;
  font-size: 16px;
  line-height: 1.8;
}

body:not(.home) .inner-page .page-section__intro {
  margin-bottom: clamp(42px, 5vw, 72px) !important;
}

/* Cards — numbered material dossiers. */
body:not(.home) .inner-page .page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: 1fr;
  gap: 1px !important;
  padding: 1px;
  background: var(--inner-line);
  counter-reset: inner-card;
}

body:not(.home) .inner-page .page-card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body:not(.home) .inner-page .page-card {
  min-width: 0;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--inner-chalk) !important;
  box-shadow: none !important;
  counter-increment: inner-card;
}

body:not(.home) .inner-page .page-card__image {
  position: relative;
  height: clamp(250px, 23vw, 360px) !important;
  overflow: hidden;
  background: var(--inner-graphite);
}

body:not(.home) .inner-page .page-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -1px var(--inner-line);
}

body:not(.home) .inner-page .page-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.02);
  transition: transform .65s var(--inner-ease);
}

body:not(.home) .inner-page .page-card:hover .page-card__image img {
  transform: scale(1.025);
}

body:not(.home) .inner-page .page-card__body {
  position: relative;
  min-height: 245px;
  padding: 36px 32px 32px !important;
}

body:not(.home) .inner-page .page-card__body:not(:has(.page-card__tag))::before {
  content: '0' counter(inner-card);
  display: block;
  margin-bottom: 23px;
  color: var(--inner-copper);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  direction: ltr;
  text-align: right;
}

body:not(.home) .inner-page .page-card h3 {
  margin: 8px 0 12px !important;
  color: var(--inner-ink);
  font-size: clamp(24px, 2vw, 31px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.025em;
}

body:not(.home) .inner-page .page-card p {
  margin-bottom: 24px !important;
  color: var(--inner-muted) !important;
  font-size: 14px !important;
  line-height: 1.72;
}

body:not(.home) .inner-page .text-link {
  color: var(--inner-copper) !important;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

/* Stats / process — dark technical register. */
body:not(.home) .inner-page .page-section--stats .eyebrow,
body:not(.home) .inner-page .page-section--stats .page-section__title {
  color: var(--inner-chalk) !important;
}

body:not(.home) .inner-page .page-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--inner-line-light) !important;
  border-inline-end: 1px solid var(--inner-line-light) !important;
}

body:not(.home) .inner-page .page-stat {
  min-height: 270px !important;
  padding: clamp(30px, 3.3vw, 52px) !important;
  border-inline-start: 1px solid var(--inner-line-light) !important;
  border-bottom: 1px solid var(--inner-line-light) !important;
}

body:not(.home) .inner-page .page-stat__number {
  margin-bottom: 44px !important;
  color: var(--inner-copper-soft) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(32px, 3vw, 46px) !important;
  font-weight: 500 !important;
  direction: ltr;
  text-align: right;
}

body:not(.home) .inner-page .page-stat h3 {
  color: var(--inner-chalk) !important;
  font-size: clamp(22px, 2vw, 29px) !important;
}

body:not(.home) .inner-page .page-stat p {
  color: rgba(248, 245, 239, .62) !important;
  line-height: 1.72;
}

/* Projects — zero-radius masonry with a restrained dossier overlay. */
body:not(.home) .inner-page .page-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: 330px !important;
  gap: 2px !important;
  background: var(--inner-chalk);
}

body:not(.home) .inner-page .page-gallery-item {
  border-radius: 0 !important;
  background: var(--inner-graphite) !important;
}

body:not(.home) .inner-page .page-gallery-item::after {
  background: linear-gradient(180deg, transparent 36%, rgba(17, 17, 15, .86) 100%) !important;
}

body:not(.home) .inner-page .page-gallery-item img {
  filter: saturate(.86) contrast(1.04);
  transition: transform .65s var(--inner-ease);
}

body:not(.home) .inner-page .page-gallery-item__overlay {
  padding: clamp(22px, 2.5vw, 38px) !important;
}

body:not(.home) .inner-page .page-gallery-item__overlay h3 {
  margin: 8px 0 5px;
  color: var(--inner-chalk);
  font-size: clamp(24px, 2.1vw, 33px) !important;
  letter-spacing: -.025em;
}

body:not(.home) .inner-page .page-gallery-item__overlay p {
  color: rgba(248, 245, 239, .66) !important;
}

/* FAQ — editorial index, large hittable rows. */
body:not(.home) .inner-page .page-section--faq {
  background: var(--inner-chalk) !important;
}

body:not(.home) .inner-page .page-section--faq .page-section__lead {
  max-width: 470px;
  margin-top: 22px;
  color: var(--inner-muted);
  line-height: 1.75;
}

body:not(.home) .inner-page .faq-list {
  margin-top: 0 !important;
  border-top: 1px solid var(--inner-line) !important;
  counter-reset: inner-faq;
}

body:not(.home) .inner-page .faq-item {
  border-bottom: 1px solid var(--inner-line) !important;
  counter-increment: inner-faq;
}

body:not(.home) .inner-page .faq-item summary {
  position: relative;
  min-height: 68px;
  padding: 24px 72px 24px 0 !important;
  color: var(--inner-ink) !important;
  font-size: clamp(17px, 1.35vw, 20px) !important;
  line-height: 1.45;
  list-style: none;
}

body:not(.home) .inner-page .faq-item summary::-webkit-details-marker { display: none; }

body:not(.home) .inner-page .faq-item summary::before {
  content: '0' counter(inner-faq);
  position: absolute;
  right: 0;
  top: 28px;
  color: var(--inner-copper);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .08em;
}

body:not(.home) .inner-page .faq-item summary::after {
  content: '+';
  position: absolute;
  left: 2px;
  top: 18px;
  color: var(--inner-copper);
  font-size: 28px;
  font-weight: 300;
}

body:not(.home) .inner-page .faq-item[open] summary::after { content: '−'; }

body:not(.home) .inner-page .faq-item__content {
  max-width: 760px;
  padding: 0 72px 26px 40px !important;
  color: var(--inner-muted) !important;
  line-height: 1.75;
}

/* CTA — one full-width graphite band. */
body:not(.home) .inner-page .page-cta {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
  gap: clamp(38px, 8vw, 140px) !important;
}

body:not(.home) .inner-page .page-cta h2 {
  max-width: 850px;
  color: var(--inner-chalk) !important;
}

body:not(.home) .inner-page .page-cta p {
  max-width: 650px;
  margin-top: 22px !important;
  color: rgba(248, 245, 239, .64) !important;
  font-size: 17px;
  line-height: 1.75;
}

body:not(.home) .inner-page .page-cta__actions {
  display: flex;
  gap: 9px;
  align-items: center;
}

body:not(.home) .inner-page .page-section--cta .btn-outline {
  border-color: rgba(248, 245, 239, .34) !important;
  color: var(--inner-chalk) !important;
}

/* Contact — split briefing desk / direct-contact register. */
body:not(.home) .inner-page .page-section--contact-panel {
  background: var(--inner-stone) !important;
}

body:not(.home) .inner-page .contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr) !important;
  gap: 1px !important;
  padding: 1px;
  background: var(--inner-line);
}

body:not(.home) .inner-page .contact-panel__form,
body:not(.home) .inner-page .contact-panel__info {
  min-width: 0;
  padding: clamp(32px, 4vw, 64px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body:not(.home) .inner-page .contact-panel__form {
  background: var(--inner-chalk) !important;
}

body:not(.home) .inner-page .contact-panel__info {
  background: var(--inner-ink) !important;
  color: var(--inner-chalk);
}

body:not(.home) .inner-page .form-title,
body:not(.home) .inner-page .ci-title {
  margin: 0 0 34px !important;
  font-size: clamp(28px, 2.6vw, 42px) !important;
  letter-spacing: -.035em;
}

body:not(.home) .inner-page .ci-title,
body:not(.home) .inner-page .contact-panel__info a,
body:not(.home) .inner-page .contact-panel__info .vl {
  color: var(--inner-chalk) !important;
}

body:not(.home) .inner-page .contact-panel__info .lb {
  color: var(--inner-copper-soft) !important;
}

body:not(.home) .inner-page .contact-panel__info .c {
  border-color: var(--inner-line-light) !important;
}

body:not(.home) .inner-page .form-grid input,
body:not(.home) .inner-page .form-grid select,
body:not(.home) .inner-page .form-grid textarea,
body:not(.home) .inner-page .wpcf7 input,
body:not(.home) .inner-page .wpcf7 select,
body:not(.home) .inner-page .wpcf7 textarea {
  min-height: 48px;
  border: 1px solid var(--inner-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:not(.home) .inner-page .form-grid textarea,
body:not(.home) .inner-page .wpcf7 textarea {
  min-height: 130px;
}

body:not(.home) .inner-page .form-grid input:focus,
body:not(.home) .inner-page .form-grid select:focus,
body:not(.home) .inner-page .form-grid textarea:focus,
body:not(.home) .inner-page .wpcf7 input:focus,
body:not(.home) .inner-page .wpcf7 select:focus,
body:not(.home) .inner-page .wpcf7 textarea:focus {
  border-color: var(--inner-copper) !important;
  outline: 1px solid var(--inner-copper);
  outline-offset: 0;
}

/* Shared footer alignment — same lintel/monogram grammar at the bottom. */
body:not(.home) footer {
  border-top: 1px solid var(--inner-line-light) !important;
  background: var(--inner-ink) !important;
}

body:not(.home) footer .container {
  width: var(--inner-grid) !important;
  max-width: none !important;
}

body:not(.home) footer .footer-brand {
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 13px;
}

body:not(.home) footer .footer-brand .mark {
  width: 48px;
  min-width: 48px;
  max-width: 48px;
  height: 48px;
  flex-basis: 48px;
  border: 0;
  background: transparent;
}

body:not(.home) footer .footer-brand .mark img {
  filter: brightness(0) saturate(100%) invert(39%) sepia(72%) saturate(1045%) hue-rotate(338deg) brightness(88%) contrast(88%);
}

body:not(.home) footer .footer-brand .name {
  padding-inline-start: 13px;
  border-inline-start: 1px solid var(--inner-line-light);
}

/* Responsive recomposition. */
@media (max-width: 1100px) {
  body:not(.home) .inner-page .page-hero,
  body:not(.home) .inner-page .page-hero__grid {
    height: auto !important;
  }

  body:not(.home) .inner-page .page-hero__grid {
    grid-template-columns: 1fr !important;
    grid-template-areas: 'copy' 'visual' !important;
  }

  body:not(.home) .inner-page .page-hero__content {
    height: auto !important;
    min-height: 500px !important;
    padding: 64px max(4vw, 34px) 58px !important;
  }

  body:not(.home) .inner-page .page-hero__content::after {
    right: max(4vw, 34px);
    bottom: 25px;
  }

  body:not(.home) .inner-page .page-hero__visual,
  body:not(.home) .inner-page .page-hero__visual img {
    height: clamp(320px, 56vw, 500px) !important;
  }

  body:not(.home) .inner-page .page-title {
    max-width: 780px !important;
    font-size: clamp(52px, 8vw, 76px) !important;
  }

  body:not(.home) .inner-page .page-description {
    max-width: 720px !important;
  }

  body:not(.home) .inner-page .page-card-grid,
  body:not(.home) .inner-page .page-card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body:not(.home) .inner-page .page-card__image {
    height: clamp(260px, 40vw, 380px) !important;
  }

  body:not(.home) .inner-page .page-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body:not(.home) .inner-page .contact-panel {
    grid-template-columns: 1fr !important;
  }

  body.page-id-15 .inner-page .page-hero,
  body.page-id-16 .inner-page .page-hero,
  body.page-id-17 .inner-page .page-hero,
  body.page-id-15 .inner-page .page-hero__grid,
  body.page-id-16 .inner-page .page-hero__grid,
  body.page-id-17 .inner-page .page-hero__grid,
  body.page-id-15 .inner-page .page-hero__content,
  body.page-id-16 .inner-page .page-hero__content,
  body.page-id-17 .inner-page .page-hero__content {
    height: auto !important;
  }

  body.page-id-15 .inner-page .page-hero__content,
  body.page-id-16 .inner-page .page-hero__content,
  body.page-id-17 .inner-page .page-hero__content {
    min-height: 400px !important;
  }
}

@media (max-width: 820px) {
  body:not(.home) .inner-page .page-section__text-shell,
  body:not(.home) .inner-page .page-section__faq-shell,
  body:not(.home) .inner-page .section-head--inner,
  body:not(.home) .inner-page .page-cta {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  body:not(.home) .inner-page .page-section__title,
  body:not(.home) .inner-page .section-head .left h2,
  body:not(.home) .inner-page .page-cta h2 {
    font-size: clamp(40px, 7vw, 58px) !important;
  }

  body:not(.home) .inner-page .page-stat-grid {
    grid-template-columns: 1fr !important;
  }

  body:not(.home) .inner-page .page-stat {
    min-height: 0 !important;
  }

  body:not(.home) .inner-page .page-cta {
    align-items: start !important;
  }

  body:not(.home) .inner-page .page-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body:not(.home) .inner-page .container,
  body:not(.home) footer .container {
    width: calc(100% - 32px) !important;
  }

  body:not(.home) .inner-page .page-hero__content {
    min-height: 430px !important;
    padding: 48px 20px 54px !important;
  }

  body:not(.home) .inner-page .page-hero__content::before {
    background-size: 48px 48px !important;
  }

  body:not(.home) .inner-page .page-hero__content::after {
    right: 20px;
    bottom: 20px;
  }

  body:not(.home) .inner-page .page-breadcrumbs {
    margin-bottom: 22px !important;
  }

  body:not(.home) .inner-page .page-hero .eyebrow {
    margin-bottom: 13px;
  }

  body:not(.home) .inner-page .page-title {
    margin-bottom: 18px !important;
    font-size: clamp(42px, 12.5vw, 56px) !important;
    line-height: 1 !important;
  }

  body:not(.home) .inner-page .page-description {
    margin-bottom: 26px !important;
    font-size: 15px !important;
    line-height: 1.62 !important;
  }

  body:not(.home) .inner-page .page-hero__actions {
    display: grid !important;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  body:not(.home) .inner-page .page-hero__actions .btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px;
    padding-inline: 12px;
    font-size: 12px;
  }

  body:not(.home) .inner-page .page-hero__visual,
  body:not(.home) .inner-page .page-hero__visual img {
    height: 300px !important;
    min-height: 0 !important;
  }

  body:not(.home) .inner-page .page-copy,
  body:not(.home) .inner-page .page-section {
    padding-block: 68px !important;
  }

  body:not(.home) .inner-page .page-section--text {
    padding-block: 62px !important;
  }

  body:not(.home) .inner-page .page-copy__inner,
  body:not(.home) .inner-page .page-rich-text {
    font-size: 15px;
    line-height: 1.76;
  }

  body:not(.home) .inner-page .page-rich-text p:first-child {
    font-size: 18px;
  }

  body:not(.home) .inner-page .page-section__text-shell,
  body:not(.home) .inner-page .page-section__faq-shell,
  body:not(.home) .inner-page .section-head--inner {
    gap: 28px !important;
  }

  body:not(.home) .inner-page .page-section__title,
  body:not(.home) .inner-page .section-head .left h2,
  body:not(.home) .inner-page .page-cta h2 {
    font-size: clamp(36px, 10.5vw, 47px) !important;
    line-height: 1.04 !important;
  }

  body:not(.home) .inner-page .page-card-grid,
  body:not(.home) .inner-page .page-card-grid--4 {
    grid-template-columns: 1fr !important;
  }

  body:not(.home) .inner-page .page-card__image {
    height: 270px !important;
  }

  body:not(.home) .inner-page .page-card__body {
    min-height: 220px;
    padding: 30px 24px 26px !important;
  }

  body:not(.home) .inner-page .page-gallery-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    grid-auto-rows: 300px !important;
  }

  body:not(.home) .inner-page .page-gallery-item.wide,
  body:not(.home) .inner-page .page-gallery-item.tall {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  body:not(.home) .inner-page .faq-item summary {
    padding: 22px 54px 22px 32px !important;
  }

  body:not(.home) .inner-page .faq-item__content {
    padding: 0 54px 24px 24px !important;
  }

  body:not(.home) .inner-page .page-cta__actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  body:not(.home) .inner-page .page-cta__actions .btn {
    width: 100%;
    min-width: 0 !important;
  }

  body:not(.home) .inner-page .contact-panel__form,
  body:not(.home) .inner-page .contact-panel__info {
    padding: 30px 22px !important;
  }

  body.page-id-15 .inner-page .page-hero__content,
  body.page-id-16 .inner-page .page-hero__content,
  body.page-id-17 .inner-page .page-hero__content {
    min-height: 350px !important;
  }

  body.page-id-15 .inner-page .page-hero__actions,
  body.page-id-16 .inner-page .page-hero__actions,
  body.page-id-17 .inner-page .page-hero__actions {
    display: none !important;
  }

  body:not(.home) footer .footer-brand {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.home) .inner-page *,
  body:not(.home) .inner-page *::before,
  body:not(.home) .inner-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
