/* Field notes: scoped additions to the existing portfolio. */
.field-section { --ink: #e9e7e1; --muted: #aaa9a3; --signal: #c9a96e; color: var(--ink); text-align: left; scroll-margin-top: 5rem; }
.field-section * { box-sizing: border-box; }
.field-section .eyebrow { font: 12px/1.8 Consolas, monospace; letter-spacing: .15em; color: var(--signal); margin: 0 0 18px; }
.field-section h2 { font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1.08; letter-spacing: -.045em; margin: 0 0 24px; font-weight: 600; }
.field-section h3 { margin: 0 0 12px; font-size: 1.6rem; line-height: 1.25; letter-spacing: -.025em; }
.field-section p { line-height: 1.75; }
.field-heading { max-width: 700px; margin-bottom: 36px; }
.field-heading > p:last-child, .intro-note > p:not(.eyebrow) { color: var(--muted); max-width: 640px; }
.field-links { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 28px; }
.field-links a { border-bottom: 1px solid #706349; padding: 8px 0; }
.field-links span { margin-left: 20px; color: var(--signal); }
.event-row { display: grid; grid-template-columns: 145px minmax(0, 1fr) auto; gap: 28px; padding: 32px 0; border-top: 1px solid #373634; align-items: start; }
.event-row:hover h3, .creative-grid a:hover h3 { color: var(--signal); }
.event-date { font: 26px/1.4 Consolas, monospace; color: var(--signal); }
.event-date small { font-size: 11px; letter-spacing: .08em; }
.event-row p { color: var(--muted); max-width: 600px; margin: 0 0 18px; }
.event-action { font-size: 12px; color: var(--muted); white-space: nowrap; padding-top: 9px; }
.field-tag { display: inline-block; font: 10px/1.8 Consolas, monospace; border: 1px solid #41403a; padding: 3px 9px; margin: 0 6px 6px 0; color: #c4c1b8; }
.flock-stage { position: relative; background: #101112; border: 1px solid var(--border); overflow: hidden; background-image: radial-gradient(#2a2a2e 1px, transparent 1px); background-size: 24px 24px; }
#playground [hidden] { display: none; }
#flock-3d iframe { display: block; width: 100%; height: clamp(360px, 65vh, 720px); border: 0; }
#flock-mode-note { color: var(--muted); font-size: 12px; }
#flock-mode { position: relative; display: inline-flex; align-items: center; gap: 12px; min-width: 170px; transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
#flock-mode::before { content: ''; width: 32px; height: 18px; border-radius: 20px; background: #555247; transition: background-color .25s ease; }
#flock-mode::after { content: ''; position: absolute; left: 19px; top: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%; background: var(--ink); transition: transform .25s ease; }
#flock-mode[aria-pressed="true"] { border-color: var(--signal); background: #343027; }
#flock-mode[aria-pressed="true"]::before { background: #8c7348; }
#flock-mode[aria-pressed="true"]::after { transform: translateX(14px); }
#flock-mode:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { #flock-mode, #flock-mode::before, #flock-mode::after { transition: none; } }
.flock-instructions { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; padding: 20px; overflow-y: auto; background: rgb(12 17 18 / 92%); }
.flock-instructions-card { max-width: 440px; width: 100%; padding: 24px; border: 1px solid #555247; background: #191a19; }
.flock-instructions-card h3 { font-size: 1.4rem; }
.flock-instructions-card ul { padding-left: 20px; line-height: 1.8; color: var(--muted); }
.flock-instructions-card b { color: var(--ink); }
.flock-instructions-card button { border: 1px solid var(--signal); background: #343027; color: var(--ink); padding: 12px 16px; font: inherit; cursor: pointer; }
.flock-instructions-card button:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.flock-help { position: absolute; top: 12px; right: 12px; border: 1px solid var(--signal); background: #191a19; color: var(--ink); padding: 10px 14px; font: inherit; font-size: 12px; cursor: pointer; }
.flock-help:hover { background: #343027; }
.flock-help:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
#flock { display: block; width: 100%; height: 360px; touch-action: pan-y; }
.stage-label, .stage-hint { position: absolute; pointer-events: none; font: 10px/1.5 Consolas, monospace; color: #b6c3b6; left: 20px; }
.stage-label { top: 18px; letter-spacing: .1em; }.stage-hint { bottom: 16px; }
.lab-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 20px 0; }
.lab-controls label { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-right: auto; font-size: 13px; }
.lab-controls input { accent-color: #c9a96e; width: 130px; }.lab-controls output { min-width: 4ch; font-family: Consolas, monospace; }
.lab-controls button { border: 1px solid #555247; background: transparent; color: var(--ink); padding: 10px 14px; font: inherit; font-size: 12px; cursor: pointer; }
.lab-controls button:hover { background: #343027; }
.rule-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; border-top: 1px solid #373634; padding-top: 10px; }
.rule-strip p { font-size: 13px; color: var(--muted); }.rule-strip b { display: block; color: var(--ink); font-weight: 500; }
/* Match the project cards: charcoal surfaces, warm gold and fine outlines. */
#playground .flock-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
#playground .flock-toolbar { padding: 22px 28px; gap: 16px; border-bottom: 1px solid var(--border); }
#playground .flock-toolbar .eyebrow { margin: 0 auto 0 0; font-size: 10px; letter-spacing: .14em; }
#playground #flock-mode-note { flex-basis: 100%; font-size: 12px; line-height: 1.6; color: var(--muted); }
#playground .flock-stage { border: 0; }
#playground .lab-controls:not(.flock-toolbar) { padding: 22px 28px; border-top: 1px solid var(--border); }
#playground button { min-height: 44px; border: 1px solid #45413a; border-radius: 8px; background: #1c1c1e; color: var(--ink); padding: 11px 16px; font: 500 12px/1.5 'DM Sans', sans-serif; letter-spacing: .02em; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
#playground button:hover { background: #29271f; border-color: var(--signal); color: #f0ede8; }
#playground button:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
#playground #flock-mode[aria-pressed="true"] { border-color: #8c7348; background: #29271f; }
#playground .lab-controls label { color: var(--muted); font-size: 12px; }
#playground .lab-controls output { color: var(--signal); }
#playground .rule-strip { margin: 0 28px; padding: 20px 0 24px; border-color: var(--border); }
#playground .rule-strip p { margin: 0; font-size: 12px; }
#playground .rule-strip b { margin-bottom: 6px; color: var(--signal); font: 11px/1.6 Consolas, monospace; }
#playground .stage-label, #playground .stage-hint { left: 28px; color: #aaa69d; }
#playground .stage-label { color: var(--signal); }
#playground .flock-help { top: 18px; right: 20px; background: #161618; }
#playground .flock-instructions { background: rgb(14 14 15 / 92%); }
#playground .flock-instructions-card { padding: 28px; border: 1px solid #45413a; border-radius: 12px; background: var(--surface); box-shadow: 0 16px 48px rgb(0 0 0 / 25%); }
#playground .flock-instructions-card h3 { font-size: 1.6rem; margin-bottom: 20px; }
#playground .flock-instructions-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
#playground .flock-instructions-card li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
#playground .flock-instructions-card b { color: var(--signal); font-family: Consolas, monospace; }
#playground .flock-instructions-card button { width: 100%; background: var(--signal); color: #171711; border-color: var(--signal); }
#playground .flock-instructions-card button:hover { background: #ddbd82; }
@media (max-width: 600px) {
  #playground .flock-toolbar, #playground .lab-controls:not(.flock-toolbar) { padding: 18px; }
  #playground .flock-toolbar .eyebrow { flex-basis: 100%; }
  #playground .lab-controls label { flex-basis: 100%; }
  #playground .rule-strip { margin: 0 18px; padding: 16px 0; }
  #playground .rule-strip p { margin: 6px 0; }
  #playground .stage-label, #playground .stage-hint { left: 18px; }
  #playground .flock-instructions-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { #playground button { transition: none; } }
.homelab-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: start; }
.homelab-layout > * { min-width: 0; overflow-wrap: anywhere; }
.lab-details [hidden] { display: none; }
.lab-map .map-entry { align-self: flex-start; margin: 0 0 12px; }
.lab-map button { min-height: 54px; }
.lab-map button:hover, .lab-map button:focus-visible { border-color: var(--signal); }
@media (max-width: 850px) { #homelab .homelab-layout { grid-template-columns: minmax(0, 1fr); } }
.lab-node { border-top: 1px solid #45443e; padding: 24px 0; }
.lab-node h3 .field-tag { vertical-align: middle; margin-left: 10px; font: 600 12px/1.6 Consolas, monospace; letter-spacing: .06em; color: #e9e7e1; padding: 5px 10px; }
.lab-services { color: var(--muted); padding-left: 20px; line-height: 1.8; margin: 16px 0 0; }
.lab-services ul { padding-left: 24px; margin: 6px 0; }
.lab-plan { color: var(--muted); font-size: 13px; margin: 20px 0 0; }
.lab-map { display: flex; flex-direction: column; align-items: center; }.map-entry { font: 10px Consolas, monospace; color: var(--muted); letter-spacing: .15em; }.map-line { width: 1px; height: 24px; background: #67604f; }
.lab-map button { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; border: 1px solid #45443e; background: #191a19; color: var(--ink); padding: 19px; font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.lab-map button[aria-pressed="true"] { border-color: var(--signal); background: #29271f; }.lab-map button span { font: 12px Consolas, monospace; color: var(--signal); }.lab-map small { color: var(--muted); font-size: 10px; margin-top: 20px; }
.layer-detail { min-height: 230px; }.layer-detail > p:not(.eyebrow) { color: var(--muted); }.layer-detail .layer-stack { font: 10px/1.8 Consolas, monospace; color: var(--signal) !important; margin-top: 28px; }
.creative-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }.creative-grid a { border-top: 1px solid #49463e; padding: 28px 22px 0; }.creative-grid a + a { border-left: 1px solid #373634; }.creative-grid a:first-child { padding-left: 0; }.creative-symbol { display: block; font: 64px/1.3 monospace; color: var(--signal); margin-bottom: 28px; }.creative-grid h3 { font-size: 22px; }.creative-grid p:last-child { font-size: 14px; color: var(--muted); }
.contact-note { background: #c9a96e; color: #171711; }.contact-note .eyebrow { color: #49402c; }.contact-note a { display: inline-block; border-bottom: 1px solid #66583b; padding-bottom: 8px; overflow-wrap: anywhere; }.contact-note a span { margin-left: 20px; }
@media(max-width: 850px) { .event-row { grid-template-columns: 110px minmax(0,1fr); gap: 20px; }.event-action { display: none; }.homelab-layout { gap: 25px; }.creative-grid { grid-template-columns: 1fr; }.creative-grid a, .creative-grid a:first-child { padding: 24px 0; }.creative-grid a + a { border-left: 0; }.creative-symbol { float: right; font-size: 44px; margin: 0 0 15px 20px; } }
@media(max-width: 600px) { #navbar { flex-wrap: wrap; } #navbar a { flex: 1 0 30%; padding: 8px; font-size: 11px; }.event-row { grid-template-columns: 1fr; gap: 14px; }.event-date br { display: none; }.event-date small { margin-left: 12px; }.homelab-layout { grid-template-columns: 1fr; }.layer-detail { min-height: 200px; }.rule-strip { grid-template-columns: 1fr; gap: 0; }.rule-strip p { margin: 8px 0; }.rule-strip b { display: inline; margin-right: 12px; } #flock { height: 300px; }.field-section h2 { font-size: 2.25rem; } }
