/*
Theme Name: Aplus Custom
Author: Codex
Description: Custom WordPress theme for Aplus LLC.
Version: 1.1.1
Text Domain: aplus-custom
*/

:root {
  --bg: #f6f5f2;
  --ink: #0e0e0e;
  --ink-2: #1d1d1b;
  --muted: #6d6b66;
  --muted-2: #a5a29b;
  --line: #d8d6d1;
  --line-2: #e8e6e1;
  --paper: #ffffff;
  --stone: #eceae4;
  --font-serif: "Cormorant Garamond", "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.65;
  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,
.hero__lead,
.aplus-page-lead,
.single-body {
  line-break: strict;
  overflow-wrap: break-word;
  text-wrap: pretty;
  word-break: normal;
}

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

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

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

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site {
  min-height: 100vh;
  overflow-x: clip;
}

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

.mono {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
}

.serif {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: currentColor;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.wordmark__a {
  font-size: var(--mark-size, 22px);
}

.wordmark__plus {
  display: inline-block;
  margin-left: 1px;
  transform: translateY(-0.12em);
  font-family: var(--font-sans);
  font-size: calc(var(--mark-size, 22px) * 0.7);
  font-style: normal;
  font-weight: 300;
}

.wordmark__name {
  margin-left: 8px;
  font-family: var(--font-sans);
  font-size: calc(var(--mark-size, 22px) * 0.42);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 245, 242, 0.93);
  backdrop-filter: saturate(140%) blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-header__nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.site-header__nav a {
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  font-size: 13px;
  opacity: 0.84;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.site-header__nav a:hover {
  border-bottom-color: var(--ink);
  opacity: 1;
}

.site-header__contact {
  display: inline-flex;
  border: 1px solid var(--ink);
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
  transition: background 160ms ease, color 160ms ease;
}

.site-header__contact:hover {
  background: var(--ink);
  color: var(--bg);
}

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 8px 0;
  color: var(--ink);
}

.menu-button__lines {
  display: grid;
  gap: 4px;
}

.menu-button__lines span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  background: var(--ink);
  color: var(--bg);
  padding: 70px 24px 32px;
}

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

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

.mobile-menu__close {
  border: 0;
  background: transparent;
  color: var(--bg);
}

.mobile-menu nav {
  display: grid;
  margin-top: 48px;
}

.mobile-menu a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 22px 0;
}

.mobile-menu a:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-menu__label {
  font-family: var(--font-serif);
  font-size: clamp(24px, 7.2vw, 28px);
  line-height: 1.35;
  text-wrap: balance;
  word-break: normal;
  word-break: auto-phrase;
}

.hero__image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.hero__image img,
.section-image img,
.card-image img,
.compare-slider__layer img,
.article-thumb img,
.company-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image > img {
  object-position: 72% center;
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(246, 245, 242, 0) 42%, rgba(14, 14, 14, 0.56) 100%);
  pointer-events: none;
}

.hero__meta {
  position: absolute;
  inset: 20px 20px auto;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: #fff;
  mix-blend-mode: difference;
}

.hero__featured {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.72);
}

.hero__copy {
  padding: 40px 20px 0;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 58px;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
}

.hero h1 .muted {
  color: var(--muted);
}

.hero__lead {
  max-width: 34em;
  margin: 28px 0 0;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 2;
}

.hero__lead span {
  border-bottom: 1px solid var(--ink);
}

.cta-grid {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.button-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--ink);
  padding: 17px 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button-link--dark {
  background: var(--ink);
  color: var(--bg);
}

.info-rail {
  display: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  color: var(--muted);
  font-size: 12px;
}

.section-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.section-image .mono {
  position: absolute;
  bottom: 12px;
  left: 14px;
  color: #fff;
}

.section-pad {
  padding: 60px 0 80px;
}

.section-kicker {
  display: block;
  margin-bottom: 12px;
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-title em {
  font-style: italic;
}

.philosophy-list {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.philosophy-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.philosophy-list li:first-child {
  border-top-color: var(--ink);
}

.philosophy-list li:last-child {
  border-bottom: 1px solid var(--ink);
}

.philosophy-list__num {
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
}

.philosophy-list h3,
.service-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  text-wrap: balance;
  word-break: normal;
  word-break: auto-phrase;
}

.philosophy-list p,
.service-card p {
  margin: 6px 0 0;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.85;
}

.services {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.service-grid {
  border: 1px solid var(--line);
  margin-top: 32px;
}

.service-card {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 24px 20px;
}

.service-card:last-child {
  border-bottom: 0;
}

.service-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.service-card h3 {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
}

.before-after {
  background: var(--ink);
  color: var(--bg);
  padding: 100px 0 80px;
}

.before-after .section-title {
  color: var(--bg);
  font-size: clamp(36px, 11vw, 44px);
}

.before-after .section-title em {
  color: #bcbbb7;
}

.before-after__lead {
  margin: 16px 0 0;
  color: #b8b7b3;
  font-size: 12.5px;
  line-height: 1.9;
}

.case-tabs {
  display: flex;
  gap: 6px;
  margin-top: 32px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.case-tab {
  display: grid;
  flex: 0 0 min(86vw, 290px);
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #b8b7b3;
  padding: 14px 16px;
  text-align: left;
}

.case-tab.is-active {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.case-tab__name {
  overflow-wrap: normal;
  color: currentColor;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.2;
  text-wrap: balance;
  word-break: normal;
  word-break: auto-phrase;
}

.case-tab__type {
  color: #8a8985;
  font-size: 10px;
}

.compare {
  width: 100%;
  max-width: 1180px;
  margin: 20px auto 0;
}

.compare-slider {
  --split: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  touch-action: none;
  user-select: none;
}

.compare-slider:focus-within {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.compare-slider__layer {
  position: absolute;
  inset: 0;
}

.compare-slider__layer--after {
  clip-path: inset(0 0 0 var(--split));
}

.compare-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 1px;
  background: #fff;
  pointer-events: none;
  transform: translateX(-0.5px);
}

.compare-slider__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  place-items: center;
  border: 1px solid #fff;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.42);
  color: #fff;
  font-family: var(--font-mono);
}

.compare-slider__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
}

.photo-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--ink);
  color: var(--bg);
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0;
}

.case-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 32px;
  padding-top: 20px;
}

.case-meta dt {
  margin-bottom: 6px;
  color: #8a8985;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.case-meta dd {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
}

.case-gallery {
  display: grid;
  grid-auto-columns: min(76vw, 300px);
  grid-auto-flow: column;
  gap: 10px;
  margin-top: 36px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.case-gallery__item {
  margin: 0;
  scroll-snap-align: start;
}

.case-gallery__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.case-gallery__item figcaption {
  margin-top: 10px;
  color: #8a8985;
}

.button-link--on-dark {
  width: min(100%, 360px);
  border-color: #d8d7d3;
  margin-top: 36px;
  color: var(--bg);
}

.listings {
  padding: 100px 0 80px;
}

.filter-row {
  display: flex;
  gap: 6px;
  margin: 24px 0 20px;
  overflow-x: auto;
}

.filter-button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 9px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0;
}

.filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

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

.listing-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper);
}

.listing-card[hidden] {
  display: none !important;
}

.card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card-image__layer {
  position: absolute;
  inset: 0;
  transition: opacity 300ms ease;
}

.card-image__before {
  opacity: 0;
}

.listing-card.is-flipped .card-image__after {
  opacity: 0;
}

.listing-card.is-flipped .card-image__before {
  opacity: 1;
}

.listing-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}

.listing-card__title-space {
  min-height: 58px;
}

.listing-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.listing-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.listing-card__meta {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding-top: 12px;
}

.listing-card__price {
  margin-top: 2px;
  font-family: var(--font-serif);
  font-size: 20px;
  white-space: nowrap;
}

.listing-card__area {
  text-align: right;
  font-size: 11.5px;
  white-space: nowrap;
}

.listing-card__walk {
  overflow: hidden;
  color: var(--muted);
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tap-note {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  background: rgba(14, 14, 14, 0.72);
  color: var(--bg);
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0;
}

.blog {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 100px 0 80px;
}

.blog-feature {
  display: block;
  margin-top: 32px;
  color: inherit;
  text-decoration: none;
}

.blog-feature h3 {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
}

.blog-feature__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.article-list a,
.article-list__item {
  display: grid;
  align-items: center;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  padding: 18px 0;
  text-decoration: none;
}

.article-thumb {
  overflow: hidden;
  aspect-ratio: 1;
}

.article-list__title {
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.article-list__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.company {
  border-top: 1px solid var(--line);
  padding: 100px 0 80px;
}

.representative {
  border: 1px solid var(--line);
  margin: 24px 0 40px;
  background: var(--paper);
}

.representative__body {
  padding: 22px 20px 24px;
}

.representative__catch {
  margin: 10px 0 14px;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.5;
}

.representative__sign {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 14px;
}

.company-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 28px;
}

.company-photo .mono {
  position: absolute;
  bottom: 12px;
  left: 14px;
  color: #fff;
}

.company-table {
  border-top: 1px solid var(--ink);
  margin: 0;
}

.company-table__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 14px 2px;
}

.company-table dt {
  padding-top: 3px;
}

.company-table dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-line;
}

.contact {
  background: var(--ink);
  color: var(--bg);
  padding: 100px 0 80px;
}

.contact .section-title {
  color: var(--bg);
  font-size: clamp(36px, 11vw, 44px);
}

.contact__lead {
  margin: 16px 0 0;
  color: #d2d1cd;
  font-size: 13px;
  line-height: 1.9;
}

.phone-card {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-top: 28px;
  padding: 20px 22px;
}

.phone-card__number {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: 26px;
}

.phone-card__sub {
  margin-top: 8px;
  color: #8a8985;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.contact-form {
  margin-top: 24px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  color: #8a8985;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  outline: 0;
  background: transparent;
  color: var(--bg);
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  transition: border-color 160ms ease;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: #fff;
}

.form-message {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 24px;
  padding: 36px 20px;
  text-align: center;
}

.contact-form.is-sent .form-message {
  display: block;
}

.contact-form.is-sent .field,
.contact-form.is-sent .contact-form__button {
  display: none;
}

.contact-form__button {
  width: 100%;
  border: 0;
  background: var(--bg);
  color: var(--ink);
  margin-top: 20px;
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
}

.contact-form__button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.contact-form__note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 12px 0 0;
  color: #8a8985;
  font-size: 11px;
  line-height: 1.8;
}

.contact-form__note input {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--bg);
}

.contact-form__note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.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;
}

.form-notice {
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin: 0 0 24px;
  padding: 14px 16px;
  color: var(--bg);
  font-size: 12px;
}

.form-notice--success {
  border-color: #a9c5ad;
}

.form-notice--error {
  border-color: #d7a39d;
}

.media-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 140px;
  place-items: center;
  background: var(--stone);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

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

.empty-state {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 42px 0;
  color: var(--muted);
  font-size: 13px;
  text-wrap: balance;
  word-break: normal;
  word-break: auto-phrase;
}

.company-table dd,
.aplus-page-card h3,
.footer-links a,
.footer-links span {
  overflow-wrap: break-word;
}

.company-table dd.u-email,
.aplus-page-card h3.u-email {
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 48px 20px 24px;
}

.site-footer p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.footer-links a {
  font-size: 12px;
  opacity: 0.85;
}

.footer-links span:not(.mono) {
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom {
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 16px;
}

.aplus-page-hero {
  border-bottom: 1px solid var(--line);
}

.aplus-page-hero__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--stone);
}

.aplus-page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.18);
}

.aplus-page-hero__image .mono {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: var(--paper);
}

.aplus-page-hero__body {
  padding: 44px 20px 52px;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 18px;
}

.aplus-page-hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(42px, 13vw, 56px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.08;
  text-wrap: balance;
}

.aplus-page-hero p,
.aplus-page-lead,
.aplus-page-cta p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.aplus-page-hero p {
  max-width: 34em;
  margin: 24px 0 0;
}

.aplus-page-section {
  padding: 72px 0;
}

.aplus-page-section--dark {
  background: var(--ink);
  color: var(--bg);
}

.aplus-page-section--dark .section-title,
.aplus-page-section--dark h3 {
  color: var(--bg);
}

.aplus-page-section--dark p {
  color: #bebcb6;
}

.aplus-page-layout {
  display: grid;
  gap: 32px;
}

.aplus-page-layout > *,
.aplus-page-cards,
.aplus-page-card {
  min-width: 0;
}

.aplus-page-cards {
  display: grid;
  border-top: 1px solid var(--ink);
}

.aplus-page-card {
  border-bottom: 1px solid var(--line);
  color: inherit;
  padding: 24px 0;
  text-decoration: none;
}

.aplus-page-card[href]:hover h3,
.blog-feature:hover h3,
.article-list__item:hover .article-list__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.aplus-page-card h3,
.aplus-flow-list h3 {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  text-wrap: balance;
  word-break: normal;
  word-break: auto-phrase;
}

.aplus-page-card p,
.aplus-flow-list p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.aplus-flow-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.aplus-flow-list article {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 24px 0;
}

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

.single-hero__image {
  position: relative;
  min-height: 340px;
}

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

.single-hero__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 20px 64px;
}

.single-hero__body h1 {
  margin: 18px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(42px, 13vw, 54px);
  font-weight: 300;
  line-height: 1.08;
  text-wrap: balance;
}

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

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

.single-gallery {
  display: grid;
  gap: 18px;
}

.single-gallery article {
  border-top: 1px solid var(--ink);
  padding-top: 12px;
}

.single-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-top: 10px;
}

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

.single-summary dl {
  margin: 20px 0 28px;
}

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

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

.single-summary dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
}

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

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

.aplus-page-cta {
  border-top: 1px solid var(--line);
  padding: 72px 0;
}

.aplus-page-cta .container {
  display: grid;
  gap: 28px;
}

@media (min-width: 600px) {
  .case-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    width: min(1360px, calc(100% - 64px));
  }

  .site-header__inner {
    height: 76px;
  }

  .site-header__nav {
    display: flex;
  }

  .menu-button {
    display: none;
  }

  .hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: calc(100vh - 76px);
    border-bottom: 1px solid var(--line);
  }

  .hero__image {
    order: 2;
    min-height: calc(100vh - 76px);
    aspect-ratio: auto;
  }

  .hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(48px, 6vw, 72px);
  }

  .hero h1 {
    font-size: 88px;
  }

  .hero__lead {
    max-width: 520px;
    font-size: 15px;
  }

  .cta-grid {
    grid-template-columns: max-content max-content;
    margin-top: 40px;
  }

  .info-rail {
    display: block;
  }

  .info-rail__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .info-rail__group {
    display: flex;
    gap: 28px;
  }

  .section-pad,
  .listings,
  .blog,
  .company,
  .contact,
  .before-after {
    padding-right: 0;
    padding-left: 0;
  }

  .philosophy .container,
  .company__grid,
  .contact__grid {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: clamp(48px, 6vw, 80px);
    align-items: start;
  }

  .section-title {
    font-size: 56px;
  }

  .philosophy-list {
    margin-top: 0;
  }

  .philosophy-list li {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 40px;
    padding: 42px 0;
  }

  .services__head,
  .listings__head,
  .blog__head,
  .before-after__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 56px;
  }

  .service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
  }

  .service-card {
    min-height: 320px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    padding: 44px 32px 40px;
  }

  .service-card:last-child {
    border-right: 0;
  }

  .before-after .section-title,
  .contact .section-title {
    font-size: 72px;
  }

  .before-after__lead {
    max-width: 380px;
  }

  .case-tabs {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    gap: 0;
    overflow: visible;
  }

  .case-tab {
    flex: 1;
    min-width: 0;
    border-width: 0 1px 0 0;
    padding: 22px 24px;
    text-align: left;
  }

  .case-tab__name {
    font-size: 21px;
  }

  .case-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
  }

  .case-gallery {
    grid-auto-flow: initial;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    overflow: visible;
  }

  .listings {
    padding-top: 140px;
  }

  .listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--ink);
    border-left: 1px solid var(--line);
  }

  .listing-card {
    border-top: 0;
    border-left: 0;
  }

  .blog__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
  }

  .blog-feature {
    margin-top: 0;
  }

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

  .single-hero__body {
    padding: clamp(48px, 5vw, 72px);
  }

  .single-hero__body h1 {
    font-size: clamp(54px, 6vw, 72px);
  }

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

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

  .representative {
    margin-top: 0;
  }

  .company-table__row {
    grid-template-columns: 200px 1fr;
    gap: 32px;
    padding: 22px 4px;
  }

  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }

  .aplus-page-hero {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    min-height: 560px;
  }

  .aplus-page-hero__image {
    order: 2;
    min-height: 560px;
    aspect-ratio: auto;
  }

  .aplus-page-hero__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(48px, 5vw, 72px);
  }

  .aplus-page-hero h1 {
    font-size: clamp(56px, 5.8vw, 76px);
  }

  .aplus-page-layout {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: clamp(48px, 6vw, 80px);
    align-items: start;
  }

  .aplus-page-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 1px solid var(--line);
  }

  .aplus-page-card {
    min-height: 220px;
    border-right: 1px solid var(--line);
    padding: 32px;
  }

  .aplus-flow-list article {
    display: grid;
    grid-template-columns: 72px 0.8fr 1fr;
    gap: 28px;
    align-items: baseline;
    padding: 28px 0;
  }

  .aplus-flow-list h3,
  .aplus-flow-list p {
    margin-top: 0;
  }

  .aplus-page-cta .container {
    grid-template-columns: 1fr max-content;
    align-items: end;
  }

  .phone-card {
    max-width: 460px;
  }

  .contact-form {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    margin-top: 0;
    padding: 40px;
  }

  .site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 56px;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 0;
    padding-top: 28px;
  }

}

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
