/*
Theme Name: Bluecraft Studio
Author: Sudais
Version: 1.0
*/

@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #0c1628;
  --ink-soft: #536176;
  --navy: #0c182a;
  --navy-mid: #132540;
  --paper: #f5f7f8;
  --white: #ffffff;
  --line: #dbe2e8;
  --blue: #416df3;
  --blue-light: #aebeff;
  --mint: #bfe8d6;
  --yellow: #f3d071;
  --mono: "DM Mono", "Courier New", monospace;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea {
  font-family: var(--sans);
}

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

button,
input,
textarea {
  font-size: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

.site-shell {
  overflow: hidden;
}

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

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  display: flex;
  width: min(1280px, calc(100% - 96px));
  align-items: center;
  justify-content: space-between;
  padding: 29px 0;
  color: var(--ink);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  letter-spacing: -0.04em;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 25px;
}

.brand-mark span {
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
}

.brand-mark span:nth-child(1) {
  top: 0;
  left: 8px;
}

.brand-mark span:nth-child(2) {
  top: 8px;
  left: 0;
}

.brand-mark span:nth-child(3) {
  right: 0;
  bottom: 0;
  background: var(--mint);
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.brand-name span {
  color: var(--blue);
  font-weight: 500;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.primary-nav > a:not(.nav-button) {
  position: relative;
  opacity: 0.73;
  transition: color 180ms ease, opacity 180ms ease;
}

.primary-nav > a:not(.nav-button)::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--mint);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav > a:not(.nav-button):hover,
.primary-nav > a.active {
  opacity: 1;
}

.primary-nav > a:not(.nav-button):hover::after,
.primary-nav > a.active::after {
  transform: scaleX(1);
}

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-button {
  min-height: 38px;
  padding: 0 15px;
  background: var(--blue);
  color: var(--white);
}

.nav-button:hover,
.button-primary:hover {
  background: var(--mint);
  color: var(--ink);
  transform: translateY(-2px);
}

.nav-button svg,
.button svg,
.text-link svg,
.service-link svg,
.project-arrow svg,
.circle-link svg,
.social-links svg,
.footer-bottom svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 12px 9px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  display: flex;
  min-height: 770px;
  align-items: center;
  overflow: hidden;
  background: #eef2f6;
  color: var(--ink);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(238, 242, 246, 0.98) 0%, rgba(238, 242, 246, 0.92) 38%, rgba(238, 242, 246, 0.45) 75%, rgba(238, 242, 246, 0.22) 100%), url("https://images.unsplash.com/photo-1558655146-9f40138edfeb?auto=format&fit=crop&w=2200&q=90");
  background-position: center, 72% center;
  background-size: cover;
  animation: heroReveal 1.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-backdrop::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(238, 242, 246, 0.2) 0%, transparent 38%, rgba(238, 242, 246, 0.35) 100%);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 84px;
  animation: contentRise 900ms 100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-block;
  width: 29px;
  height: 1px;
  background: currentColor;
}

.hero-eyebrow {
  color: var(--blue);
}

.hero h1 {
  max-width: 810px;
  margin: 0;
  font-size: clamp(3.55rem, 7.2vw, 6.8rem);
  font-weight: 600;
  letter-spacing: -0.085em;
  line-height: 0.97;
}

h1 em,
h2 em {
  color: var(--blue);
  font-style: normal;
}

.hero-copy {
  max-width: 450px;
  margin: 31px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-top: 39px;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  border-bottom: 1px solid #9daaba;
  padding-bottom: 7px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  transition: color 180ms ease, gap 180ms ease, border-color 180ms ease;
}

.text-link:hover,
.service-link:hover {
  gap: 15px;
  border-color: var(--blue);
  color: var(--blue);
}

.text-link-light {
  border-color: #b7c2cf;
  color: var(--ink);
}

.text-link-light:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.hero-footer {
  position: absolute;
  right: 50%;
  bottom: 35px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: translateX(50%);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.scroll-cue span {
  display: inline-block;
  width: 23px;
  height: 1px;
  background: var(--mint);
}

.intro-strip {
  background: var(--mint);
}

.intro-strip-inner {
  display: grid;
  grid-template-columns: 1fr 2.5fr auto;
  align-items: center;
  gap: 35px;
  min-height: 150px;
}

.intro-strip .eyebrow {
  margin: 0;
  color: var(--navy);
}

.intro-statement {
  max-width: 660px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.16;
}

.circle-link {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(12, 24, 42, 0.35);
  border-radius: 50%;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.circle-link:hover {
  background: var(--navy);
  color: var(--mint);
  transform: rotate(45deg);
}

.section {
  padding: 130px 0;
}

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

.section-heading {
  margin-bottom: 65px;
}

.section-heading h2 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(2.5rem, 5.25vw, 4.75rem);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.99;
}

.section-heading h2 em {
  color: var(--blue);
}

.split-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 80px;
}

.section-lede {
  max-width: 285px;
  margin: 0 0 2px auto;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.72;
}

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

.service-item {
  min-height: 310px;
  padding: 26px 27px 27px 0;
  border-right: 1px solid var(--line);
  transition: padding 200ms ease, background 200ms ease, color 200ms ease;
}

.service-item:not(:first-child) {
  padding-left: 27px;
}

.service-item:last-child {
  border-right: 0;
}

.service-item:hover {
  padding-top: 21px;
  background: #edf2fb;
}

.service-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue);
}

.service-number,
.project-category {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-icon {
  display: flex;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.service-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.service-item:hover .service-icon {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
  transform: rotate(-10deg);
}

.service-item h3 {
  margin: 67px 0 13px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.service-item p {
  max-width: 220px;
  min-height: 68px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 19px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  transition: color 180ms ease, gap 180ms ease, border-color 180ms ease;
}

.portfolio-section {
  background: var(--white);
}

.portfolio-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.portfolio-heading .text-link {
  margin-bottom: 5px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px 25px;
}

.project {
  display: block;
}

.project-image-wrap {
  position: relative;
  aspect-ratio: 1.36 / 1;
  overflow: hidden;
  background: #dce4eb;
}

.project-large .project-image-wrap,
.project-wide .project-image-wrap {
  aspect-ratio: 1.62 / 1;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 400ms ease;
}

.project:nth-child(2) .project-image,
.project:nth-child(4) .project-image {
  filter: saturate(0.72) sepia(0.08);
}

.project:hover .project-image {
  filter: saturate(1);
  transform: scale(1.045);
}

.project-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--navy);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 250ms ease, transform 250ms ease;
}

.project:hover .project-arrow {
  opacity: 1;
  transform: translateY(0);
}

.project-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 25px;
  padding-top: 17px;
}

.project-category {
  margin: 0 0 8px;
  color: var(--blue);
}

.project h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.project-description {
  max-width: 225px;
  margin: 1px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.65;
  text-align: right;
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: 130px;
}

.about-image-column {
  position: relative;
  padding-bottom: 37px;
}

.about-image-frame {
  position: relative;
  aspect-ratio: 0.9 / 1;
  overflow: hidden;
  background: #dfe6e4;
}

.about-image-frame::after {
  position: absolute;
  top: 21px;
  left: 21px;
  width: 46px;
  height: 46px;
  border-top: 1px solid var(--mint);
  border-left: 1px solid var(--mint);
  content: "";
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78);
}

.image-caption {
  position: absolute;
  right: -32px;
  bottom: 0;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: right bottom;
}

.about-copy .eyebrow {
  margin-bottom: 27px;
}

.about-copy h2 {
  max-width: 545px;
  margin: 0 0 29px;
  font-size: clamp(2.5rem, 4.3vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 1.02;
}

.about-copy h2 em {
  color: var(--blue);
}

.about-copy > p:not(.eyebrow) {
  max-width: 470px;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.82;
}

.about-copy .text-link {
  margin-top: 19px;
}

.testimonials-section {
  background: var(--white);
}

.testimonials-heading {
  margin-bottom: 55px;
}

.testimonials-heading h2 {
  max-width: 700px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.testimonial {
  margin: 0;
  padding: 27px 35px 0 0;
  border-right: 1px solid var(--line);
}

.testimonial:not(:first-child) {
  padding-left: 35px;
}

.testimonial:last-child {
  border-right: 0;
}

.testimonial blockquote {
  min-height: 128px;
  margin: 0 0 32px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.48;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.testimonial-initials {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--navy);
  font-family: var(--mono);
  font-size: 9px;
}

.testimonial:nth-child(2) .testimonial-initials {
  background: var(--yellow);
}

.testimonial:nth-child(3) .testimonial-initials {
  background: var(--mint);
}

.testimonial figcaption strong,
.testimonial figcaption small {
  display: block;
}

.testimonial figcaption strong {
  font-size: 11px;
}

.testimonial figcaption small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 10px;
}

.contact-section {
  padding: 124px 0 132px;
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 130px;
}

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

.contact-intro h2 {
  max-width: 500px;
  margin: 0;
  font-size: clamp(3rem, 5.5vw, 5.25rem);
  font-weight: 600;
  letter-spacing: -0.085em;
  line-height: 0.98;
}

.contact-intro h2 em {
  color: var(--blue);
}

.contact-intro > p:not(.eyebrow) {
  max-width: 360px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 44px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
}

.contact-details a {
  width: fit-content;
  border-bottom: 1px solid var(--blue);
  padding-bottom: 5px;
  color: var(--ink);
  transition: color 180ms ease, border-color 180ms ease;
}

.contact-details a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.contact-form {
  padding-top: 11px;
}

.form-row {
  position: relative;
  margin-bottom: 27px;
  border-bottom: 1px solid var(--line);
}

.form-row label {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-row input,
.form-row textarea {
  display: block;
  width: 100%;
  border: 0;
  outline: 0;
  padding: 3px 0 14px;
  resize: vertical;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.form-row textarea {
  min-height: 67px;
  line-height: 1.5;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #8a97a8;
  opacity: 1;
}

.form-row:focus-within {
  border-color: var(--blue);
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 37px;
}

.form-success {
  margin: 0;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: center;
  gap: 35px;
  min-height: 130px;
  border-bottom: 1px solid var(--line);
}

.brand-footer .brand-mark span:nth-child(1),
.brand-footer .brand-mark span:nth-child(2) {
  background: var(--blue);
}

.footer-top > p {
  max-width: 315px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.social-links a:hover {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--navy);
}

.social-links svg {
  width: 14px;
  height: 14px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.footer-bottom > div {
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-bottom a {
  transition: color 180ms ease;
}

.footer-bottom a:hover {
  color: var(--blue);
}

.footer-bottom a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.footer-bottom a:last-child svg {
  width: 11px;
  height: 11px;
  transform: rotate(180deg);
}

@keyframes heroReveal {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes contentRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .container,
  .site-header {
    width: min(100% - 56px, 720px);
  }

  .site-header {
    padding-top: 23px;
  }

  .primary-nav {
    gap: 19px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-backdrop {
    background-position: center, 67% center;
  }

  .intro-strip-inner {
    grid-template-columns: 1fr 2fr auto;
    gap: 22px;
  }

  .section {
    padding: 100px 0;
  }

  .split-heading,
  .about-grid,
  .contact-grid {
    gap: 55px;
  }

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

  .service-item:nth-child(2) {
    border-right: 0;
  }

  .service-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .service-item:nth-child(3) {
    padding-left: 0;
  }

  .testimonial blockquote {
    min-height: 180px;
  }

  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (max-width: 640px) {
  .container,
  .site-header {
    width: calc(100% - 40px);
  }

  .site-header {
    padding: 19px 0;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

  .menu-toggle.is-open span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle.is-open span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    top: 10px;
    right: -10px;
    left: -10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 75px 30px 27px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(12, 22, 40, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav > a:not(.nav-button) {
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
    opacity: 1;
  }

  .primary-nav > a:not(.nav-button)::after {
    display: none;
  }

  .primary-nav .nav-button {
    align-self: flex-start;
    margin-top: 21px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-backdrop {
    background-image: linear-gradient(90deg, rgba(238, 242, 246, 0.96) 0%, rgba(238, 242, 246, 0.78) 100%), url("https://images.unsplash.com/photo-1558655146-9f40138edfeb?auto=format&fit=crop&w=1400&q=86");
    background-position: center, 68% center;
  }

  .hero-content {
    padding-top: 54px;
  }

  .hero h1 {
    max-width: 370px;
    font-size: clamp(3.35rem, 15vw, 5rem);
  }

  .hero-copy {
    max-width: 340px;
    font-size: 13px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 23px;
  }

  .hero-footer {
    bottom: 21px;
    font-size: 8px;
  }

  .hero-footer > span:first-child {
    max-width: 160px;
    line-height: 1.45;
  }

  .intro-strip-inner {
    grid-template-columns: 1fr auto;
    gap: 15px;
    min-height: 155px;
  }

  .intro-strip .eyebrow {
    grid-column: 1 / -1;
    align-self: end;
    margin-top: 19px;
  }

  .intro-statement {
    align-self: start;
    font-size: 20px;
  }

  .circle-link {
    width: 44px;
    height: 44px;
  }

  .section {
    padding: 83px 0;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .split-heading,
  .about-grid,
  .contact-grid {
    display: block;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: 2.75rem;
  }

  .section-lede {
    max-width: 310px;
    margin: 24px 0 0;
  }

  .service-grid {
    display: block;
  }

  .service-item,
  .service-item:not(:first-child),
  .service-item:nth-child(3) {
    min-height: auto;
    padding: 23px 0 27px;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .service-item:first-child {
    border-top: 0;
  }

  .service-item:hover {
    padding-top: 18px;
  }

  .service-item h3 {
    margin-top: 34px;
  }

  .service-item p {
    max-width: 310px;
    min-height: auto;
  }

  .portfolio-heading {
    display: block;
  }

  .portfolio-heading .text-link {
    margin-top: 25px;
  }

  .portfolio-grid {
    display: block;
  }

  .project,
  .project:not(:last-child) {
    display: block;
    margin-bottom: 47px;
  }

  .project-image-wrap,
  .project-large .project-image-wrap,
  .project-wide .project-image-wrap {
    aspect-ratio: 1.2 / 1;
  }

  .project-arrow {
    opacity: 1;
    transform: none;
  }

  .project-meta {
    display: block;
  }

  .project-description {
    max-width: 260px;
    margin-top: 11px;
    text-align: left;
  }

  .about-image-column {
    margin: 0 22px 60px 0;
  }

  .about-copy h2 {
    margin-bottom: 24px;
  }

  .image-caption {
    right: -40px;
  }

  .testimonial-grid {
    display: block;
  }

  .testimonial,
  .testimonial:not(:first-child) {
    padding: 27px 0 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .testimonial blockquote {
    min-height: auto;
    margin-bottom: 26px;
  }

  .contact-section {
    padding: 83px 0 90px;
  }

  .contact-intro h2 {
    max-width: 360px;
    font-size: 3.25rem;
  }

  .contact-form {
    margin-top: 65px;
  }

  .footer-top {
    display: block;
    min-height: 0;
    padding: 38px 0 30px;
  }

  .footer-top > p {
    margin: 23px 0 25px;
  }

  .footer-bottom {
    display: block;
    padding: 22px 0 27px;
    line-height: 1.5;
  }

  .footer-bottom > div {
    flex-wrap: wrap;
    gap: 15px 22px;
    margin-top: 15px;
  }
}

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