/* Corner House: open ledger, folded dark chapter, contact sheet, closing corner. */
.about-section { display: grid; grid-template-columns: 1fr 2.2fr; gap: 24px 72px; padding-block: 48px 112px; }
.about-label { grid-row: span 2; padding-top: 8px; }
.about-label h2 { font: 600 22px/1.7 var(--body); }
.about-label p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.about-statement { max-width: 820px; font: 800 clamp(26px, 2.8vw, 38px)/1.85 var(--heading); color: var(--petroleum); }
.about-detail { max-width: 650px; color: var(--muted); font-size: 18px; }
.services-section { max-width: none; padding: 0 0 96px; }
.chapter-index { max-width: calc(var(--content) + 2 * var(--page-pad)); margin-inline: auto; padding: 0 var(--page-pad) 32px; margin-bottom: 0; }
.chapter-index h2 { font-size: clamp(24px, 2.4vw, 32px); }
.service-chapter { display: grid; grid-template-columns: 150px minmax(0, 1.9fr) minmax(220px, .85fr); gap: clamp(32px, 4vw, 64px); position: relative; padding: 56px max(var(--page-pad), calc((100vw - var(--content)) / 2)); }
.property-chapter { border-block: 1px solid var(--line); }
.chapter-heading { display: flex; flex-direction: column; gap: 12px; }
.chapter-number { font-family: var(--body); font-size: 16px; line-height: 1.4; direction: ltr; text-align: start; }
.chapter-heading p { font-size: 15px; line-height: 1.7; }
.chapter-body h3 { font-size: clamp(30px, 3.1vw, 46px); line-height: 1.7; color: var(--petroleum); }
.chapter-body h3 span { display: block; }
.chapter-body > p { max-width: 540px; margin-top: 24px; font-size: 18px; color: var(--muted); }
.chapter-link { display: inline-flex; align-items: center; gap: 28px; min-height: 48px; margin-top: 28px; border-bottom: 1px solid currentColor; color: var(--petroleum); font-size: 17px; }
.chapter-link:hover { gap: 36px; }
.chapter-details { display: flex; flex-direction: column; align-self: end; gap: 24px; margin: 0 0 4px; }
.chapter-details > div { padding-top: 12px; border-top: 1px solid var(--line); }
.chapter-details dt { font-size: 18px; font-weight: 600; }
.chapter-details dd { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.contracting-chapter { background: var(--petroleum); color: var(--limestone); padding-block: 72px; margin-block: 32px 0; }
.contracting-chapter::after { content: ''; position: absolute; width: 48px; height: 48px; top: 0; inset-inline-end: 0; background: var(--limestone); clip-path: polygon(0 0, 100% 0, 100% 100%); }
html[dir='ltr'] .contracting-chapter::after { transform: scaleX(-1); }
.contracting-chapter h3, .contracting-chapter .chapter-link { color: var(--limestone); }
.contracting-chapter .chapter-body > p, .contracting-chapter .chapter-details dd { color: #cbd5d0; }
.contracting-chapter .chapter-number { color: var(--cyan); }
.contracting-chapter .chapter-details > div { border-color: rgba(244, 241, 232, .32); }
.contracting-chapter a:focus-visible { outline-color: var(--limestone); }
.contracting-chapter .chapter-link:hover { color: var(--cyan); }
.inquiry-section { max-width: calc(var(--content) + 2 * var(--page-pad)); margin-inline: auto; padding: 64px var(--page-pad) 0; grid-template-columns: 150px 1fr; gap: clamp(32px, 4vw, 64px); }
.inquiry-section > h3 { color: var(--petroleum); font-size: 17px; }
.inquiry-flow { gap: 32px; }
.inquiry-flow li { padding-top: 0; border: 0; }
.inquiry-flow li::before { display: none; }
.inquiry-flow .step-number { display: block; font-size: 13px; font-weight: 600; color: var(--petroleum); border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 20px; direction: ltr; text-align: start; }
.inquiry-flow .step-number::after { content: ''; display: block; width: 7px; height: 7px; background: var(--cyan); position: absolute; top: 33px; inset-inline-start: 0; }
.inquiry-flow strong { font-size: 20px; }
.inquiry-flow p { color: var(--muted); font-size: 16px; }
.gallery-section { padding-bottom: 104px; }
.gallery-section .section-heading { padding-top: 32px; border-top: 1px solid var(--line); margin-bottom: 40px; }
.gallery-layout { gap: clamp(32px, 6vw, 88px); grid-template-columns: 1.8fr 1fr; }
.gallery-landscape { margin-inline-end: 0; }
.gallery-portrait { padding-top: 120px; }
.gallery-layout figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 16px; font-size: 15px; }
.gallery-layout figcaption > figcaption { border: 0; padding: 0; margin: 0; }
.photo-number { font-size: 12px; direction: ltr; color: var(--petroleum); }
.contact-section { position: relative; background: transparent; color: var(--petroleum); border-top: 1px solid var(--line); padding-block: 72px 80px; gap: clamp(48px, 7vw, 104px); }
.contact-section::after { content: ''; width: 32px; height: 32px; border-inline-end: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); position: absolute; bottom: 32px; inset-inline-end: var(--page-pad); }
.contact-lead h2 { font-size: clamp(36px, 3.9vw, 58px); line-height: 1.6; }
.contact-lead h2 span { display: block; }
.contact-lead > p { color: var(--muted); margin-top: 24px; }
.contact-lead .button { background: var(--petroleum); color: var(--limestone); }
.contact-lead .button:hover { background: var(--charcoal); }
.contact-person { border-bottom-color: var(--line); }
.contact-person h3 { color: var(--muted); font-size: 16px; }
.phone-links a { font-size: clamp(23px, 2.2vw, 30px); font-weight: 600; }
.phone-links a:hover { color: var(--petroleum); text-decoration: underline; text-underline-offset: 6px; }
.contact-address p { color: var(--muted); }
.contact-section a:focus-visible { outline-color: var(--petroleum); }
.contact-section .text-link:hover { color: var(--petroleum); }
.site-footer { max-width: none; background: var(--petroleum); color: var(--limestone); padding-inline: max(var(--page-pad), calc((100vw - var(--content)) / 2)); }
.site-footer a:focus-visible { outline-color: var(--limestone); }

/* One entrance sequence and a cyan seam reveal; content is never hidden. */
@keyframes corner-copy-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes corner-art-arrive { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: corner-copy-arrive 600ms cubic-bezier(.16, 1, .3, 1) both; }
  .hero-visual { animation: corner-art-arrive 800ms 80ms cubic-bezier(.16, 1, .3, 1) both; }
  .chapter-details > div { position: relative; }
  .chapter-details > div::before { content: ''; width: 24px; height: 1px; background: var(--cyan); position: absolute; top: -1px; inset-inline-start: 0; transform: scaleX(0); transform-origin: right; transition: transform 480ms ease; }
  html[dir='ltr'] .chapter-details > div::before { transform-origin: left; }
  .is-visible .chapter-details > div::before { transform: scaleX(1); }
  .is-visible .chapter-details > div:nth-child(2)::before { transition-delay: 90ms; }
  .is-visible .chapter-details > div:nth-child(3)::before { transition-delay: 180ms; }
}
@media (max-width: 1100px) {
  .service-chapter { grid-template-columns: 105px minmax(0, 1.6fr) minmax(180px, .85fr); gap: 32px; }
  .chapter-body h3 { font-size: 34px; }
  .inquiry-section { grid-template-columns: 105px 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .about-section { grid-template-columns: 1fr 2fr; gap: 24px 32px; }
  .service-chapter { grid-template-columns: 85px minmax(0, 1fr); gap: 24px 32px; }
  .chapter-heading { grid-row: span 2; }
  .chapter-details { grid-column: 2; flex-direction: row; gap: 24px; align-self: start; margin-top: 8px; }
  .chapter-details > div { flex: 1; }
  .chapter-details dt { font-size: 16px; }
  .chapter-details dd { font-size: 14px; }
  .inquiry-section { grid-template-columns: 85px 1fr; gap: 32px; }
  .inquiry-flow { gap: 20px; }
  .inquiry-flow strong { font-size: 18px; }
  .gallery-portrait { padding-top: 72px; }
}
@media (max-width: 680px) {
  .about-section { display: block; padding-block: 32px 64px; }
  .about-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0; margin-bottom: 24px; }
  .about-label h2 { font-size: 19px; }
  .about-label p { font-size: 12px; margin: 0; }
  .about-statement { font-size: 26px; line-height: 1.8; }
  .about-detail { font-size: 17px; margin-top: 20px; }
  .services-section { padding-bottom: 56px; }
  .chapter-index { padding-bottom: 24px; }
  .chapter-index h2 { font-size: 27px; }
  .chapter-index p { font-size: 16px; }
  .service-chapter { display: block; padding-block: 32px 40px; }
  .chapter-heading { flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
  .chapter-heading p { font-size: 14px; }
  .chapter-number { font-size: 14px; }
  .chapter-body h3 { font-size: clamp(23px, 6.8vw, 31px); line-height: 1.85; }
  .chapter-body > p { font-size: 17px; margin-top: 20px; }
  .chapter-link { margin-top: 20px; font-size: 16px; gap: 24px; }
  .chapter-details { display: flex; margin-top: 32px; gap: 14px; }
  .chapter-details dt { font-size: 15px; }
  .chapter-details dd { font-size: 14px; line-height: 1.85; }
  .contracting-chapter { margin-top: 24px; padding-block: 40px; }
  .contracting-chapter::after { width: 28px; height: 28px; }
  .inquiry-section { display: block; padding-top: 40px; }
  .inquiry-section > h3 { margin-bottom: 24px; }
  .inquiry-flow { display: block; }
  .inquiry-flow li { padding-inline-start: 42px; padding-bottom: 24px; border-inline-start: 1px solid var(--line); }
  .inquiry-flow li:last-child { border-inline-start-color: transparent; padding-bottom: 0; }
  .inquiry-flow .step-number { position: absolute; inset-inline-start: -14px; top: 0; width: 28px; height: 28px; display: grid; place-items: center; background: var(--limestone); border: 1px solid var(--line); padding: 0; margin: 0; font-size: 11px; }
  .inquiry-flow .step-number::after { display: none; }
  .inquiry-flow strong { font-size: 19px; }
  .inquiry-flow p { font-size: 16px; }
  .gallery-section { padding-bottom: 56px; }
  .gallery-section .section-heading { padding-top: 28px; margin-bottom: 32px; }
  .gallery-layout { display: block; }
  .gallery-portrait { width: 80%; margin-inline-start: auto; padding-top: 0; margin-top: 32px; }
  .gallery-layout figcaption { font-size: 14px; }
  .contact-section { padding-block: 40px 64px; gap: 36px; }
  .contact-lead h2 { font-size: clamp(28px, 8vw, 38px); line-height: 1.75; }
  .contact-lead > p { font-size: 17px; margin-top: 16px; }
  .contact-info { border-top: 1px solid var(--line); padding-top: 32px; }
  .phone-links a { font-size: 25px; }
  html[lang='en'] .chapter-body h3 { font-size: 29px; line-height: 1.4; }
  html[lang='en'] .about-statement { font-family: var(--body); font-weight: 600; font-size: 29px; line-height: 1.55; }
  html[lang='en'] .contact-lead h2 { font-size: 34px; line-height: 1.4; }
}
