/* ==========================================================================
   BILINE Dev — design system
   Less is more: white space, hairline borders, restrained orange accents.
   ========================================================================== */

:root {
  --primary: #c76337;
  --secondary: #a9532c;
  --accent: #d36b3e;
  --white: #ffffff;
  --soft: #f5f3f1;
  --line: #e7e7e8;
  --ink: #242424;
  --body: #4a4a4a;
  --muted: #737373;
  --faint: #9a9a9a;

  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 10px;
  --radius-lg: 16px;

  --section-y: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* Base ------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

p {
  margin: 0 0 1em;
}

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

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

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

::selection {
  background: rgba(199, 99, 55, 0.16);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  border-radius: 6px;
  transition: top 0.2s var(--ease);
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Typography helpers ----------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow-dot {
  width: 6px;
  height: 7px;
  background: var(--primary);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.lead {
  max-width: 60ch;
  margin: 22px 0 0;
  font-size: clamp(16px, 1rem + 0.25vw, 18px);
  line-height: 1.72;
  color: var(--muted);
}

.lead-sm {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.statement {
  padding-left: 16px;
  border-left: 2px solid var(--primary);
  color: var(--ink);
  font-weight: 500;
}

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

.note {
  max-width: 46ch;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--faint);
}

.is-muted {
  color: var(--faint) !important;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.18s var(--ease);
}

.btn:hover .icon {
  transform: translateX(2px);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--secondary);
}

.btn--ghost {
  background: var(--white);
  border-color: #dcd7d2;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: #bdb6b0;
  background: #fbfaf9;
}

.btn--sm {
  padding: 10px 18px;
  font-size: 13.5px;
}

.btn--block {
  width: 100%;
  margin-top: 26px;
}

.btn[disabled],
.btn[aria-busy="true"] {
  opacity: 0.65;
  pointer-events: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

.link-arrow .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.18s var(--ease);
}

.link-arrow:hover {
  color: var(--secondary);
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

.link-arrow--sm {
  margin-top: 18px;
  font-size: 13.5px;
}

/* Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.98);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: auto;
  height: 32px;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-display);
  line-height: 1;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.brand-suffix {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--primary);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-box {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle-box span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.site-header.is-open .nav-toggle-box span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.site-header.is-open .nav-toggle-box span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle-box span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.site-nav {
  display: none;
}

.site-header.is-open .site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px var(--gutter) 24px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 40px -40px rgba(0, 0, 0, 0.5);
}

.nav-list {
  display: flex;
  flex-direction: column;
}

.nav-link {
  display: block;
  padding: 13px 2px;
  border-bottom: 1px solid #f3f0ed;
  font-size: 15px;
  color: var(--body);
  transition: color 0.15s var(--ease);
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link.is-active {
  color: var(--primary);
  font-weight: 500;
}

.nav-cta {
  width: 100%;
}

/* Hero ------------------------------------------------------------------- */

.hero {
  padding-top: clamp(40px, 6vw, 76px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.hero-inner {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

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

.hero-title {
  font-size: clamp(2.35rem, 1.35rem + 3.6vw, 4.05rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 17ch;
}

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

.hero-visual {
  justify-self: center;
  width: 100%;
  max-width: 460px;
}

.hero-panel {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.02;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(rgba(199, 99, 55, 0.14) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(160deg, #fdfbf9 0%, #f4efea 100%);
}

.hero-hex {
  position: absolute;
  width: 72%;
  color: rgba(199, 99, 55, 0.3);
}

.hero-hex polygon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.hero-hex--inner {
  width: 56%;
  color: rgba(199, 99, 55, 0.16);
  transform: rotate(180deg);
}

.hero-logo {
  position: relative;
  width: clamp(120px, 16vw, 168px);
  height: auto;
  filter: drop-shadow(0 22px 34px rgba(169, 83, 44, 0.22));
}

.hero-caption {
  margin: 16px 0 0;
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--faint);
  text-align: center;
}

.industry-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.industry-strip li {
  display: inline-flex;
  align-items: center;
}

.industry-strip li:not(:first-child)::before {
  content: "";
  width: 3px;
  height: 3px;
  margin-right: 18px;
  border-radius: 50%;
  background: rgba(199, 99, 55, 0.7);
}

/* Sections --------------------------------------------------------------- */

.section {
  padding-block: var(--section-y);
}

.section--soft {
  background: var(--soft);
}

.section--tight {
  padding-top: clamp(8px, 2vw, 24px);
}

.split {
  display: grid;
  gap: 24px;
}

.section-title {
  font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.45rem);
  line-height: 1.16;
  letter-spacing: -0.028em;
  max-width: 20ch;
}

.split-body {
  max-width: 620px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--body);
}

.split-body > p + p {
  margin-top: 0;
}

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(36px, 4vw, 52px);
}

.section-desc {
  max-width: 46ch;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
}

.section-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: clamp(36px, 4vw, 48px);
}

.section-foot--between {
  justify-content: space-between;
}

/* Service grid ----------------------------------------------------------- */

.service-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background-color 0.2s var(--ease);
}

.service-card:hover {
  background: #fdfaf8;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--primary);
  background: var(--white);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.service-icon .icon {
  width: 22px;
  height: 22px;
}

.service-card:hover .service-icon {
  border-color: rgba(199, 99, 55, 0.4);
  background: #fbf5f1;
}

.service-title {
  font-size: 17.5px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.service-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.service-card .link-arrow {
  margin-top: auto;
  padding-top: 20px;
}

/* Principles ------------------------------------------------------------- */

.principles {
  display: grid;
  gap: 0;
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.principle {
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--line);
}

.principle-step {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--primary);
}

.principle-title {
  font-size: 17px;
  margin-bottom: 6px;
}

.principle-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* Industries ------------------------------------------------------------- */

.industry-list {
  margin-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.industry-row {
  display: grid;
  gap: 6px 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.industry-index {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--faint);
}

.industry-title {
  font-size: 17.5px;
  line-height: 1.4;
}

.industry-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* Work cards ------------------------------------------------------------- */

.work-grid {
  display: grid;
  gap: clamp(28px, 3.5vw, 36px);
}

.work-card {
  display: block;
  min-width: 0;
}

.work-body {
  padding-top: 20px;
}

.work-cover {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a.work-card:hover .work-cover,
a.work-link:hover .work-cover {
  border-color: rgba(199, 99, 55, 0.45);
}

.project > .container > .work-cover {
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  margin-top: 12px;
}

.work-meta {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--faint);
}

.work-title {
  font-size: 18.5px;
  line-height: 1.35;
  transition: color 0.18s var(--ease);
}

.work-text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.work-card:hover .work-title {
  color: var(--primary);
}

a.work-card .mockup,
a.work-link .mockup {
  transition: border-color 0.2s var(--ease), transform 0.3s var(--ease);
}

a.work-card:hover .mockup,
a.work-link:hover .mockup {
  border-color: rgba(199, 99, 55, 0.45);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tag {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-size: 11.5px;
  color: #6a6a6a;
}

.work-link {
  display: block;
}

/* Mockups ---------------------------------------------------------------- */

.mockup {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: clamp(18px, 5%, 34px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  --mock: var(--primary);
}

.mockup--tone-2 {
  --mock: var(--secondary);
}

.mockup--tone-3 {
  --mock: var(--accent);
}

.mockup-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.mockup-hex {
  position: absolute;
  right: -10%;
  bottom: -22%;
  width: 54%;
  color: rgba(199, 99, 55, 0.12);
  pointer-events: none;
}

.mockup-hex polygon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.browser {
  width: 100%;
  max-width: 300px;
  overflow: hidden;
  border: 1px solid #e2dcd6;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 30px -26px rgba(36, 36, 36, 0.45);
}

.browser-bar {
  display: flex;
  gap: 5px;
  padding: 9px 11px;
  border-bottom: 1px solid #f1ece7;
}

.browser-bar span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ded8d2;
}

.browser-bar span:first-child {
  background: var(--mock);
  opacity: 0.7;
}

.browser-body {
  padding: 12px;
}

.browser-hero {
  height: clamp(42px, 12vw, 58px);
  border-radius: 5px;
  background: linear-gradient(120deg, var(--mock), rgba(211, 107, 62, 0.45));
}

.browser-text {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.browser-text i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #efebe7;
}

.browser-text .w80 {
  width: 80%;
}

.browser-text .w60 {
  width: 60%;
}

.browser-text .w70 {
  width: 70%;
}

.phone {
  position: relative;
  width: 116px;
  aspect-ratio: 9 / 18;
  padding: 8px;
  border: 5px solid #2c2b2a;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 28px -22px rgba(36, 36, 36, 0.5);
}

.phone-notch {
  width: 30px;
  height: 4px;
  margin: 0 auto 8px;
  border-radius: 2px;
  background: #e2dcd6;
}

.phone-hero {
  height: 34%;
  border-radius: 7px;
  background: linear-gradient(150deg, var(--mock), rgba(211, 107, 62, 0.45));
}

.phone-line {
  height: 5px;
  margin-top: 7px;
  border-radius: 3px;
  background: #efebe7;
}

.phone-line--w70 {
  width: 70%;
}

.phone-line--w45 {
  width: 45%;
}

.phone-tiles {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.phone-tiles span {
  flex: 1;
  height: 24px;
  border: 1px solid #f0ebe6;
  border-radius: 5px;
  background: #f8f5f2;
}

.app-window {
  display: flex;
  width: 100%;
  max-width: 300px;
  height: 78%;
  overflow: hidden;
  border: 1px solid #e2dcd6;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 30px -26px rgba(36, 36, 36, 0.45);
}

.app-sidebar {
  display: grid;
  gap: 7px;
  align-content: start;
  width: 48px;
  padding: 11px 8px;
  border-right: 1px solid #f1ece7;
  background: #fbf9f7;
}

.app-sidebar span {
  height: 16px;
  border-radius: 4px;
  background: #eee9e3;
}

.app-sidebar span:first-child {
  background: var(--mock);
  opacity: 0.75;
}

.app-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.app-title {
  width: 46%;
  height: 8px;
  border-radius: 3px;
  background: #e8e2dc;
}

.app-stats {
  display: flex;
  gap: 6px;
}

.app-stats span {
  flex: 1;
  height: 32px;
  border: 1px solid #f1ece6;
  border-radius: 5px;
  background: #fbf8f5;
}

.app-rows {
  display: grid;
  gap: 6px;
}

.app-rows i {
  display: block;
  height: 11px;
  border-radius: 3px;
  background: #f6f2ee;
}

.chart {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 300px;
  height: 76%;
  padding: 14px;
  border: 1px solid #e2dcd6;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 30px -26px rgba(36, 36, 36, 0.45);
}

.chart-head {
  display: flex;
  justify-content: space-between;
}

.chart-head span {
  height: 6px;
  border-radius: 3px;
  background: #efebe7;
}

.chart-head span:first-child {
  width: 42%;
}

.chart-head span:last-child {
  width: 16%;
  background: var(--mock);
  opacity: 0.6;
}

.chart-bars {
  display: flex;
  flex: 1;
  align-items: flex-end;
  gap: 7px;
  background-image: linear-gradient(#f4f0ec 1px, transparent 1px);
  background-size: 100% 24px;
}

.chart-bars i {
  flex: 1;
  height: var(--bar);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, var(--mock), rgba(211, 107, 62, 0.32));
  opacity: 0.85;
}

/* CTA -------------------------------------------------------------------- */

.cta-section {
  padding-bottom: clamp(56px, 7vw, 96px);
}

.cta-panel {
  position: relative;
  display: grid;
  gap: 28px;
  overflow: hidden;
  padding: clamp(32px, 5vw, 60px);
  border-radius: var(--radius-lg);
  background: #242424;
  color: var(--white);
}

.cta-hex {
  position: absolute;
  top: -60px;
  right: -50px;
  width: 260px;
  transform: rotate(12deg);
  color: rgba(255, 255, 255, 0.07);
}

.cta-hex polygon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.cta-copy {
  position: relative;
  max-width: 620px;
}

.cta-panel .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.cta-panel .eyebrow::before {
  content: "";
  width: 6px;
  height: 7px;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.cta-title {
  font-size: clamp(1.65rem, 1.3rem + 1.6vw, 2.35rem);
  line-height: 1.15;
  color: var(--white);
  max-width: 22ch;
}

.cta-text {
  margin: 16px 0 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
}

.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta-panel .btn--ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: transparent;
  color: var(--white);
}

.cta-panel .btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #faf9f8;
}

.footer-top {
  display: grid;
  gap: 36px;
  padding-block: clamp(48px, 6vw, 68px) clamp(36px, 4vw, 48px);
}

.footer-brand .brand-mark {
  height: 28px;
}

.footer-intro {
  max-width: 34ch;
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-tagline {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}

.footer-heading {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-list li {
  margin-bottom: 9px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.footer-list a {
  transition: color 0.15s var(--ease);
}

.footer-list a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--faint);
}

.footer-bottom p {
  margin: 0;
}

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

.page-header {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(28px, 3vw, 40px);
}

.page-title {
  max-width: 24ch;
  font-size: clamp(2.05rem, 1.5rem + 2.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
}

.page-header .lead {
  max-width: 64ch;
}

/* Services page ---------------------------------------------------------- */

.service-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  padding-bottom: clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.service-index-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  color: #5c5c5c;
  background: var(--white);
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease);
}

.service-index-link span {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--primary);
}

.service-index-link:hover {
  border-color: rgba(199, 99, 55, 0.5);
  color: var(--primary);
}

.service-section {
  padding-block: clamp(40px, 5vw, 68px);
  border-bottom: 1px solid var(--line);
}

.service-layout {
  display: grid;
  gap: 32px;
}

.service-meta-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.service-number {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--primary);
}

.service-meta .service-icon {
  margin-bottom: 0;
  width: 40px;
  height: 40px;
}

.service-heading {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
  line-height: 1.2;
}

.capability-list {
  margin-top: 26px;
  border-top: 1px solid #f0ece8;
}

.capability-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0ece8;
  font-size: 13.5px;
  color: var(--body);
}

.capability-list .icon {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  color: var(--primary);
}

.service-headline {
  font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.6rem);
  line-height: 1.3;
  margin-bottom: 18px;
}

.service-detail p {
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--body);
}

.service-detail .link-arrow {
  margin-top: 12px;
}

/* About page ------------------------------------------------------------- */

.timeline {
  display: grid;
  gap: 28px;
  margin-top: clamp(40px, 5vw, 60px);
}

.timeline-item {
  position: relative;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.timeline-marker {
  position: absolute;
  top: -3.5px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.timeline-year {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.timeline-title {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.timeline-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.team-grid {
  display: grid;
  gap: 40px;
}

.team-card {
  display: grid;
  gap: 22px;
  align-content: start;
}

.portrait {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, #f8f4f0, #efe7e0);
}

.portrait-hex {
  position: absolute;
  width: 76%;
  color: rgba(199, 99, 55, 0.18);
}

.portrait-hex polygon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.portrait-initials {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(169, 83, 44, 0.62);
}

.portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-name {
  font-size: 18.5px;
  line-height: 1.35;
}

.team-role {
  margin: 8px 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.team-bio {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.values-grid {
  display: grid;
  margin-top: clamp(36px, 4vw, 52px);
  border-top: 1px solid #e2ddda;
}

.value {
  padding: 28px 0;
  border-bottom: 1px solid #e2ddda;
}

.value-number {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--primary);
}

.value-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.value-text {
  font-size: 14px;
  line-height: 1.75;
  color: #5f5b58;
}

.logo-layout {
  display: grid;
  gap: 36px;
  margin-top: clamp(32px, 4vw, 48px);
}

.logo-stage {
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(rgba(199, 99, 55, 0.1) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--soft);
}

.logo-stage img {
  width: clamp(140px, 22vw, 190px);
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(169, 83, 44, 0.16));
}

.logo-caption {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--faint);
  text-align: center;
}

.logo-notes {
  display: grid;
  gap: 36px;
  align-content: start;
}

.logo-note {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.logo-note:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.logo-note-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.logo-note-head h3 {
  font-size: 18px;
}

.logo-note p {
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--body);
}

.diagram {
  width: 32px;
  height: 36px;
  color: var(--primary);
}

.diagram polygon,
.diagram path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.swatch {
  width: 30px;
  height: 33px;
  background: var(--primary);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* Portfolio page --------------------------------------------------------- */

.notice {
  max-width: 78ch;
  margin: 0 0 32px;
  padding: 14px 18px;
  border: 1px solid #eee1d8;
  border-left: 3px solid var(--primary);
  border-radius: 6px;
  background: #fcf8f5;
  font-size: 13.5px;
  line-height: 1.65;
  color: #6b5c52;
}

.notice strong {
  color: #4a3428;
}

.notice--inline {
  display: inline-block;
  margin: 26px 0 0;
  font-size: 12.5px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-bottom: 28px;
}

.filter-label {
  margin: 0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-size: 13px;
  color: #5c5c5c;
  cursor: pointer;
  transition: border-color 0.16s var(--ease), background-color 0.16s var(--ease),
    color 0.16s var(--ease);
}

.filter-button:hover {
  border-color: #cfc8c2;
}

.filter-button.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.filter-count {
  margin: 0 0 0 auto;
  font-size: 12.5px;
  color: var(--faint);
}

.empty-state {
  padding: 32px 0;
  font-size: 14px;
  color: var(--muted);
}

.empty-state a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Project detail --------------------------------------------------------- */

.page-header--project {
  padding-top: clamp(32px, 4vw, 56px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s var(--ease);
}

.back-link .icon {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
}

.back-link:hover {
  color: var(--primary);
}

.project .mockup {
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  margin-top: 12px;
}

.project-layout {
  display: grid;
  gap: 40px;
}

.project-block {
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid #f0ece8;
}

.project-block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.project-heading {
  font-size: 19px;
  margin-bottom: 12px;
}

.project-block p {
  max-width: 66ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--body);
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f1ed;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--body);
}

.bullet-list li:first-child {
  padding-top: 0;
}

.bullet-list .icon {
  width: 15px;
  height: 15px;
  margin-top: 4px;
  color: var(--primary);
}

.project-aside {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #faf8f6;
  align-self: start;
}

.aside-heading {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
}

.project-aside .tag-list {
  margin-top: 0;
}

.project-aside .aside-heading + .tag-list {
  margin-bottom: 26px;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid #ece6e1;
}

.detail-list div:last-of-type {
  margin-bottom: 24px;
}

.detail-list dt {
  font-size: 12.5px;
  color: var(--muted);
}

.detail-list dd {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
}

/* Contact page ----------------------------------------------------------- */

.contact-layout {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
}

.contact-info .aside-heading {
  margin-bottom: 6px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-icon {
  margin-top: 2px;
  color: var(--primary);
}

.info-icon .icon {
  width: 19px;
  height: 19px;
}

.info-label {
  margin: 0 0 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.info-value {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink);
}

a.info-value {
  transition: color 0.15s var(--ease);
}

a.info-value:hover {
  color: var(--primary);
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.contact-note {
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--faint);
}

.contact-form-wrap {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 30px 60px -55px rgba(36, 36, 36, 0.5);
}

.form-title {
  font-size: 21px;
}

.form-intro {
  max-width: 56ch;
  margin: 8px 0 26px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.alert {
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid #e8d9cd;
  border-left: 3px solid var(--primary);
  border-radius: 6px;
  background: #fcf8f4;
  font-size: 13.5px;
  line-height: 1.65;
  color: #5c463a;
}

.alert strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.alert--error {
  border-color: #edcfc6;
  border-left-color: #b23b1f;
  background: #fdf5f2;
  color: #7d3520;
}

.form-row {
  display: grid;
  gap: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  min-width: 0;
}

.field-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
}

.req {
  color: var(--primary);
}

.optional {
  margin-left: 4px;
  font-size: 11px;
  font-weight: 400;
  color: var(--faint);
}

.field-input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #ded9d4;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.5;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.field-input::placeholder {
  color: #a6a19c;
}

.field-input:hover {
  border-color: #cfc8c2;
}

.field-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(199, 99, 55, 0.12);
}

.field-select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 15px;
}

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

.field-input.is-invalid {
  border-color: #c4563a;
}

.field-input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(196, 86, 58, 0.14);
}

.field-error {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #a63a1f;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 6px;
}

.form-privacy {
  max-width: 38ch;
  margin: 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--faint);
}

/* Error pages ------------------------------------------------------------ */

.error-page {
  padding-block: clamp(72px, 10vw, 132px);
}

.error-inner {
  max-width: 640px;
}

/* Motion ----------------------------------------------------------------- */

@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;
  }
}

/* Responsive ------------------------------------------------------------- */

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

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

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

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
  }

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

@media (min-width: 760px) {
  .industry-row {
    grid-template-columns: 56px minmax(170px, 0.85fr) minmax(240px, 1.15fr);
    align-items: baseline;
    padding: 26px 0;
  }

  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
  }

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

  .team-card {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 26px;
  }

  .portrait {
    aspect-ratio: 3 / 4;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }

  .logo-layout {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 52px;
    align-items: start;
  }

  .contact-note {
    margin-top: 26px;
  }
}

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

  .site-nav,
  .site-header.is-open .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-list {
    flex-direction: row;
    gap: 30px;
  }

  .nav-link {
    padding: 6px 0;
    border-bottom: 0;
    font-size: 14px;
    color: var(--muted);
  }

  .nav-link.is-active {
    position: relative;
    color: var(--ink);
  }

  .nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1.5px;
    background: var(--primary);
  }

  .nav-cta {
    width: auto;
  }

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

  .split {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: end;
  }

  .section-desc {
    justify-self: end;
  }

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

  .principles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 32px;
  }

  .principle {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .service-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(40px, 6vw, 72px);
    align-items: start;
  }

  .service-meta-head {
    max-width: 320px;
  }

  .service-index {
    gap: 10px;
  }

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

  .team-card {
    grid-template-columns: 1fr;
  }

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

  .work-grid--portfolio {
    row-gap: 44px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
  }

  .project-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(40px, 6vw, 72px);
  }

  .project-aside {
    position: sticky;
    top: 100px;
  }

  .cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 36px;
  }

  .cta-actions {
    justify-content: flex-end;
    padding-bottom: 4px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
  }

  .timeline {
    gap: 32px;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(40px, 6vw, 72px);
  }

  .value {
    padding: 30px 0;
  }
}

@media (min-width: 1000px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(48px, 6vw, 80px);
  }

  .hero-visual {
    justify-self: end;
    max-width: 440px;
  }

  .timeline {
    margin-top: 56px;
  }
}

/* Mobile ----------------------------------------------------------------- */

@media (max-width: 899px) {
  .site-header.is-open .site-nav {
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 599px) {
  :root {
    --section-y: clamp(48px, 9vw, 64px);
  }

  .container {
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
  }

  .header-inner {
    min-height: 64px;
    gap: 16px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    height: 28px;
  }

  .brand-name {
    font-size: 14px;
    letter-spacing: 0.12em;
  }

  .brand-suffix {
    font-size: 12.5px;
  }

  .hero {
    padding-top: 22px;
    padding-bottom: 36px;
  }

  .hero-inner {
    gap: 26px;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(1.95rem, 8.4vw, 2.5rem);
    line-height: 1.08;
  }

  .hero .lead {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 22px;
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-visual {
    max-width: 100%;
  }

  .hero-panel {
    aspect-ratio: 2 / 1;
    border-radius: 12px;
  }

  .hero-logo {
    width: clamp(72px, 22vw, 88px);
  }

  .hero-caption {
    display: none;
  }

  .industry-strip {
    margin-top: 26px;
    padding-top: 16px;
    gap: 8px 14px;
    font-size: 10.5px;
  }

  .industry-strip li:not(:first-child)::before {
    margin-right: 12px;
  }

  .page-header {
    padding-top: 30px;
    padding-bottom: 22px;
  }

  .page-title {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }

  .page-header .lead {
    margin-top: 16px;
  }

  .section-head {
    gap: 12px;
    margin-bottom: 28px;
  }

  .section-title {
    max-width: none;
  }

  .filter-bar {
    gap: 10px;
    padding-bottom: 20px;
  }

  .filter-count {
    margin-left: 0;
  }

  .project > .container > .work-cover {
    aspect-ratio: 4 / 3;
  }
}

/* Small phones ----------------------------------------------------------- */

@media (max-width: 380px) {
  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .industry-strip {
    gap: 8px 14px;
    font-size: 10.5px;
  }

  .industry-strip li:not(:first-child)::before {
    margin-right: 12px;
  }
}
