:root {
  --blue: #387892;
  --deep: #173f53;
  --ink: #173f53;
  --paper: #ffffff;
  --white: #ffffff;
  --light: #acd0dc;
  --line: rgba(23, 63, 83, .2);
}

body {
  background: var(--white);
  color: var(--deep);
}

.hero {
  min-height: 780px;
  height: 100svh;
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--deep) url("assets/finale-ligure-sunset.jpg") center 58% / cover no-repeat;
  color: var(--white);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero::before {
  background: linear-gradient(90deg, rgba(10, 43, 58, .94) 0%, rgba(18, 61, 80, .8) 42%, rgba(20, 67, 87, .4) 77%, rgba(20, 67, 87, .3) 100%);
}

.hero::after {
  background: linear-gradient(0deg, rgba(15, 51, 67, .76) 0%, transparent 38%, rgba(15, 51, 67, .15) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  height: 100%;
}

.eyebrow,
.hero h1 em {
  color: var(--light);
}

.hero-intro {
  color: rgba(255, 255, 255, .84);
}

.hero-area {
  color: rgba(255, 255, 255, .72);
}

.hero-place {
  position: absolute;
  z-index: 3;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .65rem;
}

.hero-place span + span {
  margin-top: .25rem;
  color: var(--light);
  font-size: .56rem;
}

.manifesto,
.method-content,
.reviews,
.locations {
  background: var(--white);
  color: var(--deep);
}

.manifesto-copy p,
.location-main p,
.location-secondary p {
  color: rgba(23, 63, 83, .72);
}

.manifesto-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(210px, .42fr) minmax(280px, .65fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}

.studio-portrait {
  position: relative;
  width: min(100%, 300px);
  height: 410px;
  margin: 0;
  overflow: hidden;
  background: var(--deep);
  box-shadow: 24px 24px 0 rgba(172, 208, 220, .35);
}

.studio-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 63, 83, .14), rgba(23, 63, 83, .72));
  pointer-events: none;
}

.studio-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  filter: saturate(.68) contrast(1.04);
  opacity: .88;
}

.services {
  background: var(--deep);
  color: var(--white);
}

.services .section-label,
.services .service-number,
.services .service-icon {
  color: var(--light);
}

.services .service-list,
.services .service {
  border-color: rgba(255, 255, 255, .25);
}

.services .service p {
  color: rgba(255, 255, 255, .72);
}

.services .service:hover {
  background: rgba(56, 120, 146, .35);
}

.method-image {
  background: var(--blue);
}

.method-image img {
  filter: grayscale(1) contrast(1.08);
  mix-blend-mode: screen;
  opacity: .7;
}

.method-content .section-label,
.method-list > li > span {
  color: var(--blue);
}

.method-list li,
.method-list li:last-child {
  border-color: var(--line);
}

.method-list p {
  color: rgba(23, 63, 83, .72);
}

.method-content .button-dark {
  background: var(--deep);
  color: var(--white);
}

.reviews .section-label {
  color: var(--blue);
}

.reviews-actions {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 580px) {
  .reviews-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
}

.review {
  border-color: var(--line);
}

.review.featured {
  background: var(--blue);
  color: var(--white);
}

.contact {
  background: var(--deep);
  color: var(--white);
}

.contact .section-label {
  color: var(--light);
}

.contact-copy > p {
  color: rgba(255, 255, 255, .72);
}

.contact-form input:not([type=checkbox]),
.contact-form textarea {
  border-color: rgba(255, 255, 255, .55);
  color: var(--white);
}

.contact-form .button {
  background: var(--white);
  color: var(--deep);
}

.form-note {
  color: var(--light);
}

.photo-credit {
  font-size: .56rem;
}

.photo-credit a {
  color: inherit;
}

.location-grid {
  grid-template-columns: 1.1fr .65fr .85fr;
}

.location-contacts {
  border-left: 1px solid var(--line);
  padding: 3.5rem 0 2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.location-contacts > a {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.15rem;
  font: 400 clamp(1rem, 1.5vw, 1.35rem) var(--serif);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.location-contacts > a span {
  margin-bottom: .18rem;
  color: var(--blue);
  font: 700 .62rem var(--sans);
  text-transform: uppercase;
  letter-spacing: .12em;
}

@media (max-width: 900px) {
  .hero {
    height: 100svh;
    min-height: 680px;
  }

  .hero-copy {
    min-height: 680px;
  }

  .hero-place {
    display: none;
  }

  .manifesto-grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .55fr);
  }

  .manifesto-copy {
    grid-column: 1 / -1;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-contacts {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 2rem 0;
  }
}

@media (max-width: 580px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .studio-portrait {
    width: min(78vw, 310px);
    height: 350px;
  }

  .manifesto-copy {
    grid-column: auto;
  }

  .hero {
    min-height: 650px;
    background-position: 62% center;
  }

  .hero-copy {
    min-height: 650px;
  }
}
