:root {
  color-scheme: light;
  --ink: #111111;
  --ink-soft: #424242;
  --paper: #f7f5ef;
  --paper-clean: #ffffff;
  --line: #ded8ca;
  --steel: #6f7d84;
  --steel-dark: #263238;
  --gold: #c99a3d;
  --gold-deep: #8a6421;
  --green: #497469;
  --shadow: 0 18px 55px rgba(18, 18, 18, 0.14);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper-clean);
  padding: 10px 14px;
  border-radius: 4px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 239, 0.93);
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-word {
  font-size: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
  color: #252525;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu {
  display: none;
}

.menu-summary {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 6px;
  cursor: pointer;
  list-style: none;
}

.menu-summary::-webkit-details-marker {
  display: none;
}

.mobile-panel {
  position: absolute;
  top: 78px;
  right: 16px;
  left: 16px;
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--paper-clean);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-panel a {
  padding: 10px 4px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #17120a;
  background: var(--gold);
  border-color: var(--gold);
}

.button-primary:hover {
  background: #d6ab55;
}

.button-secondary {
  color: var(--paper-clean);
  background: var(--steel-dark);
  border-color: var(--steel-dark);
}

.button-secondary:hover {
  background: #34434b;
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: rgba(17, 17, 17, 0.28);
}

.button-outline:hover {
  border-color: var(--gold-deep);
}

.hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.76)),
    url("./thomas-kane-kanetech.jpg") center right / cover no-repeat;
  color: var(--paper-clean);
}

.hero-inner {
  min-height: clamp(640px, 92vh, 840px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.62fr);
  align-items: center;
  gap: 40px;
  padding: 92px 0 74px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #f3d899;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.hero-title {
  margin-bottom: 22px;
  font-size: 5rem;
  line-height: 0.94;
  letter-spacing: 0;
}

h2,
.section-title {
  margin-bottom: 18px;
  font-size: 3.2rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.25;
}

.lead {
  color: #f0eee7;
  font-size: 1.22rem;
  line-height: 1.58;
}

.section-lead {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
  max-width: 820px;
}

.proof-item {
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: #f9f5e9;
  font-size: 0.91rem;
  font-weight: 750;
}

.hero-card {
  align-self: end;
  padding: 22px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.hero-card img {
  width: 120px;
  height: 120px;
  margin-bottom: 18px;
  object-fit: contain;
}

.hero-card p {
  margin-bottom: 0;
  color: #ebe6d8;
}

.section {
  padding: 86px 0;
}

.section-tight {
  padding: 64px 0;
}

.section-dark {
  background: #121212;
  color: var(--paper-clean);
}

.section-dark .section-lead,
.section-dark .muted {
  color: #d8d2c4;
}

.section-clean {
  background: var(--paper-clean);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: 52px;
  align-items: start;
}

.metrics {
  display: grid;
  gap: 12px;
}

.metric {
  padding: 22px;
  background: var(--paper-clean);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.section-dark .metric {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.metric strong {
  display: block;
  color: var(--gold-deep);
  font-size: 1.85rem;
  line-height: 1;
}

.section-dark .metric strong {
  color: #e5bd66;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
}

.section-dark .metric span {
  color: #e4ded1;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 24px;
  background: var(--paper-clean);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.card p {
  color: var(--ink-soft);
}

.card-dark p,
.card-dark li {
  color: #e0d9cc;
}

.icon-box {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #1d170b;
  background: var(--gold);
  border-radius: 6px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--gold-deep);
  font-weight: 850;
}

.section-dark .card-link {
  color: #e5bd66;
}

.industry-link {
  display: flex;
  min-height: 102px;
  align-items: flex-end;
  padding: 18px;
  background: var(--paper-clean);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 850;
}

.industry-link:hover {
  border-color: var(--gold);
}

.process {
  counter-reset: process;
}

.process-step {
  position: relative;
  padding-top: 58px;
}

.process-step::before {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  border-radius: 50%;
  color: #16110a;
  content: counter(process);
  counter-increment: process;
  font-weight: 900;
}

.case-study {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  align-items: start;
}

.case-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quote {
  display: grid;
  gap: 18px;
}

.quote blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.quote cite {
  color: var(--ink-soft);
  font-style: normal;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--paper-clean);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  color: var(--gold-deep);
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--ink-soft);
}

.cta-band {
  padding: 64px 0;
  background: var(--steel-dark);
  color: var(--paper-clean);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-panel p {
  max-width: 710px;
  color: #e6dfd2;
}

.page-hero {
  padding: 92px 0 72px;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.94), rgba(17, 17, 17, 0.82)),
    url("./thomas-kane-kanetech.jpg") center right / cover no-repeat;
  color: var(--paper-clean);
}

.page-hero .lead {
  max-width: 820px;
}

.portrait-panel {
  overflow: hidden;
  background: #161616;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portrait-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portrait-caption {
  padding: 18px;
  color: var(--paper-clean);
}

.portrait-caption p {
  margin: 0;
  color: #ddd5c8;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
}

.check-list li::before {
  position: absolute;
  top: 0.15em;
  left: 0;
  color: var(--green);
  content: ">";
  font-weight: 900;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-detail:last-child {
  border-bottom: 0;
}

.service-detail h2 {
  margin-bottom: 10px;
  font-size: 2.15rem;
}

.service-detail p {
  color: var(--ink-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 44px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--paper-clean);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #232323;
  font-size: 0.92rem;
  font-weight: 850;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #cfc7b7;
  border-radius: 6px;
  background: #fffefa;
  color: var(--ink);
  padding: 12px 13px;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.full-span {
  grid-column: 1 / -1;
}

.muted {
  color: var(--ink-soft);
}

.footer {
  padding: 46px 0;
  background: #111111;
  color: var(--paper-clean);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.7fr);
  gap: 28px;
}

.footer p,
.footer a {
  color: #d8d2c4;
}

.footer a:hover {
  color: #f2d28b;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.fine-print {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #aaa295;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .nav,
  .desktop-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-inner,
  .split,
  .contact-grid,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  h1,
  .hero-title {
    font-size: 3.7rem;
  }

  h2,
  .section-title {
    font-size: 2.55rem;
  }

  .hero-card {
    max-width: 420px;
  }

  .grid-3,
  .grid-4,
  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail,
  .case-study {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand-word {
    font-size: 0.92rem;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.82)),
      url("./thomas-kane-kanetech-mobile.jpg") center top / cover no-repeat;
  }

  .hero-inner,
  .page-hero {
    padding-top: 48px;
  }

  .hero-inner {
    padding-bottom: 28px;
  }

  h1,
  .hero-title {
    font-size: 2.42rem;
    line-height: 1.04;
  }

  h2,
  .section-title {
    font-size: 1.9rem;
    line-height: 1.1;
  }

  .lead {
    font-size: 1.04rem;
  }

  .section {
    padding: 62px 0;
  }

  .section-tight {
    padding: 48px 0;
  }

  .proof-strip,
  .grid-3,
  .grid-4,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
  }

  .proof-item:nth-child(n + 5),
  .hero-card {
    display: none;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card,
  .contact-form {
    padding: 20px;
  }
}


.icon-box {
  font-size: 0.72rem;
  font-weight: 900;
}

.field span {
  color: #232323;
  font-size: 0.92rem;
  font-weight: 850;
}

.contact-details-grid {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .contact-details-grid {
    grid-template-columns: 1fr;
  }
}
