:root {
  --bg: #f7f8fb;
  --bg-soft: #ffffff;
  --panel: #ffffff;
  --panel-strong: #fff5f4;
  --text: #151922;
  --muted: #667085;
  --line: rgba(21, 25, 34, 0.12);
  --amber: #d71920;
  --amber-soft: #ff4b4f;
  --red: #b81218;
  --green: #22c55e;
  --ink: #ffffff;
  --shadow: 0 22px 56px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(215, 25, 32, 0.06), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), transparent 34%),
    var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(21, 25, 34, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 25, 34, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 70%);
}

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

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

button {
  font: inherit;
}

h1,
h2,
h3,
p,
a,
span,
strong,
small {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  letter-spacing: 0;
}

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

.container {
  width: min(calc(100vw - 28px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

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

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

.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(215, 25, 32, 0.16);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(215, 25, 32, 0.12);
}

.brand-text {
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Sora", sans-serif;
  font-size: 0.94rem;
  white-space: nowrap;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(21, 25, 34, 0.76);
  font-weight: 800;
  font-size: 0.9rem;
}

.nav a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--red);
  transform: translateY(-1px);
}

.nav-call {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--amber-soft));
  box-shadow: 0 14px 30px rgba(215, 25, 32, 0.18);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

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

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

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.06) contrast(1.06);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 46%, rgba(255, 255, 255, 0.26) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(247, 248, 251, 0.78));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding: clamp(58px, 9vw, 118px) 0;
}

.eyebrow {
  margin: 0;
  color: var(--amber-soft);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

h1 {
  max-width: 18ch;
  margin: 16px 0 18px;
  font-size: clamp(2.15rem, 3.9vw, 4.05rem);
  line-height: 1.08;
}

.lead {
  max-width: 70ch;
  margin: 0;
  color: #475467;
  font-size: clamp(0.98rem, 1.55vw, 1.16rem);
  line-height: 1.76;
}

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

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 900;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--amber-soft));
  box-shadow: 0 20px 46px rgba(215, 25, 32, 0.2);
}

.secondary {
  border: 1px solid rgba(21, 25, 34, 0.14);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 780px;
  margin-top: 32px;
}

.hero-stats span {
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(21, 25, 34, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.hero-stats strong {
  display: block;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
}

.quick-call {
  display: none;
  border-block: 1px solid rgba(215, 25, 32, 0.16);
  background: linear-gradient(135deg, rgba(215, 25, 32, 0.08), rgba(255, 255, 255, 0.72));
}

.quick-call-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quick-call span {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.86rem;
}

.quick-call a {
  color: var(--red);
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.service-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.strip-grid span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-left: 1px solid var(--line);
  color: #1f2937;
  font-weight: 900;
  text-align: center;
  font-size: 0.9rem;
}

.strip-grid span:last-child {
  border-right: 1px solid var(--line);
}

.section {
  padding: clamp(62px, 7vw, 104px) 0;
}

.dark {
  background: linear-gradient(180deg, #ffffff, #fff5f4);
  border-block: 1px solid var(--line);
}

.muted {
  background: #ffffff;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 28px;
}

.section-heading-center {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.section-heading-center > p:not(.eyebrow) {
  margin-inline: auto;
}

.section-heading h2,
.visual-copy h2,
.seo-copy h2,
.contact-shell h2 {
  margin: 12px 0 0;
  font-size: clamp(1.8rem, 3vw, 3.35rem);
  line-height: 1.12;
}

.section-heading > p:not(.eyebrow),
.section-heading.compact p:not(.eyebrow),
.visual-copy p,
.seo-copy p,
.contact-shell p {
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.76;
}

.cards,
.area-grid,
.area-premium-grid {
  display: grid;
  gap: 16px;
}

.cards.three,
.area-grid,
.area-premium-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card,
.faq,
.feature-list article,
.area-card,
.area-premium-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(215, 25, 32, 0.04), rgba(255, 255, 255, 0.94)),
    var(--panel);
  box-shadow: var(--shadow);
}

.card,
.faq,
.area-card,
.area-premium-card {
  min-height: 230px;
  padding: 26px;
}

.card::before,
.faq::before,
.feature-list article::before,
.area-card::before,
.area-premium-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--red));
}

.card-number {
  color: var(--amber-soft);
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.card h3,
.faq h3,
.area-card h3,
.area-premium-card h3 {
  margin: 20px 0 12px;
  font-size: 1.28rem;
}

.card p,
.faq p,
.feature-list p,
.area-card p,
.area-premium-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.coverage-section {
  background:
    linear-gradient(180deg, rgba(215, 25, 32, 0.04), transparent 44%),
    var(--bg);
}

.area-premium-grid {
  margin-top: 28px;
}

.area-premium-card {
  min-height: 280px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(215, 25, 32, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(255, 245, 244, 0.62)),
    var(--panel);
}

.area-premium-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 25, 32, 0.18);
  border-radius: var(--radius);
  color: var(--amber-soft);
  background: rgba(215, 25, 32, 0.07);
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.area-premium-card h3 {
  margin: 0;
}

.area-premium-card strong {
  color: var(--text);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.primary-area {
  background:
    radial-gradient(circle at 8% 0%, rgba(215, 25, 32, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(255, 245, 244, 1), rgba(255, 255, 255, 0.9)),
    var(--panel-strong);
}

.split-grid,
.seo-grid,
.visual-grid,
.contact-shell {
  display: grid;
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}

.split-grid,
.contact-shell {
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
}

.visual-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
}

.seo-grid,
.seo-premium-shell {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
}

.seo-premium {
  border-block: 1px solid var(--line);
}

.seo-premium-shell {
  display: grid;
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.seo-copy {
  max-width: 680px;
}

.seo-board {
  overflow: hidden;
  border: 1px solid rgba(21, 25, 34, 0.12);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(215, 25, 32, 0.08), transparent 40%),
    linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(255, 245, 244, 0.72)),
    var(--panel);
  box-shadow: var(--shadow);
}

.seo-board-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.seo-board-head span {
  color: var(--muted);
  font-weight: 800;
}

.seo-board-head strong {
  color: var(--red);
  font-family: "Sora", sans-serif;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  padding: 24px;
}

.feature-list strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
}

.keyword-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.keyword-panel span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(215, 25, 32, 0.18);
  border-radius: var(--radius);
  color: #7f1d1d;
  background: rgba(215, 25, 32, 0.06);
  font-weight: 800;
  font-size: 0.86rem;
}

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

.seo-mini-grid small {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  text-align: center;
}

.visual-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.visual-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.gallery-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.work-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: minmax(250px, 1fr) auto;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.work-card:hover,
.work-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(184, 18, 24, 0.26);
  box-shadow: 0 28px 68px rgba(15, 23, 42, 0.18);
}

.work-card-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 620px;
  grid-template-rows: minmax(470px, 1fr) auto;
}

.work-card-wide {
  grid-column: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04);
}

.work-card-large img {
  min-height: 470px;
}

.work-card::after {
  display: none;
}

.work-card > div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 20px;
  border-top: 1px solid var(--line);
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 245, 244, 0.72));
}

.work-card span {
  width: 38px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--amber-soft));
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
}

.work-card h3 {
  margin: 0;
  font-size: 1.18rem;
}

.work-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--red);
  font-weight: 900;
}

.contact-section {
  padding: clamp(68px, 8vw, 118px) 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(215, 25, 32, 0.08), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(184, 18, 24, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 245, 244, 0.9)),
    #ffffff;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.contact-card {
  min-height: 170px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 176, 0, 0.34);
}

.contact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--amber-soft));
  font-weight: 900;
}

.contact-card small {
  color: var(--muted);
  font-weight: 900;
}

.contact-card strong {
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
}

.contact-copy {
  max-width: 660px;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.footer-inner div {
  display: grid;
  gap: 5px;
}

.footer-inner strong,
.footer-inner a {
  color: var(--red);
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: flex;
  gap: 8px;
}

.floating-actions a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--amber-soft));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
  font-weight: 900;
}

.floating-actions a:last-child {
  color: #04130a;
  background: linear-gradient(135deg, var(--green), #86efac);
}

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 240ms ease, transform 240ms ease;
}

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

@media (max-width: 1080px) {
  .menu-button {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: 8px 0;
  }

  .nav-call {
    justify-content: center;
  }

  .cards.three,
  .cards.two,
  .area-grid,
  .area-premium-grid,
  .work-gallery,
  .split-grid,
  .seo-grid,
  .seo-premium-shell,
  .visual-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-actions,
  .strip-grid,
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  [id] {
    scroll-margin-top: 78px;
  }

  .container {
    width: min(calc(100vw - 24px), var(--container));
  }

  .header-inner {
    min-height: 66px;
    gap: 10px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    max-width: calc(100vw - 148px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-button {
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.76)),
      linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(247, 248, 251, 0.88));
  }

  .hero-content {
    padding: 54px 0 68px;
  }

  .eyebrow {
    font-size: 0.68rem;
    line-height: 1.45;
  }

  h1 {
    max-width: 14ch;
    margin-top: 14px;
    font-size: clamp(1.92rem, 8.9vw, 2.55rem);
    line-height: 1.1;
  }

  .lead {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .hero-actions,
  .inline-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .button {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 22px;
  }

  .hero-stats span {
    min-height: 66px;
    padding: 12px;
    font-size: 0.82rem;
  }

  .hero-stats strong {
    font-size: 0.88rem;
  }

  .quick-call {
    display: block;
  }

  .strip-grid,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .strip-grid span,
  .strip-grid span:last-child {
    min-height: 52px;
    border-inline: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 0.86rem;
  }

  .section {
    padding: 48px 0;
  }

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

  .section-heading h2,
  .visual-copy h2,
  .seo-copy h2,
  .contact-shell h2 {
    font-size: clamp(1.46rem, 7.4vw, 2.08rem);
    line-height: 1.16;
  }

  .section-heading > p:not(.eyebrow),
  .visual-copy p,
  .seo-copy p,
  .contact-shell p {
    font-size: 0.94rem;
    line-height: 1.66;
  }

  .card,
  .faq,
  .area-card,
  .area-premium-card,
  .feature-list article {
    min-height: 0;
    padding: 20px;
  }

  .card h3,
  .faq h3,
  .area-card h3,
  .area-premium-card h3 {
    margin-top: 16px;
    font-size: 1.08rem;
  }

  .keyword-panel {
    padding: 18px;
    gap: 8px;
  }

  .keyword-panel span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .visual-card img {
    aspect-ratio: 1.12 / 1;
    object-position: center;
  }

  .work-gallery {
    gap: 12px;
  }

  .work-card,
  .work-card-large {
    min-height: 300px;
    grid-column: auto;
    grid-row: auto;
    grid-template-rows: minmax(230px, auto) auto;
  }

  .work-card img,
  .work-card-large img {
    min-height: 230px;
  }

  .work-card-wide {
    grid-column: auto;
  }

  .work-card > div {
    padding: 14px;
  }

  .work-card h3 {
    font-size: 1.02rem;
  }

  .contact-card {
    min-height: 126px;
  }

  .footer-inner {
    display: grid;
    align-items: start;
  }

  .site-footer {
    padding-bottom: 84px;
  }

  .floating-actions {
    left: 12px;
    right: 12px;
    bottom: 10px;
  }

  .floating-actions a {
    flex: 1;
    min-height: 52px;
    padding: 0 12px;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(calc(100vw - 20px), var(--container));
  }

  .brand strong {
    max-width: calc(100vw - 140px);
    font-size: 0.86rem;
  }

  h1 {
    font-size: clamp(1.78rem, 8.8vw, 2.35rem);
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
