/*
Theme Name: Hoban Digital AI
Theme URI: https://www.hobandigital.com/
Author: Hoban Digital
Author URI: https://www.hobandigital.com/
Description: A clear, modern WordPress theme for Hoban Digital's AI modernisation practice.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: hoban-digital-ai
*/

:root {
  --hd-ink: #090a0c;
  --hd-ink-soft: #111318;
  --hd-paper: #f2f1eb;
  --hd-white: #fff;
  --hd-signal: #c6ff3d;
  --hd-text: #111216;
  --hd-muted-dark: #a8adb5;
  --hd-muted-light: #555a61;
  --hd-dark-line: rgba(255, 255, 255, 0.14);
  --hd-light-line: rgba(17, 18, 22, 0.18);
  --hd-wrap: 1420px;
  --hd-gutter: clamp(22px, 4vw, 64px);
  --hd-radius: 18px;
  --hd-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --hd-mono: "IBM Plex Mono", Consolas, monospace;
  --hd-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--hd-white);
  background: var(--hd-ink);
  font-family: var(--hd-display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--hd-ink);
  background: var(--hd-signal);
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--hd-signal);
  outline-offset: 4px;
}

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

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hd-wrap {
  width: min(var(--hd-wrap), calc(100% - (var(--hd-gutter) * 2)));
  margin-inline: auto;
}

.hd-skip {
  position: fixed;
  z-index: 1000;
  top: -80px;
  left: 20px;
  padding: 10px 16px;
  color: var(--hd-ink);
  background: var(--hd-signal);
  text-decoration: none;
}

.hd-skip:focus {
  top: 14px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background 260ms ease, border-color 260ms ease;
}

.site-header.is-scrolled {
  border-color: var(--hd-dark-line);
  background: rgba(9, 10, 12, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  min-height: 96px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--hd-white);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.primary-nav {
  justify-self: end;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.25vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d0d3d8;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a span {
  color: #777c85;
  font-family: var(--hd-mono);
  font-size: 8px;
}

.primary-nav li:last-child a {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--hd-ink);
  background: var(--hd-signal);
}

.primary-nav li:last-child a span {
  color: rgba(9, 10, 12, 0.6);
}

.primary-nav li:last-child a:hover,
.primary-nav li:last-child a:focus-visible {
  color: var(--hd-ink);
  background: var(--hd-white);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--hd-signal);
}

.header-cta,
.hd-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 19px;
  color: var(--hd-ink);
  background: var(--hd-signal);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.1;
  text-decoration: none;
  transition: background 200ms ease, transform 200ms var(--hd-ease);
}

.header-cta::after,
.hd-button::after {
  content: "↗";
  font-size: 15px;
}

.header-cta:hover,
.hd-button:hover {
  background: var(--hd-white);
  transform: translateY(-2px);
}

.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hd-dark-line);
  border-radius: 50%;
  color: var(--hd-white);
  background: transparent;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before {
  display: block;
  width: 18px;
  height: 1px;
  content: "";
  background: currentColor;
  transition: transform 200ms ease;
}

.nav-toggle-lines::before {
  transform: translateY(-6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  transform: rotate(-90deg);
}

.hd-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--hd-dark-line);
  background:
    radial-gradient(circle at 82% 28%, rgba(198, 255, 61, 0.09), transparent 24%),
    var(--hd-ink);
}

.hd-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, transparent 32%, black 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100svh;
  align-items: end;
  padding-top: 150px;
  padding-bottom: clamp(70px, 9vh, 110px);
}

.hero-copy {
  width: 100%;
}

.hd-kicker,
.section-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hd-signal);
  font-family: var(--hd-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hd-kicker::before {
  width: auto;
  height: auto;
  border-radius: 0;
  content: "//";
  background: transparent;
  font-family: var(--hd-mono);
}

.hero-title {
  max-width: 1320px;
  margin: 28px 0 0;
  font-size: clamp(66px, 9.2vw, 146px);
  font-weight: 560;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.hero-intro {
  display: grid;
  grid-template-columns: minmax(300px, 720px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 44px;
  margin-top: clamp(42px, 6vw, 80px);
}

.hero-intro > p {
  margin: 0;
  color: #bec2c8;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.hd-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d5d7db;
  font-size: 12px;
  font-weight: 650;
  text-underline-offset: 5px;
}

.hero-scope {
  margin: 46px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--hd-dark-line);
  color: #777c84;
  font-family: var(--hd-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-scope span {
  margin-inline: 10px;
  color: var(--hd-signal);
}

.hd-section {
  padding: clamp(92px, 10vw, 160px) 0;
}

.hd-section--paper {
  color: var(--hd-text);
  background: var(--hd-paper);
}

.hd-section--dark,
.contact-section {
  color: var(--hd-white);
  background: var(--hd-ink-soft);
}

.hd-section--dark + .hd-section--dark {
  border-top: 1px solid var(--hd-dark-line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 120px);
  align-items: start;
}

.section-number {
  color: var(--hd-muted-dark);
}

.hd-section--paper .section-number {
  color: var(--hd-muted-light);
}

.section-number::after {
  width: 52px;
  height: 1px;
  content: "";
  background: currentColor;
}

.section-title {
  max-width: 1040px;
  margin: 0;
  color: inherit;
  font-size: clamp(44px, 5.6vw, 82px);
  font-weight: 570;
  letter-spacing: -0.038em;
  line-height: 1.03;
}

.hd-section--paper .section-title {
  color: var(--hd-text);
}

.section-lede {
  max-width: 790px;
  margin: 30px 0 0;
  color: var(--hd-muted-dark);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.65;
}

.hd-section--paper .section-lede {
  color: var(--hd-muted-light);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(64px, 8vw, 110px);
  border-top: 1px solid var(--hd-light-line);
  border-bottom: 1px solid var(--hd-light-line);
}

.principle {
  min-height: 290px;
  padding: 30px clamp(24px, 3.2vw, 48px) 36px;
  border-right: 1px solid var(--hd-light-line);
}

.principle:first-child {
  padding-left: 0;
}

.principle:last-child {
  border-right: 0;
  padding-right: 0;
}

.principle > span,
.friction-details span,
.delivery-grid > article > span,
.partnership-grid > article > span {
  display: block;
  color: var(--hd-muted-light);
  font-family: var(--hd-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.principle h3 {
  margin: 72px 0 18px;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 620;
  letter-spacing: -0.025em;
}

.principle p {
  max-width: 380px;
  margin: 0;
  color: var(--hd-muted-light);
}

.friction-finder {
  display: grid;
  grid-template-columns: minmax(210px, 0.32fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px);
  margin-top: clamp(60px, 8vw, 110px);
  padding-top: 36px;
  border-top: 1px solid var(--hd-dark-line);
}

.friction-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
}

.friction-tab {
  min-height: 54px;
  border: 1px solid var(--hd-dark-line);
  border-radius: 10px;
  padding: 12px 15px;
  color: #c3c6cc;
  background: transparent;
  font-size: 13px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.friction-tab:hover,
.friction-tab[aria-selected="true"] {
  border-color: var(--hd-signal);
  color: var(--hd-ink);
  background: var(--hd-signal);
}

.friction-panels {
  min-height: 430px;
}

.friction-panel[hidden] {
  display: none;
}

.friction-panel.is-entering {
  animation: panel-in 380ms var(--hd-ease) both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.friction-panel h3 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 580;
  letter-spacing: -0.028em;
  line-height: 1.08;
}

.friction-summary {
  max-width: 760px;
  margin: 24px 0 44px;
  color: var(--hd-muted-dark);
  font-size: 17px;
}

.friction-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--hd-dark-line);
  background: var(--hd-dark-line);
}

.friction-details > div {
  min-height: 170px;
  padding: 22px;
  background: var(--hd-ink-soft);
}

.friction-details span,
.delivery-grid > article > span,
.partnership-grid > article > span {
  color: var(--hd-signal);
}

.friction-details p {
  margin: 40px 0 0;
  color: #c1c4ca;
  font-size: 14px;
  line-height: 1.55;
}

.roadmap-list {
  margin-top: clamp(62px, 8vw, 110px);
  border-top: 1px solid var(--hd-light-line);
}

.roadmap-item {
  display: grid;
  grid-template-columns: 80px minmax(240px, 0.65fr) minmax(300px, 1fr);
  gap: 30px;
  align-items: start;
  padding: 38px 0;
  border-bottom: 1px solid var(--hd-light-line);
}

.roadmap-item > span {
  color: var(--hd-muted-light);
  font-family: var(--hd-mono);
  font-size: 10px;
}

.roadmap-item h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 610;
  letter-spacing: -0.025em;
}

.roadmap-item p {
  max-width: 650px;
  margin: 3px 0 0;
  color: var(--hd-muted-light);
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(64px, 8vw, 110px);
  border: 1px solid var(--hd-dark-line);
  background: var(--hd-dark-line);
}

.delivery-grid article {
  min-height: 310px;
  padding: clamp(26px, 3.2vw, 44px);
  background: var(--hd-ink-soft);
}

.delivery-grid h3 {
  margin: 78px 0 16px;
  font-size: clamp(25px, 2.7vw, 39px);
  font-weight: 590;
  letter-spacing: -0.025em;
  line-height: 1.13;
}

.delivery-grid p {
  margin: 0;
  color: var(--hd-muted-dark);
}

.delivery-note {
  max-width: 990px;
  margin: 54px 0 0 auto;
  color: #c6c9ce;
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.55;
}

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(64px, 8vw, 110px);
  border: 1px solid var(--hd-light-line);
  background: var(--hd-light-line);
}

.partnership-grid article {
  padding: clamp(28px, 4vw, 54px);
  background: var(--hd-paper);
}

.partnership-grid > article > span {
  color: var(--hd-muted-light);
}

.partnership-grid ul {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.partnership-grid li {
  position: relative;
  padding: 18px 0 18px 36px;
  border-top: 1px solid var(--hd-light-line);
  font-size: 17px;
}

.partnership-grid li::before {
  position: absolute;
  top: 19px;
  left: 2px;
  width: auto;
  height: auto;
  border-radius: 0;
  content: "//";
  color: var(--hd-text);
  background: transparent;
  box-shadow: none;
  font-family: var(--hd-mono);
  font-size: 11px;
  font-weight: 700;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 120px);
  align-items: start;
}

.about-title {
  max-width: 980px;
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 580;
  letter-spacing: -0.032em;
  line-height: 1.05;
}

.about-copy {
  max-width: 850px;
  margin: 32px 0 0;
  color: var(--hd-muted-dark);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.65;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 70px;
  border-top: 1px solid var(--hd-dark-line);
  border-bottom: 1px solid var(--hd-dark-line);
}

.about-facts div {
  padding: 24px 24px 24px 0;
  border-right: 1px solid var(--hd-dark-line);
}

.about-facts div:not(:first-child) {
  padding-left: 24px;
}

.about-facts div:last-child {
  border-right: 0;
}

.about-facts strong,
.about-facts span {
  display: block;
}

.about-facts strong {
  margin-bottom: 5px;
  font-size: 18px;
}

.about-facts span {
  color: var(--hd-muted-dark);
  font-family: var(--hd-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-section {
  border-top: 1px solid var(--hd-dark-line);
  background:
    radial-gradient(circle at 88% 15%, rgba(198, 255, 61, 0.08), transparent 26%),
    var(--hd-ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: clamp(52px, 8vw, 120px);
  align-items: start;
}

.contact-title {
  max-width: 740px;
  margin: 26px 0 0;
  font-size: clamp(46px, 5.5vw, 78px);
  font-weight: 580;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.contact-copy {
  max-width: 580px;
  margin: 30px 0;
  color: var(--hd-muted-dark);
  font-size: 18px;
}

.contact-direct {
  display: grid;
  gap: 5px;
  margin-top: 42px;
  color: var(--hd-muted-dark);
}

.contact-direct a {
  width: fit-content;
  color: var(--hd-white);
  text-decoration-color: rgba(255, 255, 255, 0.32);
  text-underline-offset: 5px;
}

.hd-form {
  display: grid;
  gap: 14px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--hd-dark-line);
  border-radius: var(--hd-radius);
  background: rgba(255, 255, 255, 0.035);
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: #c1c4ca;
  font-family: var(--hd-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--hd-dark-line);
  border-radius: 10px;
  outline: 0;
  padding: 14px 16px;
  color: var(--hd-white);
  background: rgba(9, 10, 12, 0.75);
}

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

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--hd-signal);
  box-shadow: 0 0 0 3px rgba(198, 255, 61, 0.1);
}

.form-note {
  margin: 4px 0 0;
  color: var(--hd-muted-dark);
  font-size: 11px;
}

.form-message {
  margin: 0 0 8px;
  border: 1px solid rgba(198, 255, 61, 0.45);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--hd-signal);
  background: rgba(198, 255, 61, 0.06);
  font-size: 13px;
}

.form-message--error {
  border-color: rgba(255, 132, 132, 0.48);
  color: #ff9d9d;
  background: rgba(255, 132, 132, 0.06);
}

.hd-form .hd-button {
  width: 100%;
  min-height: 58px;
  margin-top: 4px;
  cursor: pointer;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--hd-dark-line);
  background: var(--hd-ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: #888d95;
  font-family: var(--hd-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-inner .brand {
  font-family: var(--hd-display);
  font-size: 18px;
  text-transform: none;
}

.footer-links {
  display: flex;
  gap: 18px;
  justify-self: end;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--hd-white);
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms var(--hd-ease), transform 600ms var(--hd-ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.content-shell {
  min-height: 70svh;
  padding: 150px 0 100px;
}

.content-shell h1 {
  font-size: clamp(42px, 5.5vw, 78px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.content-shell article {
  max-width: 900px;
}

.content-shell .entry-content {
  color: #c0c3c9;
  font-size: 18px;
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 1280px) {
  .primary-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    min-height: 100dvh;
    justify-self: stretch;
    align-items: start;
    padding: 138px var(--hd-gutter) 60px;
    overflow-y: auto;
    background: var(--hd-ink);
  }

  .primary-nav.is-open {
    display: grid;
  }

  body.menu-open .site-header {
    min-height: 100dvh;
    overflow: auto;
    border-color: var(--hd-dark-line);
    background: var(--hd-ink);
    backdrop-filter: none;
  }

  .primary-nav ul {
    display: grid;
    width: min(100%, 560px);
    justify-self: end;
    gap: 2px;
  }

  .primary-nav a {
    width: fit-content;
    gap: 14px;
    padding: 8px 0;
    font-size: clamp(30px, 6vw, 56px);
    font-weight: 560;
    letter-spacing: -0.035em;
  }

  .primary-nav a span {
    align-self: center;
    font-size: 10px;
  }

  .primary-nav li:last-child a {
    border-radius: 0;
    padding: 8px 0;
    color: var(--hd-signal);
    background: transparent;
  }

  .primary-nav li:last-child a span {
    color: var(--hd-signal);
  }

  .hd-hero,
  .hero-inner {
    min-height: 0;
  }

  .hero-inner {
    align-items: start;
    padding-top: 150px;
    padding-bottom: 82px;
  }

  .hero-intro {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: flex;
    align-items: center;
    gap: 22px;
  }
}

@media (max-width: 860px) {
  .section-heading,
  .about-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .principle-grid,
  .delivery-grid {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: 230px;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--hd-light-line);
  }

  .principle:last-child {
    border-bottom: 0;
  }

  .principle h3 {
    margin-top: 42px;
  }

  .friction-finder {
    grid-template-columns: 1fr;
  }

  .friction-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .roadmap-item {
    grid-template-columns: 54px 1fr;
  }

  .roadmap-item p {
    grid-column: 2;
  }

  .partnership-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --hd-gutter: 20px;
  }

  .header-inner {
    min-height: 82px;
  }

  .brand {
    font-size: 19px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .hero-inner {
    padding-top: 126px;
    padding-bottom: 66px;
  }

  .hero-title {
    font-size: clamp(54px, 17vw, 78px);
    letter-spacing: -0.045em;
  }

  .hero-actions {
    display: grid;
  }

  .hero-scope {
    line-height: 2;
  }

  .hero-scope span {
    margin-inline: 5px;
  }

  .hd-section {
    padding: 86px 0;
  }

  .section-heading,
  .about-layout,
  .contact-grid {
    gap: 28px;
  }

  .section-title {
    font-size: clamp(40px, 12vw, 56px);
    letter-spacing: -0.03em;
  }

  .friction-tabs,
  .friction-details,
  .about-facts,
  .form-row {
    grid-template-columns: 1fr;
  }

  .friction-panels {
    min-height: 0;
  }

  .friction-panel h3 {
    font-size: 36px;
  }

  .friction-details > div {
    min-height: 130px;
  }

  .friction-details p {
    margin-top: 24px;
  }

  .roadmap-item {
    grid-template-columns: 34px 1fr;
    gap: 14px;
  }

  .delivery-grid article {
    min-height: 260px;
  }

  .partnership-grid article {
    padding: 28px 22px;
  }

  .about-facts div,
  .about-facts div:not(:first-child) {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--hd-dark-line);
  }

  .about-facts div:last-child {
    border-bottom: 0;
  }

  .contact-title {
    font-size: 46px;
  }

  .hd-form {
    padding: 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-links {
    justify-self: start;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  body.admin-bar.menu-open .site-header,
  body.admin-bar .primary-nav {
    min-height: calc(100dvh - 46px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
