/*
Theme Name: Anything Custom
Author: Codex
Description: Custom WordPress theme for Anything real estate.
Version: 1.1.1
Text Domain: anything-custom
*/

:root {
  --bg: #fff7eb;
  --cream: #fffaf1;
  --cream-2: #f7ecd9;
  --paper: #fffdf8;
  --ink: #402b20;
  --ink-2: #5e4738;
  --muted: #826e5f;
  --orange: #ee9b63;
  --orange-2: #f6c39b;
  --orange-dark: #cb7442;
  --green: #748c58;
  --line: #ead1ae;
  --shadow: 0 14px 30px rgba(99, 64, 33, 0.12);
  --font-round: "Zen Maru Gothic", "Noto Sans JP", system-ui, sans-serif;
  --font-sans: "Noto Sans JP", system-ui, sans-serif;
  --font-serif: "Shippori Mincho", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f4ead9;
  color: var(--ink);
  font-family: var(--font-round);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-break: strict;
  overflow-wrap: break-word;
  word-break: normal;
}

h1,
h2,
h3,
h4 {
  font-feature-settings: "palt";
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
  word-break: auto-phrase;
}

p,
blockquote,
dd,
.section__lead,
.sub-hero p,
.single-body {
  line-break: strict;
  overflow-wrap: break-word;
  text-wrap: pretty;
  word-break: normal;
}

.nobr,
a[href^="tel:"],
.phone-box__num,
.footer-phone {
  white-space: nowrap;
}

.u-email,
a[href^="mailto:"] {
  overflow-wrap: anywhere;
  word-break: normal;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  max-width: none;
  min-height: 100vh;
  margin-inline: auto;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(64, 43, 32, 0.06);
}

.container {
  width: min(100% - 40px, 720px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 247, 235, 0.94);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid rgba(234, 209, 174, 0.72);
}

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

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding-inline: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.brand__mark-image {
  width: 42px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}

.brand__text {
  font-size: 14px;
  letter-spacing: 0;
}

.brand--full-logo {
  display: inline-flex;
  width: 138px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg);
}

.brand__full-logo {
  width: 100%;
  height: auto;
}

.menu-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.menu-button span {
  margin-block: 4px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  background: var(--ink);
  color: #fff6e9;
  padding: 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu__close {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: transparent;
  color: #fff6e9;
  padding: 8px 14px;
}

.mobile-menu nav {
  display: grid;
  gap: 4px;
  margin-top: 38px;
}

.mobile-menu nav a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 18px 2px;
  font-size: 20px;
}

.hero {
  position: relative;
  min-height: 474px;
  overflow: hidden;
  color: #fff;
}

.hero__photo {
  position: absolute;
  inset: 0;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--brand {
  color: var(--ink);
  background: var(--paper);
}

.hero__photo--brand {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--paper), var(--cream-2));
}

.hero__photo--brand img {
  width: min(82%, 620px);
  height: auto;
  object-fit: contain;
  opacity: 0.2;
  transform: translate(12%, -6%);
}

.hero.hero--brand::after {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.1) 0%, rgba(255, 247, 235, 0.74) 44%, rgba(64, 43, 32, 0.12) 100%);
}

.hero.hero--brand h1 {
  text-shadow: none;
}

.hero--brand .hero__lead {
  color: var(--ink-2);
}

.hero--brand .proofs {
  color: var(--ink-2);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 18, 11, 0.12) 0%, rgba(41, 24, 15, 0.2) 36%, rgba(47, 27, 17, 0.84) 100%),
    linear-gradient(90deg, rgba(35, 20, 13, 0.28), transparent 52%);
}

.hero__body {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 474px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 86px 16px 24px;
}

.pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.94);
  color: var(--ink);
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(45, 24, 10, 0.14);
}

.hero h1 {
  margin: 18px 0 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero-title__line {
  display: block;
}

.hero h1 .hero-title__answer {
  display: inline-block;
  border-bottom: 3px solid var(--orange);
}

.hero__lead {
  margin: 12px 0 0;
  color: #fff4e7;
  font-size: 13px;
  line-height: 1.9;
}

.hero__cta {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  box-shadow: inset 0 -3px 0 rgba(141, 72, 35, 0.18);
}

.button--white {
  background: rgba(255, 250, 241, 0.96);
  color: var(--ink);
}

.proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 18px;
  color: #ffe8d4;
  font-size: 11px;
}

.proofs span::before {
  content: "●";
  color: var(--orange);
  margin-right: 5px;
}

.section {
  padding: 70px 0;
}

.section--cream {
  background: var(--cream-2);
}

.section__kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink-2);
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
}

.section__kicker::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
}

.section h2 {
  margin: 18px 0 0;
  font-size: 25px;
  line-height: 1.52;
  text-align: center;
}

.section h2 .underline {
  display: inline-block;
  background: linear-gradient(transparent 68%, rgba(238, 155, 99, 0.58) 0);
}

.section__lead {
  max-width: 35em;
  margin: 18px auto 0;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 2.1;
  text-align: center;
}

.choice-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.choice-card,
.route-card,
.strength-card,
.voice-card,
.contact-panel,
.listing-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
}

.choice-card {
  padding: 22px 18px;
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
}

.tag--green {
  border: 1px solid var(--green);
  background: var(--cream);
}

.tag--brown {
  background: var(--cream-2);
}

.choice-card h3,
.route-card h3,
.strength-card h3 {
  margin: 14px 0 0;
  font-size: 21px;
}

.choice-card p,
.route-card p,
.strength-card p {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 2;
}

.link-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 700;
}

.route-grid {
  display: grid;
  gap: 14px;
}

.route-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(99, 64, 33, 0.08);
}

.route-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 14px;
  color: var(--orange-dark);
  font-weight: 700;
}

.strength-card {
  position: relative;
  margin-top: 20px;
  padding: 24px 18px 22px;
}

.strength-card__num {
  position: absolute;
  top: -18px;
  left: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 22px;
}

.section-actions {
  margin-top: 30px;
}

.listings {
  padding: 70px 0;
  background: var(--bg);
}

.listings__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.listings__head h2 {
  margin: 8px 0 0;
  font-size: 25px;
  line-height: 1.35;
  text-align: left;
}

.small-button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 10px 15px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.listing-grid {
  display: grid;
  gap: 18px;
}

.listing-card {
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.listing-card__image {
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.listing-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 150px;
  place-items: center;
  background: var(--cream-2);
  color: var(--muted);
  font-size: 12px;
}

.media-placeholder--large {
  min-height: 320px;
}

.listing-card__body {
  padding: 18px 18px 16px;
}

.listing-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.price {
  margin-top: 4px;
  color: var(--orange);
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.2;
}

.listing-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 12.5px;
}

.listing-meta small {
  color: var(--muted);
  font-size: 12px;
}

.listing-label {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 700;
}

.listing-label--green {
  background: var(--green);
}

.listing-card:hover h3,
.page-card .link-text:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.voices {
  padding: 72px 0;
  background: var(--cream-2);
}

.voice-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.voice-card {
  padding: 22px 18px;
}

.voice-card__head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--orange-2);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 22px;
}

.voice-card blockquote {
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 2;
}

.contact-cta {
  padding: 78px 0;
  background: var(--bg);
}

.contact-panel {
  position: relative;
  overflow: hidden;
  border: 0;
  background: linear-gradient(160deg, #ffd8bd 0%, #f7b47f 100%);
  padding: 34px 20px 24px;
}

.contact-panel::after {
  content: "+";
  position: absolute;
  top: 15px;
  right: 22px;
  color: var(--orange-dark);
  font-size: 26px;
}

.contact-panel h2 {
  margin: 10px 0 0;
  font-size: 25px;
  line-height: 1.7;
  text-align: left;
}

.contact-panel p {
  max-width: 35em;
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 13.5px;
}

.contact-buttons {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-form.is-sent .button {
  display: none;
}

.contact-form.is-sent .form-message {
  display: block !important;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.92);
  padding: 13px 18px;
  color: var(--ink);
  text-align: center;
  font-size: 13px;
}

.phone-box {
  border: 2px dashed var(--ink);
  border-radius: 14px;
  background: rgba(255, 250, 241, 0.9);
  margin-top: 18px;
  padding: 22px 12px;
  text-align: center;
}

.phone-box__num {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.2;
}

.site-footer {
  background: var(--ink);
  color: #fff5e8;
  padding: 56px 16px 82px;
}

.site-footer .brand {
  color: var(--ink);
}

.footer-copy {
  max-width: 35em;
  margin: 18px 0 0;
  color: #dfcdbc;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  gap: 28px;
  margin-top: 38px;
}

.footer-grid h3 {
  margin: 0 0 12px;
  font-size: 14px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 8px;
  color: #dfcdbc;
  font-size: 13px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 30px;
  padding-top: 18px;
  color: #bda896;
  font-size: 11px;
}

.fixed-cta {
  position: fixed;
  right: max(0px, calc((100vw - 430px) / 2));
  bottom: 0;
  left: max(0px, calc((100vw - 430px) / 2));
  z-index: 70;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px;
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.96);
  padding: 8px 12px;
  backdrop-filter: blur(8px);
}

.fixed-cta a {
  display: grid;
  min-height: 44px;
  place-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.fixed-cta a:first-child {
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.fixed-cta a:last-child {
  background: var(--orange);
  color: #fff;
}

.breadcrumb {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  color: rgba(255, 244, 231, 0.84);
  font-size: 12px;
  font-weight: 700;
}

.breadcrumb::before {
  content: "<";
  margin-right: 6px;
}

.sub-hero {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  color: #fff;
}

.sub-hero__photo {
  position: absolute;
  inset: 0;
}

.sub-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-hero--brand {
  color: var(--ink);
  background: var(--paper);
}

.sub-hero__photo--brand {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--paper), var(--cream-2));
}

.sub-hero__photo--brand img {
  width: min(74%, 500px);
  height: auto;
  object-fit: contain;
  opacity: 0.16;
  transform: translate(18%, -8%);
}

.sub-hero.sub-hero--brand::after {
  background: rgba(255, 253, 248, 0.45);
}

.sub-hero.sub-hero--brand .breadcrumb,
.sub-hero.sub-hero--brand p {
  color: var(--ink-2);
}

.sub-hero.sub-hero--brand h1 {
  text-shadow: none;
}

.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 18, 11, 0.18) 0%, rgba(41, 24, 15, 0.35) 44%, rgba(47, 27, 17, 0.86) 100%),
    linear-gradient(90deg, rgba(35, 20, 13, 0.34), transparent 60%);
}

.sub-hero__body {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 84px 16px 38px;
}

.sub-hero h1 {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 30px;
  line-height: 1.34;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.sub-hero p {
  max-width: 36em;
  margin: 14px 0 0;
  color: #fff4e7;
  font-size: 13.5px;
  line-height: 2;
}

.page-card-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.page-card {
  min-height: 100%;
}

.single-hero {
  display: grid;
  min-height: 70vh;
  padding-top: 72px;
  background: var(--cream);
}

.single-hero__photo {
  position: relative;
  min-height: 320px;
}

.single-hero__photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.single-hero__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 18px 62px;
}

.single-hero__body h1,
.single-news-hero h1 {
  margin: 16px 0 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 36px;
  line-height: 1.08;
}

.single-hero__body p {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--ink-2);
  line-height: 1.9;
}

.single-news-hero {
  padding: 132px 18px 56px;
  background: var(--cream);
}

.single-layout,
.single-article {
  display: grid;
  gap: 32px;
}

.single-main-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.single-summary {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.single-summary dl {
  margin: 18px 0 26px;
}

.single-summary dl div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.single-summary dt {
  color: var(--muted);
  font-size: 12px;
}

.single-summary dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.single-body {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 2;
}

.single-body p {
  margin: 0 0 1.4em;
}

.listing-grid--page {
  margin-top: 34px;
}

.process-list {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.page-cta {
  display: grid;
  gap: 24px;
  border-radius: 18px;
  background: linear-gradient(160deg, #ffd8bd 0%, #f7b47f 100%);
  padding: 28px 20px;
  box-shadow: var(--shadow);
}

.page-cta h2 {
  margin: 10px 0 0;
  font-size: 26px;
  line-height: 1.5;
}

.page-cta p {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 13.5px;
}

.contact-cta--page {
  padding-top: 0;
}

.contact-form--fields {
  display: grid;
  gap: 14px;
}

.contact-form--fields label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.contact-form--fields input,
.contact-form--fields textarea {
  width: 100%;
  border: 1px solid rgba(64, 43, 32, 0.22);
  border-radius: 12px;
  background: rgba(255, 250, 241, 0.94);
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}

.contact-form--fields input:focus,
.contact-form--fields textarea:focus {
  border-color: var(--orange-dark);
  box-shadow: 0 0 0 3px rgba(238, 155, 99, 0.22);
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.contact-form__consent {
  display: flex !important;
  align-items: flex-start;
  grid-column: 1 / -1;
  gap: 9px !important;
  margin: 0 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

.contact-form__consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--orange-dark);
}

.contact-form__consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 20px 0;
  background: var(--paper);
  padding: 14px 16px;
  font-size: 13px;
}

.form-notice--success {
  border-color: var(--green);
}

.form-notice--error {
  border-color: #9b3d30;
  color: #7a2e24;
}

.empty-state {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 34px;
  padding: 36px 12px;
  color: var(--muted);
  text-align: center;
  text-wrap: balance;
  word-break: normal;
  word-break: auto-phrase;
}

.contact-panel__kicker {
  justify-content: flex-start;
  color: var(--ink);
}

.footer-phone {
  font-size: 22px !important;
  color: #fff5e8 !important;
}

.footer-grid a,
.u-email {
  overflow-wrap: anywhere;
}

@media (min-width: 860px) {
  .site-shell {
    width: 100%;
    max-width: none;
    box-shadow: none;
  }

  .site-header__inner {
    width: min(100% - 80px, 1180px);
    margin-inline: auto;
    padding-inline: 0;
  }

  .container {
    width: min(100% - 96px, 1180px);
  }

  .hero {
    min-height: 680px;
  }

  .hero__body {
    width: min(100% - 96px, 1180px);
    min-height: 680px;
    margin-inline: auto;
    padding-inline: 0;
  }

  .hero h1 {
    max-width: 760px;
    font-size: 54px;
  }

  .hero__lead {
    max-width: 680px;
  }

  .hero__cta {
    grid-template-columns: 300px 300px;
  }

  .sub-hero {
    min-height: 500px;
  }

  .sub-hero__body {
    width: min(100% - 96px, 1180px);
    min-height: 500px;
    margin-inline: auto;
    padding-inline: 0;
  }

  .sub-hero h1 {
    font-size: 50px;
  }

  .sub-hero p {
    font-size: 15px;
  }

  .single-hero {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .single-hero__body {
    padding: 64px 7vw;
  }

  .single-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    align-items: start;
  }

  .single-article {
    grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
    align-items: start;
  }

  .choice-grid,
  .route-grid,
  .voice-grid,
  .page-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .listing-card__image {
    aspect-ratio: 16 / 9;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .page-cta {
    grid-template-columns: 1fr 280px;
    align-items: center;
    padding: 44px 48px;
  }

  .contact-form--fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form--fields label[for$="-message"],
  .contact-form--fields .contact-form__consent,
  .contact-form--fields .button,
  .form-notice {
    grid-column: 1 / -1;
  }

  .fixed-cta {
    display: none;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Keep the conceptual photo distinct from actual property photography. */
.hero--consultation {
  min-height: 0;
  background: var(--paper);
  color: var(--ink);
}

.hero.hero--consultation::after {
  content: none;
}

.hero--consultation .hero__photo {
  height: 160px;
}

.hero--consultation .hero__photo img {
  object-position: 75% top;
}

.hero--consultation .hero__body {
  min-height: 0;
  padding: 184px 20px 32px;
}

.hero__brand-name {
  font-size: 13px;
  font-weight: 700;
}

.hero--consultation h1 {
  margin-top: 12px;
  font-size: 30px;
  line-height: 1.5;
  text-shadow: none;
}

.hero__message {
  margin: 12px 0 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
}

.hero--consultation .hero__lead,
.hero--consultation .proofs {
  color: var(--ink-2);
}

.concept-caption {
  position: absolute;
  z-index: 2;
  top: 134px;
  right: 12px;
  padding: 2px 8px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 10px;
}

.section-actions {
  max-width: 420px;
  margin-inline: auto;
}

.link-text { color: var(--ink-2); }
.contact-form--fields input,
.contact-form--fields textarea { font-size: 16px; }

@media (min-width: 600px) {
  .page-card-grid--service { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 599px) and (max-height: 720px) {
  .hero--consultation .hero__cta { grid-template-columns: 1fr 1fr; font-size: 13px; }
  .hero--consultation .proofs { display: none; }
}

.contact-panel .contact-buttons,
.contact-panel .phone-box {
  max-width: 640px;
  margin-inline: auto;
}

.sub-hero--brand .sub-hero__photo--brand {
  background: var(--paper);
}

.sub-hero--brand .sub-hero__photo--brand img {
  opacity: 0.1;
}

.sub-hero.sub-hero--brand { min-height: 0; }
.sub-hero--brand .sub-hero__body { min-height: 280px; padding-block: 40px; }
.sub-hero--brand h1 { font-size: 30px; }
.sub-hero--brand p,
.section__lead,
.hero__lead { word-break: auto-phrase; }

@media (min-width: 860px) {
  .sub-hero--brand .sub-hero__body { min-height: 340px; padding-block: 56px; }
  .sub-hero--brand h1 { font-size: 42px; }
}

@media (min-width: 860px) {
  .hero--consultation .hero__photo {
    height: 100%;
  }

  .hero--consultation .hero__photo img {
    object-position: center top;
  }

  .hero--consultation .hero__body {
    width: min(100% - 64px, 1180px);
    min-height: 580px;
    justify-content: center;
    margin-inline: auto;
    padding: 56px 0;
  }

  .hero--consultation h1 {
    font-size: 40px;
  }

  .hero__message {
    font-size: 26px;
  }

  .hero--consultation .hero__lead {
    max-width: 33em;
    font-size: 14px;
  }

  .hero--consultation .hero__cta {
    grid-template-columns: 200px 200px;
    max-width: 440px;
  }

  .concept-caption {
    top: auto;
    bottom: 12px;
  }
}

body.admin-bar .mobile-menu {
  top: var(--wp-admin--admin-bar--height, 32px);
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (min-width: 860px) and (max-height: 760px) {
  .hero--consultation .hero__body {
    min-height: 490px;
    padding-block: 36px;
  }
}

@media (max-width: 359px) {
  .hero--consultation h1 {
    font-size: 26px;
  }

  .hero__message {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
