@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a0c0e;
  --paper: #f3eee6;
  --copper: #d4894a;
  --mist: #9aa3ad;
  --font: Outfit, system-ui, sans-serif;
  --pad: clamp(1.35rem, 4.5vw, 4rem);
  --max: 84rem;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--paper);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: var(--pad);
  top: 0.75rem;
  z-index: 100;
  padding: 0.5rem 0.85rem;
  background: var(--copper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* —— Header (desktop) —— */
.site-header {
  display: none;
}

@media (min-width: 1024px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: var(--header-h);
    padding: 0 var(--pad);
    background: color-mix(in srgb, var(--ink) 92%, transparent);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid color-mix(in srgb, var(--paper) 8%, transparent);
  }

  .site-header__brand {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
    white-space: nowrap;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.5vw, 2rem);
  }

  .site-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--mist);
    text-decoration: none;
  }

  .site-nav a:hover {
    color: var(--paper);
  }

  .site-nav__call {
    color: var(--copper) !important;
    font-variant-numeric: tabular-nums;
  }
}

/* —— Buttons / links —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  background: var(--copper);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: filter 0.2s var(--ease);
}

.btn:hover {
  filter: brightness(1.08);
}

.text-link {
  display: inline-block;
  min-height: 3rem;
  padding: 0.75rem 0.15rem;
  color: var(--paper);
  font-weight: 550;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 45%, transparent);
  line-height: 1.2;
}

.text-link:hover {
  border-bottom-color: var(--copper);
  color: var(--copper);
}

.label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

/* —— Hero —— */
.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  container-type: inline-size;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--ink) 0%,
    color-mix(in srgb, var(--ink) 72%, transparent) 38%,
    color-mix(in srgb, var(--ink) 25%, transparent) 68%,
    transparent 100%
  );
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--pad) + 1rem) var(--pad) clamp(2.5rem, 8vw, 4rem);
  max-width: 40rem;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 13cqi, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero__line {
  display: block;
}

.hero__amp {
  display: block;
  margin: 0.08em 0;
  color: var(--copper);
  font-size: 0.72em;
  font-weight: 600;
  line-height: 1;
}

.hero__position {
  margin: 1.35rem 0 0;
  max-width: 28rem;
  color: var(--mist);
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 1.75rem;
}

.hero__proof {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  color: var(--mist);
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: calc(100svh - var(--header-h));
    align-items: stretch;
  }

  .hero__media {
    position: relative;
    order: 2;
  }

  .hero__media::after {
    display: none;
  }

  .hero__media img {
    object-position: center center;
  }

  .hero__content {
    order: 1;
    justify-content: center;
    padding: var(--pad) clamp(2.5rem, 6vw, 5.5rem);
    max-width: none;
  }

  .hero__title {
    font-size: clamp(3.25rem, 5.6vw, 5.75rem);
  }

  .hero__position {
    max-width: 32rem;
  }
}

/* —— Sections —— */
.section {
  padding: clamp(4rem, 11vw, 8.5rem) var(--pad);
  max-width: var(--max);
  margin-inline: auto;
}

.section__intro {
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section__intro--narrow {
  max-width: 42rem;
}

.section__intro--wide {
  max-width: 48rem;
}

.section__title {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section__lead {
  margin: 1.35rem 0 0;
  color: var(--mist);
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* —— Gallery —— */
.work {
  padding-top: clamp(3rem, 7vw, 5rem);
  max-width: none;
}

.work .section__intro {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 0;
  width: 100%;
}

.gallery {
  display: grid;
  gap: 5px;
  max-width: calc(var(--max) + 8rem);
  margin-inline: auto;
}

.gallery__item {
  margin: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--paper) 6%, var(--ink));
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}

.gallery__item--lead img {
  aspect-ratio: 16 / 11;
}

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(12rem, 22vw);
    gap: 6px;
  }

  .gallery__item--lead {
    grid-column: span 8;
    grid-row: span 2;
  }

  .gallery__item:nth-child(2) {
    grid-column: span 4;
  }

  .gallery__item:nth-child(3) {
    grid-column: span 4;
  }

  .gallery__item:nth-child(4),
  .gallery__item:nth-child(5),
  .gallery__item:nth-child(6) {
    grid-column: span 4;
  }

  .gallery__item img {
    aspect-ratio: auto;
    height: 100%;
  }

  .gallery__item:hover img {
    transform: scale(1.015);
    filter: brightness(1.05);
  }
}

/* —— Services —— */
.services {
  padding-top: clamp(4.5rem, 12vw, 8rem);
  padding-bottom: clamp(4.5rem, 12vw, 8rem);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 60rem;
}

.service-list__item {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1.15rem;
  padding: 1.55rem 0;
  border-top: 1px solid color-mix(in srgb, var(--copper) 35%, transparent);
}

.service-list__item:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--copper) 35%, transparent);
}

.service-list__num {
  font-size: 0.8rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: var(--mist);
  padding-top: 0.35rem;
}

.service-list__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.service-list__desc {
  margin: 0.4rem 0 0;
  color: var(--mist);
  font-size: 1.02rem;
  line-height: 1.55;
}

@media (min-width: 768px) {
  .service-list__item {
    grid-template-columns: 2.75rem 1fr;
    align-items: baseline;
  }

  .service-list__body {
    display: grid;
    grid-template-columns: minmax(12rem, 0.9fr) 1.2fr;
    gap: 1.5rem;
    align-items: baseline;
  }

  .service-list__desc {
    margin: 0;
  }
}

/* —— Reviews —— */
.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin: 0 0 clamp(3rem, 8vw, 5rem);
  max-width: 36rem;
}

.rating__score {
  margin: 0;
  font-size: clamp(4rem, 12vw, 5.5rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--paper);
}

.rating__body {
  display: grid;
  gap: 0.35rem;
}

.stars {
  margin: 0;
  color: var(--copper);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

.stars--lg {
  font-size: 1.15rem;
  letter-spacing: 0.16em;
}

.rating__count {
  margin: 0;
  color: var(--mist);
  font-size: 0.95rem;
}

.review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  max-width: 44rem;
}

.review blockquote {
  margin: 0;
}

.review__meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
}

.review__avatar {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--copper) 22%, var(--ink));
  color: var(--copper);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.review__name {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.review__meta .stars {
  margin-top: 0.3rem;
}

.review__text {
  margin: 0;
  font-size: clamp(1.45rem, 3.5vw, 2.15rem);
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.review__text::before {
  content: "“";
  color: var(--copper);
  margin-right: 0.05em;
}

.review__text::after {
  content: "”";
  color: var(--copper);
}

/* —— Contact —— */
.contact {
  min-height: 70svh;
  display: flex;
  align-items: center;
  padding-top: clamp(5rem, 14vw, 9rem);
  padding-bottom: clamp(5rem, 14vw, 9rem);
}

.contact__inner {
  max-width: 52rem;
}

.contact__company {
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
  font-weight: 550;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.contact__phone {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: clamp(2.25rem, 6.5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.contact__phone:hover {
  color: var(--copper);
}

.contact__note {
  margin: 0.85rem 0 0;
  color: var(--mist);
  font-size: 0.95rem;
}

.contact__email {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--mist);
  text-decoration: none;
  font-size: 1rem;
}

.contact__email:hover {
  color: var(--paper);
}

/* —— Footer —— */
.site-footer {
  padding: 2.25rem var(--pad) 6rem;
  border-top: 1px solid color-mix(in srgb, var(--paper) 8%, transparent);
  color: var(--mist);
  font-size: 0.875rem;
  max-width: var(--max);
  margin-inline: auto;
}

.site-footer p {
  margin: 0;
}

.site-footer__name {
  margin-bottom: 0.35rem !important;
  color: var(--paper);
  font-weight: 550;
}

@media (min-width: 1024px) {
  .site-footer {
    padding-bottom: 2.5rem;
  }
}

/* —— Sticky call (phones) —— */
.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem var(--pad);
  padding-bottom: max(0.85rem, env(safe-area-inset-bottom));
  background: var(--copper);
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}

.sticky-call.is-visible {
  transform: translateY(0);
}

.sticky-call[hidden] {
  display: none;
}

@media (min-width: 1024px) {
  .sticky-call {
    display: none !important;
  }
}

/* —— Motion —— */
.reveal[data-d="0"] { --d: 0; }
.reveal[data-d="1"] { --d: 1; }
.reveal[data-d="2"] { --d: 2; }
.reveal[data-d="3"] { --d: 3; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.6s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 80ms);
}

.reveal-img {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-img.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-img {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .sticky-call {
    transition: none;
  }

  .gallery__item img {
    transition: none;
  }
}
