/*
Theme Name: HG Theme v5.7
Theme URI: https://fieldmanual.holygusto.co/
Author: Holy Gusto
Description: Publication theme for Holy Gusto case studies, field findings, methods, and references.
Version: 5.7.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: hg-field-manual-2
*/
:root{
 --navy:#0c1b2a;--navy-soft:#173047;--gold:#c7a037;--paper:#fffdf8;
 --paper-deep:#f4efe3;--muted:#536474;--line:#dcd5c7;--white:#fff;--shell:1180px;
 --sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 --mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
}
*{box-sizing:border-box}html{background:var(--paper);color:var(--navy);scroll-behavior:smooth}
body{margin:0;min-width:320px;background:radial-gradient(circle at 92% 3%,rgba(199,160,55,.14),transparent 23rem),var(--paper);color:var(--navy);font-family:var(--sans);line-height:1.6}
a{color:inherit}.shell{width:min(var(--shell),calc(100% - 40px));margin:0 auto}
a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.skip-link{position:fixed;left:12px;top:12px;z-index:9999;transform:translateY(-180%);background:var(--navy);color:#fff;padding:10px 14px}.skip-link:focus{transform:translateY(0)}
.utility{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:30px 0 56px}
.wordmark{color:var(--gold);font:800 12px/1 var(--sans);letter-spacing:.22em;text-transform:uppercase;text-decoration:none}
.utility-links{display:flex;gap:18px;font:750 13px/1 var(--sans)}.utility-links a{text-decoration:none}
.hero{padding:0 0 92px}.kicker,.eyebrow,.number{color:var(--gold);font:800 12px/1.2 var(--sans);letter-spacing:.2em;text-transform:uppercase}.kicker{margin:0 0 20px}
.hero h1{max-width:1060px;margin:0;font:750 clamp(62px,11vw,136px)/.84 var(--sans);letter-spacing:-.072em}.hero h1 span{color:var(--gold);font-weight:520}
.deck{max-width:820px;margin:34px 0 0;color:var(--navy-soft);font-size:clamp(21px,2.8vw,31px);letter-spacing:-.025em;line-height:1.35}
.section{padding:76px 0;border-top:1px solid var(--line)}.section-head{display:grid;grid-template-columns:48px 1fr;gap:16px;align-items:baseline;margin-bottom:36px}.number{font-family:var(--mono);letter-spacing:0}
.section h2{max-width:960px;margin:0 0 34px;font-size:clamp(36px,5.5vw,64px);font-weight:730;letter-spacing:-.055em;line-height:.98}
.feature{display:grid;grid-template-columns:1.35fr .65fr;gap:16px}.feature-main{min-height:430px;padding:40px;border-radius:24px;background:var(--navy);color:#fff;display:flex;flex-direction:column;justify-content:space-between}.feature-main h3{margin:14px 0 0;font-size:clamp(42px,6vw,76px);font-weight:730;letter-spacing:-.06em;line-height:.93}.feature-main p{max-width:700px;color:#d5dee6}.feature-main a{align-self:flex-start;color:var(--gold);font:800 12px/1 var(--sans);text-decoration-color:var(--gold);text-underline-offset:4px}.feature-side{padding:30px;border:1px solid var(--gold);border-radius:24px;background:rgba(255,255,255,.48)}.feature-side strong{display:block;font-size:52px;letter-spacing:-.05em}.feature-side p{color:var(--muted)}
.catalog{border-top:1px solid var(--line)}.catalog-row{display:grid;grid-template-columns:42px 1.2fr .8fr;gap:22px;padding:28px 0;border-bottom:1px solid var(--line);text-decoration:none}.catalog-row .idx{color:var(--gold);font:800 12px/1 var(--mono)}.catalog-row h3{margin:0;font-size:clamp(25px,3vw,36px);font-weight:720;letter-spacing:-.04em;line-height:1.05}.catalog-row p{margin:0;color:var(--muted);font-size:15px}
.entry{padding:66px 0 96px}.entry-header h1{max-width:1050px;margin:0;font-size:clamp(52px,8vw,96px);font-weight:750;letter-spacing:-.065em;line-height:.9}.entry-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:22px 0;margin-top:30px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px}.entry-meta span{color:var(--muted)}
.entry-content{max-width:760px;margin-top:54px}.entry-content p,.entry-content li{font-size:18px;color:var(--navy-soft)}.entry-content h2{margin:58px 0 20px;font-size:clamp(32px,4.3vw,50px);letter-spacing:-.045em;line-height:1}.entry-content h3{margin:38px 0 14px;font-size:25px;letter-spacing:-.03em}.entry-content blockquote{margin:38px 0;padding:26px 30px;border-left:4px solid var(--gold);background:var(--paper-deep);font-size:24px;font-weight:700;letter-spacing:-.025em;line-height:1.3}
.site-footer{padding:34px 0 48px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}.footer-row{display:flex;justify-content:space-between;gap:24px}
@media(max-width:800px){.feature{grid-template-columns:1fr}.catalog-row{grid-template-columns:34px 1fr}.catalog-row p{grid-column:2}.entry-meta{grid-template-columns:1fr}}
@media(max-width:620px){.shell{width:min(100% - 28px,var(--shell))}.utility{align-items:flex-start}.section{padding:58px 0}.section-head{grid-template-columns:34px 1fr;gap:8px}.footer-row{flex-direction:column}}

/* FIELD MANUAL GLOBAL NAVIGATION — v5.6 */
.fm-global-nav{
  width:min(1180px, calc(100% - 40px));
  margin:0 auto 58px;
  padding-top:32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.container > .fm-global-nav{
  width:100%;
  margin-left:0;
  margin-right:0;
}
.fm-global-breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  font-size:13px;
  font-weight:700;
  line-height:1;
}
.fm-global-breadcrumb a{
  color:#0c1b2a;
  text-decoration:none;
}
.fm-global-breadcrumb a:first-child{
  color:#c7a037;
}
.fm-global-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.fm-global-actions button{
  min-width:138px;
  height:40px;
  padding:0 14px;
  border:1px solid #c7a037;
  border-radius:999px;
  background:transparent;
  color:#0c1b2a;
  cursor:pointer;
  font:700 12px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.fm-global-actions .fm-global-contrast{
  background:#c7a037;
  color:#0c1b2a;
}
.fm-global-nav a:focus-visible,
.fm-global-nav button:focus-visible{
  outline:3px solid #c7a037;
  outline-offset:3px;
}

html.fm-high-contrast,
html.fm-high-contrast body{
  background:#fff !important;
  color:#000 !important;
}
html.fm-high-contrast body{
  background-image:none !important;
}
html.fm-high-contrast body a{
  color:#000 !important;
  text-decoration:underline !important;
  text-decoration-thickness:2px !important;
}
html.fm-high-contrast body .fm-global-actions button{
  background:#fff !important;
  border:2px solid #000 !important;
  color:#000 !important;
}
html.fm-high-contrast body .fm-global-actions .fm-global-contrast{
  background:#000 !important;
  color:#fff !important;
}
html.fm-high-contrast body .feature-main,
html.fm-high-contrast body .callout,
html.fm-high-contrast body .cta-panel{
  background:#000 !important;
  color:#fff !important;
}
html.fm-high-contrast body .feature-main a,
html.fm-high-contrast body .callout a,
html.fm-high-contrast body .cta-panel a{
  color:#fff !important;
}
html.fm-high-contrast body .card,
html.fm-high-contrast body .feature-side,
html.fm-high-contrast body .principle,
html.fm-high-contrast body .reference,
html.fm-high-contrast body table,
html.fm-high-contrast body th,
html.fm-high-contrast body td{
  border-color:#000 !important;
}
@media(max-width:720px){
  .fm-global-nav{
    width:min(100% - 28px,1180px);
    flex-direction:column;
    align-items:flex-start;
  }
  .container > .fm-global-nav{width:100%}
  .fm-global-actions{width:100%}
  .fm-global-actions button{flex:1;min-width:0}
}
@media print{
  .fm-global-nav{display:none !important}
}

