@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

.fm-home-hero.suite-hero { display: grid; isolation: isolate; background: #19382e; }
.suite-hero .fm-home-stage {
  grid-area: 1 / 1; z-index: 2; align-self: end; align-items: end;
  min-block-size: clamp(400px, 49vw, 610px); width: min(100% - 48px, 1248px);
  margin-inline: auto; padding-block: clamp(56px, 6vw, 92px); pointer-events: none;
}
.suite-hero .fm-home-actions a { pointer-events: auto; }
.fm-home-hero.suite-hero::after {
  content: ""; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgb(9 27 22 / .87), rgb(9 27 22 / .56) 45%, transparent 80%), linear-gradient(0deg, rgb(8 23 17 / .37), transparent 48%);
}
.suite-hero .fm-home-intro { max-width: 620px; }
.fm-home .suite-hero h1 { max-width: 15ch; font-size: clamp(2.6rem, 5.25vw, 4.8rem); }
.suite-hero figure { margin: 0; grid-area: 1 / 1; position: relative; min-width: 0; }
.suite-hero-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 51%; }
.suite-hero-photo figcaption { position: absolute; z-index: 3; right: 16px; bottom: 12px; }
.suite-hero-photo figcaption a { padding: 4px 8px; color: #fff; background: rgb(10 30 22 / .8); font-size: .8rem; text-underline-offset: 3px; }
.suite-spotlight {
  padding-block: clamp(32px, 6vw, 76px) 20px;
}

.suite-spotlight-heading,
.suite-pro-intro,
.suite-partner-row,
.suite-offer-call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.suite-spotlight-heading {
  margin-bottom: 16px;
}

.suite-spotlight-heading h2,
.suite-pro-intro h2 {
  font-size: clamp(1.55rem, 3.3vw, 2.5rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.suite-spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 16px;
}

.suite-feature-main,
.suite-feature-secondary {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  overflow: hidden;
  background: var(--home-surface);
  border: 1px solid var(--home-line);
  border-radius: 12px;
}

.suite-feature-main > img,
.suite-feature-mark {
  display: block;
  width: 100%;
  height: clamp(148px, 22vw, 260px);
}

.suite-feature-main > img {
  object-fit: cover;
  object-position: center;
}

.suite-feature-mark {
  display: grid;
  place-items: center;
  background: #f2f0e8;
  border: 0;
}

.suite-feature-secondary img {
  width: min(68%, 262px);
  height: auto;
}

.suite-feature-copy {
  padding: 18px 22px;
}

.suite-feature-copy h3 { font-size: 1.33rem; font-weight: 650; }
.suite-feature-copy h3 a { color: inherit; text-decoration: none; }
.suite-feature-copy h3 a:hover { text-decoration: underline; }
.suite-feature-copy p,
.suite-catalog-description,
.suite-pro-intro p,
.suite-partner-row p,
.suite-offer-call p {
  margin-top: 4px;
  color: var(--home-muted);
  line-height: 1.5;
}

.suite-catalog-group {
  margin-block: 28px;
  min-width: 0;
}

.suite-catalog-group > h2 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--home-line);
  font-size: clamp(1.22rem, 2.3vw, 1.65rem);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -.025em;
}

.suite-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.suite-catalog [hidden],
.suite-contact-form [hidden] {
  display: none !important;
}

.suite-catalog-card > a:first-child {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  height: 100%;
  min-height: 128px;
  padding: 14px;
  color: var(--home-ink);
  border: 1px solid var(--home-line);
  border-radius: 10px;
  background: var(--home-surface);
  text-decoration: none;
}

.suite-catalog-card > a:first-child:hover {
  border-color: var(--home-control);
}

.suite-catalog-card > a:first-child:hover .suite-catalog-title { text-decoration: underline; }
.suite-catalog-mark { display: grid; place-items: center; }
.suite-catalog-mark img { width: 74px; height: 66px; object-fit: contain; }
.suite-catalog-copy > span { display: block; }
.suite-catalog-title { font-size: 1.1rem; font-weight: 650; line-height: 1.2; }
.suite-catalog-description { font-size: .95rem; }
.suite-card-state {
  width: fit-content;
  margin-top: 8px;
  color: var(--home-green);
  font-size: .8125rem;
  font-weight: 650;
}

.suite-pro {
  margin-block: clamp(38px, 6vw, 70px);
}

.suite-pro-intro,
.suite-partner-row,
.suite-offer-call {
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--home-line);
  border-radius: 10px;
  background: var(--home-soft);
}

.suite-partner-row h3 { font-size: 1.1rem; font-weight: 650; }
.suite-offer-call { margin: 32px 0 0; }
.suite-offer-call h2 { margin: 0; font-size: 1.25rem; }
.suite-learn-mark {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 18px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: #f7f6ef;
}
.suite-learn-mark img { width: clamp(126px, 22vw, 190px); height: auto; }

[data-page="about"] .portal-story-head {
  padding: clamp(20px, 4vw, 44px);
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: var(--home-surface);
}

[data-page="about"] .portal-practice-grid article {
  border-top-color: var(--home-control);
}

.suite-contact-form {
  display: grid;
  gap: 16px;
  max-width: 740px;
  padding: clamp(16px, 3vw, 30px);
  margin-top: 24px;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: var(--home-surface);
}

.suite-contact-form label { display: grid; gap: 6px; font-weight: 600; }
.suite-contact-form fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.suite-contact-form legend { padding: 0; margin-bottom: 8px; font-weight: 650; }
.suite-offer-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 12px;
}
.suite-offer-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-inline: 8px;
  border-bottom: 1px solid var(--home-line);
  font-weight: 500;
}
.suite-offer-options input { width: 18px; height: 18px; accent-color: var(--home-green); }
.suite-contact-form :is(input:not([type="checkbox"]), textarea, select) {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--home-ink);
  background: var(--home-paper);
  border: 1px solid var(--home-control);
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
}
.suite-contact-form textarea { resize: vertical; }
.suite-contact-form button { justify-self: start; }
.suite-mail-hint { color: var(--home-muted); font-size: .9rem; }
.suite-form-error { color: var(--home-ink); font-weight: 650; }
.suite-contact-form :focus-visible,
.suite-catalog :focus-visible,
.suite-spotlight :focus-visible {
  outline: 2px solid var(--home-focus);
  outline-offset: 3px;
}

.fm-security:not(.fm-dashboard) {
  font-family: "Instrument Sans", system-ui, sans-serif;
}

.fm-security:not(.fm-dashboard) .fm-header.suite-security-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  min-height: 64px;
  padding: 8px clamp(12px, 3vw, 38px);
}
.fm-security .suite-security-header .fm-brand .suite-brand-horizontal {
  width: clamp(118px, 19vw, 186px);
  height: auto;
  padding: 4px 7px;
}
.suite-security-header .fm-brand .suite-brand-public { width: 48px; height: 48px; }
.v3-footer .fm-site-brand img {
  background: var(--fm-logo-plate, #f4f5f0);
  border-radius: 6px;
  padding: 3px 6px;
}
.suite-security-header nav { display: flex; gap: 12px; margin-right: auto; }
.suite-security-header nav a { color: inherit; padding-block: 10px; }
.suite-security-header .fm-controls {
  --fm-soft: var(--fm-surface-raised, var(--fm-accent-soft));
  --fm-muted: var(--fm-text-muted);
  margin-left: auto;
}

@media (max-width: 920px) {
  .suite-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 570px) {
  .fm-home-hero.suite-hero { grid-template-columns: 1fr; }
  .suite-hero .fm-home-stage { width: calc(100% - 36px); min-height: 460px; padding: 140px 0 48px; }
  .fm-home-hero.suite-hero::after { background: linear-gradient(0deg, rgb(7 26 19 / .96), rgb(7 26 19 / .75) 52%, rgb(7 26 19 / .08)); }
  .suite-spotlight-grid,
  .suite-catalog-grid { grid-template-columns: 1fr; }
  .suite-feature-mark { height: 118px; }
  .suite-catalog-card > a:first-child { min-height: 106px; }
  .suite-offer-options { grid-template-columns: 1fr; }
  .suite-security-header nav { display: none; }
}

.fm-security .fm-access .fm-intro {
  background: linear-gradient(0deg, rgb(9 29 21 / .9), rgb(9 29 21 / .23)), url("/assets/hero-editorial.webp") center / cover;
  justify-content: end; color: white;
}
.fm-security .fm-access .fm-intro :is(h1,p) { color: white; }
.suite-spotlight .suite-feature-secondary { display: flex; border: 0; }
.suite-atlas-teaser { position: relative; display: flex; align-items: end; width: 100%; min-height: 255px; overflow: hidden; color: white; background: #233d30; text-decoration: none; }
.suite-atlas-teaser::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(8 27 17 / .94), transparent 85%); }
.suite-atlas-teaser > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.suite-atlas-teaser .suite-feature-copy { z-index: 1; }
.suite-atlas-teaser h3 { color: white; }
.suite-atlas-teaser .suite-feature-copy span { display: inline-block; margin-top: 8px; font-size: 1rem; text-decoration: underline; text-underline-offset: 4px; }
.suite-catalog .fm-home-catalog-head { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 20px; }
.suite-catalog .suite-results { grid-column: 2; justify-self: end; font-size: .875rem; margin: 0; color: var(--home-muted); }
.suite-catalog .suite-catalog-card {
  --mark-accent: var(--home-control);
  display: flex; flex-direction: column; border-radius: 8px; border: 1px solid var(--home-line);
  border-top: 3px solid var(--program-accent, var(--mark-accent)); background: var(--home-surface); overflow: hidden;
}
#catalog-gis { --mark-accent: #dea027; } #catalog-dendro { --mark-accent: #97b93c; }
#catalog-site { --mark-accent: #66885c; } #catalog-woodprice { --mark-accent: #88bb4e; }
#catalog-stand { --mark-accent: #ae4fcc; }
#catalog-nais { --mark-accent: #b54332; } #catalog-hub-field { --mark-accent: #c09b6c; }
#catalog-field { --mark-accent: #e67835; } #catalog-road { --mark-accent: #e1b254; }
.suite-catalog .suite-catalog-card > a:first-child {
  flex: 1; grid-template-columns: 102px minmax(0, 1fr); gap: 18px; min-height: 124px;
  padding: 16px; background: transparent; border: 0; border-radius: 0;
}
.suite-catalog-mark {
  background: #fff;
  border: 1px solid #e7eae3;
  border-radius: 7px;
  color-scheme: only light;
}
.suite-catalog .suite-catalog-mark img { width: 100%; height: 86px; object-fit: contain; }
.suite-catalog-copy { min-width: 0; overflow-wrap: anywhere; }
.suite-catalog-copy .suite-catalog-title { margin-block-end: .3rem; color: var(--home-ink); }
.suite-catalog .suite-catalog-description { margin: 0; color: var(--home-ink); }
.suite-card-action { align-self: end; display: inline-flex; align-items: center; padding: 0 16px; min-height: 40px; color: var(--home-green); font-size: .9rem; text-underline-offset: 3px; }
.suite-catalog-card:focus-within { outline: 2px solid var(--home-focus); outline-offset: 2px; }
.suite-catalog-card:hover { border-color: var(--program-accent, var(--mark-accent)); }

body[data-portal-view] :is(.v3-product-logo, .suite-horizontal-logo, .suite-learn-mark, .network-wordmark) img,
.suite-catalog .suite-catalog-mark img {
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}
body[data-portal-view] :is(.v3-product-logo, .suite-horizontal-logo, .suite-learn-mark) img {
  background: #fff;
  border-radius: 8px;
  color-scheme: only light;
}
.suite-learn-mark { padding: 0; background: none; border: 0; }
[data-page="learn"] .atlas-photo { display: flex; flex-direction: column; }
.atlas-photo > a { flex: 1; display: block; }
[data-page="learn"] .atlas-photo figcaption { position: static; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 7px 12px; border-radius: 0; }
.atlas-photo figcaption a { color: inherit; }
.portal-resources .portal-resource-hero { display: block; padding: 0 0 clamp(20px,3vw,38px); border: 0; border-bottom: 1px solid var(--home-line); border-radius: 0; background: transparent; }
.portal-resources .portal-resource-intro { --home-ink: var(--home-green); --home-muted: inherit; padding: 0; }
.portal-resources .portal-resource-hero h1 { color: var(--home-green); }
.portal-resources .portal-resource-hero .v3-lead { color: var(--home-green); max-width: 58ch; }
@media (max-width: 680px) {
  .suite-catalog .fm-home-catalog-head { grid-template-columns: 1fr; justify-items: stretch; }
  .suite-catalog .fm-catalog-filter-stack { width: 100%; margin-block-start: 4px; }
  .suite-catalog .suite-results { grid-column: 1; justify-self: end; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .suite-atlas-teaser img, .suite-catalog-card { transition: transform .22s ease, border-color .22s ease; }
  .suite-atlas-teaser:hover img { transform: scale(1.035); }
  .suite-catalog-card:hover { transform: translateY(-2px); }
}

.suite-catalog-copy .suite-launch-label { margin-top: 8px; color: var(--home-green); font-size: .9rem; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

/* Directory: a continuous catalogue with access indicated on the individual tools. */
.suite-catalog .directory-grid { gap: 12px; }
.suite-catalog .directory-grid .suite-catalog-card { position: relative; overflow: visible; border-top-width: 2px; }
.suite-catalog .directory-grid .suite-catalog-card > a:first-child {
  grid-template-columns: minmax(80px,28%) minmax(0,1fr); align-content: center; min-height: 126px; padding: 18px 16px 26px;
}
.directory-grid .suite-plan-label { position: absolute; top: 7px; right: 10px; color: var(--home-muted); font-size: .76rem; line-height: 1.2; font-weight: 650; }
.directory-grid .suite-card-action { position: absolute; bottom: 0; right: 0; min-height: 32px; }
.network-sheet .portal-inline-link { color: var(--home-green); text-underline-offset: .22em; }
.network-sheet { grid-template-columns: minmax(180px,.65fr) minmax(0,1fr); padding: clamp(24px,5vw,70px); gap: clamp(24px,5vw,70px); }
.network-wordmark { padding: 12px; background: #fafaf4; border-radius: 6px; }
.network-wordmark img { display: block; width: 100%; height: auto; }
.network-sheet .portal-inline-link { margin-top: 22px; }
.suite-hero .fm-home-stage { min-block-size: clamp(375px,42vw,560px); }
.fm-home .suite-hero h1 { max-width: 13ch; }
.suite-hero .fm-home-intro p { max-width: 45ch; }
.fm-home-hero.suite-hero::after { background: linear-gradient(90deg, rgb(7 23 17 / .72), rgb(11 26 19 / .48) 38%, transparent 75%); }

/* The original wordmark has a dark foreground, so it has its own light ground in both themes. */
[data-page="learn"] .portal-story-media {
  --home-ink: var(--atlas-ink); --home-muted: var(--atlas-muted);
  --atlas-ink: #173e2b; --atlas-muted: #415a49; --atlas-surface: #eff3e6;
  background: var(--atlas-surface); border: 1px solid var(--home-line); color: var(--atlas-ink);
}
html[data-theme="dark"] [data-page="learn"] .portal-story-media {
  --atlas-ink: #f5f7e9; --atlas-muted: #d0dcca; --atlas-surface: #162c24;
}
[data-page="learn"] .portal-story-copy { padding: clamp(25px,4.5vw,60px); }
body[data-portal-view="learn"] .portal-editorial .portal-story-head h1 { max-width: 15ch; color: var(--atlas-ink); }
[data-page="learn"] .portal-story-head .v3-lead { color: var(--atlas-muted); max-width: 44ch; }
[data-page="learn"] .suite-learn-mark {
  width: min(100%, clamp(185px, 22vw, 250px));
  margin-bottom: clamp(14px, 2vw, 22px);
}
[data-page="learn"] .suite-learn-mark img { display: block; width: 100%; }
[data-page="learn"] .portal-editorial-actions a.dendro-launch { padding: 13px 23px; min-height: 50px; background: #174e35; border: 1px solid #174e35; color: white; font-weight: 650; }
[data-page="learn"] .portal-editorial-actions a.dendro-launch:hover { background: #216a49; }
html[data-theme="dark"] [data-page="learn"] .portal-editorial-actions a.dendro-launch { background: #d4ee88; color: #122a1d; border-color: #d4ee88; }
[data-page="learn"] .atlas-photo { overflow: hidden; align-self: stretch; }
[data-page="learn"] .atlas-photo a { position: relative; min-height: 260px; }
[data-page="learn"] .atlas-photo img { position: absolute; inset: 0; height: 100%; width: 100%; object-position: 62% center; }

/* Each resource collection uses the same navigation but carries its own colour. */
.portal-resources [data-resource-tone="maps"] { --collection: #245c82; --wash: #e3eff6; }
.portal-resources [data-resource-tone="protection"] { --collection: #286247; --wash: #e6f1e7; }
.portal-resources [data-resource-tone="hazards"] { --collection: #96472d; --wash: #f9e9de; }
.portal-resources [data-resource-tone="knowledge"] { --collection: #654b82; --wash: #f0eaf5; }
html[data-theme="dark"] .portal-resources [data-resource-tone="maps"] { --collection: #a2d4f2; --wash: #1a3344; }
html[data-theme="dark"] .portal-resources [data-resource-tone="protection"] { --collection: #a3d9ac; --wash: #1e392c; }
html[data-theme="dark"] .portal-resources [data-resource-tone="hazards"] { --collection: #ffc2a5; --wash: #442d24; }
html[data-theme="dark"] .portal-resources [data-resource-tone="knowledge"] { --collection: #d7bbeb; --wash: #352d40; }
.portal-resources .portal-jump-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; padding: 0; margin: 22px 0 12px; border: 0; background: transparent; }
.portal-resources .portal-jump-list a {
  display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 14px; min-height: 64px;
  background: var(--wash); color: var(--collection); border: 1px solid transparent; border-radius: 5px; font-weight: 620; text-decoration: none;
}
.portal-resources .portal-jump-list a > svg { color: inherit; width: 23px; height: 23px; }
body[data-portal-view="insights"] .portal-resources .portal-jump-list a[aria-selected="true"] { background: var(--collection); color: #fff; }
html[data-theme="dark"] body[data-portal-view="insights"] .portal-resources .portal-jump-list a[aria-selected="true"] { color: #10231c; }
.portal-resources .portal-jump-list a:hover { border-color: var(--collection); }
.portal-resources .portal-resource-group[hidden] { display: none; }
.portal-resources .portal-resource-group { display: block; margin: 0; padding: 0; border: 1px solid var(--home-line); border-radius: 7px; overflow: hidden; }
.portal-resources .portal-resource-group .portal-section-label { display: flex; align-items: center; gap: 12px; padding: 20px clamp(16px,3vw,36px); background: var(--wash); color: var(--collection); border-left: 5px solid var(--collection); }
.portal-resources .portal-resource-group .portal-section-label :is(svg,h2) { color: var(--collection); }
.resource-countries { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(20px,4vw,64px); padding: clamp(18px,3vw,36px); background: var(--home-surface); }
.resource-country > h3 { font-size: 1rem; color: var(--collection); margin: 0 0 9px; }
.portal-resources .resource-country .portal-reference-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.portal-resources .resource-country .portal-reference { border: 0; border-top: 1px solid var(--home-line); padding: 16px 0; }
.portal-resources .resource-country .portal-reference h3 { font-size: 1.08rem; line-height: 1.35; }
.portal-resources .resource-country .portal-reference a { color: var(--home-ink); text-decoration-color: var(--collection); }
.portal-resources .resource-country .portal-reference h3 a:hover { color: var(--collection); }
@media (max-width: 720px) {
  .portal-resources .portal-jump-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .resource-countries,.network-sheet { grid-template-columns: 1fr; }
  .network-wordmark { max-width: 275px; }
  .portal-resources .portal-jump-list a { min-height: 57px; font-size: .875rem; gap: 7px; padding: 10px; }
  .fm-home-hero.suite-hero::after { background: linear-gradient(0deg,rgb(7 22 17 / .9), rgb(9 27 19 / .62) 55%, rgb(7 22 17 / .12)); }
}
@media (prefers-reduced-motion:no-preference) {
  .portal-jump-list a, .dendro-launch { transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
  .portal-resource-group:not([hidden]) .resource-countries { animation: collection-in .26s ease-out both; }
  [data-portal-view="home"] .suite-hero-photo img { animation: cover-in 1s ease-out both; }
  @keyframes collection-in { from { opacity: .5; transform: translateY(5px); } to { opacity: 1; transform: none; } }
  @keyframes cover-in { from { transform: scale(1.016); } to { transform: none; } }
}

/* Editorial home: pair the scale of a map with the detail of a field specimen. */
.fm-home .suite-hero h1,.field-feature-head h2,.field-work > h2 { font-family: Georgia,"Times New Roman",serif; font-weight: 400; letter-spacing: -.048em; }
.fm-home .suite-hero h1 { max-width: 12ch; font-size: clamp(3.35rem,7.5vw,7.75rem); line-height: .97; }
.suite-hero .fm-home-stage { width: min(calc(100% - 48px),1200px); min-height: clamp(460px,45vw,610px); }
.field-feature-head { margin-bottom: 22px; }
.field-feature-head h2,.field-work > h2 { font-size: clamp(2rem,4.2vw,3.65rem); line-height: 1.05; color: var(--home-ink); }
.field-feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(12px,2vw,24px); }
.field-feature { display: grid; grid-template-rows: clamp(215px,22vw,320px) 1fr; position: relative; isolation: isolate; overflow: hidden; min-width: 0; border-radius: 6px; color: #fcfcf3; background: #203c31; text-decoration: none; }

.field-feature-photo { position: relative; overflow: hidden; }
.field-feature-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.field-map .field-feature-photo img { object-position: 52% center; }
.field-wordmark { position: absolute; top: 16px; left: 16px; width: clamp(128px,14vw,174px); height: auto; padding: 3px 9px; border-radius: 4px; background: #fffef8; }
.field-feature-caption { padding: clamp(22px,2.5vw,38px); display: flex; flex-direction: column; align-items: flex-start; }
.field-feature-caption h3 { margin: 0; font-size: clamp(1.55rem,2.6vw,2.5rem); line-height: 1.12; color: #fffef9; }
.field-feature-caption p { margin: 12px 0 20px; max-width: 43ch; color: #e7ecdf; line-height: 1.5; }
.field-feature-caption span { margin-top: auto; color: #fafbf0; font-weight: 620; border-bottom: 1px solid #c1cead; padding-bottom: 3px; }
.field-feature:focus-visible,.field-work a:focus-visible { outline: 3px solid var(--home-focus); outline-offset: 3px; }
.field-work { padding-block: clamp(35px,6vw,78px); }
.field-work-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,3vw,45px); margin-top: 22px; }
.field-work-grid article { border-top: 2px solid var(--home-control); padding-top: 18px; }
.field-work-grid h3 { font-size: 1.18rem; color: var(--home-ink); line-height: 1.25; }
.field-work-grid p { margin: 10px 0; color: var(--home-muted); line-height: 1.5; }
.field-work-grid article div { display:flex; gap: 15px; }
.field-work-grid a { display:inline-flex; align-items:center; min-height:44px; font-weight:620; color:var(--home-green); text-decoration:underline; text-underline-offset:4px; }
.directory-grid .suite-plan-label { display: inline-block; padding: 2px 7px; border-radius: 3px; background:var(--home-soft); color:var(--home-ink); }
.directory-grid .suite-free-label { background: transparent; color: var(--home-muted); }
@media (max-width:700px) {
  .suite-hero .fm-home-stage { width: calc(100% - 36px); padding-bottom: 40px; min-height: 440px; }
  .field-feature-grid,.field-work-grid { grid-template-columns: 1fr; }
  .field-feature { grid-template-rows: 205px 1fr; }
}
@media (prefers-reduced-motion:no-preference) and (hover:hover) {
  .field-feature-photo img { transition: scale .38s ease; }
  .field-feature:is(:hover,:focus-visible) .field-feature-photo img { scale: 1.065; }
  .directory-grid .suite-catalog-mark img { transition: transform .38s ease; }
  .directory-grid a:is(:hover,:focus-visible) .suite-catalog-mark img { transform: scale(1.065); }
}

.field-work-grid { gap: clamp(10px,1.6vw,24px); }
.field-work-grid article { --card-ink:#403521; --card-paper:#ede4cf; --graphic:#a47842;
  display:flex; flex-direction:column; position:relative; overflow:hidden; padding:clamp(20px,2.5vw,36px);
  border:0; border-radius:6px; background:var(--card-paper); }
.field-work-grid .work-stand { --card-ink:#203e31; --card-paper:#dce8d9; --graphic:#50765c; }
.field-work-grid .work-crew { --card-ink:#243a44; --card-paper:#dce6e8; --graphic:#608391; }
html[data-theme="dark"] .field-work-grid article { --card-paper:#342e23; --card-ink:#f7e9cf; --graphic:#b39a6f; }
html[data-theme="dark"] .field-work-grid .work-stand { --card-paper:#20372e; --card-ink:#e0eedc; --graphic:#86b299; }
html[data-theme="dark"] .field-work-grid .work-crew { --card-paper:#263740; --card-ink:#dfedef; --graphic:#8aafbe; }
.field-work-grid .work-graphic { width:100%; height:78px; display:flex; align-items:center; gap:5px;
  margin-bottom:20px; color:var(--graphic); border-bottom:1px solid currentColor; }
.work-graphic i { display:block; }
.work-timber .work-graphic i { width:49px; height:48px; border:1px solid currentColor; border-radius:43% 52% 47% 53%;
  background:repeating-radial-gradient(ellipse at 45% 48%,transparent 0 4px,currentColor 5px,transparent 6px); transform:rotate(-13deg); }
.work-timber .work-graphic i:nth-child(2) { width:37px;height:37px;align-self:flex-end;margin-bottom:13px; }
.work-timber .work-graphic i:nth-child(3) { width:29px;height:30px; }
.work-stand .work-graphic i { width:40px;height:58px;background:currentColor;clip-path:polygon(50% 0,79% 44%,66% 44%,89% 72%,75% 72%,100% 91%,53% 91%,53% 100%,47% 100%,47% 91%,0 91%,25% 72%,12% 72%,34% 44%,21% 44%); }
.work-stand .work-graphic i:nth-child(2) { height:42px;align-self:flex-end;margin-bottom:10px;opacity:.8; }
.work-stand .work-graphic i:nth-child(3) { height:31px;align-self:flex-end;margin-bottom:10px;opacity:.68; }
.work-crew .work-graphic { flex-direction:column;align-items:flex-start;justify-content:center;gap:5px; }
.work-crew .work-graphic i { width:62px;height:8px;border:1px solid currentColor;background:currentColor;border-radius:2px; }
.work-crew .work-graphic i:nth-child(2) { margin-left:30px;width:82px;background:transparent; }
.work-crew .work-graphic i:nth-child(3) { margin-left:76px;width:58px; }
.field-work-grid article h3 { color:var(--card-ink);font-size:clamp(1.4rem,2.1vw,2rem);letter-spacing:-.035em; }
.field-work-grid article p { color:var(--card-ink);margin:12px 0 20px; }
.field-work-grid article div { margin-top:auto;flex-wrap:wrap; }
.field-work-grid article a { color:var(--card-ink); }
.portal-resources .resource-countries { display:block; }
.portal-resources .resource-country .portal-reference-grid { grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(18px,4vw,56px); }
@media (max-width:680px) {
  .portal-resources .resource-country .portal-reference-grid { grid-template-columns:1fr; }
  .field-work-grid .work-graphic { height:60px; margin-bottom:14px; }
}

@media screen {
  .tp-page:is([data-page="law"], [data-page="harvest"], [data-page="structures"], [data-page="hydro"], [data-page="torrent"], [data-page="rockfall"], [data-page="slope"], [data-page="avalanche"], [data-page="debrisflow"]) .v3-product-hero,
  .network-sheet {
    border-block-start: 3px solid var(--program-accent, var(--home-line));
  }
}

.suite-offer-page .portal-story-head {
  display: block;
  padding: clamp(20px, 4vw, 44px);
  border: 1px solid var(--home-line);
  border-block-start: 3px solid var(--program-accent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--home-surface) 88%, var(--program-accent));
}

.suite-offer-page .portal-story-head h1 { margin-block: 10px; }

.suite-offer-form {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  max-width: none;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
}

.suite-offer-details, .suite-offer-preview {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-surface);
}

.suite-offer-form .suite-offer-options { gap: 6px; }
.suite-offer-form .suite-offer-options label {
  min-width: 0;
  padding: 5px 10px;
  border: 1px solid var(--home-line);
  border-radius: 5px;
  cursor: pointer;
}
.suite-offer-options label:has(input:checked) {
  border-color: var(--home-control);
  background: color-mix(in srgb, var(--home-surface) 82%, var(--program-accent));
}
.suite-offer-options input { flex: none; }
.suite-offer-options span { overflow-wrap: anywhere; }
.suite-offer-preview textarea { min-height: 11rem; }
.suite-offer-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.suite-offer-actions .btn {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--home-green);
  border-radius: 6px;
  background: var(--home-green);
  color: var(--home-on-green);
  font-weight: 650;
  white-space: normal;
}
.suite-offer-actions .btn:hover { background: var(--home-hover); }
.suite-offer-actions .secondary { border-color: var(--home-control); background: var(--home-surface); color: var(--home-ink); }
.suite-offer-actions .secondary:hover { background: var(--home-soft); }
.suite-offer-preview p, .suite-offer-details p { margin: 0; }
.suite-offer-status { color: var(--home-green); font-weight: 650; font-size: .9rem; }
.suite-offer-status:empty { display: none; }

@media (max-width: 720px) {
  .suite-offer-form { grid-template-columns: minmax(0, 1fr); }
}

.suite-offer-page [hidden] { display: none !important; }
.suite-offer-login {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 16px;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-surface);
}
.suite-offer-login p { color: var(--home-ink); }

.suite-offer-email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 18px;
  padding-block: 16px;
  border-top: 1px solid var(--home-line);
}
.suite-offer-email h2 { margin-bottom: .25rem; font-size: 1rem; color: var(--home-ink); }
.suite-offer-email a { color: var(--home-green); text-decoration: underline; text-underline-offset: 3px; }
.suite-offer-email button { min-height: 44px; }
