/* Wireknots IT Support — shared stylesheet
   Edit colours and fonts here once and every page updates. */

:root {
  --ink:        #131a20;
  --ink-soft:   #4b5862;
  --paper:      #ffffff;
  --panel:      #e9eef1;
  --panel-deep: #1b262e;
  --line:       #d2dade;
  --copper:     #a75a22;
  --copper-lit: #c9762e;

  --measure: 66ch;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3, .wordmark, .btn, nav a, .eyebrow {
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; font-weight: 700; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.3rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; max-width: var(--measure); }

a { color: var(--copper); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--copper-lit);
  outline-offset: 3px;
}

img { max-width: 100%; height: auto; display: block; }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10;
}
.skip:focus { left: .5rem; top: .5rem; }

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

.site-head {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.head-row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .75rem 1.5rem; justify-content: space-between;
}
.wordmark {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.wordmark svg { width: 30px; height: 30px; flex: none; }
.wordmark span small {
  display: block; font-size: .7rem; font-weight: 500;
  letter-spacing: .02em; color: var(--ink-soft);
}

nav ul {
  display: flex; flex-wrap: wrap; gap: .35rem 1.15rem;
  list-style: none; margin: 0; padding: 0;
}
nav a {
  color: var(--ink-soft); text-decoration: none;
  font-size: .95rem; font-weight: 500;
  padding: .25rem 0; border-bottom: 2px solid transparent;
}
nav a:hover { color: var(--ink); border-bottom-color: var(--line); }
nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--copper); }

.head-phone {
  font-family: Archivo, sans-serif; font-weight: 700;
  font-size: 1rem; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.head-phone:hover { color: var(--copper); }

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

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: clamp(2.5rem, 7vw, 5rem); }
.hero-copy { position: relative; z-index: 2; max-width: 34rem; }
.hero p { font-size: 1.15rem; color: var(--ink-soft); }

.cables {
  position: absolute; right: -4%; top: 0; height: 100%; width: 46%;
  z-index: 1; pointer-events: none;
}
@media (max-width: 860px) { .cables { display: none; } }

.eyebrow {
  font-size: .85rem; font-weight: 600; color: var(--copper);
  margin: 0 0 .9rem; letter-spacing: .01em;
}

.btn {
  display: inline-block; background: var(--ink); color: #fff;
  font-weight: 600; font-size: .98rem; text-decoration: none;
  padding: .72rem 1.4rem; border-radius: 2px; border: 2px solid var(--ink);
}
.btn:hover { background: var(--copper); border-color: var(--copper); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

/* ---------- page banner (inner pages) ---------- */

.banner {
  background: var(--panel-deep); color: #fff;
  border-bottom: 4px solid var(--copper);
}
.banner .wrap { padding-top: clamp(2rem, 5vw, 3.2rem); padding-bottom: clamp(2rem, 5vw, 3.2rem); }
.banner h1 { margin-bottom: .25em; }
.banner p { color: #c3cdd4; margin: 0; font-size: 1.1rem; }
.banner .eyebrow { color: var(--copper-lit); }

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

section { padding: clamp(2.5rem, 6vw, 4.25rem) 0; }
section + section { border-top: 1px solid var(--line); }
.section-tight { padding-top: clamp(1.75rem, 4vw, 2.5rem); }

.lede { font-size: 1.2rem; }

.services { list-style: none; margin: 0; padding: 0; }
.services li {
  border-top: 1px solid var(--line);
  padding: .85rem 0 .85rem 1.75rem;
  position: relative;
}
.services li::before {
  content: ""; position: absolute; left: 0; top: 1.5rem;
  width: .75rem; height: 2px; background: var(--copper);
}
.services li:last-child { border-bottom: 1px solid var(--line); }

.cols {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.cols h3 { margin-bottom: .4em; }
.cols p { font-size: 1rem; }

.callout {
  background: var(--panel);
  padding: clamp(1.4rem, 4vw, 2rem);
  border-left: 4px solid var(--copper);
}
.callout p:last-child { margin-bottom: 0; }

.formframe {
  width: 100%; max-width: 680px; height: 1150px;
  border: 1px solid var(--line); background: var(--panel);
}

.post { border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 2rem; }
.post:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.post h2 { margin-bottom: .35em; }
.post .meta { font-family: Archivo, sans-serif; font-size: .85rem; color: var(--ink-soft); margin-bottom: 1.1em; }

.toc { list-style: none; margin: 0 0 2.5rem; padding: 0; }
.toc li { border-top: 1px solid var(--line); padding: .55rem 0; }
.toc li:last-child { border-bottom: 1px solid var(--line); }
.toc a { font-family: Archivo, sans-serif; font-weight: 600; text-decoration: none; }
.toc a:hover { text-decoration: underline; }

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

.site-foot {
  background: var(--panel-deep); color: #c3cdd4;
  padding: clamp(2.25rem, 5vw, 3.25rem) 0 2rem;
  margin-top: 0;
}
.site-foot a { color: #fff; }
.site-foot a:hover { color: var(--copper-lit); }
.foot-grid {
  display: grid; gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.site-foot h2 {
  font-size: 1rem; color: #fff; margin-bottom: .7em;
  text-transform: none; letter-spacing: 0;
}
.site-foot p { margin-bottom: .5em; font-size: .98rem; max-width: 30ch; }
.foot-phone {
  font-family: Archivo, sans-serif; font-size: 1.45rem;
  font-weight: 700; color: #fff; text-decoration: none; display: inline-block;
}
.legal {
  border-top: 1px solid #33424c; margin-top: 2.25rem; padding-top: 1.25rem;
  font-size: .85rem; color: #8b9aa4;
}
.legal p { max-width: none; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
