@font-face {
  font-family: Anuphan;
  src: url('assets/Anuphan.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #0c2b3c;
  --navy-deep: #082330;
  --orange: #f7731c;
  --ink: #102e40;
  --muted: #607282;
  --line: #dce3e8;
  --soft: #f3f5f7;
  --gutter: 16px;
  --appbar-height: 56px;
  --nav-height: 64px;
  --duration: 200ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--appbar-height) + env(safe-area-inset-top) + 8px);
  background: white;
  scrollbar-width: none;
}

html::-webkit-scrollbar { width: 0; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Anuphan, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 16px);
  -webkit-tap-highlight-color: transparent;
}

body.modal-open {
  overflow: hidden;
}

button,
a,
summary {
  touch-action: manipulation;
}

button {
  font: inherit;
  cursor: pointer;
}

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

button,
a,
summary {
  outline-offset: 4px;
}

:focus-visible {
  outline: 3px solid #2889bd;
}

button:disabled {
  cursor: not-allowed;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.035em;
}

h3 {
  font-size: 16px;
  line-height: 1.5;
}

.svg-definitions,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 100;
  inset: 8px auto auto 8px;
  padding: 8px 16px;
  background: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.appbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: calc(var(--appbar-height) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--gutter) 0;
  background: var(--navy);
  color: white;
  border-bottom: 1px solid #ffffff1c;
}

.wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  line-height: 1.15;
  flex-shrink: 0;
}

.wordmark b {
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -.025em;
}

.wordmark small {
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: .17em;
  color: #c7d6df;
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: var(--orange);
  color: var(--navy-deep);
  font-weight: 650;
  font-size: 13px;
}

.header-action svg {
  width: 18px;
  height: 18px;
}

.section {
  padding: 32px var(--gutter);
  scroll-margin-bottom: calc(var(--nav-height) + 16px);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.eyebrow {
  color: var(--orange);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .13em;
  line-height: 1.5;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 6px 0 10px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 14px;
}

.orange-rule {
  display: block;
  width: 36px;
  height: 3px;
  background: var(--orange);
}

.hero {
  padding-top: 16px;
  padding-bottom: 28px;
  background: var(--navy-deep);
  color: white;
}

.hero-photo-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #213e4c;
}

.hero-photo-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
}

.hero-photo-button img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: 65% 61%;
}

.photo-expand {
  position: absolute;
  right: 8px;
  top: 8px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0c2b3cc9;
}

.photo-expand svg {
  width: 16px;
  height: 16px;
}

.photo-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  pointer-events: none;
  padding: 3px 8px;
  background: #0c2b3cdd;
  border: 1px solid #ffffff28;
  border-radius: 6px;
  font-size: 10px;
}

.hero-copy {
  margin-top: 20px;
}

.hero-copy h1 {
  margin-top: 6px;
  font-size: 28px;
}

.hero-copy .orange-rule {
  margin: 12px 0;
}

.hero-copy > p:last-of-type {
  color: #c2d0d9;
  font-size: 14px;
}

.hero-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  transition: transform var(--duration), background var(--duration);
}

.action.primary {
  background: var(--orange);
  color: var(--navy-deep);
}

.action.outlined {
  border-color: #b8c9d4;
  color: white;
  background: transparent;
}

.action.pill {
  border-radius: 999px;
}

.action-arrow {
  margin-left: auto;
  width: 18px;
  height: 18px;
}

.action > span {
  flex: 1;
  text-align: left;
}

.action:active,
.header-action:active,
.icon-button:active {
  transform: scale(.98);
}

.issues {
  display: grid;
  gap: 10px;
}

.issue {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.issue[open] {
  border-color: #c7d1db;
}

.issue summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 14px 12px;
  cursor: pointer;
  list-style: none;
  border-radius: 14px;
}

.issue summary::-webkit-details-marker {
  display: none;
}

.issue-icon {
  width: 34px;
  height: 34px;
  color: var(--orange);
}

.issue-label {
  min-width: 0;
  flex: 1;
}

.issue-label strong {
  display: block;
  font-size: 19px;
  line-height: 1.4;
}

.issue-label > span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.disclosure-arrow {
  color: #778593;
  transform: rotate(90deg);
  transition: transform var(--duration);
  width: 18px;
  height: 18px;
}

.issue[open] .disclosure-arrow {
  transform: rotate(-90deg);
  color: var(--orange);
}

.issue-body {
  margin: 0 12px;
  padding: 12px 0 14px;
  border-top: 1px solid var(--line);
}

.issue-detail-grid {
  display: grid;
  grid-template-columns: 36% minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.issue-body h3 {
  font-size: 14px;
}

.detail-photo {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--soft);
}

.detail-photo img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  object-position: 50% 45%;
}

.orange-bullets {
  padding-left: 17px;
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.orange-bullets li + li {
  margin-top: 5px;
}

.orange-bullets li::marker {
  color: var(--orange);
}

.roof-location {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.roof-location h3 {
  color: #a94207;
}

.roof-explainer {
  margin: 5px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eef2f5;
}

.roof-explainer > img {
  display: block;
  width: 100%;
  height: clamp(140px, 42vw, 260px);
  object-fit: cover;
  object-position: 50% 38%;
}

.roof-location-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 7px 10px;
  color: var(--muted);
  background: var(--soft);
  font-size: 11px;
  line-height: 1.4;
}

.roof-location-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.roof-location-legend span::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--orange);
  content: "";
}

.roof-legend-cap::before {
  border-radius: 2px;
  transform: rotate(45deg);
}

.roof-legend-seam::before {
  border-radius: 50%;
}

.small-note {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 14px;
}

.work {
  background: var(--navy-deep);
  color: white;
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #54758a;
  padding-top: 20px;
  margin-bottom: 22px;
}

.gallery-heading .eyebrow {
  color: #b3c6d3;
  margin-bottom: 8px;
}

.gallery-heading h2 {
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.2;
  margin-bottom: 12px;
}

.gallery-heading .orange-rule {
  width: 56px;
  height: 4px;
}

.gallery-heading-copy {
  max-width: 270px;
  margin-bottom: 4px;
  color: #b6c8d5;
  font-size: 12px;
  line-height: 1.7;
}

.gallery-toolbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.gallery-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 7px;
  margin: 0 -2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery-filters::-webkit-scrollbar {
  display: none;
}

.gallery-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 6px 11px;
  border: 1px solid #6d8798;
  border-radius: 999px;
  background: #123447;
  color: #d4dfe6;
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
  transition: color 180ms, background 180ms, border-color 180ms;
}

.gallery-filter:hover,
.gallery-filter:focus-visible {
  border-color: var(--orange);
}

.gallery-filter[aria-pressed="true"] {
  border-color: var(--orange);
  background: var(--orange);
  color: #092637;
  font-weight: 700;
}

.gallery-filter-count {
  min-width: 19px;
  padding: 1px 5px;
  border-radius: 999px;
  background: #ffffff1c;
  font-size: 10px;
  text-align: center;
}

.gallery-filter[aria-pressed="true"] .gallery-filter-count {
  background: #09263720;
}

.gallery-count {
  color: #b6c8d5;
  font-size: 11px;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #355365;
  border-radius: 10px;
  background: #102f41;
  color: white;
  text-align: left;
  transition: border-color 180ms, box-shadow 180ms, transform 180ms;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  border-color: #f7731c;
  box-shadow: 0 10px 26px #0003;
  transform: translateY(-2px);
}

.gallery-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1b3a4b;
}

.gallery-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1);
}

.gallery-card:hover .gallery-card-media img,
.gallery-card:focus-visible .gallery-card-media img {
  transform: scale(1.035);
}

.gallery-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 9px 9px 10px;
}

.gallery-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  color: #aebfc9;
  font-size: 9px;
  line-height: 1.4;
}

.gallery-card-meta span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-card-title {
  display: block;
  color: white;
  font-size: 13px;
  line-height: 1.4;
}

.gallery-card-caption {
  display: -webkit-box;
  overflow: hidden;
  color: #c5d2db;
  font-size: 11px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.gallery-card-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 4px;
  color: #ff9a55;
  font-size: 10px;
  font-weight: 700;
}

.gallery-footnote {
  margin-top: 18px;
  color: #aebfca;
  font-size: 10px;
  line-height: 1.6;
}

.gallery-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid #6d8798;
  border-radius: 10px;
  background: #123447;
  color: white;
  text-align: left;
}

.gallery-more strong {
  margin-left: auto;
  margin-right: 8px;
  color: #c5d2db;
  font-size: 12px;
}

.gallery-more svg {
  width: 18px;
  height: 18px;
  transform: rotate(-90deg);
  color: var(--orange);
}

.viewer-control {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  background: #0c2b3cdd;
  color: white;
}

.viewer-previous,
.viewer-next {
  top: 50%;
  margin-top: -22px;
}

.viewer-previous {
  left: 8px;
}

.viewer-previous svg {
  transform: rotate(180deg);
}

.viewer-next {
  right: 8px;
}

.viewer-expand {
  top: 8px;
  right: 8px;
  color: var(--navy);
  background: white;
}


.process-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 148px;
  background: var(--navy-deep);
  color: white;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 24px;
}

.process-banner img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
  object-position: right center;
}

.process-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy-deep), transparent);
}

.process-banner > div {
  position: relative;
  z-index: 1;
  padding: 16px;
}

.process-banner div > span:first-child {
  color: #bfd0db;
  font-size: 11px;
}

.process-banner strong {
  display: block;
  margin: 4px 0 10px;
  font-size: 22px;
  line-height: 1.4;
}

.process-banner em {
  font-style: normal;
  color: #ffa760;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-list li {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 72px;
  align-items: start;
  gap: 10px;
  min-height: 100px;
  padding: 0 0 20px;
}

.step-list li:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 38px;
  bottom: 6px;
  left: 15px;
  width: 2px;
  background: #f7731c80;
}

.step-list li:last-child {
  padding-bottom: 0;
  min-height: 80px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  font-size: 18px;
  font-weight: 750;
}

.step-content h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
}

.step-content h3 svg {
  width: 20px;
  height: 20px;
}

.step-content p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.mobile-layout .step-photo {
  width: 72px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
}

.ppe-card {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  background: var(--soft);
  overflow: hidden;
  border-radius: 14px;
  margin-top: 20px;
}

.ppe-card > button {
  padding: 0;
  border: 0;
  background: #dce3e8;
}

.ppe-card img {
  width: 100%;
  height: 166px;
  object-fit: cover;
  object-position: 60% 45%;
}

.ppe-card > div {
  padding: 14px 12px;
}

.ppe-card div > svg {
  color: var(--orange);
  width: 20px;
  height: 20px;
  margin-bottom: 5px;
}

.ppe-card h3 {
  font-size: 15px;
}

.ppe-card p {
  margin-top: 7px;
  font-size: 14px;
  color: var(--muted);
}

.contact-scene {
  position: relative;
  background: var(--navy-deep);
  color: white;
  min-height: 480px;
  overflow: hidden;
  padding: 32px var(--gutter) 0;
}

.contact-background,
.contact-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-background {
  object-fit: cover;
  object-position: 70% 50%;
}

.contact-scrim {
  background: linear-gradient(180deg, #082330f2, #0823308f 65%, #08233080);
}

.contact-intro {
  position: relative;
  z-index: 1;
}

.contact-intro h2 {
  margin: 8px 0 12px;
  font-size: 26px;
}

.contact-intro h2 span {
  color: #ffc795;
}

.contact-intro > p:not(.eyebrow) {
  color: #d9e2e8;
  font-size: 14px;
}

.contact-intro .action {
  margin-top: 20px;
}

.contact-teaser {
  position: relative;
  z-index: 1;
  margin: 60px calc(-1 * var(--gutter)) 0;
  border-radius: 24px 24px 0 0;
  background: white;
  color: var(--ink);
  padding: 10px 24px 24px;
}

.sheet-handle {
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 9px;
  margin: 0 auto 16px;
  background: #b5c0ca;
}

.contact-teaser p {
  font-size: 16px;
  font-weight: 650;
}

.contact-teaser strong {
  display: block;
  font-size: 24px;
  letter-spacing: -.02em;
  margin: 2px 0 4px;
}

.contact-teaser > span:last-child {
  font-size: 12px;
  color: var(--muted);
}

.app-footer {
  text-align: center;
  padding: 24px var(--gutter);
  background: var(--soft);
}

.app-footer b {
  font-size: 18px;
}

.app-footer p {
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
}

.bottom-nav {
  position: fixed;
  z-index: 30;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: calc(var(--nav-height) + env(safe-area-inset-bottom));
  padding: 4px 8px env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
  background: white;
  box-shadow: 0 -3px 14px #0c2b3c06;
}

.bottom-nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  min-height: 56px;
  padding: 4px 0 8px;
  color: #697e8a;
  font-size: 10px;
  font-weight: 600;
}

.bottom-nav svg {
  width: 22px;
  height: 22px;
}

.bottom-nav a[aria-current="location"] {
  color: #b94b0a;
}

.bottom-nav a[aria-current="location"]::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 3px;
  border-radius: 4px;
  background: var(--orange);
  bottom: 3px;
}

dialog {
  color: var(--ink);
  border: 0;
  padding: 0;
  max-height: 90vh;
  max-height: 90dvh;
  overscroll-behavior: contain;
}

dialog::backdrop {
  background: #051e2b99;
}

.contact-sheet {
  position: fixed;
  inset: auto 0 0;
  margin: 0 auto;
  width: 100%;
  max-width: 760px;
  border-radius: 26px 26px 0 0;
  background: white;
  padding: 12px 20px calc(24px + env(safe-area-inset-bottom));
}

.contact-sheet[open] {
  animation: sheet-in var(--duration) ease-out;
}

.sheet-header,
.photo-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sheet-header h2 {
  margin-top: 3px;
  font-size: 26px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--navy);
  flex-shrink: 0;
}

.sheet-description {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.phone-rows {
  display: grid;
  gap: 12px;
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--soft);
  border-radius: 50%;
  flex-shrink: 0;
}

.phone-row > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.phone-row small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.phone-row strong {
  display: block;
  font-size: 24px;
  letter-spacing: -.025em;
  line-height: 1.4;
  white-space: nowrap;
}

.phone-row > svg {
  width: 16px;
  height: 16px;
}

.sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.sheet-actions .action {
  padding: 10px 8px;
  font-size: 13px;
  gap: 6px;
}

.line-pending {
  background: #e8f0ed;
  color: #536c62;
  border-color: #d4e1da;
}

.pending-note {
  font-size: 11px;
  margin-top: 8px;
  color: var(--muted);
}

.base-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.base-row h3 {
  font-size: 14px;
}

.base-row p {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.photo-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: calc(100% - 20px);
  max-width: 740px;
  border-radius: 18px;
  padding: 12px;
  background: white;
}

.gallery-dialog {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 16px calc(24px + env(safe-area-inset-bottom));
  background: white;
  color: var(--ink);
}

.gallery-dialog-header {
  position: sticky;
  top: -12px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: -12px -16px 0;
  padding: 14px 16px 10px;
  background: white;
}

.gallery-dialog-header .eyebrow {
  margin-bottom: 3px;
  color: #6c7e88;
}

.gallery-dialog-header h2 {
  font-size: 21px;
  line-height: 1.3;
}

.gallery-dialog-header p:last-child {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.gallery-dialog-toolbar {
  position: sticky;
  top: 82px;
  z-index: 1;
  margin: 0 -16px 12px;
  padding: 5px 16px 0;
  background: white;
}

.gallery-dialog .gallery-filters {
  padding-bottom: 4px;
}

.gallery-dialog .gallery-filter {
  color: #d4dfe6;
}

.gallery-dialog .gallery-filter[aria-pressed="true"] {
  color: #092637;
}

.gallery-dialog .gallery-count,
.gallery-dialog-note {
  color: var(--muted);
  font-size: 10px;
}

.gallery-dialog-note {
  margin-top: 14px;
}

.photo-dialog h2 {
  font-size: 18px;
  margin-top: 2px;
}

.full-photo-stage {
  position: relative;
  margin-top: 12px;
  border-radius: 10px;
  background: #e9eef2;
  overflow: hidden;
}

.full-photo-stage img {
  width: 100%;
  height: min(64vh, 640px);
  height: min(64dvh, 640px);
  object-fit: contain;
}

#full-caption {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
}

.photo-dialog .small-note {
  margin-top: 4px;
}

@keyframes sheet-in {
  from { transform: translateY(30px); opacity: .5; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 350px) {
  h1,
  h2,
  .hero-copy h1 {
    font-size: 24px;
  }

  .hero-photo-button img {
    height: 190px;
  }

  .step-list li {
    grid-template-columns: 28px minmax(0, 1fr) 60px;
    gap: 8px;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .step-list li:not(:last-child)::before {
    left: 13px;
    top: 34px;
  }

  .mobile-layout .step-photo {
    width: 60px;
    height: 64px;
  }

  .step-content h3 {
    font-size: 14px;
  }

  .step-content h3 svg {
    width: 17px;
    height: 17px;
  }

  .phone-row strong {
    font-size: 22px;
  }

  .contact-sheet {
    padding-left: 16px;
    padding-right: 16px;
  }

}


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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

html[data-motion="off"] {
  scroll-behavior: auto;
}

html[data-motion="off"] *,
html[data-motion="off"] *::before,
html[data-motion="off"] *::after {
  animation: none !important;
  transition: none !important;
}

[hidden] { display: none !important; }
.desktop-only, .desktop-layout { display: none; }
.hero-copy .hero-description { color: #c2d0d9; font-size: 14px; }
.site-footer { padding: 26px 16px; background: #082330; color: #c2d0d9; display: grid; gap: 14px; font-size: 13px; }
.footer-brand { font-size: 26px; font-weight: 750; color: white; }
.footer-brand strong { color: var(--orange); }
.footer-brand small { display: block; font-size: 9px; letter-spacing: .13em; }
.script-fallback { padding: 20px; background: white; color: var(--ink); }

@media (min-width: 761px) {
.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 82px; padding: 16px max(var(--gutter), 36px); padding-right: 100px; background: var(--navy); border-bottom: 1px solid #ffffff24; gap: 24px; }
.wordmark { white-space: nowrap; font: 700 34px/1 Anuphan, sans-serif; letter-spacing: -.045em; }
.wordmark strong, .hero-brand strong { color: var(--orange); font-weight: inherit; }
.site-nav { display: flex; gap: clamp(20px, 2.3vw, 40px); font-size: 13px; }
.site-nav a { position: relative; padding: 12px 0; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 1px; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 220ms; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.header-contact { font-size: 12px; padding: 7px 12px; border: 1px solid #ffffff42; border-radius: 3px; white-space: nowrap; transition: background 200ms; }
.header-contact:hover { background: #ffffff16; }
.hero { background: var(--navy); }
.hero-stage { min-height: max(620px, calc(100svh - var(--bar-height) - 82px)); display: flex; align-items: center; position: relative; isolation: isolate; overflow: hidden; }
.hero-photo { position: absolute; inset: 0 0 0 34%; width: 66%; height: 100%; padding: 0; border: 0; overflow: hidden; background: #9dacb6; clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%); }
.hero-photo::before { content: ''; position: absolute; inset: 0; z-index: 2; background: var(--orange); clip-path: polygon(32% 0, 36% 0, 4% 100%, 0 100%); pointer-events: none; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #071d2820, transparent 40%); pointer-events: none; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 63% center; transition: transform 650ms cubic-bezier(.2,.7,.2,1); }
.hero-photo:focus-visible { outline-offset: -8px; }
.hero-content { position: relative; z-index: 3; width: 56%; padding: 35px 0 65px var(--gutter); pointer-events: none; }
.hero-content a { pointer-events: auto; }
.hero-kicker { color: #c9d5dd; font-size: 10px; letter-spacing: .13em; margin-bottom: 16px; }
.hero-brand { font-size: clamp(84px, 9vw, 146px); line-height: 1.03; letter-spacing: -.065em; font-weight: 700; margin-bottom: 23px; white-space: nowrap; }
.hero h1 { font-size: clamp(42px, 5.3vw, 88px); line-height: 1.25; font-weight: 700; margin-bottom: 22px; }
.hero h1 em, .hero-line-accent { color: var(--orange); font-style: normal; }
.hero-line { display: block; animation: line-enter 750ms cubic-bezier(.2,.7,.2,1) both; }
.hero-brand { animation-delay: 60ms; }
.hero h1 .hero-line:nth-child(2) { animation-delay: 150ms; }
.hero-description { animation-delay: 200ms; }
.orange-rule { display: block; width: 66px; height: 5px; background: var(--orange); margin-bottom: 24px; }
.hero-description { max-width: 470px; color: #d0dbe0; font-size: 15px; line-height: 1.8; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; max-width: 620px; animation-delay: 250ms; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 54px; padding: 14px 19px; font-size: 13px; font-weight: 650; border: 1px solid transparent; border-radius: 4px; transition: border-radius 220ms, box-shadow 220ms, background 220ms; }
.cta.orange { background: var(--orange); color: #102533; }
.cta.outline { border-color: #b0bdc8; background: #102b3bea; color: white; }
.cta svg { width: 21px; height: 21px; }
.cta:hover, .cta:focus-visible { border-radius: 15px; box-shadow: 0 8px 20px #071e2829; }
.arrow { display: inline-block; font-size: 19px; transition: transform 220ms; }
a:hover .arrow, button:hover .arrow, a:focus-visible .arrow, button:focus-visible .arrow { transform: translate(3px, -3px); }
.flip-label { display: grid; white-space: nowrap; }
.flip-label > span { grid-area: 1/1; transition: opacity 180ms, transform 180ms; }
.flip-label > span:last-child { opacity: 0; transform: translateY(6px); }
a:hover .flip-label > span:first-child, button:hover .flip-label > span:first-child, a:focus-visible .flip-label > span:first-child, button:focus-visible .flip-label > span:first-child { opacity: 0; transform: translateY(-6px); }
a:hover .flip-label > span:last-child, button:hover .flip-label > span:last-child, a:focus-visible .flip-label > span:last-child, button:focus-visible .flip-label > span:last-child { opacity: 1; transform: none; }
.hero-location { display: flex; gap: 8px; align-items: center; color: #c3d1d9; margin: 27px 0 0; font-size: 12px; }
.hero-location svg { width: 19px; height: 19px; }
.hero-image-note, .contact-image-note { position: absolute; right: 100px; bottom: 18px; z-index: 4; background: #092332d9; color: #d8e1e7; padding: 5px 9px; font-size: 10px; border-radius: 3px; }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 22px; z-index: 4; display: flex; align-items: center; gap: 15px; font-size: 10px; color: #c5d3dc; }
.scroll-cue span { font-size: 22px; }
.rail { position: fixed; z-index: 25; top: 50%; right: 18px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; padding: 8px 5px; background: #0c2636ee; border: 1px solid #ffffff30; border-radius: 12px; box-shadow: 0 8px 24px #0002; }
.rail a { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; min-width: 48px; min-height: 55px; color: #ccd6dd; border-radius: 6px; transition: color 180ms, background 180ms; }
.rail svg { width: 23px; height: 23px; transition: transform 220ms; }
.rail a:hover svg, .rail a:focus-visible svg { transform: translateY(-3px) rotate(-6deg); }
.rail a:hover, .rail a:focus-visible, .rail a[aria-current] { color: var(--orange); background: #f3732414; }
.rail a[aria-current]::after { content: ''; position: absolute; bottom: 4px; height: 2px; width: 18px; background: var(--orange); border-radius: 2px; }
.rail-label { position: absolute; right: 65px; top: 50%; transform: translateY(-50%); background: var(--navy); color: white; border: 1px solid #ffffff28; border-radius: 4px; padding: 6px 10px; white-space: nowrap; opacity: 0; pointer-events: none; font-size: 11px; transition: opacity 180ms; }
.rail a:hover .rail-label, .rail a:focus-visible .rail-label { opacity: 1; }
.rail-count { display: none; }
.mobile-utility { display: none; }
.content-section { padding: clamp(64px, 6.8vw, 112px) max(var(--gutter), 36px); padding-right: max(100px, var(--gutter)); }
.light-section { background: white; color: var(--navy); }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 38px; }
.eyebrow { color: #b3c6d3; font-size: 10px; letter-spacing: .12em; font-weight: 650; margin-bottom: 12px; }
.light-section .eyebrow { color: #6c7e88; }
.section-title h2 { font-size: clamp(32px, 4.3vw, 66px); line-height: 1.25; margin-bottom: 15px; font-weight: 700; }
.section-title .orange-rule { margin: 0; width: 65px; height: 5px; }
.section-title > p { font-size: 13px; margin-bottom: 5px; color: #b6c8d5; }
.light-section .section-title > p { color: #647987; }
.repair-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.repair-card { background: #f3f5f6; border-radius: 5px; overflow: hidden; border: 1px solid #edf0f1; transition: border-color 220ms, box-shadow 220ms; }
.repair-card:hover, .repair-card:focus-within { border-color: #f3732460; box-shadow: 0 16px 36px #142a3812; }
.repair-photo { display: block; width: 100%; aspect-ratio: 4/3; padding: 0; border: 0; background: #dde3e6; }
.photo-morph { overflow: hidden; border-radius: 4px; transition: border-radius 400ms; }
.photo-morph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
.repair-body { padding: 24px; }
.card-number { color: #627680; font-size: 9px; letter-spacing: .11em; }
.repair-card h3 { font-size: 32px; line-height: 1.3; margin: 10px 0 12px; font-weight: 700; }
.repair-card h3::after { content: ''; display: block; width: 42px; height: 3px; background: #b7c3ca; margin-top: 12px; }
.repair-card p { font-size: 13px; line-height: 1.8; color: #4e6572; min-height: 46px; margin-bottom: 22px; }
.repair-card .cta { width: 100%; justify-content: space-between; }
.section-note { font-size: 10px; color: #607682; margin: 25px 0 0; }
.photo-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gallery-heading { padding-top: 22px; margin-bottom: 26px; }
.gallery-card { border-radius: 12px; }
.gallery-card-content { gap: 7px; padding: 12px 12px 13px; }
.gallery-card-title { font-size: 15px; }
.gallery-card-caption { font-size: 12px; }
.gallery-card-open { font-size: 11px; }
.process-grid { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,1.05fr); gap: 24px; }
.process-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.step-marker { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.step-marker b { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 50%; color: white; background: var(--orange); font-size: 28px; line-height: 1; }
.step-marker > span { flex: 1; height: 2px; background: var(--orange); }
.process-list h3 { font-size: clamp(17px,1.65vw,24px); white-space: nowrap; margin-bottom: 16px; font-weight: 700; }
.step-photo { height: 190px; }
.process-list p { margin: 16px 0 0; font-size: 12px; color: #5c717d; }
.safety-card { border-left: 1px solid #c0cbd1; padding-left: 24px; margin-top: 6px; }
.safety-photo { display: block; width: 100%; height: 280px; border: 0; padding: 0; background: transparent; }
.safety-photo img { object-position: center 22%; }
.safety-card h3 { font-size: 18px; line-height: 1.45; margin: 15px 0 10px; }
.safety-card p { font-size: 10px; color: #637885; margin: 0; }
.contact { overflow: hidden; min-height: 730px; padding: 80px max(var(--gutter),36px); padding-right: max(100px,var(--gutter)); isolation: isolate; }
.contact-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; z-index: -3; }
.contact::before { content: ''; position: absolute; inset: 0; background: #08263722; z-index: -2; }
.contact-plane { position: absolute; inset: 0; background: var(--navy); clip-path: polygon(0 0, 54% 0, 26% 100%, 0 100%); z-index: -1; }
.contact-plane::after { content: ''; position: absolute; inset: 0; background: var(--orange); clip-path: polygon(52% 0,54% 0,26% 100%,24% 100%); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 13%; }
.contact-intro h2 { font-size: clamp(44px,5.7vw,86px); line-height: 1.22; margin-bottom: 22px; font-weight: 700; }
.contact-intro h2 em { color: var(--orange); font-style: normal; }
.contact-intro > p:not(.eyebrow) { color: #c8d7e0; font-size: 15px; }
.contact-checklist { list-style: none; margin: 32px 0 0; padding: 0; max-width: 280px; }
.contact-checklist li { display: flex; gap: 17px; align-items: center; padding: 17px 0; border-bottom: 1px solid #628296; font-size: 18px; }
.contact-checklist svg { width: 28px; height: 28px; color: var(--orange); }
.contact-card { background: #092736; border: 1px solid #ffffff20; border-radius: 12px; padding: 30px; box-shadow: 0 14px 30px #0002; min-width: 0; }
.contact-card .orange-rule { height: 4px; margin-bottom: 18px; }
.contact-label { font-size: 16px; margin: 0 0 3px; }
.phone-number { display: block; font-size: clamp(24px,3vw,44px); font-weight: 700; line-height: 1.35; white-space: nowrap; }
.office-contact { margin-top: 22px; padding-top: 22px; border-top: 1px solid #5d8094; }
.office-contact strong { font-size: 29px; line-height: 1.4; }
.contact-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 25px 0; margin: 22px 0; border-top: 1px solid #5d8094; border-bottom: 1px solid #5d8094; }
.contact-buttons .cta { flex-direction: column; gap: 12px; min-width: 0; padding: 17px 10px; font-size: 11px; }
.contact-buttons svg { width: 28px; height: 28px; }
.contact-location { display: flex; align-items: center; gap: 9px; font-size: 15px; margin-bottom: 12px; }
.contact address { font-size: 11px; font-style: normal; color: #d0dce4; }
.review-note { font-size: 9px; color: #bacbd6; margin: 13px 0 0; }

  :root { --navy: #102b3b; --navy-deep: #082433; --orange: #f37324; --bar-height: 0px; --gutter: clamp(32px, 5.3vw, 90px); }
  html { scrollbar-width: auto; scroll-padding-top: 16px; }
  html::-webkit-scrollbar { width: auto; }
  body { padding-bottom: 0; max-width: none; box-shadow: none; background: var(--navy); color: white; }
  .appbar, .bottom-nav, .mobile-only, .mobile-layout { display: none !important; }
  .desktop-layout { display: block; }
  .desktop-only { display: block; }
  .site-header { display: flex; }
  .rail { display: flex; }
  .site-header .wordmark { display: block; }
  .section { border: 0 !important; scroll-margin-top: 16px; }
  #home { padding: 0; }
  #repairs, #process { background: white; color: var(--navy); }
  #photos { background: var(--navy-deep); }
  .hero-copy { margin-top: 0; }
  .hero-copy h1 { margin-top: 0; font-size: clamp(42px, 5.3vw, 88px); line-height: 1.25; letter-spacing: 0; }
  .hero-copy .hero-description { font-size: 15px; }
  .hero-copy .orange-rule { margin: 0 0 24px; }
  .hero-brand strong { color: var(--orange); }
  .hero-content :is(a,button) { pointer-events: auto; }
  .hero-actions { margin-top: 0; }
  .hero-actions .cta { width: auto; border-radius: 4px; min-height: 54px; }
  .hero-actions .outline { border-color: #b0bdc8; }
  .hero-actions .flip-label { display: grid; }
  .hero-actions .action-arrow { display: none; }
  .hero-actions .cta:hover, .hero-actions .cta:focus-visible { border-radius: 15px; }
  .hero-location { display: flex; }
  .step-photo { width: 100%; border: 0; padding: 0; background: transparent; }
  .step-marker b { position: relative; overflow: hidden; }
  .step-marker .step-icon { position: absolute; width: 25px; height: 25px; opacity: 0; transform: translateY(12px); transition: opacity 200ms,transform 200ms; }
  .step-count { transition: opacity 200ms,transform 200ms; }
  .process-list li:hover .step-count, .process-list li:focus-within .step-count { opacity: 0; transform: translateY(-12px); }
  .process-list li:hover .step-icon, .process-list li:focus-within .step-icon { opacity: 1; transform: none; }
  #contact { background: var(--navy-deep); }
  .contact-intro { padding: 0; }
  .contact-card address { font-size: 12px; margin-top: 16px; font-style: normal; }
  .contact-card .review-note { font-size: 11px; color: #b5c9d5; margin-top: 16px; }
  .contact-card .contact-location { display: flex; gap: 10px; margin-top: 26px; font-size: 15px; }
  .contact-card .contact-buttons { display: flex; gap: 12px; margin-top: 26px; }
  .contact-buttons .cta { flex: 1; min-width: 0; white-space: normal; }
  .contact-buttons .flip-label { white-space: normal; text-align: center; }
  .contact-buttons button:disabled { opacity: .55; cursor: not-allowed; }
  .site-footer { padding: 38px max(var(--gutter),36px); padding-right: max(100px,var(--gutter)); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
  .contact-sheet { inset: 0; margin: auto; max-width: 620px; border-radius: 24px; height: max-content; }
  .photo-dialog { width: min(1100px,94vw); max-width: 1100px; }
  .gallery-dialog { inset: 0; margin: auto; width: min(1240px,94vw); height: min(90vh,1000px); max-height: 90vh; border-radius: 18px; padding: 22px; }
  .gallery-dialog-header { top: -22px; margin: -22px -22px 0; padding: 18px 22px 12px; }
  .gallery-dialog-toolbar { top: 82px; margin: 0 -22px 14px; padding: 5px 22px 0; }
  .gallery-dialog .gallery-dialog-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
  .full-photo-stage img { height: min(70dvh,800px); }
  .reveal { transition: opacity 400ms, transform 400ms; }
  html.motion-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(18px); }
  .hero-photo:hover img, .hero-photo:focus-visible img, .photo-morph:hover img, .photo-morph:focus-visible img { transform: scale(1.035); }
  .photo-morph:hover, .photo-morph:focus-visible { border-radius: 18px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .site-nav { gap: 16px; font-size: 11px; }
  .site-header { gap: 16px; padding-left: 28px; padding-right: 90px; }
  .hero-content { width: 60%; }
  .hero-brand { font-size: clamp(72px,9vw,100px); }
  .hero-copy h1 { font-size: clamp(38px,5.1vw,58px); }
  .hero-actions .cta { font-size: 11px; padding: 12px; }
  .process-grid { grid-template-columns: 1fr; }
  .safety-card { display: flex; gap: 22px; border-left: 0; border-top: 1px solid #c0cbd1; padding: 24px 0 0; }
  .safety-photo { width: 180px; height: 210px; flex: none; }
  .photo-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .gallery-card-content { padding: 10px; }
  .gallery-card-title { font-size: 14px; }
  .gallery-card-caption { font-size: 11px; }
  .contact-grid { gap: 7%; }
  .contact-card { padding: 24px; }
}
@media (max-width: 760px) {
  #home .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
  #home .hero-actions > .action {
    width: 100%;
    min-width: 0;
  }
  #photos .gallery-filters { display: none; }
  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding-top: 16px;
    margin-bottom: 15px;
  }
  .gallery-heading .eyebrow { margin-bottom: 5px; }
  .gallery-heading h2 { font-size: 28px; margin-bottom: 8px; }
  .gallery-heading-copy { font-size: 11px; }
  .gallery-toolbar { gap: 4px; margin-bottom: 12px; }
  .gallery-filters { gap: 7px; }
  .gallery-filter { min-height: 34px; padding: 5px 9px; font-size: 10px; }
  .photo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery-card { border-radius: 9px; }
  .gallery-card-media { aspect-ratio: 1.08 / 1; }
  .gallery-card-content { gap: 4px; padding: 8px 8px 9px; }
  .gallery-card-meta { font-size: 8px; }
  .gallery-card-title { font-size: 12px; line-height: 1.35; }
  .gallery-card-caption { font-size: 10px; line-height: 1.45; -webkit-line-clamp: 3; }
  .gallery-card-open { padding-top: 2px; font-size: 9px; }
  .gallery-count, .gallery-footnote { font-size: 10px; }
  .gallery-footnote { margin-top: 10px; }
  .gallery-more { min-height: 46px; margin-top: 12px; }

  .process-banner { display: none; }
  .step-list { display: grid; gap: 0; margin-top: 12px; }
  .step-list li,
  .step-list li:last-child {
    display: block;
    min-height: 0;
    padding: 0;
    border-bottom: 1px solid var(--line);
  }
  .step-list li::before { display: none; }
  .process-step { border: 0; }
  .process-step > summary {
    display: grid;
    grid-template-columns: 32px minmax(0,1fr) 18px;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    cursor: pointer;
    list-style: none;
  }
  .process-step > summary::-webkit-details-marker { display: none; }
  .process-step .step-number { width: 30px; height: 30px; font-size: 16px; }
  .process-step .step-content { min-width: 0; }
  .process-step .step-content strong { display: block; font-size: 15px; line-height: 1.35; }
  .process-step .step-summary { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; line-height: 1.4; }
  .process-step .step-toggle { width: 17px; height: 17px; color: #778593; transform: rotate(90deg); transition: transform var(--duration),color var(--duration); }
  .process-step[open] .step-toggle { color: var(--orange); transform: rotate(-90deg); }
  .step-detail {
    display: grid;
    grid-template-columns: minmax(0,1fr) 78px;
    align-items: center;
    gap: 12px;
    padding: 0 0 13px 42px;
  }
  .step-detail p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
  .step-detail button.step-photo { display: block; width: 78px; height: 68px; padding: 0; overflow: hidden; border: 0; border-radius: 8px; background: #dce3e8; }
  .step-detail .step-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .ppe-card { grid-template-columns: 58px minmax(0,1fr); align-items: center; margin-top: 14px; border-radius: 11px; }
  .ppe-card > button { display: block; height: 62px; }
  .ppe-card img { display: block; width: 58px; height: 62px; object-fit: cover; object-position: 60% 40%; }
  .ppe-card > div { display: flex; align-items: center; gap: 8px; padding: 8px 10px; }
  .ppe-card div > svg { width: 18px; height: 18px; margin: 0; }
  .ppe-card h3 { font-size: 12px; line-height: 1.35; }
  .ppe-card p { margin-top: 1px; font-size: 10px; line-height: 1.35; }
  #process > .mobile-layout > .small-note { margin-top: 9px; font-size: 10px; }

  .gallery-dialog { width: 100%; height: 100%; max-height: 100dvh; border-radius: 0; padding: 12px 14px calc(20px + env(safe-area-inset-bottom)); }
  .gallery-dialog-header { top: -12px; margin: -12px -14px 0; padding: 12px 14px 9px; }
  .gallery-dialog-toolbar { top: 74px; margin: 0 -14px 10px; padding: 3px 14px 0; }
  .gallery-dialog .gallery-filters { display: flex; }
  .gallery-dialog .gallery-dialog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .site-header .header-contact { display: none; }
  .repair-grid { gap: 14px; }
  .repair-body { padding: 18px; }
  .repair-card h3 { font-size: 27px; }
  .repair-card .cta { font-size: 11px; padding: 12px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-intro h2 { font-size: 48px; }
  .contact-plane { clip-path: polygon(0 0,100% 0,60% 100%,0 100%); }
  .contact-card { max-width: 640px; }
}
@media (hover:none) { .flip-label > span:last-child { display: none; } }
@media (prefers-reduced-motion:reduce) {
  html.motion-ready .reveal { opacity: 1 !important; transform: none !important; }
}

@keyframes line-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 761px) {
  .office-contact a { font-size: 30px; font-weight: 700; line-height: 1.35; }
}

/* Client feedback: verified LINE QR, backup contacts, free site assessment. */
.backup-contacts { margin-top: 22px; padding-top: 22px; border-top: 1px solid #5d8094; }
.backup-note { font-size: 12px; line-height: 1.65; margin: 8px 0 12px; }
.backup-phone-grid { display: grid; gap: 8px; }
.backup-phone-grid a { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 19px; font-weight: 600; }
.backup-phone-grid svg { width: 19px; height: 19px; }
.line-contact { display: grid; grid-template-columns: 112px minmax(0,1fr); align-items: center; gap: 16px; margin-top: 22px; }
.line-qr-link { display: block; padding: 8px; background: white; border-radius: 8px; }
.line-qr-link img { display: block; width: 100%; height: auto; }
.line-id { display: block; font-size: 20px; letter-spacing: 0; }
.line-contact p:not(.contact-label) { font-size: 12px; line-height: 1.65; margin-top: 6px; }
.line-action { background: #087f3b; color: white; border: 1px solid #087f3b; }
.line-action:hover { background: #06672f; }
.contact-sheet { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.contact-sheet .line-contact { margin-top: 18px; }
.backup-sheet-rows { gap: 2px; }
.backup-sheet-rows .phone-row { min-height: 54px; }
.backup-sheet-rows .phone-row strong { font-size: 20px; }
@media (max-width: 360px) {
  .line-contact { grid-template-columns: 100px minmax(0,1fr); gap: 12px; }
  .line-id { font-size: 18px; }
}
