@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap");

:root {
  --ink: #212121;
  --muted: #5f686d;
  --link: #2a6ebb;
  --link-hover: #1d4f8c;
  --blue: #235a9a;
  --blue-deep: #00357a;
  --blue-soft: #9ec3ea;
  --paper: #ffffff;
  --canvas: #f7f7f8;
  --mist: #f0f6ff;
  --band: #d5e4f6;
  --pill: #eaf2fa;
  --line: #d3deea;
  --line-strong: #b7c7da;
  --focus: #212121;
  --ok: #235a9a;
  --green: #235a9a;
  --green-soft: #2a6ebb;
  --green-deep: #00357a;
  --pine: #2a6ebb;
  --pine-deep: #00357a;
  --moss: #235a9a;
  --lingon: #2a6ebb;
  --lingon-deep: #00357a;
  --lake: #235a9a;
  --lake-deep: #00357a;
  --sun: #235a9a;
  --ink-soft: #212121;
  --grey: #f7f7f8;
  --birch: #f0f6ff;
  --snow: #f7f7f8;
  --mist-old: #e6e6e6;
  --ice: #d5e4f6;
  --display: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --radius: 8px;
  --radius-card: 10px;
  --shadow: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--canvas); }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  background: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; width: 100%; }
#site-footer { margin-top: auto; width: 100%; }
body.nav-open { overflow: hidden; }
#site-header { z-index: 80; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.visually-hidden,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

h1, h2, h3, h4, .display, .serif {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  color: var(--ink);
}

h1 { font-size: 40px; font-weight: 700; margin: 0 0 0.4em; text-wrap: balance; }
h2 { font-size: 32px; margin: 0 0 0.5em; }
h3 { font-size: 22px; margin: 0 0 0.35em; }
p { line-height: 1.5; }

.lede { font-size: 20px; line-height: 1.45; color: var(--ink); max-width: 42rem; }
.tiny, .eyebrow { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--muted); }
.muted { color: var(--muted); }
.site-ribbon { display: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.fi-top { background: #fff; }
.fi-top-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.site-brand, .footer-brand, .site-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--blue-deep);
  flex-shrink: 0;
}
.site-brand:hover, .footer-brand:hover { text-decoration: none; color: var(--blue-deep); }
.brand-mark { display: block; width: 36px; height: 36px; flex: 0 0 36px; }
.brand-mark svg { display: block; width: 36px; height: 36px; }
.site-wordmark {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--blue-deep);
}
.site-tld { font-weight: 600; color: var(--link); }
.site-brand-place, .fi-flag, .site-locale { display: none; }

.fi-header-search {
  display: flex;
  align-items: stretch;
  height: 44px;
  background: #fff;
  border: 1px solid #c5d0dc;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: none;
  min-width: 0;
}
.fi-header-search button { flex-shrink: 0; }
.fi-header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: #fff;
  padding: 0 14px;
  font-size: 16px;
  outline: none;
}
.fi-header-search input::placeholder { color: #6b7280; }
.fi-header-search button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: var(--blue);
  color: #fff;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.fi-header-search button:hover { background: var(--blue-deep); }
.fi-header-search .nav-ico { width: 18px; height: 18px; }

.fi-top-tools { display: flex; align-items: center; gap: 16px; }
.fi-lang { display: none; }
.fi-login {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  background: #fff;
  color: var(--blue-deep);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}
.fi-login:hover { background: var(--mist); color: var(--blue-deep); text-decoration: none; }
.fi-login svg { display: block; width: 18px; height: 18px; }

.site-nav { display: block; background: #fff; border-top: 1px solid #edf1f6; }
.site-nav-inner { display: flex; flex-wrap: nowrap; align-items: flex-end; justify-content: flex-start; gap: 6px 26px; }
.site-nav a {
  display: inline-block;
  padding: 14px 2px 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--ink); border-bottom-color: var(--link); text-decoration: none; }

.header-actions { display: none; }
.nav-toggle { display: none; }
.nav-ico { width: 22px; height: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-deep); color: #fff; text-decoration: none; }
.btn-secondary { background: #fff; color: var(--link); border-color: var(--link); }
.btn-secondary:hover { background: var(--mist); text-decoration: none; }

.nav-toggle, .nav-close, .nav-back {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
}
.header-tool {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 64px;
  min-height: 56px;
  padding: 6px 8px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.nav-overlay { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.nav-overlay.is-open { visibility: visible; pointer-events: auto; }
.nav-overlay-scrim { position: absolute; inset: 0; background: rgba(0, 30, 70, 0.45); opacity: 0; transition: opacity .2s ease; }
.nav-overlay.is-open .nav-overlay-scrim { opacity: 1; }
.nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  height: 100dvh;
  background: #fff;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transform: translateX(104%);
  transition: transform .25s ease;
}
.nav-overlay.is-open .nav-panel { transform: none; }
.nav-panel-bar { display: flex; justify-content: flex-end; padding: 12px 12px 0; background: var(--blue-deep); }
.nav-panel-bar .nav-close { color: #fff; }
.nav-panel-scroll { overflow: auto; padding: 8px 20px 28px; }
.nav-sheet { display: none; }
.nav-sheet.is-active { display: block; }
.nav-item, .nav-sub-link, .nav-back {
  width: 100%;
  text-align: left;
  text-decoration: none;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--link);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}
.nav-item:hover, .nav-sub-link:hover { text-decoration: underline; }
.nav-sub-title { margin: 16px 0 8px; font-size: 22px; }

.fi-hero {
  background: var(--blue-deep);
  color: #fff;
  padding: 48px 0 56px;
}
.fi-hero h1 {
  color: #fff;
  text-align: center;
  max-width: 18em;
  margin: 0 auto 32px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}
.fi-spots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.fi-spot {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  min-height: 100%;
}
.fi-spot:hover { text-decoration: none; color: var(--ink); box-shadow: 0 8px 24px rgba(0, 30, 70, 0.16); }
.fi-spot img { width: 100%; height: 180px; object-fit: cover; }
.fi-spot-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.fi-spot h2 { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.fi-chevron { color: var(--link); font-weight: 600; font-size: 18px; text-decoration: none; }
.fi-chevron::before { content: "›"; margin-right: 8px; font-weight: 700; }
a.fi-chevron:hover { text-decoration: underline; }
.fi-spot .fi-chevron { margin-top: auto; }

.fi-band { background: #fff; padding: 48px 0 56px; }
.fi-band-mist { background: var(--mist); }
.fi-band-mid { background: var(--band); }
.fi-band h2, .hub-title { font-size: 32px; font-weight: 700; margin: 0 0 20px; }

.fi-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.fi-service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 8px 8px 0;
}
.fi-service:hover { text-decoration: none; color: var(--ink); }
.fi-service-ico {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  color: var(--link);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.fi-band-mist .fi-service-ico { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.fi-service h3 { margin: 0; font-size: 22px; }
.fi-service p { margin: 0 0 6px; font-size: 18px; line-height: 1.45; }

.fi-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 40px; margin-bottom: 28px; }
.fi-shortcuts a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
  font-size: 18px;
}
.fi-shortcuts a::before { content: "›"; font-weight: 700; }
.fi-shortcuts a:hover { text-decoration: underline; }

.fi-finder {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 18px 8px;
}
.fi-brief { background: #fff; padding: 28px 0 48px; }
.fi-brief h2 { margin-bottom: 12px; }
.fi-brief p { max-width: 46rem; margin: 0 0 12px; font-size: 18px; }

.fi-help { background: var(--mist); padding: 48px 0 56px; }
.fi-help h2 { margin-bottom: 22px; }
.fi-help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.fi-help article h3 { margin: 0 0 8px; font-size: 22px; }
.fi-help article p { margin: 0 0 12px; font-size: 18px; }
.fi-help a { text-decoration: none; }

.section { padding: 48px 0; }
.section-soft { background: var(--mist); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}
.section-head p { margin: 6px 0 0; color: var(--muted); }

.subjectbar,
.page-hero-band,
.cat-banner,
.guide-hero,
.company-hero {
  position: relative;
  overflow: visible;
  background:
    radial-gradient(900px 240px at 100% 0%, rgba(158, 195, 234, 0.34), transparent 58%),
    var(--blue-deep);
  color: #fff;
  padding: 36px 0 40px;
  min-height: 0;
}
.subjectbar::before,
.page-hero-band::before,
.cat-banner::before,
.guide-hero::before,
.company-hero::before { content: none; }
.subjectbar::after,
.page-hero-band:not(:has(figure))::after,
.company-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1.5px);
  background-size: 18px 18px;
  mask-image: linear-gradient(100deg, transparent 0%, #000 48%, #000 100%);
}
.cat-banner > img,
.page-hero-band figure,
.guide-hero .guide-hero-figure {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(46%, 640px);
  margin: 0;
  object-fit: cover;
  z-index: 0;
}
.page-hero-band figure img,
.guide-hero .guide-hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-banner::before,
.page-hero-band:has(figure)::before,
.guide-hero:has(.guide-hero-figure)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #00357a 0%, #00357a 34%, rgba(0, 53, 122, 0.82) 46%, rgba(0, 53, 122, 0.28) 58%, rgba(0, 53, 122, 0) 70%);
}
.subjectbar h1,
.page-hero-band h1,
.cat-banner h1,
.guide-hero h1,
.company-hero h1 {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  max-width: 14em;
  margin: 0;
}
.subjectbar .lede,
.page-hero-band .lede,
.cat-banner .lede,
.guide-hero .lede,
.company-hero .lede,
.subjectbar .tiny,
.page-hero-band .tiny,
.cat-banner .tiny,
.guide-hero .tiny,
.subjectbar .crumbs,
.subjectbar .crumbs a,
.page-hero-band .crumbs,
.page-hero-band .crumbs a,
.cat-banner .crumbs,
.cat-banner .crumbs a,
.guide-hero .crumbs,
.guide-hero .crumbs a {
  color: #fff;
}
.cat-banner .btn-primary,
.page-hero-band .btn-primary,
.subjectbar .btn-primary,
.guide-hero .btn-primary { background: #fff; color: var(--blue-deep); border-color: #fff; }
.cat-banner .btn-secondary,
.page-hero-band .btn-secondary,
.subjectbar .btn-secondary,
.guide-hero .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.mast-visual { display: block; }
.essay-hero > img,
.essay-gallery,
.how-media,
.why-photo,
.faq-aside figure,
.contact-split > img,
.cat-band-media { display: none !important; }
.page-hero-band .mast-visual,
.guide-hero > .wrap { position: static; }
.mast-visual > div,
.guide-hero-copy,
.page-hero-band .wrap:not(.mast-visual),
.cat-banner .wrap,
.subjectbar .wrap,
.company-hero .wrap { position: relative; z-index: 2; }
.page-hero-band:has(figure) .mast-visual > div,
.guide-hero:has(.guide-hero-figure) .guide-hero-copy { max-width: 36rem; }
.cat-banner .lede,
.page-hero-band:has(figure) .lede,
.guide-hero .lede { max-width: 34rem; }
.page-hero-band .search-card,
.cat-banner .search-card,
.subjectbar .search-card {
  background: #fff;
  width: min(760px, 100%);
  margin-top: 22px;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 20, 50, 0.24);
}
.page-hero-band .search-card .search-field label,
.cat-banner .search-card .search-field label,
.subjectbar .search-card .search-field label { color: var(--muted); }
.page-hero-band figure::after,
.guide-hero .guide-hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 53, 122, 0.55) 0%, rgba(0, 53, 122, 0.12) 36%, rgba(0, 53, 122, 0) 58%);
}

main.page-hero,
.wrap.page-hero {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 56px;
  background: transparent;
  color: var(--ink);
}
main.page-hero h1,
.wrap.page-hero h1,
main.page-hero .lede,
.wrap.page-hero .lede,
main.page-hero .tiny,
.wrap.page-hero .tiny { color: var(--ink); max-width: none; }

.crumbs { font-size: 16px; margin: 0 0 10px; }
.crumbs a { color: inherit; text-decoration: underline; }
.crumbs-sep { margin: 0 6px; opacity: 0.7; }

.hub-top { background: #fff; padding: 8px 0 36px; }
.hub-topics { background: var(--mist); padding: 40px 0 52px; }
.hub-topics .lede { margin: 0 0 22px; }
.hub-follow { background: var(--canvas); }
.hub-note { margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.hub-search { margin: 0; }

.search-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr auto;
  gap: 12px;
  align-items: end;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  z-index: 5;
  color: var(--ink);
}
.search-field { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 0; background: transparent; }
.search-field + .search-field { border: 0; padding-left: 0; }
.search-field label, .field label { font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.page-hero-band .search-field label,
.cat-banner .search-field label,
.subjectbar .search-field label,
.guide-hero .search-field label { color: #fff; }
.search-field input,
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #c5d0dc;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
  padding: 11px 12px;
  font-size: 16px;
}
.search-field input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus,
.fi-header-search:focus-within { border-color: var(--blue); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.search-go { align-self: end; margin: 0; min-width: 108px; min-height: 46px; }
.search-field.is-open { z-index: 6; }
.search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  max-height: 320px;
  overflow: auto;
  box-shadow: 0 8px 24px rgba(0, 30, 70, 0.12);
}
.search-suggest button,
.search-suggest [role="option"] {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  color: var(--ink);
}
.search-suggest button:hover,
.search-suggest button.is-active,
.search-suggest [aria-selected="true"] { background: var(--mist); }
.search-suggest-label,
.search-suggest-empty { padding: 8px 12px; font-size: 14px; color: var(--muted); font-weight: 600; }
.search-suggest-empty { font-weight: 400; }
.search-suggest button small { display: block; color: var(--muted); font-weight: 400; }
.search-popular { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; color: var(--muted); font-size: 16px; }
.search-popular button { border: 0; background: transparent; padding: 0; color: var(--link); text-decoration: underline; cursor: pointer; font-weight: 600; }

.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.topic-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px 20px 16px; }
.topic-card h3 { margin: 0 0 12px; font-size: 20px; }
.topic-card .lede { margin: 0 0 12px; font-size: 16px; }
.topic-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.topic-links a { color: var(--link); font-size: 16px; font-weight: 600; text-decoration: none; }
.topic-links a::before { content: "›\00a0"; font-weight: 700; }
.topic-links a:hover { text-decoration: underline; }

.firm-list, .trade-index, .nav-cards { display: flex; flex-direction: column; gap: 12px; border: 0; }
.firm-grid, .story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hub-firms.firm-grid, .hub-stories.story-grid { gap: 16px; }
.firm-grid.is-paged > .firm-card { display: none; }
.firm-grid.is-paged > .firm-card.is-on { display: grid; }
.firm-card, .story-card, .trade-row, .nav-card, .cat-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--ink);
  position: relative;
}
.firm-card { grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; align-items: start; cursor: pointer; }
.firm-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 2px;
  border-radius: 10px;
  background: var(--blue-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.trade-no, .story-card img, .firm-cover, .firm-cover img, .firm-card .badge { display: none; }
.firm-body { min-width: 0; }
.firm-body h3, .story-card h3, .trade-row h3, .cat-band h2, .nav-card strong { margin: 0 0 6px; font-size: 20px; }
.firm-body h3 a, .trade-row h3 a, .cat-band h2 a, .story-card, .nav-card { color: var(--link); text-decoration: none; }
.firm-body h3 a:hover, .story-card:hover h3 { text-decoration: underline; }
.firm-body p, .story-card p, .trade-row p, .cat-band p, .nav-card span { margin: 0; color: var(--ink); font-size: 16px; font-weight: 400; }
.firm-body p:not(.firm-meta), .trade-row p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.firm-card, .trade-row, .story-card, .nav-card { transition: border-color .15s ease, box-shadow .15s ease; }
.firm-card:hover, .trade-row:hover, .story-card:hover, .nav-card:hover {
  border-color: #9eb4cc;
  box-shadow: 0 8px 22px rgba(0, 53, 122, 0.08);
}
.firm-meta, .story-card .tiny { margin-top: 8px; color: var(--muted); font-size: 15px; }
.firm-meta { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story-card { padding-right: 36px; }
.story-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.firm-phone { color: var(--link); font-weight: 700; position: relative; z-index: 2; }
.firm-card-link::before { content: ""; position: absolute; inset: 0; }
.story-card::after, .nav-card::after {
  content: "›";
  position: absolute;
  right: 16px;
  top: 16px;
  color: var(--link);
  font-weight: 700;
  font-size: 22px;
}

.shortcut-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.shortcut-row h2 { margin: 0; font-size: 20px; }
.shortcut-pills, .home-pills, .pill-row, .filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.shortcut-pills a, .home-pills a, .pill, .filter-pill, .badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 14px;
  border-radius: 14px;
  background: var(--pill);
  color: var(--muted);
  border: 0;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
}
.shortcut-pills a:hover, .home-pills a:hover, .filter-pill:hover { background: #d5e4f6; color: var(--blue-deep); text-decoration: none; }
.filter-pill.is-on, .pill.is-on { background: var(--blue-deep); color: #fff; }

.home-directory { margin-top: 40px; }
.home-directory-head p { margin: 0 0 18px; max-width: 42rem; color: var(--ink); }
.home-directory-group { margin-bottom: 22px; }
.home-directory-group h3 { margin: 0 0 10px; font-size: 18px; }
.home-directory-note { margin: 8px 0 0; max-width: 46rem; color: var(--muted); font-size: 15px; }
.home-directory-note a { color: var(--link); }

.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-card); overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { background: var(--mist); font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: 0; text-transform: none; }
.price-table a { font-weight: 700; color: var(--link); }
.price-table strong { font-weight: 700; font-size: 18px; }

.text-links { display: flex; flex-wrap: wrap; gap: 8px; }
.text-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--pill);
  color: var(--blue-deep);
  font-weight: 700;
  text-decoration: none;
}
.text-links a:hover { background: var(--band); color: var(--blue-deep); text-decoration: none; }
.seo-index, .seo-prose { max-width: 46rem; margin-top: 28px; }
.seo-prose p, .doc p { font-size: 18px; line-height: 1.6; }

.region-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.region-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 16px 18px; }
.region-col h3 { margin: 0 0 8px; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); border: 0; }
.region-col a, .place-tile { display: block; padding: 6px 0; border: 0; color: var(--link); font-weight: 600; text-decoration: none; }
.place-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.place-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 16px 18px; }
.place-tile img, .place-tile small { display: none; }
.place-tile h3 { margin: 0; font-size: 20px; color: var(--link); }

.reading-list { list-style: none; margin: 0; padding: 0; }
.reading-list a { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.reading-list em { font-style: normal; color: var(--link); font-weight: 700; }

.panel, .rate-card, .price-shot, .review-card, .company-fact, .company-panel, .company-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 20px;
}
.rate-grid, .card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rate-card, .price-shot {
  display: block;
  width: 100%;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
}
.rate-card img, .price-shot img, .price-out-visual { display: none; }
.rate-card h3 { margin: 2px 0 4px; font-size: 18px; }
.rate-card strong { display: block; font-size: 18px; letter-spacing: -0.02em; color: var(--blue-deep); }
.rate-card em { display: block; margin-top: 2px; font-style: normal; color: var(--muted); font-size: 14px; }
.rate-card.is-on { border-color: var(--blue); background: #f4f8fc; box-shadow: inset 0 0 0 1px var(--blue); }
.price-stage { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: start; }
.price-dock { display: grid; gap: 12px; position: sticky; top: 128px; }
.price-result-num { margin: 2px 0 8px; font-size: 32px; font-weight: 700; letter-spacing: -0.03em; color: var(--blue-deep); }
.price-range {
  position: relative;
  height: 8px;
  margin: 4px 0 14px;
  border-radius: 999px;
  background: #d5e4f6;
  font-size: 0;
}
.price-range b { display: block; width: 68%; height: 100%; margin-left: 14%; border-radius: inherit; background: var(--blue); }
.price-range i {
  position: absolute;
  top: -4px;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--blue-deep);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--blue-deep);
}
.price-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.price-split strong { display: block; font-size: 16px; }
.check-row { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 16px; }

.guide-faq, .faq-plain { margin-top: 8px; }
.faq-item, .faq-plain details, .guide-faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 12px 16px;
  margin: 0 0 8px;
}
.faq-item summary, .guide-faq summary, .faq-plain summary {
  cursor: pointer;
  font-weight: 700;
  padding: 8px 4px;
}
.faq-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 2px;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.faq-item button span { flex: none; color: var(--link); font-size: 22px; font-weight: 500; line-height: 1; }
.faq-item p { margin: 0; padding: 2px 2px 8px; }
.guide-faq details[open], .faq-plain details[open], .faq-item[open], .faq-item.is-open { background: #f8fbff; }
.guide-faq p { margin: 8px 0 0; }

.guide-layout, .faq-split, .contact-split, .why-split { display: grid; grid-template-columns: 220px 1fr; gap: 28px; margin: 18px auto 48px; }
.how-story .how-row, .contact-split, .faq-split, .why-split { grid-template-columns: 1fr; }
.guide-toc { position: sticky; top: 128px; }
.guide-toc a { display: block; padding: 6px 0 6px 10px; color: var(--link); text-decoration: none; font-weight: 600; border-left: 2px solid transparent; }
.guide-toc a.is-on { color: var(--blue-deep); border-left-color: var(--blue); }
.guide-main h2 { margin-top: 1.4em; }
.guide-table-wrap { overflow: auto; }
.guide-table { width: 100%; border-collapse: collapse; background: #fff; }
.guide-table th, .guide-table td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.guide-hero-copy { max-width: 42rem; }
.guide-use { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-use article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 18px; }
.kort-sagt, .guide-note, .publisher-block {
  background: #f4f8fc;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  padding: 16px 18px;
  color: var(--ink);
}
.guide-use article { overflow: hidden; padding: 0 0 18px; }
.guide-use figure { display: block; margin: 0 0 14px; height: 148px; }
.guide-use figure img { width: 100%; height: 100%; object-fit: cover; }
.guide-use h3, .guide-use p { margin-left: 18px; margin-right: 18px; }
.guide-featured {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
}
.guide-featured img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.guide-featured-body { padding: 22px 24px; }
.guide-featured h2 { margin: 6px 0 8px; font-size: 28px; }
.guide-featured:hover { text-decoration: none; border-color: #9eb4cc; }
.guide-featured:hover h2 { text-decoration: underline; }
.publisher-facts { display: grid; gap: 12px; margin: 12px 0 0; }
.publisher-facts div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; }
.publisher-facts dt { color: var(--muted); font-weight: 600; }
.publisher-facts dd { margin: 0; }

.how-story .how-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  margin-bottom: 12px;
}
.how-kicker { font-size: 16px; font-weight: 700; color: var(--link); }
.why-list { list-style: none; margin: 12px 0 0; padding: 4px 0; background: #fff; border-radius: var(--radius-card); }
.why-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.stars { color: var(--blue); letter-spacing: 2px; }

main.doc-page > .section { padding: 28px 0 56px; }
.doc, .notice-page, .prose-article { max-width: 46rem; }
.wrap.doc { width: min(var(--wrap), calc(100% - 40px)); max-width: none; }
.wrap.doc > * { max-width: 46rem; }
.doc h2 { margin-top: 1.3em; }
.notice-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.link-list { display: grid; gap: 12px; }
.link-list a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
}
.link-list a strong { display: block; margin: 4px 0; font-size: 20px; color: var(--link); }
.link-list a p { margin: 0; }

.company-hero .lede { max-width: 40rem; margin: 10px 0 0; font-size: 18px; }
.company-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.company-chips li { margin: 0; padding: 4px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 14px; font-weight: 600; }
.company-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.company-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; padding: 28px 0 64px; }
.company-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.company-fact .tiny { margin: 0 0 6px; text-transform: none; letter-spacing: 0; }
.company-fact-value { margin: 0 0 6px; font-size: 20px; font-weight: 700; overflow-wrap: anywhere; }
.company-panel { margin-top: 16px; }
.company-panel h2, .company-side h2, .company-peers h2 { margin: 0 0 10px; font-size: 22px; }
.company-panel p { margin: 0 0 12px; }
.company-ask { list-style: none; margin: 4px 0 0; padding: 0; }
.company-ask li { position: relative; margin: 0; padding: 12px 0 12px 18px; border-top: 1px solid var(--line); }
.company-ask li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--link); }
.company-advice { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.company-services { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.company-service { display: block; padding: 16px 18px; border-radius: var(--radius-card); background: var(--mist); color: var(--ink); text-decoration: none; }
.company-service:hover { background: var(--band); text-decoration: none; }
.company-service strong { display: block; margin-bottom: 4px; color: var(--link); }
.company-service span { color: var(--muted); font-size: 15px; }
.company-peers { margin-top: 28px; }
.company-more { margin: 8px 0 0; }
.company-more a, .company-guide, .company-contact { font-weight: 700; text-decoration: none; }
.company-aside { position: sticky; top: 120px; display: grid; gap: 12px; }
.company-side .btn { margin-top: 8px; }

.profile-hero, .profile-facts, .contact-facts { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 18px 20px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.review-grid { display: grid; gap: 12px; }

.pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.pager-status { color: var(--muted); font-size: 15px; }
.pager-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pager .pager-link, .pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
}
.pager .pager-link.is-on,
.pager a.is-on,
.pager a[aria-current="page"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.pager .pager-link.is-disabled { color: var(--muted); pointer-events: none; }
.pager-gap { color: var(--muted); }

.topics-label { margin: 0 0 16px; font-size: 16px; }
.spotlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spotlight {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
}
.spotlight img { width: 100%; height: 140px; object-fit: cover; border-radius: 0; flex: none; }
.spotlight div { padding: 14px 16px 16px; }
.spotlight h3 { margin: 0 0 6px; font-size: 20px; }
.spotlight p { margin: 0; font-size: 16px; }
.spotlight:hover { text-decoration: none; }

.site-footer { background: var(--blue-deep); color: #fff; padding: 28px 0 20px; }
.site-footer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: #fff; }
.site-footer .site-wordmark, .site-footer .site-tld, .site-footer .footer-brand { color: #fff; text-decoration: none; }
.site-footer .brand-mark {
  background: #fff;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  padding: 3px;
  box-sizing: border-box;
}
.site-footer .brand-mark svg { width: 34px; height: 34px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.footer-links a { font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h4 { margin: 0 0 10px; font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer .footer-grid a { text-decoration: none; }
.site-footer .footer-grid a:hover { text-decoration: underline; }
.footer-lead, .footer-origin, .footer-publisher { color: rgba(255, 255, 255, 0.88); font-size: 15px; line-height: 1.5; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 14px; color: rgba(255, 255, 255, 0.88); }

@media (max-width: 980px) {
  .fi-top-inner { grid-template-columns: 1fr auto; min-height: 72px; gap: 12px 16px; }
  .fi-header-search { grid-column: 1 / -1; max-width: none; order: 3; }
  .fi-lang, .fi-login { display: none; }
  .nav-toggle.header-tool { display: inline-flex; }
  .site-nav { display: none; }
  .fi-spots, .fi-services, .fi-help-grid, .guide-use, .spotlight-grid { grid-template-columns: 1fr; }
  .fi-shortcuts, .hub-firms.firm-grid, .hub-stories.story-grid, .topic-grid, .footer-grid, .price-stage { grid-template-columns: 1fr; }
  .fi-hero h1, h1, .subjectbar h1, .page-hero-band h1, .cat-banner h1, .guide-hero h1 { font-size: 30px; }
  h2, .fi-band h2, .hub-title { font-size: 26px; }
  .search-card { grid-template-columns: 1fr; }
  .region-board, .place-grid, .company-layout, .company-facts, .company-services, .firm-grid, .story-grid, .rate-grid, .guide-featured, .price-split { grid-template-columns: 1fr; }
  .price-dock { position: static; }
  .guide-featured img { height: 180px; min-height: 0; }
  .company-aside, .guide-toc { position: static; }
  .publisher-facts div, .reading-list a { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .fi-spot img { height: 200px; }
}

@media (min-width: 700px) and (max-width: 980px) {
  .fi-spots, .topic-grid, .firm-grid, .story-grid, .rate-grid { grid-template-columns: 1fr 1fr; }
}

.home-stage {
  position: relative;
  min-height: 560px;
  background: #00357a;
  color: #fff;
  overflow: visible;
  padding-bottom: 96px;
}
.home-stage-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 46%;
  z-index: 0;
}
.home-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #00357a 0%, #00357a 34%, rgba(0, 53, 122, 0.9) 46%, rgba(0, 53, 122, 0.38) 60%, rgba(0, 53, 122, 0.08) 74%, rgba(0, 53, 122, 0) 86%);
}
.home-stage-inner { position: relative; z-index: 5; }
.home-stage-copy { max-width: 540px; padding: 48px 0 0; }
.home-stage h1 { margin: 0 0 12px; color: #fff; font-size: 44px; max-width: 11em; line-height: 1.12; }
.home-stage .home-lede { margin: 0; color: rgba(255, 255, 255, 0.9); font-size: 18px; max-width: 34rem; }
.home-stage .search-card {
  grid-template-columns: 1fr 1fr auto;
  width: 620px;
  max-width: calc(100% + 88px);
  margin-top: 22px;
  background: #fff;
  padding: 14px;
  gap: 12px;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 20, 50, 0.28);
}
.home-stage .search-field label { color: #5f686d; }
.home-stage .hub-note { max-width: 34rem; color: rgba(255, 255, 255, 0.82); }
.home-stage .hub-note strong { color: #fff; }
.home-trades { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.home-trades a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.3;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
}
.home-trades a:hover { background: #fff; color: #00357a; text-decoration: none; }
.home-stage a:focus-visible { outline-color: #fff; outline-offset: -3px; }

.home-price-rail { position: relative; z-index: 2; margin-top: -44px; }
.home-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.home-rate {
  display: flex;
  flex-direction: column;
  min-height: 148px;
  padding: 16px 16px 14px;
  background: #fff;
  border: 1px solid rgba(0, 53, 122, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 30, 70, 0.1);
  color: var(--ink);
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.home-rate:hover {
  transform: translateY(-2px);
  border-color: #1d4e89;
  box-shadow: 0 14px 28px rgba(16, 24, 32, 0.14);
  text-decoration: none;
  color: var(--ink);
}
.home-rate:hover strong { text-decoration: underline; }
.home-rate b { display: block; font-size: 28px; line-height: 1.1; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.home-rate strong { display: block; margin-top: 8px; font-size: 17px; }
.home-rate small {
  display: block;
  margin-top: auto;
  padding-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  text-wrap: balance;
}
.home-price-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  margin-top: 14px;
}
.home-price-note { margin: 0; color: var(--muted); font-size: 15px; }
.home-price-foot > a { font-weight: 700; white-space: nowrap; }

.home-block { background: #fff; padding: 44px 0 48px; }
.home-block h2 { margin: 0 0 18px; }
.home-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.home-head h2 { margin: 0; }
.home-head p { margin: 6px 0 0; color: var(--muted); max-width: 40rem; }
.home-head > a, .home-route-go {
  color: var(--link);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.home-head > a:hover, .home-route-go:hover { text-decoration: underline; }

.home-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 78px;
  gap: 12px;
}
.home-shot {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
  color: #fff;
  text-decoration: none;
  background: #243044;
  border-radius: 12px;
}
.home-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.home-shot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 84px;
  background: linear-gradient(transparent, rgba(16, 24, 32, 0.42));
  pointer-events: none;
}
.home-shot > b {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  background: #fff;
  color: #00357a;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.2;
  box-shadow: 0 1px 3px rgba(0, 30, 70, 0.28);
}
.home-shot:hover { text-decoration: none; color: #fff; }
.home-shot:hover img { transform: scale(1.04); }
.home-shot:hover > b { background: #00357a; color: #fff; }
.home-shot-roof { grid-column: span 7; grid-row: span 4; }
.home-shot-bath { grid-column: span 5; grid-row: span 4; }
.home-shot-bath img { object-position: 22% 58%; }
.home-shot-sq { grid-column: span 3; grid-row: span 3; }
.home-shot[href="palvelut/maalari.html"] img { object-position: center 32%; }
.home-shot-deck { grid-column: span 5; grid-row: span 3; }
.home-shot-move { grid-column: span 4; grid-row: span 3; }
.home-shot-move img { object-position: center 42%; }
.home-shot-ink {
  grid-column: span 3;
  grid-row: span 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px 16px 16px;
  background: #00357a;
  border-radius: 12px;
}
.home-shot-ink::after { content: none; }
.home-shot-ink small {
  margin-bottom: auto;
  color: #9ec3ea;
  font-size: 14px;
  font-weight: 700;
}
.home-shot-ink > b { position: static; background: transparent; color: #fff; padding: 0; font-size: 28px; box-shadow: none; }
.home-shot-ink span { color: rgba(255, 255, 255, 0.82); font-size: 15px; line-height: 1.4; }
.home-shot-ink:hover > b { background: transparent; color: #fff; text-decoration: underline; }

.home-paths-wrap { background: #eef3f8; }
.home-paths {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.15fr;
  gap: 10px;
}
.home-paths a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 228px;
  padding: 22px 20px 18px;
  background: #00357a;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  transition: transform .16s ease, background .16s ease;
}
.home-paths a:nth-child(2) { background: #1d4e89; }
.home-paths a:nth-child(3) { background: #fff; color: #16324f; box-shadow: inset 0 0 0 1px #d3deea; }
.home-paths a:hover { text-decoration: none; transform: translateY(-2px); }
.home-paths a:nth-child(1):hover { background: #002a62; }
.home-paths a:nth-child(2):hover { background: #163e6e; }
.home-paths strong { font-size: 26px; line-height: 1.2; min-height: 2.4em; }
.home-paths a > span { font-size: 16px; line-height: 1.45; }
.home-paths .home-route-go { margin-top: auto; color: #fff; }
.home-paths a:nth-child(3) .home-route-go { color: var(--link); }
.home-paths a:hover .home-route-go { text-decoration: underline; }
.home-route-go::after,
.home-read-go::after { content: "\00a0→"; }

.home-sheet { background: #fff; }
.home-sheet .topic-grid { display: flex; flex-direction: column; gap: 0; }
.home-sheet .topic-card {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 8px 28px;
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  margin: 0 -12px;
  padding: 15px 12px;
  transition: background .15s ease;
}
.home-sheet .topic-card:first-child { border-top: 1px solid var(--line); }
.home-sheet .topic-card:hover { background: #f4f8fc; }
.home-sheet .topic-card h3 { margin: 0; font-size: 18px; }
.home-sheet .topic-links { flex-direction: row; flex-wrap: wrap; gap: 8px 0; }
.home-sheet .topic-links a::before { content: none; }
.home-sheet .topic-links a + a { margin-left: 14px; padding-left: 14px; border-left: 1px solid #c5ced8; }

.home-firms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.home-firm {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-areas:
    "mark name"
    "mark meta"
    "mark id";
  gap: 2px 14px;
  align-items: center;
  padding: 14px;
  background: #eef3f8;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
}
.home-firm:hover { text-decoration: none; background: #e3edf7; }
.home-firm-mark {
  grid-area: mark;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #00357a;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.home-firm-name { grid-area: name; font-weight: 700; color: var(--link); }
.home-firm-meta {
  grid-area: meta;
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-firm-id { grid-area: id; color: var(--muted); font-size: 13px; }
.home-firm:hover .home-firm-name { text-decoration: underline; }

.home-reads-wrap { background: #f4f7fb; }
.home-reads {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0 36px;
}
.home-read {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 12px;
  margin: 0 -12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.home-read:first-child {
  grid-row: 1 / span 3;
  margin: 0;
  border-top: 0;
  justify-content: flex-start;
  padding: 28px 26px;
  background: #00357a;
  border-radius: 12px;
  color: #fff;
}
.home-read:nth-child(2) { border-top: 0; }
.home-read:hover { text-decoration: none; }
.home-read:not(:first-child):hover { background: #e7eef6; border-radius: 10px; }
.home-read-kicker { color: var(--link); font-weight: 700; font-size: 15px; }
.home-read:first-child .home-read-kicker { color: #9ec3ea; }
.home-read-copy { display: flex; flex-direction: column; gap: 8px; }
.home-read-copy strong { font-size: 20px; color: var(--ink); }
.home-read:first-child .home-read-copy strong { color: #fff; font-size: 30px; line-height: 1.2; }
.home-read:hover .home-read-copy strong { text-decoration: underline; }
.home-read-copy span { color: var(--muted); font-size: 16px; }
.home-read:first-child .home-read-copy span { color: rgba(255, 255, 255, 0.82); }
.home-read:not(:first-child) .home-read-copy span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-read-go { margin-top: auto; padding-top: 24px; font-weight: 700; color: #fff; }
.home-read:hover .home-read-go { text-decoration: underline; }

.home-cities {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.home-cities a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  min-height: 84px;
  padding: 12px;
  background: #eef3f8;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.home-cities a small { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.01em; }
.home-cities a:hover { background: #00357a; color: #fff; text-decoration: none; }
.home-cities a:hover small { color: rgba(255, 255, 255, 0.72); }
.home-often-title { margin: 28px 0 12px; font-size: 18px; }
.home-often { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; }
.home-often a {
  font-weight: 700;
  text-decoration: none;
  background: #eef3f8;
  border-radius: 999px;
  padding: 7px 12px;
  transition: background .15s ease, color .15s ease;
}
.home-often a:hover { background: #00357a; color: #fff; text-decoration: none; }
.home-block .home-directory-note {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.home-closing { padding-bottom: 28px; background: #eef3f8; }
.home-note {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.home-note h2 { margin: 0; }
.home-note p { margin: 0 0 12px; max-width: 46rem; }

@media (prefers-reduced-motion: reduce) {
  .home-shot img,
  .home-rate,
  .home-paths a,
  .home-sheet .topic-card,
  .home-cities a,
  .home-often a { transition: none; }
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

@media (max-width: 1100px) {
  .site-nav-inner { gap: 4px 16px; }
  .site-nav a { font-size: 15px; padding: 12px 0 10px; }
}

@media (max-width: 980px) {
  .home-stage { min-height: 0; padding-bottom: 28px; overflow: hidden; }
  .home-stage::before {
    display: block;
    background: linear-gradient(180deg, rgba(0, 53, 122, 0.15) 0%, rgba(0, 53, 122, 0.55) 22%, #00357a 42%, #00357a 100%);
  }
  .home-stage-photo { position: absolute; width: 100%; height: 240px; object-position: 32% 42%; }
  .home-stage-copy { max-width: none; padding: 168px 0 0; }
  .cat-banner > img,
  .page-hero-band figure,
  .guide-hero .guide-hero-figure { display: none !important; }
  .home-stage h1 { font-size: 32px; }
  .home-stage .search-card { grid-template-columns: 1fr; width: auto; max-width: none; }
  .home-price-rail { margin-top: 16px; }
  .home-price-grid { grid-template-columns: 1fr 1fr; }
  .home-price-foot { flex-direction: column; align-items: flex-start; }
  .home-price-foot > a { white-space: normal; }
  .home-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 108px; }
  .home-shot-roof, .home-shot-bath, .home-shot-deck { grid-column: 1 / -1; grid-row: span 2; }
  .home-shot-sq, .home-shot-move, .home-shot-ink { grid-column: span 1; grid-row: span 2; }
  .home-shot-ink > b { font-size: 22px; }
  .home-paths, .home-firms, .home-reads, .home-note, .home-sheet .topic-card { grid-template-columns: 1fr; }
  .home-paths a, .home-paths strong { min-height: 0; }
  .home-read:first-child { grid-row: auto; min-height: 0; }
  .home-read:first-child .home-read-copy strong { font-size: 24px; }
  .home-read:nth-child(2) { border-top: 1px solid var(--line); }
  .home-cities { grid-template-columns: 1fr 1fr; }
  .home-head { flex-direction: column; align-items: flex-start; }
  .home-firm-id { white-space: normal; }
}

@media (min-width: 700px) and (max-width: 980px) {
  .home-price-grid { grid-template-columns: 1fr 1fr; }
  .home-price-foot { flex-direction: row; align-items: baseline; }
  .home-paths { grid-template-columns: 1fr 1fr 1fr; }
  .home-paths strong { min-height: 2.6em; font-size: 22px; }
  .home-sheet .topic-card { grid-template-columns: 180px minmax(0, 1fr); }
  .home-firms, .home-reads { grid-template-columns: 1fr 1fr; }
  .home-read:first-child { grid-row: 1 / span 3; }
  .home-read:nth-child(2) { border-top: 0; }
  .home-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

