/*
Theme Name: Japan Blue Arborist Journal Renewal
Theme URI: https://japanbluearborist.com/
Description: Presentation-only child theme for Japan Blue Arborist.
Author: Isaki Kasahara
Template: japan-blue-arborist
Version: 1.1.0
Text Domain: japan-blue-arborist-journal-renewal
*/

/* The parent stylesheet is enqueued from functions.php. */

:root {
  --kinari: #f5f2e9;
  --paper-light: #faf8f2;
  --paper-shadow: #e9e4d9;
  --japan-blue: #102d49;
  --deep-indigo: #0c243a;
  --indigo-light: #2b4b65;
  --text-main: #17283a;
  --text-sub: #58616a;
  --line: rgba(23, 40, 58, 0.16);
  --font-editorial: Georgia, "Times New Roman", "Noto Serif", serif;
  --font-ui: "Helvetica Neue", Arial, sans-serif;
  --header-height: 76px;
  --container-width: 1320px;
  --section-padding: clamp(72px, 9vw, 152px);
}

html { background: var(--kinari); }

body {
  color: var(--text-main);
  background-color: var(--kinari);
  background-image:
    radial-gradient(ellipse at 18% 8%, rgba(255, 255, 255, .82), transparent 43%),
    radial-gradient(ellipse at 86% 34%, rgba(16, 45, 73, .025), transparent 42%),
    repeating-linear-gradient(96deg, rgba(23, 40, 58, .012) 0 1px, transparent 1px 9px);
  font-family: var(--font-ui);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .28;
  background-image: repeating-linear-gradient(7deg, transparent 0 13px, rgba(23, 40, 58, .025) 13px 14px, transparent 14px 29px);
}

h1, h2, h3, .site-logo, .footer-logo { font-family: var(--font-editorial); }
h1, h2 { letter-spacing: -.025em; }
.container { width: min(var(--container-width), calc(100% - 64px)); }
.section { padding: var(--section-padding) 0; }

.section-label {
  margin-bottom: 38px;
  padding: 0 0 0 38px;
  color: var(--japan-blue);
  font-family: var(--font-ui);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .18em;
}
.section-label::after {
  top: 50%; bottom: auto; left: 0;
  width: 22px; height: 1px;
  background: currentColor;
}

/* Header */
.site-header {
  height: var(--header-height);
  color: var(--japan-blue);
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: color .35s ease, background-color .35s ease, border-color .35s ease;
}
.site-header.is-scrolled {
  background: rgba(250, 248, 242, .92);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}
.header-inner { width: min(1450px, calc(100% - 64px)); }
.site-logo img { height: 48px; filter: brightness(0) saturate(100%) invert(14%) sepia(19%) saturate(1658%) hue-rotate(168deg) brightness(91%) contrast(95%); }
.site-nav a { color: rgba(16, 45, 73, .82); font-size: .63rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.site-nav a.active, .site-nav a:hover { color: var(--japan-blue); }
.site-nav a::after { height: 1px; background: var(--japan-blue); bottom: -13px; }
.header-social { display: flex; gap: 14px; align-items: center; margin-left: 32px; }
.header-social .social-icon { width: 14px; height: 14px; }
.header-social img { width: 14px; height: 14px; object-fit: contain; filter: brightness(0) saturate(100%) invert(14%) sepia(19%) saturate(1658%) hue-rotate(168deg) brightness(91%) contrast(95%); }

/* Hero */
.home-hero { min-height: min(920px, 100svh); background: var(--paper-light); border-bottom: 1px solid var(--line); }
.home-hero-bg {
  background:
    linear-gradient(90deg, var(--paper-light) 0%, rgba(250, 248, 242, .96) 25%, rgba(250, 248, 242, .72) 43%, rgba(250, 248, 242, .12) 72%, rgba(250, 248, 242, .28) 100%),
    linear-gradient(0deg, rgba(250, 248, 242, .9), transparent 19%),
    url("../japan-blue-arborist/images/hero.jpg");
  background-position: center, center, 72% center;
  background-size: cover;
  animation: jba-hero-breathe 22s ease-in-out infinite alternate;
}
.home-hero::after {
  position: absolute; right: 5.5vw; bottom: 33px;
  z-index: 1; content: "SCROLL";
  color: var(--japan-blue); font-size: .54rem; letter-spacing: .18em;
  writing-mode: vertical-rl;
}
.home-hero::before {
  position: absolute; z-index: 1; bottom: 34px; right: 5.5vw;
  width: 1px; height: 21px; content: ""; background: var(--japan-blue); transform: translateY(61px);
}
.home-hero-inner { min-height: min(920px, 100svh); padding: 160px 0 112px; }
.home-hero-content { position: relative; max-width: 610px; }
.hero-kicker { margin-bottom: 30px !important; color: var(--japan-blue) !important; font-size: .66rem !important; letter-spacing: .16em; text-transform: uppercase; }
.home-hero h1 { max-width: 600px; margin-bottom: 29px; color: var(--japan-blue); font-size: clamp(3.4rem, 5.7vw, 6.55rem); font-weight: 400; line-height: 1.05; }
.home-hero .accent-line { width: 46px; height: 1px; margin-bottom: 24px; background: var(--japan-blue); }
.home-hero p:not(.hero-kicker) { max-width: 430px; color: var(--text-sub); font-family: var(--font-editorial); font-size: 1rem; font-weight: 400; line-height: 1.8; }
.home-actions { gap: 28px; }
.button, .btn { min-height: auto; padding: 0 0 8px; color: var(--japan-blue); background: transparent; border: 0; border-bottom: 1px solid var(--japan-blue); font-size: .67rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.button::after, .btn::after { margin-left: 18px; content: "→"; font-size: 1.1rem; font-weight: 400; transition: transform .25s ease; }
.button:hover, .button-primary:hover, .button-secondary:hover, .btn:hover, .btn-primary:hover, .btn-secondary:hover { color: var(--japan-blue); background: transparent; border-color: var(--japan-blue); transform: none; }
.button:hover::after, .btn:hover::after { transform: translateX(5px); }
.craft-strip { display: none; }

/* Concept and themes */
.home-concept { background: transparent; border-top: 0; }
.home-concept h2 { max-width: 600px; color: var(--japan-blue); font-size: clamp(2.5rem, 4.2vw, 4.9rem); font-weight: 400; line-height: 1.14; }
.home-concept-grid { gap: clamp(38px, 7vw, 120px); }
.home-concept-grid::before { background: var(--line); }
.home-copy { max-width: 495px; color: var(--text-sub); font-family: var(--font-editorial); font-size: 1.02rem; font-weight: 400; line-height: 2; }
.material-note { display: none; }
.home-themes { position: relative; padding-top: 0; background: transparent; }
.home-themes .container { max-width: none; width: 100%; }
.home-themes .section-label { margin-left: max(32px, calc((100vw - var(--container-width)) / 2)); }
.themes-grid { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.theme-card { padding: 34px 22px 29px; text-align: left; background: transparent; border-color: var(--line); transition: background-color .25s ease; }
.theme-card:hover { background: rgba(255, 255, 255, .34); }
.theme-icon { width: min(100%, 120px); aspect-ratio: 1.25; margin: 0 0 24px; background: transparent; mix-blend-mode: multiply; }
.theme-icon img { object-fit: contain; object-position: left center; opacity: .76; filter: grayscale(1) sepia(.25) hue-rotate(157deg) saturate(.85); }
.theme-card h3 { color: var(--japan-blue); font-family: var(--font-editorial); font-size: 1.08rem; font-weight: 400; letter-spacing: .03em; }
.theme-card .small-line { width: 30px; height: 1px; margin: 17px 0; background: var(--japan-blue); }
.theme-card p { margin: 0; color: var(--text-sub); font-size: .74rem; line-height: 1.65; }

/* Journal */
.home-journal { background: var(--paper-light); }
.home-journal .section-label { display: flex; width: 100%; align-items: center; justify-content: space-between; }
.home-journal .section-label::before { order: -1; }
.journal-grid { gap: clamp(30px, 4vw, 58px); }
.journal-card { overflow: hidden; background: transparent; border: 0; }
.journal-card:hover { box-shadow: none; transform: none; }
.journal-image { aspect-ratio: 1.18; }
.home-recent-journal-image img { filter: brightness(.94) contrast(1.02) saturate(.82); transition: transform .6s ease, filter .4s ease; }
.journal-card:hover .home-recent-journal-image img { transform: scale(1.018); filter: brightness(.99) contrast(1.02) saturate(.86); }
.journal-body { min-height: 0; padding: 20px 0 34px; }
.category, .article-category { margin-bottom: 10px; color: var(--indigo-light); font-size: .63rem; font-weight: 600; letter-spacing: .15em; }
.journal-body h3 { margin-bottom: 13px; color: var(--japan-blue); font-size: clamp(1.3rem, 1.85vw, 1.76rem); font-weight: 400; line-height: 1.25; }
.journal-body p:not(.category) { color: var(--text-sub); font-family: var(--font-editorial); font-size: .89rem; }
.arrow-link { right: 0; bottom: 2px; width: auto; height: auto; color: var(--japan-blue); font-family: var(--font-editorial); font-size: 1.45rem; }

/* About preview and contact */
.home-about-preview { background: transparent; border-top: 1px solid var(--line); }
.home-about-grid { gap: clamp(48px, 9vw, 140px); }
.home-about-content { max-width: 570px; padding: 0; }
.home-about-content h2 { margin-bottom: 25px; color: var(--japan-blue); font-size: clamp(2.5rem, 4vw, 4.5rem); font-weight: 400; }
.home-about-content > p:not(.section-label) { color: var(--text-sub); font-family: var(--font-editorial); font-size: 1rem; line-height: 1.9; }
.tag-list { gap: 0; margin: 32px 0; border-top: 1px solid var(--line); }
.tag-list span { padding: 11px 14px 11px 0; color: var(--japan-blue); background: transparent; border-right: 1px solid var(--line); border-radius: 0; font-size: .64rem; letter-spacing: .04em; }
.home-about-image { min-height: 470px; background-position: center; filter: saturate(.78) contrast(.98); }
.home-contact-cta { position: relative; overflow: hidden; background: var(--deep-indigo); }
.home-contact-cta::before { position: absolute; inset: 0; content: ""; opacity: .2; background-image: repeating-linear-gradient(95deg, transparent 0 12px, rgba(255,255,255,.12) 12px 13px, transparent 13px 27px); }
.home-contact-inner { position: relative; padding: clamp(70px, 8vw, 124px) 0; }
.home-contact-inner h2 { max-width: 960px; margin-bottom: 37px; color: var(--paper-light); font-size: clamp(2.15rem, 4.2vw, 4.75rem); font-weight: 400; line-height: 1.14; }
.home-contact-cta .button { color: var(--paper-light); border-color: rgba(250, 248, 242, .72); }
.home-contact-line { background: rgba(250, 248, 242, .54); }

/* About, Journal, single and Contact inherit the same editorial system. */
.about-hero, .journal-hero, .contact-hero { background: var(--paper-light); }
.about-hero-bg { opacity: .82; }
.about-hero-content h1, .journal-hero h1, .contact-hero h1, .single-hero h1 { color: var(--japan-blue); font-family: var(--font-editorial); font-weight: 400; }
.about-hero-text, .journal-hero-text, .contact-hero-text, .section-body, .entry-content, .single-deck { color: var(--text-sub); font-family: var(--font-editorial); font-weight: 400; }
.mission, .why-japan, .profile-section, .tools, .contact-links, .inquiry-section, .form-section, .links-section, .article-section, .single-content { background: transparent; }
.section-body, .profile-row, .tag-list, .contact-form label, .journal-category-nav, .journal-pagination { border-color: var(--line); }
.perspective { background: var(--deep-indigo); }
.tools-grid, .inquiry-grid, .links-grid, .contact-links-grid { gap: clamp(22px, 3vw, 48px); }
.tool-card, .inquiry-card, .link-card, .contact-link-card, .article-card, .journal-featured-card { background: transparent; border-radius: 0; box-shadow: none; }
.tool-card img, .profile-image img { filter: brightness(.94) contrast(1.02) saturate(.8); }
.article-card:hover, .link-card:hover, .contact-link-card:hover { background: transparent; box-shadow: none; transform: none; }
.article-card-image, .journal-featured-image { overflow: hidden; }
.article-card-image img, .journal-featured-image img { transition: transform .6s ease; }
.article-card:hover img, .journal-featured-article:hover img { transform: scale(1.018); }
.article-card-body, .journal-featured-card { padding-inline: 0; }
.contact-form input, .contact-form textarea { background: rgba(250, 248, 242, .55); border-color: var(--line); border-radius: 0; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--japan-blue); outline: 1px solid var(--japan-blue); }

/* Footer */
.site-footer { padding: 42px 0 24px; color: var(--japan-blue); background: var(--paper-light); border-top: 1px solid var(--line); }
.footer-inner { gap: 28px; }
.footer-logo img { height: 52px; filter: brightness(0) saturate(100%) invert(14%) sepia(19%) saturate(1658%) hue-rotate(168deg) brightness(91%) contrast(95%); }
.footer-brand p, .footer-nav a, .footer-bottom p { color: var(--text-sub); }
.footer-nav a { font-size: .63rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--japan-blue); }
.footer-social img { filter: brightness(0) saturate(100%) invert(14%) sepia(19%) saturate(1658%) hue-rotate(168deg) brightness(91%) contrast(95%); }
.footer-bottom { border-color: var(--line); }

@keyframes jba-hero-breathe { from { transform: scale(1); } to { transform: scale(1.018); } }

@media (min-width: 900px) {
  .site-nav { gap: clamp(24px, 3vw, 48px); }
  .home-concept-grid { grid-template-columns: minmax(0, 1.15fr) 1px minmax(0, .85fr); }
  .home-about-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
  .home-about-image { order: 2; }
  .themes-grid { grid-template-columns: 1.06fr .92fr 1.13fr .89fr 1fr; }
  .theme-card { min-height: 274px; padding: 36px clamp(19px, 2.1vw, 38px); }
  .theme-card:nth-child(even) { padding-top: 55px; }
  .journal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1.5fr 1fr auto; align-items: center; }
}

@media (max-width: 899px) {
  .site-header { background: rgba(250, 248, 242, .94); border-bottom-color: var(--line); }
  .menu-button span { background: var(--japan-blue); }
  .site-nav { background: var(--paper-light); }
  .site-nav a { color: var(--japan-blue); }
  .header-social { display: none; }
  .home-hero { min-height: 760px; }
  .home-hero-bg { background-position: center, center, 64% center; }
  .home-hero-inner { align-items: flex-start; min-height: 760px; padding-top: 158px; }
  .home-hero-content { max-width: 470px; }
  .home-hero h1 { font-size: clamp(3rem, 12vw, 4.7rem); }
  .home-hero::after, .home-hero::before { display: none; }
  .theme-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .theme-card:last-child { border-bottom: 0; }
  .home-about-image { margin-top: 12px; }
}

@media (max-width: 560px) {
  .container, .header-inner { width: min(100% - 40px, var(--container-width)); }
  .home-hero { min-height: 700px; }
  .home-hero-inner { min-height: 700px; padding-top: 132px; }
  .home-hero-bg { background:
    linear-gradient(180deg, rgba(250,248,242,.93) 0%, rgba(250,248,242,.79) 52%, rgba(250,248,242,.25) 100%),
    url("../japan-blue-arborist/images/hero.jpg"); background-position: center, 65% center; background-size: cover; }
  .hero-kicker { font-size: .58rem !important; }
  .home-hero p:not(.hero-kicker) { font-size: .9rem; }
  .home-actions { gap: 21px; }
  .home-concept h2, .home-contact-inner h2 { font-size: clamp(2.2rem, 10vw, 3.15rem); }
  .journal-image { aspect-ratio: 1.35; }
  .tag-list { display: block; }
  .tag-list span { display: block; border-right: 0; border-bottom: 1px solid var(--line); }
  .site-footer { text-align: left; }
}

/* Home page: faithful editorial composition for the approved art direction. */
body.home-page .home-hero {
  min-height: min(930px, 100svh);
  border-bottom-color: var(--line);
}
body.home-page .home-hero-bg {
  background:
    linear-gradient(90deg, var(--paper-light) 0%, rgba(250,248,242,.96) 26%, rgba(250,248,242,.76) 44%, rgba(250,248,242,.13) 73%, rgba(250,248,242,.34) 100%),
    linear-gradient(0deg, rgba(250,248,242,.92), transparent 22%),
    url("../japan-blue-arborist/images/hero.jpg") 72% center / cover no-repeat;
}
body.home-page .home-hero-inner {
  min-height: min(930px, 100svh);
  padding: 146px 0 98px;
}
body.home-page .home-hero-content { max-width: 650px; }
body.home-page .hero-kicker { margin-bottom: 25px !important; }
body.home-page .home-hero h1 {
  max-width: 670px !important;
  font-size: clamp(3.4rem, 6vw, 6.85rem) !important;
  line-height: 1.02 !important;
}
body.home-page .home-hero p:not(.hero-kicker) { max-width: 500px; font-size: 1.04rem; }
body.home-page .home-actions { margin-top: 35px; gap: 16px; }
body.home-page .home-actions .button {
  display: inline-flex;
  padding: 13px 18px !important;
  align-items: center;
  border: 1px solid var(--japan-blue) !important;
}
body.home-page .home-actions .button-primary { color: var(--paper-light) !important; background: var(--japan-blue) !important; }
body.home-page .home-actions .button-secondary { background: rgba(250,248,242,.48) !important; }
body.home-page .home-hero::after { right: 3.8vw; }
body.home-page .home-hero::before { right: 3.8vw; }

body.home-page .home-concept { padding: clamp(70px, 8.5vw, 132px) 0 clamp(42px, 6vw, 88px); }
body.home-page .home-concept .section-label { display: none; }
body.home-page .home-concept-grid { display: block; }
body.home-page .home-concept-grid::before { display: none; }
body.home-page .home-concept h2 {
  max-width: 1080px;
  margin: 0 auto;
  color: var(--japan-blue);
  font-size: clamp(2.1rem, 4.1vw, 5rem);
  line-height: 1.14;
  text-align: center;
}
body.home-page .home-copy {
  display: grid;
  max-width: 900px;
  margin: 43px auto 0;
  gap: 23px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.home-page .home-copy p { margin: 0; font-size: .94rem; line-height: 1.85; }

body.home-page .home-themes { padding-bottom: clamp(72px, 9vw, 130px); }
body.home-page .home-themes .section-label { display: none; }
body.home-page .themes-grid { margin: 0 var(--page-gutter); border: 1px solid var(--line); }
body.home-page .theme-card { min-height: 282px; padding: 31px clamp(16px, 2.4vw, 37px); }
body.home-page .theme-icon { width: min(100%, 128px); height: 102px; margin-bottom: 21px; }
body.home-page .theme-card h3 { font-size: 1.05rem; }
body.home-page .theme-card p { max-width: 200px; font-family: var(--font-editorial); font-size: .78rem; }

body.home-page .home-journal { padding: clamp(72px, 8vw, 124px) 0; border-top: 1px solid var(--line); }
body.home-page .home-journal .section-label { margin-bottom: 35px; padding-left: 0; font-family: var(--font-editorial); font-size: clamp(1.6rem, 2.5vw, 2.6rem); font-weight: 400; letter-spacing: 0; }
body.home-page .home-journal .section-label::before { width: min(51vw, 580px); margin-right: 24px; background: var(--line); }
body.home-page .home-journal .section-label::after { content: "VIEW ALL JOURNAL ENTRIES  →"; color: var(--japan-blue); font-family: var(--font-ui); font-size: .59rem; font-weight: 600; letter-spacing: .13em; }
body.home-page .journal-grid { gap: clamp(26px, 3.8vw, 60px); }
body.home-page .journal-image { aspect-ratio: 1.18; }
body.home-page .journal-body { padding: 19px 0 0; }
body.home-page .journal-body h3 { margin-bottom: 10px; font-size: clamp(1.2rem, 1.75vw, 1.7rem); }
body.home-page .journal-body p:not(.category) { display: none; }
body.home-page .journal-body .arrow-link { position: static; display: inline-block; margin-top: 10px; }

body.home-page .home-about-preview {
  overflow: hidden;
  margin-top: clamp(74px, 9vw, 132px);
  padding: 0;
  background: linear-gradient(90deg, var(--deep-indigo) 0%, var(--deep-indigo) 41%, var(--paper-light) 41%);
  border-top: 0;
}
body.home-page .home-about-grid {
  display: grid;
  min-height: 360px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 0;
}
body.home-page .home-about-content { display: flex; min-height: 360px; max-width: none; padding: clamp(43px, 6vw, 90px); flex-direction: column; justify-content: center; }
body.home-page .home-about-content .section-label { display: none; }
body.home-page .home-about-content h2 { color: var(--paper-light); font-size: clamp(2rem, 3.35vw, 4rem); }
body.home-page .home-about-content > p:not(.section-label) { max-width: 470px; color: rgba(250,248,242,.78); font-size: .98rem; }
body.home-page .home-about-content .tag-list { display: none; }
body.home-page .home-about-content .button { align-self: flex-start; margin-top: 12px; color: var(--paper-light); border-color: rgba(250,248,242,.65); }
body.home-page .home-about-image { min-height: 360px; margin: 0; background-position: center; filter: saturate(.75) contrast(.98); }
body.home-page .home-contact-cta { background: var(--paper-light); border-bottom: 1px solid var(--line); }
body.home-page .home-contact-cta::before { display: none; }
body.home-page .home-contact-inner { display: flex; min-height: 190px; padding: clamp(45px, 5vw, 74px) 0; align-items: center; gap: clamp(30px, 8vw, 130px); }
body.home-page .home-contact-inner h2 { max-width: 760px; margin: 0; color: var(--japan-blue); font-size: clamp(1.45rem, 2.3vw, 2.65rem); line-height: 1.4; }
body.home-page .home-contact-cta .button { flex: 0 0 auto; color: var(--japan-blue); border-color: var(--japan-blue); }
body.home-page .home-contact-line { display: none; }

@media (max-width: 899px) {
  body.home-page .home-copy { grid-template-columns: 1fr; }
  body.home-page .themes-grid { margin: 0 32px; }
  body.home-page .home-about-preview { background: var(--deep-indigo); }
  body.home-page .home-about-grid { grid-template-columns: 1fr; }
  body.home-page .home-about-image { min-height: 330px; }
  body.home-page .home-contact-inner { display: block; }
  body.home-page .home-contact-inner .button { display: inline-flex; margin-top: 24px; }
}

@media (max-width: 560px) {
  body.home-page .home-hero-inner { min-height: 720px; padding-top: 126px; }
  body.home-page .home-hero h1 { font-size: clamp(2.8rem, 12vw, 4.4rem) !important; }
  body.home-page .home-copy { margin-top: 28px; }
  body.home-page .themes-grid { margin: 0 20px; }
  body.home-page .home-journal .section-label::before { display: none; }
  body.home-page .home-journal .section-label::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .fade-in, .fade-in.is-visible, .ink-reveal { opacity: 1 !important; transform: none !important; }
}

/* The installed parent adds late, high-specificity home-page rules. Keep the
   renewal layer authoritative without changing the parent theme itself. */
body.home-page .site-header,
body.journal-page .site-header,
body.resources-page .site-header,
body.contact-page .site-header {
  position: fixed !important;
  color: var(--japan-blue) !important;
  background-color: transparent !important;
  background-image: none !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.home-page .site-header.is-scrolled,
body.journal-page .site-header.is-scrolled,
body.resources-page .site-header.is-scrolled,
body.contact-page .site-header.is-scrolled {
  background-color: rgba(250, 248, 242, .92) !important;
  border-bottom-color: var(--line) !important;
  backdrop-filter: blur(12px) !important;
}

body.home-page .site-nav a,
body.journal-page .site-nav a,
body.resources-page .site-nav a,
body.contact-page .site-nav a { color: rgba(16, 45, 73, .82) !important; }
body.home-page .site-nav a.active,
body.home-page .site-nav a:hover,
body.journal-page .site-nav a.active,
body.journal-page .site-nav a:hover,
body.resources-page .site-nav a.active,
body.resources-page .site-nav a:hover,
body.contact-page .site-nav a.active,
body.contact-page .site-nav a:hover { color: var(--japan-blue) !important; }
body.home-page .site-logo img,
body.journal-page .site-logo img,
body.resources-page .site-logo img,
body.contact-page .site-logo img { filter: brightness(0) saturate(100%) invert(14%) sepia(19%) saturate(1658%) hue-rotate(168deg) brightness(91%) contrast(95%) !important; }

body.home-page .home-hero h1 {
  max-width: 600px !important;
  margin-bottom: 29px !important;
  color: var(--japan-blue) !important;
  font-family: var(--font-editorial) !important;
  font-size: clamp(3.4rem, 5.7vw, 6.55rem) !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  letter-spacing: -.025em !important;
  text-wrap: initial !important;
  animation: none !important;
}
body.home-page .home-hero h1::after { display: none !important; }

@media (max-width: 899px) {
  body.home-page .site-header,
  body.journal-page .site-header,
  body.resources-page .site-header,
  body.contact-page .site-header {
    background-color: rgba(250, 248, 242, .94) !important;
    border-bottom-color: var(--line) !important;
    backdrop-filter: blur(12px) !important;
  }
}

body.about-page .site-header {
  position: fixed !important;
  color: var(--japan-blue) !important;
  background-color: transparent !important;
  background-image: none !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
body.about-page .site-header.is-scrolled {
  background-color: rgba(250, 248, 242, .92) !important;
  border-bottom-color: var(--line) !important;
  backdrop-filter: blur(12px) !important;
}
body.about-page .site-nav a { color: rgba(16, 45, 73, .82) !important; }
body.about-page .site-nav a.active,
body.about-page .site-nav a:hover { color: var(--japan-blue) !important; }
body.about-page .site-logo img { filter: brightness(0) saturate(100%) invert(14%) sepia(19%) saturate(1658%) hue-rotate(168deg) brightness(91%) contrast(95%) !important; }

@media (max-width: 899px) {
  body.about-page .site-header {
    background-color: rgba(250, 248, 242, .94) !important;
    border-bottom-color: var(--line) !important;
    backdrop-filter: blur(12px) !important;
  }
}

body.about-page .about-hero-content h1,
body.journal-page .journal-hero h1,
body.contact-page .contact-hero h1,
body.journal-page .single-hero h1 {
  color: var(--japan-blue) !important;
  font-family: var(--font-editorial) !important;
  font-size: clamp(2.8rem, 5vw, 5.6rem) !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
  text-wrap: initial !important;
  animation: none !important;
}

body.home-page .home-actions .button,
body.home-page .home-actions .button.button-primary,
body.home-page .home-actions .button.button-secondary {
  min-height: auto !important;
  padding: 0 0 8px !important;
  color: var(--japan-blue) !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--japan-blue) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: .67rem !important;
  font-weight: 600 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
}
body.home-page .home-actions .button::after {
  margin-left: 18px;
  content: "→";
  font-size: 1.1rem;
  font-weight: 400;
}

/* 2026 editorial page system. This layer only changes presentation; all
   images, post queries, links and form handling remain owned by the parent. */
body.about-page,
body.journal-page,
body.contact-page {
  --page-gutter: clamp(24px, 5.4vw, 96px);
}

body.about-page main,
body.journal-page main,
body.contact-page main { overflow: clip; }

body.about-page .section-label,
body.journal-page .section-label,
body.contact-page .section-label {
  margin-bottom: 24px;
  color: var(--indigo-light);
  font-size: .62rem;
  letter-spacing: .19em;
  text-transform: uppercase;
}

/* About */
body.about-page .about-hero {
  position: relative;
  display: grid;
  min-height: min(780px, 92svh);
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: stretch;
  background: var(--paper-light);
  border-bottom: 1px solid var(--line);
}
body.about-page .about-hero::before,
body.journal-page .journal-hero::before,
body.contact-page .contact-hero::before {
  position: absolute;
  z-index: 2;
  top: 146px;
  left: max(21px, calc(var(--page-gutter) / 2));
  padding: 0 0 0 18px;
  color: var(--indigo-light);
  border-left: 1px solid rgba(16, 45, 73, .34);
  content: "根は、見えない声を、聴く。";
  font-family: var(--font-editorial);
  font-size: .72rem;
  letter-spacing: .15em;
  line-height: 2.1;
  writing-mode: vertical-rl;
}
body.about-page .about-hero-bg {
  position: absolute;
  inset: 0 0 0 42%;
  opacity: 1;
  filter: saturate(.78) contrast(.96);
}
body.about-page .about-hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, var(--paper-light) 0%, rgba(250,248,242,.83) 22%, rgba(250,248,242,.08) 70%);
}
body.about-page .about-hero-content {
  z-index: 1;
  display: flex;
  width: min(620px, calc(100% - 130px));
  min-height: inherit;
  margin-left: max(88px, var(--page-gutter));
  flex-direction: column;
  justify-content: center;
}
body.about-page .about-hero-content h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3.3rem, 6vw, 7.2rem) !important;
  line-height: 1.01 !important;
}
body.about-page .mission { padding: clamp(74px, 10vw, 154px) 0; }
body.about-page .mission .two-column {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(1px, .07fr) minmax(0, 1fr);
  gap: clamp(35px, 7vw, 116px);
}
body.about-page .mission .two-column::before {
  grid-column: 2;
  width: 1px;
  content: "";
  background: var(--line);
}
body.about-page .mission .section-heading { grid-column: 1; }
body.about-page .mission .section-body { grid-column: 3; }
body.about-page .mission h2,
body.about-page .tools h2 {
  color: var(--japan-blue);
  font-family: var(--font-editorial);
  font-size: clamp(2.25rem, 4.25vw, 4.8rem);
  font-weight: 400;
  line-height: 1.12;
}
body.about-page .mission .section-body { padding: 0; border: 0; }
body.about-page .mission .section-body p { margin: 0 0 1.3em; font-size: 1.04rem; line-height: 1.95; }
body.about-page .profile-section {
  padding: 0 var(--page-gutter) clamp(74px, 10vw, 148px);
  background: transparent;
}
body.about-page .profile-grid {
  display: grid;
  max-width: var(--container-width);
  margin: 0 auto;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  background: rgba(255,255,255,.16);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
body.about-page .profile-image { min-height: 510px; }
body.about-page .profile-image img { width: 100%; height: 100%; object-fit: cover; }
body.about-page .profile-content { padding: clamp(37px, 6vw, 82px); }
body.about-page .profile-content .section-label { margin-bottom: 17px; }
body.about-page .profile-table { border-top: 1px solid var(--line); }
body.about-page .profile-row { display: grid; padding: 20px 0; grid-template-columns: minmax(130px, .34fr) minmax(0, .66fr); border-bottom: 1px solid var(--line); }
body.about-page .profile-row span { color: var(--indigo-light); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
body.about-page .profile-row p { margin: 0; color: var(--japan-blue); font-family: var(--font-editorial); font-size: 1rem; line-height: 1.68; }
body.about-page .perspective { position: relative; padding: clamp(72px, 9vw, 130px) 0; background: var(--deep-indigo); }
body.about-page .perspective-bg,
body.about-page .perspective-overlay { display: none; }
body.about-page .perspective .section-label { color: rgba(250,248,242,.76); }
body.about-page .perspective-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(250,248,242,.25); border-bottom: 1px solid rgba(250,248,242,.25); }
body.about-page .perspective-card { min-height: 255px; padding: 29px clamp(17px, 2vw, 34px); border-right: 1px solid rgba(250,248,242,.22); }
body.about-page .perspective-card:last-child { border-right: 0; }
body.about-page .perspective-card h3 { color: var(--paper-light); font-family: var(--font-editorial); font-size: clamp(1.45rem, 2.25vw, 2.4rem); font-weight: 400; line-height: 1.14; }
body.about-page .perspective-card p { color: rgba(250,248,242,.72); font-family: var(--font-editorial); font-size: .93rem; line-height: 1.75; }
body.about-page .tools { padding: clamp(78px, 10vw, 148px) 0; }
body.about-page .tools-header { max-width: 890px; margin-bottom: 52px; }
body.about-page .tools-grid { display: grid; gap: 1px; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--line); border: 1px solid var(--line); }
body.about-page .tool-card { overflow: hidden; min-height: 232px; padding: 0; background: var(--paper-light); }
body.about-page .tool-card img { display: block; width: 100%; height: 174px; object-fit: cover; filter: saturate(.74) contrast(.95); transition: transform .5s ease, filter .5s ease; }
body.about-page .tool-card h3 { min-height: 58px; margin: 0; padding: 14px 15px; color: var(--japan-blue); font-family: var(--font-editorial); font-size: .91rem; font-weight: 400; line-height: 1.25; }
body.about-page .tool-card:hover img { filter: saturate(.9) contrast(1); transform: scale(1.025); }
body.about-page .contact-links { padding-top: 0; }
body.about-page .contact-heading h2 { color: var(--japan-blue); font-family: var(--font-editorial); font-size: clamp(2.3rem, 4vw, 4.4rem); font-weight: 400; }
body.about-page .contact-links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
body.about-page .contact-link-card { display: flex; min-height: 104px; padding: 20px 0; align-items: center; border-right: 1px solid var(--line); }
body.about-page .contact-link-card:last-child { border-right: 0; }

/* Journal */
body.journal-page .journal-hero { position: relative; min-height: min(660px, 82svh); padding: 0; background: var(--paper-light); border-bottom: 1px solid var(--line); }
body.journal-page .journal-hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  opacity: .82;
  background: linear-gradient(90deg, var(--paper-light) 0%, rgba(250,248,242,.92) 33%, rgba(250,248,242,.25) 69%, rgba(250,248,242,.55) 100%), url("../japan-blue-arborist/images/hero.jpg") 72% center / cover no-repeat;
}
body.journal-page .journal-hero-inner { position: relative; z-index: 1; display: flex; min-height: inherit; max-width: 760px; margin-left: max(88px, var(--page-gutter)); padding: 154px 0 80px; flex-direction: column; justify-content: center; }
body.journal-page .journal-hero h1 { max-width: 780px; margin: 0 0 27px; font-size: clamp(3rem, 5.8vw, 6.5rem) !important; line-height: 1.03 !important; }
body.journal-page .journal-hero-text { max-width: 550px; margin: 0; font-size: 1.05rem; line-height: 1.85; }
body.journal-page .journal-hero .craft-strip { display: none; }
body.journal-page .category-section { padding: 0; background: var(--paper-light); }
body.journal-page .journal-category-nav { display: grid; min-height: 78px; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 0; border-bottom: 1px solid var(--line); }
body.journal-page .journal-category-nav a { display: grid; padding: 16px 8px; place-items: center; color: var(--indigo-light); font-size: .59rem; font-weight: 600; letter-spacing: .09em; text-align: center; text-transform: uppercase; }
body.journal-page .journal-category-nav a.active { color: var(--japan-blue); box-shadow: inset 0 -2px 0 var(--japan-blue); }
body.journal-page .article-section { padding: clamp(54px, 7vw, 103px) 0 clamp(76px, 10vw, 150px); }
body.journal-page .journal-article-grid { display: grid; gap: clamp(34px, 5vw, 72px) clamp(18px, 2.4vw, 34px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.journal-page .journal-featured-article { display: grid; margin-bottom: clamp(8px, 2vw, 28px); grid-column: 1 / -1; grid-template-columns: minmax(0, 1.08fr) minmax(310px, .92fr); align-items: stretch; border-bottom: 1px solid var(--line); }
body.journal-page .journal-featured-image { min-height: 430px; }
body.journal-page .journal-featured-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(.97); }
body.journal-page .journal-featured-card { display: flex; padding: clamp(30px, 4.7vw, 78px); flex-direction: column; justify-content: center; }
body.journal-page .journal-featured-card h2 { margin: 0 0 20px; color: var(--japan-blue); font-family: var(--font-editorial); font-size: clamp(2rem, 3.4vw, 4.1rem); font-weight: 400; line-height: 1.1; }
body.journal-page .article-excerpt { margin: 0 0 22px; color: var(--text-sub); font-family: var(--font-editorial); line-height: 1.8; }
body.journal-page .feature-meta { display: flex; margin-bottom: 26px; gap: 18px; color: var(--indigo-light); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }
body.journal-page .article-card { display: flex; min-height: 100%; flex-direction: column; border: 1px solid var(--line); }
body.journal-page .article-card-image { display: block; aspect-ratio: 1.15; }
body.journal-page .article-card-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.74) contrast(.98); }
body.journal-page .article-card-body { display: flex; min-height: 220px; padding: 21px 20px 18px; flex: 1; flex-direction: column; }
body.journal-page .article-card h3 { margin: 0 0 18px; color: var(--japan-blue); font-family: var(--font-editorial); font-size: clamp(1.05rem, 1.38vw, 1.42rem); font-weight: 400; line-height: 1.3; }
body.journal-page .card-text { display: none; }
body.journal-page .card-footer { display: flex; margin-top: auto; align-items: center; justify-content: space-between; color: var(--indigo-light); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
body.journal-page .card-footer a { color: var(--japan-blue); }
body.journal-page .journal-pagination { display: flex; margin-top: 55px; gap: 26px; justify-content: center; border: 0; }
body.journal-page .journal-pagination .page-numbers { color: var(--japan-blue); font-family: var(--font-editorial); }
body.journal-page .journal-pagination .current { border-bottom: 1px solid var(--japan-blue); }

/* Contact */
body.contact-page .contact-hero { position: relative; display: grid; min-height: min(720px, 88svh); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--paper-light); border-bottom: 1px solid var(--line); }
body.contact-page .contact-hero-content { z-index: 1; display: flex; width: min(590px, calc(100% - 112px)); margin-left: max(88px, var(--page-gutter)); padding: 143px 0 73px; flex-direction: column; justify-content: center; }
body.contact-page .contact-hero h1 { max-width: 650px; margin: 0 0 27px; font-size: clamp(3rem, 5.35vw, 6.1rem) !important; line-height: 1.04 !important; }
body.contact-page .contact-hero-lead { max-width: 520px; margin: 0 0 19px; color: var(--text-sub); font-family: var(--font-editorial); font-size: 1rem; line-height: 1.82; }
body.contact-page .contact-hero-text { max-width: 500px; margin: 0 0 31px; color: var(--text-sub); font-family: var(--font-editorial); font-size: .94rem; line-height: 1.75; }
body.contact-page .contact-button-group { display: flex; gap: 16px; align-items: center; }
body.contact-page .contact-button-group .button { display: inline-flex; padding: 13px 18px; align-items: center; border: 1px solid var(--japan-blue); font-size: .62rem; }
body.contact-page .contact-button-group .button-primary { color: var(--paper-light); background: var(--japan-blue); }
body.contact-page .contact-hero-image { position: relative; min-height: 100%; background-position: center; filter: saturate(.76) contrast(.96); }
body.contact-page .contact-hero-image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, var(--paper-light), rgba(250,248,242,0) 38%); }
body.contact-page .inquiry-section { padding: clamp(70px, 8vw, 120px) 0; }
body.contact-page .inquiry-section .section-heading { margin-bottom: 40px; text-align: center; }
body.contact-page .inquiry-section .section-label { display: inline-block; padding: 0 20px; }
body.contact-page .inquiry-grid { display: grid; gap: 1px; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--line); border: 1px solid var(--line); }
body.contact-page .inquiry-card { display: grid; min-height: 285px; padding: clamp(24px, 3vw, 43px); grid-template-columns: 1fr; align-content: start; background: var(--paper-light); }
body.contact-page .contact-card-icon { width: 105px; height: 83px; margin-bottom: 22px; }
body.contact-page .contact-card-icon img { width: 100%; height: 100%; object-fit: contain; object-position: left center; filter: grayscale(1) sepia(.2) hue-rotate(158deg) saturate(.85); }
body.contact-page .inquiry-card h2 { margin: 0 0 12px; color: var(--japan-blue); font-family: var(--font-editorial); font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 400; line-height: 1.15; }
body.contact-page .inquiry-card p { margin: 0; color: var(--text-sub); font-family: var(--font-editorial); font-size: .91rem; line-height: 1.72; }
body.contact-page .form-section { padding: 0 0 clamp(78px, 9vw, 130px); }
body.contact-page .form-layout { display: grid; overflow: hidden; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); border: 1px solid var(--line); }
body.contact-page .form-message { display: flex; min-height: 430px; padding: clamp(35px, 6vw, 80px); flex-direction: column; justify-content: center; background: var(--deep-indigo); }
body.contact-page .form-message .small-line { width: 38px; height: 1px; margin-bottom: 26px; background: rgba(250,248,242,.65); }
body.contact-page .form-message h2 { margin: 0 0 20px; color: var(--paper-light); font-family: var(--font-editorial); font-size: clamp(2rem, 3vw, 3.6rem); font-weight: 400; line-height: 1.14; }
body.contact-page .form-message p { margin: 0; color: rgba(250,248,242,.74); font-family: var(--font-editorial); line-height: 1.75; }
body.contact-page .contact-form-wrap { padding: clamp(34px, 5vw, 76px); background: rgba(255,255,255,.15); }
body.contact-page .contact-form-wrap > h2 { margin: 0 0 30px; color: var(--japan-blue); font-family: var(--font-editorial); font-size: clamp(2rem, 3vw, 3.5rem); font-weight: 400; }
body.contact-page .contact-form { display: grid; gap: 19px; }
body.contact-page .contact-form .form-row { display: grid; gap: 19px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.contact-page .contact-form label { display: grid; gap: 8px; color: var(--indigo-light); font-size: .61rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
body.contact-page .contact-form input,
body.contact-page .contact-form textarea { width: 100%; padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); font: inherit; }
body.contact-page .contact-form textarea { min-height: 119px; resize: vertical; }
body.contact-page .contact-form .submit-button { justify-self: start; margin-top: 8px; padding: 13px 19px; color: var(--paper-light); background: var(--japan-blue); border: 1px solid var(--japan-blue); }
body.contact-page .links-section { padding: 0 0 clamp(56px, 7vw, 94px); }
body.contact-page .links-section .section-heading { margin-bottom: 21px; text-align: center; }
body.contact-page .contact-links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
body.contact-page .contact-link-card { display: grid; min-height: 100px; padding: 19px 24px; grid-template-columns: 35px 1fr auto; gap: 13px; align-items: center; border-right: 1px solid var(--line); }
body.contact-page .contact-link-card:last-child { border-right: 0; }
body.contact-page .contact-link-card strong { display: block; color: var(--japan-blue); font-family: var(--font-editorial); font-size: 1.1rem; font-weight: 400; }
body.contact-page .contact-link-card small { color: var(--text-sub); font-size: .68rem; }
body.contact-page .contact-link-card .link-icon { color: var(--japan-blue); font-size: 1.25rem; }
body.contact-page .contact-link-card .link-icon img { width: 22px; height: 22px; object-fit: contain; filter: brightness(0) saturate(100%) invert(14%) sepia(19%) saturate(1658%) hue-rotate(168deg) brightness(91%) contrast(95%); }
body.contact-page .contact-link-card .arrow { color: var(--japan-blue); }

@media (max-width: 899px) {
  body.about-page .about-hero,
  body.contact-page .contact-hero { grid-template-columns: 1fr; }
  body.about-page .about-hero { min-height: 690px; }
  body.about-page .about-hero-bg { inset: 0; opacity: .68; }
  body.about-page .about-hero-bg::after { background: linear-gradient(90deg, rgba(250,248,242,.95), rgba(250,248,242,.56)); }
  body.about-page .about-hero-content,
  body.contact-page .contact-hero-content,
  body.journal-page .journal-hero-inner { width: min(100% - 96px, 650px); margin-left: 72px; }
  body.about-page .mission .two-column { grid-template-columns: 1fr; }
  body.about-page .mission .two-column::before { display: none; }
  body.about-page .mission .section-heading,
  body.about-page .mission .section-body { grid-column: auto; }
  body.about-page .profile-grid,
  body.journal-page .journal-featured-article,
  body.contact-page .form-layout { grid-template-columns: 1fr; }
  body.about-page .profile-image { min-height: 420px; }
  body.about-page .perspective-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.about-page .perspective-card:nth-child(2) { border-right: 0; }
  body.about-page .perspective-card:nth-child(-n + 2) { border-bottom: 1px solid rgba(250,248,242,.22); }
  body.about-page .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.journal-page .journal-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.journal-page .journal-featured-image { min-height: 360px; }
  body.contact-page .contact-hero-image { position: absolute; inset: 0; opacity: .34; }
  body.contact-page .inquiry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.contact-page .contact-link-card:nth-child(2) { border-right: 0; }
  body.contact-page .contact-link-card:last-child { border-top: 1px solid var(--line); grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body.about-page .about-hero::before,
  body.journal-page .journal-hero::before,
  body.contact-page .contact-hero::before { top: 120px; left: 14px; font-size: .58rem; }
  body.about-page .about-hero-content,
  body.contact-page .contact-hero-content,
  body.journal-page .journal-hero-inner { width: min(100% - 64px, 650px); margin-left: 47px; }
  body.about-page .about-hero-content h1,
  body.contact-page .contact-hero h1,
  body.journal-page .journal-hero h1 { font-size: clamp(2.65rem, 12vw, 4.2rem) !important; }
  body.about-page .mission,
  body.about-page .tools,
  body.contact-page .inquiry-section { padding-block: 70px; }
  body.about-page .profile-section { padding-inline: 20px; }
  body.about-page .profile-content { padding: 30px 24px; }
  body.about-page .profile-row { grid-template-columns: 1fr; gap: 7px; }
  body.about-page .perspective-grid,
  body.about-page .tools-grid,
  body.journal-page .journal-article-grid,
  body.contact-page .inquiry-grid,
  body.contact-page .contact-links-grid { grid-template-columns: 1fr; }
  body.about-page .perspective-card,
  body.about-page .perspective-card:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(250,248,242,.22); }
  body.about-page .perspective-card:last-child { border-bottom: 0; }
  body.about-page .contact-links-grid { grid-template-columns: 1fr; }
  body.about-page .contact-link-card { border-right: 0; border-bottom: 1px solid var(--line); }
  body.about-page .contact-link-card:last-child { border-bottom: 0; }
  body.journal-page .journal-category-nav { display: flex; overflow-x: auto; min-height: 58px; }
  body.journal-page .journal-category-nav a { min-width: max-content; padding-inline: 15px; }
  body.journal-page .journal-featured-image { min-height: 260px; }
  body.journal-page .journal-featured-card { padding: 31px 0; }
  body.journal-page .article-card-body { min-height: 0; }
  body.contact-page .contact-button-group { flex-wrap: wrap; }
  body.contact-page .inquiry-card { min-height: 0; }
  body.contact-page .contact-form .form-row { grid-template-columns: 1fr; }
  body.contact-page .contact-link-card,
  body.contact-page .contact-link-card:nth-child(2),
  body.contact-page .contact-link-card:last-child { border-right: 0; border-top: 0; border-bottom: 1px solid var(--line); grid-column: auto; }
  body.contact-page .contact-link-card:last-child { border-bottom: 0; }
}

/* Final cleanup requested in thread: remove ornaments and improve readability */
.craft-strip,
.material-note,
.jba-scroll-meter,
.home-hero .accent-line,
body.home-page .home-hero::after,
body.home-page .home-hero::before,
body.about-page .about-hero::before,
body.journal-page .journal-hero::before,
body.contact-page .contact-hero::before {
  display: none !important;
  content: none !important;
}

.section-label::before,
.site-nav a::before {
  display: none !important;
  content: none !important;
}

body.about-page .about-hero-content h1,
body.about-page .about-hero-content .section-label {
  color: #f8f7f2 !important;
}

body.about-page .about-hero-content h1 {
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.58) !important;
}

body.about-page .about-hero-bg::after {
  background:
    linear-gradient(
      90deg,
      rgba(3, 16, 34, 0.95) 0%,
      rgba(3, 16, 34, 0.78) 45%,
      rgba(3, 16, 34, 0.26) 74%,
      rgba(3, 16, 34, 0.42) 100%
    ) !important;
}

body.about-page .about-hero-content,
body.contact-page .contact-hero-content,
body.journal-page .journal-hero-inner {
  width: min(100% - 96px, 1200px) !important;
  max-width: 1200px !important;
  margin-inline: auto !important;
  margin-left: auto !important;
  padding-top: calc(var(--header-height) + 40px) !important;
  text-align: left !important;
}

body.home-page .home-hero h1,
body.about-page .about-hero-content h1,
body.journal-page .journal-hero h1,
body.contact-page .contact-hero h1 {
  max-width: 720px !important;
  font-size: clamp(42px, 7.6vw, 68px) !important;
  line-height: 1.1 !important;
}

body.journal-page .journal-hero h1,
body.contact-page .contact-hero h1 {
  color: #0b2748 !important;
}

body.contact-page .contact-hero .section-label,
body.journal-page .journal-hero .section-label {
  display: none !important;
}

body.contact-page .contact-hero-lead,
body.contact-page .contact-hero-text,
body.journal-page .journal-hero-text {
  color: #26364a !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  line-height: 1.85 !important;
}

body.journal-page .journal-featured-article,
body.journal-page .journal-featured-card,
body.journal-page .journal-featured-image {
  display: none !important;
}

body.journal-page .journal-category-nav {
  display: flex !important;
  min-height: auto !important;
  gap: 28px !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--line) !important;
}

body.journal-page .journal-category-nav a {
  display: inline-flex !important;
  min-height: 46px !important;
  padding: 0 0 14px !important;
  align-items: center !important;
  color: #46576a !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.journal-page .journal-category-nav a.active {
  color: #0b2748 !important;
  box-shadow: inset 0 -2px 0 var(--color-accent-blue) !important;
}

body.journal-page .article-section {
  padding-top: 44px !important;
}

body.contact-page .inquiry-section {
  padding-top: 80px !important;
}

body.contact-page .inquiry-section .section-label {
  padding: 0 !important;
}

@media (max-width: 899px) {
  body.about-page .about-hero-content,
  body.contact-page .contact-hero-content,
  body.journal-page .journal-hero-inner {
    width: min(100% - 48px, 650px) !important;
    margin-inline: auto !important;
  }
}

/* Final pass: solid header and full-bleed About hero */
.site-header,
body.home-page .site-header,
body.about-page .site-header,
body.journal-page .site-header,
body.contact-page .site-header {
  height: 88px !important;
  background: #061426 !important;
  border-bottom: 1px solid rgba(248, 247, 242, 0.14) !important;
  box-shadow: 0 14px 36px rgba(3, 16, 34, 0.22) !important;
}

.site-logo img {
  height: 58px !important;
  filter: brightness(0) invert(1) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3)) !important;
}

.site-nav a,
.header-social a {
  color: rgba(248, 247, 242, 0.88) !important;
}

.site-nav a.active,
.site-nav a:hover {
  color: #fff !important;
}

body.about-page .about-hero {
  position: relative !important;
  display: flex !important;
  min-height: 640px !important;
  height: 72vh !important;
  overflow: hidden !important;
  background: #031022 !important;
  border-bottom: 0 !important;
}

body.about-page .about-hero-bg {
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  min-height: 0 !important;
  opacity: 1 !important;
  background:
    url("../japan-blue-arborist/images/about-hero.jpg") center right / cover no-repeat !important;
  filter: brightness(0.78) contrast(1.06) saturate(0.84) !important;
}

body.about-page .about-hero-bg::after {
  position: absolute !important;
  inset: 0 !important;
  content: "" !important;
  background:
    linear-gradient(
      90deg,
      rgba(3, 16, 34, 0.94) 0%,
      rgba(3, 16, 34, 0.74) 42%,
      rgba(3, 16, 34, 0.2) 72%,
      rgba(3, 16, 34, 0.42) 100%
    ) !important;
}

body.about-page .about-hero-content {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: min(100% - 96px, 1200px) !important;
  margin: auto !important;
  padding: 88px 0 0 !important;
}

body.about-page .about-hero-content h1 {
  max-width: 680px !important;
  color: #f8f7f2 !important;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.62) !important;
}

@media (max-width: 899px) {
  body.about-page .about-hero {
    min-height: 620px !important;
    height: auto !important;
  }

  body.about-page .about-hero-content {
    width: min(100% - 48px, 680px) !important;
  }
}

/* Header visibility and hero simplification */
.site-header .site-logo img,
body.home-page .site-header .site-logo img,
body.about-page .site-header .site-logo img,
body.journal-page .site-header .site-logo img,
body.contact-page .site-header .site-logo img {
  filter: brightness(0) invert(1) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35)) !important;
  opacity: 1 !important;
}

.site-header .header-social img,
body.home-page .site-header .header-social img,
body.about-page .site-header .header-social img,
body.journal-page .site-header .header-social img,
body.contact-page .site-header .header-social img {
  width: 20px !important;
  height: 20px !important;
  filter: none !important;
  opacity: 1 !important;
}

.home-hero .accent-line,
.contact-hero-text::before,
.single-deck::before,
body.home-page .home-hero h1::after,
body.about-page .about-hero-content h1::after,
body.journal-page .journal-hero h1::after,
body.contact-page .contact-hero h1::after {
  display: none !important;
  content: none !important;
}

/* Readability cleanup v2: remove brush ornaments and normalize the site */
:root {
  --jba-indigo: #061426;
  --jba-indigo-2: #102d49;
  --jba-paper: #f7f4ec;
  --jba-paper-soft: #f6f1e7;
  --jba-line: #d8d2c8;
  --jba-text: #142033;
  --jba-muted: #425061;
  --jba-accent: #5f9fb4;
  --header-height: 88px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

html,
body,
body *,
button,
input,
textarea,
select {
  font-family: var(--font-sans) !important;
  letter-spacing: 0 !important;
}

body {
  color: var(--jba-text) !important;
  background: var(--jba-paper) !important;
}

.craft-strip,
.craft-strip *,
.material-note,
.material-note *,
.jba-scroll-meter,
.pine-mark,
body::before,
body::after,
.home-hero::before,
.home-hero::after,
.about-hero::before,
.about-hero::after,
.journal-hero::before,
.journal-hero::after,
.contact-hero::before,
.contact-hero::after,
.single-hero::before,
.single-hero::after,
.home-hero h1::after,
.about-hero h1::after,
.journal-hero h1::after,
.contact-hero h1::after,
.single-hero h1::after,
.button::before,
.button::after,
.theme-card::after,
.journal-card::after,
.article-card::after,
.inquiry-card::after,
.contact-form-wrap::after,
.profile-content::after,
.journal-image::after,
.article-card-image::after,
.contact-hero-text::before,
.single-deck::before {
  display: none !important;
  content: none !important;
  animation: none !important;
}

.site-header,
body.home-page .site-header,
body.about-page .site-header,
body.journal-page .site-header,
body.contact-page .site-header,
body.single-post .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  height: var(--header-height) !important;
  background: var(--jba-indigo) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13) !important;
  box-shadow: 0 14px 36px rgba(3, 16, 34, 0.22) !important;
}

.admin-bar .site-header {
  top: 32px !important;
}

.header-inner {
  width: min(100% - 64px, 1280px) !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  margin-inline: auto !important;
}

.site-logo {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
}

.site-logo img {
  width: auto !important;
  height: 62px !important;
  max-width: 260px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35)) !important;
}

.site-nav {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(22px, 3vw, 42px) !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  background: transparent !important;
  transform: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.site-nav a,
.site-header .site-nav a,
body.home-page .site-header .site-nav a,
body.about-page .site-header .site-nav a,
body.journal-page .site-header .site-nav a,
body.contact-page .site-header .site-nav a,
body.single-post .site-header .site-nav a {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  padding: 0 0 12px !important;
  border: 0 !important;
}

.site-nav a.active,
.site-nav a:hover {
  color: #fff !important;
}

.site-nav a::after {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 2px !important;
  background: var(--jba-accent) !important;
  transform: scaleX(0) !important;
  transform-origin: left !important;
  transition: transform 0.2s ease !important;
}

.site-nav a.active::after,
.site-nav a:hover::after {
  transform: scaleX(1) !important;
}

.header-social,
.footer-social {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.header-social img,
.footer-social img {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 0.92 !important;
}

.header-social a:hover img,
.footer-social a:hover img {
  opacity: 1 !important;
}

.menu-button {
  margin-left: auto !important;
}

.home-hero,
.about-hero,
.journal-hero,
.contact-hero {
  min-height: calc(100svh - var(--header-height)) !important;
  padding: var(--header-height) 0 0 !important;
  overflow: hidden !important;
}

.home-hero-inner,
.about-hero-content,
.journal-hero-inner,
.contact-hero-content {
  width: min(100% - 96px, 1200px) !important;
  max-width: 1200px !important;
  margin-inline: auto !important;
  text-align: left !important;
}

.home-hero-content,
.about-hero-content,
.journal-hero-inner,
.contact-hero-content {
  max-width: 760px !important;
}

.home-hero-content {
  margin: 0 !important;
}

.home-hero-inner {
  justify-content: flex-start !important;
  align-items: center !important;
}

.home-hero h1,
.about-hero h1,
.journal-hero h1,
.contact-hero h1,
.single-hero h1 {
  max-width: 760px !important;
  margin: 0 0 24px !important;
  color: var(--jba-indigo-2) !important;
  font-size: clamp(44px, 7.4vw, 70px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  text-wrap: balance !important;
}

.home-hero p,
.journal-hero-text,
.contact-hero-lead,
.contact-hero-text,
.single-deck {
  max-width: 680px !important;
  color: #23384d !important;
  font-size: clamp(16px, 1.55vw, 20px) !important;
  line-height: 1.85 !important;
  font-weight: 500 !important;
}

.home-hero-bg::after,
.contact-hero-image::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(90deg, rgba(247, 244, 236, 0.96) 0%, rgba(247, 244, 236, 0.88) 34%, rgba(247, 244, 236, 0.42) 62%, rgba(247, 244, 236, 0.12) 100%) !important;
}

body.about-page .about-hero {
  background: var(--jba-indigo) !important;
}

body.about-page .about-hero-bg::after {
  content: "" !important;
  display: block !important;
  background:
    linear-gradient(90deg, rgba(3, 16, 34, 0.96) 0%, rgba(3, 16, 34, 0.78) 44%, rgba(3, 16, 34, 0.25) 74%, rgba(3, 16, 34, 0.35) 100%) !important;
}

body.about-page .about-hero h1,
body.about-page .about-hero .section-label,
body.about-page .about-hero p {
  color: #fff !important;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.56) !important;
}

.section-label {
  color: var(--jba-indigo-2) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.section-label::after,
.small-line,
.accent-line {
  background: var(--jba-accent) !important;
}

.home-themes {
  background: #f2eee6 !important;
}

.theme-card {
  min-width: 0 !important;
  padding: 28px 18px !important;
}

.theme-icon {
  width: 132px !important;
  height: 132px !important;
  margin: 0 auto 22px !important;
  display: grid !important;
  place-items: center !important;
  background: #f2eee6 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

.theme-icon img {
  width: 132px !important;
  height: 132px !important;
  object-fit: contain !important;
  mix-blend-mode: multiply !important;
}

.theme-card h3 {
  min-height: 44px !important;
  color: var(--jba-indigo-2) !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
}

.theme-card p {
  max-width: 240px !important;
  color: var(--jba-muted) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.journal-card,
.article-card,
.inquiry-card,
.contact-form-wrap,
.profile-content {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid var(--jba-line) !important;
  box-shadow: none !important;
}

.journal-body h3,
.article-card h3 {
  color: var(--jba-indigo-2) !important;
  font-size: clamp(20px, 2vw, 25px) !important;
  line-height: 1.25 !important;
}

.single-hero {
  min-height: auto !important;
  padding: calc(var(--header-height) + 72px) 0 54px !important;
  background: var(--jba-paper) !important;
}

.single-hero-bg {
  display: none !important;
}

.single-hero h1 {
  max-width: 920px !important;
  color: var(--jba-indigo-2) !important;
  font-size: clamp(34px, 5.2vw, 56px) !important;
  line-height: 1.16 !important;
}

.single-content,
.entry-content {
  font-size: 17px !important;
  line-height: 1.9 !important;
}

.single-content img,
.entry-content img,
.wp-block-image img {
  width: auto !important;
  max-width: min(100%, 860px) !important;
  max-height: 620px !important;
  object-fit: contain !important;
  margin-inline: auto !important;
}

.site-footer {
  background: var(--jba-indigo) !important;
  color: #fff !important;
}

.footer-logo img {
  height: 88px !important;
  width: auto !important;
  max-width: 300px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.3)) !important;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.78) !important;
}

.footer-nav a:hover {
  color: #fff !important;
}

@media (max-width: 900px) {
  .header-inner {
    width: min(100% - 32px, 1280px) !important;
  }

  .site-logo img {
    height: 52px !important;
    max-width: 210px !important;
  }

  .site-nav {
    position: fixed !important;
    inset: var(--header-height) 0 auto 0 !important;
    display: grid !important;
    gap: 0 !important;
    padding: 18px 24px 26px !important;
    background: var(--jba-indigo) !important;
    transform: translateY(-120%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .site-nav.is-open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .site-nav a {
    padding: 14px 0 !important;
  }

  .header-social {
    display: none !important;
  }

  .home-hero-inner,
  .about-hero-content,
  .journal-hero-inner,
  .contact-hero-content {
    width: min(100% - 44px, 720px) !important;
  }

  .home-hero h1,
  .about-hero h1,
  .journal-hero h1,
  .contact-hero h1 {
    font-size: clamp(38px, 11vw, 58px) !important;
  }
}

/* Disable stuck entrance blur and force readable San Francisco headings */
.fade-in,
.section-fade,
.reveal,
.fade-in.is-visible,
.section-fade.is-visible,
.reveal.is-visible,
.home-hero-content,
.about-hero-content,
.journal-hero-inner,
.contact-hero-content,
.single-hero-content {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  visibility: visible !important;
}

body.home-page .home-hero-content h1,
body.about-page .about-hero-content h1,
body.journal-page .journal-hero h1,
body.contact-page .contact-hero h1,
body.single-post .single-hero h1,
body .section h2,
body .journal-body h3,
body .article-card h3,
body .inquiry-card h2,
body .profile-content h2,
body .contact-form-wrap h2 {
  font-family: var(--font-sans) !important;
}

body.single-post .single-hero h1 {
  max-width: 880px !important;
  font-size: clamp(32px, 4.2vw, 48px) !important;
  line-height: 1.18 !important;
}

body.home-page .home-hero-content h1,
body.about-page .about-hero-content h1,
body.journal-page .journal-hero h1,
body.contact-page .contact-hero h1 {
  font-size: clamp(44px, 7.4vw, 70px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
}

body.home-page .home-hero-content {
  color: var(--jba-text) !important;
}

body.home-page .home-hero-content h1,
body.home-page .home-hero-content p {
  text-shadow: none !important;
}

/* Functional polish requested in the improvement brief */
.site-header.is-scrolled {
  background: rgba(247, 244, 236, 0.96) !important;
  border-bottom-color: rgba(6, 20, 38, 0.14) !important;
  box-shadow: 0 12px 30px rgba(6, 20, 38, 0.12) !important;
}

.site-header.is-scrolled .site-logo img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(32%) saturate(1190%) hue-rotate(174deg) brightness(92%) contrast(96%) !important;
}

.site-header.is-scrolled .site-nav a {
  color: rgba(6, 20, 38, 0.82) !important;
}

.site-header.is-scrolled .site-nav a.active,
.site-header.is-scrolled .site-nav a:hover {
  color: var(--jba-indigo) !important;
}

.site-header.is-scrolled .header-social img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(32%) saturate(1190%) hue-rotate(174deg) brightness(92%) contrast(96%) !important;
}

body.home-page .site-header.is-scrolled .site-logo img,
body.about-page .site-header.is-scrolled .site-logo img,
body.journal-page .site-header.is-scrolled .site-logo img,
body.contact-page .site-header.is-scrolled .site-logo img,
body.single-post .site-header.is-scrolled .site-logo img,
.site-header.is-scrolled .site-logo img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(32%) saturate(1190%) hue-rotate(174deg) brightness(92%) contrast(96%) !important;
}

body.home-page .site-header.is-scrolled .site-nav a,
body.about-page .site-header.is-scrolled .site-nav a,
body.journal-page .site-header.is-scrolled .site-nav a,
body.contact-page .site-header.is-scrolled .site-nav a,
body.single-post .site-header.is-scrolled .site-nav a,
.site-header.is-scrolled .site-nav a {
  color: rgba(6, 20, 38, 0.86) !important;
}

body.home-page .site-header.is-scrolled .site-nav a.active,
body.about-page .site-header.is-scrolled .site-nav a.active,
body.journal-page .site-header.is-scrolled .site-nav a.active,
body.contact-page .site-header.is-scrolled .site-nav a.active,
body.single-post .site-header.is-scrolled .site-nav a.active,
.site-header.is-scrolled .site-nav a.active,
.site-header.is-scrolled .site-nav a:hover {
  color: var(--jba-indigo) !important;
}

body.home-page .site-header.is-scrolled .header-social img,
body.about-page .site-header.is-scrolled .header-social img,
body.journal-page .site-header.is-scrolled .header-social img,
body.contact-page .site-header.is-scrolled .header-social img,
body.single-post .site-header.is-scrolled .header-social img,
.site-header.is-scrolled .header-social img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(32%) saturate(1190%) hue-rotate(174deg) brightness(92%) contrast(96%) !important;
}

.button,
.btn,
.button-primary,
.button-secondary,
.primary-button,
.secondary-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 150px !important;
  min-height: 48px !important;
  padding: 14px 32px !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

.button-primary,
.primary-button {
  background: var(--jba-indigo-2) !important;
  border: 1px solid var(--jba-indigo-2) !important;
  color: #fff !important;
}

.button-secondary,
.secondary-button {
  background: transparent !important;
  border: 1px solid rgba(16, 45, 73, 0.52) !important;
  color: var(--jba-indigo-2) !important;
}

.button:hover,
.btn:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px) !important;
}

body.home-page .home-actions,
body.home-page .home-contact-inner,
body.contact-page .contact-button-group {
  gap: 16px !important;
}

body.home-page .home-about-link {
  margin-top: 22px !important;
}

body.home-page .home-concept-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
  gap: clamp(36px, 6vw, 78px) !important;
}

body.home-page .home-copy {
  max-width: 68ch !important;
}

body.home-page .home-contact-cta {
  padding-block: clamp(64px, 9vh, 110px) !important;
}

body.home-page .home-contact-inner {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
}

body.home-page .home-contact-line {
  display: none !important;
}

.theme-card {
  display: block !important;
  color: inherit !important;
  text-decoration: none !important;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}

.theme-card:hover {
  background: rgba(255, 255, 255, 0.45) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 36px rgba(6, 20, 38, 0.08) !important;
}

.journal-card img,
.article-card img,
.home-recent-journal-image img,
.article-card-image img {
  aspect-ratio: 3 / 2 !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
}

.journal-card,
.article-card {
  overflow: hidden !important;
}

.article-card-body,
.journal-body {
  min-height: 250px !important;
}

.card-text,
.journal-body p:not(.category) {
  color: var(--jba-muted) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.footer-newsletter,
.single-newsletter {
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.footer-newsletter {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px) !important;
  gap: 28px !important;
  align-items: center !important;
  padding-top: 28px !important;
  margin-top: 30px !important;
}

.footer-newsletter h2,
.single-newsletter h2 {
  margin: 0 0 8px !important;
  color: #fff !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  line-height: 1.2 !important;
}

.footer-newsletter p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.newsletter-form {
  display: flex !important;
  gap: 12px !important;
  align-items: end !important;
}

.newsletter-form label {
  flex: 1 1 auto !important;
  display: grid !important;
  gap: 6px !important;
}

.newsletter-form label span {
  color: inherit !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.footer-newsletter .newsletter-form label span {
  color: rgba(255, 255, 255, 0.76) !important;
}

.newsletter-form input {
  width: 100% !important;
  min-height: 48px !important;
  padding: 11px 14px !important;
  border: 1px solid var(--jba-line) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--jba-text) !important;
}

.single-newsletter {
  background: #eaf3f4 !important;
  padding: 48px 0 !important;
}

.single-newsletter-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px) !important;
  gap: 28px !important;
  align-items: center !important;
}

.single-newsletter h2 {
  color: var(--jba-indigo-2) !important;
}

@media (max-width: 760px) {
  body.home-page .home-concept-grid,
  body.home-page .home-contact-inner,
  .footer-newsletter,
  .single-newsletter-inner,
  .newsletter-form {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .newsletter-form {
    display: grid !important;
  }

  .button,
  .btn,
  .button-primary,
  .button-secondary,
  .primary-button,
  .secondary-button {
    width: 100% !important;
  }
}

/* Final editorial cleanup from the July improvement brief. */
:root {
  --font-serif: "Cormorant Garamond", "Noto Serif JP", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --jba-indigo: #061426;
  --jba-indigo-2: #12365a;
  --jba-indigo-3: #1f557a;
  --jba-paper: #f7f4ec;
  --jba-paper-2: #f1ede3;
  --jba-card: #fffdf8;
  --jba-line: rgba(6, 20, 38, 0.16);
  --jba-text: #142033;
  --jba-muted: #4f5f70;
  --jba-accent: #6fa7b8;
}

html,
body,
button,
input,
textarea,
select {
  font-family: var(--font-sans) !important;
}

h1,
h2,
h3,
.site-logo,
.footer-logo,
.home-hero h1,
.about-hero h1,
.journal-hero h1,
.contact-hero h1,
.single-hero h1,
.section h2,
.journal-body h3,
.article-card h3,
.profile-content h2,
.contact-form-wrap h2,
.inquiry-card h2 {
  font-family: var(--font-serif) !important;
}

*,
*::before,
*::after {
  text-shadow: none !important;
}

body {
  background: var(--jba-paper) !important;
  color: var(--jba-text) !important;
  font-size: 16px !important;
}

.home-hero-bg,
.about-hero-bg,
.journal-hero-bg,
.contact-hero-image {
  animation: none !important;
  filter: none !important;
}

.home-hero h1,
.about-hero h1,
.journal-hero h1,
.contact-hero h1 {
  max-width: 820px !important;
  font-size: clamp(48px, 7.4vw, 82px) !important;
  font-weight: 700 !important;
  line-height: 1.02 !important;
  text-wrap: balance !important;
}

.home-hero p,
.journal-hero-text,
.contact-hero-lead,
.contact-hero-text,
.about-hero-text {
  max-width: 700px !important;
  font-family: var(--font-sans) !important;
  font-size: clamp(16px, 1.6vw, 20px) !important;
  line-height: 1.8 !important;
}

body.home-page .home-hero-bg {
  background:
    linear-gradient(90deg, rgba(247, 244, 236, 0.96) 0%, rgba(247, 244, 236, 0.88) 35%, rgba(247, 244, 236, 0.38) 63%, rgba(247, 244, 236, 0.12) 100%),
    url("../japan-blue-arborist/images/hero.webp") 72% center / cover no-repeat !important;
}

body.about-page .about-hero {
  background: var(--jba-indigo) !important;
}

body.about-page .about-hero-bg {
  background-image: url("../japan-blue-arborist/images/about-hero.webp") !important;
  background-size: cover !important;
  background-position: 64% center !important;
}

body.about-page .about-hero-bg::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  background:
    linear-gradient(90deg, rgba(5, 11, 20, 0.78) 0%, rgba(5, 11, 20, 0.35) 55%, rgba(5, 11, 20, 0.12) 100%) !important;
}

body.about-page .about-hero h1,
body.about-page .about-hero .section-label,
body.about-page .about-hero p {
  color: #f8f7f2 !important;
}

body.about-page .about-hero h1::first-letter,
.entry-content p::first-letter {
  color: inherit !important;
  float: none !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

body.journal-page .journal-hero {
  position: relative !important;
  min-height: calc(100svh - var(--header-height)) !important;
  display: flex !important;
  align-items: center !important;
  background: var(--jba-paper) !important;
}

body.journal-page .journal-hero-bg {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  background:
    linear-gradient(90deg, rgba(247, 244, 236, 0.98) 0%, rgba(247, 244, 236, 0.88) 39%, rgba(247, 244, 236, 0.42) 67%, rgba(247, 244, 236, 0.14) 100%),
    url("../japan-blue-arborist/images/journal-hero.webp") 78% center / cover no-repeat !important;
}

body.journal-page .journal-hero-inner {
  position: relative !important;
  z-index: 1 !important;
}

body.contact-page .contact-hero {
  grid-template-columns: 1fr 1fr !important;
  align-items: stretch !important;
  background: var(--jba-paper) !important;
}

body.contact-page .contact-hero-content {
  width: min(100% - 96px, 620px) !important;
  margin-left: max(48px, calc((100vw - 1200px) / 2)) !important;
  padding-block: clamp(86px, 12vh, 150px) !important;
  align-self: center !important;
}

body.contact-page .contact-hero-image {
  position: relative !important;
  min-height: 100% !important;
  background:
    url("../japan-blue-arborist/images/contact-hero.webp") center / cover no-repeat !important;
}

body.contact-page .contact-hero-image::before {
  background:
    linear-gradient(90deg, var(--jba-paper) 0%, rgba(247, 244, 236, 0.74) 18%, rgba(247, 244, 236, 0.12) 58%, rgba(247, 244, 236, 0) 100%) !important;
}

body.home-page .home-concept-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) !important;
  gap: clamp(38px, 7vw, 96px) !important;
  align-items: start !important;
}

body.home-page .home-concept-grid::before,
body.home-page .home-concept .section-label {
  display: none !important;
}

body.home-page .home-concept h2 {
  max-width: none !important;
  margin: 0 !important;
  text-align: left !important;
  font-size: clamp(36px, 4.5vw, 68px) !important;
  line-height: 1.1 !important;
}

body.home-page .home-copy {
  display: block !important;
  max-width: 74ch !important;
  margin: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 17px !important;
  line-height: 1.95 !important;
}

body.home-page .home-themes {
  background: #f5f1e8 !important;
}

body.home-page .themes-grid {
  border-color: var(--jba-line) !important;
  background: #f5f1e8 !important;
}

.theme-card {
  background: #f5f1e8 !important;
  border-color: var(--jba-line) !important;
  text-align: center !important;
}

.theme-icon {
  width: 164px !important;
  height: 164px !important;
  max-width: 80% !important;
  margin: 0 auto 22px !important;
  background: #f5f1e8 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.theme-icon img {
  width: 164px !important;
  height: 164px !important;
  object-fit: contain !important;
  mix-blend-mode: multiply !important;
  filter: saturate(0.9) contrast(1.02) !important;
  opacity: 1 !important;
}

.theme-card h3 {
  min-height: 0 !important;
  color: var(--jba-indigo-2) !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
}

.theme-card p {
  max-width: 260px !important;
  margin-inline: auto !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.perspective-card {
  text-shadow: none !important;
}

.perspective-icon {
  display: inline-flex !important;
  width: 54px !important;
  height: 54px !important;
  margin-bottom: 20px !important;
  color: rgba(248, 247, 242, 0.86) !important;
}

.perspective-icon svg {
  width: 100% !important;
  height: 100% !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.contact-card-icon {
  width: 74px !important;
  height: 74px !important;
  display: grid !important;
  place-items: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.contact-card-icon img {
  width: 74px !important;
  height: 74px !important;
  object-fit: contain !important;
  mix-blend-mode: multiply !important;
  background: transparent !important;
}

.inquiry-card {
  background: rgba(255, 253, 248, 0.68) !important;
}

.journal-article-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(24px, 3vw, 36px) !important;
}

.article-card {
  overflow: hidden !important;
  background: var(--jba-card) !important;
  border: 1px solid var(--jba-line) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.article-card-link {
  display: grid !important;
  height: 100% !important;
  color: inherit !important;
  text-decoration: none !important;
}

.article-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 42px rgba(6, 20, 38, 0.12) !important;
}

.article-card-image {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  aspect-ratio: 16 / 10 !important;
  background: #e9e1d4 !important;
}

.article-card-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.45s ease !important;
}

.article-card:hover .article-card-image img {
  transform: scale(1.04) !important;
}

.article-category-pill {
  display: inline-flex !important;
  width: fit-content !important;
  align-items: flex-start !important;
  min-height: 26px !important;
  padding: 5px 10px !important;
  color: var(--jba-indigo-2) !important;
  background: rgba(247, 244, 236, 0.92) !important;
  border: 1px solid rgba(18, 54, 90, 0.2) !important;
  font-family: var(--font-sans) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
}

.article-card-image .article-category-pill {
  position: absolute !important;
  left: 14px !important;
  bottom: 14px !important;
}

.article-card-body {
  display: grid !important;
  gap: 10px !important;
  min-height: 0 !important;
  padding: 20px !important;
}

.article-date {
  color: var(--jba-muted) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.article-card h3 {
  display: -webkit-box !important;
  overflow: hidden !important;
  margin: 0 !important;
  color: var(--jba-indigo-2) !important;
  font-size: clamp(20px, 1.7vw, 24px) !important;
  line-height: 1.16 !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.article-card:hover h3 {
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 4px !important;
}

.card-text {
  display: -webkit-box !important;
  overflow: hidden !important;
  color: var(--jba-muted) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.card-footer {
  display: flex !important;
  justify-content: space-between !important;
  gap: 16px !important;
  align-items: center !important;
  margin-top: 8px !important;
  color: var(--jba-indigo-2) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.journal-pagination {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 52px !important;
}

.journal-pagination .page-numbers {
  display: inline-grid !important;
  min-width: 40px !important;
  height: 40px !important;
  place-items: center !important;
  border: 1px solid var(--jba-line) !important;
  color: var(--jba-indigo-2) !important;
  background: var(--jba-card) !important;
  text-decoration: none !important;
}

.journal-pagination .page-numbers.current {
  color: #fff !important;
  background: var(--jba-indigo-2) !important;
  border-color: var(--jba-indigo-2) !important;
}

.single-hero {
  padding: calc(var(--header-height) + 78px) 0 38px !important;
  background: var(--jba-paper) !important;
}

.single-hero-inner {
  max-width: 880px !important;
}

.single-hero h1 {
  max-width: 880px !important;
  margin: 18px 0 16px !important;
  color: var(--jba-indigo-2) !important;
  font-size: clamp(36px, 5.1vw, 62px) !important;
  line-height: 1.08 !important;
  text-wrap: balance !important;
}

.single-hero-meta {
  color: var(--jba-muted) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.single-deck {
  margin-top: 22px !important;
  color: var(--jba-muted) !important;
  font-size: clamp(17px, 1.8vw, 21px) !important;
  line-height: 1.75 !important;
}

.single-featured-image {
  padding: 0 0 48px !important;
  background: var(--jba-paper) !important;
}

.single-featured-image img {
  width: 100% !important;
  max-height: 560px !important;
  object-fit: cover !important;
}

.entry-content {
  max-width: 720px !important;
  font-family: var(--font-sans) !important;
  color: var(--jba-text) !important;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2em !important;
  color: var(--jba-indigo-2) !important;
  line-height: 1.2 !important;
}

.entry-content p,
.entry-content li {
  font-size: 17px !important;
  line-height: 1.95 !important;
}

.entry-content img,
.wp-block-image img {
  display: block !important;
  width: auto !important;
  max-width: min(100%, 760px) !important;
  max-height: 520px !important;
  object-fit: contain !important;
  margin: 28px auto !important;
}

.single-author-box {
  padding: 54px 0 !important;
  background: var(--jba-paper-2) !important;
  border-top: 1px solid var(--jba-line) !important;
  border-bottom: 1px solid var(--jba-line) !important;
}

.single-author-inner {
  max-width: 720px !important;
}

.single-author-inner h2 {
  margin: 0 0 12px !important;
  color: var(--jba-indigo-2) !important;
  font-size: clamp(30px, 4vw, 46px) !important;
}

.single-related {
  background: var(--jba-paper) !important;
}

@media (max-width: 960px) {
  body.contact-page .contact-hero {
    display: block !important;
  }

  body.contact-page .contact-hero-content {
    width: min(100% - 44px, 720px) !important;
    margin-inline: auto !important;
  }

  body.contact-page .contact-hero-image {
    min-height: 340px !important;
  }

  body.home-page .home-concept-grid,
  .journal-article-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .journal-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .home-hero h1,
  .about-hero h1,
  .journal-hero h1,
  .contact-hero h1 {
    font-size: clamp(40px, 12vw, 58px) !important;
  }

  .theme-icon,
  .theme-icon img {
    width: 144px !important;
    height: 144px !important;
  }
}

/* Last word on typography: editorial headings serif, interface/body San Francisco. */
body.home-page .home-hero-content h1,
body.about-page .about-hero-content h1,
body.journal-page .journal-hero-inner h1,
body.contact-page .contact-hero-content h1,
body.single-post .single-hero h1,
body .section-heading h2,
body .home-concept h2,
body .home-about-content h2,
body .home-contact-inner h2,
body .tools-header h2,
body .contact-heading h2,
body .form-message h2,
body .contact-form-wrap h2,
body .single-author-inner h2,
body .article-card h3,
body .journal-body h3,
body .profile-content h2,
body .inquiry-card h2 {
  font-family: var(--font-serif) !important;
}

body .site-nav a,
body .button,
body .section-label,
body p,
body li,
body input,
body textarea,
body .card-text,
body .article-date,
body .single-hero-meta {
  font-family: var(--font-sans) !important;
}

/* Contact hero: match the journal-style image wash and prevent lower text clipping. */
body.contact-page .contact-hero {
  position: relative !important;
  display: flex !important;
  min-height: calc(100svh - var(--header-height)) !important;
  padding: var(--header-height) 0 0 !important;
  align-items: center !important;
  overflow: hidden !important;
  background: var(--jba-paper) !important;
}

body.contact-page .contact-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  background:
    linear-gradient(90deg, rgba(247, 244, 236, 0.99) 0%, rgba(247, 244, 236, 0.9) 34%, rgba(247, 244, 236, 0.58) 56%, rgba(247, 244, 236, 0.22) 78%, rgba(247, 244, 236, 0.1) 100%),
    linear-gradient(0deg, rgba(247, 244, 236, 0.88) 0%, rgba(247, 244, 236, 0.22) 30%, rgba(247, 244, 236, 0) 62%),
    url("../japan-blue-arborist/images/contact-hero.webp") 72% center / cover no-repeat !important;
}

body.contact-page .contact-hero-content {
  position: relative !important;
  z-index: 1 !important;
  width: min(100% - 96px, 980px) !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: clamp(56px, 8vh, 92px) 0 clamp(58px, 8vh, 92px) !important;
  align-self: flex-start !important;
}

body.contact-page .contact-hero-content > * {
  max-width: 720px !important;
}

body.contact-page .contact-hero h1 {
  max-width: 780px !important;
}

body.contact-page .contact-hero-lead,
body.contact-page .contact-hero-text {
  color: #22364a !important;
}

body.contact-page .contact-hero-image {
  display: none !important;
}

@media (max-width: 900px) {
  body.contact-page .contact-hero::before {
    background:
      linear-gradient(90deg, rgba(247, 244, 236, 0.98) 0%, rgba(247, 244, 236, 0.9) 44%, rgba(247, 244, 236, 0.48) 100%),
      linear-gradient(0deg, rgba(247, 244, 236, 0.9) 0%, rgba(247, 244, 236, 0.18) 45%, rgba(247, 244, 236, 0) 100%),
      url("../japan-blue-arborist/images/contact-hero.webp") 68% center / cover no-repeat !important;
  }

  body.contact-page .contact-hero-content {
    width: min(100% - 44px, 720px) !important;
    padding-block: 72px 92px !important;
  }
}

/* Contact hero final fit: crisp image on the right, paper wash only toward the left. */
body.contact-page .contact-hero {
  min-height: calc(100svh - var(--header-height)) !important;
  align-items: center !important;
}

body.contact-page .contact-hero::before {
  background:
    linear-gradient(90deg, rgba(247, 244, 236, 1) 0%, rgba(247, 244, 236, 0.96) 28%, rgba(247, 244, 236, 0.62) 42%, rgba(247, 244, 236, 0.16) 54%, rgba(247, 244, 236, 0) 64%),
    linear-gradient(0deg, rgba(247, 244, 236, 0.16) 0%, rgba(247, 244, 236, 0) 24%),
    url("../japan-blue-arborist/images/contact-hero.jpg") 72% center / cover no-repeat,
    var(--jba-paper) !important;
}

body.contact-page .contact-hero-content {
  width: min(100% - 96px, 1240px) !important;
  max-width: 1240px !important;
  padding: clamp(26px, 4.5vh, 54px) 0 clamp(42px, 6vh, 74px) !important;
  align-self: center !important;
}

body.contact-page .contact-hero-content > * {
  max-width: 760px !important;
}

body.contact-page .contact-hero h1 {
  max-width: 820px !important;
  margin-bottom: clamp(24px, 3vh, 34px) !important;
  font-size: clamp(48px, 6.2vw, 76px) !important;
  line-height: 1.02 !important;
}

body.contact-page .contact-hero-lead,
body.contact-page .contact-hero-text {
  font-size: clamp(16px, 1.35vw, 19px) !important;
  line-height: 1.7 !important;
}

body.contact-page .contact-hero-text {
  margin-top: clamp(16px, 2.4vh, 26px) !important;
}

body.contact-page .contact-button-group {
  margin-top: clamp(26px, 4.4vh, 46px) !important;
}

@media (max-width: 900px) {
  body.contact-page .contact-hero {
    align-items: flex-start !important;
    min-height: auto !important;
  }

  body.contact-page .contact-hero::before {
    background:
      linear-gradient(90deg, rgba(247, 244, 236, 0.98) 0%, rgba(247, 244, 236, 0.86) 45%, rgba(247, 244, 236, 0.2) 78%, rgba(247, 244, 236, 0) 100%),
      linear-gradient(0deg, rgba(247, 244, 236, 0.42) 0%, rgba(247, 244, 236, 0) 52%),
      url("../japan-blue-arborist/images/contact-hero.jpg") 66% center / cover no-repeat,
      var(--jba-paper) !important;
  }

  body.contact-page .contact-hero-content {
    width: min(100% - 44px, 720px) !important;
    padding: 58px 0 76px !important;
  }

  body.contact-page .contact-hero h1 {
    font-size: clamp(40px, 11vw, 58px) !important;
  }
}

/* Contact hero hard reset: keep the photo sharp on the right and fit all content. */
body.contact-page .contact-hero {
  position: relative !important;
  display: flex !important;
  min-height: auto !important;
  padding: var(--header-height) 0 0 !important;
  overflow: hidden !important;
  background: var(--jba-paper) !important;
  border-bottom: 1px solid var(--jba-line) !important;
}

body.contact-page .contact-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  writing-mode: horizontal-tb !important;
  pointer-events: none !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  background:
    linear-gradient(90deg, rgba(247, 244, 236, 1) 0%, rgba(247, 244, 236, 0.97) 27%, rgba(247, 244, 236, 0.68) 42%, rgba(247, 244, 236, 0.18) 56%, rgba(247, 244, 236, 0) 68%),
    linear-gradient(0deg, rgba(247, 244, 236, 0.16) 0%, rgba(247, 244, 236, 0) 26%),
    url("../japan-blue-arborist/images/contact-hero.jpg") 74% center / cover no-repeat,
    var(--jba-paper) !important;
}

body.contact-page .contact-hero::after,
body.contact-page .contact-hero-image,
body.contact-page .contact-hero-image::before,
body.contact-page .contact-hero-image::after {
  display: none !important;
  content: none !important;
}

body.contact-page .contact-hero-content {
  position: relative !important;
  z-index: 2 !important;
  width: min(100% - 96px, 1240px) !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: clamp(24px, 4vh, 46px) 0 clamp(48px, 6vh, 70px) !important;
  align-self: auto !important;
}

body.contact-page .contact-hero-content > * {
  max-width: 740px !important;
}

body.contact-page .contact-hero h1 {
  max-width: 790px !important;
  margin: 0 0 20px !important;
  font-size: clamp(44px, 5.2vw, 68px) !important;
  line-height: 1 !important;
}

body.contact-page .contact-hero-lead,
body.contact-page .contact-hero-text {
  max-width: 720px !important;
  font-size: clamp(15px, 1.18vw, 18px) !important;
  line-height: 1.58 !important;
}

body.contact-page .contact-hero-text {
  margin-top: 18px !important;
}

body.contact-page .contact-button-group {
  margin-top: 24px !important;
}

@media (max-width: 900px) {
  body.contact-page .contact-hero::before {
    background:
      linear-gradient(90deg, rgba(247, 244, 236, 0.98) 0%, rgba(247, 244, 236, 0.9) 42%, rgba(247, 244, 236, 0.22) 76%, rgba(247, 244, 236, 0) 100%),
      linear-gradient(0deg, rgba(247, 244, 236, 0.28) 0%, rgba(247, 244, 236, 0) 48%),
      url("../japan-blue-arborist/images/contact-hero.jpg") 68% center / cover no-repeat,
      var(--jba-paper) !important;
  }

  body.contact-page .contact-hero-content {
    width: min(100% - 44px, 720px) !important;
    padding: 46px 0 68px !important;
  }

  body.contact-page .contact-hero h1 {
    font-size: clamp(38px, 10.5vw, 56px) !important;
  }
}
