.fg-field {
  --fg-dark: #102f3d;
  --fg-orange: #f66420;
  --fg-fog: #f5f5f5;
  --fg-rule: #dedede;
  color: #151718;
  background: #fff;
}

.fg-field * { box-sizing: border-box; }
.fg-inner { position: relative; width: min(66%, 72rem); margin-inline: auto; }
.fg-title, .fg-card h4, .fg-step-panel h4, .fg-story h4, .fg-request h3 {
  margin: 0;
  font-family: var(--av-display, "Space Grotesk", "Space Grotesk Cyrillic", Arial, sans-serif);
  font-weight: 650;
  letter-spacing: var(--av-display-tracking);
  line-height: 1.1;
  text-transform: uppercase;
  text-wrap: balance;
}
.fg-title { margin: .85rem 0 0; font-size: clamp(2.55rem, 4.05vw, 4.75rem); }
.fg-field p { margin: 0; }
.fg-field a:focus-visible, .fg-field button:focus-visible { outline: 3px solid #6467ff; outline-offset: 4px; }

.fg-services { padding-bottom: clamp(3rem, 5.5vw, 6rem); background: var(--fg-fog); }
.fg-services-heading { position: relative; padding: clamp(2.75rem, 5vw, 5.5rem) clamp(4.5rem, 8vw, 9rem) 0 0; }
.fg-hook {
  position: absolute; top: 0; right: 0; width: clamp(3rem, 5vw, 5rem); height: 100%;
  object-fit: cover; object-position: center bottom; pointer-events: none;
}
.fg-card-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 1.7vw, 1.8rem);
  margin-top: clamp(1.5rem, 2.5vw, 2.75rem);
}
.fg-card {
  --card-inset: clamp(1rem, 1.65vw, 1.8rem);
  display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; min-width: 0;
  background: #fff; color: #141414; border: 1px solid #dedede;
}
.fg-card > img { display: block; width: 100%; aspect-ratio: 1.95; object-fit: cover; }
.fg-card:first-child > img { object-position: 50% 37%; }
.fg-card h4 { margin: var(--card-inset) var(--card-inset) 0; font: 650 clamp(1.15rem, 1.65vw, 1.85rem)/1.18 var(--av-text); letter-spacing: normal; text-wrap: initial; }
.fg-card p { margin: .55rem var(--card-inset) 0; max-width: 48ch; font-size: 1rem; line-height: 1.5; color: #45494a; }
.fg-card-more { display: inline-flex; align-self: end; justify-self: start; align-items: center; gap: .55rem; margin: 1.05rem var(--card-inset) var(--card-inset); color: #a9400b; font-size: .81rem; font-weight: 700; text-transform: uppercase; }
.fg-card-more i { font-size: 1.1rem; font-style: normal; line-height: 1; }
.fg-card:hover h4, .fg-story h4 a:hover { text-decoration: underline; text-underline-offset: .14em; }
.fg-after { display: flex; justify-content: center; margin-top: clamp(1.8rem, 3.3vw, 3.7rem); }

.fg-process { padding: clamp(4.2rem, 7.4vw, 8.3rem) 0; background: var(--fg-dark); color: #fff; }
.fg-process .av-tag { color: #ff924e; }
.fg-process-grid {
  display: grid; grid-template-columns: 45.6% minmax(0, 1fr); align-items: start;
  gap: clamp(2.4rem, 5.1vw, 6.7rem); margin-top: clamp(2rem, 3.8vw, 4.4rem);
}
.fg-process-image img { width: 100%; aspect-ratio: 1.56; object-fit: cover; display: block; }
.fg-process-content { width: min(85%, 33rem); padding-top: clamp(.5rem, 1.3vw, 1.3rem); }
.fg-tabs { display: flex; align-items: flex-start; flex-wrap: wrap; column-gap: clamp(.9rem, 2vw, 2.15rem); row-gap: .2rem; margin-bottom: 1.75rem; }
.fg-tabs a { display: inline-flex; align-items: center; min-height: 2.55rem; color: #b7c8cb; border-bottom: 2px solid transparent; font-size: .79rem; font-weight: 670; text-transform: uppercase; }
.fg-tabs a:hover, .fg-tabs a[aria-selected=true] { color: #ff9558; border-bottom-color: #ff852f; }
.fg-step-panel { scroll-margin-top: 7rem; }
.fg-step-panel + .fg-step-panel { margin-top: 2.5rem; }
.fg-process-grid[data-fg-ready] .fg-step-panel { margin: 0; }
.fg-step-panel h4 { max-width: 22rem; font-size: clamp(1.6rem, 2.4vw, 2.8rem); }
.fg-step-panel p, .fg-step-panel li { color: #e1ebed; font-size: 1rem; line-height: 1.55; }
.fg-step-panel p { margin-top: 1rem; }
.fg-step-panel ul { display: grid; gap: .33rem; margin: 1.25rem 0 1.65rem; padding: 0; list-style: none; }
.fg-step-panel li { position: relative; padding-left: 1.2rem; }
.fg-step-panel li::before { content: "→"; position: absolute; left: 0; color: #ff9558; }
.fg-process .line-action, .fg-request .line-action { color: #fff; border-color: #a5b7bc; }

.fg-stories { padding: clamp(4.5rem, 8vw, 9rem) 0 clamp(3rem, 5.2vw, 5.5rem); background: #fff; }
.fg-story-list { margin: clamp(1.85rem, 3.4vw, 3.85rem) 0 clamp(1.7rem, 4.1vw, 4.2rem); }
.fg-story { display: grid; grid-template-columns: 34% minmax(0, 1fr); column-gap: 7%; align-items: stretch; padding-block: clamp(1.3rem, 2.4vw, 2.8rem); border-top: 1px solid var(--fg-rule); }
.fg-story:first-child { border-top: 0; padding-top: 0; }
.fg-story:last-child { border-bottom: 1px solid var(--fg-rule); }
.fg-story-copy { display: flex; flex-direction: column; align-items: flex-start; }
.fg-story-copy > span { font-size: .78rem; font-weight: 560; color: #536063; }
.fg-story h4 { margin-top: .65rem; font-size: clamp(1.55rem, 2.35vw, 2.75rem); }
.fg-story-copy p { color: #4b5152; margin: .95rem 0 1.3rem; font-size: 1rem; line-height: 1.55; }
.fg-story-image { display: block; align-self: stretch; min-width: 0; }
.fg-story-image img { width: 100%; aspect-ratio: 1.56; height: 100%; object-fit: cover; }
.fg-story:nth-child(1) .fg-story-image img { object-position: 50% 20%; }
.fg-story:nth-child(2) .fg-story-image img { object-position: 50% 18%; }
.fg-story-more { display: inline-flex; align-items: center; gap: .66rem; margin-top: auto; color: #141718; font-size: .76rem; font-weight: 700; text-transform: uppercase; }
.fg-story-more i { display: grid; place-items: center; min-width: 2.32rem; min-height: 2.32rem; color: #17232b; background: #ff772a; font-size: 1.15rem; font-style: normal; }
.fg-story-more:hover { text-decoration: underline; text-underline-offset: .18em; }

.fg-request { padding: 0 0 clamp(4rem, 7vw, 7.5rem); background: linear-gradient(180deg,#fff 45%,var(--fg-fog) 45%); }
.fg-request-band {
  position: relative; isolation: isolate; width: min(80%, 88rem); min-height: clamp(10rem, 14.8vw, 17rem);
  margin-inline: auto; padding: clamp(1.9rem, 3.2vw, 3.8rem) clamp(2rem, 6vw, 8rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: 24%; align-items: center; overflow: hidden;
  color: #fff; background: radial-gradient(ellipse at center, #ff7e41 0%, #fa651e 64%);
}
.fg-request-band::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .25; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), #ffffff50 10%), repeating-linear-gradient(0deg, transparent 0 calc(50% - 1px), #ffffff70 50%); }
.fg-request h3 { position: relative; font-size: clamp(2rem, 3.6vw, 4.2rem); color: #fff; }
.fg-helmet { position: absolute; z-index: -1; top: 0; left: 50%; transform: translateX(-50%); width: auto; height: 100%; object-fit: contain; }
.fg-request-detail { display: flex; align-items: flex-start; flex-direction: column; gap: 1rem; }
.fg-request-detail p { font-size: 1rem; line-height: 1.4; font-weight: 540; }
.fg-request-detail .line-action { color: white; border-color: #fff; }
.fg-request-detail .line-action:hover { color: #142f39; background: #fff; }

@media (min-width: 1800px) {
  .fg-process-grid { max-width: 112.5rem; margin-inline: auto; }
}
@media (max-width: 1000px) {
  .fg-inner { width: 76%; }
  .fg-story { grid-template-columns: 40% minmax(0,1fr); column-gap: 5%; }
  .fg-process-content { width: 91%; }
  .fg-process-grid { grid-template-columns: 44% minmax(0,1fr); gap: 4.5%; }
  .fg-request-band { width: 86%; gap: 24%; padding-inline: 5.3%; }
}
@media (max-width: 740px) {
  .fg-inner { width: calc(100% - 3rem); }
  .fg-story-image img { min-height: 14.5rem; }
  .fg-process-grid { grid-template-columns: 42% minmax(0, 1fr); }
  .fg-process-image { align-self: stretch; }
  .fg-process-image img { min-height: 17rem; height: 100%; }
  .fg-tabs { gap: .2rem .8rem; margin-bottom: 1.15rem; }
  .fg-request-band { width: calc(100% - 3rem); gap: 19%; padding-inline: 3.5%; }
  .fg-request h3 { font-size: 2rem; }
  .fg-helmet { opacity: .82; }
}
@media (max-width: 550px) {
  .fg-inner { width: calc(100% - 2.5rem); }
  .fg-services .fg-title { font-size: clamp(1.78rem, 7.1vw, 2.55rem); }
  .fg-card-grid { grid-template-columns: minmax(0, 1fr); }
  .fg-card h4 { font-size: 1.22rem; }
  .fg-process-grid { display: block; }
  .fg-process-image img { aspect-ratio: 1.87; min-height: 0; height: auto; }
  .fg-process-content { width: calc(100% - 2.5rem); margin: 1.4rem auto 0; padding-top: 0; }
  .fg-tabs { justify-content: space-between; gap: .25rem .65rem; }
  .fg-story { display: flex; flex-direction: column-reverse; gap: 1.1rem; }
  .fg-story-image img { aspect-ratio: 1.58; min-height: 0; height: auto; }
  .fg-story h4 { font-size: 1.75rem; }
  .fg-story-copy p { margin: .6rem 0 1rem; }
  .fg-request { padding-bottom: 3.2rem; }
  .fg-request-band { width: calc(100% - 2.5rem); display: block; padding: 1.45rem 1.25rem; }
  .fg-request h3 { max-width: 60%; font-size: clamp(1.7rem, 7vw, 2.15rem); }
  .fg-helmet { left: auto; right: -3%; top: auto; bottom: 0; transform: none; height: 74%; opacity: .9; }
  .fg-request-detail { max-width: 62%; gap: .8rem; margin-top: .9rem; }
  .fg-request-detail p { font-size: .93rem; }
  .fg-request-detail .line-action > span { padding-inline: .65rem; }
  .fg-request-detail .line-action > i { min-width: 2rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .fg-card { transition: box-shadow .2s ease; }
  .fg-card:hover { box-shadow: 0 9px 28px #182c3610; }
}
.fg-roles { padding: 0 0 clamp(4.3rem, 7vw, 8rem); background: var(--fg-fog); }
.fg-role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3.3vw, 3.6rem); margin-top: clamp(1.7rem, 2.8vw, 3.2rem); }
.fg-role { display: grid; grid-template-columns: 46% minmax(0, 1fr); gap: clamp(.8rem, 1.35vw, 1.6rem); align-items: end; padding-bottom: .9rem; border-bottom: 2px solid #fa8b55; }
.fg-role img { width: 100%; aspect-ratio: .98; object-fit: cover; }
.fg-role h4 { margin: .35rem 0 .35rem; font: 650 clamp(1rem, 1.52vw, 1.8rem)/1.15 var(--av-text, Arial, sans-serif); text-transform: uppercase; }
.fg-role span, .fg-role small { font: 550 .78rem/1.35 var(--av-text, Arial, sans-serif); color: #4c5b60; }
.fg-role:hover h4 { text-decoration: underline; text-underline-offset: .14em; }
@media(max-width: 740px) {
  .fg-role-grid { gap: 1.25rem; }
  .fg-role { grid-template-columns: 43% minmax(0, 1fr); }
}
@media(max-width: 550px) {
  .fg-role-grid { grid-template-columns: 1fr; }
  .fg-role { grid-template-columns: 32% minmax(0, 1fr); align-items: center; }
  .fg-role img { aspect-ratio: 1.3; }
  .fg-role h4 { font-size: 1.28rem; }
}
