/*
  ARK Houses — render-led visual layer.
  Written specifically for this site in plain CSS. No commercial template code.
*/

:root {
  --navy-950: #001744;
  --navy-900: #002366;
  --navy-800: #0b3474;
  --navy-700: #1a4a8a;
  --gold-500: #d4a017;
  --gold-400: #f0b429;
  --gold-200: #f8de9a;
  --charcoal: #17222d;
  --ink: #25313c;
  --muted: #66727d;
  --line: #dfe4e8;
  --surface: #f6f7f8;
  --surface-2: #eef1f3;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(0, 23, 68, 0.09);
  --shadow-md: 0 18px 44px rgba(0, 23, 68, 0.13);
  --shadow-lg: 0 26px 70px rgba(0, 23, 68, 0.19);
  --utility-height: 42px;
  --header-height: 88px;
  --shell: 1320px;
  --page-gutter: 44px;
}

body {
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

h1,
h2,
h3 {
  color: var(--navy-900);
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.eyebrow,
.section-label,
.footer-label,
.nav-link,
.nav-group-button,
.button {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.button {
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.button-small {
  min-height: 43px;
  padding: 10px 19px;
  font-size: 0.78rem;
}

/* Compact utility bar and light navigation, matching the homepage concept. */
.utility-bar {
  height: var(--utility-height);
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy-950);
  font-size: 0.75rem;
}

.utility-inner {
  min-height: var(--utility-height);
}

.utility-left,
.utility-right {
  gap: 24px;
}

.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.utility-icon {
  color: var(--gold-400);
  font-size: 0.7rem;
  line-height: 1;
}

.utility-right a {
  color: rgba(255, 255, 255, 0.86);
}

.site-header {
  top: 0;
  background: rgba(255, 255, 255, 0.985);
}

.site-header::after {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 180, 41, 0.76), transparent);
}

.header-inner {
  min-height: var(--header-height);
}

.brand img {
  width: 204px;
}

.nav-list {
  gap: 1px;
}

.nav-link,
.nav-group-button {
  min-height: var(--header-height);
  padding: 0 12px;
  color: #2a3540;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.nav-link::after,
.nav-group-button::after {
  left: 12px;
  right: 12px;
  bottom: 15px;
  height: 2px;
  background: var(--gold-500);
}

.nav-dropdown {
  min-width: 265px;
  border-top: 3px solid var(--gold-500);
  border-radius: 0 0 5px 5px;
}

.nav-dropdown a {
  font-size: 0.8rem;
}

.nav-contact {
  margin-left: 10px;
}

.nav-contact .button {
  color: var(--white);
  background: var(--gold-500);
  border-color: var(--gold-500);
}

.nav-contact .button::before {
  background: var(--navy-900);
}

.nav-contact .button:hover,
.nav-contact .button:focus-visible {
  color: var(--white);
  border-color: var(--navy-900);
}

/* Homepage */
.page-home main {
  background: var(--white);
}

.homepage-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: var(--navy-950);
}

.homepage-hero-media,
.homepage-hero-media img,
.homepage-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.homepage-hero-media {
  margin: 0;
}

.homepage-hero-media img {
  object-fit: cover;
  object-position: center 64%;
  transform: scale(1.002);
  animation: ark-hero-settle 1.15s cubic-bezier(.2, .7, .2, 1) both;
}

.homepage-hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(0, 23, 68, 0.97) 0%,
      rgba(0, 23, 68, 0.94) 22%,
      rgba(0, 23, 68, 0.76) 37%,
      rgba(0, 23, 68, 0.31) 55%,
      rgba(0, 23, 68, 0.04) 75%,
      rgba(0, 23, 68, 0) 100%),
    linear-gradient(0deg, rgba(0, 23, 68, 0.22), transparent 34%);
}

.homepage-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.homepage-hero-copy {
  width: min(455px, 46vw);
  padding: 34px 0 62px;
  color: var(--white);
}

.homepage-hero-copy h1 {
  max-width: 445px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.7rem, 4.1vw, 3.6rem);
  line-height: 1.17;
  text-wrap: balance;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.16);
}

.homepage-gold-rule {
  display: block;
  width: 47px;
  height: 3px;
  margin: 24px 0 20px;
  background: var(--gold-400);
}

.homepage-hero-copy > p {
  max-width: 405px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  line-height: 1.58;
}

.homepage-hero-copy .button-row {
  gap: 14px;
}

.button-hero-outline {
  color: var(--white);
  background: rgba(0, 23, 68, 0.2);
  border-color: rgba(240, 180, 41, 0.9);
  backdrop-filter: blur(4px);
}

.button-hero-outline::before {
  background: var(--white);
}

.button-hero-outline:hover,
.button-hero-outline:focus-visible {
  color: var(--navy-950);
  border-color: var(--white);
}

.homepage-feature-overlap {
  position: relative;
  z-index: 5;
  margin-top: -36px;
}

.homepage-feature-overlap .shell,
.homepage-showcase .shell {
  width: min(1164px, calc(100% - var(--page-gutter)));
}

.homepage-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(0, 23, 68, 0.1);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(0, 23, 68, 0.14);
}

.homepage-feature {
  position: relative;
  min-height: 122px;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px 30px;
  transition: background 220ms ease, transform 220ms ease;
}

.homepage-feature + .homepage-feature::before {
  position: absolute;
  left: 0;
  top: 23px;
  bottom: 23px;
  width: 1px;
  content: "";
  background: var(--line);
}

.homepage-feature:hover,
.homepage-feature:focus-visible {
  z-index: 1;
  background: #fbfaf7;
  outline: none;
}

.homepage-feature svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: var(--gold-500);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease;
}

.homepage-feature:hover svg {
  transform: translateY(-3px);
}

.homepage-feature h2 {
  margin: 0 0 4px;
  color: var(--navy-900);
  font-size: 1rem;
  line-height: 1.2;
}

.homepage-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.32;
}

.homepage-showcase {
  padding: 30px 0 30px;
}

.homepage-section-heading {
  display: grid;
  justify-items: center;
  margin-bottom: 18px;
  text-align: center;
}

.homepage-section-heading h2 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.2;
}

.homepage-section-heading span {
  width: 38px;
  height: 2px;
  margin-top: 8px;
  background: var(--gold-500);
}

.homepage-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.homepage-showcase-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0e5e8;
  border-radius: 5px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 23, 68, 0.07);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.homepage-showcase-card:hover,
.homepage-showcase-card:focus-visible {
  transform: translateY(-5px);
  border-color: #cfd6db;
  box-shadow: var(--shadow-md);
  outline: none;
}

.homepage-card-media {
  height: 128px;
  overflow: hidden;
  background: var(--surface-2);
}

.homepage-card-media > img,
.homepage-before-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2, .7, .2, 1);
}

.homepage-showcase-card:hover .homepage-card-media > img,
.homepage-showcase-card:hover .homepage-before-after img {
  transform: scale(1.035);
}

.homepage-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.homepage-before-after figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.homepage-before-after figure + figure {
  border-left: 2px solid var(--white);
}

.homepage-sprite-panel {
  background-image: url("../assets/homepage-card-sprite.png");
  background-repeat: no-repeat;
  background-size: 200% auto;
  transition: background-size 500ms cubic-bezier(.2, .7, .2, 1);
}

.homepage-showcase-card:hover .homepage-sprite-panel,
.homepage-showcase-card:focus-visible .homepage-sprite-panel {
  background-size: 207% auto;
}

.sprite-before {
  background-position: left 13%;
}

.sprite-after {
  background-position: right 13%;
}

.sprite-floorplan {
  background-position: left 80%;
}

.sprite-documentation {
  background-position: right 80%;
}

.homepage-before-after span {
  position: absolute;
  z-index: 2;
  left: 8px;
  top: 8px;
  padding: 3px 7px;
  color: var(--white);
  background: rgba(0, 23, 68, 0.9);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.homepage-document-media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, #f8f8f7, #e9edf0);
}

.homepage-document-media::after {
  position: absolute;
  left: 55%;
  top: 15%;
  width: 12px;
  height: 105px;
  border-radius: 8px;
  content: "";
  background: linear-gradient(90deg, var(--navy-950) 0 62%, var(--gold-500) 62% 78%, var(--navy-950) 78%);
  box-shadow: 0 6px 12px rgba(0, 23, 68, 0.2);
  transform: rotate(49deg);
}

.homepage-document-media > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.84;
}

.homepage-card-copy {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  padding: 9px 14px 10px;
}

.homepage-card-copy h3 {
  margin: 0 0 4px;
  font-size: 0.94rem;
  line-height: 1.15;
}

.homepage-card-copy p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.3;
}

.homepage-card-copy span {
  margin-top: auto;
  color: var(--gold-500);
  font-size: 0.7rem;
  line-height: 1.2;
  font-weight: 700;
}

.homepage-tagline {
  color: var(--white);
  background: var(--navy-900);
  text-align: center;
}

.homepage-tagline .shell {
  min-height: 58px;
  display: grid;
  place-items: center;
  align-content: center;
}

.homepage-tagline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.93);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(0.92rem, 1.35vw, 1.15rem);
}

.homepage-tagline span {
  width: 40px;
  height: 2px;
  margin-top: 8px;
  background: var(--gold-500);
}

/* Project video card — shown only on individual project pages. */
.project-video-section {
  padding: 0 0 54px;
  background: var(--white);
}

.project-video-card {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(420px, 1.28fr);
  gap: 34px;
  align-items: center;
  padding: 30px;
  border: 1px solid #dfe4e8;
  border-top: 3px solid var(--gold-500);
  border-radius: 6px;
  background: #fbfbfa;
  box-shadow: var(--shadow-sm);
}

.project-video-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.project-video-copy p:not(.section-label) {
  margin-bottom: 12px;
  color: var(--muted);
}

.video-file-note {
  margin-bottom: 0 !important;
  font-size: 0.76rem;
}

.video-file-note code {
  padding: 2px 5px;
  color: var(--navy-900);
  background: #edf1f4;
  border-radius: 3px;
  overflow-wrap: anywhere;
}

.project-video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 1px solid rgba(0, 23, 68, 0.2);
  border-radius: 4px;
  background: var(--navy-950);
  box-shadow: 0 12px 28px rgba(0, 23, 68, 0.15);
}

/* Keep the secondary pages aligned with the new visual language. */
.page-hero,
.project-detail-hero,
.article-header,
.insurance-hero {
  background-color: var(--navy-900);
}

.page-hero h1,
.project-detail-hero h1,
.article-header h1 {
  letter-spacing: -0.035em;
}

.service-hero .lead {
  color: rgba(255, 255, 255, 0.72);
}

.service-hero h1 {
  color: var(--white);
}

.service-hero .breadcrumbs {
  color: rgba(255, 255, 255, 0.58);
}

.service-hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.76);
}

.service-photo-render {
  object-position: center 66%;
}

.site-footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--warm);
}

.footer-brand p,
.footer-label {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

@keyframes ark-hero-settle {
  from { opacity: 0.78; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1.002); }
}

@media (max-width: 1180px) {
  :root {
    --page-gutter: 34px;
  }

  .brand img {
    width: 178px;
  }

  .nav-link,
  .nav-group-button {
    padding-inline: 9px;
    font-size: 0.72rem;
  }

  .nav-link::after,
  .nav-group-button::after {
    left: 9px;
    right: 9px;
  }

  .nav-contact {
    margin-left: 4px;
  }

  .nav-contact .button {
    padding-inline: 14px;
  }

  .homepage-feature {
    grid-template-columns: 50px 1fr;
    gap: 16px;
    padding: 22px 22px;
  }

  .homepage-feature svg {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 76px;
  }

  .brand img {
    width: 170px;
  }

  .nav-link,
  .nav-group-button {
    min-height: 52px;
    padding: 14px 22px;
    font-size: 0.78rem;
  }

  .nav-link::after,
  .nav-group-button::after {
    left: 22px;
    right: auto;
    bottom: 0;
  }

  .homepage-hero,
  .homepage-hero-inner {
    min-height: 480px;
  }

  .homepage-hero-media img {
    object-position: 60% 64%;
  }

  .homepage-hero-overlay {
    background: linear-gradient(90deg, rgba(0, 23, 68, 0.97) 0%, rgba(0, 23, 68, 0.88) 35%, rgba(0, 23, 68, 0.42) 70%, rgba(0, 23, 68, 0.1) 100%);
  }

  .homepage-hero-copy {
    width: min(430px, 55vw);
  }

  .homepage-feature-strip {
    grid-template-columns: 1fr;
  }

  .homepage-feature {
    min-height: 104px;
  }

  .homepage-feature + .homepage-feature::before {
    left: 24px;
    right: 24px;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .homepage-showcase-grid {
    gap: 15px;
  }

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

@media (max-width: 760px) {
  :root {
    --page-gutter: 28px;
    --utility-height: 34px;
    --header-height: 72px;
  }

  .utility-left {
    justify-content: flex-start;
  }

  .utility-left .utility-area {
    display: none;
  }

  .homepage-hero,
  .homepage-hero-inner {
    min-height: 520px;
  }

  .homepage-hero-media img {
    object-position: 58% 65%;
  }

  .homepage-hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 23, 68, 0.97) 0%, rgba(0, 23, 68, 0.82) 66%, rgba(0, 23, 68, 0.42) 100%),
      linear-gradient(0deg, rgba(0, 23, 68, 0.35), transparent 45%);
  }

  .homepage-hero-copy {
    width: min(430px, 86vw);
    padding: 48px 0 72px;
  }

  .homepage-hero-copy h1 {
    font-size: clamp(2.5rem, 10vw, 3.2rem);
  }

  .homepage-feature-overlap {
    margin-top: -28px;
  }

  .homepage-showcase {
    padding-top: 28px;
  }

  .homepage-showcase-grid {
    grid-template-columns: 1fr;
  }

  .homepage-card-media {
    height: 168px;
  }

  .homepage-card-copy {
    min-height: 0;
  }

  .project-video-card {
    gap: 24px;
    padding: 24px;
  }
}

@media (max-width: 520px) {
  :root {
    --page-gutter: 22px;
  }

  .utility-left a[href^="mailto"] {
    display: none;
  }

  .brand img {
    width: 150px;
  }

  .homepage-hero,
  .homepage-hero-inner {
    min-height: 490px;
  }

  .homepage-hero-media img {
    object-position: 56% 66%;
  }

  .homepage-hero-copy {
    width: 100%;
    padding: 44px 0 66px;
  }

  .homepage-hero-copy h1 {
    font-size: 2.45rem;
  }

  .homepage-hero-copy > p {
    max-width: 330px;
    font-size: 0.94rem;
  }

  .homepage-feature {
    grid-template-columns: 44px 1fr;
    padding: 21px 18px;
  }

  .homepage-feature svg {
    width: 40px;
    height: 40px;
  }

  .homepage-feature h2 {
    font-size: 0.94rem;
  }

  .homepage-card-media {
    height: 150px;
  }

  .homepage-tagline .shell {
    min-height: 70px;
  }

  .project-video-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .homepage-hero-media img {
    animation: none;
  }
}

.video-placeholder-note {
  margin-bottom: 0 !important;
  padding: 9px 11px;
  border-left: 3px solid var(--gold-500);
  color: var(--navy-900) !important;
  background: #f0f3f5;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Desktop homepage height tuning: keeps the complete homepage close to one screen. */
@media (min-width: 981px) {
  .homepage-hero,
  .homepage-hero-inner {
    min-height: 500px;
  }

  .homepage-hero-copy {
    padding-bottom: 48px;
  }

  .homepage-feature {
    min-height: 124px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .homepage-feature-strip {
    height: 126px;
  }

  .homepage-showcase {
    padding-top: 25px;
    padding-bottom: 14px;
  }

  .homepage-section-heading {
    margin-bottom: 14px;
  }

  .homepage-card-media {
    height: 118px;
  }

  .homepage-card-copy {
    min-height: 100px;
    padding-top: 9px;
    padding-bottom: 10px;
  }

  .homepage-tagline .shell {
    min-height: 60px;
  }
}

/* Refined header and homepage iconography. */
.utility-item {
  gap: 8px;
}

.utility-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  padding: 0;
  overflow: visible;
  color: var(--gold-400);
  background: transparent;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: none;
  transition: color 180ms ease, transform 180ms ease;
}

.utility-icon-social {
  width: 16px;
  height: 16px;
  padding: 0;
  fill: currentColor;
  stroke: none;
}

.utility-item:hover .utility-icon,
.utility-item:focus-visible .utility-icon {
  color: #f6cb61;
  transform: translateY(-1px);
}

.utility-social {
  color: rgba(255, 255, 255, 0.84);
}

.utility-right .utility-social span {
  color: inherit;
  font-weight: 500;
}

.nav-group-button {
  gap: 7px;
  line-height: 1;
}

.nav-chevron {
  width: 10px;
  height: 8px;
  flex: 0 0 10px;
  align-self: center;
  margin: 0;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: 50% 50%;
  transition: color 180ms ease, transform 220ms cubic-bezier(.2, .7, .2, 1);
}

.nav-group-button:hover .nav-chevron,
.nav-group-button:focus-visible .nav-chevron {
  color: var(--gold-500);
}

.nav-group.is-open .nav-chevron,
.nav-group:hover .nav-chevron {
  transform: rotate(180deg);
}

.homepage-feature {
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 28px;
}

.homepage-feature::after {
  position: absolute;
  right: 28px;
  bottom: 0;
  left: 28px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity 220ms ease, transform 260ms cubic-bezier(.2, .7, .2, 1);
}

.homepage-feature:hover::after,
.homepage-feature:focus-visible::after {
  opacity: .9;
  transform: scaleX(1);
}

.homepage-feature-icon {
  width: 74px;
  height: 82px;
  display: grid;
  place-items: center;
  color: var(--gold-500);
  transition: color 180ms ease, transform 220ms cubic-bezier(.2, .7, .2, 1);
}

.homepage-feature-icon::before {
  content: none;
}

.homepage-feature-icon::after {
  content: none;
}

.homepage-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.homepage-feature-icon svg,
.homepage-feature:hover .homepage-feature-icon svg,
.homepage-feature:focus-visible .homepage-feature-icon svg {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: none;
}

.homepage-feature-icon .icon-accent {
  stroke: currentColor;
  stroke-width: 1.8;
}

.homepage-feature:hover .homepage-feature-icon,
.homepage-feature:focus-visible .homepage-feature-icon {
  color: var(--gold-400);
  transform: translateY(-3px);
}

@media (max-width: 1180px) {
  .homepage-feature {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 17px;
    padding-inline: 22px;
  }

  .homepage-feature-icon {
    width: 50px;
    height: 50px;
  }

  .homepage-feature-icon svg,
  .homepage-feature:hover .homepage-feature-icon svg,
  .homepage-feature:focus-visible .homepage-feature-icon svg {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 980px) {
  .nav-group-button {
    line-height: 1.2;
  }

  .nav-chevron {
    width: 11px;
    height: 8px;
    flex-basis: 11px;
  }

  .nav-group:hover .nav-chevron {
    transform: none;
  }

  .nav-group.is-open .nav-chevron {
    transform: rotate(180deg);
  }

  .homepage-feature {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .homepage-feature-icon {
    width: 62px;
    height: 62px;
  }
}

@media (max-width: 760px) {
  .utility-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }
}

@media (max-width: 520px) {
  .homepage-feature {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 15px;
    padding: 19px 17px;
  }

  .homepage-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px 14px 14px 5px;
  }

  .homepage-feature-icon svg,
  .homepage-feature:hover .homepage-feature-icon svg,
  .homepage-feature:focus-visible .homepage-feature-icon svg {
    width: 33px;
    height: 33px;
  }
}
