:root {
  --black: #0d0d0c;
  --black-2: #161614;
  --ivory: #f3efe7;
  --paper: #faf8f3;
  --ink: #171714;
  --muted: #716d65;
  --copper: #c96c2c;
  --copper-light: #e69a5f;
  --line: rgba(23, 23, 20, 0.14);
  --white-line: rgba(255, 255, 255, 0.15);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --shell: min(1280px, calc(100% - 64px));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

section[id] {
  scroll-margin-top: 96px;
}

body {
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 999;
  padding: 10px 14px;
  background: white;
  color: black;
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  color: white;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-sticky {
  position: fixed;
  background: rgba(13, 13, 12, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--white-line);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  position: relative;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.site-header .brand {
  transform: none;
}

.brand img {
  width: 146px;
  height: auto;
  filter: drop-shadow(0 2px 9px rgba(0, 0, 0, 0.22));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  font-size: 0.76rem;
  font-weight: 600;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-links > a:not(.nav-cta) {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
}

.nav-links > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-links > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid var(--copper);
  color: white;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav-cta:hover {
  background: var(--copper);
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  position: relative;
  z-index: 120;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: white;
}

.menu-button span {
  position: absolute;
  left: 8px;
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: 0.25s ease;
}

.menu-button span:first-child {
  top: 17px;
}

.menu-button span:last-child {
  top: 26px;
}

.menu-button[aria-expanded="true"] span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

.hero {
  min-height: 760px;
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
  color: white;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  background-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=2200&q=90");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: heroZoom 12s ease-out both;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.03); }
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 6, 6, 0.94) 0%, rgba(6, 6, 6, 0.76) 48%, rgba(6, 6, 6, 0.18) 82%),
    linear-gradient(0deg, rgba(6, 6, 6, 0.72), transparent 54%);
}

.hero-content {
  padding: 170px 0 116px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--copper);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.59);
}

.eyebrow-copper {
  color: var(--copper-light);
}

.hero h1,
.section-heading h2,
.process-heading h2,
.work-heading h2,
.contact-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.hero h1 {
  max-width: 830px;
  font-size: clamp(5rem, 9vw, 9rem);
  line-height: 0.83;
  text-wrap: balance;
}

.hero h1 em {
  display: block;
  margin-left: clamp(20px, 6vw, 90px);
  color: var(--copper-light);
  font-weight: 400;
}

.hero-copy {
  max-width: 620px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

.button span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.button-copper {
  background: var(--copper);
  color: white;
}

.button-copper:hover {
  background: #dc7c3c;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: white;
}

.button-ghost:hover {
  background: white;
  color: var(--black);
}

.hero-foot {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-space {
  padding: 96px 0;
}

.services {
  background: var(--paper);
}

.section-heading,
.process-heading,
.work-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading h2,
.process-heading h2,
.work-heading h2 {
  max-width: 760px;
  font-size: clamp(3.2rem, 5vw, 5.2rem);
  text-wrap: balance;
}

.section-heading > p,
.process-heading > p,
.work-heading > p {
  color: var(--muted);
  font-size: 0.9rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-card {
  min-height: 250px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, transform 0.25s ease;
}

.capability-card:hover {
  background: white;
  transform: translateY(-2px);
}

.capability-card > span {
  display: block;
  margin-bottom: 62px;
  color: var(--copper);
  font-size: 0.69rem;
  font-weight: 700;
}

.capability-card h3 {
  margin-bottom: 13px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1;
}

.capability-card p {
  max-width: 480px;
  color: var(--muted);
  font-size: 0.86rem;
}

.philosophy {
  margin-top: 40px;
  padding-top: 28px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
}

.philosophy span {
  color: var(--copper);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.philosophy p {
  max-width: 940px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.7vw, 4rem);
  line-height: 1;
}


.costiq {
  background: #10110f;
  color: white;
}

.costiq-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(560px, 1.22fr);
  gap: clamp(60px, 7vw, 110px);
  align-items: center;
}

.costiq-copy h2 {
  max-width: 610px;
  font-family: var(--serif);
  font-size: clamp(3.25rem, 4.9vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-wrap: balance;
}

.costiq-lead {
  max-width: 590px;
  margin-top: 27px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.costiq-features {
  margin-top: 34px;
  border-top: 1px solid var(--white-line);
}

.costiq-features > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--white-line);
}

.costiq-features span {
  color: var(--copper-light);
  font-size: 0.66rem;
  font-weight: 700;
}

.costiq-features p {
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.8rem;
}

.costiq-features strong {
  display: block;
  margin-bottom: 3px;
  color: white;
  font-size: 0.86rem;
}

.costiq-cta {
  margin-top: 30px;
}

.costiq-visual {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(circle at 90% 10%, rgba(201, 108, 44, 0.10), transparent 34%),
    #181916;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.24);
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--white-line);
}

.dashboard-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.dashboard-logo {
  display: block;
  width: 164px;
  height: auto;
}

.dashboard-top small {
  display: block;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
}

.dashboard-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #83b879;
  box-shadow: 0 0 0 4px rgba(131, 184, 121, 0.11);
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.dashboard-summary article {
  min-height: 106px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.018);
}

.dashboard-summary small {
  display: block;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.58rem;
}

.dashboard-summary strong {
  display: block;
  margin: 6px 0 4px;
  font-family: var(--serif);
  font-size: 2.05rem;
  font-weight: 400;
  line-height: 1;
}

.dashboard-summary span {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.56rem;
}

.dashboard-summary .positive {
  color: #8fc286;
}

.dashboard-summary .warning {
  color: var(--copper-light);
}

.dashboard-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(210px, 0.6fr);
  gap: 10px;
  margin-top: 10px;
}

.dashboard-chart,
.dashboard-list {
  min-height: 282px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.018);
}

.chart-head,
.list-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.chart-head small,
.list-head small {
  display: block;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.58rem;
}

.chart-head strong {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
}

.chart-head > span,
.list-head > span {
  color: var(--copper-light);
  font-size: 0.56rem;
}

.chart-area {
  position: relative;
  height: 205px;
  margin-top: 14px;
  overflow: hidden;
}

.chart-grid-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.line-one { top: 20%; }
.line-two { top: 50%; }
.line-three { top: 80%; }

.chart-area svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.chart-fill {
  fill: url(#costiqFill);
}

.chart-line {
  fill: none;
  stroke: var(--copper-light);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.chart-point {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid #181916;
  border-radius: 50%;
  background: var(--copper-light);
  box-shadow: 0 0 0 2px rgba(230, 154, 95, 0.22);
}

.point-a { left: 22%; top: 49%; }
.point-b { left: 57%; top: 31%; }
.point-c { right: 2%; top: 10%; }

.dashboard-list {
  padding-inline: 14px;
}

.menu-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-row:last-child {
  border-bottom: 0;
}

.menu-rank {
  color: var(--copper-light);
  font-size: 0.57rem;
}

.menu-row strong {
  display: block;
  font-size: 0.65rem;
}

.menu-row small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.51rem;
}

.menu-row b {
  font-size: 0.62rem;
  font-weight: 600;
}

.dashboard-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.53rem;
  text-align: right;
}

.process {
  background: var(--black);
  color: white;
}

.process-heading h2 {
  max-width: 720px;
}

.process-heading > p {
  color: rgba(255, 255, 255, 0.54);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--white-line);
  border-left: 1px solid var(--white-line);
}

.process-card {
  min-height: 280px;
  padding: 28px;
  border-right: 1px solid var(--white-line);
  border-bottom: 1px solid var(--white-line);
  transition: background 0.25s ease;
}

.process-card:hover {
  background: var(--black-2);
}

.process-card > span {
  display: block;
  margin-bottom: 66px;
  color: var(--copper-light);
  font-size: 0.69rem;
  font-weight: 700;
}

.process-card h3 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
}

.process-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.work {
  background: var(--ivory);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.logo-card {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 30px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
  transition: background 0.25s ease;
}

.logo-card:hover {
  background: white;
}

.logo-card img {
  width: auto;
  max-width: 82%;
  max-height: 72px;
  object-fit: contain;
}

.logo-card-square img {
  max-height: 94px;
}

.logo-hakkalicious img {
  max-width: 78%;
  max-height: 42px;
}

.logo-sams img {
  max-width: 84%;
  max-height: 84px;
}

.logo-sliders img {
  max-width: 54%;
  max-height: 62px;
}

.logo-fresh img {
  max-width: 56%;
  max-height: 86px;
}

.logo-district img {
  max-width: 56%;
  max-height: 118px;
}



.about-hudson {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 6vw, 84px);
  align-items: start;
}

.about-image img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.about-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
  font-size: clamp(3.15rem, 4.9vw, 4.95rem);
  text-wrap: balance;
}

.about-lead {
  max-width: 720px;
  margin-top: 24px;
  color: var(--ink);
  font-size: 1rem;
}

.about-body {
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.about-linkedin {
  margin-top: 28px;
}

.about-image {
  max-width: 360px;
}

.about-image img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
  color: white;
}

.contact-image,
.contact-overlay {
  position: absolute;
  inset: 0;
}

.contact-image {
  z-index: -3;
  background-image: url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=2200&q=88");
  background-size: cover;
  background-position: center;
}

.contact-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.97) 0%, rgba(7, 7, 6, 0.9) 58%, rgba(7, 7, 6, 0.68) 100%),
    linear-gradient(0deg, rgba(7, 7, 6, 0.6), rgba(7, 7, 6, 0.2));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(470px, 1.05fr);
  gap: 90px;
  align-items: start;
}

.contact-copy h2 {
  max-width: 680px;
  font-size: clamp(3.6rem, 5.8vw, 6.3rem);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 550px;
  margin: 27px 0 40px;
  color: rgba(255, 255, 255, 0.58);
}

.contact-details {
  max-width: 550px;
  border-top: 1px solid var(--white-line);
}

.contact-details a {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 17px 0;
  border-bottom: 1px solid var(--white-line);
}

.contact-details small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details strong {
  font-size: 0.82rem;
}

.contact-form {
  padding: 39px;
  background: rgba(250, 248, 243, 0.96);
  color: var(--ink);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: block;
  margin-bottom: 20px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 41px;
  padding: 8px 0 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--copper);
}

.form-submit {
  width: 100%;
  justify-content: space-between;
}

.form-note {
  margin-top: 11px;
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
}

footer {
  padding: 48px 0 26px;
  background: var(--black);
  color: white;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.brand-footer img {
  width: 152px;
}

.footer-top > p {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  text-align: right;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--white-line);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.67rem;
}

.footer-bottom > a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--copper);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-bottom > a span {
  font-size: 1em;
}

.footer-bottom > a:hover {
  color: var(--copper-light);
  border-color: var(--copper-light);
}

.mobile-contact {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

@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;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image {
    max-width: 340px;
  }

  .section-space {
    padding: 72px 0;
  }

  .section-heading h2,
  .process-heading h2,
  .work-heading h2,
  .contact-copy h2,
  .about-copy h2,
  .costiq-copy h2 {
    font-size: clamp(3rem, 6vw, 4.4rem);
  }


  body {
    padding-top: 88px;
  }

  main {
    display: block;
  }


  .site-header,
  .site-header.is-sticky {
    position: fixed;
    background: rgba(13, 13, 12, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 var(--white-line);
  }

  section[id] {
    scroll-margin-top: 88px;
  }


  .costiq-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .costiq-copy {
    max-width: 740px;
  }

  :root {
    --shell: min(100% - 40px, 820px);
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    min-height: calc(100dvh - 88px);
    padding: 48px 28px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 27px;
    overflow-y: auto;
    background: var(--black);
    font-family: var(--serif);
    font-size: 2.3rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.22s ease,
      visibility 0s linear 0.22s,
      transform 0.28s cubic-bezier(.2,.8,.2,1);
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .nav-links > a:not(.nav-cta) {
    color: white;
  }

  .nav-cta {
    width: 100%;
    margin-top: 12px;
    font-family: var(--sans);
    font-size: 0.76rem;
  }

  .section-heading,
  .process-heading,
  .work-heading,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

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

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

}

@media (max-width: 680px) {
  .about-copy h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .about-lead {
    font-size: 0.92rem;
  }


  body {
    padding-top: 76px;
  }


  .dashboard-logo {
    width: 136px;
  }

  html {
    scroll-padding-top: 84px;
  }

  section[id] {
    scroll-margin-top: 84px;
  }


  .costiq-copy h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .costiq-visual {
    padding: 12px;
    margin-inline: 0;
  }

  .dashboard-summary {
    grid-template-columns: 1fr;
  }

  .dashboard-summary article {
    min-height: 90px;
  }

  .dashboard-main {
    grid-template-columns: 1fr;
  }

  .dashboard-chart {
    min-height: 260px;
  }

  .site-header .brand {
    transform: none;
  }

  :root {
    --shell: calc(100% - 28px);
  }

  .nav {
    min-height: 76px;
    align-items: center;
  }

  .nav-links {
    min-height: calc(100dvh - 76px);
    padding-top: 36px;
  }

  .brand img {
    width: 126px;
  }

  .hero {
    min-height: 710px;
  }

  .hero-content {
    padding: 145px 0 96px;
  }

  .hero h1 {
    font-size: clamp(4rem, 19vw, 5.8rem);
  }

  .hero h1 em {
    margin-left: 14px;
  }

  .hero-copy {
    font-size: 0.94rem;
  }

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

  .hero-actions .button {
    width: 100%;
    justify-content: space-between;
  }

  .hero-foot span:last-child {
    display: none;
  }

  .section-space {
    padding: 72px 0;
  }

  .section-heading h2,
  .process-heading h2,
  .work-heading h2,
  .contact-copy h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .capability-grid,
  .process-grid,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 220px;
  }

  .capability-card > span,
  .process-card > span {
    margin-bottom: 44px;
  }

  .philosophy {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .philosophy p {
    font-size: 2.4rem;
  }

  .process-card {
    min-height: 230px;
  }

  .logo-card,
  .logo-card:last-child {
    min-height: 148px;
    grid-column: auto;
  }

  .contact-grid {
    gap: 50px;
  }

  .contact-details a {
    flex-direction: column;
    gap: 5px;
  }

  .contact-form {
    padding: 24px 18px;
    margin-inline: 0;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-top > p {
    text-align: left;
  }

  .footer-bottom {
    margin-bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .mobile-contact {
    display: none !important;
  }
}
