:root {
  --aj-forest: #1f4938;
  --aj-moss: #667a58;
  --aj-sand: #f3efe5;
  --aj-paper: #fffcf6;
  --aj-clay: #a76540;
  --aj-ink: #1d2a24;
  --aj-mist: #dde8e3;
  --aj-line: rgba(31, 73, 56, 0.16);
  --aj-shadow: 0 22px 60px rgba(29, 42, 36, 0.12);
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  overflow-x: clip;
}

.aj-scroll-progress {
  background: linear-gradient(90deg, var(--aj-clay), #d9ad73);
  height: 3px;
  left: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 1000;
}

/* Stick the template part, not its child (whose parent is only header-height). */
.wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 100;
}

@media (min-width: 601px) {
  body.admin-bar .wp-site-blocks > header.wp-block-template-part {
    top: var(--wp-admin--admin-bar--height, 32px);
  }
}

.aj-header {
  /* Also neutralise the old sticky setting in saved WordPress template parts. */
  position: relative !important;
  top: auto !important;
  border-bottom: 1px solid var(--aj-line);
  backdrop-filter: blur(14px);
  background: rgba(255, 252, 246, 0.94) !important;
  transition: box-shadow 260ms ease, background-color 260ms ease;
  z-index: 100;
}

.aj-header.is-scrolled {
  background: rgba(255, 252, 246, 0.97) !important;
  box-shadow: 0 12px 32px rgba(29, 42, 36, 0.1);
}

.aj-header .wp-block-site-title a {
  text-decoration: none;
}

.aj-nav-cta a,
.aj-nav-cta .wp-block-navigation-item__content {
  background: var(--aj-forest);
  border-radius: 999px;
  color: #fff !important;
  padding: 0.55rem 1rem;
}

.aj-section {
  padding: clamp(4.5rem, 9vw, 8rem) 1.25rem;
}

.aj-section--tight {
  padding-bottom: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(3rem, 6vw, 5rem);
}

body.aj-page-services .wp-block-post-content > .alignfull {
  box-sizing: border-box;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: none !important;
  width: 100vw;
}

body.aj-page-services .wp-site-blocks > main.wp-block-group {
  max-width: none;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

body.aj-page-services .wp-block-post-title {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

body.aj-page-services .wp-block-post-content {
  margin-block-start: 0 !important;
}

@supports (width: 100cqw) {
  body.aj-page-services .wp-site-blocks {
    container-type: inline-size;
  }

  body.aj-page-services .wp-block-post-content > .alignfull {
    margin-left: calc(50% - 50cqw) !important;
    margin-right: calc(50% - 50cqw) !important;
    width: 100cqw;
  }
}

@media (min-width: 782px) {
  #services > .wp-block-group:first-child > * {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
  }
}

@media (max-width: 781px) {
  body.aj-page-services .wp-block-post-content > .alignfull {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
}

.aj-services-hero {
  background:
    radial-gradient(circle at 8% 12%, rgba(217, 173, 115, 0.28), transparent 25rem),
    linear-gradient(140deg, #f8f2e8 0%, #fffcf6 52%, #e7eee9 100%);
  box-sizing: border-box;
  overflow: hidden;
  padding: clamp(4.25rem, 8vw, 7.5rem) 1.25rem;
  position: relative;
}

.aj-services-hero::after {
  border: 1px solid rgba(31, 73, 56, 0.1);
  border-radius: 50%;
  content: '';
  height: 34rem;
  pointer-events: none;
  position: absolute;
  right: -15rem;
  top: -18rem;
  width: 34rem;
}

.aj-services-hero-grid,
.aj-services-proof-grid,
.aj-services-bridge-inner {
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
  width: 100%;
}

.aj-services-hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  position: relative;
  z-index: 1;
}

.aj-services-hero-copy h1,
.aj-services-hero-copy h2 {
  color: var(--aj-forest);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.8rem, 5.1vw, 5.3rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0 0 1.5rem;
  text-wrap: balance;
}

.aj-services-hero-lead {
  color: #45584e;
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.75;
  margin: 0;
  max-width: 42rem;
}

.aj-services-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  margin-top: 2rem;
}

.aj-services-text-link {
  color: var(--aj-forest);
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
}

.aj-services-text-link span {
  display: inline-block;
  transition: transform 180ms ease;
}

.aj-services-text-link:hover span,
.aj-services-text-link:focus span {
  transform: translate(3px, -3px);
}

.aj-services-assurance {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.aj-services-assurance li {
  align-items: center;
  color: #465b50;
  display: flex;
  font-size: 0.84rem;
  font-weight: 750;
  gap: 0.7rem;
}

.aj-services-assurance li::before {
  align-items: center;
  background: var(--aj-forest);
  border-radius: 999px;
  color: #fff;
  content: '✓';
  display: inline-flex;
  flex: 0 0 1.35rem;
  font-size: 0.72rem;
  height: 1.35rem;
  justify-content: center;
}

.aj-services-hero-media {
  min-height: clamp(440px, 52vw, 640px);
  position: relative;
}

.aj-services-hero-media > img {
  border-radius: 34px;
  box-shadow: 0 32px 80px rgba(29, 42, 36, 0.2);
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 62% center;
  position: absolute;
  width: 100%;
}

.aj-services-proof-card,
.aj-services-location-card {
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(15, 35, 28, 0.25);
  display: grid;
  gap: 0.3rem;
  position: absolute;
  z-index: 2;
}

.aj-services-proof-card {
  background: rgba(255, 252, 246, 0.93);
  bottom: 1.35rem;
  left: -2.2rem;
  max-width: 260px;
  padding: 1.2rem 1.35rem;
}

.aj-services-proof-card strong {
  color: var(--aj-forest);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.15rem;
  line-height: 1;
}

.aj-services-proof-card span {
  color: #4d6156;
  font-size: 0.76rem;
  line-height: 1.45;
}

.aj-services-location-card {
  background: rgba(18, 52, 42, 0.9);
  color: #fff;
  padding: 1rem 1.15rem;
  right: 1.35rem;
  top: 1.35rem;
}

.aj-services-location-card span {
  color: #e3b184;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.aj-services-location-card strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.1rem;
}

.aj-services-proof {
  background: var(--aj-forest);
  box-sizing: border-box;
  color: #fff;
  padding: 0 1.25rem;
}

.aj-services-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.aj-services-proof-grid > div {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 0.25rem;
  padding: 1.55rem clamp(1rem, 2.6vw, 2rem);
}

.aj-services-proof-grid > div:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.aj-services-proof-grid strong {
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.1;
}

.aj-services-proof-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  line-height: 1.45;
}

.aj-services-bridge {
  background: var(--aj-paper);
  box-sizing: border-box;
  padding: clamp(4.5rem, 9vw, 8rem) 1.25rem;
}

.aj-services-bridge-heading {
  display: grid;
  gap: 1rem 3rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
}

.aj-services-bridge-heading .aj-eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.aj-services-bridge-heading h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

.aj-services-bridge-heading > p:last-child {
  align-self: end;
  color: #52645a;
  line-height: 1.75;
  margin: 0;
}

.aj-services-flow {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
}

.aj-services-flow::before {
  background: linear-gradient(90deg, var(--aj-clay), rgba(167, 101, 64, 0.16));
  content: '';
  height: 2px;
  left: 12%;
  position: absolute;
  right: 12%;
  top: 2rem;
}

.aj-services-flow article {
  background: #fff;
  border: 1px solid var(--aj-line);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(29, 42, 36, 0.07);
  padding: 1.5rem;
  position: relative;
}

.aj-services-flow article > span {
  align-items: center;
  background: var(--aj-clay);
  border: 5px solid var(--aj-paper);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 900;
  height: 3rem;
  justify-content: center;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
  position: relative;
  width: 3rem;
  z-index: 1;
}

.aj-services-flow h3 {
  font-size: 1.25rem;
  margin: 0 0 0.65rem;
}

.aj-services-flow p {
  color: #56675e;
  font-size: 0.84rem;
  line-height: 1.65;
  margin: 0;
}

html.aj-motion-ready .aj-services-hero.is-visible .aj-services-hero-media > img {
  animation: aj-services-image-drift 12s cubic-bezier(0.16, 0.84, 0.44, 1) both;
}

html.aj-motion-ready .aj-services-flow article {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.16, 0.84, 0.44, 1);
}

html.aj-motion-ready .aj-services-bridge.is-visible .aj-services-flow article {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html.aj-motion-ready .aj-services-bridge.is-visible .aj-services-flow article:nth-child(2) {
  transition-delay: 100ms;
}

html.aj-motion-ready .aj-services-bridge.is-visible .aj-services-flow article:nth-child(3) {
  transition-delay: 200ms;
}

@keyframes aj-services-image-drift {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

@media (max-width: 900px) {
  .aj-services-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .aj-services-hero-copy {
    max-width: 720px;
  }

  .aj-services-hero-media {
    min-height: clamp(390px, 76vw, 560px);
  }

  .aj-services-proof-card {
    left: 1.25rem;
  }

  .aj-services-bridge-heading {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .aj-services-hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .aj-services-hero-copy h1,
  .aj-services-hero-copy h2 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

  .aj-services-assurance {
    display: none;
  }

  .aj-services-hero {
    padding-bottom: 2.5rem;
    padding-top: 3.5rem;
  }

  .aj-services-hero-actions,
  .aj-services-hero-actions > * {
    box-sizing: border-box;
    width: 100%;
  }

  .aj-services-hero-actions > * {
    justify-content: center;
    text-align: center;
  }

  .aj-services-hero-media {
    min-height: 440px;
  }

  .aj-services-hero-media > img {
    border-radius: 24px;
  }

  .aj-services-proof-card {
    bottom: 1rem;
    left: 1rem;
    max-width: 210px;
  }

  .aj-services-location-card {
    right: 1rem;
    top: 1rem;
  }

  .aj-services-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aj-services-proof-grid > div,
  .aj-services-proof-grid > div:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
  }

  .aj-services-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .aj-services-flow::before {
    bottom: 3rem;
    height: auto;
    left: 2.95rem;
    right: auto;
    top: 2rem;
    width: 2px;
  }
}

.aj-eyebrow {
  color: var(--aj-clay);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.aj-hero {
  isolation: isolate;
  min-height: min(760px, calc(100vh - 76px));
}

.aj-hero .wp-block-cover__background {
  background-color: transparent !important;
  background-image: linear-gradient(
    90deg,
    rgba(20, 44, 34, 0.96) 0%,
    rgba(20, 44, 34, 0.86) 38%,
    rgba(20, 44, 34, 0.32) 68%,
    rgba(20, 44, 34, 0.04) 100%
  ) !important;
  opacity: 1 !important;
}

.aj-hero .wp-block-cover__image-background {
  filter: contrast(1.04) saturate(0.92);
  object-position: 62% center;
  transform: scale(1.015);
}

html.aj-motion-ready .aj-hero .wp-block-cover__image-background {
  animation: aj-hero-drift 18s cubic-bezier(0.16, 0.84, 0.44, 1) both;
}

html.aj-motion-ready .aj-hero-copy > * {
  animation: aj-hero-copy-in 760ms cubic-bezier(0.16, 0.84, 0.44, 1) both;
  opacity: 0;
}

html.aj-motion-ready .aj-hero-trust {
  animation: aj-hero-copy-in 760ms cubic-bezier(0.16, 0.84, 0.44, 1) 520ms both;
  opacity: 0;
}

html.aj-motion-ready .aj-hero-copy > :nth-child(1) {
  animation-delay: 120ms;
}

html.aj-motion-ready .aj-hero-copy > :nth-child(2) {
  animation-delay: 220ms;
}

html.aj-motion-ready .aj-hero-copy > :nth-child(3) {
  animation-delay: 320ms;
}

html.aj-motion-ready .aj-hero-copy > :nth-child(4) {
  animation-delay: 420ms;
}

@keyframes aj-hero-drift {
  from {
    transform: scale(1.015);
  }

  to {
    transform: scale(1.055);
  }
}

@keyframes aj-hero-copy-in {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.aj-hero .wp-block-cover__inner-container {
  min-height: inherit;
  position: relative;
  width: 100%;
}

.aj-hero-copy {
  margin-left: max(1.25rem, calc((100vw - 1180px) / 2));
  max-width: 760px;
  padding: 4.75rem 1.25rem 9.5rem 0;
}

.aj-hero h1 {
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.6rem);
  letter-spacing: -0.045em;
  margin: 0 0 1.25rem;
  max-width: 920px;
}

.aj-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 650px;
}

.aj-hero .wp-block-button.is-style-outline .wp-block-button__link {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

.aj-hero-trust {
  backdrop-filter: blur(14px);
  background: rgba(255, 252, 246, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 20px;
  bottom: clamp(1rem, 2.4vw, 1.8rem);
  box-shadow: 0 16px 44px rgba(7, 24, 18, 0.22);
  box-sizing: border-box;
  left: max(1.25rem, calc((100% - 1180px) / 2));
  padding: 0.45rem;
  position: absolute;
  right: max(1.25rem, calc((100% - 1180px) / 2));
}

.aj-hero-trust .wp-block-columns {
  display: grid !important;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.aj-hero-trust .aj-stat {
  border-bottom: 0;
  border-color: rgba(31, 73, 56, 0.16);
  box-sizing: border-box;
  min-height: 0;
  min-width: 0;
  padding: 0.75rem 1rem;
}

.aj-hero-trust .aj-stat p {
  color: #4f6258;
  font-size: 0.7rem;
  line-height: 1.35;
  margin: 0;
}

.aj-hero-trust .aj-stat strong {
  color: var(--aj-forest);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  margin-bottom: 0.15rem;
}

.aj-trust-strip {
  border-bottom: 1px solid var(--aj-line);
  border-top: 1px solid var(--aj-line);
}

.aj-stat {
  border-right: 1px solid var(--aj-line);
  min-height: 100%;
  padding: 1.25rem;
}

.aj-stat:last-child {
  border-right: 0;
}

.aj-stat strong {
  color: var(--aj-forest);
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.aj-route-planner-section {
  background:
    radial-gradient(circle at 8% 8%, rgba(205, 140, 91, 0.2), transparent 26rem),
    linear-gradient(145deg, #0f3029 0%, #153c31 52%, #0b2722 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.aj-route-planner-section::before {
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.035) 50%, transparent 80%);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-60%);
  animation: aj-route-light-pass 12s ease-in-out infinite;
}

.aj-route-planner-layout {
  align-items: stretch;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.aj-route-cinema {
  background: #122d28;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(4, 18, 15, 0.34);
  min-height: 590px;
  overflow: hidden;
  position: relative;
}

.aj-route-cinema::before {
  animation: aj-route-cinema-drift 18s ease-in-out infinite alternate;
  background-image: url('../images/shirakawago.jpg');
  background-position: 52% center;
  background-size: cover;
  content: '';
  filter: saturate(0.82) contrast(1.08);
  inset: -4%;
  position: absolute;
  transform: scale(1.04);
}

.aj-route-cinema::after {
  background:
    linear-gradient(180deg, rgba(9, 31, 36, 0.04) 0%, rgba(13, 31, 30, 0.24) 44%, rgba(7, 24, 21, 0.94) 100%),
    linear-gradient(125deg, rgba(22, 54, 47, 0.24), rgba(94, 47, 55, 0.22));
  content: '';
  inset: 0;
  position: absolute;
}

.aj-route-cinema-glow {
  animation: aj-route-glow 7s ease-in-out infinite alternate;
  background: radial-gradient(circle, rgba(255, 220, 156, 0.72) 0%, rgba(231, 155, 107, 0.24) 28%, transparent 68%);
  border-radius: 50%;
  height: 19rem;
  position: absolute;
  right: -4rem;
  top: -5rem;
  width: 19rem;
  z-index: 1;
}

.aj-route-cinema-star {
  animation: aj-route-star 4.5s ease-in-out infinite;
  background: #fff5cf;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 235, 178, 0.8);
  height: 4px;
  position: absolute;
  width: 4px;
  z-index: 2;
}

.aj-route-cinema-star--one {
  left: 19%;
  top: 21%;
}

.aj-route-cinema-star--two {
  animation-delay: 1.4s;
  right: 29%;
  top: 31%;
}

.aj-route-cinema-star--three {
  animation-delay: 2.6s;
  left: 43%;
  top: 14%;
}

.aj-route-cinema-copy {
  bottom: 2rem;
  left: 2rem;
  max-width: 360px;
  position: absolute;
  right: 2rem;
  z-index: 3;
}

.aj-route-cinema-copy span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.aj-route-cinema-copy p {
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  margin: 0.7rem 0 0;
}

.aj-route-planner {
  align-self: stretch;
  background: var(--aj-paper);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(4, 18, 15, 0.28);
  box-sizing: border-box;
  color: var(--aj-ink);
  min-height: 590px;
  padding: clamp(1.5rem, 4vw, 3.25rem);
}

.aj-route-planner h2 {
  color: var(--aj-forest);
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
}

.aj-route-planner-intro {
  color: #4c5f55;
  font-size: 1rem;
  margin: 1rem 0 1.4rem;
  max-width: 610px;
}

.aj-route-progress {
  background: #e3e7df;
  border-radius: 999px;
  height: 5px;
  margin-bottom: 1.8rem;
  overflow: hidden;
}

.aj-route-progress span {
  background: linear-gradient(90deg, var(--aj-clay), #d89b69);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 260ms ease;
  width: 25%;
}

.aj-route-step,
.aj-route-result {
  animation: aj-route-step-in 320ms ease both;
}

.aj-route-step[hidden],
.aj-route-result[hidden] {
  display: none !important;
}

.aj-route-step-count {
  color: var(--aj-clay);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.aj-route-step h3,
.aj-route-result h3 {
  color: var(--aj-forest);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.18;
  margin: 0 0 1.1rem;
}

.aj-route-options {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aj-route-options--single {
  grid-template-columns: minmax(0, 1fr);
}

.aj-route-options button {
  background: #fff;
  border: 1px solid var(--aj-line);
  border-radius: 16px;
  color: var(--aj-forest);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 76px;
  padding: 0.9rem 1rem;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.aj-route-options button:hover,
.aj-route-options button:focus-visible,
.aj-route-options button.is-selected {
  background: #f4eee4;
  border-color: var(--aj-clay);
  box-shadow: 0 12px 26px rgba(50, 63, 55, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.aj-route-options button.is-selected {
  box-shadow: inset 0 0 0 1px var(--aj-clay), 0 12px 26px rgba(50, 63, 55, 0.1);
}

.aj-route-options small {
  color: #6a786f;
  display: block;
  font-size: 0.78rem;
  font-weight: 550;
  line-height: 1.35;
  margin-top: 0.25rem;
}

.aj-route-back,
.aj-route-restart {
  background: transparent;
  border: 0;
  color: var(--aj-moss);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 750;
  margin: 0 0 0.7rem;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.aj-route-result-count {
  background: var(--aj-mist);
  border-radius: 16px;
  color: var(--aj-forest);
  display: inline-flex;
  margin: 0 0 1.1rem;
  padding: 0.65rem 0.85rem;
}

.aj-route-result-count strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.25rem;
  margin-right: 0.35rem;
}

.aj-route-result > p:not(.aj-route-step-count):not(.aj-route-result-count) {
  color: #4c5f55;
}

.aj-route-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.aj-route-result-actions a {
  align-items: center;
  border: 1px solid var(--aj-forest);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0.2rem 1.2rem;
  text-decoration: none;
}

.aj-route-result-primary {
  background: var(--aj-forest);
  color: #fff;
}

.aj-route-result-secondary {
  color: var(--aj-forest);
}

@keyframes aj-route-cinema-drift {
  from { transform: scale(1.04) translate3d(-0.5%, -0.3%, 0); }
  to { transform: scale(1.1) translate3d(1.2%, 0.8%, 0); }
}

@keyframes aj-route-glow {
  from { opacity: 0.5; transform: scale(0.9); }
  to { opacity: 0.9; transform: scale(1.12); }
}

@keyframes aj-route-star {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.4); }
}

@keyframes aj-route-light-pass {
  0%, 30% { transform: translateX(-70%); }
  70%, 100% { transform: translateX(70%); }
}

@keyframes aj-route-step-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .aj-route-planner-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .aj-route-cinema {
    min-height: 320px;
  }

  .aj-route-planner {
    min-height: 0;
  }
}

@media (max-width: 540px) {
  .aj-route-planner-section {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .aj-route-cinema,
  .aj-route-planner {
    border-radius: 22px;
  }

  .aj-route-cinema {
    min-height: 245px;
  }

  .aj-route-cinema-copy {
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
  }

  .aj-route-cinema-copy p {
    font-size: 2.1rem;
  }

  .aj-route-planner {
    padding: 1.35rem;
  }

  .aj-route-planner h2 {
    font-size: 2.35rem;
  }

  .aj-route-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .aj-route-options button {
    min-height: 68px;
  }

  .aj-route-result-actions,
  .aj-route-result-actions a {
    width: 100%;
  }

  .aj-route-result-actions a {
    box-sizing: border-box;
  }
}

.aj-about-actions {
  margin-top: 2rem;
}

.aj-about-actions .wp-block-button__link {
  box-sizing: border-box;
  min-height: 3.25rem;
}

.aj-card {
  background: #fff;
  border: 1px solid var(--aj-line);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(29, 42, 36, 0.06);
  height: 100%;
  overflow: hidden;
  padding: clamp(1.35rem, 3vw, 2rem);
}

.aj-card h3 {
  margin-top: 0.4rem;
}

.aj-card .wp-block-image {
  margin: -2rem -2rem 1.6rem;
}

.aj-card .wp-block-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.aj-number {
  align-items: center;
  background: var(--aj-mist);
  border-radius: 999px;
  color: var(--aj-forest);
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 800;
  height: 2.2rem;
  justify-content: center;
  width: 2.2rem;
}

.aj-process-layout {
  align-items: flex-start !important;
}

.aj-process-intro {
  position: sticky;
  top: 7rem;
}

.aj-process-intro .wp-block-buttons {
  margin-top: 1.8rem;
}

.aj-process-note {
  color: var(--aj-moss);
  font-size: 0.78rem;
  line-height: 1.55;
  margin-top: 1.25rem;
  max-width: 32rem;
}

.aj-process-track {
  position: relative;
}

.aj-process-step {
  background: rgba(255, 252, 246, 0.88);
  border: 1px solid rgba(31, 73, 56, 0.14);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(29, 42, 36, 0.065);
  gap: 1rem;
  margin-bottom: 1rem;
  padding: clamp(1.2rem, 2.6vw, 1.7rem);
  position: relative;
}

.aj-process-step::after {
  background: linear-gradient(var(--aj-clay), rgba(167, 101, 64, 0.2));
  content: '';
  height: calc(100% + 1.05rem);
  left: calc(clamp(1.2rem, 2.6vw, 1.7rem) + 1.05rem);
  position: absolute;
  top: calc(clamp(1.2rem, 2.6vw, 1.7rem) + 2.2rem);
  transform-origin: top;
  width: 2px;
  z-index: 0;
}

.aj-process-step:last-child {
  margin-bottom: 0;
}

.aj-process-step:last-child::after {
  display: none;
}

.aj-process-step > .aj-number {
  flex: 0 0 2.2rem;
  position: relative;
  transition: background-color 420ms ease, color 420ms ease, transform 520ms cubic-bezier(0.16, 0.84, 0.44, 1);
  z-index: 1;
}

.aj-process-step > .wp-block-group {
  align-items: start;
  column-gap: clamp(1rem, 2.4vw, 1.35rem);
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(150px, 42%) minmax(0, 1fr);
  min-width: 0;
}

.aj-process-visual {
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(31, 73, 56, 0.12);
  border-radius: 16px;
  box-shadow: 0 9px 22px rgba(29, 42, 36, 0.09);
  grid-column: 1;
  grid-row: 1 / span 3;
  margin: 0;
  overflow: hidden;
}

.aj-process-visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 0.84, 0.44, 1);
  width: 100%;
}

.aj-process-step:hover .aj-process-visual img {
  transform: scale(1.035);
}

.aj-process-step > .wp-block-group > :not(.aj-process-visual) {
  grid-column: 2;
}

.aj-process-step h3 {
  margin: 0.1rem 0 0.45rem;
}

.aj-process-step p:last-child {
  color: #4f6258;
  margin-bottom: 0;
}

.aj-process-kicker {
  color: var(--aj-clay) !important;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

html.aj-motion-ready .aj-process-step::after {
  transform: scaleY(0);
  transition: transform 680ms cubic-bezier(0.16, 0.84, 0.44, 1) 320ms;
}

html.aj-motion-ready .aj-process-step.is-visible::after {
  transform: scaleY(1);
}

html.aj-motion-ready .aj-process-step.aj-reveal > .aj-number {
  transform: scale(0.82);
}

html.aj-motion-ready .aj-process-step.aj-reveal.is-visible > .aj-number {
  background: var(--aj-forest);
  color: #fff;
  transform: scale(1);
}

@media (max-width: 781px) {
  .aj-process-intro {
    position: static;
  }

  .aj-process-intro .wp-block-buttons,
  .aj-process-intro .wp-block-button,
  .aj-process-intro .wp-block-button__link {
    width: 100%;
  }

  .aj-process-intro .wp-block-button__link {
    box-sizing: border-box;
    justify-content: center;
  }

  .aj-process-track {
    margin-top: 1rem;
  }

  .aj-process-step {
    border-radius: 18px;
  }

  .aj-process-step > .wp-block-group {
    display: block;
  }

  .aj-process-visual {
    border-radius: 14px;
    margin-bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aj-process-visual img,
  .aj-process-step:hover .aj-process-visual img {
    transform: none;
    transition: none;
  }
}

/* Property portal search and comparison experience. */
.aj-property-entry-paths {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: clamp(-1.25rem, -2vw, -0.5rem);
}

.aj-property-entry-paths a {
  background: #fff;
  border: 1px solid var(--aj-line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(29, 42, 36, 0.05);
  color: var(--aj-ink);
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.aj-property-entry-paths a:hover,
.aj-property-entry-paths a:focus-visible {
  border-color: var(--aj-clay);
  box-shadow: 0 14px 32px rgba(29, 42, 36, 0.1);
  outline: 0;
  transform: translateY(-2px);
}

.aj-property-entry-paths small {
  color: var(--aj-clay);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aj-property-entry-paths strong {
  color: var(--aj-forest);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
}

.aj-property-entry-paths span {
  color: var(--aj-moss);
  font-size: 0.68rem;
}

.aj-property-entry-paths .aj-property-entry-paths__recommend {
  background: var(--aj-forest);
  border-color: var(--aj-forest);
}

.aj-property-entry-paths__recommend small {
  color: #e5b28f;
}

.aj-property-entry-paths__recommend strong,
.aj-property-entry-paths__recommend span {
  color: #fff;
}

.aj-property-search-shell {
  background: #fff;
  border: 1px solid var(--aj-line);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(29, 42, 36, 0.07);
  margin-top: 1.15rem;
  padding: 1rem;
}

.aj-property-search-primary {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(280px, 1fr) auto;
}

.aj-property-keyword {
  display: grid;
  gap: 0.35rem;
}

.aj-property-keyword > span,
.aj-property-sort-control > span {
  color: var(--aj-moss);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aj-property-keyword input {
  appearance: none;
  background: var(--aj-paper);
  border: 1px solid var(--aj-line);
  border-radius: 14px;
  color: var(--aj-ink);
  font: inherit;
  min-height: 50px;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  width: 100%;
  background-image: radial-gradient(circle, transparent 48%, var(--aj-forest) 51% 59%, transparent 62%), linear-gradient(45deg, transparent 43%, var(--aj-forest) 44% 57%, transparent 58%);
  background-position: 0.95rem 50%, 1.72rem 65%;
  background-repeat: no-repeat;
  background-size: 1rem 1rem, 0.55rem 0.55rem;
}

.aj-property-keyword input:focus,
.aj-property-sort-control select:focus {
  border-color: var(--aj-forest);
  box-shadow: 0 0 0 3px rgba(31, 73, 56, 0.11);
  outline: 0;
}

.aj-property-filter-toggle {
  display: none;
}

.aj-property-search-primary .aj-saved-filter,
.aj-property-filter-toggle {
  align-items: center;
  appearance: none;
  background: var(--aj-paper);
  border: 1px solid var(--aj-line);
  border-radius: 14px;
  color: var(--aj-forest);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  gap: 0.4rem;
  justify-content: center;
  min-height: 50px;
  padding: 0.7rem 1rem;
}

.aj-property-search-primary .aj-saved-filter {
  display: inline-flex;
}

.aj-property-search-primary .aj-saved-filter strong,
.aj-property-filter-toggle strong {
  align-items: center;
  background: var(--aj-mist);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.68rem;
  height: 1.45rem;
  justify-content: center;
  min-width: 1.45rem;
  padding: 0 0.25rem;
}

.aj-property-search-primary .aj-saved-filter.is-active,
.aj-property-search-primary .aj-saved-filter[aria-pressed='true'] {
  background: var(--aj-forest);
  border-color: var(--aj-forest);
  color: #fff;
}

.aj-property-search-primary .aj-saved-filter.is-active strong,
.aj-property-search-primary .aj-saved-filter[aria-pressed='true'] strong {
  background: rgba(255, 255, 255, 0.18);
}

.aj-property-search-shell .aj-property-quick-filters {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--aj-line);
  border-radius: 0;
  box-shadow: none;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 1rem;
  padding: 1rem 0 0;
}

.aj-property-search-shell .aj-property-quick-filters button {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 30px;
  padding: 0.15rem;
}

.aj-property-search-shell .aj-property-quick-filters .aj-property-filter-apply {
  display: none;
}

.aj-property-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.aj-property-filter-chips[hidden] {
  display: none;
}

.aj-property-filter-chips button {
  appearance: none;
  background: var(--aj-mist);
  border: 1px solid rgba(31, 73, 56, 0.14);
  border-radius: 999px;
  color: var(--aj-forest);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.42rem 0.65rem;
}

.aj-property-results-toolbar {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 1.2rem 0 1rem;
}

.aj-property-results-toolbar .aj-property-results-status {
  align-items: baseline;
  color: var(--aj-ink);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin: 0;
}

.aj-property-results-toolbar .aj-property-results-status strong {
  color: var(--aj-forest);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.45rem;
}

.aj-property-results-toolbar .aj-property-results-status span {
  color: #758078;
  font-size: 0.72rem;
}

.aj-property-results-toolbar .aj-property-results-status.is-filtered {
  background: transparent;
  border-radius: 0;
  color: var(--aj-ink);
  padding: 0;
}

.aj-property-sort-control {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.55rem;
}

.aj-property-sort-control select {
  appearance: none;
  background-color: #fff;
  background-image: linear-gradient(45deg, transparent 50%, var(--aj-forest) 50%), linear-gradient(135deg, var(--aj-forest) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 2px), calc(100% - 11px) calc(50% - 2px);
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  border: 1px solid var(--aj-line);
  border-radius: 12px;
  color: var(--aj-ink);
  font: inherit;
  font-size: 0.78rem;
  min-height: 42px;
  padding: 0.55rem 2.2rem 0.55rem 0.75rem;
}

.aj-property-portal-card .aj-property-preview-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.aj-property-photo-count {
  backdrop-filter: blur(8px);
  background: rgba(17, 28, 23, 0.82);
  border-radius: 999px;
  bottom: 0.7rem;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  left: 0.7rem;
  padding: 0.35rem 0.55rem;
  position: absolute;
}

.aj-property-card-title {
  color: inherit;
  text-decoration: none;
}

.aj-property-card-title:hover,
.aj-property-card-title:focus-visible {
  color: var(--aj-clay);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.aj-property-facts {
  border-bottom: 1px solid var(--aj-line);
  border-top: 1px solid var(--aj-line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.65rem;
}

.aj-property-facts > span {
  display: grid;
  gap: 0.12rem;
  padding: 0.55rem 0.35rem;
}

.aj-property-facts > span:nth-child(odd) {
  border-right: 1px solid var(--aj-line);
  padding-left: 0;
}

.aj-property-facts > span:nth-child(-n + 2) {
  border-bottom: 1px solid var(--aj-line);
}

.aj-property-facts small {
  color: #758078;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aj-property-facts strong {
  color: var(--aj-ink);
  font-size: 0.78rem;
}

.aj-property-portal-card .aj-property-actions {
  gap: 0.5rem;
}

.aj-property-portal-card .aj-property-actions a:first-child {
  flex: 1 1 auto;
  justify-content: center;
  text-align: center;
}

.aj-property-portal-card .aj-property-actions a:nth-child(2) {
  border: 1px solid var(--aj-forest);
  border-radius: 999px;
  padding: 0.5rem 0.7rem;
}

.aj-property-portal-card .aj-property-actions .aj-property-source-link {
  color: #758078;
  flex-basis: 100%;
  font-size: 0.68rem;
  font-weight: 650;
  padding-top: 0.15rem;
}

@media (max-width: 1040px) {
  .aj-property-search-shell .aj-property-quick-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 781px) {
  .aj-property-entry-paths {
    gap: 0.6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible;
    padding: 0;
  }

  .aj-property-entry-paths a {
    min-width: 0;
    padding: 0.8rem;
  }

  .aj-property-entry-paths .aj-property-entry-paths__recommend {
    grid-column: 1 / -1;
  }

  .aj-property-search-primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aj-property-keyword {
    grid-column: 1 / -1;
  }

  .aj-property-filter-toggle {
    display: inline-flex;
  }

  .aj-property-search-primary .aj-saved-filter {
    width: 100%;
  }

  .aj-property-search-shell .aj-property-quick-filters {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aj-property-search-shell .aj-property-quick-filters.is-open {
    display: grid;
  }

  .aj-property-search-shell .aj-property-quick-filters label:first-child {
    grid-column: auto;
  }

  .aj-property-search-shell .aj-property-quick-filters .aj-property-filter-apply {
    align-items: center;
    background: var(--aj-forest);
    border-radius: 999px;
    color: #fff;
    display: flex;
    grid-column: 1 / -1;
    justify-content: center;
    justify-self: stretch;
    min-height: 48px;
    padding: 0.7rem 1rem;
    text-decoration: none;
  }

  .aj-property-results-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .aj-property-sort-control {
    justify-content: space-between;
  }

  .aj-property-sort-control select {
    min-width: 190px;
  }
}

@media (max-width: 540px) {
  .aj-property-search-shell {
    border-radius: 18px;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding: 0.8rem;
  }

  .aj-property-search-shell .aj-property-quick-filters {
    grid-template-columns: 1fr;
  }

  .aj-property-portal-card .aj-property-preview-copy {
    padding: 1.1rem 1.15rem 1.25rem;
  }

  .aj-property-portal-card .aj-property-actions a:first-child,
  .aj-property-portal-card .aj-property-actions a:nth-child(2) {
    align-items: center;
    display: inline-flex;
    flex: 1 1 calc(50% - 0.25rem);
    justify-content: center;
  }
}

.aj-price-card {
  background: #fff;
  border: 1px solid var(--aj-line);
  border-radius: 24px;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.aj-price {
  color: var(--aj-forest);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.aj-note {
  border-left: 4px solid var(--aj-clay);
  padding-left: 1.25rem;
}

.aj-profile-image img {
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  box-shadow: var(--aj-shadow);
  object-fit: cover;
  width: 100%;
}

.aj-booking {
  background: var(--aj-forest);
  border-radius: 32px;
  box-shadow: var(--aj-shadow);
  color: #fff;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5rem);
  position: relative;
}

.aj-booking::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 66%);
  content: '';
  height: 430px;
  pointer-events: none;
  position: absolute;
  right: -160px;
  top: -190px;
  width: 430px;
}

.aj-booking h2,
.aj-booking h3,
.aj-booking a:not(.wp-block-button__link) {
  color: #fff;
}

.aj-booking .wp-block-button__link,
.akiya-timerex-link {
  background: #fff !important;
  color: var(--aj-forest) !important;
}

.akiya-timerex-link {
  border-radius: 999px;
  display: inline-block;
  font-weight: 800;
  padding: 0.9rem 1.35rem;
  text-decoration: none;
}

.aj-booking > .akiya-timerex-link {
  box-sizing: border-box;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  position: relative;
  text-align: center;
  width: fit-content;
  z-index: 1;
}

.akiya-timerex-placeholder {
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.38);
  border-radius: 14px;
  display: inline-block;
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
}

.akiya-timerex-embed iframe {
  background: #fff;
  border: 0;
  border-radius: 18px;
  max-width: 100% !important;
  min-height: 720px;
  min-width: 0 !important;
  width: 100% !important;
}

.akiya-timerex-embed #timerex_calendar {
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}

.akiya-timerex-embed #timerex_calendar > div {
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}

.aj-calendar-page {
  padding: clamp(4.5rem, 9vw, 8rem) var(--wp--preset--spacing--40);
  background: #f5f2e9;
}

.aj-calendar-intro {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.aj-calendar-booking {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(31, 50, 43, 0.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(31, 50, 43, 0.1);
}

.akiya-timerex-embed {
  min-height: 720px;
  max-width: 100%;
  overflow-x: auto;
}

.aj-calendar-support {
  margin-top: 2rem;
  text-align: center;
}

@media (max-width: 700px) {
  .aj-calendar-page {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .aj-calendar-booking {
    padding: 0.5rem;
    border-radius: 16px;
  }

  .aj-calendar-intro,
  .aj-calendar-support {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .akiya-timerex-embed iframe {
    min-height: 1500px;
  }
}

.aj-faq details {
  border-top: 1px solid var(--aj-line);
  padding: 1.25rem 0;
}

.aj-faq summary {
  color: var(--aj-forest);
  cursor: pointer;
  font-weight: 750;
}

.aj-coming-soon {
  align-items: center;
  background-color: #111;
  background-image: url('../images/akiya-house.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  min-height: calc(100vh - 160px);
  overflow: hidden;
  padding: clamp(5rem, 12vw, 10rem) 1.25rem;
  position: relative;
}

.aj-coming-soon::before,
.aj-coming-soon::after {
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.aj-coming-soon::before {
  background: rgba(0, 0, 0, 0.42);
}

.aj-coming-soon::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28));
}

body.aj-page-calendar .aj-coming-soon {
  background-image: url('../images/calendar-booking-mockup.png');
  background-position: right bottom;
  background-size: 200% auto;
}

.aj-properties-preview {
  background: var(--aj-paper);
  min-height: calc(100vh - 160px);
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 1.25rem clamp(4rem, 8vw, 7rem);
  position: relative;
}

.aj-properties-preview-intro {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 760px;
}

.aj-properties-preview-intro h1 {
  letter-spacing: -0.04em;
  margin-bottom: 1.1rem;
}

.aj-property-explorer {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.aj-property-explorer--map-only {
  grid-template-columns: minmax(0, 1fr);
}

.aj-property-explorer--compact {
  display: block;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.aj-property-filter-bar {
  background: #fff;
  border: 1px solid var(--aj-line);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(29, 42, 36, 0.06);
  padding: 1rem 1.15rem;
}

.aj-property-filter-heading {
  align-items: baseline;
  display: flex;
  gap: 0.45rem 1rem;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.aj-property-filter-heading h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.025em;
  margin: 0;
}

.aj-property-filter-heading p {
  color: var(--aj-moss);
  font-size: 0.75rem;
  margin: 0;
}

.aj-property-filter-body {
  align-items: stretch;
  display: grid;
  gap: 1rem 1.25rem;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.aj-property-compact-map {
  background-color: #d8e7e1;
  background-image:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.72), transparent 34%),
    radial-gradient(circle at 1px 1px, rgba(31, 73, 56, 0.08) 1px, transparent 0);
  background-size: auto, 22px 22px;
  border: 1px solid rgba(31, 73, 56, 0.08);
  border-radius: 16px;
  overflow: hidden;
  padding: 0.45rem 0.65rem 0.35rem;
  position: relative;
}

.aj-property-compact-map .aj-real-japan-map {
  height: 270px;
  min-height: 0;
}

.aj-property-compact-map .aj-japan-map {
  max-height: 265px;
  width: 100%;
}

.aj-property-explorer[data-active-region]:not([data-active-region='all']) .aj-property-filter-bar {
  border-color: rgba(31, 73, 56, 0.55);
  box-shadow: 0 16px 38px rgba(29, 42, 36, 0.13);
}

.aj-map-tap-cue {
  align-items: center;
  background: rgba(255, 252, 246, 0.94);
  border: 1px solid rgba(31, 73, 56, 0.16);
  border-radius: 999px;
  bottom: 1.65rem;
  box-shadow: 0 8px 20px rgba(29, 42, 36, 0.14);
  color: var(--aj-forest);
  display: flex;
  font-size: 0.68rem;
  font-weight: 850;
  gap: 0.45rem;
  left: 50%;
  padding: 0.45rem 0.65rem;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
  z-index: 3;
}

.aj-map-tap-cue span {
  background: var(--aj-clay);
  border-radius: 50%;
  height: 0.55rem;
  position: relative;
  width: 0.55rem;
}

.aj-map-tap-cue span::after {
  animation: aj-map-tap-pulse 1.8s ease-out infinite;
  border: 2px solid var(--aj-clay);
  border-radius: 50%;
  content: '';
  inset: -0.28rem;
  position: absolute;
}

.aj-real-japan-map:not([data-active-region='all']) + .aj-map-tap-cue {
  opacity: 0;
  transform: translate(-50%, 0.35rem);
}

.aj-map-selection-chip {
  animation: aj-filter-selection-pop 240ms ease-out;
  background: var(--aj-forest);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  bottom: 1.65rem;
  box-shadow: 0 10px 24px rgba(29, 42, 36, 0.28);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  left: 50%;
  padding: 0.55rem 0.8rem;
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 4;
}

.aj-map-selection-chip[hidden] {
  display: none;
}

@keyframes aj-map-tap-pulse {
  0% {
    opacity: 0.85;
    transform: scale(0.55);
  }
  75%,
  100% {
    opacity: 0;
    transform: scale(1.65);
  }
}

@keyframes aj-filter-selection-pop {
  from {
    opacity: 0;
    transform: translate(-50%, 0.45rem) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

.aj-property-explorer-map-panel,
.aj-property-explorer-preferences {
  border-radius: 30px;
  box-shadow: var(--aj-shadow);
  overflow: hidden;
}

.aj-property-explorer-map-panel {
  background: #fff;
  border: 1px solid var(--aj-line);
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.aj-property-explorer-heading,
.aj-new-properties-heading {
  align-items: flex-end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.aj-property-explorer-heading h2,
.aj-property-explorer-preferences h2,
.aj-new-properties-heading h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.035em;
  margin: 0;
}

.aj-property-explorer-note {
  color: var(--aj-moss);
  font-size: 0.85rem;
  margin: 0 0 0.4rem;
}

.aj-japan-map-shell {
  background-color: #d8e7e1;
  background-image:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.72), transparent 34%),
    radial-gradient(circle at 1px 1px, rgba(31, 73, 56, 0.08) 1px, transparent 0);
  background-size: auto, 22px 22px;
  border: 1px solid rgba(31, 73, 56, 0.08);
  border-radius: 24px;
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  grid-template-columns: minmax(0, 1.45fr) minmax(255px, 0.72fr);
  margin: 1.5rem 0;
  overflow: hidden;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  position: relative;
}

.aj-japan-map-visual {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.aj-japan-map-shell::before,
.aj-japan-map-shell::after {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  content: '';
  height: 340px;
  pointer-events: none;
  position: absolute;
  right: -190px;
  top: -175px;
  width: 340px;
}

.aj-japan-map-shell::after {
  height: 430px;
  right: -235px;
  top: -220px;
  width: 430px;
}

.aj-real-japan-map {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 470px;
  position: relative;
  z-index: 1;
}

.aj-japan-map {
  display: block;
  filter: drop-shadow(0 16px 18px rgba(29, 42, 36, 0.13));
  height: auto;
  max-height: 470px;
  width: min(100%, 540px);
}

.aj-region-story {
  align-self: stretch;
  background: rgba(255, 252, 246, 0.9);
  border: 1px solid rgba(31, 73, 56, 0.12);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(29, 42, 36, 0.1);
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 2.5vw, 1.55rem);
  position: relative;
  z-index: 2;
}

.aj-region-story h3 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -0.035em;
  margin: 0.2rem 0 0.4rem;
}

.aj-region-story-back {
  align-self: flex-start;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--aj-forest);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  margin: 0 0 0.9rem;
  padding: 0;
}

.aj-region-story-total {
  align-items: baseline;
  color: var(--aj-moss);
  display: flex;
  gap: 0.45rem;
  margin: 0;
}

.aj-region-story-total strong {
  color: var(--aj-clay);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.1rem;
  line-height: 1;
}

.aj-region-story-copy,
.aj-region-story-note {
  color: var(--aj-moss);
  font-size: 0.78rem;
  line-height: 1.6;
}

.aj-region-story-copy {
  margin: 0.9rem 0 1rem;
}

.aj-region-story-note {
  border-top: 1px solid var(--aj-line);
  margin: auto 0 0;
  padding-top: 1rem;
}

.aj-region-destinations {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.aj-region-destination {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid var(--aj-line);
  border-radius: 14px;
  color: var(--aj-ink);
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 0 0.7rem;
  grid-template-columns: 2.35rem 1fr auto;
  padding: 0.65rem 0.75rem;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  width: 100%;
}

.aj-region-destination:hover,
.aj-region-destination:focus,
.aj-region-destination.is-active {
  border-color: var(--aj-forest);
  box-shadow: 0 10px 24px rgba(29, 42, 36, 0.09);
  outline: none;
  transform: translateY(-1px);
}

.aj-region-destination-icon {
  align-items: center;
  background: var(--aj-mist);
  border-radius: 11px;
  display: inline-flex;
  font-size: 1.2rem;
  height: 2.35rem;
  justify-content: center;
  width: 2.35rem;
}

.aj-region-destination-copy {
  min-width: 0;
}

.aj-region-destination-copy strong,
.aj-region-destination-copy small {
  display: block;
}

.aj-region-destination-copy strong {
  font-size: 0.8rem;
}

.aj-region-destination-copy small {
  color: var(--aj-moss);
  font-size: 0.64rem;
  margin-top: 0.16rem;
}

.aj-region-destination-count {
  color: var(--aj-clay);
  font-size: 0.7rem;
  font-weight: 850;
  white-space: nowrap;
}

.aj-region-overview-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aj-region-overview-grid .aj-region-destination {
  gap: 0.25rem;
  grid-template-columns: 1fr;
}

.aj-region-overview-grid .aj-region-destination-count {
  justify-self: start;
}

.aj-region-selection-panel {
  animation: aj-region-panel-reveal 260ms ease-out;
  background: #f4f7f3;
  border: 1px solid rgba(31, 73, 56, 0.24);
  border-radius: 16px;
  box-shadow: none;
  display: block;
  margin-top: 1rem;
  padding: 1rem;
}

.aj-region-selection-panel[hidden] {
  display: none !important;
}

.aj-region-selection-heading {
  align-items: center;
  display: grid;
  gap: 0.75rem 1rem;
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.aj-region-selection-heading .aj-eyebrow {
  margin: 0;
}

.aj-region-selection-panel h3 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  margin: 0.2rem 0 0;
}

.aj-region-selection-panel .aj-region-story-total {
  background: #fff;
  border: 1px solid var(--aj-line);
  border-radius: 14px;
  padding: 0.65rem 0.8rem;
}

.aj-region-selection-panel .aj-region-story-total strong {
  font-size: 1.7rem;
}

.aj-region-selection-panel .aj-region-story-back {
  background: var(--aj-forest);
  border-radius: 999px;
  color: #fff;
  margin: 0;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
}

.aj-region-selection-panel .aj-region-story-copy {
  margin: 0.8rem 0;
}

.aj-region-selection-panel .aj-region-story-note {
  border-top: 1px solid var(--aj-line);
  font-weight: 750;
  margin: 0 0 0.7rem;
  padding-top: 0.75rem;
}

.aj-region-selection-panel .aj-region-destinations {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

@keyframes aj-region-panel-reveal {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.aj-japan-map .aj-map-inset-frame {
  fill: rgba(255, 252, 246, 0.68);
  pointer-events: none;
  stroke: rgba(31, 73, 56, 0.44);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.aj-japan-map .aj-map-inset-label {
  fill: rgba(29, 42, 36, 0.68);
  font-family: var(--wp--preset--font-family--sans, sans-serif);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  pointer-events: none;
}

.aj-japan-map .aj-prefecture {
  cursor: pointer;
  fill: #78956f;
  opacity: 1;
  stroke: rgba(255, 252, 246, 0.94);
  stroke-linejoin: round;
  stroke-width: 0.8;
  transition: fill 160ms ease, filter 160ms ease, opacity 160ms ease, stroke-width 160ms ease;
  vector-effect: non-scaling-stroke;
}

.aj-japan-map .aj-region-hokkaido {
  fill: #486d5a;
}

.aj-japan-map .aj-region-tohoku {
  fill: #5d7e66;
}

.aj-japan-map .aj-region-kanto {
  fill: #6e8d70;
}

.aj-japan-map .aj-region-chubu {
  fill: #84966e;
}

.aj-japan-map .aj-region-kansai {
  fill: #a8754f;
}

.aj-japan-map .aj-region-chugoku {
  fill: #af7f57;
}

.aj-japan-map .aj-region-shikoku {
  fill: #b98d61;
}

.aj-japan-map .aj-region-kyushu {
  fill: #c19668;
}

.aj-japan-map .aj-prefecture:hover {
  fill: var(--aj-forest);
  filter: brightness(1.08) drop-shadow(0 3px 4px rgba(29, 42, 36, 0.25));
  stroke-width: 1.35;
}

.aj-real-japan-map:not([data-active-region='all']) .aj-prefecture {
  opacity: 0.2;
}

.aj-real-japan-map[data-active-region='hokkaido'] .aj-region-hokkaido,
.aj-real-japan-map[data-active-region='tohoku'] .aj-region-tohoku,
.aj-real-japan-map[data-active-region='kanto'] .aj-region-kanto,
.aj-real-japan-map[data-active-region='chubu'] .aj-region-chubu,
.aj-real-japan-map[data-active-region='kansai'] .aj-region-kansai,
.aj-real-japan-map[data-active-region='chugoku'] .aj-region-chugoku,
.aj-real-japan-map[data-active-region='shikoku'] .aj-region-shikoku,
.aj-real-japan-map[data-active-region='kyushu'] .aj-region-kyushu {
  fill: var(--aj-forest);
  filter: drop-shadow(0 4px 6px rgba(29, 42, 36, 0.24));
  opacity: 1;
  stroke-width: 1.4;
}

.aj-map-loading {
  color: var(--aj-forest);
  font-weight: 750;
  text-align: center;
}

.aj-map-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  justify-content: center;
  margin-top: 0.75rem;
  position: relative;
  z-index: 1;
}

.aj-map-key span {
  align-items: center;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  color: rgba(29, 42, 36, 0.72);
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 750;
  gap: 0.38rem;
  padding: 0.32rem 0.58rem;
}

.aj-map-attribution {
  color: rgba(29, 42, 36, 0.55);
  font-size: 0.62rem;
  line-height: 1.45;
  margin: 0.8rem 0 0;
}

.aj-map-attribution a {
  color: inherit;
}

.aj-property-compact-map .aj-map-attribution {
  font-size: 0.53rem;
  line-height: 1.2;
  margin: 0.1rem 0 0;
  text-align: center;
}

.aj-region-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.aj-region-pills button,
.aj-lifestyle-grid button {
  appearance: none;
  background: transparent;
  border: 1px solid var(--aj-line);
  color: var(--aj-ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.aj-region-pills button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  gap: 0.35rem;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
}

.aj-region-pills button small {
  color: var(--aj-moss);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.aj-region-pills button:hover,
.aj-region-pills button:focus,
.aj-region-pills button.is-active {
  background: var(--aj-forest);
  border-color: var(--aj-forest);
  color: #fff;
  outline: none;
}

.aj-region-pills button:hover small,
.aj-region-pills button:focus small,
.aj-region-pills button.is-active small {
  color: rgba(255, 255, 255, 0.76);
}

.aj-region-pills button.is-active:not([data-region-filter='all'])::after {
  content: ' ✓';
}

.aj-property-explorer-preferences {
  background: var(--aj-forest);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.aj-property-explorer-preferences .aj-eyebrow {
  color: #e8b38f;
}

.aj-property-explorer-preferences h2 {
  color: #fff;
}

.aj-lifestyle-grid {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.aj-lifestyle-grid button {
  align-items: center;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  color: #fff;
  display: flex;
  gap: 0.75rem;
  padding: 0.72rem 0.9rem;
  text-align: left;
  width: 100%;
}

.aj-lifestyle-grid button span {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  display: inline-flex;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.aj-lifestyle-grid button:hover,
.aj-lifestyle-grid button:focus,
.aj-lifestyle-grid button.is-active {
  background: #fff;
  border-color: #fff;
  color: var(--aj-forest);
  outline: none;
  transform: translateX(3px);
}

.aj-lifestyle-grid button:hover span,
.aj-lifestyle-grid button:focus span,
.aj-lifestyle-grid button.is-active span {
  background: var(--aj-mist);
}

.aj-explorer-selection {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1.5rem;
  padding-top: 1.35rem;
}

.aj-explorer-selection span,
.aj-explorer-selection small {
  display: block;
}

.aj-explorer-selection span {
  color: #e8b38f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.aj-explorer-selection strong {
  color: #fff;
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.25rem;
  margin: 0.35rem 0;
}

.aj-explorer-selection small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
}

.aj-new-properties {
  position: relative;
}

.aj-new-properties-heading {
  border-top: 1px solid var(--aj-line);
  padding-top: clamp(2rem, 4vw, 3rem);
}

.aj-new-properties-heading a {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  text-decoration: none;
}

.aj-property-results-status {
  color: var(--aj-moss);
  font-size: 0.82rem;
  margin: 0.7rem 0 1.5rem;
}

.aj-property-saved-note {
  color: #758078;
  font-size: 0.72rem;
  margin: 0.65rem 0 0;
}

.aj-property-quick-filters {
  align-items: end;
  background: #fff;
  border: 1px solid var(--aj-line);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(29, 42, 36, 0.05);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
  margin-top: 1rem;
  padding: 0.85rem;
}

.aj-property-quick-filters label {
  display: grid;
  gap: 0.35rem;
}

.aj-property-quick-filters label > span {
  color: var(--aj-moss);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aj-property-quick-filters select {
  appearance: none;
  background-color: var(--aj-paper);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--aj-forest) 50%),
    linear-gradient(135deg, var(--aj-forest) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 11px) calc(50% - 2px);
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  border: 1px solid var(--aj-line);
  border-radius: 12px;
  color: var(--aj-ink);
  font: inherit;
  font-size: 0.82rem;
  min-height: 44px;
  padding: 0.65rem 2.1rem 0.65rem 0.75rem;
  width: 100%;
}

.aj-property-quick-filters select:focus {
  border-color: var(--aj-forest);
  box-shadow: 0 0 0 3px rgba(31, 73, 56, 0.11);
  outline: 0;
}

.aj-property-quick-filters button {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--aj-forest);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.aj-property-quick-filters button[hidden] {
  display: none;
}

.aj-property-quick-filters .aj-saved-filter {
  align-items: center;
  align-self: stretch;
  background: var(--aj-paper);
  border: 1px solid var(--aj-line);
  border-radius: 12px;
  display: inline-flex;
  gap: 0.38rem;
  justify-content: center;
  min-width: 104px;
  text-decoration: none;
}

.aj-property-quick-filters .aj-saved-filter strong {
  align-items: center;
  background: var(--aj-mist);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.68rem;
  height: 1.4rem;
  justify-content: center;
  min-width: 1.4rem;
  padding: 0 0.25rem;
}

.aj-property-quick-filters .aj-saved-filter.is-active,
.aj-property-quick-filters .aj-saved-filter[aria-pressed='true'] {
  background: var(--aj-forest);
  border-color: var(--aj-forest);
  color: #fff;
}

.aj-property-quick-filters .aj-saved-filter.is-active strong,
.aj-property-quick-filters .aj-saved-filter[aria-pressed='true'] strong {
  background: rgba(255, 255, 255, 0.18);
}

.aj-property-results-status.is-filtered {
  background: var(--aj-forest);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  padding: 0.55rem 0.8rem;
}

.aj-property-curation-inline {
  align-items: center;
  background: #f3eee5;
  border: 1px solid rgba(126, 83, 54, 0.18);
  border-radius: 14px;
  color: var(--aj-moss);
  display: flex;
  gap: 0.65rem 1rem;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding: 0.8rem 0.95rem;
}

.aj-property-curation-inline p {
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0;
}

.aj-property-curation-inline strong {
  color: var(--aj-ink);
}

.aj-property-curation-inline a {
  background: var(--aj-forest);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.76rem;
  font-weight: 850;
  padding: 0.65rem 0.85rem;
  text-decoration: none;
}

.aj-property-curation-inline a:hover,
.aj-property-curation-inline a:focus {
  box-shadow: 0 8px 20px rgba(29, 42, 36, 0.18);
  transform: translateY(-1px);
}

.aj-property-availability-note {
  align-items: center;
  background: #f3eee5;
  border: 1px solid rgba(126, 83, 54, 0.2);
  border-radius: 16px;
  color: var(--aj-moss);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
}

.aj-property-availability-note strong {
  background: var(--aj-clay);
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.65rem;
  text-transform: uppercase;
}

.aj-property-availability-note span {
  font-size: 0.84rem;
}

.aj-property-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aj-property-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.75rem, 4vw, 3rem);
}

.aj-property-load-more {
  appearance: none;
  background: var(--aj-forest);
  border: 1px solid var(--aj-forest);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.aj-property-load-more:hover,
.aj-property-load-more:focus-visible {
  background: #fff;
  color: var(--aj-forest);
  transform: translateY(-1px);
}

.aj-property-load-more:focus-visible {
  outline: 3px solid rgba(31, 73, 56, 0.22);
  outline-offset: 3px;
}

.aj-property-load-more[hidden],
.aj-property-load-more-wrap[hidden] {
  display: none;
}

.aj-home-properties {
  overflow: hidden;
}

.aj-home-properties-heading {
  align-items: end;
  gap: 1.5rem 3rem;
}

.aj-home-properties-heading > .wp-block-group {
  flex: 1 1 620px;
}

.aj-home-properties-heading h2 {
  margin-bottom: 0.75rem;
}

.aj-home-properties-heading .has-lead-font-size {
  margin-bottom: 0;
  max-width: 760px;
}

.aj-instagram-link,
.aj-instagram-button .wp-block-button__link {
  align-items: center;
  display: inline-flex;
  gap: 0.48rem;
}

.aj-instagram-link::before,
.aj-instagram-button .wp-block-button__link::before {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 21%, currentColor 23% 34%, transparent 36%),
    radial-gradient(circle at 73% 27%, currentColor 0 6%, transparent 8%);
  border: 1.8px solid currentColor;
  border-radius: 5px;
  box-sizing: border-box;
  content: '';
  flex: 0 0 1.05rem;
  height: 1.05rem;
  width: 1.05rem;
}

.aj-footer-social {
  margin-top: 1.25rem;
}

.aj-footer-social .wp-social-link {
  transition: opacity 180ms ease, transform 180ms ease;
}

.aj-footer-social .wp-social-link:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.aj-home-property-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2rem, 4vw, 3rem);
}

.aj-property-preview-card--home .aj-property-preview-image img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.aj-home-properties-foot {
  align-items: center;
  border-top: 1px solid rgba(31, 73, 56, 0.14);
  display: flex;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
}

.aj-home-properties-foot p {
  color: var(--aj-moss);
  margin: 0;
}

.aj-home-properties-foot a {
  color: var(--aj-forest);
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.aj-property-preview-card {
  background: #fff;
  border: 1px solid var(--aj-line);
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(29, 42, 36, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.aj-property-preview-card[hidden] {
  display: none !important;
}

.aj-property-preview-image {
  background: #101411;
  display: block;
  overflow: hidden;
  position: relative;
}

.aj-property-preview-image img {
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.aj-prefecture.is-selected {
  filter: brightness(0.88) saturate(1.25);
  stroke: #17271f;
  stroke-width: 2.5;
}

.aj-property-preview-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem 1.45rem 1.55rem;
}

.aj-property-save {
  align-items: center;
  appearance: none;
  backdrop-filter: blur(10px);
  background: rgba(255, 252, 246, 0.94);
  border: 1px solid rgba(31, 73, 56, 0.18);
  border-radius: 999px;
  box-shadow: 0 7px 22px rgba(16, 28, 22, 0.18);
  color: var(--aj-forest);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  gap: 0.3rem;
  min-height: 36px;
  padding: 0.46rem 0.72rem;
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
  z-index: 4;
}

.aj-property-save span {
  font-size: 1rem;
  line-height: 1;
}

.aj-property-save:hover,
.aj-property-save:focus-visible {
  transform: translateY(-1px);
}

.aj-property-save:focus-visible {
  outline: 3px solid rgba(255, 252, 246, 0.9);
  outline-offset: 2px;
}

.aj-property-save.is-saved,
.aj-property-save[aria-pressed='true'] {
  background: var(--aj-forest);
  border-color: var(--aj-forest);
  color: #fff;
}

.aj-property-preview-source {
  color: var(--aj-clay);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 0.55rem;
  text-transform: uppercase;
}

.aj-property-preview-copy h2,
.aj-property-preview-copy h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin: 0 0 0.55rem;
}

.aj-property-preview-price {
  color: var(--aj-forest);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.55rem;
}

.aj-property-preview-meta {
  color: var(--aj-moss);
  font-size: 0.82rem;
  margin: 0;
}

.aj-property-preview-date {
  color: #758078;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.72rem;
  gap: 0.35rem 0.85rem;
  margin: 0.75rem 0 0;
}

.aj-property-preview-date span + span::before {
  content: '·';
  margin-right: 0.85rem;
}

.aj-property-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.aj-property-tags span {
  background: var(--aj-mist);
  border-radius: 999px;
  color: var(--aj-forest);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.3rem 0.55rem;
}

.aj-property-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.15rem;
}

.aj-property-actions a {
  color: var(--aj-forest);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}

.aj-property-actions a:first-child {
  background: var(--aj-forest);
  border-radius: 999px;
  color: #fff;
  padding: 0.55rem 0.78rem;
}

.aj-property-actions a:hover {
  text-decoration: underline;
}

.aj-property-empty {
  background: var(--aj-sand);
  border: 1px dashed rgba(31, 73, 56, 0.28);
  border-radius: 22px;
  margin-top: 1rem;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.aj-property-empty strong {
  color: var(--aj-forest);
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.aj-property-empty button {
  appearance: none;
  background: var(--aj-forest);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
}

.aj-properties-preview-overlay {
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  display: flex;
  inset: 0;
  justify-content: center;
  margin: 0 !important;
  max-width: none !important;
  padding: clamp(8rem, 18vh, 12rem) 1.25rem 2rem;
  pointer-events: none;
  position: absolute;
  text-align: center;
  width: auto !important;
  z-index: 3;
}

.aj-properties-preview-overlay-inner {
  max-width: 760px;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.6);
  width: 100%;
}

.aj-properties-preview-overlay .aj-eyebrow {
  color: #e8b38f;
}

.aj-properties-preview-overlay h1,
.aj-properties-preview-overlay h2 {
  color: #fff;
  font-size: clamp(3.2rem, 8vw, 6rem);
  margin: 0 0 1.25rem;
  white-space: nowrap;
}

.aj-properties-preview-overlay p:last-child {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin: 0 auto;
  max-width: 650px;
}

.aj-coming-soon-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #fff;
  margin-left: 0 !important;
  max-width: 760px;
  padding: clamp(1.25rem, 5vw, 3rem) 0;
  position: relative;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.38);
  z-index: 2;
}

.aj-coming-soon-card h1,
.aj-coming-soon-card a {
  color: #fff;
}

.aj-coming-soon-card h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  margin-bottom: 1.25rem;
}

.aj-coming-soon-card .aj-eyebrow {
  color: #e8b38f;
}

.aj-coming-soon-card .wp-block-post-title {
  color: rgba(255, 255, 255, 0.72);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.aj-coming-soon-card .wp-block-button__link {
  background: #fff !important;
  color: var(--aj-forest) !important;
}

.aj-empty-state {
  background-color: #111;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url('../images/shirakawago.jpg');
  background-position: center 55%;
  background-repeat: no-repeat;
  background-size: cover;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(29, 42, 36, 0.16);
  color: #fff;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  margin-top: 2.5rem;
  min-height: 380px;
  padding: clamp(7rem, 16vw, 12rem) clamp(1.5rem, 6vw, 5rem);
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.aj-empty-state strong {
  display: inline-block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.aj-card ul,
.aj-price-card ul {
  padding-left: 1.2rem;
}

.aj-card li,
.aj-price-card li {
  margin-bottom: 0.45rem;
}

.aj-media-block {
  margin-bottom: clamp(3rem, 7vw, 6rem);
  margin-top: clamp(3rem, 7vw, 6rem);
}

.aj-media-story {
  background: var(--aj-sand);
  border: 1px solid var(--aj-line);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(29, 42, 36, 0.08);
  overflow: hidden;
}

.aj-media-story .wp-block-media-text__media,
.aj-media-story .wp-block-media-text__media img {
  height: 100%;
  min-height: 440px;
}

.aj-media-story .wp-block-media-text__media img {
  object-fit: cover;
  width: 100%;
}

.aj-media-story .wp-block-media-text__content {
  padding: clamp(2rem, 5vw, 4.5rem);
}

.aj-media-gallery .wp-block-image img {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  object-fit: cover;
  width: 100%;
}

.aj-media-gallery figcaption {
  color: var(--aj-moss);
  font-size: 0.82rem;
  text-align: left;
}

.aj-media-video {
  background: var(--aj-mist);
  border: 1px solid var(--aj-line);
  border-radius: 28px;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.aj-media-video .wp-block-video,
.aj-media-video video,
.aj-media-video iframe {
  border-radius: 18px;
  overflow: hidden;
  width: 100%;
}

.aj-media-cards .aj-card {
  padding: 1.25rem;
}

.aj-media-cards .aj-card .wp-block-image {
  margin: -1.25rem -1.25rem 1.25rem;
}

.wp-block-button__link {
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.wp-block-button__link:hover,
.akiya-timerex-link:hover {
  box-shadow: 0 10px 26px rgba(29, 42, 36, 0.2);
  transform: translateY(-2px);
}

@media (min-width: 782px) {
  .aj-properties-preview {
    padding-top: 3.5rem;
  }

  .aj-properties-preview-intro {
    margin-bottom: 1.5rem;
  }

  .aj-property-explorer--compact {
    margin-bottom: 2rem;
  }

  .aj-new-properties-heading {
    padding-top: 2rem;
  }

  .aj-region-pills {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .aj-region-pills button {
    border-radius: 16px;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 0;
    padding: 0.65rem 0.55rem;
    position: relative;
  }

  .aj-region-pills button small {
    font-size: 0.72rem;
  }

  .aj-region-pills button.is-active:not([data-region-filter='all'])::after {
    content: '✓';
    position: absolute;
    right: 0.65rem;
    top: 0.5rem;
  }
}

@media (max-width: 781px) {
  .aj-header .wp-block-navigation__responsive-container-open,
  .aj-header .wp-block-navigation__responsive-container-close {
    align-items: center;
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
  }

  .aj-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .aj-header .wp-block-navigation__responsive-container.is-menu-open {
    align-items: stretch;
    background: var(--aj-paper);
    box-sizing: border-box;
    display: flex;
    height: 100vh;
    height: 100dvh;
    inset: 0;
    min-height: 100vh;
    overflow-y: auto;
    padding: max(1.25rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(1.5rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
    position: fixed;
    width: 100%;
    z-index: 100000;
  }

  .aj-header .wp-block-navigation__responsive-container-content {
    align-items: stretch;
    box-sizing: border-box;
    flex: 1;
    justify-content: flex-start;
    padding-top: 4.5rem;
    width: 100%;
  }

  .aj-header .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .aj-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
    border-bottom: 1px solid var(--aj-line);
    width: 100%;
  }

  .aj-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
    box-sizing: border-box;
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.65rem, 8vw, 2.35rem);
    line-height: 1.2;
    padding: 1rem 0;
    text-align: left;
    width: 100%;
  }

  .aj-header .wp-block-navigation__responsive-container-close {
    color: var(--aj-forest);
    right: max(1.25rem, env(safe-area-inset-right));
    top: max(1.25rem, env(safe-area-inset-top));
  }

  .aj-header .wp-block-navigation__responsive-container-content .aj-nav-cta {
    border-bottom: 0;
    margin-top: 1rem;
  }

  .aj-header .wp-block-navigation__responsive-container-content .aj-nav-cta .wp-block-navigation-item__content {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.9rem 1.1rem;
    text-align: center;
  }

  .aj-hero .wp-block-cover__background {
    background-image: linear-gradient(
      180deg,
      rgba(20, 44, 34, 0.28) 0%,
      rgba(20, 44, 34, 0.64) 46%,
      rgba(20, 44, 34, 0.94) 100%
    ) !important;
  }

  .aj-hero .wp-block-cover__image-background {
    content: url('../images/akiya-house-hero-mobile.webp');
    object-position: 58% center;
  }

  .aj-hero-copy {
    margin-left: 0;
    padding: 2.8rem 1rem 10.25rem;
  }

  .aj-hero h1 {
    font-size: clamp(2.3rem, 11.5vw, 3.65rem);
  }

  .aj-hero > .wp-block-cover__inner-container > .aj-hero-copy > p:not(.aj-eyebrow) {
    font-size: 1rem;
    line-height: 1.55;
  }

  .aj-hero .wp-block-buttons {
    gap: 0.65rem;
    margin-top: 1.25rem !important;
  }

  .aj-hero-trust {
    border-radius: 16px;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.3rem;
    right: 0.75rem;
  }

  .aj-hero-trust .wp-block-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aj-hero-trust .aj-stat {
    border-bottom: 1px solid rgba(31, 73, 56, 0.14);
    border-right: 1px solid rgba(31, 73, 56, 0.14);
    padding: 0.5rem 0.65rem;
  }

  .aj-hero-trust .aj-stat:nth-child(even) {
    border-right: 0;
  }

  .aj-hero-trust .aj-stat:nth-child(n + 3) {
    border-bottom: 0;
  }

  .aj-hero-trust .aj-stat p {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  .aj-hero-trust .aj-stat strong {
    font-size: 1.05rem;
    margin-bottom: 0.1rem;
  }

  .aj-stat {
    border-bottom: 1px solid var(--aj-line);
    border-right: 0;
  }

  .aj-property-save {
    min-height: 44px;
    min-width: 44px;
    padding: 0.55rem 0.8rem;
  }

  button[aria-label='Cookie settings'],
  button[title='Cookie settings'],
  #cookie-settings-button,
  .cky-btn-revisit-wrapper,
  .akiya-consent-manage {
    box-sizing: border-box;
    min-height: 44px !important;
    min-width: 44px !important;
  }

  .aj-about-actions,
  .aj-about-actions .wp-block-button,
  .aj-about-actions .wp-block-button__link {
    width: 100%;
  }

  .aj-about-actions .wp-block-button__link {
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .aj-card .wp-block-image {
    margin-left: -1.35rem;
    margin-right: -1.35rem;
  }

  .aj-media-story .wp-block-media-text__media,
  .aj-media-story .wp-block-media-text__media img {
    min-height: 300px;
  }

  .aj-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .aj-property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aj-home-property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aj-home-properties-heading {
    align-items: flex-start;
  }

  .aj-property-quick-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aj-property-quick-filters label:first-child {
    grid-column: 1 / -1;
  }

  .aj-property-quick-filters button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .aj-japan-map-shell {
    grid-template-columns: 1fr;
  }

  .aj-region-story {
    min-height: 0;
  }

  .aj-property-explorer {
    grid-template-columns: 1fr;
  }

  .aj-property-curation-note {
    grid-template-columns: 1fr;
  }

  .aj-property-curation-action {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 0;
    padding-top: 1.25rem;
  }

  .aj-property-explorer-preferences {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aj-property-explorer-preferences > .aj-eyebrow,
  .aj-property-explorer-preferences > h2,
  .aj-property-explorer-preferences > p,
  .aj-explorer-selection {
    grid-column: 1 / -1;
  }

  .aj-lifestyle-grid {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aj-properties-preview-overlay {
    padding-top: 7rem;
  }
}

@media (max-width: 540px) {
  .aj-property-grid,
  .aj-home-property-grid,
  .aj-lifestyle-grid {
    grid-template-columns: 1fr;
  }

  .aj-home-properties-heading .wp-block-buttons,
  .aj-home-properties-heading .wp-block-button,
  .aj-home-properties-heading .wp-block-button__link {
    width: 100%;
  }

  .aj-home-properties-heading .wp-block-button__link {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .aj-home-properties-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .aj-property-explorer-heading,
  .aj-new-properties-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .aj-property-explorer-note {
    margin-bottom: 0;
  }

  .aj-property-filter-bar {
    padding: 0.9rem;
  }

  .aj-property-filter-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 0.7rem;
  }

  .aj-property-filter-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .aj-property-compact-map .aj-real-japan-map {
    height: 300px;
  }

  .aj-property-compact-map .aj-japan-map {
    max-height: 295px;
  }

  .aj-region-pills {
    flex-wrap: nowrap;
    margin-left: -0.9rem;
    margin-right: -0.9rem;
    overflow-x: auto;
    padding: 0 0.9rem 0.2rem;
    scrollbar-width: none;
  }

  .aj-region-pills::-webkit-scrollbar {
    display: none;
  }

  .aj-region-pills button {
    flex: 0 0 auto;
  }

  .aj-region-selection-heading {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .aj-region-selection-heading .aj-region-story-back {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .aj-region-selection-panel .aj-region-destinations {
    grid-template-columns: minmax(0, 1fr);
  }

  .aj-property-curation-inline {
    align-items: flex-start;
    flex-direction: column;
  }

  .aj-real-japan-map {
    min-height: 330px;
  }

  .aj-japan-map {
    max-height: 360px;
  }

  .aj-region-overview-grid {
    grid-template-columns: 1fr;
  }

  .aj-properties-preview-overlay h1,
  .aj-properties-preview-overlay h2 {
    white-space: normal;
  }
}

/* Lightweight, progressive motion for page sections and repeatable cards. */
html.aj-motion-ready .aj-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 760ms cubic-bezier(0.16, 0.84, 0.44, 1),
    transform 760ms cubic-bezier(0.16, 0.84, 0.44, 1),
    box-shadow 320ms ease,
    border-color 320ms ease;
  transition-delay: var(--aj-reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.aj-motion-ready .aj-reveal--scale {
  transform: translate3d(0, 20px, 0) scale(0.975);
}

html.aj-motion-ready .aj-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

@media (hover: hover) and (pointer: fine) {
  .aj-card,
  .aj-price-card,
  .aj-property-card,
  .aj-property-preview-card,
  .aj-story-card {
    transition:
      opacity 760ms cubic-bezier(0.16, 0.84, 0.44, 1),
      transform 320ms cubic-bezier(0.16, 0.84, 0.44, 1),
      box-shadow 320ms ease,
      border-color 320ms ease;
  }

  .aj-card:hover,
  .aj-price-card:hover,
  .aj-property-card:hover,
  .aj-property-preview-card:hover,
  .aj-story-card:hover,
  html.aj-motion-ready .aj-card.aj-reveal.is-visible:hover,
  html.aj-motion-ready .aj-price-card.aj-reveal.is-visible:hover,
  html.aj-motion-ready .aj-property-card.aj-reveal.is-visible:hover,
  html.aj-motion-ready .aj-property-preview-card.aj-reveal.is-visible:hover,
  html.aj-motion-ready .aj-story-card.aj-reveal.is-visible:hover {
    border-color: rgba(167, 101, 64, 0.34);
    box-shadow: 0 24px 54px rgba(29, 42, 36, 0.14);
    transform: translateY(-5px);
  }

  .aj-property-card img,
  .aj-property-preview-card img,
  .aj-card .wp-block-image img {
    transition: transform 520ms cubic-bezier(0.16, 0.84, 0.44, 1);
  }

  .aj-property-card:hover img,
  .aj-property-preview-card:hover img,
  .aj-card:hover .wp-block-image img {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .aj-route-planner-section::before,
  .aj-route-cinema::before,
  .aj-route-cinema-glow,
  .aj-route-cinema-star,
  .aj-route-step,
  .aj-route-result {
    animation: none !important;
  }

  .aj-services-hero-media > img,
  .aj-services-flow article {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  html.aj-motion-ready .aj-hero .wp-block-cover__image-background,
  html.aj-motion-ready .aj-hero-copy > *,
  html.aj-motion-ready .aj-hero-trust,
  html.aj-motion-ready .aj-reveal,
  html.aj-motion-ready .aj-reveal--scale,
  html.aj-motion-ready .aj-reveal.is-visible {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  html.aj-motion-ready .aj-process-step::after {
    transform: scaleY(1) !important;
    transition: none !important;
  }

  html.aj-motion-ready .aj-process-step > .aj-number {
    transform: none !important;
  }

  .aj-scroll-progress {
    display: none;
  }
}

/* ───────────────────────────────────────────────
   Article typography for English long-form posts
   Scoped to single posts so homepage components remain unchanged.
   ─────────────────────────────────────────────── */

/* Keep the padding inside the constrained block width. */
body.single-post .wp-block-post-content,
body.single-post .wp-block-post-title,
body.single-post .wp-block-post-date {
  box-sizing: border-box;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 782px) {
  body.single-post .wp-block-post-content,
  body.single-post .wp-block-post-title,
  body.single-post .wp-block-post-date {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Mobile 17px to desktop 19px, with a relaxed long-form line height. */
body.single-post .wp-block-post-content {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  line-height: 1.75;
  letter-spacing: 0.003em;
}

body.single-post .wp-block-post-content > p {
  margin-block: 0 1.5em;
}

body.single-post .wp-block-post-content h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  line-height: 1.3;
  margin-block: 3rem 1rem;
  letter-spacing: -0.01em;
}

body.single-post .wp-block-post-content h3 {
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.45rem);
  line-height: 1.4;
  margin-block: 2.25rem 0.75rem;
}

body.single-post .wp-block-post-content ul,
body.single-post .wp-block-post-content ol {
  padding-left: 1.5em;
  margin-block: 0 1.5em;
}

body.single-post .wp-block-post-content li {
  margin-block: 0 0.6em;
}

body.single-post .wp-block-post-content figure {
  margin-block: 2.5rem;
}

body.single-post .wp-block-post-content figure img {
  border-radius: 6px;
}

body.single-post .wp-block-post-content .aj-prefecture-guide-photo img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

body.single-post .wp-block-post-content .aj-prefecture-guide-photo .wp-element-caption {
  color: #65736c;
  font-size: 0.82em;
  line-height: 1.5;
  margin-top: 0.65rem;
}

body.single-post .wp-block-post-content .aj-image-credits {
  border: 1px solid rgba(31, 73, 56, 0.14);
  border-radius: 10px;
  margin-block: 2rem;
  padding: 0.9rem 1rem;
}

body.single-post .wp-block-post-content .aj-image-credits summary {
  color: var(--aj-forest);
  cursor: pointer;
  font-weight: 750;
}

body.single-post .wp-block-post-content .wp-block-table {
  overflow-x: auto;
}

body.single-post .wp-block-post-content table {
  font-size: 0.95em;
}

body.single-post .wp-block-post-content th,
body.single-post .wp-block-post-content td {
  padding: 0.6em 0.8em;
}

body.single-post .wp-block-post-content a:not(.wp-block-button__link) {
  color: #3c5a3c;
  text-underline-offset: 0.15em;
}

body.single-post .wp-block-post-content .wp-block-buttons {
  margin-block: 2.5rem;
}

.aj-article-toc {
  background: linear-gradient(135deg, #f4efe5 0%, #fbf8f1 100%);
  border: 1px solid rgba(31, 73, 56, 0.16);
  border-radius: 18px;
  box-sizing: border-box;
  margin: 2rem 0 2.75rem;
  padding: 1rem 1.15rem;
}

.aj-article-toc summary {
  color: var(--aj-forest);
  cursor: pointer;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  font-weight: 800;
  list-style-position: outside;
}

.aj-article-toc ol {
  display: grid;
  gap: 0.55rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1rem 0 0 !important;
  padding-left: 1.35rem !important;
}

.aj-article-toc li {
  color: var(--aj-clay);
  margin: 0 !important;
  padding-left: 0.15rem;
}

.aj-article-toc li.is-subsection {
  font-size: 0.88em;
  margin-left: 0.75rem !important;
}

.aj-article-toc a {
  color: var(--aj-forest) !important;
  font-weight: 700;
  text-decoration-thickness: 1px;
}

@media (max-width: 700px) {
  .aj-article-toc {
    margin: 1.5rem 0 2.25rem;
  }

  .aj-article-toc ol {
    grid-template-columns: 1fr;
  }
}

/* Stories index */
.aj-stories-page {
  background: var(--aj-paper);
}

.aj-stories-hero {
  background:
    radial-gradient(circle at 88% 14%, rgba(232, 179, 143, 0.2), transparent 28%),
    linear-gradient(135deg, #183d2e 0%, var(--aj-forest) 64%, #2f5d49 100%);
  color: #fff;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8.5rem) 1.25rem;
  position: relative;
}

.aj-stories-hero::after {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: '';
  height: clamp(18rem, 38vw, 36rem);
  pointer-events: none;
  position: absolute;
  right: clamp(-16rem, -12vw, -7rem);
  top: clamp(-12rem, -10vw, -5rem);
  width: clamp(18rem, 38vw, 36rem);
}

.aj-stories-hero-inner {
  margin-left: 0 !important;
  position: relative;
  z-index: 1;
}

.aj-stories-hero .aj-eyebrow {
  color: #e8b38f;
}

.aj-stories-hero h1 {
  color: #fff;
  font-size: clamp(3rem, 7vw, 6rem) !important;
  letter-spacing: -0.045em;
  margin: 0 0 1.35rem;
  max-width: 900px;
}

.aj-stories-hero p:not(.aj-eyebrow) {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 0;
  max-width: 720px;
}

.aj-stories-content {
  padding: clamp(4rem, 8vw, 7rem) 1.25rem;
}

.aj-stories-heading {
  align-items: end;
  border-bottom: 1px solid var(--aj-line);
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-bottom: 1.5rem;
}

.aj-stories-heading h2,
.aj-stories-heading .aj-eyebrow,
.aj-stories-intro {
  margin-bottom: 0;
}

.aj-stories-intro {
  color: var(--aj-moss);
  max-width: 390px;
}

.aj-stories-filters {
  gap: 0.65rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.aj-stories-filter-all,
.aj-stories-category-list {
  margin: 0;
}

.aj-stories-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
}

.aj-stories-category-list li {
  margin: 0;
}

.aj-stories-filter-all a,
.aj-stories-category-list a {
  background: #fff;
  border: 1px solid var(--aj-line);
  border-radius: 999px;
  color: var(--aj-forest);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 750;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.blog .aj-stories-filter-all a,
.aj-stories-category-list .current-cat > a,
.aj-stories-filter-all a:hover,
.aj-stories-category-list a:hover {
  background: var(--aj-forest);
  border-color: var(--aj-forest);
  color: #fff;
}

.aj-stories-grid {
  gap: clamp(1.25rem, 3vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.aj-stories-grid > li {
  margin: 0;
}

.aj-stories-grid > li:only-child {
  grid-column: 1 / -1;
}

.aj-story-card {
  background: #fff;
  border: 1px solid var(--aj-line);
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(29, 42, 36, 0.07);
  height: 100%;
  overflow: hidden;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.aj-story-card:hover {
  box-shadow: 0 22px 52px rgba(29, 42, 36, 0.13);
  transform: translateY(-3px);
}

.aj-story-card-image {
  margin: 0;
  overflow: hidden;
}

.aj-story-card-image a,
.aj-story-card-image img {
  display: block;
  height: 100%;
  width: 100%;
}

.aj-story-card-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 320ms ease;
}

.aj-story-card:hover .aj-story-card-image img {
  transform: scale(1.025);
}

.aj-story-card-body {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: clamp(1.35rem, 3vw, 2rem);
}

.aj-story-card-category {
  color: var(--aj-clay);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.aj-story-card-category a {
  color: inherit;
  text-decoration: none;
}

.aj-story-card-title {
  font-size: clamp(1.55rem, 3vw, 2.25rem) !important;
  line-height: 1.16;
  margin: 0 0 1rem;
}

.aj-story-card-title a {
  color: var(--aj-forest);
  text-decoration: none;
}

.aj-story-card-excerpt {
  color: #4c5f55;
  margin-bottom: 1.5rem;
}

.aj-story-card-excerpt p {
  margin: 0;
}

.aj-story-card-footer {
  border-top: 1px solid var(--aj-line);
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
}

.aj-story-card-date {
  color: var(--aj-moss);
  font-size: 0.82rem;
  margin: 0;
}

.aj-story-card-link {
  color: var(--aj-forest);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.aj-stories-grid > li:only-child .aj-story-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
}

.aj-stories-grid > li:only-child .aj-story-card-image img {
  aspect-ratio: auto;
  min-height: 100%;
}

.aj-stories-pagination {
  border-top: 1px solid var(--aj-line);
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.aj-stories-pagination a {
  font-weight: 750;
  text-decoration: none;
}

.aj-stories-empty {
  background: var(--aj-sand);
  border: 1px solid var(--aj-line);
  border-radius: 24px;
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
}

.aj-stories-cta {
  padding: 0 1.25rem clamp(4rem, 9vw, 8rem);
}

/* Landing-page rhythm: adjoining section backgrounds meet without the default
   WordPress block gap. Keep inner content gaps and single-post typography. */
body:is(.aj-page-home, .aj-page-services) .wp-block-post-content > :is(.alignfull, .aj-buyer-trust),
body:is(.aj-page-home, .aj-page-services) .wp-site-blocks > footer {
  margin-block-start: 0;
  margin-block-end: 0;
}

body:is(.aj-page-home, .aj-page-services) .wp-block-post-content > .aj-section,
body.aj-page-home .wp-block-post-content > .aj-buyer-trust:not(.aj-buyer-trust--compact) {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.aj-stories-cta .aj-booking {
  box-sizing: border-box;
}

@media (max-width: 781px) {
  .aj-stories-hero {
    padding: 4rem 1.25rem 4.25rem;
  }

  .aj-stories-hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.3rem) !important;
  }

  .aj-stories-content {
    padding: 3rem 1.25rem 4.5rem;
  }

  .aj-stories-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .aj-stories-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .aj-stories-grid > li:only-child .aj-story-card {
    display: block;
  }

  .aj-stories-grid > li:only-child .aj-story-card-image img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .aj-story-card-body {
    min-height: 0;
    padding: 1.35rem;
  }

  .aj-story-card-excerpt {
    margin-top: 0 !important;
  }

  .aj-story-card-title {
    font-size: 1.7rem !important;
  }

  .aj-stories-cta {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Preserve the live 0.8.61 booking and tax-page layout refinements. */
.aj-calendar-booking + .aj-buyer-trust {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.aj-mobile-booking-bar {
  display: none;
}

@media (max-width: 781px) {
  body:not(.aj-page-calendar) {
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom));
  }

  body.aj-page-properties {
    padding-bottom: 0;
  }

  .aj-mobile-booking-bar {
    align-items: center;
    background: var(--aj-forest);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    box-shadow: 0 12px 34px rgba(22, 49, 39, 0.28);
    color: #fff;
    display: flex;
    font-size: 0.95rem;
    font-weight: 800;
    justify-content: center;
    left: 1rem;
    min-height: 52px;
    padding: 0.75rem 1.25rem;
    position: fixed;
    right: 1rem;
    text-align: center;
    text-decoration: none;
    z-index: 700;
  }

  body.aj-page-calendar .aj-mobile-booking-bar {
    display: none;
  }

  body.aj-page-properties .aj-mobile-booking-bar {
    display: none;
  }

  .cky-btn-revisit-wrapper,
  .akiya-consent-manage {
    bottom: calc(5.25rem + env(safe-area-inset-bottom)) !important;
  }

  body.aj-page-properties .cky-btn-revisit-wrapper,
  body.aj-page-properties .akiya-consent-manage {
    bottom: max(0.75rem, env(safe-area-inset-bottom)) !important;
  }
}

/* Tax service desktop layout: give pricing room without widening reading copy.
   Keep tablet/mobile, other pages, and the shared 760px text measure unchanged. */
@media (min-width: 1024px) {
  body.aj-page-tax-representative main > .wp-block-post-content {
    box-sizing: border-box;
    max-width: 1180px;
    width: calc(100% - 4rem);
  }

  body.aj-page-tax-representative .wp-block-post-content > .aj-section > .wp-block-columns,
  body.aj-page-tax-representative .wp-block-post-content > .aj-section > .aj-price-card {
    max-width: none;
  }

  body.aj-page-tax-representative .wp-block-post-content > .aj-section > .aj-price-card > p:not(.aj-price) {
    max-width: var(--wp--style--global--content-size, 760px);
  }
}
