/* IGBOTO Lab: "After Dark". A black board, copper traces, white silkscreen. Design notes: ~/P3/igboto/DESIGN.md */

:root {
  --board: #12100E;
  --mask: #1C1915;
  --mask-2: #26221D;
  --copper: #C87533;
  --copper-lit: #F2A65E;
  --copper-dim: #6E4322;
  --silk: #EFE9DF;
  --text: #D8D1C5;
  --fibre: #8F877B;
  --led: #62F07E;
  --line: rgba(239, 233, 223, .13);
  --line-2: rgba(239, 233, 223, .24);

  --pad: 20px;
  --gut: 28px;
  --maxw: 1320px;
  --f: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --logo: 'Joti One', 'Archivo', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;

  /* the old theme's colour names, used inside post content: mapped onto the board */
  --ast-global-color-0: var(--copper);
  --ast-global-color-1: var(--copper-lit);
  --ast-global-color-2: var(--silk);
  --ast-global-color-3: var(--text);
  --ast-global-color-4: var(--board);
  --ast-global-color-5: var(--mask);
  --ast-global-color-6: var(--silk);
  --ast-global-color-7: var(--fibre);
  --ast-global-color-8: var(--board);
}
@media (min-width: 700px) { :root { --pad: 32px; --gut: 40px; } }
@media (min-width: 1100px) { :root { --pad: 48px; --gut: 56px; } }

html { background: var(--board); color-scheme: dark; scroll-padding-top: 24px; }
body.igb {
  margin: 0;
  background-color: var(--board);
  color: var(--text);
  font: 400 1.125rem/1.65 var(--f);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.igb > .igb-main { flex: 1 0 auto; }
/* the old Elementor kit paints a grey gradient and green text on <body>: not here */
body.igb, body.igb[class*="elementor-kit-"] { background-image: none !important; background-color: var(--board) !important; color: var(--text); }
.igb *, .igb *::before, .igb *::after { box-sizing: border-box; }
.igb img { max-width: 100%; height: auto; }
.igb ::selection { background: var(--copper); color: #140C05; }

.igb a { color: var(--copper-lit); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.igb a:hover { color: var(--silk); }
.igb :focus-visible { outline: 2px solid var(--copper-lit); outline-offset: 3px; border-radius: 2px; }
.igb :focus:not(:focus-visible) { outline: none; }

.igb h1, .igb h2, .igb h3, .igb h4, .igb h5, .igb h6 {
  font-family: var(--f);
  color: var(--silk);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
.igb p { margin: 0 0 1em; }

.igb .screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.igb-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 4px;
  background: var(--copper); color: #140C05 !important; font-weight: 700; text-decoration: none;
}
.igb-skip:focus { top: 12px; }

.igb-wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: calc(var(--pad) + var(--gut));
  padding-right: var(--pad);
}
.igb-main { display: block; position: relative; z-index: 2; padding-bottom: clamp(72px, 9vw, 128px); }
.igb-main:focus { outline: none; }

/* ---------------------------------------------------------------- header */

.igb-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: var(--board); }
.igb-header__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.igb-logo { display: inline-flex; align-items: center; color: var(--silk) !important; text-decoration: none; }
.igb-word { font-family: var(--logo); font-weight: 400; letter-spacing: .05em; }
.igb-logo .igb-word { font-size: 1.75rem; line-height: 1; padding-top: 3px; }

/* the power LED: where the trace starts */
.igb-led {
  position: absolute;
  left: calc(var(--pad) + var(--gut) * .3 - 5px);
  top: 50%;
  width: 10px; height: 10px; margin-top: -5px;
  border-radius: 50%;
  background: var(--led);
  box-shadow: 0 0 0 2px #090807, 0 0 0 3px rgba(239, 233, 223, .35), 0 0 12px 3px rgba(98, 240, 126, .5);
  transition: background .12s, box-shadow .4s;
}
.igb-cold .igb-led { background: #2C2A24; box-shadow: 0 0 0 2px #090807, 0 0 0 3px rgba(239, 233, 223, .35); }
.igb-cold.igb-led-on .igb-led { background: var(--led); box-shadow: 0 0 0 2px #090807, 0 0 0 3px rgba(239, 233, 223, .35), 0 0 12px 3px rgba(98, 240, 126, .5); }

/* the LED blinks like an activity light while a menu link is under the pointer */
.igb-header__in:has(.igb-nav a:hover) .igb-led { animation: igb-blink .42s steps(2, jump-none) infinite; }
@keyframes igb-blink { 50% { background: #2C2A24; box-shadow: 0 0 0 2px #090807, 0 0 0 3px rgba(239, 233, 223, .35); } }

.igb-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 36px; }
.igb-nav a {
  position: relative; display: inline-block; padding: 10px 0;
  color: var(--silk); text-decoration: none;
  font-weight: 600; font-size: 1rem; font-stretch: 112%;
}
.igb-nav a::after, .igb-filter a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 1px;
  background: var(--copper);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .28s cubic-bezier(.2, .7, .2, 1);
}
.igb-nav a:hover::after, .igb-nav a:focus-visible::after, .igb-nav a[aria-current]::after,
.igb-filter a:hover::after, .igb-filter a:focus-visible::after, .igb-filter a[aria-current]::after { transform: scaleX(1); }
.igb-nav a[aria-current]::after, .igb-filter a[aria-current]::after { background: var(--copper-lit); }
.igb-nav a:hover { color: var(--silk); }

.igb-navbtn {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  background: transparent; color: var(--silk); border: 1px solid var(--line-2); border-radius: 4px;
  font: 600 1rem/1 var(--f); font-stretch: 112%; cursor: pointer;
}
.igb-navbtn__bars, .igb-navbtn__bars::before, .igb-navbtn__bars::after {
  display: block; width: 16px; height: 2px; background: var(--copper); border-radius: 1px; position: relative; content: "";
}
.igb-navbtn__bars::before { position: absolute; top: -5px; }
.igb-navbtn__bars::after { position: absolute; top: 5px; }

@media (max-width: 759px) {
  .js .igb-navbtn { display: inline-flex; }
  .js .igb-nav {
    display: none; position: absolute; top: 100%; right: var(--pad); left: calc(var(--pad) + var(--gut));
    background: var(--mask); border: 1px solid var(--line-2); border-radius: 6px; padding: 8px 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
  }
  .js .igb-nav.is-open { display: block; }
  .js .igb-nav ul { flex-direction: column; gap: 0; }
  .js .igb-nav li + li { border-top: 1px solid var(--line); }
  .js .igb-nav a { display: block; padding: 14px 0; font-size: 1.125rem; }
  .js .igb-nav a::after { bottom: 8px; right: auto; width: 2.5em; }
  .no-js .igb-header__in { flex-wrap: wrap; padding-block: 12px; }
  .no-js .igb-nav ul { gap: 4px 20px; flex-wrap: wrap; }
}

/* ----------------------------------------------------------------- hero */

.igb-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(540px, 84vh, 800px);
  padding-block: 56px 72px;
}
.igb-hero__art {
  position: absolute; z-index: -1; top: 0; bottom: 0; right: 0;
  width: min(80vw, 1480px);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36%);
  mask-image: linear-gradient(to right, transparent 0, #000 36%);
}
/* the picture sinks into the board at the bottom and under the header */
.igb-hero__art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, var(--board) 0, rgba(18, 16, 14, .6) 14%, rgba(18, 16, 14, 0) 34%),
              linear-gradient(to bottom, rgba(18, 16, 14, .55) 0, rgba(18, 16, 14, 0) 12%);
}
.igb .igb-hero__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 62% 42%; }
.igb-hero__in { position: relative; }
.igb-hero__word { margin: 0; line-height: .86; }
.igb-hero__word .igb-word {
  display: block;
  font-size: clamp(4.25rem, 1.6rem + 9.4vw, 8.75rem);
  color: var(--silk);
  letter-spacing: .045em;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .45), 0 0 40px rgba(18, 16, 14, .8);
}
.igb-hero__tag {
  margin: .9em 0 .5em;
  font-stretch: 125%; font-weight: 700;
  font-size: clamp(1.125rem, 1rem + .55vw, 1.5rem);
  line-height: 1.2;
  color: var(--copper-lit);
  text-shadow: 0 1px 12px rgba(18, 16, 14, .9);
}
.igb-hero__lede { max-width: 30ch; font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); color: var(--text); text-shadow: 0 1px 14px rgba(18, 16, 14, .95); }

/* power-up: the picture waits dark until the current reaches it (once a visit; a CSS failsafe after 3 s) */
.igb-cold .igb-hero__img { filter: brightness(.14) saturate(.2); animation: igb-failsafe .5s ease 3s forwards; }
.igb-hero.is-on .igb-hero__img { animation: igb-flicker .95s linear both; }
@keyframes igb-failsafe { to { filter: none; } }
@keyframes igb-flicker {
  0% { filter: brightness(.14) saturate(.2); }
  7% { filter: brightness(.85) saturate(.7); }
  12% { filter: brightness(.25) saturate(.3); }
  20% { filter: brightness(1.08) saturate(.9); }
  27% { filter: brightness(.55) saturate(.6); }
  40% { filter: brightness(1.12) saturate(1.1); }
  100% { filter: none; }
}

@media (max-width: 759px) {
  .igb-hero { display: block; min-height: 0; padding: 0 0 56px; }
  .igb-hero__art {
    position: relative; width: 100%; height: auto; aspect-ratio: 5 / 4; z-index: -1;
    -webkit-mask-image: none; mask-image: none;
  }
  .igb-hero__art::after { background: linear-gradient(to top, var(--board) 0, rgba(18, 16, 14, .75) 18%, rgba(18, 16, 14, 0) 46%); }
  .igb .igb-hero__img { object-position: 70% 50%; }
  .igb-hero__in { margin-top: -88px; }
}

/* -------------------------------------------------------------- buttons */

.igb-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin: 28px 0 0; }
.igb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  border: 0; border-radius: 4px;
  background: var(--copper); color: #140C05 !important;
  font: 700 1rem/1.1 var(--f); font-stretch: 112%;
  text-decoration: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 222, 186, .5), 0 3px 0 #5E3415;
  transition: transform .07s ease-out, box-shadow .07s ease-out, background-color .2s;
}
.igb-btn:hover { background: var(--copper-lit); color: #140C05 !important; }
.igb-btn:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 222, 186, .3), 0 0 0 #5E3415; }
.igb-btn--line { background: transparent; color: var(--silk) !important; box-shadow: inset 0 0 0 1.5px var(--copper), 0 3px 0 rgba(94, 52, 21, .55); }
.igb-btn--line:hover { background: rgba(200, 117, 51, .14); color: var(--silk) !important; }
.igb-btn--line:active { box-shadow: inset 0 0 0 1.5px var(--copper-lit), 0 0 0 transparent; }

/* ------------------------------------------------------------- sections */

.igb-section { padding-top: clamp(56px, 7vw, 100px); }
.igb-hero + .igb-section { padding-top: clamp(24px, 3vw, 48px); }
.igb-section--top { padding-top: clamp(40px, 5vw, 76px); }
.igb-h1 { font-size: clamp(2.25rem, 1.5rem + 2.8vw, 3.75rem); }
.igb-h2 { font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem); margin-bottom: .7em !important; }
.igb-lead { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); max-width: 54ch; color: var(--text); }
.igb-empty { color: var(--fibre); font-size: 1.125rem; padding: 8px 0; max-width: 54ch; }

/* -------------------------------------------------------------- posts */

.igb-latest { display: grid; gap: 56px 56px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .igb-latest { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
  .igb-latest .igb-card--feature { grid-row: span 2; }
  .igb-latest .igb-card--card:nth-child(2) { margin-top: 120px; }
  .igb-latest--one { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
}

.igb-card { position: relative; }
.igb-card__art, .igb-outline { position: relative; display: block; margin: 12px 12px 26px; }
.igb-card__art img, .igb-outline img { display: block; width: 100%; height: auto; border-radius: 3px; }
.igb-card__art img { aspect-ratio: 3 / 2; object-fit: cover; }
/* a part's outline on a board (silkscreen) */
.igb-card__art::before, .igb-outline::before {
  content: ""; position: absolute; inset: -12px; pointer-events: none;
  border: 1px solid rgba(239, 233, 223, .42); border-radius: 7px;
  transition: border-color .25s;
}
.igb-card:hover .igb-card__art::before, .igb-card:focus-within .igb-card__art::before { border-color: var(--copper); }

.igb-card__body { padding-left: 0; }
.igb-meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin: 0 0 6px;
  color: var(--fibre); font-size: .9375rem; font-weight: 500; font-stretch: 88%;
}
.igb-meta__cat { color: var(--copper-lit) !important; text-decoration: none; font-weight: 600; }
.igb-meta__cat:hover { text-decoration: underline; }
.igb-card__title { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem); line-height: 1.12 !important; margin: 0 0 .45em !important; font-weight: 780 !important; font-stretch: 115% !important; }
.igb-card--feature .igb-card__title { font-size: clamp(1.625rem, 1.25rem + 1.1vw, 2.125rem); max-width: 26ch; }
.igb-card__title a { color: var(--silk); text-decoration: none; background: linear-gradient(var(--copper), var(--copper)) 0 100% / 0 2px no-repeat; transition: background-size .35s cubic-bezier(.2, .7, .2, 1); }
.igb-card__title a:hover, .igb-card__title a:focus-visible { color: var(--silk); background-size: 100% 2px; }
.igb-card__excerpt { margin: 0; max-width: 58ch; color: var(--text); }
.igb-card__more { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin: 18px 0 0; font-size: .9375rem; }
.igb-link { font-weight: 700; font-stretch: 112%; color: var(--copper-lit); }
.igb-meta__time { color: var(--fibre); font-stretch: 88%; }

.igb-list { display: grid; gap: clamp(48px, 6vw, 80px); margin-top: clamp(36px, 4vw, 56px); }
.igb-card--row { display: grid; gap: 8px 56px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .igb-card--row { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
  .igb-card--row .igb-card__art { margin-bottom: 12px; }
}
.igb-card--row .igb-card__title { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem); }

.igb-more { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .igb-more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.igb-filter { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 28px 0 0; font-size: 1rem; }
.igb-filter a { position: relative; display: inline-block; padding: 8px 0; color: var(--text); text-decoration: none; font-weight: 600; font-stretch: 100%; }
.igb-filter a[aria-current] { color: var(--silk); }

.igb-pages { margin-top: 56px; }
.igb-pages ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.igb-pages a, .igb-pages span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 4px; text-decoration: none; color: var(--silk); }
.igb-pages .current { border-color: var(--copper); color: var(--copper-lit); }

/* ------------------------------------------------------------- topics */

.igb-topics { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 1100px; }
.igb-topic { border-bottom: 1px solid var(--line); }
.igb-topic__link {
  position: relative; display: grid; gap: 4px 40px; grid-template-columns: minmax(0, 1fr);
  padding: 24px 0 26px; color: inherit !important; text-decoration: none;
}
@media (min-width: 900px) { .igb-topic__link { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 5.5em; align-items: baseline; } }
.igb-topic__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--copper);
  transform: scaleX(0); transform-origin: left center; transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.igb-topic__link:hover::after, .igb-topic__link:focus-visible::after { transform: scaleX(1); }
.igb-topic__name { font-stretch: 125%; font-weight: 750; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.2; color: var(--silk); transition: color .2s; }
.igb-topic__link:hover .igb-topic__name { color: var(--copper-lit); }
.igb-topic__blurb { color: var(--text); }
.igb-topic__count { color: var(--fibre); font-stretch: 88%; font-size: .9375rem; }
@media (min-width: 900px) { .igb-topic__count { text-align: right; } }

/* -------------------------------------------------------------- about */

.igb-about { display: grid; gap: 40px 72px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) {
  .igb-about { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .igb-about__art { margin-top: 112px !important; }
}
.igb-about__art { max-width: 520px; }

/* a datasheet table: the About facts now, a device's specs later */
.igb-spec { width: 100%; max-width: 640px; border-collapse: collapse; margin: 8px 0 28px; font-size: 1.0625rem; line-height: 1.5; }
.igb-spec th, .igb-spec td { padding: 14px 0; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
.igb-spec tr:last-child th, .igb-spec tr:last-child td { border-bottom: 1px solid var(--line); }
.igb-spec th { width: 9em; padding-right: 20px; color: var(--fibre); font-weight: 500; font-stretch: 88%; }
.igb-spec td { color: var(--silk); }

/* a tip box (for Daniel's tips in posts and device entries) */
.igb-note { border-left: 3px solid var(--led); background: var(--mask); padding: 16px 20px; border-radius: 0 4px 4px 0; }

.igb-ask .igb-lead { max-width: 60ch; }

/* -------------------------------------------------------------- article */

.igb-article__head { padding-top: clamp(36px, 4.5vw, 72px); }
.igb-crumbs { margin: 0 0 22px; font-size: .9375rem; font-stretch: 88%; color: var(--fibre); }
.igb-crumbs a { color: var(--copper-lit); text-decoration: none; font-weight: 600; }
.igb-crumbs a:hover { text-decoration: underline; }
.igb-crumbs span { margin: 0 .35em; color: var(--fibre); }
.igb-article__title { max-width: 22ch; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin-bottom: .45em !important; }
.igb-article__art { margin-top: 36px; margin-bottom: clamp(40px, 5vw, 64px); }
.igb-article__art .igb-outline { max-width: 1000px; }
.igb-article__foot { margin-top: clamp(56px, 7vw, 96px); }
.igb-ask-line { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 68ch; margin-bottom: clamp(56px, 7vw, 96px) !important; }

.igb-prose { max-width: 68ch; font-size: 1.1875rem; line-height: 1.7; color: var(--text); }
.igb-prose > :first-child { margin-top: 0 !important; }
.igb-prose p, .igb-prose ul, .igb-prose ol, .igb-prose blockquote, .igb-prose pre, .igb-prose figure, .igb-prose table { margin: 0 0 1.15em; }
.igb-prose h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); margin: 1.9em 0 .6em; }
.igb-prose h3 { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.4375rem); margin: 1.7em 0 .5em; font-weight: 750; }
.igb-prose h4 { font-size: 1.125rem; margin: 1.5em 0 .4em; font-stretch: 112%; }
.igb-prose h2 strong, .igb-prose h3 strong { font-weight: inherit; }
.igb-prose strong, .igb-prose b { color: var(--silk); font-weight: 650; }
.igb-prose ul, .igb-prose ol { padding-left: 1.3em; }
.igb-prose li { margin: .35em 0; padding-left: .2em; }
.igb-prose li::marker { color: var(--copper); }
.igb-prose blockquote { border-left: 3px solid var(--copper); padding: .2em 0 .2em 1.1em; color: var(--silk); font-style: italic; }
.igb-prose hr { border: 0; border-top: 1px solid var(--line-2); margin: 2.5em 0; }
.igb-prose img { border-radius: 3px; }
.igb-prose figcaption { color: var(--fibre); font-size: .9375rem; margin-top: .5em; }
.igb-prose code, .igb-prose kbd {
  font-family: var(--mono); font-size: .86em; color: var(--silk);
  background: var(--mask-2); padding: .12em .38em; border-radius: 3px;
}
.igb-prose pre {
  background: var(--mask); color: var(--silk);
  border: 1px solid var(--line); border-left: 3px solid var(--copper); border-radius: 4px;
  padding: 18px 20px; overflow-x: auto; font-size: .92rem; line-height: 1.6;
}
.igb-prose pre code { background: none; padding: 0; font-size: inherit; }
.igb-prose table { border-collapse: collapse; width: 100%; font-size: 1rem; }
.igb-prose th, .igb-prose td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; }
.igb-prose th { color: var(--silk); }
/* colours set in the old editor (dark text for a cream page): onto the board */
.igb-prose [class*="has-"][class*="-color"]:not([class*="background"]) { color: inherit !important; }
.igb-prose .has-link-color a { color: var(--copper-lit) !important; }

/* Elementor-built content inside the new pages */
.igb .elementor-widget-text-editor, .igb .elementor-widget-text-editor p { color: inherit !important; font-family: var(--f) !important; }
.igb .elementor-heading-title { color: var(--silk) !important; font-family: var(--f) !important; font-stretch: 125%; }
.igb-prose .elementor-section, .igb-prose .e-con { background: none !important; }
.igb-prose .elementor-widget-container { padding: 0 !important; }

/* -------------------------------------------------------------- search, forms */

.igb-search { display: flex; gap: 10px; max-width: 560px; margin: 28px 0 8px; }
.igb-search input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 16px;
  background: var(--mask); color: var(--silk);
  border: 1px solid var(--line-2); border-radius: 4px;
  font: 400 1.0625rem var(--f);
}
.igb-search input::placeholder { color: var(--fibre); }
.igb-search input:focus { outline: none; border-color: var(--copper-lit); box-shadow: 0 0 0 3px rgba(242, 166, 94, .22); }

.igb-contact { display: grid; gap: 32px 80px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .igb-contact { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } .igb-contact__form { padding-top: 12px; } }

.igb .wpforms-container {
  --wpforms-field-background-color: #1C1915;
  --wpforms-field-border-color: rgba(239, 233, 223, .24);
  --wpforms-field-border-color-spare: rgba(239, 233, 223, .24);
  --wpforms-field-text-color: #EFE9DF;
  --wpforms-field-menu-color: #1C1915;
  --wpforms-label-color: #EFE9DF;
  --wpforms-label-sublabel-color: #8F877B;
  --wpforms-label-error-color: #FF9C8A;
  --wpforms-button-background-color: #C87533;
  --wpforms-button-background-color-alt: #C87533;
  --wpforms-button-text-color: #140C05;
  --wpforms-button-border-radius: 4px;
  --wpforms-field-border-radius: 4px;
  --wpforms-field-size-input-height: 48px;
  --wpforms-field-size-font-size: 17px;
  --wpforms-label-size-font-size: 16px;
  --wpforms-button-size-height: 50px;
  --wpforms-button-size-font-size: 16px;
  margin: 0 !important; max-width: 640px;
}
.igb .wpforms-form .wpforms-field-label { color: var(--silk) !important; font-family: var(--f) !important; font-weight: 600 !important; font-stretch: 100%; }
.igb .wpforms-form .wpforms-field-sublabel, .igb .wpforms-form .wpforms-field-description { color: var(--fibre) !important; }
.igb .wpforms-form input[type=text], .igb .wpforms-form input[type=email], .igb .wpforms-form input[type=tel],
.igb .wpforms-form input[type=url], .igb .wpforms-form input[type=number], .igb .wpforms-form textarea, .igb .wpforms-form select {
  background-color: var(--mask) !important; color: var(--silk) !important;
  border: 1px solid var(--line-2) !important; border-radius: 4px !important;
  font-family: var(--f) !important; font-size: 1.0625rem !important; box-shadow: none !important;
}
.igb .wpforms-form input:focus, .igb .wpforms-form textarea:focus, .igb .wpforms-form select:focus {
  border-color: var(--copper-lit) !important; box-shadow: 0 0 0 3px rgba(242, 166, 94, .22) !important; outline: none !important;
}
.igb .wpforms-form ::placeholder { color: var(--fibre) !important; opacity: 1; }
.igb .wpforms-form input[type=text], .igb .wpforms-form input[type=email], .igb .wpforms-form input[type=tel],
.igb .wpforms-form input[type=url], .igb .wpforms-form input[type=number], .igb .wpforms-form select {
  height: auto !important; min-height: 50px !important; padding: 12px 14px !important; max-width: 100% !important; width: 100% !important;
}
.igb .wpforms-form textarea { min-height: 170px !important; height: 170px !important; padding: 12px 14px !important; width: 100% !important; max-width: 100% !important; }
.igb .wpforms-form .wpforms-field { padding: 0 0 18px !important; }
.igb .wpforms-form button[type=submit] { text-transform: none !important; letter-spacing: 0 !important; }
.igb .wpforms-form button[type=submit], .igb .wpforms-form .wpforms-submit {
  background: var(--copper) !important; color: #140C05 !important; border: 0 !important; border-radius: 4px !important;
  font: 700 1rem/1.1 var(--f) !important; font-stretch: 112% !important; padding: 14px 26px !important; min-height: 50px;
  box-shadow: inset 0 1px 0 rgba(255, 222, 186, .5), 0 3px 0 #5E3415 !important; transition: transform .07s, box-shadow .07s, background-color .2s;
}
.igb .wpforms-form button[type=submit]:hover { background: var(--copper-lit) !important; }
.igb .wpforms-form button[type=submit]:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 222, 186, .3), 0 0 0 #5E3415 !important; }
.igb .wpforms-confirmation-container-full, .igb div[submit-success] > .wpforms-confirmation-container-full {
  background: var(--mask) !important; border: 1px solid var(--led) !important; color: var(--silk) !important; border-radius: 4px;
}

/* ---------------------------------------------------------------- 404 */

.igb-404 .igb-h1 { font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5.5rem); }
.igb-404 .igb-search { margin-bottom: 40px; }

/* --------------------------------------------------------------- footer */

.igb-footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 44px 0 40px; color: var(--fibre); font-size: .9375rem; }
.igb-footer__in { display: grid; gap: 22px 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .igb-footer__in { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } .igb-footer__legal { grid-column: 1 / -1; } }
.igb-footer .igb-word { display: inline-block; font-size: 1.5rem; color: var(--silk); text-decoration: none; margin-bottom: 8px; }
.igb-footer__brand p { margin: 0; max-width: 46ch; }
.igb-footer a { color: var(--text); }
.igb-footer a:hover { color: var(--copper-lit); }
.igb-footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.igb-footer__nav a { text-decoration: none; font-weight: 600; }
.igb-footer__legal { margin: 8px 0 0; font-stretch: 88%; }

/* ------------------------------------------------------ the copper trace */

.igb-spine { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; z-index: 3; overflow: visible; }
.igb-spine path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.igb-spine .igb-bed { stroke: rgba(200, 117, 51, .17); }
.igb-spine .igb-live { stroke: var(--copper); }
.igb-spine .igb-branch .igb-live { transition: stroke-dashoffset .5s cubic-bezier(.3, .6, .3, 1); }
.igb-spine .igb-padshape { fill: var(--copper-dim); transition: fill .35s; }
.igb-spine .is-lit .igb-padshape { fill: var(--copper-lit); }
.igb-spine .is-open .igb-padshape { fill: var(--copper-dim); }
.igb-spine .igb-via { fill: var(--board); stroke: var(--copper-dim); stroke-width: 2.5; transition: stroke .35s; }
.igb-spine .is-lit .igb-via { stroke: var(--copper); }
.igb-spine .igb-head { fill: #FFD3A6; filter: drop-shadow(0 0 4px rgba(242, 166, 94, .95)) drop-shadow(0 0 10px rgba(242, 166, 94, .6)); transition: opacity .3s; }
.igb-spine .igb-gnd path { stroke: var(--copper-dim); stroke-width: 2.5; transition: stroke .4s; }
.igb-spine .igb-gnd.is-lit path { stroke: var(--copper); }

@media (prefers-reduced-motion: reduce) {
  .igb *, .igb *::before, .igb *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .igb-spine .igb-head { display: none; }
}

@media print {
  .igb-spine, .igb-header nav, .igb-navbtn, .igb-footer__nav { display: none !important; }
  body.igb { background: #fff; color: #000; }
}
