/* ==========================================================================
   Fringe Group Studios · Cabinet: the page builder (block templates + FGS sections).
   Loaded on the front end after cabinet.css and theme.css, and in the editor (add_editor_style),
   so the editor canvas matches the site. Breakpoints: phone ≤ 600px, tablet 601–1024px, desktop ≥ 1025px.
   ========================================================================== */

/* ---------- "Show on" ---------- */
@media (min-width: 1025px) { .fgs-hide-d { display: none !important; } }
@media (min-width: 601px) and (max-width: 1024px) { .fgs-hide-t { display: none !important; } }
@media (max-width: 600px) { .fgs-hide-p { display: none !important; } }

/* ---------- block template chrome ---------- */
.wp-site-blocks > *, .wp-site-blocks > .fgs-chrome, .fgs-main > * { margin-block: 0; }
.fgs-chrome { display: contents; }
.fgs-main { overflow-x: clip; }
.fgs-page-head + .fgs-flow-page { padding-top: 56px; }
.fgs-flow-page { padding-bottom: 96px; }
.fgs-flow-page:has(> :last-child:is(.fgs-sec, .fgs-hero)) { padding-bottom: 0; }
.fgs-page-head + .fgs-flow-page:has(> :first-child:is(.fgs-sec, .fgs-hero)) { padding-top: 0; }
.fgs-flow-canvas { padding-top: 0; }
.fgs-flow-canvas > :first-child:not(.fgs-sec):not(.fgs-hero) { margin-top: 56px; }
.fgs-page-head .display-2 { overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .fgs-page-head + .fgs-flow-page { padding-top: 36px; }
  .fgs-flow-page { padding-bottom: 72px; }
}
.fgs-sign { max-width: 720px; margin: 36px auto 0; }
.fgs-main.news-page .notice-page { padding-top: 0; }

/* ---------- the content flow (core/post-content) ---------- */
.fgs-flow { --fgs-wide: min(var(--wrap), 100% - var(--gutter) * 2); }
main .fgs-flow > * { margin-block: 0; }
main .fgs-flow > * + * { margin-top: 1.1em; }
/* pages (constrained layout): prose sits in the left column of the site width, as page.php did; wide blocks span the
   site width; sections and heroes go edge to edge. WordPress centres constrained children with !important margins. */
.fgs-flow-page.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)) { width: min(760px, 100% - var(--gutter) * 2); max-width: none; margin-left: max(var(--gutter), (100% - var(--wrap)) / 2) !important; margin-right: auto !important; }
.fgs-flow-page.is-layout-constrained > .alignwide { width: var(--fgs-wide); max-width: none; margin-left: auto !important; margin-right: auto !important; }
.fgs-flow-page.is-layout-constrained > .alignfull { width: 100%; max-width: none; margin-left: 0 !important; margin-right: 0 !important; }
main .fgs-flow > :is(.fgs-sec, .fgs-hero) + *, main .fgs-flow > * + :is(.fgs-sec, .fgs-hero) { margin-top: 0; }
main .fgs-flow > :is(.fgs-sec, .fgs-hero) + :not(.fgs-sec):not(.fgs-hero) { margin-top: 56px; }
main .fgs-flow > * + :is(.fgs-wide, .alignwide, .wp-block-columns) { margin-top: 2.2em; }
/* posts: the notice column (.nb, 720px); wide and full blocks break out of it */
.fgs-flow-post > :is(.alignwide, .fgs-wide) { width: min(var(--wrap), 100vw - var(--gutter) * 2); max-width: none; margin-left: calc(50% - min(var(--wrap), 100vw - var(--gutter) * 2) / 2); }
.fgs-flow-post > :is(.alignfull, .fgs-sec, .fgs-hero) { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.fgs-flow-post > :is(.fgs-sec, .fgs-hero) { margin-block: 2.4em; }

/* prose in the flow and in sections */
:where(.fgs-flow, .fgs-sec-in, .fgs-mt-body, .fgs-faq-a) :where(p, li) { color: var(--bone-2); font-size: 17px; line-height: 1.75; }
:where(.fgs-flow, .fgs-sec-in, .fgs-mt-body, .fgs-faq-a) :where(a:not([class])) { color: var(--bone); text-decoration-color: var(--rule, rgba(236, 226, 205, .45)); text-underline-offset: 3px; }
:where(.fgs-flow, .fgs-sec-in, .fgs-mt-body, .fgs-faq-a) :where(a:not([class])):hover { text-decoration-color: currentColor; }
:where(.fgs-flow, .fgs-sec-in, .fgs-mt-body) :where(ul, ol):not([class*="keepers"]):not(.makers):not(.fgs-names) { padding-left: 1.2em; }
:where(.fgs-flow, .fgs-sec-in, .fgs-mt-body) :where(h1, h2, h3, h4) { color: var(--bone); line-height: 1.05; margin: 0; }
.fgs-flow-page > h2 { margin-top: 1.8em; padding-top: 16px; border-top: 1px solid var(--rule, var(--line-soft)); font-size: clamp(26px, 3vw, 34px); }
.fgs-flow-page > h3 { margin-top: 1.6em; font-size: 24px; }
.fgs-flow-page > :first-child { margin-top: 0; }
:where(.fgs-sec-in, .fgs-mt-body) h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.02; }
:where(.fgs-sec-in, .fgs-mt-body) h3 { font-size: clamp(24px, 2.6vw, 32px); }
:where(.fgs-sec-in, .fgs-mt-body) h4 { font-size: 20px; }
:where(.fgs-flow, .fgs-sec-in, .fgs-mt-body) blockquote:not(.fgs-quote blockquote) { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--bone); font-size: 20px; color: var(--bone); }
:where(.fgs-flow, .fgs-sec-in, .fgs-mt-body) :where(figcaption, .wp-element-caption) { margin-top: 10px; font: 400 12px/1.5 var(--f-label); letter-spacing: .04em; color: var(--bone-3); }
:where(.fgs-flow, .fgs-sec-in, .fgs-mt-body) img { max-width: 100%; height: auto; }
:where(.fgs-flow, .fgs-sec-in) hr.wp-block-separator { border: 0; border-top: 1px solid var(--rule, var(--line-soft)); margin: 2.4em auto; opacity: 1; }
.fgs-sec-in > * { margin-block: 0; }
.fgs-sec-in > * + * { margin-top: 1.25rem; }
.fgs-sec-in > :is(h2, h3) + p { margin-top: 1rem; }
.fgs-sec-in > * + :is(.fgs-wide, .wp-block-columns, .wp-block-buttons) { margin-top: 2rem; }
.fgs-mt-body > * { margin-block: 0; }
.fgs-mt-body > * + * { margin-top: 1.1rem; }
.fgs-mt-body > * + .wp-block-buttons { margin-top: 1.8rem; }

/* paragraph and heading styles */
p.is-style-fgs-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font: 400 12.5px/1.4 var(--f-label) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2); }
p.is-style-fgs-lede { max-width: 34em; font-size: clamp(18px, 1.8vw, 21px) !important; line-height: 1.55 !important; color: var(--bone-2); }
:is(h1, h2, h3).is-style-fgs-display { font: 800 clamp(46px, 7vw, 108px)/.9 var(--f-display) !important; text-transform: uppercase; letter-spacing: -.02em; }
:is(h1, h2, h3).is-style-fgs-display em { text-transform: none; }

/* core columns inside the builder */
:where(.fgs-flow, .fgs-sec-in) .wp-block-columns { gap: 28px 40px; margin-bottom: 0; }
@media (max-width: 860px) { :where(.fgs-flow, .fgs-sec-in) .wp-block-columns { gap: 28px; } }

/* images */
.wp-block-image.is-style-fgs-mount img { padding: 14px; background: #14110e; box-shadow: 0 30px 50px -28px #000; }
:where(.fgs-flow, .fgs-sec-in) .wp-block-image img { height: auto; }

/* ---------- buttons (core/buttons): the FGS button set ---------- */
:where(.fgs-flow, .fgs-sec-in, .fgs-mt-body, .fgs-hero) .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 0; font: 600 12.5px/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s; box-shadow: none;
}
.wp-block-button:not(.is-style-fgs-outline):not(.is-style-fgs-arrow):not(.is-style-outline) .wp-block-button__link:not(.has-background) { background: var(--paper, #ece3cf); border-color: var(--paper, #ece3cf); color: #1a1512; font-weight: 700; }
.wp-block-button:not(.is-style-fgs-outline):not(.is-style-fgs-arrow):not(.is-style-outline) .wp-block-button__link:not(.has-background):hover { background: #fff; border-color: #fff; transform: translateY(-1px); }
.wp-block-button.is-style-fgs-outline .wp-block-button__link, .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--bone); border-color: rgba(236, 226, 205, .45); }
.wp-block-button.is-style-fgs-outline .wp-block-button__link:hover, .wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--bone); background: rgba(236, 226, 205, .06); }
.wp-block-button.is-style-fgs-arrow .wp-block-button__link { min-height: 0; padding: 0 0 3px; background: none; border: 0; border-bottom: 1px solid var(--line, rgba(236, 226, 205, .45)); color: var(--brass-2, #c8aa68); font-size: 11.5px; letter-spacing: .14em; }
.wp-block-button.is-style-fgs-arrow .wp-block-button__link::after { content: "\2192"; }
.wp-block-button.is-style-fgs-arrow .wp-block-button__link:hover { border-color: currentColor; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-buttons.is-content-justification-right { justify-content: flex-end; }
@media (max-width: 600px) {
  .wp-block-buttons:not(.is-content-justification-center) .wp-block-button:not(.is-style-fgs-arrow) { flex: 1 1 100%; }
  .wp-block-buttons:not(.is-content-justification-center) .wp-block-button:not(.is-style-fgs-arrow) .wp-block-button__link { width: 100%; }
}

/* ---------- ivory (the "Crafting modern artefacts" band) ---------- */
.fgs-ivory {
  background: #ece3cf; color: #1a1512;
  --paper: #1a1512; --ink: #1a1512; --ink-2: #4d4239; --ink-line: rgba(26, 21, 18, .2);
  --bone: #1a1512; --bone-2: #4d4239; --bone-3: #6b6055; --rule: rgba(26, 21, 18, .2);
  --line: rgba(26, 21, 18, .28); --line-soft: rgba(26, 21, 18, .14); --brass: #6b5a3a; --brass-2: #4d4239;
}
.fgs-ivory img[src*="-chocolate"], .fgs-ivory img[src*="-black"] { filter: none !important; }
.fgs-ivory .wp-block-button:not(.is-style-fgs-outline):not(.is-style-fgs-arrow):not(.is-style-outline) .wp-block-button__link:not(.has-background) { background: #1a1512; border-color: #1a1512; color: #ece3cf; }
.fgs-ivory .wp-block-button:not(.is-style-fgs-outline):not(.is-style-fgs-arrow):not(.is-style-outline) .wp-block-button__link:not(.has-background):hover { background: #3a2f26; border-color: #3a2f26; }
.fgs-ivory .wp-block-button.is-style-fgs-outline .wp-block-button__link { color: #1a1512; border-color: rgba(26, 21, 18, .45); }
.fgs-ivory :focus-visible { outline-color: #1a1512; }
.fgs-ivory .btn-brass { background: #1a1512 !important; color: #ece3cf !important; border-color: #1a1512 !important; }

/* ---------- Section ---------- */
.fgs-sec { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; padding-top: var(--pt-d, 96px); padding-bottom: var(--pb-d, 96px); }
.fgs-sec-in { position: relative; z-index: 1; width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.fgs-sec--w-narrow > .fgs-sec-in { width: min(760px, 100% - var(--gutter) * 2); }
.fgs-sec--w-full > .fgs-sec-in { width: 100%; padding-inline: var(--gutter); }
.fgs-sec--h-half { min-height: 50vh; }
.fgs-sec--h-tall { min-height: 80vh; }
.fgs-sec--h-screen { min-height: 100vh; min-height: 100svh; }
.fgs-sec--v-top { justify-content: flex-start; }
.fgs-sec--v-bottom { justify-content: flex-end; }
.fgs-sec--t-center > .fgs-sec-in { text-align: center; }
.fgs-sec--t-center > .fgs-sec-in > :is(p, h1, h2, h3, h4, ul, ol) { margin-inline: auto; }
.fgs-sec--t-center > .fgs-sec-in > p { max-width: 40em; }
.fgs-sec--t-center .wp-block-buttons { justify-content: center; }
.fgs-sec--t-center .fgs-sec-head { display: block; text-align: center; }
.fgs-sec--t-center .fgs-sec-head .sec-sub { margin-inline: auto; }
.fgs-sec--shade { background: #15120f; }
.fgs-sec--rules { border-block: 1px solid var(--rule, var(--line-soft)); }
.fgs-sec--image { color: var(--bone); }
.fgs-sec-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.fgs-sec-bg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fgs-sec-shade { position: absolute; inset: 0; z-index: -1; background: var(--ground, #0e0c0a); }
@media (max-width: 1024px) { .fgs-sec { padding-top: var(--pt-t, 80px); padding-bottom: var(--pb-t, 80px); } }
@media (max-width: 600px) {
  .fgs-sec { padding-top: var(--pt-p, 56px); padding-bottom: var(--pb-p, 56px); }
  .fgs-sec--h-tall { min-height: 70vh; }
}

/* ---------- Section heading ---------- */
.fgs-sec-head { margin-bottom: 38px; }
.fgs-sec-head .sec-title em { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 500; }
.fgs-sec-head--nono { grid-template-columns: minmax(0, 1fr) auto; }
.fgs-sec-head--nono .sec-no { display: none; }
.fgs-sec-in > .fgs-sec-head:first-child { margin-top: 0; }

/* ---------- Hero ---------- */
.fgs-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; overflow: hidden; }
.fgs-hero--h-tall { min-height: min(86vh, 900px); }
.fgs-hero--h-screen { min-height: 100vh; min-height: 100svh; }
.fgs-hero-in { position: relative; z-index: 1; width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; padding: 120px 0 64px; }
.fgs-hero--h-auto .fgs-hero-in { padding: 88px 0 64px; }
.fgs-hero-copy > * { margin-block: 0; }
.fgs-hero-copy .kicker { margin-bottom: 18px; }
.fgs-hero-h { margin: 0 0 22px !important; }
.fgs-hero--giant .fgs-hero-h { text-shadow: 0 2px 40px rgba(0, 0, 0, .5); }
.fgs-hero .hero-lede { max-width: 34ch; margin: 0; font-size: 1.12rem; color: var(--bone-2); }
.fgs-hero-cta { margin-top: 28px !important; }
.fgs-hero-stage { position: absolute; inset: 0 0 0 38%; z-index: -2; }
.fgs-hero-stage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fgs-hero--fade .fgs-hero-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ground) 0%, rgba(14, 12, 10, .55) 26%, rgba(14, 12, 10, 0) 55%), linear-gradient(0deg, var(--ground) 0%, rgba(14, 12, 10, 0) 38%); }
.fgs-hero--cover .fgs-hero-stage { inset: 0; }
.fgs-hero-shade { position: absolute; inset: 0; z-index: -1; background: var(--ground, #0e0c0a); }
.fgs-hero--cover .fgs-hero-copy { max-width: 980px; }
.fgs-hero--split .fgs-hero-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; }
.fgs-hero-fig { margin: 0; }
.fgs-hero-fig img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; object-position: bottom; }
.fgs-hero--split.fgs-hero--giant .fgs-hero-h { font-size: clamp(3rem, 7.4vw, 7.6rem); }
.fgs-hero--text { border-bottom: 1px solid var(--rule, var(--line-soft)); }
.fgs-hero--text.fgs-hero--h-tall { min-height: min(70vh, 760px); }
@media (max-width: 860px) {
  .fgs-hero { display: block; }
  .fgs-hero--h-tall, .fgs-hero--h-screen, .fgs-hero--text.fgs-hero--h-tall { min-height: 0; }
  .fgs-hero--fade .fgs-hero-stage { position: relative; inset: auto; height: 58vh; }
  .fgs-hero--fade .fgs-hero-stage::after { background: linear-gradient(0deg, var(--ground) 0%, rgba(14, 12, 10, 0) 45%); }
  .fgs-hero--fade .fgs-hero-in { margin-top: -110px; padding-top: 0; }
  .fgs-hero--cover { display: flex; min-height: 78vh; min-height: 78svh; }
  .fgs-hero-in, .fgs-hero--h-auto .fgs-hero-in { padding: 64px 0 48px; }
  .fgs-hero--split .fgs-hero-in { grid-template-columns: 1fr; gap: 32px; }
  .fgs-hero--split .fgs-hero-fig { order: -1; }
  .fgs-hero--split.fgs-hero--giant .fgs-hero-h { font-size: clamp(2.8rem, 13vw, 5rem); }
}
@media (max-width: 600px) {
  .fgs-hero--giant .fgs-hero-h { font-size: clamp(2.7rem, 14vw, 4.6rem); overflow-wrap: anywhere; }
}

/* ---------- Image + text ---------- */
.fgs-mt { display: grid; gap: 40px 64px; align-items: center; }
.fgs-mt--v-top { align-items: start; }
.fgs-mt--4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.fgs-mt--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.fgs-mt--6-6 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.fgs-mt--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.fgs-mt--right.fgs-mt--4-8 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.fgs-mt--right.fgs-mt--5-7 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.fgs-mt--right.fgs-mt--7-5 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.fgs-mt--right .fgs-mt-media { order: 2; }
.fgs-mt-media { margin: 0; min-width: 0; }
.fgs-mt-frame img { display: block; width: 100%; height: auto; }
.fgs-mt--mount .fgs-mt-frame { padding: 16px; background: #14110e; box-shadow: 0 30px 50px -28px #000; }
.fgs-ivory .fgs-mt--mount .fgs-mt-frame { background: #ded3ba; box-shadow: none; }
.fgs-mt-body { min-width: 0; }
@media (max-width: 860px) {
  .fgs-mt, .fgs-mt[class*="fgs-mt--"] { grid-template-columns: 1fr; gap: 28px; }
  .fgs-mt--right .fgs-mt-media { order: 0; }
  .fgs-mt--first-text .fgs-mt-media { order: 2; }
}

/* ---------- Gallery (never cropped) ---------- */
.fgs-gal { --g: 14px; }
.fgs-gal-item { margin: 0; min-width: 0; }
.fgs-gal-frame { display: block; background: #14110e; }
.fgs-gal-frame img { display: block; width: 100%; height: auto; }
.fgs-gal-item figcaption { margin-top: 8px; font: 400 12px/1.45 var(--f-label); letter-spacing: .04em; color: var(--bone-3); }
a.fgs-gal-frame { transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
a.fgs-gal-frame:hover { transform: translateY(-3px); }
/* rows: every photo in a row has the same height, widths follow each photo's own shape */
.fgs-gal--rows { display: flex; flex-wrap: wrap; gap: var(--g); --h: var(--h-d, 260px); }
/* a phantom photo-sized gap ends the last row, so a short last row is not blown up */
.fgs-gal--rows::after { content: ""; flex: 1000 1 var(--h); }
.fgs-gal--rows .fgs-gal-item { flex: calc(var(--r, 1) * 1000) 1 calc(var(--r, 1) * var(--h)); }
/* columns: masonry */
.fgs-gal--columns { column-count: var(--c-d, 3); column-gap: var(--g); }
.fgs-gal--columns .fgs-gal-item { break-inside: avoid; margin-bottom: var(--g); }
/* grid: equal cells, the whole photo centred inside */
.fgs-gal--grid { display: grid; grid-template-columns: repeat(var(--c-d, 3), minmax(0, 1fr)); gap: var(--g); }
.fgs-gal--grid .fgs-gal-frame { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 10px; }
.fgs-gal--grid .fgs-gal-frame img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 1024px) {
  .fgs-gal--rows { --h: var(--h-t, 200px); }
  .fgs-gal--columns { column-count: var(--c-t, 3); }
  .fgs-gal--grid { grid-template-columns: repeat(var(--c-t, 3), minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .fgs-gal { --g: 8px; }
  .fgs-gal--rows { --h: var(--h-p, 130px); }
  .fgs-gal--columns { column-count: var(--c-p, 2); }
  .fgs-gal--grid { grid-template-columns: repeat(var(--c-p, 2), minmax(0, 1fr)); }
  .fgs-gal--grid .fgs-gal-frame { padding: 6px; }
}

/* ---------- Maker strip ---------- */
.fgs-keepers { grid-template-columns: repeat(min(var(--n, 4), 4), minmax(0, 1fr)); }
.fgs-makerstrip .km-name { color: var(--bone); }
.fgs-names { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule, var(--line-soft)); }
.fgs-names li { border-bottom: 1px solid var(--rule, var(--line-soft)); }
.fgs-names a, .fgs-names li > span { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto; align-items: baseline; gap: 6px 18px; padding: 18px 0; color: var(--bone); text-decoration: none; }
.fgs-names-no { font: 500 11.5px/1 var(--f-label); letter-spacing: .14em; color: var(--bone-3); }
.fgs-names-n { font: 700 clamp(22px, 2.6vw, 34px)/1.05 var(--f-display); font-variation-settings: "wdth" 85, "opsz" 72; letter-spacing: -.02em; }
.fgs-names-aka { font: italic 500 15px/1.3 "Fraunces", Georgia, serif; color: var(--bone-2); }
.fgs-names-go { color: var(--bone-3); transition: transform .3s, color .3s; }
.fgs-names a:hover .fgs-names-go { color: var(--bone); transform: translateX(4px); }
@media (max-width: 860px) {
  .fgs-keepers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .fgs-names a, .fgs-names li > span { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .fgs-names-aka { grid-column: 2; grid-row: 2; }
  .fgs-names-go { grid-column: 3; grid-row: 1; }
}

/* ---------- Product grid ---------- */
.fgs-products-grid { grid-template-columns: repeat(var(--c-d, 4), minmax(0, 1fr)); }
.fgs-products-more { margin: 28px 0 0; text-align: right; }
@media (max-width: 1024px) { .fgs-products-grid { grid-template-columns: repeat(var(--c-t, 3), minmax(0, 1fr)); } }
@media (max-width: 600px) { .fgs-products-grid { grid-template-columns: repeat(var(--c-p, 2), minmax(0, 1fr)); gap: 28px 12px; } }

/* ---------- Quote ---------- */
.fgs-quote { margin: 0; }
.fgs-quote blockquote { margin: 0; padding: 0; border: 0; }
.fgs-quote blockquote p { margin: 0; color: var(--bone); font: 700 clamp(30px, 4.2vw, 60px)/1.04 var(--f-display); font-variation-settings: "wdth" 85, "opsz" 72; letter-spacing: -.02em; }
.fgs-quote--medium blockquote p { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.15; }
.fgs-quote blockquote p::before { content: "\201C"; }
.fgs-quote blockquote p::after { content: "\201D"; }
.fgs-quote blockquote em { font-family: "Fraunces", Georgia, serif; font-weight: 500; }
.fgs-quote-cite { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.fgs-quote-cite b { display: block; font: 500 12px/1.4 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--bone); }
.fgs-quote-cite small { display: block; margin-top: 4px; font: italic 500 15px/1.3 "Fraunces", Georgia, serif; color: var(--bone-2); }
.fgs-quote-oval { width: 72px; padding: 3px; }
.fgs-quote--center { text-align: center; }
.fgs-quote--center blockquote p { max-width: 22ch; margin-inline: auto; }
.fgs-quote--center .fgs-quote-cite { justify-content: center; }
.fgs-quote--left blockquote p { max-width: 24ch; }

/* ---------- FAQ ---------- */
.fgs-faq { border-top: 1px solid var(--rule, var(--line-soft)); }
.fgs-faq-item { border-bottom: 1px solid var(--rule, var(--line-soft)); }
.fgs-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; color: var(--bone); }
.fgs-faq-item summary::-webkit-details-marker { display: none; }
.fgs-faq-q { font: 700 clamp(19px, 2vw, 24px)/1.2 var(--f-display); font-variation-settings: "wdth" 85, "opsz" 72; letter-spacing: -.01em; }
.fgs-faq-ico { position: relative; flex: 0 0 22px; width: 22px; height: 22px; border: 1px solid var(--rule, var(--line)); border-radius: 50%; }
.fgs-faq-ico::before, .fgs-faq-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; margin: -.5px 0 0 -5px; background: currentColor; transition: transform .25s; }
.fgs-faq-ico::after { transform: rotate(90deg); }
.fgs-faq-item[open] .fgs-faq-ico::after { transform: rotate(0deg); }
.fgs-faq-item summary:hover .fgs-faq-q { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.fgs-faq-a { padding: 0 0 24px; max-width: 760px; }
.fgs-faq-a > * { margin-block: 0; }
.fgs-faq-a > * + * { margin-top: .9em; }

/* ---------- Spacer + divider ---------- */
.fgs-spacer { height: var(--h-d, 64px); }
.fgs-divider { display: flex; align-items: center; gap: 18px; padding-block: var(--s-d, 40px); color: var(--bone-3); }
.fgs-divider span { flex: 1; height: 1px; background: var(--rule, var(--line-soft)); }
.fgs-divider--double span { height: 4px; background: none; border-block: 1px solid var(--rule, var(--line-soft)); }
.fgs-divider b { font-size: 10px; color: var(--bone-3); }
.fgs-divider em { font: 500 11.5px/1 var(--f-label); font-style: normal; letter-spacing: .16em; text-transform: uppercase; }
main .fgs-flow > .fgs-spacer, main .fgs-flow > * + .fgs-spacer, main .fgs-flow > .fgs-spacer + *,
.fgs-sec-in > .fgs-spacer, .fgs-sec-in > * + .fgs-spacer, .fgs-sec-in > .fgs-spacer + *,
main .fgs-flow > * + .fgs-divider, main .fgs-flow > .fgs-divider + *, .fgs-sec-in > * + .fgs-divider, .fgs-sec-in > .fgs-divider + * { margin-top: 0; }
@media (max-width: 1024px) { .fgs-spacer { height: var(--h-t, 48px); } .fgs-divider { padding-block: var(--s-t, 32px); } }
@media (max-width: 600px) { .fgs-spacer { height: var(--h-p, 32px); } .fgs-divider { padding-block: var(--s-p, 24px); } }

.fgs-empty { padding: 28px; border: 1px dashed var(--rule, var(--line)); font: 400 12.5px/1.5 var(--f-label); letter-spacing: .04em; color: var(--bone-3); text-align: center; }
