:root {
  color-scheme: light;
  --ink: #17191c;
  --ink-soft: #25282c;
  --muted: #74777b;
  --paper: #fbfaf8;
  --soft: #f2f1ee;
  --red: #ed0015;
  --line: #deddd9;
  --white: #fff;
  --container: 1180px;
  --sans: "Segoe UI", Arial, sans-serif;
  --display: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.topline {
  min-height: 35px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.topline-inner,
.header-inner,
.footer-main,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topline-inner {
  min-height: 35px;
}

.topline a {
  font-weight: 700;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: rgb(251 250 248 / 94%);
  border-bottom: 1px solid rgb(23 25 28 / 8%);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.045em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #484b4f;
  font-size: 12px;
  font-weight: 600;
}

.primary-navigation > a:not(.nav-contact):hover,
.primary-navigation > a:not(.nav-contact):focus-visible {
  color: var(--red);
}

.nav-contact {
  padding: 11px 17px;
  background: var(--ink);
  color: var(--white);
}

.nav-contact:hover,
.nav-contact:focus-visible {
  background: var(--red);
}

.menu-toggle {
  display: none;
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 615px;
  padding: 57px max(32px, calc((100vw - var(--container)) / 2)) 0;
  background-image: radial-gradient(ellipse at 32% 34%, rgb(255 255 255 / 4%), transparent 50%);
}

.hero-grid {
  display: grid;
  width: min(var(--container), 100%);
  min-height: 495px;
  margin-inline: auto;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 52px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 21px;
  color: #bfc1c4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.eyebrow > span {
  display: inline-block;
  width: 23px;
  height: 2px;
  background: var(--red);
}

.eyebrow-red {
  color: #77797c;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  letter-spacing: -0.06em;
}

.hero h1 {
  max-width: 600px;
  margin-bottom: 22px;
  font-size: clamp(48px, 6.2vw, 76px);
  font-weight: 700;
  line-height: 1.02;
}

.hero h1 em,
.section-heading h2 em,
.process h2 em,
.contact h2 em {
  color: #aeb0b3;
  font-style: normal;
  font-weight: 400;
}

.hero-description {
  max-width: 475px;
  margin-bottom: 29px;
  color: #c2c4c7;
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 19px;
  font-size: 12px;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--red);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #c80012;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.text-link span {
  color: var(--red);
  font-size: 16px;
}

.text-link-light {
  color: var(--white);
}

.hero-proof {
  display: flex;
  max-width: 380px;
  align-items: center;
  gap: 13px;
  margin-top: 48px;
  color: #9a9da1;
  font-size: 10px;
  line-height: 1.5;
}

.proof-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #56595d;
  color: var(--white);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 470px;
  align-self: end;
  overflow: hidden;
  background: #303237;
}

.hero-visual::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgb(0 0 0 / 58%));
  content: "";
  pointer-events: none;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 39%;
  opacity: 0.88;
}

.hero-image-label {
  position: absolute;
  z-index: 1;
  right: 23px;
  bottom: 22px;
  left: 23px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.label-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.hero-stamp {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  display: grid;
  width: 93px;
  height: 93px;
  align-content: center;
  justify-items: center;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
  background: rgb(237 0 21 / 90%);
  color: var(--white);
  font-size: 7px;
  line-height: 1.45;
  letter-spacing: 0.14em;
}

.hero-stamp strong {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.04em;
}

.hero-bottom {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgb(255 255 255 / 13%);
  color: #c6c7c9;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero-bottom i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
}

.hero-location {
  margin-left: auto;
  color: #84878b;
}

.section-pad {
  padding-block: 100px;
}

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 80px;
  align-items: start;
}

.section-heading h2,
.process h2,
.contact h2 {
  margin: 0;
  font-size: clamp(37px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.12;
}

.section-heading h2 em {
  color: #777a7e;
}

.intro-copy {
  padding-top: 30px;
}

.intro-copy p {
  margin-bottom: 15px;
  color: #696c70;
  font-size: 14px;
  line-height: 1.9;
}

.intro-copy .text-link {
  margin-top: 10px;
}

.value-row {
  display: grid;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.value-item {
  display: flex;
  gap: 18px;
  padding: 25px 24px 0 0;
}

.value-item + .value-item {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.value-number {
  color: var(--red);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
}

.value-item h3 {
  margin: 0 0 5px;
  font-family: var(--display);
  font-size: 15px;
}

.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.section-soft {
  background: var(--soft);
}

.section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.section-aside {
  max-width: 310px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  border-top: 1px solid #d9d8d4;
  border-left: 1px solid #d9d8d4;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  position: relative;
  min-height: 250px;
  padding: 26px 26px 24px;
  border-right: 1px solid #d9d8d4;
  border-bottom: 1px solid #d9d8d4;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  z-index: 1;
  background: var(--white);
  box-shadow: 0 14px 35px rgb(23 25 28 / 7%);
}

.service-index {
  position: absolute;
  top: 25px;
  right: 26px;
  color: #9a9b9c;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
}

.service-icon {
  display: grid;
  width: 39px;
  height: 39px;
  margin-bottom: 26px;
  place-items: center;
  background: #fce8e8;
  color: var(--red);
  font-size: 19px;
}

.service-card h3 {
  margin-bottom: 9px;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: -0.03em;
}

.service-card p {
  max-width: 270px;
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.service-card > a {
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
}

.process {
  background: var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 110px;
}

.process-intro > p:last-child {
  max-width: 300px;
  margin-top: 21px;
  color: var(--muted);
  font-size: 13px;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  min-height: 82px;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 50px 1fr;
}

.process-list li:first-child {
  border-top: 1px solid var(--line);
}

.process-list li > span {
  color: var(--red);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
}

.process-list h3 {
  margin: 0 0 2px;
  font-family: var(--display);
  font-size: 14px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.portfolio {
  background: #1d2024;
}

.portfolio .eyebrow {
  color: #aaaeb2;
}

.portfolio .section-aside {
  color: #a4a7ab;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: -12px 0 28px;
}

.filter-button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #484b50;
  border-radius: 0;
  background: transparent;
  color: #c8c9cb;
  cursor: pointer;
  font-size: 10px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  min-width: 0;
  animation: card-in 280ms ease both;
}

.project-card[hidden] {
  display: none;
}

.project-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.25;
  background: #303338;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover img {
  transform: scale(1.045);
}

.project-card figcaption {
  padding: 13px 1px 8px;
}

.project-client {
  display: block;
  margin-bottom: 3px;
  color: #b5b7bb;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-title {
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: 12px;
  line-height: 1.55;
}

.gallery-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px solid #45484d;
  color: #d0d1d3;
  font-size: 13px;
}

.team {
  background: var(--paper);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}

.team-photo {
  overflow: hidden;
  aspect-ratio: 0.84;
  background: #e5e3df;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.team-photo:hover img {
  transform: scale(1.04);
}

.contact {
  padding-top: 10px;
  background: var(--paper);
}

.contact-panel {
  display: grid;
  min-height: 360px;
  padding: 57px 60px;
  background: var(--red);
  color: var(--white);
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
}

.contact .eyebrow {
  color: rgb(255 255 255 / 77%);
}

.contact h2 {
  font-size: clamp(35px, 4vw, 49px);
}

.contact h2 em {
  color: rgb(255 255 255 / 70%);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 425px;
  margin: 17px 0 23px;
  color: rgb(255 255 255 / 80%);
  font-size: 12px;
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding-left: 34px;
  border-left: 1px solid rgb(255 255 255 / 34%);
}

.contact-detail {
  display: grid;
  gap: 4px;
}

.detail-label {
  color: rgb(255 255 255 / 65%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.contact-detail > a:not(.map-link),
.contact-detail address {
  color: var(--white);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.75;
}

.map-link {
  margin-top: 2px;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 32px 0 18px;
  background: var(--ink);
  color: var(--white);
}

.footer-main {
  min-height: 65px;
  padding-bottom: 22px;
}

.brand-footer .brand-copy small {
  color: #aaaeb2;
}

.footer-main > p {
  margin: 0;
  color: #afb2b5;
  font-size: 11px;
}

.back-top {
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
}

.footer-bottom {
  min-height: 45px;
  border-top: 1px solid #3b3e42;
  color: #a5a8ab;
  font-size: 9px;
}

.footer-bottom a:hover {
  color: var(--white);
}

.whatsapp-float {
  position: fixed;
  z-index: 9;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: #20bd5a;
  box-shadow: 0 8px 25px rgb(0 0 0 / 20%);
  transition: transform 160ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px);
}

.whatsapp-float svg {
  width: 25px;
  height: 25px;
  fill: var(--white);
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .container {
    width: min(var(--container), calc(100% - 48px));
  }

  .primary-navigation {
    gap: 20px;
  }

  .hero {
    padding-inline: 24px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-visual {
    height: 420px;
  }

  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-panel {
    padding: 48px 40px;
    gap: 40px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 74px;
  }

  .container {
    width: calc(100% - 40px);
  }

  .topline {
    font-size: 9px;
  }

  .topline-inner {
    min-height: 32px;
  }

  .header-inner {
    min-height: 67px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 10px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .primary-navigation.is-open {
    display: flex;
    flex-direction: column;
  }

  .primary-navigation > a {
    padding: 12px 4px;
  }

  .primary-navigation .nav-contact {
    margin-top: 8px;
    padding-inline: 13px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 50px 20px 0;
  }

  .hero-grid {
    width: 100%;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-copy {
    padding-bottom: 5px;
  }

  .hero h1 {
    font-size: clamp(47px, 13vw, 67px);
  }

  .hero-description {
    max-width: 440px;
    font-size: 13px;
  }

  .hero-proof {
    margin-top: 29px;
  }

  .hero-visual {
    height: min(98vw, 410px);
    min-height: 270px;
    margin-top: 10px;
  }

  .hero-stamp {
    top: 16px;
    right: 16px;
    width: 78px;
    height: 78px;
  }

  .hero-bottom {
    min-height: 57px;
    gap: 9px;
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .hero-location {
    display: none;
  }

  .section-pad {
    padding-block: 70px;
  }

  .intro-grid,
  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .intro-copy {
    padding-top: 0;
  }

  .value-row {
    margin-top: 42px;
    grid-template-columns: 1fr;
  }

  .value-item,
  .value-item + .value-item {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .section-head-row {
    display: block;
    margin-bottom: 34px;
  }

  .section-aside {
    max-width: 440px;
    margin: 17px 0 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 235px;
    padding: 20px 16px;
  }

  .service-index {
    top: 18px;
    right: 16px;
  }

  .service-icon {
    margin-bottom: 20px;
  }

  .service-card h3 {
    font-size: 14px;
  }

  .service-card p {
    font-size: 10px;
  }

  .process-grid {
    gap: 37px;
  }

  .portfolio-filters {
    gap: 7px;
  }

  .filter-button {
    min-height: 32px;
    padding-inline: 11px;
    font-size: 9px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .project-image-wrap {
    aspect-ratio: 1.02;
  }

  .project-client {
    font-size: 8px;
  }

  .project-title {
    font-size: 10px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-photo:last-of-type {
    grid-column: 1 / -1;
    width: calc(50% - 7px);
    justify-self: center;
  }

  .contact {
    padding-top: 0;
  }

  .contact-panel {
    width: 100%;
    padding: 48px 20px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-details {
    padding: 24px 0 0;
    border-top: 1px solid rgb(255 255 255 / 34%);
    border-left: 0;
  }

  .footer-main {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
  }

  .footer-main > p {
    width: 100%;
    order: 1;
  }

  .back-top {
    padding-top: 12px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-top: 12px;
  }

  .whatsapp-float {
    right: 15px;
    bottom: 15px;
    width: 48px;
    height: 48px;
  }
}

@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;
  }
}
