/* Progressive enhancements: the existing photography and copy stay intact. */
@keyframes hero-arrival {
  from { transform: scale(1.075) translate3d(-.6%, .3%, 0); }
  to { transform: scale(1) translate3d(0, 0, 0); }
}
.cinematic-ready:not(.motion-paused) .hero-slide-base { animation: hero-arrival 5.8s cubic-bezier(.2,.55,.3,1) both; }
.hero__content.reveal { opacity: 1; transform: none; }

/* HERO ONE-TIME SLIDESHOW */
@keyframes hero-rail-run {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes hero-frame-in {
  from { opacity: 0; letter-spacing: .35em; transform: translateY(12px); }
  to { opacity: 1; letter-spacing: .16em; transform: none; }
}
@keyframes hero-mobile-pan-to-edge {
  from { object-position: 0% 50%; }
  to { object-position: 100% 50%; }
}
.hero__media {
  position: absolute;
  overflow: hidden;
  background: #dce8f0;
}
.hero__shade { z-index: 2; pointer-events: none; }
.hero__media .hero-slide-base,
.hero__media .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__media .hero-slide-base { z-index: 0; object-fit: cover; object-position: 50% 50%; }
.hero__media .hero-slide {
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  background: #172027;
  transition: opacity .8s cubic-bezier(.45, 0, .55, 1);
  will-change: opacity, transform;
}
.hero__media .hero-slide.is-initial { transition: none; }
.hero__media .hero-slide::before {
  content: '';
  position: absolute;
  inset: -28px;
  background-image: var(--hero-slide-image);
  background-position: center;
  background-size: cover;
  filter: blur(18px) brightness(.56) saturate(.8);
  transform: scale(1.05);
}
.hero__media .hero-slide img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.js:not(.motion-paused) .hero__media .hero-slide.is-active { opacity: 1; }
.hero-slide--flange { --hero-slide-image: url('../images/hero-set-flange.webp'); }
.hero-slide--duct-paint { --hero-slide-image: url('../images/hero-set-duct-paint.webp'); }
.hero-slide--roll-pipe { --hero-slide-image: url('../images/hero-set-roll-pipe.webp'); }
.hero-slide--outdoor-duct { --hero-slide-image: url('../images/hero-set-outdoor-duct.webp'); }
.hero-slide--outdoor-tank { --hero-slide-image: url('../images/hero-set-outdoor-tank.webp'); }
.hero-slide--river { --hero-slide-image: url('../images/hero-set-river.webp'); }
.hero-slide--piping-project { --hero-slide-image: url('../images/hero-set-piping.webp'); }
.hero-title-line { position: relative; display: inline-block; }
.hero-title-rail {
  position: absolute;
  right: .04em;
  bottom: .08em;
  left: 0;
  display: block;
  height: 2px;
  background: #ed0872;
  box-shadow: 0 0 8px rgba(237,8,114,.28);
  transform: scaleX(1);
  transform-origin: left;
}
.cinematic-ready:not(.motion-paused) .hero-title-rail { animation: hero-rail-run 1.35s .72s cubic-bezier(.72,0,.2,1) both; }
.cinematic-ready:not(.motion-paused) .hero-title-line:nth-of-type(2) .hero-title-rail { animation-delay: .92s; }
.cinematic-ready:not(.motion-paused) .hero h1 { animation: hero-frame-in 1.15s .18s both; }
.cinematic-ready:not(.motion-paused) .hero__lead { animation: hero-frame-in .9s .5s both; }

/* BUSINESS PRESENTATION */
@keyframes business-scan {
  0% { transform: translateX(420%); opacity: 0; }
  18% { opacity: .85; }
  100% { transform: translateX(-180%); opacity: 0; }
}
.business-card__body h3 { margin-bottom: 0; }
.business-card__title-rail {
  display: block;
  width: 44px;
  height: 2px;
  margin: 11px 0 14px;
  background: #ff1785;
  box-shadow: 0 0 7px rgba(255,23,133,.3);
}
.business-card__body p { margin-bottom: 0; }
.business-card:nth-child(1) { --business-delay: 0ms; }
.business-card:nth-child(2) { --business-delay: 130ms; }
.business-card:nth-child(3) { --business-delay: 260ms; }
.business-card:nth-child(4) { --business-delay: 390ms; }
.business-card:nth-child(5) { --business-delay: 520ms; }
.cinematic-ready .business-card.reveal {
  isolation: isolate;
  clip-path: inset(0 0 0 100%);
  opacity: 0;
  transform: translateX(72px);
  transition: clip-path .52s cubic-bezier(.2,.8,.2,1), opacity .24s linear, transform .52s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
  transition-delay: var(--business-delay, 0ms);
}
.cinematic-ready .business-card.reveal.is-visible {
  clip-path: inset(0);
  opacity: 1;
  transform: translateX(0);
}
.cinematic-ready .business-card::before {
  content: '';
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: 0;
  width: 32%;
  height: auto;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.26), rgba(255,23,133,.22), transparent);
  transform: translateX(420%);
  opacity: 0;
  pointer-events: none;
}
.cinematic-ready .business-card.is-visible::before { animation: business-scan .58s calc(.12s + var(--business-delay, 0ms)) ease-out both; }
.cinematic-ready .business-card img { filter: saturate(.72) contrast(1.03); transform: scale(1.055); transition: filter .7s ease, transform 1.2s cubic-bezier(.18,.75,.2,1); }
.cinematic-ready .business-card.is-spotlight img,
.cinematic-ready .business-card:hover img,
.cinematic-ready .business-card:focus-within img { filter: saturate(1.06) contrast(1.02); transform: scale(1.005); }
.cinematic-ready .business-card__body { transition: transform .35s cubic-bezier(.72,0,.2,1); }
.cinematic-ready .business-card.is-spotlight .business-card__body,
.cinematic-ready .business-card:hover .business-card__body,
.cinematic-ready .business-card:focus-within .business-card__body { transform: translateX(5px); }
.cinematic-ready .business-card__body > * { transition: opacity .5s ease, transform .6s cubic-bezier(.18,.75,.2,1); }
.cinematic-ready .business-card:not(.is-visible) .business-card__body > * { opacity: 0; transform: translateY(16px); }
.cinematic-ready .business-card.is-visible .business-card__body > * { opacity: 1; transform: none; transition-delay: calc(.18s + var(--business-delay, 0ms)); }
.gallery-controls { display: none; }
.gallery-ready .gallery-controls { display: flex; }
.section-works .gallery-shell { min-width: 0; background: linear-gradient(155deg,#edf2f5,#fff 65%); }
.works-gallery.coverflow {
  --card-width: clamp(240px, 31vw, 370px);
  display: flex; gap: 24px; position: relative;
  padding: 42px 0 40px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab; touch-action: pan-x pan-y pinch-zoom;
}
.works-gallery.coverflow::-webkit-scrollbar { display: none; width: 0; height: 0; }
.works-gallery.coverflow::before, .works-gallery.coverflow::after {
  content: ''; flex: 0 0 max(0px, calc((100% - var(--card-width)) / 2 - 24px));
}
.works-gallery.coverflow .photo-card {
  flex: 0 0 var(--card-width); width: var(--card-width); min-height: 0;
  height: clamp(340px, 40vw, 480px); scroll-snap-align: center;
  opacity: 1; border: 0; background: transparent; overflow: visible;
  transform: none; transition: none; user-select: none;
}
.coverflow-face {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border: 1px solid #fff; border-radius: 3px; background: #12171a;
  transform: perspective(1100px) translateX(var(--shift,0px)) translateZ(var(--depth,0px)) rotateY(var(--angle,0deg));
  transform-origin: center; box-shadow: 0 22px 28px -20px #16273599;
  transition: none;
}
.works-gallery.coverflow .photo-card::after { display: none; }
.coverflow-face::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(4,7,9,.78)); }
.works-gallery.coverflow .photo-card img { pointer-events: none; }
.works-gallery.coverflow .photo-card:hover img { transform: none; }
.works-gallery.coverflow .photo-card h3 { left: 20px; right: 20px; bottom: 24px; }
.works-gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.section-works .gallery-controls { position: static; flex: 0 0 auto; }
.gallery-controls button:disabled { opacity: .35; cursor: default; transform: none; }
.gallery-toolbar { display: flex; align-items: center; gap: 16px; padding: 10px 24px 18px; }
.gallery-status { flex: 1; min-width: 0; margin: 0; font-size: 12px; line-height: 1.7; letter-spacing: .06em; }
.gallery-hint { margin: 0; padding: 0 24px 18px; color: #525c63; font-size: 11px; }
.contact-options__line img.line-brand { position: static; width: 40px; height: 40px; flex: 0 0 40px; object-fit: contain; opacity: 1; margin: 10px; }
.contact-options > a { flex-wrap: wrap; }
.contact-options strong { white-space: normal; overflow-wrap: anywhere; }
.contact-options a[aria-disabled="true"] { cursor: default; }
.contact-options .contact-pending { color: #626b71; font-size: 10px; margin-top: 4px; }
.contact-page { background: #f4f5f6; color: #151a1e; }
.contact-page main { width: min(100% - 40px, 1080px); margin: 0 auto; padding: 32px 0 100px; }
.contact-header {
  display: flex;
  min-height: 92px;
  padding: 12px max(24px, calc((100% - 1180px) / 2));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e1e4e6;
  background: rgba(255,255,255,.96);
}
.contact-header__brand { display: flex; align-items: center; gap: 13px; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.contact-header__brand img { width: 64px; height: 60px; object-fit: contain; }
.contact-header__back { display: inline-flex; min-height: 42px; padding: 0 18px; align-items: center; border: 1px solid #cbd0d3; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.contact-breadcrumb { display: flex; align-items: center; gap: 10px; color: #6b747a; font-size: 11px; letter-spacing: .08em; }
.contact-breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.contact-title { padding: 52px 0 42px; text-align: center; }
.contact-title .section-label { margin-bottom: 14px; }
.contact-title h1 { margin: 0 0 18px; font-family: var(--font-serif); font-size: clamp(38px, 5vw, 62px); font-weight: 500; letter-spacing: .08em; }
.contact-title > p:last-child { color: #535d63; font-size: 14px; line-height: 1.9; }
.contact-form { display: grid; gap: 34px; padding: clamp(28px, 5vw, 64px); border-top: 4px solid var(--color-magenta); background: #fff; box-shadow: 0 24px 60px rgba(20,31,38,.08); }
.contact-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
.form-field { display: grid; min-width: 0; gap: 10px; font-weight: 700; }
.form-field > span,
.form-message-field > label > span { display: flex; align-items: center; gap: 9px; font-size: 15px; }
.field-status { display: inline-flex; min-height: 22px; padding: 1px 8px; align-items: center; border-radius: 999px; color: #68737a; background: #edf0f1; font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .08em; }
.field-status--required { color: #fff; background: var(--color-magenta); }
.contact-form input:not([type="checkbox"]):not([type="file"]),
.contact-form textarea { width: 100%; min-width: 0; border: 1px solid #bcc4c8; border-radius: 4px; padding: 14px 15px; outline: none; font: inherit; font-size: 16px; background: #fff; color: #151a1e; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input:not([type="checkbox"]):not([type="file"]) { min-height: 52px; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--color-magenta); box-shadow: 0 0 0 3px rgba(195,0,100,.12); }
.contact-form textarea { min-height: 230px; resize: vertical; line-height: 1.8; }
.form-field small { color: #657077; font-size: 11px; font-weight: 500; line-height: 1.8; }
.form-guidance { padding: 20px 22px; border-left: 3px solid var(--color-magenta); border-radius: 0 5px 5px 0; background: #f4f6f7; }
.form-guidance p { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.9; }
.form-guidance p + p { margin-top: 8px; }
.file-drop {
  display: flex;
  min-height: 168px;
  padding: 26px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 2px dashed #9ba5aa;
  border-radius: 5px;
  background: #f8f9f9;
  cursor: pointer;
  text-align: center;
  transition: border-color .2s ease, background .2s ease;
}
.file-drop:hover,
.file-drop.is-dragover,
.file-drop.has-files { border-color: var(--color-magenta); background: rgba(195,0,100,.045); }
.file-drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.file-drop strong { font-size: 16px; }
.file-drop span { color: #68737a; font-size: 12px; font-weight: 500; }
.file-selection { padding: 11px 14px; border-radius: 4px; color: #4f5b62; background: #f2f4f5; font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.file-selection.has-error { color: #a1004f; background: #fff0f6; }
.file-help { margin: 0; color: #68737a; font-size: 11px; font-weight: 500; line-height: 1.8; }
.form-consent { padding: 22px 24px; border: 1px solid #d9dee1; background: #fafafa; }
.form-consent > p { margin: 0 0 14px; color: #5d686e; font-size: 12px; line-height: 1.8; }
.contact-form .consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; accent-color: var(--color-magenta); }
.contact-submit { display: flex; width: min(100%, 360px); min-height: 64px; margin: 4px auto 0; padding: 12px 22px; align-items: center; justify-content: space-between; border: 0; color: #fff; background: var(--color-magenta); font: inherit; font-size: 16px; font-weight: 800; letter-spacing: .1em; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.contact-submit:hover { transform: translateY(-2px); background: #a90057; }
.contact-submit i { font-size: 22px; font-style: normal; }
.contact-submit:disabled { background: #778188; cursor: default; transform: none; }
.form-notice { margin: 0 0 24px; padding: 20px 24px; border-left: 4px solid var(--color-magenta); background: #fff; overflow-wrap: anywhere; }
.form-setup-notice { color: #5c666c; }
.form-errors { color: #96114f; }
.form-errors strong { display: block; margin-bottom: 8px; }
.form-errors ul { margin: 0; padding-left: 1.4em; }
.form-success { max-width: 720px; margin: 0 auto; padding: 52px; text-align: center; }
.form-success h2 { margin: 12px 0 20px; font-size: clamp(26px, 4vw, 40px); }
.contact-home-link { display: inline-flex; min-height: 48px; margin-top: 20px; padding: 0 24px; align-items: center; color: #fff; background: var(--color-magenta); font-weight: 700; }
.contact-footer { padding: 26px 24px; color: #737d83; background: #151a1e; text-align: center; letter-spacing: .08em; }
.trap-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 767px) {
  .contact-page main { width: min(100% - 28px, 1080px); padding-top: 22px; padding-bottom: 64px; }
  .contact-header { min-height: 76px; padding: 10px 16px; }
  .contact-header__brand { gap: 8px; font-size: 11px; }
  .contact-header__brand img { width: 50px; height: 48px; }
  .contact-header__back { min-height: 38px; padding: 0 11px; font-size: 10px; }
  .contact-title { padding: 38px 0 30px; }
  .contact-title h1 { font-size: 38px; }
  .contact-title > p:last-child { font-size: 12px; }
  .contact-form { gap: 28px; padding: 28px 18px 34px; }
  .contact-form__grid { grid-template-columns: 1fr; gap: 26px; }
  .form-guidance { padding: 16px; }
  .form-guidance p { font-size: 12px; }
  .file-drop { min-height: 150px; padding: 20px; }
  .form-consent { padding: 18px; }
  .contact-submit { min-height: 58px; }
}
@media (max-width: 767px) {
  .hero-title-line { white-space: nowrap; }
  .hero-title-rail { right: .85em; }
  .hero-title-line:nth-of-type(2) .hero-title-rail { right: .7em; }
  .hero__media .hero-slide-base { object-position: 58% 50%; }
  .hero__media .hero-slide {
    transform: none;
    transition: opacity .8s cubic-bezier(.45, 0, .55, 1);
  }
  .hero__media .hero-slide img { object-position: 0% 50%; }
  .js:not(.motion-paused) .hero__media .hero-slide.is-active img {
    animation: hero-mobile-pan-to-edge 1.45s cubic-bezier(.4, 0, .2, 1) forwards;
  }
  .js:not(.motion-paused) .hero__media .hero-slide.is-exiting img { object-position: 100% 50%; }
  .js:not(.motion-paused) .hero__media .hero-slide.is-exiting { opacity: 0; transform: none; }
  .works-gallery.coverflow { --card-width: min(72vw, 340px); gap: 16px; padding-top: 24px; }
  .works-gallery.coverflow::before, .works-gallery.coverflow::after { flex-basis: max(0px, calc((100% - var(--card-width)) / 2 - 16px)); }
  .works-gallery.coverflow .photo-card { height: 365px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .works-gallery.coverflow .photo-card, .coverflow-face { transform: none !important; }
  .hero__media .hero-slide { opacity: 0 !important; transform: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 1023px) {
  html:not(.js) .site-header { position: relative; height: auto; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; }
  html:not(.js) .menu-toggle, html:not(.js) .global-nav__head { display: none; }
  html:not(.js) .global-nav { position: static; visibility: visible; transform: none; width: 100%; height: auto; padding: 16px; }
  html:not(.js) .global-nav__list { display: grid; grid-template-columns: 1fr 1fr; }
  html:not(.js) .global-nav__list a { min-height: 48px; flex-wrap: wrap; gap: 0; }
}

/* COMPANY PROFILE */
.section-company {
  display: grid;
  max-width: var(--content-max);
  margin: 0 auto;
  grid-template-columns: minmax(300px, 36%) minmax(0, 64%);
  border-top: 34px solid var(--color-gray-light);
  background: #fff;
}
.company-overview {
  position: relative;
  padding: var(--section-space) clamp(34px, 5.2vw, 82px);
  overflow: hidden;
  background: #f5f6f6;
}
.company-overview::before {
  content: "";
  position: absolute;
  right: clamp(-40px, -2.5vw, -16px);
  bottom: clamp(-54px, -3vw, -24px);
  width: clamp(250px, 31vw, 450px);
  aspect-ratio: 834 / 781;
  background: url('../images/logo.png') center / contain no-repeat;
  opacity: .055;
  pointer-events: none;
}
.company-overview > * { position: relative; z-index: 1; }
.company-overview h2 {
  margin-bottom: 36px;
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: .06em;
}
.company-overview p:not(.section-label) {
  max-width: 34em;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 2.15;
}
.company-overview__lead { padding-top: 24px; border-top: 2px solid var(--color-magenta); }
.company-profile { padding: clamp(64px, 7vw, 108px) clamp(32px, 5.5vw, 86px); }
.company-profile__heading {
  margin-bottom: 20px;
  color: var(--color-magenta);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}
.company-profile__list { margin: 0; border-top: 1px solid var(--color-ink); }
.company-profile__list > div {
  display: grid;
  grid-template-columns: minmax(105px, 24%) minmax(0, 1fr);
  border-bottom: 1px solid var(--color-line);
}
.company-profile__list dt,
.company-profile__list dd { margin: 0; padding: 13px 16px; font-size: 12px; line-height: 1.75; }
.company-profile__list dt { color: #515a60; background: #f5f6f6; font-weight: 700; }
.company-profile__list dd { overflow-wrap: anywhere; }
.company-profile__list a { text-decoration: underline; text-decoration-color: rgba(195, 0, 100, .45); text-underline-offset: 4px; }
.company-profile__mobile-break { display: none; }
.company-map {
  display: grid;
  min-width: 0;
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, 31%) minmax(0, 1fr);
  border-top: 1px solid #d8dde0;
  background: #151a1e;
}
.company-map__heading { display: flex; padding: clamp(36px, 5vw, 72px); flex-direction: column; justify-content: center; color: #fff; }
.company-map__heading .section-label { margin-bottom: 10px; color: #ff298e; }
.company-map__heading h3 { margin: 0; font-family: var(--font-serif); font-size: clamp(28px, 3vw, 42px); font-weight: 500; letter-spacing: .06em; }
.company-map__heading > p { margin: 34px 0 24px; color: #d6dade; font-size: 13px; line-height: 2; }
.company-map__heading a { display: inline-flex; width: fit-content; align-items: center; gap: 10px; border-bottom: 1px solid #ff298e; padding-bottom: 7px; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.company-map iframe { display: block; width: 100%; min-height: 450px; border: 0; filter: saturate(.78) contrast(1.04); }
.hero--replayable { cursor: pointer; }
.hero--replayable a,
.hero--replayable button { cursor: pointer; }
.section-flow { display: block; }
.section-flow .flow-intro { max-width: 760px; margin-bottom: 52px; }
.section-flow .flow-intro > p:last-child { font-size: 14px; line-height: 2; }
.section-flow .flow-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.section-flow .flow-list li {
  display: grid;
  min-width: 0;
  padding: 0;
  grid-template-rows: minmax(154px, auto) 1fr;
  align-items: stretch;
  text-align: center;
}
.flow-step__head {
  display: flex;
  min-width: 0;
  padding: 28px 28px 28px 34px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #151a1e;
  clip-path: polygon(17px 0, calc(100% - 23px) 0, 100% 50%, calc(100% - 23px) 100%, 17px 100%, 0 50%);
}
.section-flow .flow-list li:first-child .flow-step__head { clip-path: polygon(0 0, calc(100% - 23px) 0, 100% 50%, calc(100% - 23px) 100%, 0 100%); }
.section-flow .flow-list__number { margin: 0 0 13px; color: #ff298e; font-family: inherit; font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.section-flow .flow-list h3 { margin: 0; color: #fff; font-size: 18px; line-height: 1.5; letter-spacing: .04em; }
.section-flow .flow-list__body {
  width: auto;
  min-height: 142px;
  margin-top: 14px;
  padding: 24px 18px;
  border: 1px solid #dfe3e6;
  border-top: 3px solid #ed0872;
  border-radius: 0 0 8px 8px;
  background: #fff;
}
.section-flow .flow-list__body p { margin: 0; color: #30373c; font-size: 13px; line-height: 1.9; }

@media (max-width: 1023px) {
  .section-company { grid-template-columns: 1fr; }
  .company-overview { padding: 76px var(--side-space) 68px; }
  .company-profile { padding: 64px var(--side-space) 82px; }
  .company-map { grid-template-columns: minmax(240px, 34%) minmax(0, 1fr); }
  .section-flow .flow-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .section-company { border-top-width: 18px; }
  .company-overview { padding: 68px var(--side-space) 58px; }
  .company-overview h2 { margin-bottom: 28px; }
  .company-overview p:not(.section-label) { font-size: 13px; line-height: 2; }
  .company-profile { padding: 48px var(--side-space) 68px; }
  .company-profile__list > div { grid-template-columns: 98px minmax(0, 1fr); }
  .company-profile__list dt,
  .company-profile__list dd { padding: 12px 10px; font-size: 11px; }
  .company-profile__mobile-break { display: initial; }
  .company-map { grid-template-columns: 1fr; }
  .company-map__heading { padding: 42px var(--side-space); }
  .company-map__heading > p { margin: 24px 0 18px; }
  .company-map iframe { min-height: 360px; }
  .section-flow .flow-intro { margin-bottom: 38px; }
  .section-flow .flow-intro > p:last-child { font-size: 14px; }
  .section-flow .flow-list { grid-template-columns: 1fr; gap: 22px; }
  .section-flow .flow-list li { display: grid; min-height: 0; padding: 0; grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 0; border: 0; }
  .section-flow .flow-list li:last-child { border-bottom: 0; }
  .flow-step__head,
  .section-flow .flow-list li:first-child .flow-step__head {
    min-height: 118px;
    padding: 23px 24px 32px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 50% 100%, 0 calc(100% - 18px));
  }
  .section-flow .flow-list__number { margin-bottom: 8px; font-size: 13px; }
  .section-flow .flow-list h3 { font-size: 19px; }
  .section-flow .flow-list__body { min-height: 0; margin-top: 8px; padding: 20px; border-radius: 0 0 8px 8px; }
  .section-flow .flow-list__body p { font-size: 14px; line-height: 1.85; }
}

/* Readable news and balanced contact/footer layout. */
.news-list li { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
.news-list time { font-size: 14px; }
.news-list li > span { font-size: 16px; line-height: 1.85; }
.contact-options > a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; }
.contact-options svg { width: 40px; height: 40px; }
.contact-options__line img.line-brand { margin: 0; }
.contact-options small, .contact-options em, .contact-options .contact-pending { font-size: 12px; }
.contact-options strong { font-size: 16px; }
.site-footer__main { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
.footer-nav { font-size: 15px; gap: 12px 28px; }
.footer-brand strong { font-size: 16px; }
.copyright { font-size: 12px; }
@media (max-width: 767px) {
  .site-footer__main { grid-template-columns: 1fr; gap: 30px; }
}
