/*
 * Husseyne Karroo: HTML mock-up stylesheet
 * Design authority: /DESIGN.md (client Brand & Design System) and docs/website/design.md.
 * Layers map to the later Elementor build:
 *   tokens     -> Elementor Global Colours, Global Fonts and spacing
 *   base       -> Site Settings typography and focus styles
 *   layout     -> containers and section rhythm
 *   components -> reusable hk- classes added to widgets and containers
 *   utilities  -> small helpers
 */
@layer tokens, base, layout, components, utilities;

/* ---------------------------------------------------------------- tokens */
@layer tokens {
  :root {
    /* Colour (supplied) */
    --hk-color-accent: #CE2837;
    --hk-color-accent-hover: #A91F2B;
    --hk-color-background: #111111;
    --hk-color-section: #171717;
    --hk-color-surface: #1E1E1E;
    --hk-color-neutral: #333333;
    --hk-color-text: #F5F2ED;
    --hk-color-text-muted: #B8B2AA;
    --hk-color-border: #2D2D2D;
    /* Colour (added, see design.md) */
    --hk-color-field-border: #757575;
    --hk-color-error: #EE6B75;
    --hk-color-focus: #F5F2ED;
    --hk-color-grid-line: rgba(245, 242, 237, 0.045);

    /* Type */
    --hk-font-display: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
    --hk-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --hk-weight-display: 700;
    --hk-weight-heading: 600;
    --hk-weight-body: 400;
    --hk-weight-interface: 600;
    --hk-text-display: clamp(2.75rem, 6vw + 1rem, 4.75rem);
    --hk-text-h1: clamp(2.5rem, 4.6vw + 1rem, 4rem);
    --hk-text-h2: clamp(1.875rem, 2.4vw + 1rem, 3rem);
    --hk-text-h3: clamp(1.25rem, 0.8vw + 1rem, 1.625rem);
    --hk-text-body: clamp(1rem, 0.25vw + 0.9375rem, 1.125rem);
    --hk-text-lead: clamp(1.125rem, 0.5vw + 1rem, 1.25rem);
    --hk-text-small: 0.875rem;
    --hk-text-eyebrow: 0.75rem;
    --hk-tracking-eyebrow: 0.12em;
    --hk-measure: 68ch;
    --hk-measure-lead: 60ch;

    /* Space */
    --hk-space-1: 4px;
    --hk-space-2: 8px;
    --hk-space-3: 12px;
    --hk-space-4: 16px;
    --hk-space-5: 24px;
    --hk-space-6: 32px;
    --hk-space-7: 48px;
    --hk-space-8: 64px;
    --hk-space-9: 80px;
    --hk-space-10: 110px;

    /* Layout */
    --hk-container-max: 1240px;
    --hk-gutter: 20px;
    --hk-section-space: var(--hk-space-8);
    --hk-header-height: 64px;

    /* Shape */
    --hk-radius: 2px;
    --hk-radius-media: 0;
    --hk-border-width: 1px;

    /* Motion */
    --hk-duration-fast: 180ms;
    --hk-duration-reveal: 600ms;
    --hk-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  @media (min-width: 600px) {
    :root {
      --hk-gutter: 24px;
      --hk-section-space: var(--hk-space-9);
    }
  }

  @media (min-width: 900px) {
    :root {
      --hk-header-height: 76px;
    }
  }

  @media (min-width: 1200px) {
    :root {
      --hk-gutter: 32px;
      --hk-section-space: var(--hk-space-10);
    }
  }
}

/* ------------------------------------------------------------------ base */
@layer base {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    color-scheme: dark;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--hk-header-height) + var(--hk-space-4));
  }

  body {
    margin: 0;
    background: var(--hk-color-background);
    color: var(--hk-color-text);
    font-family: var(--hk-font-body);
    font-size: var(--hk-text-body);
    font-weight: var(--hk-weight-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  h1,
  h2,
  h3,
  h4 {
    margin: 0;
    font-family: var(--hk-font-display);
    color: var(--hk-color-text);
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  h1 {
    font-size: var(--hk-text-h1);
    font-weight: var(--hk-weight-display);
    line-height: 1.05;
    letter-spacing: 0.01em;
    text-transform: uppercase;
  }

  h2 {
    font-size: var(--hk-text-h2);
    font-weight: var(--hk-weight-heading);
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
  }

  h3 {
    font-size: var(--hk-text-h3);
    font-weight: var(--hk-weight-heading);
    line-height: 1.25;
    letter-spacing: 0.01em;
  }

  h4 {
    font-family: var(--hk-font-body);
    font-size: var(--hk-text-body);
    font-weight: var(--hk-weight-interface);
    line-height: 1.4;
  }

  p {
    margin: 0 0 1em;
  }

  p:last-child {
    margin-bottom: 0;
  }

  a {
    color: inherit;
  }

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

  strong {
    font-weight: var(--hk-weight-interface);
  }

  :focus-visible {
    outline: 2px solid var(--hk-color-focus);
    outline-offset: 3px;
  }

  ::selection {
    background: var(--hk-color-accent);
    color: var(--hk-color-text);
  }

  [hidden] {
    display: none !important;
  }
}

/* ---------------------------------------------------------------- layout */
@layer layout {
  .hk-container {
    width: 100%;
    max-width: calc(var(--hk-container-max) + 2 * var(--hk-gutter));
    margin-inline: auto;
    padding-inline: var(--hk-gutter);
  }

  .hk-section {
    padding-block: var(--hk-section-space);
    border-top: var(--hk-border-width) solid var(--hk-color-border);
  }

  .hk-section--alt {
    background: var(--hk-color-section);
  }

  /* Numbered section intro: marker above the heading, content at full container width */
  .hk-section__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--hk-space-5);
  }

  .hk-section__body {
    min-width: 0;
  }

  .hk-section__head {
    max-width: 56rem;
  }

  .hk-section__head > * + * {
    margin-top: var(--hk-space-5);
  }

  .hk-grid {
    display: grid;
    gap: var(--hk-space-5);
  }

  @media (min-width: 600px) {
    .hk-grid--2,
    .hk-grid--3,
    .hk-grid--4 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (min-width: 900px) {
    .hk-grid--3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  @media (min-width: 1200px) {
    .hk-grid--4 {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }

  .hk-split {
    display: grid;
    gap: var(--hk-space-7);
  }

  @media (min-width: 900px) {
    .hk-split {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: var(--hk-space-8);
    }
  }
}

/* ------------------------------------------------------------ components */
@layer components {
  /* Skip link */
  .hk-skip-link {
    position: absolute;
    left: var(--hk-space-4);
    top: var(--hk-space-3);
    z-index: 100;
    padding: var(--hk-space-3) var(--hk-space-4);
    background: var(--hk-color-text);
    color: var(--hk-color-background);
    font-weight: var(--hk-weight-interface);
    text-decoration: none;
    border-radius: var(--hk-radius);
    transform: translateY(-200%);
  }

  .hk-skip-link:focus {
    transform: none;
  }

  /* Eyebrow / technical label */
  .hk-eyebrow {
    display: flex;
    align-items: center;
    gap: var(--hk-space-3);
    margin: 0;
    color: var(--hk-color-text-muted);
    font-family: var(--hk-font-body);
    font-size: var(--hk-text-eyebrow);
    font-weight: var(--hk-weight-interface);
    line-height: 1.5;
    letter-spacing: var(--hk-tracking-eyebrow);
    text-transform: uppercase;
  }

  .hk-eyebrow::before {
    content: "";
    flex: none;
    width: 24px;
    height: 2px;
    background: var(--hk-color-accent);
  }

  /* Numbered section marker, e.g. "01 / Profile" */
  .hk-section__marker {
    display: flex;
    align-items: baseline;
    gap: var(--hk-space-3);
    margin: 0;
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-eyebrow);
    font-weight: var(--hk-weight-interface);
    letter-spacing: var(--hk-tracking-eyebrow);
    text-transform: uppercase;
  }

  .hk-section__index {
    color: var(--hk-color-text);
    font-variant-numeric: tabular-nums;
  }

  .hk-section__index::after {
    content: "/";
    margin-left: var(--hk-space-3);
    color: var(--hk-color-accent);
  }
  /* Index-only marker: used when the section's H2 already names it */
  .hk-section__marker--index .hk-section__index::after {
    content: none;
  }
  .hk-section__marker--index .hk-section__index::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 2px;
    margin-right: var(--hk-space-3);
    vertical-align: 0.3em;
    background: var(--hk-color-accent);
  }

  /* Display heading */
  .hk-display {
    font-size: var(--hk-text-display);
    font-weight: var(--hk-weight-display);
    line-height: 1.02;
    letter-spacing: -0.005em;
  }

  .hk-display em,
  .hk-accent-word {
    font-style: normal;
    color: var(--hk-color-accent);
  }

  /* Prose */
  .hk-prose {
    max-width: var(--hk-measure);
  }

  .hk-prose > * + * {
    margin-top: 1em;
  }

  .hk-prose p {
    margin: 0;
  }

  .hk-prose ul,
  .hk-prose ol {
    margin: 0;
    padding-left: 1.25em;
  }

  .hk-prose li + li {
    margin-top: 0.4em;
  }

  .hk-prose li::marker {
    color: var(--hk-color-accent);
  }

  .hk-lead {
    max-width: var(--hk-measure-lead);
    font-size: var(--hk-text-lead);
    line-height: 1.55;
  }

  .hk-muted {
    color: var(--hk-color-text-muted);
  }

  .hk-small {
    font-size: var(--hk-text-small);
    line-height: 1.5;
  }

  /* Buttons */
  .hk-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--hk-space-3) var(--hk-space-4);
  }

  .hk-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    min-height: 48px;
    padding: 0.75rem 1.4rem;
    border: var(--hk-border-width) solid transparent;
    border-radius: var(--hk-radius);
    font: var(--hk-weight-interface) 0.9375rem/1.2 var(--hk-font-body);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
      background-color var(--hk-duration-fast) var(--hk-ease),
      border-color var(--hk-duration-fast) var(--hk-ease),
      color var(--hk-duration-fast) var(--hk-ease),
      transform var(--hk-duration-fast) var(--hk-ease);
  }

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

  .hk-button[disabled],
  .hk-button[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
  }

  .hk-button__arrow {
    display: inline-block;
    transition: transform var(--hk-duration-fast) var(--hk-ease), color var(--hk-duration-fast) var(--hk-ease);
  }

  .hk-button-primary {
    background: var(--hk-color-accent);
    color: var(--hk-color-text);
  }

  .hk-button-primary:hover:not([disabled]) {
    background: var(--hk-color-accent-hover);
  }

  .hk-button-secondary {
    background: transparent;
    color: var(--hk-color-text);
    border-color: var(--hk-color-border);
  }

  .hk-button-secondary:hover:not([disabled]) {
    border-color: var(--hk-color-accent);
  }

  .hk-button-secondary:hover .hk-button__arrow {
    color: var(--hk-color-accent);
  }

  .hk-button:hover .hk-button__arrow {
    transform: translateX(3px);
  }

  /* Text link with underline and arrow */
  .hk-link {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5em;
    color: var(--hk-color-text);
    font-weight: var(--hk-weight-interface);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    text-decoration-color: var(--hk-color-text-muted);
    transition: text-decoration-color var(--hk-duration-fast) var(--hk-ease);
  }

  .hk-link:hover {
    text-decoration-color: var(--hk-color-accent);
    text-decoration-thickness: 2px;
  }

  .hk-link__arrow {
    display: inline-block;
    color: var(--hk-color-text-muted);
    transition: transform var(--hk-duration-fast) var(--hk-ease), color var(--hk-duration-fast) var(--hk-ease);
  }

  .hk-link:hover .hk-link__arrow {
    color: var(--hk-color-accent);
    transform: translateX(4px);
  }

  .hk-inline-link {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: var(--hk-color-text-muted);
  }

  .hk-inline-link:hover {
    text-decoration-color: var(--hk-color-accent);
  }

  /* Header */
  .hk-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--hk-color-background);
    border-bottom: var(--hk-border-width) solid var(--hk-color-border);
  }

  .hk-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--hk-space-4);
    min-height: var(--hk-header-height);
  }

  .hk-brand {
    display: inline-flex;
    align-items: baseline;
    gap: var(--hk-space-3);
    min-height: 44px;
    align-content: center;
    padding-block: var(--hk-space-2);
    color: var(--hk-color-text);
    text-decoration: none;
  }

  .hk-brand__mark {
    font-family: var(--hk-font-display);
    font-size: 1.75rem;
    font-weight: var(--hk-weight-display);
    line-height: 1;
    letter-spacing: 0.02em;
  }

  .hk-brand__dot {
    color: var(--hk-color-accent);
  }

  .hk-brand__name {
    display: none;
    font-size: var(--hk-text-small);
    font-weight: var(--hk-weight-interface);
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  @media (min-width: 400px) and (max-width: 899px), (min-width: 1140px) {
    .hk-brand__name {
      display: inline;
    }
  }

  .hk-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--hk-space-3);
    min-height: 44px;
    padding: 0 var(--hk-space-4);
    background: transparent;
    color: var(--hk-color-text);
    border: var(--hk-border-width) solid var(--hk-color-border);
    border-radius: var(--hk-radius);
    font: var(--hk-weight-interface) var(--hk-text-small)/1 var(--hk-font-body);
    cursor: pointer;
  }

  .hk-nav-toggle__icon {
    position: relative;
    width: 16px;
    height: 10px;
    border-block: 2px solid currentColor;
  }

  .hk-nav-toggle[aria-expanded="true"] .hk-nav-toggle__icon {
    height: 2px;
    border-bottom: 0;
  }

  .hk-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .hk-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: var(--hk-color-text-muted);
    font-size: 0.9375rem;
    font-weight: var(--hk-weight-interface);
    text-decoration: none;
    transition: color var(--hk-duration-fast) var(--hk-ease);
  }

  .hk-nav__link:hover {
    color: var(--hk-color-text);
  }

  .hk-nav__link[aria-current] {
    color: var(--hk-color-text);
  }

  .hk-nav__label {
    padding-block: var(--hk-space-1);
    border-bottom: 2px solid transparent;
  }

  .hk-nav__link:hover .hk-nav__label {
    border-bottom-color: var(--hk-color-neutral);
  }

  .hk-nav__link[aria-current] .hk-nav__label,
  .hk-nav__link--parent .hk-nav__label {
    border-bottom-color: var(--hk-color-accent);
  }

  /* Section parent (Selected Work while a case study is open): same visible cue, no aria-current */
  .hk-nav__link--parent {
    color: var(--hk-color-text);
  }

  /* Mobile: no-JS shows the list inline; with JS it becomes a disclosure panel */
  @media (max-width: 899px) {
    .hk-header__inner {
      flex-wrap: wrap;
    }

    .hk-nav {
      flex-basis: 100%;
      padding-bottom: var(--hk-space-4);
    }

    .hk-nav__list {
      display: flex;
      flex-wrap: wrap;
      column-gap: var(--hk-space-5);
    }

    .hk-nav__cv {
      margin-top: var(--hk-space-3);
    }

    .hk-js .hk-nav {
      display: none;
    }

    .hk-js .hk-header.is-open .hk-nav {
      display: block;
      max-height: calc(100dvh - var(--hk-header-height));
      overflow-y: auto;
    }

    .hk-js .hk-nav__list {
      display: block;
    }

    .hk-js .hk-nav__list li + li {
      border-top: var(--hk-border-width) solid var(--hk-color-border);
    }

    .hk-js .hk-nav__link {
      min-height: 52px;
      font-size: 1.0625rem;
    }

    .hk-js .hk-nav__cv {
      width: 100%;
      margin-top: var(--hk-space-4);
    }
  }

  @media (min-width: 900px) {
    .hk-nav-toggle {
      display: none;
    }

    .hk-nav {
      display: flex;
      align-items: center;
      gap: var(--hk-space-6);
    }

    .hk-nav__list {
      display: flex;
      gap: var(--hk-space-5);
    }

    .hk-nav__cv {
      min-height: 44px;
      padding-inline: 1.1rem;
    }
  }

  /* Hero */
  .hk-hero {
    position: relative;
    padding-block: var(--hk-space-8) var(--hk-section-space);
    overflow: hidden;
    isolation: isolate;
  }

  .hk-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
      linear-gradient(to right, var(--hk-color-grid-line) 1px, transparent 1px),
      linear-gradient(to bottom, var(--hk-color-grid-line) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: center top;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
  }

  .hk-hero__grid {
    display: grid;
    gap: var(--hk-space-7);
    align-items: end;
  }

  .hk-hero__content > * + * {
    margin-top: var(--hk-space-5);
  }

  .hk-hero__content > .hk-actions {
    margin-top: var(--hk-space-6);
  }

  .hk-hero__meta {
    padding-top: var(--hk-space-4);
    border-top: var(--hk-border-width) solid var(--hk-color-border);
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-small);
    letter-spacing: 0.02em;
  }

  .hk-hero__coord {
    position: absolute;
    right: var(--hk-gutter);
    top: var(--hk-space-5);
    color: var(--hk-color-text-muted);
    font-size: 0.6875rem;
    letter-spacing: var(--hk-tracking-eyebrow);
    text-transform: uppercase;
  }

  .hk-hero__media {
    margin: 0;
    max-width: 420px;
  }

  @media (min-width: 900px) {
    .hk-hero {
      padding-top: var(--hk-space-9);
    }

    .hk-hero__grid--media {
      grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
      gap: var(--hk-space-8);
    }

    .hk-hero__media {
      justify-self: end;
      width: 100%;
    }
  }

  .hk-hero--case .hk-hero__content {
    max-width: 62rem;
  }

  /* Media frame and placeholder */
  .hk-media-frame {
    margin: 0;
  }

  .hk-media-frame__inner {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--hk-radius-media);
    background: var(--hk-color-surface);
  }

  .hk-media-frame--4x5 .hk-media-frame__inner { aspect-ratio: 4 / 5; }
  .hk-media-frame--16x9 .hk-media-frame__inner { aspect-ratio: 16 / 9; }
  .hk-media-frame--1x1 .hk-media-frame__inner { aspect-ratio: 1 / 1; }
  .hk-media-frame--4x3 .hk-media-frame__inner { aspect-ratio: 4 / 3; }

  .hk-media-frame__inner > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hk-media-frame.is-placeholder .hk-media-frame__inner {
    display: grid;
    place-items: center;
    padding: var(--hk-space-5);
    border: 1px dashed var(--hk-color-neutral);
    background-color: var(--hk-color-section);
    background-image:
      linear-gradient(to right, var(--hk-color-grid-line) 1px, transparent 1px),
      linear-gradient(to bottom, var(--hk-color-grid-line) 1px, transparent 1px);
    background-size: 24px 24px;
  }

  .hk-media-frame__label {
    max-width: 32ch;
    margin: 0;
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-small);
    line-height: 1.5;
    text-align: center;
  }

  .hk-media-frame__label strong {
    display: block;
    margin-bottom: var(--hk-space-1);
    color: var(--hk-color-text);
    font-size: var(--hk-text-eyebrow);
    letter-spacing: var(--hk-tracking-eyebrow);
    text-transform: uppercase;
  }

  .hk-media-frame figcaption {
    margin-top: var(--hk-space-3);
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-small);
    line-height: 1.5;
  }

  /* Review-only placeholder note for missing text content */
  .hk-placeholder-note {
    max-width: var(--hk-measure);
    margin: 0;
    padding: var(--hk-space-4) var(--hk-space-5);
    border: 1px dashed var(--hk-color-neutral);
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-small);
    line-height: 1.55;
  }

  .hk-placeholder-note strong {
    color: var(--hk-color-text);
  }

  /* Cards */
  .hk-card {
    position: relative;
    padding: var(--hk-space-5);
    background: var(--hk-color-surface);
    border: var(--hk-border-width) solid var(--hk-color-border);
    border-radius: var(--hk-radius);
  }

  .hk-card > * + * {
    margin-top: var(--hk-space-3);
  }

  @media (min-width: 900px) {
    .hk-card {
      padding: var(--hk-space-6);
    }
  }

  .hk-card__index {
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-eyebrow);
    font-weight: var(--hk-weight-interface);
    letter-spacing: var(--hk-tracking-eyebrow);
  }

  /* Project card */
  .hk-project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--hk-color-surface);
    border: var(--hk-border-width) solid var(--hk-color-border);
    border-radius: var(--hk-radius);
    transition:
      transform var(--hk-duration-fast) var(--hk-ease),
      border-color var(--hk-duration-fast) var(--hk-ease);
  }

  .hk-project-card::before {
    content: "";
    position: absolute;
    left: -1px;
    right: -1px;
    top: -1px;
    z-index: 1;
    height: 2px;
    background: var(--hk-color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--hk-duration-fast) var(--hk-ease);
  }

  .hk-project-card:hover {
    transform: translateY(-2px);
    border-color: var(--hk-color-neutral);
  }

  .hk-project-card:hover::before,
  .hk-project-card:focus-within::before {
    transform: scaleX(1);
  }

  .hk-project-card:focus-within {
    outline: 2px solid var(--hk-color-focus);
    outline-offset: 3px;
  }

  .hk-project-card .hk-media-frame__inner {
    border: 0;
    border-bottom: 1px dashed var(--hk-color-neutral);
  }

  .hk-project-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--hk-space-3);
    padding: var(--hk-space-5);
  }

  @media (min-width: 900px) {
    .hk-project-card__body {
      padding: var(--hk-space-6);
    }
  }

  .hk-project-card__tags {
    margin: 0;
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-eyebrow);
    font-weight: var(--hk-weight-interface);
    line-height: 1.6;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .hk-project-card__title a {
    text-decoration: none;
  }

  .hk-project-card__title a:focus-visible {
    outline: none;
  }

  .hk-project-card__title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
  }

  .hk-project-card__contribution {
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-small);
  }

  .hk-project-card__contribution strong {
    color: var(--hk-color-text);
  }

  .hk-project-card__cta {
    display: inline-flex;
    gap: 0.5em;
    margin-top: auto;
    padding-top: var(--hk-space-3);
    font-weight: var(--hk-weight-interface);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    text-decoration-color: var(--hk-color-text-muted);
  }

  .hk-project-card:hover .hk-project-card__cta {
    text-decoration-color: var(--hk-color-accent);
  }

  .hk-project-card:hover .hk-link__arrow {
    color: var(--hk-color-accent);
    transform: translateX(4px);
  }

  @media (min-width: 900px) {
    .hk-project-card--wide {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    }

    .hk-project-card--wide .hk-media-frame__inner {
      width: 100%;
      height: 100%;
      min-height: 20rem;
      aspect-ratio: auto;
      border-bottom: 0;
      border-right: 1px dashed var(--hk-color-neutral);
    }
  }

  /* Principle / numbered items (divided list rather than boxed cards) */
  .hk-items {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .hk-items > li,
  .hk-items > div {
    padding-block: var(--hk-space-5);
    border-top: var(--hk-border-width) solid var(--hk-color-border);
  }

  .hk-items > li > * + *,
  .hk-items > div > * + * {
    margin-top: var(--hk-space-3);
  }

  @media (min-width: 600px) {
    .hk-items--2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: var(--hk-space-6);
    }
  }

  @media (min-width: 900px) {
    .hk-items--3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      column-gap: var(--hk-space-6);
    }
  }

  .hk-items__index {
    display: block;
    margin-bottom: var(--hk-space-3);
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-eyebrow);
    font-weight: var(--hk-weight-interface);
    letter-spacing: var(--hk-tracking-eyebrow);
  }

  .hk-items__index::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: var(--hk-space-3);
    background: var(--hk-color-accent);
    vertical-align: 1px;
  }

  /* Divided list: expertise, demonstrates, simple facts */
  .hk-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: var(--hk-border-width) solid var(--hk-color-border);
  }

  .hk-list > li {
    position: relative;
    padding: var(--hk-space-3) 0 var(--hk-space-3) var(--hk-space-6);
    border-bottom: var(--hk-border-width) solid var(--hk-color-border);
  }

  .hk-list > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(var(--hk-space-3) + 0.8em);
    width: 14px;
    height: 1px;
    background: var(--hk-color-accent);
  }

  @media (min-width: 600px) {
    .hk-list--columns {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: var(--hk-space-6);
    }
  }

  /* Path / progression */
  .hk-path {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: hk-path;
  }

  .hk-path > li {
    position: relative;
    padding: var(--hk-space-4) 0 var(--hk-space-4) var(--hk-space-7);
    border-top: var(--hk-border-width) solid var(--hk-color-border);
    font-family: var(--hk-font-display);
    font-size: var(--hk-text-h3);
    font-weight: var(--hk-weight-heading);
    line-height: 1.25;
    counter-increment: hk-path;
  }

  .hk-path > li::before {
    content: counter(hk-path, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: calc(var(--hk-space-4) + 0.35em);
    color: var(--hk-color-text-muted);
    font-family: var(--hk-font-body);
    font-size: var(--hk-text-eyebrow);
    letter-spacing: var(--hk-tracking-eyebrow);
  }

  .hk-path > li:last-child {
    color: var(--hk-color-text);
    border-bottom: var(--hk-border-width) solid var(--hk-color-border);
  }

  .hk-path > li:last-child::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 48px;
    height: 2px;
    background: var(--hk-color-accent);
  }

  .hk-path__year {
    display: block;
    color: var(--hk-color-text-muted);
    font-family: var(--hk-font-body);
    font-size: var(--hk-text-small);
    font-weight: var(--hk-weight-interface);
    letter-spacing: 0.04em;
  }

  @media (min-width: 900px) {
    .hk-path--row {
      grid-auto-flow: column;
      grid-auto-columns: minmax(0, 1fr);
      column-gap: var(--hk-space-5);
      border-top: var(--hk-border-width) solid var(--hk-color-border);
    }

    .hk-path--row > li {
      padding: var(--hk-space-7) var(--hk-space-4) 0 0;
      border-top: 0;
      border-bottom: 0;
    }

    .hk-path--row > li::before {
      top: var(--hk-space-4);
    }

    .hk-path--row > li:last-child {
      border-bottom: 0;
    }

    .hk-path--row > li:last-child::after {
      top: -1px;
      bottom: auto;
    }
  }

  /* Meta list (case-study overview, experience at a glance, tools) */
  .hk-meta-list {
    display: grid;
    gap: 0;
    margin: 0;
    border-top: var(--hk-border-width) solid var(--hk-color-border);
  }

  .hk-meta-list__item {
    display: grid;
    gap: var(--hk-space-1);
    padding-block: var(--hk-space-4);
    border-bottom: var(--hk-border-width) solid var(--hk-color-border);
  }

  .hk-meta-list dt {
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-eyebrow);
    font-weight: var(--hk-weight-interface);
    letter-spacing: var(--hk-tracking-eyebrow);
    text-transform: uppercase;
  }

  .hk-meta-list dd {
    margin: 0;
  }

  @media (min-width: 600px) {
    .hk-meta-list--rows .hk-meta-list__item {
      grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
      gap: var(--hk-space-5);
      align-items: baseline;
    }

    .hk-meta-list--grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: var(--hk-space-6);
    }
  }

  @media (min-width: 1200px) {
    .hk-meta-list--grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  /* Statistics */
  .hk-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: var(--hk-space-5);
    margin: 0;
  }

  .hk-stat {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: var(--hk-space-2);
    padding-top: var(--hk-space-4);
    border-top: 2px solid var(--hk-color-accent);
  }

  .hk-stat__value {
    margin: 0;
    font-family: var(--hk-font-display);
    font-size: clamp(2.25rem, 2vw + 1.5rem, 3.25rem);
    font-weight: var(--hk-weight-display);
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }

  .hk-stat__label {
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-small);
    line-height: 1.45;
  }

  .hk-stats-context {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hk-space-2) var(--hk-space-5);
    margin: 0;
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-small);
  }

  .hk-stats-context strong {
    color: var(--hk-color-text);
  }

  .hk-note {
    max-width: var(--hk-measure);
    margin: 0;
    padding-left: var(--hk-space-4);
    border-left: 2px solid var(--hk-color-neutral);
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-small);
    line-height: 1.6;
  }

  /* Table */
  .hk-table {
    max-width: 100%;
    overflow-x: auto;
    border: var(--hk-border-width) solid var(--hk-color-border);
    border-radius: var(--hk-radius);
  }

  .hk-table table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: var(--hk-text-small);
    line-height: 1.5;
  }

  .hk-table caption {
    padding: var(--hk-space-4) var(--hk-space-5);
    text-align: left;
    font-family: var(--hk-font-display);
    font-size: 1.125rem;
    font-weight: var(--hk-weight-heading);
    letter-spacing: 0.01em;
    border-bottom: var(--hk-border-width) solid var(--hk-color-border);
  }

  .hk-table th,
  .hk-table td {
    padding: var(--hk-space-3) var(--hk-space-5);
    text-align: left;
    vertical-align: top;
    border-bottom: var(--hk-border-width) solid var(--hk-color-border);
  }

  .hk-table thead th {
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-eyebrow);
    font-weight: var(--hk-weight-interface);
    letter-spacing: var(--hk-tracking-eyebrow);
    text-transform: uppercase;
    background: var(--hk-color-section);
  }

  .hk-table tbody th {
    font-weight: var(--hk-weight-interface);
  }

  .hk-table tbody tr:last-child > * {
    border-bottom: 0;
  }

  .hk-table .is-numeric {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  /* Timeline */
  .hk-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .hk-timeline__item {
    position: relative;
    display: grid;
    gap: var(--hk-space-3);
    padding: 0 0 var(--hk-space-7) var(--hk-space-6);
    border-left: var(--hk-border-width) solid var(--hk-color-border);
  }

  .hk-timeline__item:last-child {
    padding-bottom: 0;
  }

  .hk-timeline__item::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 0.45em;
    width: 9px;
    height: 9px;
    background: var(--hk-color-background);
    border: 2px solid var(--hk-color-text-muted);
  }

  .hk-timeline__item.is-current::before {
    background: var(--hk-color-accent);
    border-color: var(--hk-color-accent);
  }

  .hk-timeline__period {
    margin: 0;
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-small);
    font-weight: var(--hk-weight-interface);
    letter-spacing: 0.04em;
  }

  .hk-timeline__body > * + * {
    margin-top: var(--hk-space-4);
  }

  .hk-timeline__org {
    margin-top: var(--hk-space-1) !important;
    color: var(--hk-color-text-muted);
    font-weight: var(--hk-weight-interface);
  }

  .hk-timeline__related {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hk-space-2) var(--hk-space-5);
    padding-top: var(--hk-space-4);
    border-top: var(--hk-border-width) solid var(--hk-color-border);
  }

  .hk-timeline__related-label {
    width: 100%;
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-eyebrow);
    font-weight: var(--hk-weight-interface);
    letter-spacing: var(--hk-tracking-eyebrow);
    text-transform: uppercase;
  }

  @media (min-width: 900px) {
    .hk-timeline__item {
      grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
      gap: var(--hk-space-6);
    }

    .hk-timeline__period {
      padding-top: 0.3em;
    }
  }

  /* Contact options */
  .hk-contact-option {
    display: flex;
    flex-direction: column;
    gap: var(--hk-space-3);
  }

  .hk-contact-option__value {
    font-family: var(--hk-font-display);
    font-size: var(--hk-text-h3);
    font-weight: var(--hk-weight-heading);
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .hk-contact-option .hk-link {
    margin-top: auto;
  }

  /* Form */
  .hk-form {
    display: grid;
    gap: var(--hk-space-5);
    max-width: 44rem;
  }

  .hk-form__row {
    display: grid;
    gap: var(--hk-space-5);
  }

  @media (min-width: 600px) {
    .hk-form__row {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  .hk-field {
    display: grid;
    gap: var(--hk-space-2);
    align-content: start;
  }

  .hk-field__label {
    font-size: 0.9375rem;
    font-weight: var(--hk-weight-interface);
  }

  .hk-field__optional {
    color: var(--hk-color-text-muted);
    font-weight: var(--hk-weight-body);
  }

  .hk-field__input {
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 0.9rem;
    background: var(--hk-color-section);
    color: var(--hk-color-text);
    border: var(--hk-border-width) solid var(--hk-color-field-border);
    border-radius: var(--hk-radius);
    font: inherit;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color var(--hk-duration-fast) var(--hk-ease);
  }

  textarea.hk-field__input {
    min-height: 168px;
    resize: vertical;
  }

  select.hk-field__input {
    appearance: none;
    padding-right: 2.5rem;
    background-image:
      linear-gradient(45deg, transparent 50%, var(--hk-color-text) 50%),
      linear-gradient(135deg, var(--hk-color-text) 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
    background-size: 5px 5px;
    background-repeat: no-repeat;
  }

  .hk-field__input:hover {
    border-color: var(--hk-color-text);
  }

  .hk-field__input:focus-visible {
    border-color: var(--hk-color-text);
  }

  .hk-field__input[aria-invalid="true"] {
    border-color: var(--hk-color-error);
  }

  .hk-field__input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .hk-field__hint {
    margin: 0;
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-small);
  }

  .hk-field__error {
    display: flex;
    gap: var(--hk-space-2);
    margin: 0;
    color: var(--hk-color-error);
    font-size: var(--hk-text-small);
    font-weight: var(--hk-weight-interface);
  }

  .hk-field__error::before {
    content: "!";
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 1.25em;
    height: 1.25em;
    margin-top: 0.1em;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-size: 0.8em;
    line-height: 1;
  }

  .hk-form__summary {
    padding: var(--hk-space-5);
    border: var(--hk-border-width) solid var(--hk-color-error);
    border-left-width: 4px;
    border-radius: var(--hk-radius);
    background: var(--hk-color-surface);
  }

  .hk-form__summary h3 {
    font-size: 1.25rem;
  }

  .hk-form__summary ul {
    margin: var(--hk-space-3) 0 0;
    padding-left: 1.2em;
  }

  .hk-form__summary a {
    color: var(--hk-color-error);
    font-weight: var(--hk-weight-interface);
  }

  .hk-form__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--hk-space-4) var(--hk-space-5);
  }

  .hk-form__privacy {
    margin: 0;
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-small);
  }

  .hk-form__status:empty {
    display: none;
  }

  .hk-form__status {
    margin: 0;
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-small);
  }

  .hk-form__success {
    max-width: 44rem;
    padding: var(--hk-space-6);
    border: var(--hk-border-width) solid var(--hk-color-border);
    border-top: 2px solid var(--hk-color-accent);
    background: var(--hk-color-surface);
  }

  .hk-form__success > * + * {
    margin-top: var(--hk-space-4);
  }

  .hk-form__success:focus {
    outline: none;
  }

  .hk-form__success:focus-visible {
    outline: 2px solid var(--hk-color-focus);
  }

  .hk-mockup-flag {
    display: inline-flex;
    align-items: center;
    gap: var(--hk-space-2);
    margin: 0;
    padding: var(--hk-space-2) var(--hk-space-3);
    border: 1px dashed var(--hk-color-neutral);
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-small);
    line-height: 1.4;
  }

  .hk-mockup-flag strong {
    color: var(--hk-color-text);
  }

  /* Closing call to action */
  .hk-cta {
    padding-block: var(--hk-section-space);
    border-top: var(--hk-border-width) solid var(--hk-color-border);
    background: var(--hk-color-section);
  }

  .hk-cta__inner {
    max-width: 56rem;
  }

  .hk-cta__inner > * + * {
    margin-top: var(--hk-space-5);
  }

  .hk-cta__inner > .hk-actions {
    margin-top: var(--hk-space-6);
  }

  .hk-cta__rule {
    display: block;
    width: 64px;
    height: 2px;
    background: var(--hk-color-accent);
  }

  /* Back link above case-study heroes */
  .hk-backlink {
    display: inline-flex;
    gap: 0.5em;
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-small);
    font-weight: var(--hk-weight-interface);
    text-decoration: none;
  }

  .hk-backlink:hover {
    color: var(--hk-color-text);
  }

  /* Footer */
  .hk-footer {
    padding-block: var(--hk-space-8) var(--hk-space-6);
    border-top: var(--hk-border-width) solid var(--hk-color-border);
    font-size: var(--hk-text-small);
  }

  .hk-footer__grid {
    display: grid;
    gap: var(--hk-space-6);
  }

  @media (min-width: 600px) {
    .hk-footer__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (min-width: 900px) {
    .hk-footer__grid {
      grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
    }
  }

  .hk-footer__mark {
    margin: 0 0 var(--hk-space-3);
    font-family: var(--hk-font-display);
    font-size: 2.5rem;
    font-weight: var(--hk-weight-display);
    line-height: 1;
  }

  .hk-footer__mark span {
    color: var(--hk-color-accent);
  }

  .hk-footer__name {
    margin: 0;
    font-size: 1rem;
    font-weight: var(--hk-weight-interface);
  }

  .hk-footer__label {
    margin: 0 0 var(--hk-space-3);
    color: var(--hk-color-text-muted);
    font-size: var(--hk-text-eyebrow);
    font-weight: var(--hk-weight-interface);
    letter-spacing: var(--hk-tracking-eyebrow);
    text-transform: uppercase;
  }

  .hk-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .hk-footer__list a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    text-decoration: none;
  }

  .hk-footer__list a:hover,
  .hk-footer__list a[aria-current] {
    text-decoration: underline;
    text-decoration-color: var(--hk-color-accent);
    text-underline-offset: 4px;
  }

  .hk-footer__base {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--hk-space-3);
    margin-top: var(--hk-space-8);
    padding-top: var(--hk-space-5);
    border-top: var(--hk-border-width) solid var(--hk-color-border);
    color: var(--hk-color-text-muted);
  }

  .hk-footer__base p {
    margin: 0;
  }

  /* 404 */
  .hk-notfound {
    min-height: 60vh;
    display: flex;
    align-items: center;
  }

  .hk-notfound__code {
    font-family: var(--hk-font-display);
    font-size: clamp(5rem, 14vw, 10rem);
    font-weight: var(--hk-weight-display);
    line-height: 0.9;
    color: var(--hk-color-field-border);
  }

  /* Style guide swatches */
  .hk-swatch {
    display: grid;
    gap: var(--hk-space-2);
    margin: 0;
    font-size: var(--hk-text-small);
  }

  .hk-swatch__chip {
    height: 72px;
    border: var(--hk-border-width) solid var(--hk-color-border);
    border-radius: var(--hk-radius);
  }

  .hk-swatch--accent .hk-swatch__chip { background: var(--hk-color-accent); }
  .hk-swatch--accent-hover .hk-swatch__chip { background: var(--hk-color-accent-hover); }
  .hk-swatch--background .hk-swatch__chip { background: var(--hk-color-background); }
  .hk-swatch--section .hk-swatch__chip { background: var(--hk-color-section); }
  .hk-swatch--surface .hk-swatch__chip { background: var(--hk-color-surface); }
  .hk-swatch--neutral .hk-swatch__chip { background: var(--hk-color-neutral); }
  .hk-swatch--text .hk-swatch__chip { background: var(--hk-color-text); }
  .hk-swatch--muted .hk-swatch__chip { background: var(--hk-color-text-muted); }
  .hk-swatch--border .hk-swatch__chip { background: var(--hk-color-border); }
  .hk-swatch--field .hk-swatch__chip { background: var(--hk-color-field-border); }
  .hk-swatch--error .hk-swatch__chip { background: var(--hk-color-error); }

  .hk-swatch dd,
  .hk-swatch dt {
    margin: 0;
  }

  .hk-swatch dd {
    color: var(--hk-color-text-muted);
  }

  /* Forced states for the style guide only */
  .hk-button.is-hover.hk-button-primary { background: var(--hk-color-accent-hover); }
  .hk-button.is-hover.hk-button-secondary { border-color: var(--hk-color-accent); }
  .hk-button.is-focus,
  .hk-field__input.is-focus { outline: 2px solid var(--hk-color-focus); outline-offset: 3px; }
  .hk-link.is-hover { text-decoration-color: var(--hk-color-accent); text-decoration-thickness: 2px; }

  /* Section body rhythm. Kept last in this layer so components that reset
     their own margin (items, lists, stats, timelines) still get the gap. */
  .hk-section__body > * + * {
    margin-top: var(--hk-space-7);
  }

  .hk-section__body > .hk-stats-context + .hk-stats,
  .hk-section__body > .hk-stats + .hk-note {
    margin-top: var(--hk-space-5);
  }

  .hk-section__body > h3 + * {
    margin-top: var(--hk-space-4);
  }

  .hk-section__body > * + .hk-placeholder-note {
    margin-top: var(--hk-space-6);
  }
}

/* ------------------------------------------------------------- utilities */
@layer utilities {
  .hk-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .hk-mt-0 { margin-top: 0 !important; }
  .hk-mt-4 { margin-top: var(--hk-space-4) !important; }
  .hk-mt-6 { margin-top: var(--hk-space-6) !important; }

  /* Reveal: only applied by hk.js to elements below the first viewport */
  .hk-reveal {
    opacity: 0;
    transform: translateY(16px);
  }

  .hk-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition:
      opacity var(--hk-duration-reveal) var(--hk-ease),
      transform var(--hk-duration-reveal) var(--hk-ease);
    transition-delay: var(--hk-reveal-delay, 0ms);
  }

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      transition-duration: 0ms !important;
      animation-duration: 0ms !important;
      scroll-behavior: auto !important;
    }

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

    .hk-project-card:hover,
    .hk-button:active,
    .hk-button:hover .hk-button__arrow,
    .hk-link:hover .hk-link__arrow,
    .hk-project-card:hover .hk-link__arrow {
      transform: none;
    }
  }
}
