/* The shared header keeps its existing breakpoints and appearance. */
.fcs-site-nav .fcs-page-link { display: none; }

@media (max-width: 780px) {
  .fcs-site-nav .fcs-section-link { display: none; }
  .fcs-site-nav .fcs-page-link { display: block; }
}

.frisumu-front {
  --front-ink: #182f45;
  --front-muted: #455e71;
  --front-blue: #005d9f;
  --front-navy: #122f49;
  --front-mist: #edf3f7;
  --front-rule: #bfced9;
  color: var(--front-ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.8;
}

.frisumu-front :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; }
.frisumu-front :where(h1, h2, h3, h4) { color: inherit; line-height: 1.45; overflow-wrap: anywhere; }
.frisumu-front h1 { font-size: clamp(33px, 3.05vw, 44px); font-weight: 730; letter-spacing: -.025em; }
.frisumu-front h2 { font-size: clamp(26px, 2.65vw, 39px); font-weight: 700; letter-spacing: -.025em; }
.frisumu-front h3 { font-size: 19px; font-weight: 700; }
.frisumu-front h4 { font-size: 16px; font-weight: 650; }
.frisumu-front p { color: var(--front-muted); }
.frisumu-front :where(h1, h2, h3) + p { margin-top: 12px; }
.frisumu-front a { color: var(--front-blue); }
.frisumu-front a:focus-visible, .frisumu-front button:focus-visible, .frisumu-front summary:focus-visible {
  outline: 3px solid #b97700;
  outline-offset: 3px;
}

.front-wrap { width: min(1176px, calc(100% - 96px)); margin-inline: auto; }
.front-band { padding-block: clamp(52px, 6vw, 88px); }
.front-mist { background: var(--front-mist); }
.front-band [id], .front-band[id] { scroll-margin-top: 100px; }
.frisumu-front .front-label {
  margin-bottom: 12px;
  color: var(--front-blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
}

.frisumu-front .front-hero { background: var(--front-navy); color: white; }
.front-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.18fr);
  align-items: center;
  column-gap: clamp(28px, 5.5vw, 80px);
  padding-block: 46px 33px;
}

.frisumu-front .front-hero p, .frisumu-front .front-navy p { color: #e1e9f1; }
.frisumu-front .front-hero .front-label, .frisumu-front .front-navy .front-label { color: #c2dbef; }
.front-hero-copy { padding-bottom: 32px; }
.frisumu-front .front-hero h1, .frisumu-front .front-navy h2 { color: #fff; }
.front-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin-top: 24px; }
.frisumu-front .front-button, .frisumu-front .front-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 650;
}
.frisumu-front .front-button {
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 20px;
  background: var(--front-blue);
  color: white;
  border: 1px solid transparent;
  border-radius: 4px;
  line-height: 1.5;
  text-decoration: none;
}
.frisumu-front .front-button:hover { background: #004a7f; }
.frisumu-front .front-link { text-decoration: underline; text-underline-offset: 4px; }
.frisumu-front .front-hero .front-button, .frisumu-front .front-navy .front-button { background: #fff; color: #12466e; }
.frisumu-front .front-hero .front-button:hover, .frisumu-front .front-navy .front-button:hover { background: #e2edf6; }
.frisumu-front .front-hero .front-link { color: #fff; font-size: 14px; }

.front-gallery { min-width: 0; }
.front-photos {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  background: #233f56;
}
.front-photos::-webkit-scrollbar { display: none; }
.frisumu-front .front-slide {
  display: block;
  position: relative;
  aspect-ratio: 1.56;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.front-slide > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.frisumu-front .front-slide:focus-visible { outline-offset: -4px; }
.frisumu-front .front-social-caption {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 4px;
  background: #fff;
  color: #182f45;
  font-size: 14px;
  font-weight: 700;
}
.front-gallery-controls { position: relative; display: flex; justify-content: center; min-height: 44px; }
.front-gallery-controls[hidden] { visibility: hidden; }
.front-gallery-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.front-gallery-controls button[aria-pressed] span { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #d0dfeb; }
.front-gallery-controls button[aria-pressed="true"] span { background: #fff; border-color: #fff; }

.frisumu-front .front-reveal {
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--front-reveal-delay, 0s);
}
.frisumu-front .front-reveal-pending {
  opacity: 0;
  transform: translateY(25px);
  transition: none;
}
.frisumu-front .front-reveal:focus-within {
  opacity: 1;
  transform: none;
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .frisumu-front .front-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.front-section-grid, .front-process {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(28px, 7vw, 104px);
}
.front-service-list article {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px 22px;
  padding: 16px 0 12px;
  border-top: 1px solid var(--front-rule);
}
.front-service-list article:last-child { border-bottom: 1px solid var(--front-rule); }
.front-service-list .front-link { margin-inline-end: 20px; font-size: 14px; }
.front-inline { display: flex; justify-content: space-between; align-items: center; gap: 20px 48px; }
.front-inline .front-button { flex-shrink: 0; }
.frisumu-front .front-navy { background: var(--front-navy); color: #fff; }
.front-navy.front-band { padding-block: clamp(42px, 5vw, 72px); }

.front-ledger { background: #fff; padding: clamp(20px, 2.3vw, 34px); border-top: 3px solid var(--front-blue); }
.frisumu-front .front-ledger h3 + p { margin-top: 4px; font-size: 14px; }
.front-ledger dl { margin-top: 14px; }
.front-ledger dl > div, .front-company > div {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  padding: 11px 0;
  gap: 10px;
  border-top: 1px solid var(--front-rule);
}
.front-ledger dl > div:last-child { color: var(--front-blue); border-bottom: 1px solid var(--front-rule); }
.front-ledger dd strong { display: block; font-size: clamp(25px, 3vw, 40px); line-height: 1.35; font-variant-numeric: tabular-nums; white-space: nowrap; }
.front-ledger dd small { font-size: .65em; }
.front-ledger dd span, .front-fine { font-size: 13px; }
.front-ledger .front-fine, .front-navy .front-fine { margin-top: 12px; }
.front-fee-more { margin-top: 24px; }
.front-difference-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 15px;
  text-align: left;
}
.front-difference-table :is(th, td) {
  padding: 11px 12px;
  border-bottom: 1px solid var(--front-rule);
  overflow-wrap: anywhere;
  vertical-align: top;
}
.front-difference-table thead { background: var(--front-navy); color: #fff; }
.front-difference-table thead th:first-child { width: 24%; }
.front-difference-table tbody td:nth-child(2) { background: var(--front-mist); font-weight: 650; }

.front-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 48px);
}
.front-map-panel, .front-simulator-panel { padding: clamp(24px, 3.2vw, 42px); }
.frisumu-front .front-map-panel h2 { color: #fff; }
.front-map-panel .front-button { margin-top: 18px; }
.frisumu-front .front-map-panel .front-link { display: table; margin-top: 8px; color: #e1e9f1; font-size: 14px; }
.frisumu-front .front-map-preview {
  margin: 18px 0 0;
}
.front-map-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}
.front-map-preview figcaption {
  margin-top: 6px;
  color: #c2dbef;
  font-size: 12px;
}

.front-simulator-panel { border: 1px solid var(--front-rule); background: #fff; }
.front-tool-links { padding: 0; margin-top: 14px; list-style: none; }
.front-tool-links a {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--front-rule);
}
.front-simulator-panel > .front-link { font-size: 14px; }

.front-guides { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 0 16px; font-size: 14px; }
.front-news { margin-top: 10px; }
.front-news article + article { border-top: 1px solid var(--front-rule); }
.frisumu-front .front-news article a { color: inherit; display: block; padding: 11px 0; }
.front-news article span, .front-news-more time { font-size: 13px; color: var(--front-muted); }
.front-news-more time { display: block; }
.front-news-more ul { padding: 0; list-style: none; }
.front-news-more li a { display: block; padding: 8px 0; border-bottom: 1px solid var(--front-rule); }
.frisumu-front summary {
  cursor: pointer;
  border-top: 1px solid var(--front-rule);
  padding: 10px 0;
  min-height: 44px;
  font-weight: 650;
}
.frisumu-front summary::marker { color: var(--front-blue); }
.front-process ol { margin-top: 18px; padding-left: 27px; }
.front-process ol li { padding-left: 4px; margin: 0 0 14px; }
.front-process li::marker { font-weight: 700; color: var(--front-blue); }
.front-process h3 + p { margin-top: 4px; }
.front-disclosures { margin-top: 12px; }
.front-disclosures details > :is(p, dl) { padding: 0 0 12px 14px; }
.front-disclosures dt { font-weight: 700; }
.front-case-meta { display: flex; flex-wrap: wrap; gap: 0 12px; margin-left: 14px; font-size: 13px; color: var(--front-muted); }
.front-case-meta strong { font-weight: 500; }
.front-case-meta small { font-size: inherit; }
.front-voices { margin-top: 12px; }
.front-quotes figure { border-top: 1px solid var(--front-rule); padding: 12px 0; }
.front-quotes blockquote { margin: 0; }
.front-company { margin-top: 14px; }
.front-company dt { font-weight: 650; }

.front-social.front-band { padding-block: 30px; }
.front-social h2 { font-size: clamp(23px, 2vw, 28px); }
.front-social nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 540px);
}
.front-social nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 4px;
  border: 1px solid var(--front-rule);
  font-size: 14px;
  text-decoration: none;
}
.front-social nav a:hover { background: var(--front-mist); }
.front-social nav img { flex: none; display: block; width: 22px; height: 22px; object-fit: contain; }

.front-social-caption img[src$="/x-official.svg"],
.front-social img[src$="/x-official.svg"],
.front-social img[src$="/note-official.svg"] {
  background: #111;
  border-radius: 4px;
}
.front-social-caption img[src$="/x-official.svg"],
.front-social img[src$="/x-official.svg"] { padding: 3px; }

@media (max-width: 940px) {
  .front-wrap { width: calc(100% - 56px); }
  .front-hero-grid { gap: 24px; }
  .front-service-list article { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 780px) {
  .front-wrap { width: calc(100% - 40px); }
  .front-band { padding-block: 42px; }
  .front-hero-grid { display: flex; flex-direction: column-reverse; align-items: stretch; padding-block: 0 32px; gap: 0; }
  .front-gallery { width: calc(100% + 40px); margin: 0 -20px 18px; }
  .front-hero-copy { padding-bottom: 0; }
  .frisumu-front .front-slide { aspect-ratio: auto; height: clamp(174px, 54vw, 310px); }
  .front-slide > img { object-position: center 35%; }
  .frisumu-front .front-label { margin-bottom: 7px; }
  .frisumu-front h1 { font-size: clamp(27px, 7.6vw, 42px); }
  .front-actions { margin-top: 16px; gap: 0 16px; }
  .front-hero .front-button { min-height: 48px; }
  .front-section-grid, .front-process, .front-tool-grid { grid-template-columns: 1fr; gap: 24px; }
  .front-process { gap: 30px; }
  .front-inline { align-items: flex-start; flex-direction: column; gap: 16px; }
  .front-social nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .front-difference-table { font-size: 14px; line-height: 1.55; }
  .front-difference-table :is(th, td) { padding: 9px 6px; }
}

@media (max-width: 780px), (max-width: 1024px) and (hover: none) and (pointer: coarse) {
  .front-photos {
    display: block;
    overflow: visible;
    scroll-snap-type: none;
  }
  .frisumu-front .front-slide {
    width: 100%;
    overflow: hidden;
  }
  .frisumu-front .front-slide > img {
    position: static;
    width: 100%;
    height: 100%;
  }
  .frisumu-front .front-slide:not(:first-child),
  .front-gallery-controls {
    display: none;
  }
}

@media (max-width: 360px) {
  .front-ledger dl > div { grid-template-columns: 1fr; gap: 2px; }
}
