/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 */
/* Hallmark · macrostructure: reference-led photographic sequence · tone: calm utilitarian · anchor hue: water blue */
/* Design read: local building owners/managers · use: contact for inspection · dials: variance 4 / motion 1 / density 5 */
.hero {
  position: relative;
  height: min(810px, 90svh);
  min-height: 680px;
  overflow: hidden;
  background: var(--color-water-deep);
}
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center 63%; }
.hero-message { position: absolute; top: 24%; right: 9%; display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 13px; }
.hero-message h1 { display: flex; gap: 13px; margin: 0; font-size: clamp(1.08rem, 1.55vw, 1.36rem); font-weight: 500; line-height: 1.25; letter-spacing: .16em; }
.hero-message h1 span, .hero-message p span { display: block; width: max-content; padding: 14px 9px; writing-mode: vertical-rl; background: var(--color-nav); }
.hero-message p { margin: 0; font-size: clamp(.9rem, 1.3vw, 1.12rem); letter-spacing: .15em; }
.hero-image-note { position: absolute; left: 20px; bottom: 10px; margin: 0; padding: 3px 7px; background: var(--color-nav); font-size: .7rem; }
.detail-section { position: relative; overflow: hidden; padding: 250px 0 198px; background: var(--color-water-deep); }
.detail-watermark { position: absolute; top: -44px; left: 0; width: 100%; overflow: hidden; font-size: clamp(5rem, 13vw, 14rem); font-weight: 700; letter-spacing: .04em; line-height: 1; color: var(--color-rule); text-align: center; white-space: nowrap; pointer-events: none; }
.detail-section .container { position: relative; }
.detail-section .section-heading { margin-bottom: 62px; }
.commitment-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 30px; row-gap: 50px; }
.commitment-card { min-width: 0; }
.commitment-card figure { overflow: hidden; aspect-ratio: 1.43; background: var(--color-water-dark); }
.commitment-card img { width: 100%; height: 100%; object-fit: cover; }
.commitment-card:nth-child(3) img, .commitment-card:nth-child(6) img { object-position: 72% center; }
.commitment-card:nth-child(7) img { object-position: 25% center; }
.commitment-card h3 { margin: 18px 0 8px; font-size: .98rem; text-align: center; }
.commitment-card p { margin: 0; font-size: .82rem; line-height: 1.62; }
.gallery-note { margin: 34px 0 0; text-align: center; }
.plans-section { padding: 180px 0 180px; background: var(--color-water); }
.plans-section .section-heading { margin-bottom: 62px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 70px; row-gap: 100px; }
.service-card { min-width: 0; }
.service-card figure { overflow: hidden; aspect-ratio: .73; background: var(--color-water-mid); }
.service-card img { width: 100%; height: 100%; object-fit: cover; }
.service-card:nth-child(1) img, .service-card:nth-child(6) img { object-position: 75% center; }
.service-card:nth-child(4) img { object-position: 55% center; }
.service-card h3 { margin: 16px 0 0; font-size: 1rem; text-align: center; }
.service-more { margin: 62px 0 0; text-align: center; }
.service-more a, .more-link a { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.site-media { padding: 135px 24px 119px; background-color: var(--color-water-deep); background-image: linear-gradient(var(--color-rule) 1px, transparent 1px), linear-gradient(90deg, var(--color-rule) 1px, transparent 1px); background-size: 80px 80px; }
.media-panel { position: relative; width: min(100%, 750px); margin-inline: auto; aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-water-dark); }
.media-panel img { width: 100%; height: 100%; object-fit: cover; }
.media-copy { position: absolute; inset: auto 0 0; padding: 70px 32px 25px; background: linear-gradient(transparent, var(--color-overlay)); }
.media-copy h2 { margin: 0 0 5px; font-size: clamp(1.45rem, 2.4vw, 2.15rem); }
.media-copy p { margin: 0; font-size: .88rem; }
.site-media .visual-note { width: min(100%, 750px); margin: 10px auto 0; }
.process-section { padding: 160px 0 168px; background: var(--color-water-dark); }
.process-section .section-heading { margin-bottom: 62px; }
.process-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; }
.process-strip img { width: 100%; height: 180px; object-fit: cover; }
.process-strip img:first-child { object-position: 70% center; }
.process-list { margin: 54px 0 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 46px minmax(0, 240px) minmax(0, 1fr); align-items: baseline; gap: 24px; padding: 22px 10px; border-bottom: 1px solid var(--color-rule); }
.process-list li:first-child { border-top: 1px solid var(--color-rule); }
.process-no { font-size: .76rem; font-variant-numeric: lining-nums; color: var(--color-white-muted); }
.process-list h3 { margin: 0; font-size: .98rem; }
.process-list p { margin: 0; font-size: .87rem; }
.photo-call { position: relative; display: grid; place-items: center; height: 450px; overflow: hidden; background: var(--color-water-dark); }
.photo-call img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.photo-call .button { position: relative; z-index: 1; box-shadow: 0 6px 30px var(--color-shadow); }
.photo-call .visual-note { position: absolute; z-index: 1; left: 18px; bottom: 12px; margin: 0; padding: 3px 7px; background: var(--color-nav); }
.area-section { padding: 118px 0 122px; background: var(--color-water-deep); }
.area-section .section-heading { margin-bottom: 48px; }
.area-section .section-heading p:last-child { margin: 0; }
.area-map { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; height: 520px; padding: 8%; overflow: hidden; border: 1px solid var(--color-rule); background: var(--color-water-mid); }
.area-map::before { position: absolute; inset: 0; content: ''; background-image: linear-gradient(var(--color-rule) 1px, transparent 1px), linear-gradient(90deg, var(--color-rule) 1px, transparent 1px); background-size: 56px 56px; opacity: .32; }
.area-map-line { position: absolute; top: 50%; left: 10%; right: 10%; height: 2px; background: var(--color-white); }
.area-map-point { position: relative; display: grid; place-items: center; width: 120px; height: 120px; margin-inline: auto; border: 2px solid var(--color-white); border-radius: 50%; background: var(--color-water-deep); font-weight: 700; }
.area-map-point--base { width: 180px; height: 180px; align-content: center; gap: 4px; background: var(--color-water-dark); }
.area-map-point--base small { font-size: .75rem; }
.area-map-point--base strong { font-size: 1.45rem; }
.area-note { margin: 16px 0 0; font-size: .8rem; text-align: center; }
.faq-preview-section { padding: 120px 0 128px; background: var(--color-water-dark); }
.faq-preview { max-width: var(--measure); }
.faq-preview .section-heading { margin-bottom: 46px; text-align: left; }
.faq-preview details { border-bottom: 1px solid var(--color-rule); }
.faq-preview details:first-of-type { border-top: 1px solid var(--color-rule); }
.faq-preview summary { position: relative; padding: 24px 52px 24px 0; cursor: pointer; list-style: none; font-weight: 700; }
.faq-preview summary::-webkit-details-marker { display: none; }
.faq-preview summary::after { position: absolute; right: 8px; content: '+'; font-size: 1.4rem; line-height: 1; }
.faq-preview details[open] summary::after { content: '−'; }
.faq-preview details p { margin: 0; padding: 16px 52px 24px 0; font-size: .9rem; }
.faq-preview .more-link { margin: 34px 0 0; }
@media (max-width: 1000px) {
  .commitment-grid { column-gap: 18px; }
  .service-grid { column-gap: 28px; }
}
@media (max-width: 800px) {
  .hero { height: min(720px, 85svh); min-height: 540px; }
  .hero-message { right: 5%; }
  .commitment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { column-gap: 20px; }
  .process-list li { grid-template-columns: 40px minmax(0, 150px) minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 600px) {
  .hero { height: auto; min-height: 0; }
  .hero-image { height: 220px; object-position: center 54%; }
  .hero-message { position: relative; top: auto; right: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 270px; padding: 68px 8px 60px; background: var(--color-water-deep); }
  .hero-message h1 { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .94rem; letter-spacing: .11em; }
  .hero-message h1 span, .hero-message p span { padding: 4px 8px; writing-mode: horizontal-tb; }
  .hero-message p { margin: 0; font-size: .91rem; letter-spacing: .09em; }
  .hero-image-note { top: 190px; bottom: auto; left: 8px; font-size: .62rem; }
  .detail-section { padding: 82px 0 90px; }
  .detail-watermark { top: 3px; font-size: 5.3rem; }
  .detail-section .section-heading { margin-bottom: 36px; }
  .commitment-grid { gap: 27px 18px; }
  .commitment-card figure { aspect-ratio: 1.08; }
  .commitment-card h3 { margin: 12px 0 6px; font-size: .83rem; line-height: 1.5; }
  .commitment-card p { font-size: .8rem; line-height: 1.56; }
  .gallery-note { margin-top: 28px; text-align: left; }
  .plans-section { padding: 80px 0 92px; }
  .plans-section .section-heading { margin-bottom: 36px; }
  .service-grid { gap: 30px 10px; }
  .service-card figure { aspect-ratio: .72; }
  .service-card h3 { margin-top: 9px; font-size: .8rem; line-height: 1.4; }
  .service-more { margin-top: 40px; }
  .site-media { padding: 10px 10px 8px; background-size: 42px 42px; }
  .media-panel { aspect-ratio: 16 / 9; }
  .media-copy { padding: 64px 15px 16px; }
  .media-copy h2 { font-size: 1.25rem; }
  .media-copy p { font-size: .77rem; }
  .process-section { padding: 80px 0 90px; }
  .process-section .section-heading { margin-bottom: 38px; }
  .process-strip { gap: 7px; }
  .process-strip img { height: 100px; }
  .process-list { margin-top: 28px; }
  .process-list li { grid-template-columns: 30px minmax(0, 1fr); gap: 3px 12px; padding: 34px 0; }
  .process-list p { grid-column: 2; font-size: .82rem; }
  .photo-call { height: 406px; }
  .photo-call img { object-position: 62% center; }
  .area-section { padding: 20px 0; }
  .area-section .section-heading { margin-bottom: 10px; }
  .area-map { height: 190px; padding: 14px; }
  .area-map-line { left: 9%; right: 9%; }
  .area-map-point { width: 76px; height: 76px; font-size: .78rem; }
  .area-map-point--base { width: 110px; height: 110px; }
  .area-map-point--base strong { font-size: 1rem; }
  .area-note { margin-top: 8px; }
  .faq-preview-section { padding: 80px 0 88px; }
}
@media (max-width: 350px) {
  .hero-message h1 { font-size: .86rem; }
  .commitment-grid { gap: 24px 12px; }
  .commitment-card h3 { font-size: .78rem; }
  .commitment-card p { font-size: .78rem; }
  .area-map-point { width: 68px; height: 68px; }
  .area-map-point--base { width: 100px; height: 100px; }
}

/* Motion matches the reference's hero, moving type, picture strip and staged sections. */
.hero-slides { position: absolute; inset: 0 0 48px; overflow: hidden; }
.hero-slides .hero-image { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.hero-slides .hero-image:first-child { opacity: 1; }
.hero-slides.is-enhanced .hero-image { opacity: 0; }
.hero-slides.is-enhanced .hero-image.is-active { opacity: 1; }
.hero-message, .hero-image-note { z-index: 1; }
.hero-image-note { bottom: 58px; }
.hero-controls { display: none; position: absolute; z-index: 2; bottom: 0; left: 0; width: 100%; height: 48px; align-items: center; justify-content: center; gap: 4px; }
.hero-controls.is-enhanced { display: flex; }
.hero-controls button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hero-controls button::before { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--color-white); content: ''; opacity: .5; }
.hero-controls button[aria-current="true"]::before { opacity: 1; }
.detail-watermark span { display: block; width: max-content; }
.process-strip-track { display: contents; }
.process-strip.is-moving { display: block; overflow: hidden; }
.process-strip.is-moving .process-strip-track { display: flex; width: max-content; gap: 25px; padding-right: 25px; }
.process-strip.is-moving img { flex: none; width: min(21vw, 270px); }
@media (max-width: 600px) {
  .hero-slides { position: relative; inset: auto; height: 220px; }
  .hero-slides .hero-image { height: 100%; }
  .hero-controls { position: relative; height: 44px; }
  .hero-image-note { top: 190px; bottom: auto; }
  .process-strip.is-moving .process-strip-track { gap: 7px; padding-right: 7px; }
  .process-strip.is-moving img { width: 44vw; height: 120px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-slides.is-enhanced .hero-image { transition: opacity 1s ease; }
  .site-ready .hero-message h1 span:first-child { animation: hero-text-in .75s .15s both; }
  .site-ready .hero-message h1 span:nth-child(2) { animation: hero-text-in .75s .34s both; }
  .site-ready .hero-message p { animation: hero-text-in .75s .53s both; }
  .site-ready .detail-watermark span { animation: watermark-drift 45s linear infinite; }
  .process-strip.is-moving .process-strip-track { animation: strip-drift 28s linear infinite; }
  .process-strip.is-moving:hover .process-strip-track { animation-play-state: paused; }
  .area-map.motion-rise .area-map-line { transform: scaleX(0); transform-origin: left; }
  .area-map.motion-rise.is-visible .area-map-line { transform: scaleX(1); transition: transform 1s .35s cubic-bezier(.16,1,.3,1); }
  .area-map.motion-rise .area-map-point { opacity: 0; transform: scale(.75); }
  .area-map.motion-rise.is-visible .area-map-point { opacity: 1; transform: none; transition: opacity .55s .65s, transform .55s .65s cubic-bezier(.16,1,.3,1); }
  .area-map.motion-rise.is-visible .area-map-point--base { transition-delay: .8s; }
  .area-map.motion-rise.is-visible .area-map-point:last-child { transition-delay: .95s; }
  @keyframes hero-text-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  @keyframes watermark-drift { to { transform: translateX(-50%); } }
  @keyframes strip-drift { to { transform: translateX(-50%); } }
  @supports (animation-timeline: view()) {
    .photo-call { view-timeline-name: --photo; view-timeline-axis: block; }
    .photo-call img { top: -8%; height: 116%; animation: photo-drift linear both; animation-timeline: --photo; animation-range: entry 0% exit 100%; }
    @keyframes photo-drift { from { transform: translateY(-5%); } to { transform: translateY(5%); } }
  }
}
