:root {
  --page-bg: #eeeeee;
  --hero-bg: #161616;
  --ink: #111111;
  --white: #ffffff;
  --accent: #af803c;
  --shadow-soft: 0 6px 22px rgba(0, 0, 0, 0.24);
  --container: 1360px;
}

/* Base */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
}

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

.page {
  overflow: hidden;
}

.container {
  margin: 0 auto;
  width: min(var(--container), calc(100% - 3.5rem));
}

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(circle at 72% 30%, #24353b 0%, var(--hero-bg) 40%, #111111 100%);
  color: var(--white);
  min-height: 875px;
  padding-top: 2.6rem;
}

.hero__media {
  position: absolute;
  right: 5.4rem;
  top: 2.4rem;
  width: min(53vw, 940px);
  height: 675px;
  overflow: hidden;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 22, 22, 1) 0%, rgba(22, 22, 22, 0.84) 18%, rgba(22, 22, 22, 0) 43.317%);
}

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

.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 2.8rem;
  margin-left: 5.4rem;
  margin-right: 1rem;
  width: auto;
  max-width: min(1270px, calc(73.5vw - 10.8rem));
}

.hero__name {
  margin: 0;
  color: var(--accent);
  font-family: "Archivo", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.5rem, 1.4vw + 0.8rem, 2rem);
  font-weight: 500;
}

.hero__title {
  margin: 0.9rem 0 0;
  max-width: 1200px;
  font-family: "Archivo", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: clamp(3.5rem, 6vw, 4.75rem);
  line-height: 0.93;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.hero__intro {
  margin: 1.4rem 0 0;
  width: min(760px, 100%);
  font-size: clamp(1rem, 1vw + 0.45rem, 1.25rem);
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.92);
}

.hero__painting {
  position: absolute;
  left: 330px;
  bottom: -3.7rem;
  width: min(26vw, 390px);
  box-shadow: var(--shadow-soft);
  z-index: 3;
}

.cta-band {
  position: relative;
  z-index: 4;
  margin-top: 18rem;
  margin-left: auto;
  margin-right: 160px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  width: fit-content;
  padding: 1.4rem;
  background: var(--accent);
}

.cta-band .btn {
  width: 240px;
}

/* Buttons */
.btn {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  border: 2px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

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

.btn img {
  width: 18px;
  height: 18px;
  margin-right: 0.75rem;
  transform: rotate(180deg);
}

.btn--primary {
  background: var(--white);
  color: var(--accent);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #f5f1ea;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
}

.btn--outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.9);
}

/* About */
.about {
  padding: 10rem 0 4.8rem;
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
  gap: 3.4rem;
  align-items: start;
}

.about__left {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: -8.5rem;
  align-items: center;
}

.about__image {
  margin: -5rem 0 0;
  position: relative;
  z-index: 2;
  width: min(100%, 328px);
  aspect-ratio: 328 / 517;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__contact a {
  display: block;
  margin: 0.12rem 0;
  text-transform: uppercase;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.about__contact span {
  color: var(--accent);
}

.btn--dark {
  align-self: center;
  background: #af803c;
  border-color: #af803c;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  padding-inline: 1.5rem;
}

.btn--dark:hover,
.btn--dark:focus-visible {
  background: #c38f43;
  border-color: #c38f43;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
}

.btn--dark img {
  filter: brightness(0) invert(1);
}

.about__text {
  max-width: 100%;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
}

.about__lead {
  margin: 0;
  font-size: 20px;
  line-height: 1.04;
}

.about__text p:not(.about__lead) {
  font-size: 16px;
  line-height: 1.08;
  margin: 1.4rem 0 0;
}

.about__text .about__contact {
  margin-top: 2.2rem;
}

.about__text .about__contact + .btn--dark {
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 1792px) {
  .cta-band {
    margin-top: 14rem;
  }
}

@media (max-width: 1680px) {
  .hero__painting {
    left: 200px;
    width: 350px;
  }
}

@media (max-width: 1480px) {
  .hero__painting {
    left: 100px;
    width: 300px;
  }
}

@media (max-width: 1200px) {
  .hero {
    min-height: 860px;
  }

  .hero__media {
    right: 1rem;
    width: min(57vw, 760px);
    height: 600px;
  }

  .hero__painting {
    left: 240px;
    width: min(28vw, 280px);
  }

  .cta-band {
    margin-top: 6rem;
    margin-left: auto;
    margin-right: 2rem;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: flex-end;
    max-width: 600px;
  }

  .cta-band .btn {
    width: 240px;
  }

  .about {
    padding-top: 8.5rem;
  }

  .about__left {
    margin-top: -6rem;
  }

  .about__image {
    margin-top: -3.5rem;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(var(--container), calc(100% - 2rem));
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: unset;
    padding-bottom: 2.5rem;
  }

  .hero__media {
    position: relative;
    order: 2;
    align-self: flex-end;
    width: calc(100% - 2rem);
    right: auto;
    top: auto;
    height: clamp(220px, 52vw, 420px);
    margin: 1rem 1rem 0 0;
  }

  .hero__media::after {
    background: linear-gradient(90deg, rgba(22, 22, 22, 1) 0%, rgba(22, 22, 22, 0.84) 20%, rgba(22, 22, 22, 0) 58%);
  }

  .hero__inner {
    order: 1;
    padding-top: 1.6rem;
    margin: 0 1rem;
    width: calc(100% - 2rem);
    max-width: none;
  }

  .hero__title {
    max-width: 100%;
    font-size: 30px;
  }

  .hero__name {
    font-size: 22px;
  }

  .hero__intro {
    margin-top: 0.85rem;
    max-width: 100%;
    font-size: 1rem;
  }

  .hero__painting {
    position: relative;
    order: 4;
    left: auto;
    bottom: auto;
    margin: 4rem 0 0 1rem;
    width: 300px;
  }

  .cta-band {
    order: 3;
    align-self: center;
    margin: -7rem auto 0;
    width: fit-content;
    max-width: calc(100% - 2rem);
    padding: 1rem;
    justify-content: center;
    gap: 0.5rem;
  }

  .btn {
    width: 100%;
    height: 58px;
  }

  .cta-band .btn {
    width: 240px;
    font-size: 16px;
  }

  .about {
    padding-top: 2.5rem;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .about__left {
    align-items: center;
    margin-top: -3rem;
  }

  .about__image {
    margin-top: -5rem;
    width: min(100%, 328px);
  }

  .about__lead {
    font-size: 18px;
    line-height: 1.12;
  }

  .about__text p:not(.about__lead) {
    font-size: 15px;
    line-height: 1.24;
  }

  .about__text p {
    line-height: 1.14;
  }
}
