.portal-editorial {
  --editorial-gap: clamp(21px, 4vw, 54px);
  padding-top: clamp(22px, 4vw, 54px);
}

.portal-editorial :is(h1, h2, h3, p) { overflow-wrap: break-word; }
.portal-editorial svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.portal-editorial :where(a,button):focus-visible { outline: 2px solid var(--home-focus); outline-offset: 3px; }
.portal-editorial :is(h1,h2)[tabindex="-1"]:focus { outline: none; }

.portal-story-head {
  display: grid;
  align-items: center;
  gap: 20px;
  min-width: 0;
  background: var(--home-soft);
  border: 1px solid var(--home-line);
  border-radius: 9px;
  padding: clamp(22px,4vw,45px);
}

.portal-story-head-wide { grid-template-columns: minmax(0,1fr) auto; }
.portal-editorial .portal-story-head h1 {
  max-width: 18ch;
  font-size: clamp(2.15rem,5.25vw,4.7rem);
  line-height: 1.04;
  letter-spacing: -.052em;
  margin: 0 0 14px;
}
.portal-editorial .portal-story-head .v3-lead { max-width: 61ch; margin: 0; font-size: clamp(1rem,1.65vw,1.2rem); }
.portal-story-head > .btn { justify-self: start; }
.portal-editorial .btn { gap: 7px; }
.portal-editorial .btn svg, .portal-inline-link svg { width: 17px; height: 17px; }

.portal-story-media {
  --home-ink: var(--home-panel-text);
  --home-muted: var(--home-panel-muted);
  --home-focus: #d9edb8;
  grid-template-columns: minmax(0,1fr) minmax(0,.9fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: var(--home-panel);
  border-color: var(--home-panel);
}
.portal-story-copy { padding: clamp(24px,5vw,59px); }
.portal-editorial .portal-story-media .v3-lead { color: var(--home-panel-muted); margin-bottom: 22px; }
.portal-story-copy .portal-story-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: var(--home-panel-text); font-weight: 680; margin: 0 0 15px; }
.portal-story-media .btn.secondary { --home-ink: #183b2c; --home-surface: #edf2e6; --home-soft: #deebd4; --home-control: #a5c49c; }
.portal-status-chip { width: fit-content; color: #183b2c; background: #dfebc8; border-radius: 4px; padding: 2px 8px; font-size: .8125rem; }
.portal-story-image { position: relative; margin: 0; height: 100%; min-width: 0; }
.portal-story-image img { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.portal-story-image figcaption { position: absolute; bottom: 9px; right: 9px; margin: 0; border-radius: 4px; padding: 2px 6px; background: #173022; color: #edf2e6; font-size: .75rem; }

.portal-editorial-section { margin-top: var(--editorial-gap); min-width: 0; }
.portal-editorial-section > h2, .portal-section-label h2 { font-size: clamp(1.4rem,2.7vw,2.05rem); letter-spacing: -.03em; margin: 0 0 12px; }
.portal-section-label { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.portal-section-label h2 { margin: 0; }
.portal-section-label > svg { color: var(--home-green); }
.portal-reference-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.portal-reference {
  min-width: 0;
  padding: clamp(15px,2vw,23px);
  border: 1px solid var(--home-line);
  border-radius: 7px;
  background: var(--home-surface);
  display: flex;
  flex-direction: column;
}
.portal-reference:focus-within { border-color: var(--home-focus); }
.portal-editorial .portal-reference p { margin: 0; }
.portal-editorial .portal-reference .portal-reference-publisher { margin-bottom: 4px; color: var(--home-muted); font-size: .8125rem; }
.portal-editorial .portal-reference h3 { margin: 0 0 5px; line-height: 1.25; font-size: clamp(1.05rem,2vw,1.25rem); }
.portal-reference h3 a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 13px; color: var(--home-ink); text-decoration: underline; text-underline-offset: .17em; text-decoration-color: var(--home-control); }
.portal-reference h3 a:hover { color: var(--home-green); text-decoration-color: currentColor; }
.portal-resource-arrow { flex: none; color: currentColor; font-size: 1rem; font-weight: 600; }

.portal-resource-hero {
  --home-ink: #f4f7ee;
  --home-muted: #cfdfd4;
  --home-focus: #e1edb7;
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4.4vw, 64px);
  padding: clamp(20px, 4vw, 54px);
  border: 1px solid #355448;
  border-radius: 10px;
  background: #142f27;
}
.portal-resource-hero h1 {
  margin: 0 0 13px;
  font-size: clamp(2.2rem, 5.7vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -.055em;
}
.portal-resource-hero .v3-lead {
  max-width: 37ch;
  margin: 0;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}
.portal-resource-screen {
  min-width: 0;
  margin: 0;
}
.portal-resource-screen a {
  position: relative;
  display: block;
  border: 1px solid #769387;
  border-radius: 6px;
}
.portal-resource-screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}
.portal-resource-expand {
  position: absolute;
  inset-inline-end: 8px;
  inset-block-end: 8px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background: #142f27;
  color: #f4f7ee;
}
.portal-resource-screen a:hover .portal-resource-expand { background: #285544; }
.portal-resource-screen figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin-top: 9px;
  color: var(--home-muted);
  font-size: .8125rem;
}
.portal-resource-screen figcaption strong { color: var(--home-ink); }

.portal-jump-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  padding-block: 11px;
  border-bottom: 1px solid var(--home-line);
}
.portal-jump-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 6px 11px;
  border-radius: 5px;
  font-size: .875rem;
  font-weight: 645;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.portal-jump-list a:hover {
  background: var(--home-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.portal-jump-list svg { width: 17px; height: 17px; }

.portal-resource-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.8fr);
  align-items: start;
  gap: clamp(16px, 3.4vw, 48px);
  padding-block: clamp(23px, 3.75vw, 49px);
  border-bottom: 1px solid var(--home-line);
}
.portal-resource-group .portal-section-label { align-items: flex-start; margin: 0; }
.portal-resource-group h2 {
  font-size: clamp(1.25rem, 2.25vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: -.027em;
}
.portal-resource-group .portal-section-label > svg { margin-top: 2px; }
.portal-resource-group .portal-reference-grid { gap: clamp(17px, 3.1vw, 40px); }
.portal-resource-group .portal-reference { padding: 0; border: 0; background: none; }
.portal-resource-group .portal-reference .portal-reference-publisher { margin: 6px 0 0; }
.portal-resource-context { max-width: 260px; margin: 13px 0 0; }
.portal-resource-context img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 5px;
}
.portal-resource-context figcaption {
  margin-top: 4px;
  color: var(--home-muted);
  font-size: .75rem;
}
.portal-resources [data-resource-tone="maps"] { --resource-accent: var(--home-slate); }
.portal-resources [data-resource-tone="protection"] { --resource-accent: var(--home-green); }
.portal-resources [data-resource-tone="hazards"] { --resource-accent: var(--home-rust); }
.portal-resources [data-resource-tone="knowledge"] { --resource-accent: var(--home-ochre); }
.portal-resource-group .portal-section-label > svg,
.portal-jump-list a > svg { color: var(--resource-accent); }
.portal-resources .portal-law-section { background: var(--home-surface); }

@media (max-width: 820px) {
  .portal-resource-group { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 665px) {
  .portal-resource-hero { grid-template-columns: minmax(0, 1fr); }
  .portal-resource-group .portal-reference + .portal-reference {
    border-top: 1px solid var(--home-line);
    padding-top: 13px;
  }
}
@media (max-width: 580px) {
  .portal-jump-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-jump-list a { padding-inline: 6px; }
}

.portal-law-section { padding: clamp(16px,3vw,33px); border: 1px solid var(--home-line); border-radius: 8px; background: var(--home-soft); }
.portal-editorial .portal-law-section .forest-law-cantonal { margin-top: 16px; border-color: var(--home-line); background: var(--home-surface); }
.portal-law-section .forest-law-federal { gap: 0 15px; }
.portal-law-section .forest-law-federal .v3-resource { border-color: var(--home-control); }
.portal-law-section .forest-law-cantonal select { color: var(--home-ink); border-color: var(--home-control); background: var(--home-paper); }

.portal-topic-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 0; }
.portal-topic-grid > div, .portal-practice-grid > article { padding: 15px 0 0; border-top: 2px solid var(--home-line); }
.portal-topic-grid dt { font-weight: 680; color: var(--home-ink); font-size: 1.125rem; }
.portal-topic-grid dd { margin: 4px 0 0; color: var(--home-muted); }
.portal-inline-link { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; width: fit-content; color: var(--home-green); text-underline-offset: 3px; font-weight: 650; }
.portal-reference-grid + .portal-inline-link { margin-top: 9px; }

.portal-practice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.portal-practice-grid > article { display: flex; flex-direction: column; align-items: start; }
.portal-practice-grid > article > svg { margin-bottom: 9px; color: var(--home-green); }
.portal-editorial .portal-practice-grid h3 { margin: 0 0 6px; font-size: 1.2rem; }
.portal-editorial .portal-practice-grid p { margin: 0 0 8px; }
.portal-practice-grid .portal-inline-link, .portal-practice-grid .portal-editorial-actions { margin-top: auto; }

.portal-project-profile { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 12px; }
.portal-author, .portal-audience { padding: clamp(16px,3vw,28px); border: 1px solid var(--home-line); border-radius: 7px; background: var(--home-surface); }
.portal-author { display: grid; grid-template-columns: minmax(95px,.55fr) minmax(0,1fr); align-items: start; gap: 16px; }
.portal-author > img { display: block; width: 100%; max-width: 200px; height: auto; border-radius: 5px; }
.portal-editorial :is(.portal-author,.portal-audience) h2 { margin: 0 0 8px; font-size: clamp(1.25rem,2.5vw,1.75rem); letter-spacing: -.028em; }
.portal-editorial :is(.portal-author,.portal-audience) h3 { margin: 0 0 4px; font-size: 1.12rem; }
.portal-editorial .portal-profile-role { margin: 0 0 11px; font-size: .875rem; font-weight: 650; }
.portal-author a { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; color: var(--home-green); }

.portal-editorial-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: var(--home-soft);
}
.contact-hero-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(19px, 4.5vw, 62px);
}
.portal-contacts .contact-hero h1 {
  margin: 0 0 10px;
  color: var(--home-green);
  font-size: clamp(2.4rem, 6vw, 4.85rem);
  line-height: 1.04;
  letter-spacing: -.05em;
}
.portal-contacts .contact-hero .v3-lead { margin: 0; max-width: 47ch; }
.contact-hero-photo { display: block; width: 100%; height: 100%; min-height: 310px; object-fit: cover; object-position: 58% 52%; }
.contact-email { display: grid; gap: 10px; justify-items: start; margin-block-start: clamp(19px, 3vw, 32px); }
.contact-email-line { display: flex; align-items: center; gap: 4px; max-width: 100%; }
.contact-email-line > a {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--home-green);
  font-size: clamp(.98rem, 2.2vw, 1.37rem);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}
.contact-copy {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--home-green);
  cursor: pointer;
}
.contact-copy:hover { color: var(--home-focus); }
.copy-notice {
  position: fixed;
  z-index: 1000;
  inset: auto 0 max(18px, env(safe-area-inset-bottom)) 0;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  padding: 9px 16px;
  border: 1px solid var(--home-control);
  border-radius: 8px;
  background: var(--home-panel);
  color: var(--home-panel-text);
  box-shadow: 0 6px 24px #0003;
  font-size: .9375rem;
}
.copy-buffer { position: fixed; inset: 0 auto auto -10000px; }
.copy-dialog {
  width: min(460px, calc(100% - 32px));
  margin: auto;
  padding: clamp(16px, 4vw, 28px);
  border: 1px solid var(--home-line);
  border-radius: 14px;
  background: var(--home-surface);
  color: var(--home-ink);
}
.copy-dialog::backdrop { background: #091b15aa; }
.copy-dialog input { display: block; width: 100%; margin: 14px 0; }
.portal-contacts .contact-copy svg { width: 19px; height: 19px; }
.contact-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.contact-topic {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-width: 0;
  padding: clamp(17px, 2.8vw, 34px);
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: var(--home-surface);
}
.contact-topic-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 11px;
  border-radius: 10px;
  background: var(--home-soft);
  color: var(--home-green);
}
.portal-contacts .contact-topic h3 { margin: 0; color: var(--home-ink); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.25; }
.portal-contacts .contact-topic p { margin: 6px 0 14px; color: var(--home-muted); line-height: 1.5; }
.contact-topic-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; margin-top: auto; }
.contact-topic-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--home-green); font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.portal-contacts .contact-topic-links svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .contact-hero { grid-template-columns: minmax(0, 1fr); }
  .contact-hero-photo { grid-row: 1; height: clamp(132px, 38vw, 210px); min-height: 0; object-position: 50% 56%; }
  .contact-topics { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 830px) {
  .portal-topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portal-project-profile { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 665px) {
  .portal-story-head, .portal-practice-grid { grid-template-columns: minmax(0,1fr); }
  .portal-story-image img { aspect-ratio: 1.65; min-height: 0; height: auto; }
  .portal-reference-grid { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 365px) {
  .portal-topic-grid, .portal-author { grid-template-columns: minmax(0,1fr); }
  .portal-author > img { max-width: 110px; }
}


/* Project overview */
.project-page {
  --project-forest: #102a20;
  --project-white: #f7fbf3;
  --project-lime: #d0ef9d;
  --project-panel-radius: 18px;
  padding-top: clamp(14px, 2.25vw, 30px);
}

.project-hero,
.project-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #829a796f;
  border-radius: var(--project-panel-radius);
  background: var(--project-forest);
  color: var(--project-white);
}
#main .project-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(350px, 34vw, 420px);
}
.project-hero::after,
.project-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.project-hero::after {
  background: linear-gradient(90deg, #0d271ddd 0%, #0d271df5 19%, #0d271ddd 37%, #0d271d69 64%, #0d271d0c 100%);
}
.project-hero-image,
.project-contact > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-hero-image { object-position: 55% 53%; }
.project-hero-content {
  display: grid;
  grid-template: "copy brand" 1fr / minmax(0, 1fr) auto;
  align-self: stretch;
  gap: clamp(20px, 4vw, 54px);
  padding: clamp(32px, 4.5vw, 62px);
}
.project-hero-copy { grid-area: copy; align-self: start; }
#main .project-page .project-hero-brand {
  grid-area: brand;
  place-self: start end;
  width: clamp(156px, 20vw, 220px);
  max-width: 100%;
  margin: 0;
}
.project-hero-brand img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--project-panel-radius);
  color-scheme: only light;
}
#main .project-page .project-subtitle {
  max-width: 26ch;
  margin: 0 0 10px;
  color: var(--project-white);
  font-size: clamp(1.37rem, 2.35vw, 2.2rem);
  line-height: 1.13;
  font-weight: 710;
  letter-spacing: -.035em;
}
#main .project-page .project-lead {
  max-width: 48ch;
  margin: 0;
  color: #e2eee1;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.48;
}
#main .project-page .project-action {
  min-height: 47px;
  max-width: 100%;
  padding: 10px 19px;
  border-radius: 12px;
  border-color: var(--project-lime);
  background: var(--project-lime);
  color: #13291d;
  text-align: center;
  white-space: normal;
}
#main .project-page .project-action:hover { background: #e1f8b9; border-color: #e1f8b9; }
#main .project-page .project-action:focus-visible { outline-color: #fff; }

.project-section {
  min-width: 0;
  margin-top: clamp(24px, 3vw, 40px);
  padding-top: clamp(18px, 2vw, 26px);
  border-top: 1px solid var(--home-line);
}
.project-section-heading {
  display: flex;
  align-items: flex-start;
  gap: clamp(11px, 1.7vw, 20px);
  margin-bottom: 16px;
}
.project-section-heading > svg {
  width: clamp(30px, 3.6vw, 47px);
  height: clamp(30px, 3.6vw, 47px);
  color: var(--home-green);
}
.project-section-heading > div { min-width: 0; }
#main .project-page .project-section-heading h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(1.45rem, 2.85vw, 2.25rem);
  line-height: 1.13;
  letter-spacing: -.038em;
}
.project-section-heading p {
  margin: 6px 0 0;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.48;
}

.project-origin {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 41px);
  align-items: start;
}
.project-origin .project-section-heading { margin: 0; }
.project-origin .project-section-heading p + p { margin-top: 10px; }
.project-principle {
  padding: clamp(15px, 2.2vw, 27px);
  border: 1px solid var(--home-line);
  border-inline-start: 3px solid var(--home-green);
  border-radius: 12px;
  background: var(--home-soft);
}
#main .project-principle h3 { margin: 0 0 8px; color: var(--home-ink); font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.project-principle p { margin: 0; color: var(--home-muted); line-height: 1.5; }

.project-people .project-people-heading { align-items: center; margin-bottom: 14px; }
.project-people .project-people-heading > svg { width: clamp(27px, 3.1vw, 37px); height: clamp(27px, 3.1vw, 37px); }
#main .project-people .project-people-heading h2 { font-size: clamp(1.37rem, 2.4vw, 1.92rem); }
.project-profile {
  display: grid;
  grid-template-columns: minmax(112px, min(34%, 215px)) minmax(0, 1fr);
  align-items: start;
  gap: clamp(12px, 1.8vw, 24px);
}
.project-profile > img {
  display: block;
  width: 100%;
  max-width: 215px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--home-line);
  border-radius: 12px;
}
#main .project-profile h3 { margin: 0 0 4px; color: var(--home-ink); font-size: clamp(1.15rem, 2vw, 1.55rem); }
.project-profile p { margin: 0 0 10px; color: var(--home-muted); line-height: 1.45; }
.project-profile .project-role { color: var(--home-green); font-weight: 700; }
.project-credentials {
  display: grid;
  gap: 7px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
  font-size: .9375rem;
  line-height: 1.45;
}
.project-credentials a { text-decoration: underline; text-underline-offset: .18em; }
.project-credentials em { color: var(--home-muted); }
.project-biography { grid-column: 1 / -1; max-width: 65ch; }
.project-biography p { line-height: 1.55; }
.project-linkedin { min-height: 44px; white-space: normal; }
.project-linkedin > [aria-hidden="true"] {
  display: grid; place-items: center;
  width: 20px; height: 20px;
  border-radius: 3px;
  background: var(--home-ink); color: var(--home-surface);
  font-size: 13px; font-weight: 790;
}
@media (min-width: 940px) {
  .project-profile {
    grid-template-columns: clamp(140px, 15vw, 200px) minmax(0, .8fr) minmax(0, 1.65fr);
    column-gap: clamp(20px, 2.6vw, 34px);
  }
  .project-biography { grid-column: 3; }
}

.project-dialogue {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(19px, 4vw, 50px);
  margin-top: clamp(26px, 4vw, 48px);
  padding: clamp(18px, 3.4vw, 42px);
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: var(--home-soft);
}
.project-dialogue .project-section-heading { margin-bottom: 13px; }
.project-dialogue .project-section-heading svg { flex-shrink: 0; }
#main .project-dialogue p { margin: 0; color: var(--home-muted); line-height: 1.52; }
.project-dialogue-examples {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0 0 0 clamp(19px, 3.3vw, 42px);
  border-inline-start: 1px solid var(--home-line);
  list-style: none;
}
.project-dialogue-examples li + li { padding-top: 11px; border-top: 1px solid var(--home-line); }
#main .project-dialogue-examples h3 { margin: 0 0 4px; color: var(--home-ink); font-size: 1.0625rem; line-height: 1.25; }

.project-contact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(13px, 2vw, 25px);
  margin-top: clamp(25px, 3vw, 42px);
  padding: clamp(17px, 2.2vw, 28px);
}
.project-contact > img { object-position: right 58%; }
.project-contact::after { background: linear-gradient(90deg, #183c2ff5 0%, #17372bea 47%, #102a2070 100%); }
.project-contact-mark {
  display: flex;
  align-items: center;
  padding-inline-end: clamp(13px, 2vw, 25px);
  border-inline-end: 1px solid #bed1baae;
  color: var(--project-lime);
}
.project-contact-mark svg { width: clamp(42px, 5.6vw, 72px); height: clamp(42px, 5.6vw, 72px); stroke-width: 1.35; }
#main .project-contact h2 {
  margin: 0 0 5px; color: var(--project-white);
  font-size: clamp(1.25rem, 2.45vw, 1.95rem); line-height: 1.15; letter-spacing: -.033em;
}
#main .project-contact p { margin: 0; color: #e8f1e7; line-height: 1.4; }

@media (max-width: 700px) {
  #main .project-hero { min-height: 0; }
  .project-hero-image { height: clamp(180px, 51vw, 300px); object-position: 72% 51%; }
  .project-hero::after {
    height: clamp(180px, 51vw, 300px);
    background: linear-gradient(180deg, #102a2000 32%, #102a2088 68%, #102a20 100%);
  }
  .project-hero-content {
    grid-template: "brand" auto "copy" auto / minmax(0, 1fr);
    gap: clamp(18px, 5vw, 35px);
    padding: clamp(15px, 4vw, 26px) clamp(15px, 4vw, 29px) 23px;
  }
  #main .project-page .project-hero-brand {
    width: clamp(90px, 26vw, 142px);
  }
  .project-origin, .project-dialogue { grid-template-columns: minmax(0, 1fr); }
  .project-dialogue-examples { border-inline-start: 0; border-top: 1px solid var(--home-line); padding: 13px 0 0; }
  .project-contact { grid-template-columns: auto minmax(0, 1fr); }
  .project-contact .project-action { grid-column: 2; justify-self: start; }
}

@media (max-width: 375px) {
  .project-profile { grid-template-columns: minmax(0, 1fr); }
  .project-profile > img { max-width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
}
